@esri/calcite-components 3.1.0-next.8 → 3.1.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 → README.md} +12 -41
- package/THIRD-PARTY-LICENSES.md +827 -0
- package/dist/calcite/{NWLC6HCP.js → 27IOO7JE.js} +2 -2
- package/dist/calcite/27IOO7JE.js.LEGAL.txt +0 -0
- package/dist/calcite/2BQ33WDW.js +4 -0
- package/dist/calcite/{ZEX4H72T.js → 2BQ33WDW.js.LEGAL.txt} +1 -2
- package/dist/calcite/2HVUZ5DK.js +4 -0
- package/dist/calcite/2HVUZ5DK.js.LEGAL.txt +3 -0
- package/dist/calcite/{T46DOM7F.js → 2LFS4ORS.js} +2 -2
- package/dist/calcite/2LFS4ORS.js.LEGAL.txt +3 -0
- package/dist/calcite/{2NTZVWBL.js → 2PGKH5DV.js} +2 -2
- package/dist/calcite/2PGKH5DV.js.LEGAL.txt +3 -0
- package/dist/calcite/{ECBC7QPR.js → 2T3Y5S7P.js} +2 -2
- package/dist/calcite/2T3Y5S7P.js.LEGAL.txt +0 -0
- package/dist/calcite/{RUPASXJR.js → 2VSJDFVT.js} +2 -2
- package/dist/calcite/2VSJDFVT.js.LEGAL.txt +3 -0
- package/dist/calcite/{7N4MPHBE.js → 2XZJIVGT.js} +2 -2
- package/dist/calcite/2XZJIVGT.js.LEGAL.txt +3 -0
- package/dist/calcite/{E2E2IWVZ.js → 3FY4MIP6.js} +2 -2
- package/dist/calcite/3FY4MIP6.js.LEGAL.txt +3 -0
- package/dist/calcite/{IYTVQGB2.js → 3H3DSIBW.js} +2 -2
- package/dist/calcite/3H3DSIBW.js.LEGAL.txt +0 -0
- package/dist/calcite/3IPEB2FY.js +4 -0
- package/dist/calcite/3IPEB2FY.js.LEGAL.txt +3 -0
- package/dist/calcite/{OFL3O4J7.js → 3NWI6OP2.js} +2 -2
- package/dist/calcite/3NWI6OP2.js.LEGAL.txt +8 -0
- package/dist/calcite/{G2EKSS3Q.js → 3OBVRNBZ.js} +2 -2
- package/dist/calcite/3OBVRNBZ.js.LEGAL.txt +3 -0
- package/dist/calcite/{SKWHFQW7.js → 3TINLEHO.js} +2 -2
- package/dist/calcite/3TINLEHO.js.LEGAL.txt +3 -0
- package/dist/calcite/{4ED2H7HH.js → 435M2D5U.js} +2 -2
- package/dist/calcite/435M2D5U.js.LEGAL.txt +8 -0
- package/dist/calcite/{CITHW335.js → 43UGFK7T.js} +2 -2
- package/dist/calcite/43UGFK7T.js.LEGAL.txt +3 -0
- package/dist/calcite/{K5Z72QK6.js → 46VUZ7WH.js} +2 -2
- package/dist/calcite/46VUZ7WH.js.LEGAL.txt +3 -0
- package/dist/calcite/{4UGQJDIU.js → 4BJCL5RQ.js} +2 -2
- package/dist/calcite/4BJCL5RQ.js.LEGAL.txt +3 -0
- package/dist/calcite/{LSTKKTVH.js → 4FSW4RK3.js} +2 -2
- package/dist/calcite/4FSW4RK3.js.LEGAL.txt +3 -0
- package/dist/calcite/{TURPPOIV.js → 4GVDKTB3.js} +2 -2
- package/dist/calcite/4GVDKTB3.js.LEGAL.txt +3 -0
- package/dist/calcite/{DYRPTLB2.js → 4L4OJGYT.js} +1 -1
- package/dist/calcite/4L4OJGYT.js.LEGAL.txt +0 -0
- package/dist/calcite/{OL4NX2FE.js → 4Q2DPEWF.js} +2 -2
- package/dist/calcite/4Q2DPEWF.js.LEGAL.txt +3 -0
- package/dist/calcite/{YK7OY4KU.js → 4RGM5XAL.js} +2 -2
- package/dist/calcite/4RGM5XAL.js.LEGAL.txt +0 -0
- package/dist/calcite/4V3XPAFA.js +4 -0
- package/dist/calcite/4V3XPAFA.js.LEGAL.txt +3 -0
- package/dist/calcite/4Y2KYQ4P.js +4 -0
- package/dist/calcite/4Y2KYQ4P.js.LEGAL.txt +3 -0
- package/dist/calcite/{L6XNI5HV.js → 55SDDZTK.js} +1 -1
- package/dist/calcite/55SDDZTK.js.LEGAL.txt +3 -0
- package/dist/calcite/{O5CI2GNJ.js → 5FOTSRNX.js} +2 -2
- package/dist/calcite/5FOTSRNX.js.LEGAL.txt +0 -0
- package/dist/calcite/{VV5WNAF5.js → 5NDM3D44.js} +2 -2
- package/dist/calcite/5NDM3D44.js.LEGAL.txt +3 -0
- package/dist/calcite/{XAWJCK54.js → 5OTJMCKZ.js} +1 -1
- package/dist/calcite/5OTJMCKZ.js.LEGAL.txt +0 -0
- package/dist/calcite/{RZRLWCY3.js → 6BKM2N7Z.js} +2 -2
- package/dist/calcite/6BKM2N7Z.js.LEGAL.txt +0 -0
- package/dist/calcite/{V5MKLX6H.js → 6UD3P4ER.js} +2 -2
- package/dist/calcite/6UD3P4ER.js.LEGAL.txt +0 -0
- package/dist/calcite/{W46KWDJJ.js → 6ZJJBEWU.js} +2 -2
- package/dist/calcite/6ZJJBEWU.js.LEGAL.txt +3 -0
- package/dist/calcite/{RGOBNV2R.js → 73JLUGUM.js} +1 -1
- package/dist/calcite/73JLUGUM.js.LEGAL.txt +3 -0
- package/dist/calcite/7EGQ7YIQ.js +4 -0
- package/dist/calcite/7EGQ7YIQ.js.LEGAL.txt +3 -0
- package/dist/calcite/{RYUQNONZ.js → 7GGMPMXR.js} +2 -2
- package/dist/calcite/7GGMPMXR.js.LEGAL.txt +0 -0
- package/dist/calcite/{TFH5J4BX.js → 7ID7OQWG.js} +1 -1
- package/dist/calcite/7ID7OQWG.js.LEGAL.txt +0 -0
- package/dist/calcite/{JSHYMXZU.js → 7JYITV7C.js} +2 -2
- package/dist/calcite/7JYITV7C.js.LEGAL.txt +0 -0
- package/dist/calcite/{JR4I7CAV.js → 7QHXTYA2.js} +2 -2
- package/dist/calcite/7QHXTYA2.js.LEGAL.txt +3 -0
- package/dist/calcite/{WM63LBXY.js → 7TFPBMHK.js} +1 -1
- package/dist/calcite/7TFPBMHK.js.LEGAL.txt +0 -0
- package/dist/calcite/{EOGRH3C4.js → 7XIHFON6.js} +2 -2
- package/dist/calcite/7XIHFON6.js.LEGAL.txt +0 -0
- package/dist/calcite/{K4Q6QKPW.js → 7Y47FMFW.js} +2 -2
- package/dist/calcite/7Y47FMFW.js.LEGAL.txt +3 -0
- package/dist/calcite/A3GPRMXN.js +4 -0
- package/dist/calcite/A3GPRMXN.js.LEGAL.txt +3 -0
- package/dist/calcite/{L47SR2OT.js → A7TAJE4W.js} +2 -2
- package/dist/calcite/A7TAJE4W.js.LEGAL.txt +3 -0
- package/dist/calcite/{TMDB4EP2.js → AE37DSUM.js} +2 -2
- package/dist/calcite/AE37DSUM.js.LEGAL.txt +15 -0
- package/dist/calcite/{ZPYMCURK.js → AI4IKKMB.js} +2 -2
- package/dist/calcite/AI4IKKMB.js.LEGAL.txt +3 -0
- package/dist/calcite/ANWG6QGF.js +4 -0
- package/dist/calcite/ANWG6QGF.js.LEGAL.txt +3 -0
- package/dist/calcite/{LGA6USJK.js → APSAFTBC.js} +2 -2
- package/dist/calcite/APSAFTBC.js.LEGAL.txt +3 -0
- package/dist/calcite/{QJ2XIVLO.js → BCURAF5Z.js} +2 -2
- package/dist/calcite/BCURAF5Z.js.LEGAL.txt +0 -0
- package/dist/calcite/{DEAX7OZF.js → BDJ7OECW.js} +2 -2
- package/dist/calcite/BDJ7OECW.js.LEGAL.txt +3 -0
- package/dist/calcite/{SQCOJR5A.js → BEYI75RK.js} +1 -1
- package/dist/calcite/BEYI75RK.js.LEGAL.txt +13 -0
- package/dist/calcite/{GUMMHH46.js → BKLUSTQI.js} +2 -2
- package/dist/calcite/BKLUSTQI.js.LEGAL.txt +0 -0
- package/dist/calcite/BOQWH2YC.js +4 -0
- package/dist/calcite/BOQWH2YC.js.LEGAL.txt +0 -0
- package/dist/calcite/{624AN7QX.js → BQ4BII6T.js} +2 -2
- package/dist/calcite/BQ4BII6T.js.LEGAL.txt +0 -0
- package/dist/calcite/{5CBQQIVC.js → BVXA3Q26.js} +2 -2
- package/dist/calcite/BVXA3Q26.js.LEGAL.txt +3 -0
- package/dist/calcite/{3QGEALT7.js → BX54CYHP.js} +2 -2
- package/dist/calcite/BX54CYHP.js.LEGAL.txt +3 -0
- package/dist/calcite/BXT5VP3L.js +4 -0
- package/dist/calcite/BXT5VP3L.js.LEGAL.txt +3 -0
- package/dist/calcite/{JZ5JLDRG.js → BZO2SLCG.js} +2 -2
- package/dist/calcite/BZO2SLCG.js.LEGAL.txt +3 -0
- package/dist/calcite/C22HJ4NN.js +4 -0
- package/dist/calcite/C22HJ4NN.js.LEGAL.txt +3 -0
- package/dist/calcite/{L3NYCUCL.js → CDRDHIBD.js} +2 -2
- package/dist/calcite/CDRDHIBD.js.LEGAL.txt +3 -0
- package/dist/calcite/{KRSUYP6N.js → CFWASGFL.js} +2 -2
- package/dist/calcite/CFWASGFL.js.LEGAL.txt +3 -0
- package/dist/calcite/CJWPYQOI.js +4 -0
- package/dist/calcite/CJWPYQOI.js.LEGAL.txt +3 -0
- package/dist/calcite/CRWUKPM4.js +4 -0
- package/dist/calcite/CRWUKPM4.js.LEGAL.txt +3 -0
- package/dist/calcite/CULUIGBJ.js +4 -0
- package/dist/calcite/CULUIGBJ.js.LEGAL.txt +3 -0
- package/dist/calcite/{VILLQ4HD.js → CXES3PCD.js} +2 -2
- package/dist/calcite/CXES3PCD.js.LEGAL.txt +3 -0
- package/dist/calcite/{LZZ3TK6C.js → CYBZJW63.js} +2 -2
- package/dist/calcite/CYBZJW63.js.LEGAL.txt +0 -0
- package/dist/calcite/{WEFCYZPS.js → CZFNUC5C.js} +2 -2
- package/dist/calcite/CZFNUC5C.js.LEGAL.txt +3 -0
- package/dist/calcite/{7SI6D43R.js → D6M5FGHH.js} +2 -2
- package/dist/calcite/D6M5FGHH.js.LEGAL.txt +0 -0
- package/dist/calcite/{EJ7Q7HZY.js → DBRGG2J6.js} +2 -2
- package/dist/calcite/DBRGG2J6.js.LEGAL.txt +0 -0
- package/dist/calcite/{V7EJRBD5.js → DFPTNHAL.js} +1 -1
- package/dist/calcite/DFPTNHAL.js.LEGAL.txt +3 -0
- package/dist/calcite/{6W7B3XOK.js → DNAWDCX4.js} +2 -2
- package/dist/calcite/DNAWDCX4.js.LEGAL.txt +3 -0
- package/dist/calcite/{QPYRSVRJ.js → DQVKIEUO.js} +2 -2
- package/dist/calcite/DQVKIEUO.js.LEGAL.txt +3 -0
- package/dist/calcite/{EGH26J7D.js → DQY7TZDW.js} +2 -2
- package/dist/calcite/DQY7TZDW.js.LEGAL.txt +0 -0
- package/dist/calcite/{YSVSRIBF.js → E4FVW25P.js} +2 -2
- package/dist/calcite/E4FVW25P.js.LEGAL.txt +0 -0
- package/dist/calcite/EC2A5LWW.js +4 -0
- package/dist/calcite/EC2A5LWW.js.LEGAL.txt +3 -0
- package/dist/calcite/{NPUQUO6S.js → EGLHBUBB.js} +2 -2
- package/dist/calcite/EGLHBUBB.js.LEGAL.txt +0 -0
- package/dist/calcite/EWHM354D.js +4 -0
- package/dist/calcite/EWHM354D.js.LEGAL.txt +3 -0
- package/dist/calcite/{WA7Z5J33.js → EYTOGRGG.js} +2 -2
- package/dist/calcite/EYTOGRGG.js.LEGAL.txt +3 -0
- package/dist/calcite/{J3ZGQL2O.js → F3BKQCFR.js} +2 -2
- package/dist/calcite/F3BKQCFR.js.LEGAL.txt +3 -0
- package/dist/calcite/{RRF77IRW.js → F7QRQOKT.js} +2 -2
- package/dist/calcite/F7QRQOKT.js.LEGAL.txt +3 -0
- package/dist/calcite/{62RKNF4U.js → FO6GPVME.js} +2 -2
- package/dist/calcite/FO6GPVME.js.LEGAL.txt +0 -0
- package/dist/calcite/{A3AG6NDZ.js → FOYAHFLZ.js} +2 -2
- package/dist/calcite/FOYAHFLZ.js.LEGAL.txt +3 -0
- package/dist/calcite/FXL23RPK.js +4 -0
- package/dist/calcite/FXL23RPK.js.LEGAL.txt +3 -0
- package/dist/calcite/{DUIUWAGR.js → FZXJUGTS.js} +2 -2
- package/dist/calcite/FZXJUGTS.js.LEGAL.txt +0 -0
- package/dist/calcite/G5W3VHP7.js +4 -0
- package/dist/calcite/G5W3VHP7.js.LEGAL.txt +3 -0
- package/dist/calcite/{F4RC4FLJ.js → G6VWLHP7.js} +1 -1
- package/dist/calcite/G6VWLHP7.js.LEGAL.txt +3 -0
- package/dist/calcite/{JLWM5EH2.js → GAQLRTY2.js} +2 -2
- package/dist/calcite/GAQLRTY2.js.LEGAL.txt +0 -0
- package/dist/calcite/{6J3L5K3I.js → GDFKM563.js} +2 -2
- package/dist/calcite/GDFKM563.js.LEGAL.txt +3 -0
- package/dist/calcite/{SNRMP4C3.js → GJGBY4BN.js} +2 -2
- package/dist/calcite/GJGBY4BN.js.LEGAL.txt +0 -0
- package/dist/calcite/{UJMXOOOO.js → GRRJSWZA.js} +2 -2
- package/dist/calcite/GRRJSWZA.js.LEGAL.txt +7 -0
- package/dist/calcite/GSFT4BXQ.js +4 -0
- package/dist/calcite/GSFT4BXQ.js.LEGAL.txt +3 -0
- package/dist/calcite/{ECU6AUSL.js → GZD527DU.js} +2 -2
- package/dist/calcite/GZD527DU.js.LEGAL.txt +3 -0
- package/dist/calcite/{3GAF2ON7.js → HB37653W.js} +2 -2
- package/dist/calcite/HB37653W.js.LEGAL.txt +3 -0
- package/dist/calcite/{WV4IYZJL.js → HIR33KWD.js} +2 -2
- package/dist/calcite/HIR33KWD.js.LEGAL.txt +3 -0
- package/dist/calcite/{RYZ5LADD.js → HW3LOVBP.js} +1 -1
- package/dist/calcite/HW3LOVBP.js.LEGAL.txt +3 -0
- package/dist/calcite/{MBM7JQGZ.js → I3G36N6E.js} +2 -2
- package/dist/calcite/I3G36N6E.js.LEGAL.txt +3 -0
- package/dist/calcite/{5PG65LX5.js → ICXDROGD.js} +2 -2
- package/dist/calcite/ICXDROGD.js.LEGAL.txt +0 -0
- package/dist/calcite/{LJYQ7YEF.js → IE2SZ5GK.js} +1 -1
- package/dist/calcite/IE2SZ5GK.js.LEGAL.txt +3 -0
- package/dist/calcite/{I5EJQETB.js → IFQIMPWB.js} +1 -1
- package/dist/calcite/IFQIMPWB.js.LEGAL.txt +3 -0
- package/dist/calcite/{GTFWZZMZ.js → IGXAF27U.js} +2 -2
- package/dist/calcite/IGXAF27U.js.LEGAL.txt +3 -0
- package/dist/calcite/{G4SQJ2BU.js → IIXIMRRC.js} +2 -2
- package/dist/calcite/IIXIMRRC.js.LEGAL.txt +3 -0
- package/dist/calcite/{GJFTFWZP.js → IOKGLQ6T.js} +2 -2
- package/dist/calcite/IOKGLQ6T.js.LEGAL.txt +3 -0
- package/dist/calcite/{UVTK5PYX.js → IT4FGELL.js} +2 -2
- package/dist/calcite/IT4FGELL.js.LEGAL.txt +0 -0
- package/dist/calcite/{UM3SSG7X.js → J4MFJL3R.js} +2 -2
- package/dist/calcite/J4MFJL3R.js.LEGAL.txt +3 -0
- package/dist/calcite/{7PJPJUDE.js → J5JX7R7L.js} +2 -2
- package/dist/calcite/J5JX7R7L.js.LEGAL.txt +3 -0
- package/dist/calcite/{QIKXUVMU.js → J5TMQX7D.js} +2 -2
- package/dist/calcite/J5TMQX7D.js.LEGAL.txt +3 -0
- package/dist/calcite/{BBBQCSKO.js → J7KH7EV3.js} +2 -2
- package/dist/calcite/J7KH7EV3.js.LEGAL.txt +3 -0
- package/dist/calcite/{3Z64LPE6.js → JAJHOBEL.js} +2 -2
- package/dist/calcite/JAJHOBEL.js.LEGAL.txt +0 -0
- package/dist/calcite/JNRIKUPS.js +4 -0
- package/dist/calcite/JNRIKUPS.js.LEGAL.txt +3 -0
- package/dist/calcite/JSYGJQXS.js +22 -0
- package/dist/calcite/JSYGJQXS.js.LEGAL.txt +3 -0
- package/dist/calcite/{IUMIOARX.js → K5N6J54W.js} +2 -2
- package/dist/calcite/K5N6J54W.js.LEGAL.txt +3 -0
- package/dist/calcite/{IHHUX2DG.js → K7Z6SFKG.js} +2 -2
- package/dist/calcite/K7Z6SFKG.js.LEGAL.txt +3 -0
- package/dist/calcite/KAOBRO5A.js +4 -0
- package/dist/calcite/KAOBRO5A.js.LEGAL.txt +3 -0
- package/dist/calcite/{PVGIKMC6.js → KV7CJ25M.js} +2 -2
- package/dist/calcite/KV7CJ25M.js.LEGAL.txt +3 -0
- package/dist/calcite/{2IUWBVSH.js → KWKSJ45G.js} +2 -2
- package/dist/calcite/KWKSJ45G.js.LEGAL.txt +0 -0
- package/dist/calcite/{MIO3XQOU.js → KZPHFBDS.js} +2 -2
- package/dist/calcite/KZPHFBDS.js.LEGAL.txt +0 -0
- package/dist/calcite/{HESUOUWV.js → L7JHWWQU.js} +2 -2
- package/dist/calcite/L7JHWWQU.js.LEGAL.txt +0 -0
- package/dist/calcite/{O7FHNUFP.js → LEGLCCYN.js} +2 -2
- package/dist/calcite/LEGLCCYN.js.LEGAL.txt +3 -0
- package/dist/calcite/{KWU5J6IZ.js → LOLCQBHI.js} +2 -2
- package/dist/calcite/LOLCQBHI.js.LEGAL.txt +3 -0
- package/dist/calcite/{FJXJA3SU.js → LOR7P76Y.js} +2 -2
- package/dist/calcite/LOR7P76Y.js.LEGAL.txt +0 -0
- package/dist/calcite/{UMZ5PXHW.js → LRVBNXT5.js} +2 -2
- package/dist/calcite/LRVBNXT5.js.LEGAL.txt +0 -0
- package/dist/calcite/{OKB553SG.js → LVPZFVWV.js} +1 -1
- package/dist/calcite/LVPZFVWV.js.LEGAL.txt +3 -0
- package/dist/calcite/{3IWZ3FWM.js → LWW5LQLM.js} +2 -2
- package/dist/calcite/LWW5LQLM.js.LEGAL.txt +3 -0
- package/dist/calcite/LXXCBZUY.js +4 -0
- package/dist/calcite/LXXCBZUY.js.LEGAL.txt +3 -0
- package/dist/calcite/{47DJO7NW.js → M7A2EPAV.js} +2 -2
- package/dist/calcite/M7A2EPAV.js.LEGAL.txt +0 -0
- package/dist/calcite/MCUUWNFI.js +4 -0
- package/dist/calcite/MCUUWNFI.js.LEGAL.txt +3 -0
- package/dist/calcite/{KU67I5IM.js → MDZGWTTK.js} +2 -2
- package/dist/calcite/MDZGWTTK.js.LEGAL.txt +3 -0
- package/dist/calcite/{5ULYCAHU.js → MOBKENMZ.js} +2 -2
- package/dist/calcite/MOBKENMZ.js.LEGAL.txt +3 -0
- package/dist/calcite/{OSSBFCBP.js → MP6QY3IH.js} +2 -2
- package/dist/calcite/MP6QY3IH.js.LEGAL.txt +0 -0
- package/dist/calcite/{7YI244VC.js → MSJ7RJT3.js} +2 -2
- package/dist/calcite/MSJ7RJT3.js.LEGAL.txt +3 -0
- package/dist/calcite/{7N53EZMV.js → MWC5UPIT.js} +2 -2
- package/dist/calcite/MWC5UPIT.js.LEGAL.txt +3 -0
- package/dist/calcite/{MVUQGW3J.js → MXFJMSPF.js} +1 -1
- package/dist/calcite/MXFJMSPF.js.LEGAL.txt +3 -0
- package/dist/calcite/{H7MG5ZSX.js → MYQSVNPM.js} +2 -2
- package/dist/calcite/MYQSVNPM.js.LEGAL.txt +3 -0
- package/dist/calcite/{7XW5WCCR.js → N25GXLGN.js} +2 -2
- package/dist/calcite/N25GXLGN.js.LEGAL.txt +3 -0
- package/dist/calcite/{QPZ5YFZ7.js → NA2W6X2V.js} +2 -2
- package/dist/calcite/NA2W6X2V.js.LEGAL.txt +0 -0
- package/dist/calcite/NA3AU2Q7.js +4 -0
- package/dist/calcite/NA3AU2Q7.js.LEGAL.txt +3 -0
- package/dist/calcite/NIWKQQ2N.js +4 -0
- package/dist/calcite/NIWKQQ2N.js.LEGAL.txt +3 -0
- package/dist/calcite/{DW2A4EEM.js → NJDCAO5O.js} +2 -2
- package/dist/calcite/NJDCAO5O.js.LEGAL.txt +3 -0
- package/dist/calcite/{VJBW5K3N.js → NK3CHKCE.js} +2 -2
- package/dist/calcite/NK3CHKCE.js.LEGAL.txt +3 -0
- package/dist/calcite/{SZTB34HS.js → NQ43X6SL.js} +2 -2
- package/dist/calcite/NQ43X6SL.js.LEGAL.txt +3 -0
- package/dist/calcite/{NAGGLQSA.js → NRQUX53E.js} +2 -2
- package/dist/calcite/NRQUX53E.js.LEGAL.txt +0 -0
- package/dist/calcite/NSEZSNTL.js +4 -0
- package/dist/calcite/NSEZSNTL.js.LEGAL.txt +3 -0
- package/dist/calcite/{N7AM6NHK.js → OBBZMME7.js} +2 -2
- package/dist/calcite/OBBZMME7.js.LEGAL.txt +0 -0
- package/dist/calcite/{NYA6VVUS.js → OCJ4OSK6.js} +2 -2
- package/dist/calcite/OCJ4OSK6.js.LEGAL.txt +3 -0
- package/dist/calcite/{4IM35NBG.js → ODGF4PIW.js} +2 -2
- package/dist/calcite/ODGF4PIW.js.LEGAL.txt +3 -0
- package/dist/calcite/{DGU5GJCL.js → OJLMY4MJ.js} +2 -2
- package/dist/calcite/OJLMY4MJ.js.LEGAL.txt +0 -0
- package/dist/calcite/{FBCPCSCV.js → OL3TX2PD.js} +2 -2
- package/dist/calcite/OL3TX2PD.js.LEGAL.txt +0 -0
- package/dist/calcite/{N43NIVNB.js → OPCKC3UL.js} +1 -1
- package/dist/calcite/OPCKC3UL.js.LEGAL.txt +3 -0
- package/dist/calcite/{G3WCUJR6.js → OPMDNR2U.js} +2 -2
- package/dist/calcite/OPMDNR2U.js.LEGAL.txt +0 -0
- package/dist/calcite/{Q6H2S3ZW.js → OY4GIAOE.js} +2 -2
- package/dist/calcite/OY4GIAOE.js.LEGAL.txt +0 -0
- package/dist/calcite/{3L77LBB5.js → P6UD4KME.js} +2 -2
- package/dist/calcite/P6UD4KME.js.LEGAL.txt +3 -0
- package/dist/calcite/{S3YKWIS4.js → PAUWPKYW.js} +2 -2
- package/dist/calcite/PAUWPKYW.js.LEGAL.txt +0 -0
- package/dist/calcite/{FU5IZK5J.js → PCWSMIKU.js} +2 -2
- package/dist/calcite/PCWSMIKU.js.LEGAL.txt +0 -0
- package/dist/calcite/{XH3GJRKF.js → PEFMBNBQ.js} +2 -2
- package/dist/calcite/PEFMBNBQ.js.LEGAL.txt +3 -0
- package/dist/calcite/{O6QM3LYD.js → PH42JTMN.js} +2 -2
- package/dist/calcite/PH42JTMN.js.LEGAL.txt +0 -0
- package/dist/calcite/PN2I4UCY.js +4 -0
- package/dist/calcite/PN2I4UCY.js.LEGAL.txt +3 -0
- package/dist/calcite/{Q2NWWECO.js → POBCZWSC.js} +2 -2
- package/dist/calcite/POBCZWSC.js.LEGAL.txt +3 -0
- package/dist/calcite/{LK37K2FJ.js → PWYHPWQ3.js} +2 -2
- package/dist/calcite/PWYHPWQ3.js.LEGAL.txt +3 -0
- package/dist/calcite/QGCEBY5H.js +5 -0
- package/dist/calcite/QGCEBY5H.js.LEGAL.txt +17 -0
- package/dist/calcite/QGKVQGCB.js +4 -0
- package/dist/calcite/QGKVQGCB.js.LEGAL.txt +3 -0
- package/dist/calcite/{UV7MTJVD.js → QNOOEKCM.js} +2 -2
- package/dist/calcite/QNOOEKCM.js.LEGAL.txt +0 -0
- package/dist/calcite/{7JUQYJ2U.js → QSJVHVHJ.js} +1 -1
- package/dist/calcite/QSJVHVHJ.js.LEGAL.txt +3 -0
- package/dist/calcite/{RZ7Z4UQT.js → RBAV4DGF.js} +2 -2
- package/dist/calcite/RBAV4DGF.js.LEGAL.txt +3 -0
- package/dist/calcite/{T4JCSUPW.js → RCFBJGNR.js} +1 -1
- package/dist/calcite/RCFBJGNR.js.LEGAL.txt +12 -0
- package/dist/calcite/{Y7WL3T54.js → REXFZQLY.js} +2 -2
- package/dist/calcite/REXFZQLY.js.LEGAL.txt +3 -0
- package/dist/calcite/{ISTHCGLY.js → RMHVKKLY.js} +2 -2
- package/dist/calcite/RMHVKKLY.js.LEGAL.txt +0 -0
- package/dist/calcite/{GPWC5YXI.js → RMTHIH7I.js} +2 -2
- package/dist/calcite/RMTHIH7I.js.LEGAL.txt +3 -0
- package/dist/calcite/{EPUU3JZP.js → RNFI6BLN.js} +2 -2
- package/dist/calcite/RNFI6BLN.js.LEGAL.txt +3 -0
- package/dist/calcite/{6TD33A6S.js → RSDPHAIG.js} +2 -2
- package/dist/calcite/RSDPHAIG.js.LEGAL.txt +0 -0
- package/dist/calcite/RSFZF5Q6.js +4 -0
- package/dist/calcite/RSFZF5Q6.js.LEGAL.txt +3 -0
- package/dist/calcite/{GBSTK7NU.js → RU4DPZGC.js} +2 -2
- package/dist/calcite/RU4DPZGC.js.LEGAL.txt +3 -0
- package/dist/calcite/{WEPMLYVL.js → RVKGKVXB.js} +2 -2
- package/dist/calcite/RVKGKVXB.js.LEGAL.txt +145 -0
- package/dist/calcite/{PP7NIM25.js → SJBMLGGJ.js} +1 -1
- package/dist/calcite/SJBMLGGJ.js.LEGAL.txt +3 -0
- package/dist/calcite/SMBP4FJ3.js +4 -0
- package/dist/calcite/SMBP4FJ3.js.LEGAL.txt +3 -0
- package/dist/calcite/{JMIPTLSC.js → SSG42PTH.js} +2 -2
- package/dist/calcite/SSG42PTH.js.LEGAL.txt +3 -0
- package/dist/calcite/{5IYQSE3U.js → SWQEVS62.js} +2 -2
- package/dist/calcite/SWQEVS62.js.LEGAL.txt +3 -0
- package/dist/calcite/{UL7CAAQC.js → TBMOGYD4.js} +2 -2
- package/dist/calcite/TBMOGYD4.js.LEGAL.txt +3 -0
- package/dist/calcite/{MHCEHCV7.js → TCYYSB7C.js} +2 -2
- package/dist/calcite/TCYYSB7C.js.LEGAL.txt +3 -0
- package/dist/calcite/TODRXYF3.js +4 -0
- package/dist/calcite/TODRXYF3.js.LEGAL.txt +3 -0
- package/dist/calcite/{CZELZJVS.js → TXNXNB7J.js} +2 -2
- package/dist/calcite/TXNXNB7J.js.LEGAL.txt +0 -0
- package/dist/calcite/{U2JB6WPH.js → TYYLWS3I.js} +2 -2
- package/dist/calcite/TYYLWS3I.js.LEGAL.txt +3 -0
- package/dist/calcite/{RUAB2JC6.js → TZTQLC5Z.js} +2 -2
- package/dist/calcite/TZTQLC5Z.js.LEGAL.txt +3 -0
- package/dist/calcite/{YIYHMBLF.js → U5XPBE5Q.js} +2 -2
- package/dist/calcite/U5XPBE5Q.js.LEGAL.txt +3 -0
- package/dist/calcite/{MSPYG5PM.js → U6NLVSEM.js} +2 -2
- package/dist/calcite/U6NLVSEM.js.LEGAL.txt +3 -0
- package/dist/calcite/{XJGQLAOH.js → UB5PVPPO.js} +2 -2
- package/dist/calcite/UB5PVPPO.js.LEGAL.txt +0 -0
- package/dist/calcite/UHUS7NOK.js +4 -0
- package/dist/calcite/UHUS7NOK.js.LEGAL.txt +3 -0
- package/dist/calcite/{GXCHS4UG.js → USUWNW62.js} +2 -2
- package/dist/calcite/USUWNW62.js.LEGAL.txt +3 -0
- package/dist/calcite/{22ILXJRI.js → UVGOKSNQ.js} +2 -2
- package/dist/calcite/UVGOKSNQ.js.LEGAL.txt +0 -0
- package/dist/calcite/VCPI7TEF.js +4 -0
- package/dist/calcite/VCPI7TEF.js.LEGAL.txt +3 -0
- package/dist/calcite/{6URO2GHF.js → VI6KJ7PM.js} +2 -2
- package/dist/calcite/VI6KJ7PM.js.LEGAL.txt +0 -0
- package/dist/calcite/{HKOGFPLF.js → VLPPKIWA.js} +2 -2
- package/dist/calcite/VLPPKIWA.js.LEGAL.txt +3 -0
- package/dist/calcite/{F5KV6UPN.js → VPN7B4OH.js} +2 -2
- package/dist/calcite/VPN7B4OH.js.LEGAL.txt +3 -0
- package/dist/calcite/VRSKVGZC.js +28 -0
- package/dist/calcite/VRSKVGZC.js.LEGAL.txt +3 -0
- package/dist/calcite/{KLVFSBLG.js → VTY5A26J.js} +2 -2
- package/dist/calcite/VTY5A26J.js.LEGAL.txt +0 -0
- package/dist/calcite/{FQERI4AE.js → VZJSNMDA.js} +2 -2
- package/dist/calcite/VZJSNMDA.js.LEGAL.txt +3 -0
- package/dist/calcite/{I37T5J7E.js → W4DL4RBZ.js} +2 -2
- package/dist/calcite/W4DL4RBZ.js.LEGAL.txt +0 -0
- package/dist/calcite/{OJKLA2EW.js → W4TTSBQB.js} +2 -2
- package/dist/calcite/W4TTSBQB.js.LEGAL.txt +3 -0
- package/dist/calcite/{JQWRR4LE.js → WB6UNROK.js} +2 -2
- package/dist/calcite/WB6UNROK.js.LEGAL.txt +3 -0
- package/dist/calcite/{GV5O5IVI.js → WBJ5QP7F.js} +2 -2
- package/dist/calcite/WBJ5QP7F.js.LEGAL.txt +0 -0
- package/dist/calcite/{GBTSH2CT.js → WNHD323H.js} +2 -2
- package/dist/calcite/WNHD323H.js.LEGAL.txt +3 -0
- package/dist/calcite/{4KPGNAUA.js → WVCHWLRP.js} +2 -2
- package/dist/calcite/WVCHWLRP.js.LEGAL.txt +3 -0
- package/dist/calcite/{Y2PEC4XL.js → WWEW4VFC.js} +2 -2
- package/dist/calcite/WWEW4VFC.js.LEGAL.txt +0 -0
- package/dist/calcite/{VGRTUKQY.js → X2OECYAW.js} +2 -2
- package/dist/calcite/X2OECYAW.js.LEGAL.txt +0 -0
- package/dist/calcite/{QBBEUVHN.js → X6KQ3X4A.js} +2 -2
- package/dist/calcite/X6KQ3X4A.js.LEGAL.txt +3 -0
- package/dist/calcite/{B4SQYHZC.js → XCCQRLYJ.js} +2 -2
- package/dist/calcite/XCCQRLYJ.js.LEGAL.txt +3 -0
- package/dist/calcite/{6VA7JMOH.js → XUQDSK6Y.js} +2 -2
- package/dist/calcite/XUQDSK6Y.js.LEGAL.txt +3 -0
- package/dist/calcite/{2GSCYD6X.js → XY257SIR.js} +1 -1
- package/dist/calcite/XY257SIR.js.LEGAL.txt +3 -0
- package/dist/calcite/{DGI6QFEN.js → Y5JQOP6X.js} +2 -2
- package/dist/calcite/Y5JQOP6X.js.LEGAL.txt +0 -0
- package/dist/calcite/{2NNCGDMP.js → Y6FRJEJV.js} +2 -2
- package/dist/calcite/Y6FRJEJV.js.LEGAL.txt +3 -0
- package/dist/calcite/{RONBAFHE.js → YBYQ3GKP.js} +2 -2
- package/dist/calcite/YBYQ3GKP.js.LEGAL.txt +3 -0
- package/dist/calcite/{HCYI7TNJ.js → YFME6UMD.js} +2 -2
- package/dist/calcite/YFME6UMD.js.LEGAL.txt +3 -0
- package/dist/calcite/{35CFSZ6E.js → YKR2VURR.js} +2 -2
- package/dist/calcite/YKR2VURR.js.LEGAL.txt +3 -0
- package/dist/calcite/{C5TZN7YR.js → YR466TFS.js} +2 -2
- package/dist/calcite/YR466TFS.js.LEGAL.txt +3 -0
- package/dist/calcite/{ZEPIII5R.js → YUNZ4HFJ.js} +2 -2
- package/dist/calcite/YUNZ4HFJ.js.LEGAL.txt +3 -0
- package/dist/calcite/{WFXWF2GB.js → YWP2SZHD.js} +2 -2
- package/dist/calcite/YWP2SZHD.js.LEGAL.txt +3 -0
- package/dist/calcite/{KQSG5MVB.js → ZAYDAC36.js} +2 -2
- package/dist/calcite/ZAYDAC36.js.LEGAL.txt +8 -0
- package/dist/calcite/ZCDCZCEZ.js +4 -0
- package/dist/calcite/ZCDCZCEZ.js.LEGAL.txt +3 -0
- package/dist/calcite/{R7YGZNN6.js → ZF3SUF2Y.js} +1 -1
- package/dist/calcite/ZF3SUF2Y.js.LEGAL.txt +3 -0
- package/dist/calcite/{WFY6B26D.js → ZMFRTODZ.js} +2 -2
- package/dist/calcite/ZMFRTODZ.js.LEGAL.txt +0 -0
- package/dist/calcite/{VO4WR5RZ.js → ZQLKRBPG.js} +2 -2
- package/dist/calcite/ZQLKRBPG.js.LEGAL.txt +3 -0
- package/dist/calcite/{F5GWHXD6.js → ZQTX3PGK.js} +2 -2
- package/dist/calcite/ZQTX3PGK.js.LEGAL.txt +3 -0
- package/dist/calcite/ZUTY3QJN.js +4 -0
- package/dist/calcite/ZUTY3QJN.js.LEGAL.txt +3 -0
- package/dist/calcite/assets/icon/browserJoin16.json +1 -0
- package/dist/calcite/assets/icon/browserJoin24.json +1 -0
- package/dist/calcite/assets/icon/browserJoin32.json +1 -0
- package/dist/calcite/assets/icon/browserPlus16.json +1 -0
- package/dist/calcite/assets/icon/browserPlus24.json +1 -0
- package/dist/calcite/assets/icon/browserPlus32.json +1 -0
- package/dist/calcite/assets/icon/check16.json +1 -1
- package/dist/calcite/assets/icon/check24.json +1 -1
- package/dist/calcite/assets/icon/check32.json +1 -1
- package/dist/calcite/assets/icon/language216.json +1 -0
- package/dist/calcite/assets/icon/language224.json +1 -0
- package/dist/calcite/assets/icon/language232.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/calcite.esm.js.LEGAL.txt +3 -0
- package/dist/chunks/ExpandToggle.js +3 -3
- package/dist/chunks/FloatingArrow.js +3 -3
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +3 -3
- 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 +48 -56
- 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 +212 -209
- 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 +1 -1
- 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 +28 -28
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +6 -6
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/time.js +1 -1
- package/dist/chunks/useFocusTrap.js +44 -27
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +11 -11
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +20 -16
- package/dist/chunks/utils4.js +101 -1037
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +17 -17
- package/dist/components/calcite-action/customElement.js +21 -21
- 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 +1 -1
- package/dist/components/calcite-action-pad/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.js +2 -2
- package/dist/components/calcite-autocomplete/customElement.js +7 -7
- 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 +6 -6
- package/dist/components/calcite-block/customElement.d.ts +9 -2
- package/dist/components/calcite-block/customElement.js +43 -28
- package/dist/components/calcite-block/resources.d.ts +2 -2
- package/dist/components/calcite-block-group/customElement.d.ts +1 -1
- package/dist/components/calcite-block-group/customElement.js +1 -1
- package/dist/components/calcite-block-section/customElement.d.ts +9 -2
- package/dist/components/calcite-block-section/customElement.js +43 -27
- package/dist/components/calcite-block-section/resources.d.ts +2 -2
- package/dist/components/calcite-button/customElement.js +15 -15
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +2 -2
- package/dist/components/calcite-carousel/customElement.js +2 -2
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.js +4 -4
- package/dist/components/calcite-chip/customElement.js +11 -11
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.js +64 -63
- package/dist/components/calcite-color-picker/interfaces.d.ts +2 -2
- package/dist/components/calcite-color-picker/resources.d.ts +1 -2
- package/dist/components/calcite-color-picker/utils.d.ts +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +27 -26
- package/dist/components/calcite-color-picker-swatch/customElement.js +10 -9
- package/dist/components/calcite-combobox/customElement.js +52 -53
- package/dist/components/calcite-combobox/resources.d.ts +4 -0
- package/dist/components/calcite-combobox-item/customElement.js +26 -31
- package/dist/components/calcite-combobox-item/resources.d.ts +2 -4
- package/dist/components/calcite-combobox-item-group/customElement.js +9 -9
- 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 +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +34 -28
- package/dist/components/calcite-dialog/customElement.js +2 -2
- package/dist/components/calcite-dropdown/customElement.d.ts +8 -0
- package/dist/components/calcite-dropdown/customElement.js +47 -43
- package/dist/components/calcite-dropdown-group/customElement.d.ts +6 -0
- package/dist/components/calcite-dropdown-group/customElement.js +4 -10
- 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 +20 -20
- package/dist/components/calcite-filter/resources.d.ts +0 -1
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow/types/index.d.ts +1 -0
- package/dist/components/calcite-flow-item/customElement.js +2 -2
- package/dist/components/calcite-graph/customElement.js +18 -18
- package/dist/components/calcite-handle/customElement.js +2 -2
- package/dist/components/calcite-icon/customElement.js +2 -2
- package/dist/components/calcite-inline-editable/customElement.js +6 -6
- package/dist/components/calcite-input/customElement.js +1 -1
- package/dist/components/calcite-input-date-picker/customElement.d.ts +1 -3
- package/dist/components/calcite-input-date-picker/customElement.js +92 -95
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.js +2 -2
- package/dist/components/calcite-input-time-zone/customElement.js +2 -2
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +1 -1
- package/dist/components/calcite-list/customElement.js +16 -16
- package/dist/components/calcite-list-item/customElement.d.ts +9 -2
- package/dist/components/calcite-list-item/customElement.js +73 -57
- package/dist/components/calcite-list-item/resources.d.ts +24 -23
- package/dist/components/calcite-list-item/utils.d.ts +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +3 -3
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +5 -5
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-modal/customElement.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/components/calcite-panel/customElement.js +26 -26
- package/dist/components/calcite-popover/customElement.js +16 -16
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.js +3 -3
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.js +9 -9
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.js +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +2 -2
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-sheet/customElement.js +2 -2
- 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 +1 -1
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-sort-handle/customElement.js +2 -2
- package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.js +4 -4
- package/dist/components/calcite-stepper-item/customElement.js +2 -2
- package/dist/components/calcite-switch/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.js +57 -52
- package/dist/components/calcite-tab-title/customElement.js +1 -1
- package/dist/components/calcite-table/customElement.js +2 -2
- package/dist/components/calcite-table-cell/customElement.js +4 -4
- package/dist/components/calcite-table-header/customElement.js +2 -2
- package/dist/components/calcite-table-row/customElement.js +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.d.ts +1 -1
- package/dist/components/calcite-text-area/customElement.js +35 -35
- package/dist/components/calcite-text-area/resources.d.ts +4 -0
- 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 +1 -1
- 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/TooltipManager.d.ts +2 -0
- package/dist/components/calcite-tooltip/customElement.js +42 -40
- package/dist/components/calcite-tooltip/resources.d.ts +2 -1
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/controllers/useFocusTrap.d.ts +2 -6
- package/dist/custom-theme/accordion-item.d.ts +2 -6
- package/dist/custom-theme/accordion.d.ts +5 -2
- package/dist/custom-theme/chips.d.ts +3 -3
- package/dist/custom-theme/combobox-item.d.ts +11 -0
- package/dist/custom-theme/combobox.d.ts +19 -0
- package/dist/custom-theme/panel.d.ts +19 -0
- package/dist/custom-theme/rating.d.ts +1 -0
- package/dist/custom-theme/shell-panel.d.ts +13 -0
- package/dist/docs/api.json +342 -84
- package/dist/docs/docs.json +312 -91
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +136 -72
- package/dist/docs/vscode.html-custom-data.json +44 -14
- package/dist/docs/web-types.json +234 -92
- package/dist/extras/vscode-data.json +44 -14
- package/dist/index.js +1 -1
- package/dist/loader.js +6 -6
- package/dist/types/lumina.d.ts +5 -5
- package/dist/types/preact.d.ts +5 -5
- package/dist/types/react.d.ts +5 -5
- package/dist/types/stencil.d.ts +5 -5
- package/package.json +13 -12
- package/dist/calcite/2RLKD47S.js +0 -4
- package/dist/calcite/2ZKWF7VY.js +0 -4
- package/dist/calcite/35W4ZCPE.js +0 -4
- package/dist/calcite/3XCIKRKA.js +0 -4
- package/dist/calcite/4QDKIEKA.js +0 -4
- package/dist/calcite/5P7XGUAW.js +0 -28
- package/dist/calcite/5SYTGEYX.js +0 -22
- package/dist/calcite/5XPEXSG6.js +0 -4
- package/dist/calcite/6S3LP4GS.js +0 -4
- package/dist/calcite/6YXLCOSR.js +0 -4
- package/dist/calcite/7ITTXIZJ.js +0 -4
- package/dist/calcite/AQNZIFSK.js +0 -4
- package/dist/calcite/CX3SSBHB.js +0 -4
- package/dist/calcite/DTZLLSH7.js +0 -4
- package/dist/calcite/GMFQ6OK6.js +0 -4
- package/dist/calcite/GR4KCR7V.js +0 -4
- package/dist/calcite/IA2QERZD.js +0 -4
- package/dist/calcite/IHAGMHOF.js +0 -4
- package/dist/calcite/IMS2IVZ4.js +0 -4
- package/dist/calcite/ISUZ4V7G.js +0 -4
- package/dist/calcite/J6GZYCT5.js +0 -4
- package/dist/calcite/JQ5CVJ54.js +0 -4
- package/dist/calcite/K34PQCGB.js +0 -5
- package/dist/calcite/LI77ROHF.js +0 -4
- package/dist/calcite/OCPIXSVP.js +0 -4
- package/dist/calcite/P4DYKRFK.js +0 -4
- package/dist/calcite/QC364QPO.js +0 -4
- package/dist/calcite/R2TH37UY.js +0 -4
- package/dist/calcite/R7YSD5AY.js +0 -4
- package/dist/calcite/SSTI6ZI4.js +0 -4
- package/dist/calcite/TERZZYTP.js +0 -4
- package/dist/calcite/UZGYPEX6.js +0 -4
- package/dist/calcite/VREJLXO6.js +0 -4
- package/dist/calcite/VSRD3AEV.js +0 -4
- package/dist/calcite/WH6AP2IZ.js +0 -4
- package/dist/calcite/XJWBEDU3.js +0 -4
- package/dist/calcite/XSLZFL7O.js +0 -4
- package/dist/calcite/Y33Q75AG.js +0 -4
- package/dist/calcite/YDDWY4EV.js +0 -4
- package/dist/chunks/_commonjsHelpers.js +0 -11
- package/dist/chunks/focusTrapComponent.js +0 -34
- package/dist/custom-theme/calcite-shell-panel.d.ts +0 -13
|
@@ -5,7 +5,7 @@ import { g as c } from "../../chunks/guid.js";
|
|
|
5
5
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
8
|
-
v3.1.0
|
|
8
|
+
v3.1.0 */
|
|
9
9
|
const e = {
|
|
10
10
|
container: "container",
|
|
11
11
|
selected: "selected"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as c, c as a } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { svg as l, html as r } from "lit-html";
|
|
3
3
|
import { createRef as n, ref as h } from "lit-html/directives/ref.js";
|
|
4
4
|
import { LitElement as d, createEvent as t, safeClassMap as o, nothing as i } from "@arcgis/lumina";
|
|
5
5
|
import { g } from "../../chunks/dom.js";
|
|
@@ -11,7 +11,7 @@ import { c as C } from "../../chunks/component.js";
|
|
|
11
11
|
import { css as z } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
14
|
-
v3.1.0
|
|
14
|
+
v3.1.0 */
|
|
15
15
|
const s = {
|
|
16
16
|
toggle: "toggle",
|
|
17
17
|
check: "check-svg"
|
|
@@ -84,10 +84,10 @@ class I extends d {
|
|
|
84
84
|
// #region Rendering
|
|
85
85
|
render() {
|
|
86
86
|
const e = g(this.el) === "rtl";
|
|
87
|
-
return f({ disabled: this.disabled, children:
|
|
87
|
+
return f({ disabled: this.disabled, children: r`<div .ariaChecked=${this.checked} .ariaLabel=${y(this)} class=${o({
|
|
88
88
|
[s.toggle]: !0,
|
|
89
89
|
[c.rtl]: e
|
|
90
|
-
})} @blur=${this.onToggleBlur} @focus=${this.onToggleFocus} role=checkbox tabindex=${(this.disabled ? void 0 : 0) ?? i} ${h(this.toggleEl)}><svg aria-hidden=true class=${o(s.check)} viewBox="0 0 16 16">${
|
|
90
|
+
})} @blur=${this.onToggleBlur} @focus=${this.onToggleFocus} role=checkbox tabindex=${(this.disabled ? void 0 : 0) ?? i} ${h(this.toggleEl)}><svg aria-hidden=true class=${o(s.check)} viewBox="0 0 16 16">${l`<path d=${this.getPath() ?? i} />`}</svg><slot></slot></div>${u({ component: this })}` });
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
a("calcite-checkbox", I);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as h, c as d } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
2
|
+
import { html as i } from "lit";
|
|
3
3
|
import { createRef as o, ref as r } from "lit-html/directives/ref.js";
|
|
4
|
-
import { LitElement as v, createEvent as a, safeClassMap as
|
|
4
|
+
import { LitElement as v, createEvent as a, safeClassMap as t } from "@arcgis/lumina";
|
|
5
5
|
import { a as m } from "../../chunks/dom.js";
|
|
6
6
|
import { c as g, g as n } from "../../chunks/component.js";
|
|
7
7
|
import { u, I as b } from "../../chunks/interactive.js";
|
|
@@ -10,7 +10,7 @@ import { u as f } from "../../chunks/useT9n.js";
|
|
|
10
10
|
import { css as k } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
13
|
-
v3.1.0
|
|
13
|
+
v3.1.0 */
|
|
14
14
|
const c = {
|
|
15
15
|
title: "title",
|
|
16
16
|
close: "close",
|
|
@@ -35,7 +35,7 @@ const c = {
|
|
|
35
35
|
checkedSingle: "circle-f",
|
|
36
36
|
uncheckedMultiple: "square",
|
|
37
37
|
checkedMultiple: "check-square-f"
|
|
38
|
-
}, y = k`: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-flex;cursor:default;border-radius:var(--calcite-chip-corner-radius, 9999px)}:host([closed]){display:none}:host([appearance=outline]) .container,:host([appearance=outline-fill]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-1))}:host([appearance=outline]) .close,:host([appearance=outline-fill]) .close{color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, var(--calcite-color-text-3)))}:host([appearance=outline]):host([kind=brand]) .container,:host([appearance=outline-fill]):host([kind=brand]) .container{border-color:var(--calcite-chip-border-color, var(--calcite-color-brand))}:host([appearance=outline]):host([kind=inverse]) .container,:host([appearance=outline-fill]):host([kind=inverse]) .container{border-color:var(--calcite-chip-border-color, var(--calcite-color-border-inverse))}:host([appearance=outline]):host([kind=neutral]) .container,:host([appearance=outline-fill]):host([kind=neutral]) .container{border-color:var(--calcite-chip-border-color, var(--calcite-color-border-1))}:host([appearance=outline]) .container{background-color:transparent}:host([appearance=outline-fill]) .container{background-color:var(--calcite-chip-background-color, var(--calcite-color-foreground-1))}:host([appearance=solid]) .container{border-color:transparent}:host([appearance=solid]):host([kind=brand]) .container,:host([appearance=solid]):host([kind=inverse]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-inverse))}:host([appearance=solid]):host([kind=brand]) .close,:host([appearance=solid]):host([kind=inverse]) .close{outline-color:var(--calcite-color-text-inverse)}:host([appearance=solid]):host([kind=brand]) .container{background-color:var(--calcite-chip-background-color, var(--calcite-color-brand))}:host([appearance=solid]):host([kind=inverse]) .container{background-color:var(--calcite-chip-background-color, var(--calcite-color-inverse))}:host([appearance=solid]):host([kind=inverse]) .close:hover{background-color:var(--calcite-color-inverse-hover)}:host([appearance=solid]):host([kind=inverse]) .close:active{background-color:var(--calcite-color-inverse-press)}:host([appearance=solid]):host([kind=neutral]) .container{background-color:var(--calcite-chip-background-color, var(--calcite-color-foreground-2))}:host([kind=neutral]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-1))}:host([kind=neutral]) .close{color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, var(--calcite-color-text-3)))}:host([selected]) .select-icon{opacity:1}:host([appearance=solid]):host([kind=neutral]) .container.selectable:hover{background-color:var(--calcite-color-foreground-3)}:host([appearance=solid]):host([kind=neutral]) .container.selectable:active{background-color:var(--calcite-color-border-3)}:host([appearance=solid]):host([kind=inverse]) .container.selectable:hover{background-color:var(--calcite-color-inverse-hover)}:host([appearance=solid]):host([kind=inverse]) .container.selectable:active{background-color:var(--calcite-color-inverse-press)}:host([appearance=solid]):host([kind=brand]) .container.selectable:hover{background-color:var(--calcite-color-brand-hover)}:host([appearance=solid]):host([kind=brand]) .container.selectable:active{background-color:var(--calcite-color-brand-press)}:host([appearance=outline-fill]):host([kind=neutral]) .container.selectable:hover{background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-border-input)}:host([appearance=outline-fill]):host([kind=neutral]) .container.selectable:active{background-color:var(--calcite-color-foreground-3);border-color:var(--calcite-color-text-3)}:host([appearance=outline-fill]):host([kind=inverse]) .container.selectable:hover,:host([appearance=outline-fill]):host([kind=brand]) .container.selectable:hover{background-color:var(--calcite-color-foreground-2)}:host([appearance=outline-fill]):host([kind=inverse]) .container.selectable:active,:host([appearance=outline-fill]):host([kind=brand]) .container.selectable:active{background-color:var(--calcite-color-foreground-3)}:host([appearance=outline]):host([kind=neutral]) .container.selectable:hover{background-color:var(--calcite-color-transparent-hover);border-color:var(--calcite-color-border-input)}:host([appearance=outline]):host([kind=neutral]) .container.selectable:active{background-color:var(--calcite-color-transparent-press);border-color:var(--calcite-color-text-3)}:host([appearance=outline]):host([kind=inverse]) .container.selectable:hover,:host([appearance=outline]):host([kind=brand]) .container.selectable:hover{background-color:var(--calcite-color-transparent-hover)}:host([appearance=outline]):host([kind=inverse]) .container.selectable:active,:host([appearance=outline]):host([kind=brand]) .container.selectable:active{background-color:var(--calcite-color-transparent-press)}:host([scale=s]) .container{--calcite-internal-chip-block-size: var(--calcite-size-sm, 1.5rem) ;--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-font-size: var(--calcite-font-size--2);--calcite-internal-chip-icon-size: var(--calcite-size-xs, 1rem) ;--calcite-internal-chip-icon-space: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-image-size: var(--calcite-spacing-xl, 1.25rem) ;--calcite-internal-chip-title-space: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-close-size: var(--calcite-size-xs, 1rem) }:host([scale=s]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px);--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-px)}:host([scale=s]) .container.image--slotted:has(.chip-icon),:host([scale=s]) .container.image--slotted.text--slotted,:host([scale=s]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end: var(--calcite-spacing-xxs, .25rem) }:host([scale=s]) .container.image--slotted:not(.text--slotted,:has(.chip-icon)),:host([scale=s]) .container.image--slotted:not(.selectable){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=s]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=s]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-none, 0)}:host([scale=s]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end: .5rem ;--calcite-internal-chip-select-space-x-start: .125rem }:host([scale=s]) .container.multiple:not(.is-circle){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=s]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end: .5rem ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=s]) .container.multiple:not(.is-circle).image--slotted:not(.text--slotted){--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=m]) .container{--calcite-internal-chip-block-size: var(--calcite-size-md, 2rem) ;--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-font-size: var(--calcite-font-size--1);--calcite-internal-chip-icon-size: var(--calcite-size-sm, 1.5rem) ;--calcite-internal-chip-icon-space: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-image-size: var(--calcite-size-sm, 1.5rem) ;--calcite-internal-chip-title-space: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-close-size: var(--calcite-size-sm, 1.5rem) }:host([scale=m]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-px);--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=m]) .container.image--slotted:not(.is-circle){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=m]) .container.image--slotted:has(.chip-icon),:host([scale=m]) .container.image--slotted.text--slotted,:host([scale=m]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end: var(--calcite-spacing-xs, .375rem) }:host([scale=m]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=m]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-px);--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-none, 0)}:host([scale=m]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=m]) .container.multiple:not(.is-circle){--calcite-internal-chip-select-space-x-end: .125rem ;--calcite-internal-chip-select-space-x-start: .125rem }:host([scale=m]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end: .5rem ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=m]) .container.closable:not(.is-circle){--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xxs, .25rem) }:host([scale=l]) .container{--calcite-internal-chip-block-size: 2.75rem ;--calcite-internal-chip-container-space-x-end: .5rem ;--calcite-internal-chip-container-space-x-start: .5rem ;--calcite-internal-chip-font-size: var(--calcite-font-size-0);--calcite-internal-chip-icon-size: var(--calcite-size-md, 2rem) ;--calcite-internal-chip-icon-space: .5rem ;--calcite-internal-chip-image-size: var(--calcite-size-md, 2rem) ;--calcite-internal-chip-title-space: .5rem ;--calcite-internal-close-size: var(--calcite-size-md, 2rem) }:host([scale=l]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=l]) .container.image--slotted:not(.is-circle){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=l]) .container.image--slotted:has(.chip-icon),:host([scale=l]) .container.image--slotted.text--slotted,:host([scale=l]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end: .5rem }:host([scale=l]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=l]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-none, 0)}:host([scale=l]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-select-space-x-start: .5rem }:host([scale=l]) .container.multiple:not(.is-circle){--calcite-internal-chip-container-space-x-start: .5rem ;--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=l]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end: .75rem }:host([scale=l]) .container.closable:not(.is-circle){--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xs, .375rem) }.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;font-weight:var(--calcite-font-weight-medium);outline-color:transparent;border-radius:var(--calcite-chip-corner-radius, 9999px);border-width:var(--calcite-border-width-sm);border-style:solid;font-size:var(--calcite-internal-chip-font-size, var(--calcite-font-size));padding-inline-start:var(--calcite-internal-chip-container-space-x-start);padding-inline-end:var(--calcite-internal-chip-container-space-x-end);block-size:var(--calcite-internal-chip-block-size, auto);inline-size:var(--calcite-internal-chip-inline-size, auto);min-inline-size:var(--calcite-internal-chip-block-size, auto)}.container:hover .select-icon--active{opacity:var(--calcite-opacity-full, 1)}.container.selectable{cursor:pointer}.container:not(.non-interactive):focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container:not(.text--slotted) .title,.container:not(.image--slotted) .image-container{display:none}.container.is-circle .chip-icon,.container.is-circle .image-container{padding:var(--calcite-spacing-none, 0)}.title{padding-inline:var(--calcite-internal-chip-title-space)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none;block-size:var(--calcite-internal-chip-image-size, var(--calcite-spacing-xxl, 1.5rem));inline-size:var(--calcite-internal-chip-image-size, var(--calcite-spacing-xxl, 1.5rem));padding-inline-start:var(--calcite-spacing-none, 0);padding-inline-end:var(--calcite-internal-chip-image-space-x-end, 0)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-chip-icon-color, var(--calcite-chip-text-color, var(--calcite-icon-color, currentColor)));padding-inline:var(--calcite-internal-chip-icon-space, var(--calcite-spacing-xs, .375rem))}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:absolute;visibility:hidden;inline-size:auto;opacity:0;transition:opacity .15s ease-in-out,inline-size .15s ease-in-out;color:var(--calcite-chip-select-icon-color, currentColor)}.select-icon.select-icon--active{position:relative;visibility:visible;opacity:var(--calcite-opacity-half, .5);color:var(--calcite-chip-select-icon-color-pressed, var(--calcite-chip-select-icon-color, currentColor))}.multiple .select-icon{display:flex;align-items:center;justify-content:center}.multiple .select-icon,.single .select-icon--active{padding-inline-start:var(--calcite-internal-chip-select-space-x-start);padding-inline-end:var(--calcite-internal-chip-select-space-x-end);block-size:var(--calcite-internal-chip-icon-size, var(--calcite-spacing-xxl, 1.5rem));inline-size:var(--calcite-internal-chip-icon-size, var(--calcite-spacing-xxl, 1.5rem))}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}.close{margin:0;cursor:pointer;align-items:center;border-radius:50%;border-style:none;outline-color:transparent;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-close-background-color, var(--calcite-color-transparent));-webkit-appearance:none;display:flex;align-content:center;justify-content:center;color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, currentColor));block-size:var(--calcite-internal-close-size, var(--calcite-spacing-xxl, 1.5rem));inline-size:var(--calcite-internal-close-size, var(--calcite-spacing-xxl, 1.5rem));padding:0}.close:hover,.close:focus{background-color:var(--calcite-close-background-color-hover, var(--calcite-color-transparent-hover))}.close:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.close:active{background-color:var(--calcite-close-background-color-press, var(--calcite-color-transparent-press))}.close calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
38
|
+
}, y = k`: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-flex;cursor:default;border-radius:var(--calcite-chip-corner-radius, 9999px)}:host([closed]){display:none}:host([appearance=outline]) .container,:host([appearance=outline-fill]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-1))}:host([appearance=outline]) .close,:host([appearance=outline-fill]) .close{color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, var(--calcite-color-text-3)))}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-chip-border-color: var(--calcite-chip-border-color, var(--calcite-color-brand))}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-chip-border-color: var(--calcite-chip-border-color, var(--calcite-color-border-inverse))}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-chip-border-color: var(--calcite-chip-border-color, var(--calcite-color-border-1))}:host([appearance=outline]){--calcite-internal-chip-background-color: transparent}:host([appearance=outline-fill]){--calcite-internal-chip-background-color: var(--calcite-chip-background-color, var(--calcite-color-foreground-1))}:host([appearance=solid]){--calcite-internal-chip-border-color: transparent}:host([appearance=solid]):host([kind=brand]) .container,:host([appearance=solid]):host([kind=inverse]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-inverse))}:host([appearance=solid]):host([kind=brand]) .close,:host([appearance=solid]):host([kind=inverse]) .close{outline-color:var(--calcite-color-text-inverse)}:host([appearance=solid]):host([kind=brand]){--calcite-internal-chip-background-color: var(--calcite-chip-background-color, var(--calcite-color-brand))}:host([appearance=solid]):host([kind=inverse]){--calcite-internal-chip-background-color: var(--calcite-chip-background-color, var(--calcite-color-inverse))}:host([appearance=solid]):host([kind=inverse]) .close:hover{background-color:var(--calcite-color-inverse-hover)}:host([appearance=solid]):host([kind=inverse]) .close:active{background-color:var(--calcite-color-inverse-press)}:host([appearance=solid]):host([kind=neutral]){--calcite-internal-chip-background-color: var(--calcite-chip-background-color, var(--calcite-color-foreground-2))}:host([kind=neutral]) .container{color:var(--calcite-chip-text-color, var(--calcite-color-text-1))}:host([kind=neutral]) .close{color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, var(--calcite-color-text-3)))}:host([selected]) .select-icon{opacity:1}:host([appearance=solid]):host([kind=neutral]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-foreground-3);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-border-3)}:host([appearance=solid]):host([kind=inverse]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-inverse-hover);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-inverse-press)}:host([appearance=solid]):host([kind=brand]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-brand-hover);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-foreground-2);--calcite-internal-chip-selectable-hover-border-color: var(--calcite-color-border-input);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-foreground-3);--calcite-internal-chip-selectable-active-border-color: var(--calcite-color-text-3)}:host([appearance=outline-fill]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-foreground-2);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-foreground-3)}:host([appearance=outline]):host([kind=neutral]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-transparent-hover);--calcite-internal-chip-selectable-hover-border-color: var(--calcite-color-border-input);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-transparent-press);--calcite-internal-chip-selectable-active-border-color: var(--calcite-color-text-3)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline]):host([kind=brand]){--calcite-internal-chip-selectable-hover-background-color: var(--calcite-color-transparent-hover);--calcite-internal-chip-selectable-active-background-color: var(--calcite-color-transparent-press)}:host([scale=s]) .container{--calcite-internal-chip-block-size: var(--calcite-size-sm, 1.5rem) ;--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-font-size: var(--calcite-font-size--2);--calcite-internal-chip-icon-size: var(--calcite-size-xs, 1rem) ;--calcite-internal-chip-icon-space: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-image-size: var(--calcite-spacing-xl, 1.25rem) ;--calcite-internal-chip-title-space: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-close-size: var(--calcite-size-xs, 1rem) }:host([scale=s]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px);--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-px)}:host([scale=s]) .container.image--slotted:has(.chip-icon),:host([scale=s]) .container.image--slotted.text--slotted,:host([scale=s]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end: var(--calcite-spacing-xxs, .25rem) }:host([scale=s]) .container.image--slotted:not(.text--slotted,:has(.chip-icon)),:host([scale=s]) .container.image--slotted:not(.selectable){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=s]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=s]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-none, 0)}:host([scale=s]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end: .5rem ;--calcite-internal-chip-select-space-x-start: .125rem }:host([scale=s]) .container.multiple:not(.is-circle){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=s]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end: .5rem ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=s]) .container.multiple:not(.is-circle).image--slotted:not(.text--slotted){--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=m]) .container{--calcite-internal-chip-block-size: var(--calcite-size-md, 2rem) ;--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-font-size: var(--calcite-font-size--1);--calcite-internal-chip-icon-size: var(--calcite-size-sm, 1.5rem) ;--calcite-internal-chip-icon-space: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-image-size: var(--calcite-size-sm, 1.5rem) ;--calcite-internal-chip-title-space: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-close-size: var(--calcite-size-sm, 1.5rem) }:host([scale=m]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-px);--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-px)}:host([scale=m]) .container.image--slotted:not(.is-circle){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=m]) .container.image--slotted:has(.chip-icon),:host([scale=m]) .container.image--slotted.text--slotted,:host([scale=m]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end: var(--calcite-spacing-xs, .375rem) }:host([scale=m]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=m]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-px);--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-none, 0)}:host([scale=m]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=m]) .container.multiple:not(.is-circle){--calcite-internal-chip-select-space-x-end: .125rem ;--calcite-internal-chip-select-space-x-start: .125rem }:host([scale=m]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end: .5rem ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=m]) .container.closable:not(.is-circle){--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xxs, .25rem) }:host([scale=l]) .container{--calcite-internal-chip-block-size: 2.75rem ;--calcite-internal-chip-container-space-x-end: .5rem ;--calcite-internal-chip-container-space-x-start: .5rem ;--calcite-internal-chip-font-size: var(--calcite-font-size-0);--calcite-internal-chip-icon-size: var(--calcite-size-md, 2rem) ;--calcite-internal-chip-icon-space: .5rem ;--calcite-internal-chip-image-size: var(--calcite-size-md, 2rem) ;--calcite-internal-chip-title-space: .5rem ;--calcite-internal-close-size: var(--calcite-size-md, 2rem) }:host([scale=l]) .container:not(.closable).is-circle{--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=l]) .container.image--slotted:not(.is-circle){--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=l]) .container.image--slotted:has(.chip-icon),:host([scale=l]) .container.image--slotted.text--slotted,:host([scale=l]) .container.image--slotted.closable{--calcite-internal-chip-image-space-x-end: .5rem }:host([scale=l]) .container.selectable.single:not(.is-circle).image--slotted{--calcite-internal-chip-container-space-x-start: var(--calcite-spacing-xs, .375rem) }:host([scale=l]) .container.selectable.single:not(.is-circle).selected{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-none, 0)}:host([scale=l]) .container.selectable.single:not(.is-circle).selected.image--slotted{--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xs, .375rem) ;--calcite-internal-chip-select-space-x-start: .5rem }:host([scale=l]) .container.multiple:not(.is-circle){--calcite-internal-chip-container-space-x-start: .5rem ;--calcite-internal-chip-select-space-x-end: var(--calcite-spacing-xxs, .25rem) ;--calcite-internal-chip-select-space-x-start: var(--calcite-spacing-xxs, .25rem) }:host([scale=l]) .container.multiple:not(.is-circle).image--slotted{--calcite-internal-chip-select-space-x-end: .75rem }:host([scale=l]) .container.closable:not(.is-circle){--calcite-internal-chip-container-space-x-end: var(--calcite-spacing-xs, .375rem) }.container{box-sizing:border-box;display:inline-flex;block-size:100%;max-inline-size:100%;align-items:center;justify-content:center;font-weight:var(--calcite-font-weight-medium);outline-color:transparent;background-color:var(--calcite-internal-chip-background-color);border-color:var(--calcite-internal-chip-border-color);border-radius:var(--calcite-chip-corner-radius, 9999px);border-width:var(--calcite-border-width-sm);border-style:solid;font-size:var(--calcite-internal-chip-font-size, var(--calcite-font-size));padding-inline-start:var(--calcite-internal-chip-container-space-x-start);padding-inline-end:var(--calcite-internal-chip-container-space-x-end);block-size:var(--calcite-internal-chip-block-size, auto);inline-size:var(--calcite-internal-chip-inline-size, auto);min-inline-size:var(--calcite-internal-chip-block-size, auto)}.container:hover .select-icon--active{opacity:var(--calcite-opacity-full, 1)}.container.selectable{cursor:pointer}.container.selectable:hover{background-color:var(--calcite-internal-chip-selectable-hover-background-color);border-color:var(--calcite-internal-chip-selectable-hover-border-color)}.container.selectable:active{background-color:var(--calcite-internal-chip-selectable-active-background-color);border-color:var(--calcite-internal-chip-selectable-active-border-color)}.container:not(.non-interactive):focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container.text--slotted .title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container:not(.text--slotted) .title,.container:not(.image--slotted) .image-container{display:none}.container.is-circle .chip-icon,.container.is-circle .image-container{padding:var(--calcite-spacing-none, 0)}.title{padding-inline:var(--calcite-internal-chip-title-space)}.image-container{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;pointer-events:none;block-size:var(--calcite-internal-chip-image-size, var(--calcite-spacing-xxl, 1.5rem));inline-size:var(--calcite-internal-chip-image-size, var(--calcite-spacing-xxl, 1.5rem));padding-inline-start:var(--calcite-spacing-none, 0);padding-inline-end:var(--calcite-internal-chip-image-space-x-end, 0)}.chip-icon{position:relative;margin-block:0px;display:inline-flex;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-chip-icon-color, var(--calcite-chip-text-color, var(--calcite-icon-color, currentColor)));padding-inline:var(--calcite-internal-chip-icon-space, var(--calcite-spacing-xs, .375rem))}.select-icon{align-self:center;justify-content:center;align-items:center;display:flex;inset-block-start:-1px;position:absolute;visibility:hidden;inline-size:auto;opacity:0;transition:opacity .15s ease-in-out,inline-size .15s ease-in-out;color:var(--calcite-chip-select-icon-color, currentColor)}.select-icon.select-icon--active{position:relative;visibility:visible;opacity:var(--calcite-opacity-half, .5);color:var(--calcite-chip-select-icon-color-press, var(--calcite-chip-select-icon-color-pressed, var(--calcite-chip-select-icon-color, currentColor)))}.multiple .select-icon{display:flex;align-items:center;justify-content:center}.multiple .select-icon,.single .select-icon--active{padding-inline-start:var(--calcite-internal-chip-select-space-x-start);padding-inline-end:var(--calcite-internal-chip-select-space-x-end);block-size:var(--calcite-internal-chip-icon-size, var(--calcite-spacing-xxl, 1.5rem));inline-size:var(--calcite-internal-chip-icon-size, var(--calcite-spacing-xxl, 1.5rem))}slot[name=image]::slotted(*){display:flex;block-size:100%;inline-size:100%;overflow:hidden;border-radius:50%}.close{margin:0;cursor:pointer;align-items:center;border-radius:50%;border-style:none;outline-color:transparent;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-close-background-color, var(--calcite-color-transparent));-webkit-appearance:none;display:flex;align-content:center;justify-content:center;color:var(--calcite-chip-close-icon-color, var(--calcite-close-icon-color, currentColor));block-size:var(--calcite-internal-close-size, var(--calcite-spacing-xxl, 1.5rem));inline-size:var(--calcite-internal-close-size, var(--calcite-spacing-xxl, 1.5rem));padding:0}.close:hover,.close:focus{background-color:var(--calcite-close-background-color-hover, var(--calcite-color-transparent-hover))}.close:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.close:active{background-color:var(--calcite-close-background-color-press, var(--calcite-color-transparent-press))}.close calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
39
39
|
class C extends v {
|
|
40
40
|
// #endregion
|
|
41
41
|
// #region Lifecycle
|
|
@@ -117,24 +117,24 @@ class C extends v {
|
|
|
117
117
|
// #endregion
|
|
118
118
|
// #region Rendering
|
|
119
119
|
renderChipImage() {
|
|
120
|
-
return
|
|
120
|
+
return i`<div class=${t(c.imageContainer)}><slot name=${z.image} @slotchange=${this.handleSlotImageChange}></slot></div>`;
|
|
121
121
|
}
|
|
122
122
|
renderSelectionIcon() {
|
|
123
123
|
const e = this.selectionMode === "multiple" ? this.selected ? l.checkedMultiple : l.uncheckedMultiple : this.selected ? l.checkedSingle : void 0;
|
|
124
|
-
return
|
|
124
|
+
return i`<div class=${t({
|
|
125
125
|
[c.selectIcon]: !0,
|
|
126
126
|
[c.selectIconActive]: this.selectionMode === "multiple" || this.selected
|
|
127
|
-
})}>${e ?
|
|
127
|
+
})}>${e ? i`<calcite-icon .icon=${e} .scale=${n(this.scale)}></calcite-icon>` : null}</div>`;
|
|
128
128
|
}
|
|
129
129
|
renderCloseButton() {
|
|
130
|
-
return
|
|
130
|
+
return i`<button .ariaLabel=${this.messages.dismissLabel} class=${t(c.close)} @click=${this.close} @keydown=${this.closeButtonKeyDownHandler} .tabIndex=${this.disabled ? -1 : 0} ${r(this.closeButtonEl)}><calcite-icon .icon=${l.close} .scale=${n(this.scale)}></calcite-icon></button>`;
|
|
131
131
|
}
|
|
132
132
|
renderIcon() {
|
|
133
|
-
return
|
|
133
|
+
return i`<calcite-icon class=${t(c.chipIcon)} .flipRtl=${this.iconFlipRtl} .icon=${this.icon} .scale=${n(this.scale)}></calcite-icon>`;
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
136
|
const { disabled: e } = this, s = e || !e && !this.interactive, p = this.selectionMode === "multiple" && this.interactive ? "checkbox" : this.selectionMode !== "none" && this.interactive ? "radio" : this.interactive ? "button" : "img";
|
|
137
|
-
return b({ disabled: e, children:
|
|
137
|
+
return b({ disabled: e, children: i`<div .ariaChecked=${this.selectionMode !== "none" && this.interactive ? this.selected : void 0} .ariaLabel=${this.label} class=${t({
|
|
138
138
|
[c.container]: !0,
|
|
139
139
|
[c.textSlotted]: this.hasText,
|
|
140
140
|
[c.imageSlotted]: this.hasImage,
|
|
@@ -145,7 +145,7 @@ class C extends v {
|
|
|
145
145
|
[c.closable]: this.closable,
|
|
146
146
|
[c.nonInteractive]: !this.interactive,
|
|
147
147
|
[c.isCircle]: !this.closable && !this.hasText && (!this.icon || !this.hasImage) && (this.selectionMode === "none" || !!this.selectionMode && this.selectionMode !== "multiple" && !this.selected)
|
|
148
|
-
})} @click=${this.handleEmittingEvent} .role=${p} .tabIndex=${s ? -1 : 0} ${r(this.containerEl)}>${this.selectionMode !== "none" && this.renderSelectionIcon() || ""}${this.renderChipImage()}${this.icon && this.renderIcon() || ""}<span class=${
|
|
148
|
+
})} @click=${this.handleEmittingEvent} .role=${p} .tabIndex=${s ? -1 : 0} ${r(this.containerEl)}>${this.selectionMode !== "none" && this.renderSelectionIcon() || ""}${this.renderChipImage()}${this.icon && this.renderIcon() || ""}<span class=${t(c.title)}><slot @slotchange=${this.handleDefaultSlotChange}></slot></span>${this.closable && this.renderCloseButton() || ""}</div>` });
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
d("calcite-chip", C);
|
|
@@ -8,7 +8,7 @@ import { c as f } from "../../chunks/component.js";
|
|
|
8
8
|
import { css as u } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
11
|
-
v3.1.0
|
|
11
|
+
v3.1.0 */
|
|
12
12
|
const g = u`: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:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:.25rem}:host([scale=l]) .container{gap:.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
13
13
|
class I extends r {
|
|
14
14
|
// #endregion
|
|
@@ -2,30 +2,31 @@ import { c as se } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { ref as v } from "lit-html/directives/ref.js";
|
|
3
3
|
import { repeat as le } from "lit-html/directives/repeat.js";
|
|
4
4
|
import { keyed as I } from "lit-html/directives/keyed.js";
|
|
5
|
-
import
|
|
6
|
-
import { throttle as
|
|
7
|
-
import { html as u, nothing as
|
|
8
|
-
import { LitElement as
|
|
9
|
-
import { i as
|
|
10
|
-
import { u as
|
|
11
|
-
import { i as
|
|
12
|
-
import { c as
|
|
13
|
-
import { c as
|
|
14
|
-
import { u as
|
|
15
|
-
import { c as
|
|
5
|
+
import S from "color";
|
|
6
|
+
import { throttle as E } from "lodash-es";
|
|
7
|
+
import { html as u, nothing as $ } from "lit";
|
|
8
|
+
import { LitElement as ne, createEvent as K, safeClassMap as c, safeStyleMap as x } from "@arcgis/lumina";
|
|
9
|
+
import { i as H, h as re, g as ce } from "../../chunks/dom.js";
|
|
10
|
+
import { u as he, I as de } from "../../chunks/interactive.js";
|
|
11
|
+
import { i as pe } from "../../chunks/key.js";
|
|
12
|
+
import { c as ue } from "../../chunks/component.js";
|
|
13
|
+
import { c as Ce, r as U, a as fe } from "../../chunks/math.js";
|
|
14
|
+
import { u as me } from "../../chunks/useT9n.js";
|
|
15
|
+
import { c as ge } from "../../chunks/observers.js";
|
|
16
|
+
import { D as g, C as j, S as A, g as ve, e as Se, n as O, h as b, p as W, f as P, j as D, k as be, l as N, O as y, R as k, H as p, m as n, o as _, t as ye, q as B, s as V, u as we, c as R, v as X } from "../../chunks/utils4.js";
|
|
16
17
|
import { css as $e } from "@lit/reactive-element/css-tag.js";
|
|
17
18
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
18
19
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
19
|
-
v3.1.0
|
|
20
|
+
v3.1.0 */
|
|
20
21
|
const xe = $e`: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;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal);inline-size:var(--calcite-internal-color-picker-min-width);min-inline-size:var(--calcite-internal-color-picker-min-width)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-color-picker-min-width: 200px;--calcite-color-picker-spacing: 8px}:host([scale=s]) .saved-colors{gap:.25rem;grid-template-columns:repeat(auto-fill,20px)}:host([scale=m]){--calcite-internal-color-picker-min-width: 240px;--calcite-color-picker-spacing: 12px}:host([scale=l]){--calcite-internal-color-picker-min-width: 304px;--calcite-color-picker-spacing: 16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill,32px)}:host([scale=l]) .control-section{display:flex;flex-direction:column;flex-wrap:wrap;align-items:baseline}:host([scale=l]) .color-hex-options{inline-size:100%;display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:flex;flex-direction:column;block-size:min-content;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.color-field,.control-and-scope{-webkit-user-select:none;user-select:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));outline-offset:6px}.hex-and-channels-group{display:flex;inline-size:100%;flex-direction:column;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing);gap:var(--calcite-spacing-xxs)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex}.channel{flex-grow:1}.channel[data-channel-index="3"]{margin-inline-start:-1px;min-inline-size:81px}:host([scale=s]) .channel[data-channel-index="3"]{min-inline-size:68px}:host([scale=l]) .channel[data-channel-index="3"]{min-inline-size:88px}.saved-colors{display:grid;gap:.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill,24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}`, q = 16;
|
|
21
|
-
class Ae extends
|
|
22
|
+
class Ae extends ne {
|
|
22
23
|
// #endregion
|
|
23
24
|
// #region Lifecycle
|
|
24
25
|
constructor() {
|
|
25
|
-
super(), this._color = g, this.internalColorUpdateContext = null, this.isActiveChannelInputEmpty = !1, this.mode =
|
|
26
|
+
super(), this._color = g, this.internalColorUpdateContext = null, this.isActiveChannelInputEmpty = !1, this.mode = j.HEX, this.resizeObserver = ge("resize", (e) => this.resizeCanvas(e)), this.shiftKeyChannelAdjustment = 0, this.upOrDownArrowKeyTracker = null, this._valueWasSet = !1, this.channelMode = "rgb", this.channels = this.toChannels(g), this.staticDimensions = A.m, this.savedColors = [], this.allowEmpty = !1, this.alphaChannel = !1, this.channelsDisabled = !1, this.clearable = !1, this.disabled = !1, this.format = "auto", this.hexDisabled = !1, this.messages = me({ blocking: !0 }), this.savedDisabled = !1, this.scale = "m", this.calciteColorPickerChange = K({ cancelable: !1 }), this.calciteColorPickerInput = K({ cancelable: !1 }), this.captureColorFieldColor = (e, t, i = !0) => {
|
|
26
27
|
const { width: o, height: a } = this.dynamicDimensions.colorField, s = Math.round(p.s / o * e), l = Math.round(p.v / a * (a - t));
|
|
27
28
|
this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(s).value(l), i);
|
|
28
|
-
}, this.drawColorControls =
|
|
29
|
+
}, this.drawColorControls = E((e = "all") => {
|
|
29
30
|
(e === "all" || e === "color-field") && this.colorFieldRenderingContext && this.drawColorField(), (e === "all" || e === "hue-slider") && this.hueSliderRenderingContext && this.drawHueSlider(), this.alphaChannel && (e === "all" || e === "opacity-slider") && this.opacitySliderRenderingContext && this.drawOpacitySlider();
|
|
30
31
|
}, q), this.globalPointerMoveHandler = (e) => {
|
|
31
32
|
const { activeCanvasInfo: t, el: i } = this;
|
|
@@ -36,22 +37,22 @@ class Ae extends pe {
|
|
|
36
37
|
const { clientX: r, clientY: h } = e;
|
|
37
38
|
o.canvas.matches(":hover") ? (s = r - a.x, l = h - a.y) : (r < a.x + a.width && r > a.x ? s = r - a.x : r < a.x ? s = 0 : s = a.width, h < a.y + a.height && h > a.y ? l = h - a.y : h < a.y ? l = 0 : l = a.height), o === this.colorFieldRenderingContext ? this.captureColorFieldColor(s, l, !1) : o === this.hueSliderRenderingContext ? this.captureHueSliderColor(s) : o === this.opacitySliderRenderingContext && this.captureOpacitySliderValue(s);
|
|
38
39
|
}, this.globalPointerUpHandler = (e) => {
|
|
39
|
-
if (!
|
|
40
|
+
if (!H(e))
|
|
40
41
|
return;
|
|
41
42
|
const t = this.activeCanvasInfo;
|
|
42
43
|
this.activeCanvasInfo = null, this.drawColorControls(), t && this.calciteColorPickerChange.emit();
|
|
43
|
-
}, this.resizeCanvas =
|
|
44
|
+
}, this.resizeCanvas = E((e) => {
|
|
44
45
|
if (!this.hasUpdated)
|
|
45
46
|
return;
|
|
46
47
|
const [t] = e, i = Math.floor(t.contentBoxSize[0].inlineSize);
|
|
47
48
|
this.dynamicDimensions.colorField.width !== i && (this.updateDynamicDimensions(i), this.updateCanvasSize(), this.drawColorControls());
|
|
48
49
|
}, q), this.updateDynamicDimensions = (e) => {
|
|
49
50
|
const t = {
|
|
50
|
-
width:
|
|
51
|
+
width: ve(e, this.staticDimensions, this.alphaChannel),
|
|
51
52
|
height: this.staticDimensions.slider.height
|
|
52
53
|
};
|
|
53
54
|
this.dynamicDimensions = {
|
|
54
|
-
colorField:
|
|
55
|
+
colorField: Se(e),
|
|
55
56
|
slider: t
|
|
56
57
|
};
|
|
57
58
|
}, this.listen("keydown", this.handleChannelKeyUpOrDown, { capture: !0 }), this.listen("keyup", this.handleChannelKeyUpOrDown, { capture: !0 });
|
|
@@ -101,23 +102,23 @@ class Ae extends pe {
|
|
|
101
102
|
// #region Public Methods
|
|
102
103
|
/** Sets focus on the component's first focusable element. */
|
|
103
104
|
async setFocus() {
|
|
104
|
-
await
|
|
105
|
+
await ue(this), re(this.el);
|
|
105
106
|
}
|
|
106
107
|
connectedCallback() {
|
|
107
108
|
super.connectedCallback(), this.observeResize();
|
|
108
109
|
}
|
|
109
110
|
async load() {
|
|
110
|
-
this._valueWasSet || (this._value ??= O(
|
|
111
|
-
const { isClearable: e, color: t, format: i, value: o } = this, a = e && !o, s =
|
|
112
|
-
l || this.showIncompatibleColorWarning(o, i), this.setMode(i, !1), this.internalColorSet(r, !1, "initial"), this.updateStaticDimensions(this.scale), this.updateDynamicDimensions(
|
|
111
|
+
this._valueWasSet || (this._value ??= O(b(g, this.alphaChannel))), this.handleAllowEmptyOrClearableChange();
|
|
112
|
+
const { isClearable: e, color: t, format: i, value: o } = this, a = e && !o, s = W(o), l = a || i === "auto" && s || i === s, r = a ? null : l ? S(o) : t;
|
|
113
|
+
l || this.showIncompatibleColorWarning(o, i), this.setMode(i, !1), this.internalColorSet(r, !1, "initial"), this.updateStaticDimensions(this.scale), this.updateDynamicDimensions(A[this.scale].minWidth);
|
|
113
114
|
const h = `${P}${this.storageId}`;
|
|
114
115
|
this.storageId && localStorage.getItem(h) && (this.savedColors = JSON.parse(localStorage.getItem(h)));
|
|
115
116
|
}
|
|
116
117
|
willUpdate(e) {
|
|
117
|
-
(e.has("allowEmpty") && (this.hasUpdated || this.allowEmpty !== !1) || e.has("clearable") && (this.hasUpdated || this.clearable !== !1)) && this.handleAllowEmptyOrClearableChange(), e.has("alphaChannel") && (this.hasUpdated || this.alphaChannel !== !1) && this.handleAlphaChannelChange(this.alphaChannel), this.hasUpdated && (e.has("alphaChannel") && this.alphaChannel !== !1 || e.has("staticDimensions") && this.staticDimensions !==
|
|
118
|
+
(e.has("allowEmpty") && (this.hasUpdated || this.allowEmpty !== !1) || e.has("clearable") && (this.hasUpdated || this.clearable !== !1)) && this.handleAllowEmptyOrClearableChange(), e.has("alphaChannel") && (this.hasUpdated || this.alphaChannel !== !1) && this.handleAlphaChannelChange(this.alphaChannel), this.hasUpdated && (e.has("alphaChannel") && this.alphaChannel !== !1 || e.has("staticDimensions") && this.staticDimensions !== A.m) && this.handleAlphaChannelDimensionsChange(), (e.has("alphaChannel") && (this.hasUpdated || this.alphaChannel !== !1) || e.has("format") && (this.hasUpdated || this.format !== "auto")) && this.handleFormatOrAlphaChannelChange(), e.has("scale") && (this.hasUpdated || this.scale !== "m") && this.handleScaleChange(this.scale);
|
|
118
119
|
}
|
|
119
120
|
updated() {
|
|
120
|
-
|
|
121
|
+
he(this);
|
|
121
122
|
}
|
|
122
123
|
loaded() {
|
|
123
124
|
this.handleAlphaChannelDimensionsChange();
|
|
@@ -135,7 +136,7 @@ class Ae extends pe {
|
|
|
135
136
|
}
|
|
136
137
|
handleAlphaChannelChange(e) {
|
|
137
138
|
const { format: t } = this;
|
|
138
|
-
e && t !== "auto" && !
|
|
139
|
+
e && t !== "auto" && !D(t) && (console.warn(`ignoring alphaChannel as the current format (${t}) does not support alpha`), this.alphaChannel = !1);
|
|
139
140
|
}
|
|
140
141
|
handleAlphaChannelDimensionsChange() {
|
|
141
142
|
this.drawColorControls();
|
|
@@ -153,7 +154,7 @@ class Ae extends pe {
|
|
|
153
154
|
const { isClearable: i, format: o } = this, a = !i || e;
|
|
154
155
|
let s = !1;
|
|
155
156
|
if (a) {
|
|
156
|
-
const d =
|
|
157
|
+
const d = W(e);
|
|
157
158
|
if (!d || o !== "auto" && d !== o) {
|
|
158
159
|
this.showIncompatibleColorWarning(e, o), this._value = t;
|
|
159
160
|
return;
|
|
@@ -167,7 +168,7 @@ class Ae extends pe {
|
|
|
167
168
|
this.calciteColorPickerInput.emit(), l || this.calciteColorPickerChange.emit();
|
|
168
169
|
return;
|
|
169
170
|
}
|
|
170
|
-
const r = i && !e ? null :
|
|
171
|
+
const r = i && !e ? null : S(e != null && typeof e == "object" && D(this.mode) ? be(e) : e), h = !N(r, this.color);
|
|
171
172
|
(s || h) && this.internalColorSet(r, this.alphaChannel && !(this.mode.endsWith("a") || this.mode.endsWith("a-css")) || this.internalColorUpdateContext === "internal", "internal");
|
|
172
173
|
}
|
|
173
174
|
handleTabActivate(e) {
|
|
@@ -202,21 +203,21 @@ class Ae extends pe {
|
|
|
202
203
|
this.internalColorSet(null);
|
|
203
204
|
return;
|
|
204
205
|
}
|
|
205
|
-
const s = i && O(
|
|
206
|
-
a !== s && this.internalColorSet(
|
|
206
|
+
const s = i && O(b(i, D(this.mode)));
|
|
207
|
+
a !== s && this.internalColorSet(S(a));
|
|
207
208
|
}
|
|
208
209
|
handleSavedColorSelect(e) {
|
|
209
210
|
const t = e.currentTarget;
|
|
210
|
-
this.internalColorSet(
|
|
211
|
+
this.internalColorSet(S(t.color));
|
|
211
212
|
}
|
|
212
213
|
handleChannelInput(e) {
|
|
213
|
-
const t = e.currentTarget, i = Number(t.getAttribute("data-channel-index")), a = i === 3 ? y.max : this.channelMode === "rgb" ?
|
|
214
|
+
const t = e.currentTarget, i = Number(t.getAttribute("data-channel-index")), a = i === 3 ? y.max : this.channelMode === "rgb" ? k[Object.keys(k)[i]] : p[Object.keys(p)[i]];
|
|
214
215
|
let s;
|
|
215
216
|
if (!t.value)
|
|
216
217
|
s = "", this.isActiveChannelInputEmpty = !0, this.upOrDownArrowKeyTracker = null;
|
|
217
218
|
else {
|
|
218
219
|
const r = Number(t.value) + this.shiftKeyChannelAdjustment;
|
|
219
|
-
s =
|
|
220
|
+
s = Ce(r, 0, a).toString();
|
|
220
221
|
}
|
|
221
222
|
t.value = s, s !== "" && this.shiftKeyChannelAdjustment !== 0 ? this.handleChannelChange(e) : s !== "" && this.handleChannelChange(e);
|
|
222
223
|
}
|
|
@@ -242,7 +243,7 @@ class Ae extends pe {
|
|
|
242
243
|
this.shiftKeyChannelAdjustment = t === "ArrowUp" && i ? o : t === "ArrowDown" && i ? -9 : 0, t === "ArrowUp" && (this.upOrDownArrowKeyTracker = "up"), t === "ArrowDown" && (this.upOrDownArrowKeyTracker = "down");
|
|
243
244
|
}
|
|
244
245
|
getChannelInputLimit(e) {
|
|
245
|
-
return this.channelMode === "rgb" ?
|
|
246
|
+
return this.channelMode === "rgb" ? k[Object.keys(k)[e]] : p[Object.keys(p)[e]];
|
|
246
247
|
}
|
|
247
248
|
handleChannelChange(e) {
|
|
248
249
|
const t = e.currentTarget, i = Number(t.getAttribute("data-channel-index")), o = [...this.channels];
|
|
@@ -253,10 +254,10 @@ class Ae extends pe {
|
|
|
253
254
|
const s = i === 3;
|
|
254
255
|
this.isActiveChannelInputEmpty && this.upOrDownArrowKeyTracker && (t.value = this.upOrDownArrowKeyTracker === "up" ? (o[i] + 1 <= this.getChannelInputLimit(i) ? o[i] + 1 : this.getChannelInputLimit(i)).toString() : (o[i] - 1 >= 0 ? o[i] - 1 : 0).toString(), this.isActiveChannelInputEmpty = !1, this.upOrDownArrowKeyTracker = null);
|
|
255
256
|
const l = t.value ? Number(t.value) : o[i];
|
|
256
|
-
o[i] = s ?
|
|
257
|
+
o[i] = s ? _(l) : l, this.updateColorFromChannels(o);
|
|
257
258
|
}
|
|
258
259
|
handleSavedColorKeyDown(e) {
|
|
259
|
-
|
|
260
|
+
pe(e.key) && (e.preventDefault(), this.handleSavedColorSelect(e));
|
|
260
261
|
}
|
|
261
262
|
handleColorFieldPointerDown(e) {
|
|
262
263
|
this.handleCanvasControlPointerDown(e, this.colorFieldRenderingContext, this.captureColorFieldColor, this.colorFieldScopeNode);
|
|
@@ -273,7 +274,7 @@ class Ae extends pe {
|
|
|
273
274
|
this.handleCanvasControlPointerDown(e, this.opacitySliderRenderingContext, this.captureOpacitySliderValue, this.opacityScopeNode);
|
|
274
275
|
}
|
|
275
276
|
handleCanvasControlPointerDown(e, t, i, o) {
|
|
276
|
-
|
|
277
|
+
H(e) && (window.addEventListener("pointermove", this.globalPointerMoveHandler), window.addEventListener("pointerup", this.globalPointerUpHandler, {
|
|
277
278
|
once: !0
|
|
278
279
|
}), this.activeCanvasInfo = {
|
|
279
280
|
context: t,
|
|
@@ -297,34 +298,34 @@ class Ae extends pe {
|
|
|
297
298
|
this.mode = this.ensureCompatibleMode(i, t);
|
|
298
299
|
}
|
|
299
300
|
ensureCompatibleMode(e, t) {
|
|
300
|
-
const { alphaChannel: i } = this, o =
|
|
301
|
+
const { alphaChannel: i } = this, o = D(e);
|
|
301
302
|
if (i && !o) {
|
|
302
|
-
const a =
|
|
303
|
+
const a = ye(e);
|
|
303
304
|
return t && console.warn(`setting format to (${a}) as the provided one (${e}) does not support alpha`), a;
|
|
304
305
|
}
|
|
305
306
|
if (!i && o) {
|
|
306
|
-
const a =
|
|
307
|
+
const a = B(e);
|
|
307
308
|
return t && console.warn(`setting format to (${a}) as the provided one (${e}) does not support alpha`), a;
|
|
308
309
|
}
|
|
309
310
|
return e;
|
|
310
311
|
}
|
|
311
312
|
captureHueSliderColor(e) {
|
|
312
|
-
const t =
|
|
313
|
+
const t = V / this.effectiveSliderWidth * e;
|
|
313
314
|
this.internalColorSet(this.baseColorFieldColor.hue(t), !1);
|
|
314
315
|
}
|
|
315
316
|
captureOpacitySliderValue(e) {
|
|
316
|
-
const t =
|
|
317
|
+
const t = _(y.max / this.effectiveSliderWidth * e);
|
|
317
318
|
this.internalColorSet(this.baseColorFieldColor.alpha(t), !1);
|
|
318
319
|
}
|
|
319
320
|
internalColorSet(e, t = !0, i = "user-interaction") {
|
|
320
|
-
t &&
|
|
321
|
+
t && N(e, this.color) || (this.internalColorUpdateContext = i, this.color = e, this.value = this.toValue(e), this.internalColorUpdateContext = null);
|
|
321
322
|
}
|
|
322
323
|
toValue(e, t = this.mode) {
|
|
323
324
|
if (!e)
|
|
324
325
|
return null;
|
|
325
326
|
if (t.includes("hex")) {
|
|
326
|
-
const a = t ===
|
|
327
|
-
return O(
|
|
327
|
+
const a = t === j.HEXA;
|
|
328
|
+
return O(b(e.round(), a), a);
|
|
328
329
|
}
|
|
329
330
|
if (t.includes("-css")) {
|
|
330
331
|
const a = e[t.replace("-css", "").replace("a", "")]().round().string();
|
|
@@ -336,19 +337,19 @@ class Ae extends pe {
|
|
|
336
337
|
}
|
|
337
338
|
const o = (
|
|
338
339
|
/* Color() does not support hsva, hsla nor rgba, so we use the non-alpha mode */
|
|
339
|
-
e[
|
|
340
|
+
e[B(t)]().round().object()
|
|
340
341
|
);
|
|
341
|
-
return t.endsWith("a") ?
|
|
342
|
+
return t.endsWith("a") ? we(o) : o;
|
|
342
343
|
}
|
|
343
344
|
getSliderCapSpacing() {
|
|
344
345
|
const { staticDimensions: { slider: { height: e }, thumb: { radius: t } } } = this;
|
|
345
346
|
return t * 2 - e;
|
|
346
347
|
}
|
|
347
348
|
updateStaticDimensions(e = "m") {
|
|
348
|
-
this.staticDimensions =
|
|
349
|
+
this.staticDimensions = A[e];
|
|
349
350
|
}
|
|
350
351
|
deleteColor() {
|
|
351
|
-
const e =
|
|
352
|
+
const e = b(this.color, this.alphaChannel);
|
|
352
353
|
if (!(this.savedColors.indexOf(e) > -1))
|
|
353
354
|
return;
|
|
354
355
|
const i = this.savedColors.filter((a) => a !== e);
|
|
@@ -357,7 +358,7 @@ class Ae extends pe {
|
|
|
357
358
|
this.storageId && localStorage.setItem(o, JSON.stringify(i));
|
|
358
359
|
}
|
|
359
360
|
saveColor() {
|
|
360
|
-
const e =
|
|
361
|
+
const e = b(this.color, this.alphaChannel);
|
|
361
362
|
if (this.savedColors.indexOf(e) > -1)
|
|
362
363
|
return;
|
|
363
364
|
const i = [...this.savedColors, e];
|
|
@@ -420,7 +421,7 @@ class Ae extends pe {
|
|
|
420
421
|
const { color: e } = this;
|
|
421
422
|
if (!e)
|
|
422
423
|
return;
|
|
423
|
-
const t = e.hsv().saturationv(100).value(100), { staticDimensions: { thumb: { radius: i } } } = this, o = this.effectiveSliderWidth, a = t.hue() / (
|
|
424
|
+
const t = e.hsv().saturationv(100).value(100), { staticDimensions: { thumb: { radius: i } } } = this, o = this.effectiveSliderWidth, a = t.hue() / (V / o), s = i, l = this.getSliderBoundX(a, o, i);
|
|
424
425
|
requestAnimationFrame(() => {
|
|
425
426
|
this.hueScopeLeft = l;
|
|
426
427
|
}), this.drawThumb(this.hueSliderRenderingContext, i, l, s, t, !1);
|
|
@@ -437,7 +438,7 @@ class Ae extends pe {
|
|
|
437
438
|
], h = 1 / (r.length - 1);
|
|
438
439
|
let d = 0;
|
|
439
440
|
r.forEach((C) => {
|
|
440
|
-
l.addColorStop(d,
|
|
441
|
+
l.addColorStop(d, S(C).string()), d += h;
|
|
441
442
|
}), e.clearRect(0, 0, s, t + this.getSliderCapSpacing() * 2), this.drawSliderPath(e, t, s, o, a), e.fillStyle = l, e.fill(), e.strokeStyle = "rgba(0,0,0,0.3)", e.lineWidth = 1, e.stroke(), this.drawActiveHueSliderColor();
|
|
442
443
|
}
|
|
443
444
|
drawOpacitySlider() {
|
|
@@ -470,8 +471,8 @@ class Ae extends pe {
|
|
|
470
471
|
}), this.drawThumb(this.opacitySliderRenderingContext, i, l, s, t, !0);
|
|
471
472
|
}
|
|
472
473
|
getSliderBoundX(e, t, i) {
|
|
473
|
-
const o =
|
|
474
|
-
return o === 0 ? e : o === -1 ?
|
|
474
|
+
const o = fe(e, t, i);
|
|
475
|
+
return o === 0 ? e : o === -1 ? U(e, 0, t, i, i * 2) : U(e, 0, t, t - i * 2, t - i);
|
|
475
476
|
}
|
|
476
477
|
storeOpacityScope(e) {
|
|
477
478
|
this.opacityScopeNode = e;
|
|
@@ -490,7 +491,7 @@ class Ae extends pe {
|
|
|
490
491
|
}
|
|
491
492
|
}
|
|
492
493
|
updateColorFromChannels(e) {
|
|
493
|
-
this.internalColorSet(
|
|
494
|
+
this.internalColorSet(S(e, this.channelMode));
|
|
494
495
|
}
|
|
495
496
|
updateChannelsFromColor(e) {
|
|
496
497
|
this.channels = e ? this.toChannels(e) : [null, null, null, null];
|
|
@@ -500,19 +501,19 @@ class Ae extends pe {
|
|
|
500
501
|
return i.length === 3 && i.push(1), i;
|
|
501
502
|
}
|
|
502
503
|
getAdjustedScopePosition(e, t) {
|
|
503
|
-
return [e -
|
|
504
|
+
return [e - X / 2, t - X / 2];
|
|
504
505
|
}
|
|
505
506
|
// #endregion
|
|
506
507
|
// #region Rendering
|
|
507
508
|
render() {
|
|
508
|
-
const { channelsDisabled: e, color: t, colorFieldScopeLeft: i, colorFieldScopeTop: o, staticDimensions: { thumb: { radius: a } }, hexDisabled: s, hueScopeLeft: l, messages: r, alphaChannel: h, opacityScopeLeft: d, savedColors: C, savedDisabled: f, scale: m, scopeOrientation: w } = this, M = this.effectiveSliderWidth, z = t ?
|
|
509
|
-
return
|
|
509
|
+
const { channelsDisabled: e, color: t, colorFieldScopeLeft: i, colorFieldScopeTop: o, staticDimensions: { thumb: { radius: a } }, hexDisabled: s, hueScopeLeft: l, messages: r, alphaChannel: h, opacityScopeLeft: d, savedColors: C, savedDisabled: f, scale: m, scopeOrientation: w } = this, M = this.effectiveSliderWidth, z = t ? b(t, h) : null, G = a, Y = l ?? M * g.hue() / p.h, J = a, Z = d ?? M * R(g.alpha()) / y.max, L = t === void 0, F = w === "vertical", [Q, ee] = this.getAdjustedScopePosition(i, o), [te, ie] = this.getAdjustedScopePosition(Y, G), [oe, ae] = this.getAdjustedScopePosition(Z, J);
|
|
510
|
+
return de({ disabled: this.disabled, children: u`<div class=${c(n.container)}><div class=${c(n.controlAndScope)}><canvas class=${c(n.colorField)} @pointerdown=${this.handleColorFieldPointerDown} ${v(this.initColorField)}></canvas><div .ariaLabel=${F ? r.value : r.saturation} .ariaValueMax=${F ? p.v : p.s} aria-valuemin=0 .ariaValueNow=${(F ? t?.saturationv() : t?.value()) || "0"} class=${c({ [n.scope]: !0, [n.colorFieldScope]: !0 })} @keydown=${this.handleColorFieldScopeKeyDown} role=slider style=${x({
|
|
510
511
|
top: `${ee || 0}px`,
|
|
511
512
|
left: `${Q || 0}px`
|
|
512
|
-
})} tabindex=0 ${v(this.storeColorFieldScope)}></div></div><div class=${c(n.previewAndSliders)}><calcite-color-picker-swatch class=${c(n.preview)} .color=${z} .scale=${this.alphaChannel ? "l" : this.scale}></calcite-color-picker-swatch><div class=${c(n.sliders)}><div class=${c(n.controlAndScope)}><canvas class=${c({ [n.slider]: !0, [n.hueSlider]: !0 })} @pointerdown=${this.handleHueSliderPointerDown} ${v(this.initHueSlider)}></canvas><div .ariaLabel=${r.hue} .ariaValueMax=${p.h} aria-valuemin=0 .ariaValueNow=${t?.round().hue() || g.round().hue()} class=${c({ [n.scope]: !0, [n.hueScope]: !0 })} @keydown=${this.handleHueScopeKeyDown} role=slider style=${
|
|
513
|
+
})} tabindex=0 ${v(this.storeColorFieldScope)}></div></div><div class=${c(n.previewAndSliders)}><calcite-color-picker-swatch class=${c(n.preview)} .color=${z} .scale=${this.alphaChannel ? "l" : this.scale}></calcite-color-picker-swatch><div class=${c(n.sliders)}><div class=${c(n.controlAndScope)}><canvas class=${c({ [n.slider]: !0, [n.hueSlider]: !0 })} @pointerdown=${this.handleHueSliderPointerDown} ${v(this.initHueSlider)}></canvas><div .ariaLabel=${r.hue} .ariaValueMax=${p.h} aria-valuemin=0 .ariaValueNow=${t?.round().hue() || g.round().hue()} class=${c({ [n.scope]: !0, [n.hueScope]: !0 })} @keydown=${this.handleHueScopeKeyDown} role=slider style=${x({
|
|
513
514
|
top: `${ie}px`,
|
|
514
515
|
left: `${te}px`
|
|
515
|
-
})} tabindex=0 ${v(this.storeHueScope)}></div></div>${h ? u`<div class=${c(n.controlAndScope)}><canvas class=${c({ [n.slider]: !0, [n.opacitySlider]: !0 })} @pointerdown=${this.handleOpacitySliderPointerDown} ${v(this.initOpacitySlider)}></canvas><div .ariaLabel=${r.opacity} .ariaValueMax=${y.max} .ariaValueMin=${y.min} .ariaValueNow=${(t || g).round().alpha()} class=${c({ [n.scope]: !0, [n.opacityScope]: !0 })} @keydown=${this.handleOpacityScopeKeyDown} role=slider style=${
|
|
516
|
+
})} tabindex=0 ${v(this.storeHueScope)}></div></div>${h ? u`<div class=${c(n.controlAndScope)}><canvas class=${c({ [n.slider]: !0, [n.opacitySlider]: !0 })} @pointerdown=${this.handleOpacitySliderPointerDown} ${v(this.initOpacitySlider)}></canvas><div .ariaLabel=${r.opacity} .ariaValueMax=${y.max} .ariaValueMin=${y.min} .ariaValueNow=${(t || g).round().alpha()} class=${c({ [n.scope]: !0, [n.opacityScope]: !0 })} @keydown=${this.handleOpacityScopeKeyDown} role=slider style=${x({
|
|
516
517
|
top: `${ae}px`,
|
|
517
518
|
left: `${oe}px`
|
|
518
519
|
})} tabindex=0 ${v(this.storeOpacityScope)}></div></div>` : null}</div></div>${s && e ? null : u`<div class=${c({
|
|
@@ -525,17 +526,17 @@ class Ae extends pe {
|
|
|
525
526
|
}
|
|
526
527
|
renderChannelsTabTitle(e) {
|
|
527
528
|
const { channelMode: t, messages: i } = this, o = e === t, a = e === "rgb" ? i.rgb : i.hsv;
|
|
528
|
-
return I(e, u`<calcite-tab-title class=${c(n.colorMode)} data-color-mode=${e ??
|
|
529
|
+
return I(e, u`<calcite-tab-title class=${c(n.colorMode)} data-color-mode=${e ?? $} @calciteTabsActivate=${this.handleTabActivate} .selected=${o}>${a}</calcite-tab-title>`);
|
|
529
530
|
}
|
|
530
531
|
renderChannelsTab(e) {
|
|
531
|
-
const { isClearable: t, channelMode: i, channels: o, messages: a, alphaChannel: s } = this, l = e === i, h = e === "rgb" ? [a.red, a.green, a.blue] : [a.hue, a.saturation, a.value], d =
|
|
532
|
+
const { isClearable: t, channelMode: i, channels: o, messages: a, alphaChannel: s } = this, l = e === i, h = e === "rgb" ? [a.red, a.green, a.blue] : [a.hue, a.saturation, a.value], d = ce(this.el), C = s ? o : o.slice(0, 3);
|
|
532
533
|
return I(e, u`<calcite-tab class=${c(n.control)} .selected=${l}><div class=${c(n.channels)} dir=ltr>${C.map((f, m) => {
|
|
533
534
|
const w = m === 3;
|
|
534
535
|
return w && (f = t && !f ? f : R(f)), this.renderChannel(f, m, h[m], d, w ? "%" : "");
|
|
535
536
|
})}</div></calcite-tab>`);
|
|
536
537
|
}
|
|
537
538
|
renderChannel(e, t, i, o, a) {
|
|
538
|
-
return I(t, u`<calcite-input-number class=${c(n.channel)} data-channel-index=${t ??
|
|
539
|
+
return I(t, u`<calcite-input-number class=${c(n.channel)} data-channel-index=${t ?? $} dir=${o ?? $} .label=${i} lang=${this.messages._lang ?? $} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.handleKeyDown} @calciteInputNumberChange=${this.handleChannelChange} @calciteInputNumberInput=${this.handleChannelInput} @calciteInternalInputNumberBlur=${this.handleChannelBlur} @calciteInternalInputNumberFocus=${this.handleChannelFocus} .scale=${this.scale === "l" ? "m" : "s"} style=${x({
|
|
539
540
|
marginLeft: t > 0 && !(this.scale === "s" && this.alphaChannel && t === 3) ? "-1px" : ""
|
|
540
541
|
})} .suffixText=${a} .value=${e?.toString()}></calcite-input-number>`);
|
|
541
542
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ColorInstance } from 'color';
|
|
2
2
|
export type ColorMode = "rgb" | "hsv";
|
|
3
3
|
export type Channels = [number, number, number, number];
|
|
4
|
-
export type InternalColor =
|
|
4
|
+
export type InternalColor = ColorInstance;
|
|
5
5
|
export type ColorValue = string | RGB | RGBA | HSV | HSVA | HSL | HSLA;
|
|
6
6
|
export interface RGB {
|
|
7
7
|
r: number;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as Color } from 'color';
|
|
2
1
|
export declare const CSS: {
|
|
3
2
|
channel: string;
|
|
4
3
|
channels: string;
|
|
@@ -31,7 +30,7 @@ export declare const CSS: {
|
|
|
31
30
|
sliders: string;
|
|
32
31
|
splitSection: string;
|
|
33
32
|
};
|
|
34
|
-
export declare const DEFAULT_COLOR:
|
|
33
|
+
export declare const DEFAULT_COLOR: import('color').ColorInstance;
|
|
35
34
|
export declare const DEFAULT_STORAGE_KEY_PREFIX = "calcite-color-";
|
|
36
35
|
export declare const RGB_LIMITS: {
|
|
37
36
|
r: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="../../index.d.ts" />
|
|
2
|
-
import {
|
|
2
|
+
import { ColorInstance } from 'color';
|
|
3
3
|
import { PropertyValues } from 'lit';
|
|
4
4
|
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
|
|
5
5
|
import { Scale } from '../interfaces';
|