@esri/calcite-components 3.2.0-next.9 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/THIRD-PARTY-LICENSES.md +64 -64
- package/dist/calcite/{FPXWKVFR.js → 2VWSWHUO.js} +2 -2
- package/dist/calcite/{ZUEC62JH.js → 2XJXDX35.js} +2 -2
- package/dist/calcite/{XGAHDOC4.js → 2ZPYAPUV.js} +1 -1
- package/dist/calcite/33LF6V2F.js +4 -0
- package/dist/calcite/{U6QYB4Y6.js → 3YMJIQXL.js} +1 -1
- package/dist/calcite/{W5LPGZ3Z.js → 4KW4L2NG.js} +2 -2
- package/dist/calcite/4LKLXJQ3.js +4 -0
- package/dist/calcite/{YFKXZTY6.js → 4LWRPTS6.js} +1 -1
- package/dist/calcite/{VWK4AMFR.js → 4LYUPSQL.js} +1 -1
- package/dist/calcite/4PW5TCQQ.js +4 -0
- package/dist/calcite/4X4WSYXE.js +4 -0
- package/dist/calcite/{RPHBZQXS.js → 4ZUPNG3R.js} +2 -2
- package/dist/calcite/57JX5UY5.js +4 -0
- package/dist/calcite/5ED2MDFW.js +4 -0
- package/dist/calcite/5EXDVQNV.js +4 -0
- package/dist/calcite/5QTBLU5A.js +4 -0
- package/dist/calcite/{7NWYY7VF.js → 5W7APHDH.js} +1 -1
- package/dist/calcite/{XMPXZG7Y.js → 5Z5PVQME.js} +2 -2
- package/dist/calcite/{RQSQFD5Q.js → 5ZIDO3WK.js} +1 -1
- package/dist/calcite/{UBNWJ6V4.js → 6FWOJZJZ.js} +2 -2
- package/dist/calcite/6GGGMC6V.js +4 -0
- package/dist/calcite/6XKL4KIC.js +4 -0
- package/dist/calcite/6YNUUPAM.js +4 -0
- package/dist/calcite/724E4DCX.js +4 -0
- package/dist/calcite/7F2T2TZB.js +4 -0
- package/dist/calcite/{OEIGMKGW.js → 7MKN2HK4.js} +2 -2
- package/dist/calcite/7PMKHZBL.js +4 -0
- package/dist/calcite/{EAWKYFN7.js → 7T6XJUIF.js} +2 -2
- package/dist/calcite/A4ZVVA7X.js +4 -0
- package/dist/calcite/A6PXYMIR.js +6 -0
- package/dist/calcite/A7GNZ3QS.js +4 -0
- package/dist/calcite/{YIDURBCW.js → AE3GS3TO.js} +2 -2
- package/dist/calcite/{J3AGLKSW.js → AGGZYDSJ.js} +2 -2
- package/dist/calcite/AIAWPDXP.js +4 -0
- package/dist/calcite/{UT5ISSYC.js → AMVXXWNE.js} +2 -2
- package/dist/calcite/AROVLRPQ.js +4 -0
- package/dist/calcite/ARQGD5AY.js +4 -0
- package/dist/calcite/{VNMFIOYL.js → BIZ5KGJ4.js} +2 -2
- package/dist/calcite/BLX3NI2A.js +4 -0
- package/dist/calcite/BRNVT3TW.js +4 -0
- package/dist/calcite/{GT5J4OHI.js → BTG3ZQHR.js} +1 -1
- package/dist/calcite/{XKNCNSCZ.js → BV4RQJCP.js} +1 -1
- package/dist/calcite/BZLUPMH7.js +4 -0
- package/dist/calcite/C3MM7YIK.js +4 -0
- package/dist/calcite/{DWD6IQXW.js → CBCJC3QL.js} +2 -2
- package/dist/calcite/COBNOPHA.js +4 -0
- package/dist/calcite/{TAOUTUXQ.js → CPPK4EL6.js} +2 -2
- package/dist/calcite/{CA6YA65Y.js → CXROJX6Z.js} +2 -2
- package/dist/calcite/{UROURTHC.js → D6JA6XN7.js} +2 -2
- package/dist/calcite/{F3OCAY5N.js → D6ZFQYBQ.js} +2 -2
- package/dist/calcite/D77FEDVT.js +4 -0
- package/dist/calcite/{KUAH3OMS.js → DHVU76YN.js} +2 -2
- package/dist/calcite/EDY2FMMS.js +4 -0
- package/dist/calcite/EFSPPMQZ.js +4 -0
- package/dist/calcite/EPTT6FOG.js +4 -0
- package/dist/calcite/EQGLLJWZ.js +4 -0
- package/dist/calcite/{NGCC3EHK.js → EYQ4MKP4.js} +2 -2
- package/dist/calcite/{HX5GYTN3.js → F3SWCYBI.js} +2 -2
- package/dist/calcite/{LUQ42CZJ.js → F5HXSDNY.js} +1 -1
- package/dist/calcite/F7IBMSKP.js +4 -0
- package/dist/calcite/FPUJ7TY4.js +4 -0
- package/dist/calcite/FR6DFQYT.js +4 -0
- package/dist/calcite/FRFT53GA.js +4 -0
- package/dist/calcite/{5G4YAFPK.js → FS2CKSAW.js} +2 -2
- package/dist/calcite/{TMMBEPOU.js → FYZ3GMZG.js} +2 -2
- package/dist/calcite/{L4QE7GFA.js → GBG57GTY.js} +2 -2
- package/dist/calcite/GDY6EEGJ.js +4 -0
- package/dist/calcite/GWTJU2YA.js +4 -0
- package/dist/calcite/GXX53HP4.js +4 -0
- package/dist/calcite/H77KJPTL.js +4 -0
- package/dist/calcite/{76RRKNUE.js → HFKSCF6J.js} +2 -2
- package/dist/calcite/HKVYLC2Z.js +4 -0
- package/dist/calcite/{XW7RFXYS.js → HL2RUMZE.js} +2 -2
- package/dist/calcite/HNYHSIBT.js +4 -0
- package/dist/calcite/I6U5TCK6.js +4 -0
- package/dist/calcite/I7DJ6W5P.js +4 -0
- package/dist/calcite/IDBLX5MO.js +4 -0
- package/dist/calcite/IET7BEH6.js +4 -0
- package/dist/calcite/{5PGW66FE.js → IH3P3OTS.js} +2 -2
- package/dist/calcite/{CIMTSQYU.js → IKVKGIXU.js} +2 -2
- package/dist/calcite/J7M4MHMP.js +4 -0
- package/dist/calcite/JHMJHPB7.js +4 -0
- package/dist/calcite/JJ3TNPPG.js +4 -0
- package/dist/calcite/{DMEQLA6I.js → JMNH6CX4.js} +1 -1
- package/dist/calcite/{MEJZAJ3U.js → JNUM2VBP.js} +2 -2
- package/dist/calcite/JO4MYWKA.js +4 -0
- package/dist/calcite/JO5PFPNE.js +4 -0
- package/dist/calcite/JWDWKQES.js +4 -0
- package/dist/calcite/{ME6TN5LW.js → JYXQGOKN.js} +1 -1
- package/dist/calcite/JZ7LMAA4.js +4 -0
- package/dist/calcite/KMO43TL6.js +4 -0
- package/dist/calcite/KNKTO7BF.js +4 -0
- package/dist/calcite/KSX4MO62.js +4 -0
- package/dist/calcite/KTLYNRYB.js +4 -0
- package/dist/calcite/L4MGQ327.js +4 -0
- package/dist/calcite/{6PKSN7BG.js → LFMPTQHL.js} +2 -2
- package/dist/calcite/{BWHAGL6P.js → LKMYJMH6.js} +2 -2
- package/dist/calcite/LPBOLYYY.js +4 -0
- package/dist/calcite/M6O66VHM.js +4 -0
- package/dist/calcite/{OLBTPMKZ.js → MAUHZXDA.js} +1 -1
- package/dist/calcite/MMABND5P.js +4 -0
- package/dist/calcite/{ZDRSJEVB.js → MN7FASIH.js} +2 -2
- package/dist/calcite/N7VCH2CZ.js +4 -0
- package/dist/calcite/{HMF6CMCF.js → NIF4A2CN.js} +2 -2
- package/dist/calcite/NIGVBTMJ.js +4 -0
- package/dist/calcite/{5P5EIPWV.js → NOQW64ZT.js} +2 -2
- package/dist/calcite/NT65MCOL.js +4 -0
- package/dist/calcite/NTYF4BYL.js +4 -0
- package/dist/calcite/{SYD7V3T3.js → O26S5KNA.js} +2 -2
- package/dist/calcite/{VMHMVJDK.js → O3OCUHQX.js} +3 -3
- package/dist/calcite/{JZ6ITVVK.js → OI2S43L6.js} +2 -2
- package/dist/calcite/{YVK3UOG3.js → ORUBBEG4.js} +3 -3
- package/dist/calcite/OTR7EFHA.js +4 -0
- package/dist/calcite/OXIG3UQX.js +4 -0
- package/dist/calcite/OYLV6C5O.js +4 -0
- package/dist/calcite/P7SDV27A.js +4 -0
- package/dist/calcite/PLAT5F6Z.js +4 -0
- package/dist/calcite/{K64ZX4NF.js → PXSMRHY6.js} +2 -2
- package/dist/calcite/{BLKTZDZZ.js → PZWAMXZN.js} +2 -2
- package/dist/calcite/{KARZSWGK.js → Q6D3SXPB.js} +1 -1
- package/dist/calcite/QDUF6PLE.js +4 -0
- package/dist/calcite/{YMRWZPE4.js → R4RIHSHB.js} +1 -1
- package/dist/calcite/{SZNXLFM7.js → RCGAFOG2.js} +2 -2
- package/dist/calcite/{BDUUNLZY.js → RFLLPTVQ.js} +2 -2
- package/dist/calcite/{N4NU45WV.js → RIPCYHYN.js} +2 -2
- package/dist/calcite/RP5ZF7Z4.js +4 -0
- package/dist/calcite/{ZBNBNZ5D.js → S2CYF2UT.js} +1 -1
- package/dist/calcite/S3OWE3OZ.js +4 -0
- package/dist/calcite/SELO3ARM.js +4 -0
- package/dist/calcite/SGERRLJ6.js +4 -0
- package/dist/calcite/SIJ4YJOE.js +4 -0
- package/dist/calcite/SR7WIFHH.js +4 -0
- package/dist/calcite/{L7D3HJ5T.js → TJVULDS6.js} +2 -2
- package/dist/calcite/TNGZVW6J.js +4 -0
- package/dist/calcite/{B6DDQFWD.js → TOJOSNQO.js} +2 -2
- package/dist/calcite/TV4RA23F.js +4 -0
- package/dist/calcite/{ELMUOA6Z.js → TZX6J2CY.js} +2 -2
- package/dist/calcite/{6TAMFRLR.js → U3ASAMB5.js} +2 -2
- package/dist/calcite/UAIMJEKZ.js +4 -0
- package/dist/calcite/UBFWUWDR.js +4 -0
- package/dist/calcite/{XDOL54LL.js → USZDNB3N.js} +1 -1
- package/dist/calcite/UXQGRKED.js +4 -0
- package/dist/calcite/VFQBULT7.js +4 -0
- package/dist/calcite/VGL3WVHU.js +4 -0
- package/dist/calcite/VL3H5XEC.js +4 -0
- package/dist/calcite/{2NOMXELK.js → VMKYGMQE.js} +2 -2
- package/dist/calcite/VS5DUK5N.js +4 -0
- package/dist/calcite/{GSZBQZWQ.js → VZKQBOJM.js} +2 -2
- package/dist/calcite/{HRPCSVT7.js → W27T3IZZ.js} +2 -2
- package/dist/calcite/W5KETLAD.js +4 -0
- package/dist/calcite/WMQZRSQB.js +4 -0
- package/dist/calcite/WOIUHABN.js +4 -0
- package/dist/calcite/{X4RQ67HG.js → WQASJHDE.js} +2 -2
- package/dist/calcite/WQMVF7FU.js +4 -0
- package/dist/calcite/WSN3L2FK.js +4 -0
- package/dist/calcite/XDXZC7TK.js +4 -0
- package/dist/calcite/{N6RZSJYP.js → XEDUET37.js} +2 -2
- package/dist/calcite/{E5PA4TBM.js → XJN5Z3JP.js} +2 -2
- package/dist/calcite/{PRBLEDZO.js → XQ3BDEY3.js} +2 -2
- package/dist/calcite/XRHSWUWV.js +4 -0
- package/dist/calcite/{HONPXEX2.js → YGX5ZVDM.js} +2 -2
- package/dist/calcite/{ZUCDSB5I.js → YMW6PFGO.js} +1 -1
- package/dist/calcite/{PRLQFMNF.js → YPQ2SFHJ.js} +2 -2
- package/dist/calcite/{PQD3MN6H.js → YSRW4TZC.js} +1 -1
- package/dist/calcite/{5OUJXYAL.js → YUCOP2VX.js} +2 -2
- package/dist/calcite/Z7R3MZGO.js +4 -0
- package/dist/calcite/{Y5JLRNSY.js → ZCWNMSG2.js} +2 -2
- package/dist/calcite/{UASJ4BDQ.js → ZJPKOYKY.js} +2 -2
- package/dist/calcite/{YDARVV7R.js → ZKLMMLWH.js} +1 -1
- package/dist/calcite/{EZOHJLFG.js → ZP55CECM.js} +2 -2
- package/dist/calcite/{QNGBTX3D.js → ZXTMKTM3.js} +2 -2
- package/dist/calcite/assets/combobox/t9n/messages.en.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages.json +1 -1
- package/dist/calcite/assets/icon/calendarHeatChart16.json +1 -0
- package/dist/calcite/assets/icon/calendarHeatChart24.json +1 -0
- package/dist/calcite/assets/icon/calendarHeatChart32.json +1 -0
- package/dist/calcite/assets/icon/matrixHeatChart16.json +1 -0
- package/dist/calcite/assets/icon/matrixHeatChart24.json +1 -0
- package/dist/calcite/assets/icon/matrixHeatChart32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodBlend16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodBlend24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodBlend32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodByAttribute16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodByAttribute24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodByAttribute32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToCenter16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToCenter24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToCenter32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToNadir16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToNadir24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToNadir32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodFirst16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodFirst24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodFirst32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLast16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLast24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLast32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLockRaster16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLockRaster24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLockRaster32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMaximum16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMaximum24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMaximum32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMean16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMean24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMean32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMinimum16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMinimum24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMinimum32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNone16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNone24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNone32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNorthWest16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNorthWest24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNorthWest32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSeamline16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSeamline24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSeamline32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSum16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSum24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSum32.json +1 -0
- package/dist/calcite/assets/icon/progressBarChart16.json +1 -0
- package/dist/calcite/assets/icon/progressBarChart24.json +1 -0
- package/dist/calcite/assets/icon/progressBarChart32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualization16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualization24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualization32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOpen16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOpen24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOpen32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlined16F.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlined24F.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlined32F.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedColorLocked16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedColorLocked24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedColorLocked32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpen16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpen24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpen32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked32.json +1 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages.ar.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.bg.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.bs.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ca.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.cs.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.da.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.de.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.el.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.en.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.es.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.et.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.fi.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.fr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.he.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.hr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.hu.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.id.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.it.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ja.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ko.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.lt.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.lv.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.nl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.no.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.pl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ro.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ru.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sk.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sv.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.th.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.tr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.uk.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.vi.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.zh-TW.json +1 -1
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +3 -3
- package/dist/chunks/ExpandToggle.js +7 -42
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +6 -2
- package/dist/chunks/XButton.js +1 -1
- package/dist/chunks/_sortable.js +8 -0
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +2 -7
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +15 -6
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -5
- package/dist/chunks/form.js +2 -2
- 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 +2259 -2254
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +2 -2
- package/dist/chunks/locale.js +17 -59
- 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 +3 -2
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +9 -5
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +5 -1
- package/dist/chunks/time.js +183 -148
- package/dist/chunks/useFocusTrap.js +2 -2
- package/dist/chunks/usePreventDocumentScroll.js +54 -0
- package/dist/chunks/useT9n.js +2 -2
- package/dist/chunks/utils.js +5 -3
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +10 -6
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.d.ts +23 -5
- package/dist/components/calcite-accordion/customElement.js +4 -9
- package/dist/components/calcite-accordion-item/customElement.d.ts +9 -5
- package/dist/components/calcite-accordion-item/customElement.js +10 -15
- package/dist/components/calcite-accordion-item/resources.d.ts +2 -0
- package/dist/components/calcite-action/customElement.d.ts +49 -21
- package/dist/components/calcite-action/customElement.js +3 -12
- package/dist/components/calcite-action-bar/customElement.d.ts +47 -24
- package/dist/components/calcite-action-bar/customElement.js +55 -36
- package/dist/components/calcite-action-bar/resources.d.ts +1 -0
- package/dist/components/calcite-action-bar/utils.d.ts +0 -14
- package/dist/components/calcite-action-group/customElement.d.ts +26 -16
- package/dist/components/calcite-action-group/customElement.js +3 -12
- package/dist/components/calcite-action-menu/customElement.d.ts +31 -9
- package/dist/components/calcite-action-menu/customElement.js +6 -14
- package/dist/components/calcite-action-pad/customElement.d.ts +37 -23
- package/dist/components/calcite-action-pad/customElement.js +11 -12
- package/dist/components/calcite-alert/customElement.d.ts +52 -25
- package/dist/components/calcite-alert/customElement.js +3 -17
- package/dist/components/calcite-autocomplete/customElement.d.ts +62 -31
- package/dist/components/calcite-autocomplete/customElement.js +11 -44
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +7 -3
- package/dist/components/calcite-autocomplete-item/customElement.js +2 -8
- package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +2 -6
- package/dist/components/calcite-avatar/customElement.d.ts +5 -1
- package/dist/components/calcite-avatar/customElement.js +2 -8
- package/dist/components/calcite-block/customElement.d.ts +64 -42
- package/dist/components/calcite-block/customElement.js +6 -19
- package/dist/components/calcite-block-group/customElement.d.ts +17 -7
- package/dist/components/calcite-block-group/customElement.js +6 -23
- package/dist/components/calcite-block-section/customElement.d.ts +17 -15
- package/dist/components/calcite-block-section/customElement.js +3 -15
- package/dist/components/calcite-button/customElement.d.ts +53 -20
- package/dist/components/calcite-button/customElement.js +5 -14
- package/dist/components/calcite-card/customElement.d.ts +37 -25
- package/dist/components/calcite-card/customElement.js +3 -12
- package/dist/components/calcite-card-group/customElement.d.ts +11 -7
- package/dist/components/calcite-card-group/customElement.js +2 -11
- package/dist/components/calcite-carousel/customElement.d.ts +45 -34
- package/dist/components/calcite-carousel/customElement.js +3 -14
- package/dist/components/calcite-carousel-item/customElement.d.ts +6 -2
- package/dist/components/calcite-carousel-item/customElement.js +2 -4
- package/dist/components/calcite-checkbox/customElement.d.ts +24 -6
- package/dist/components/calcite-checkbox/customElement.js +2 -11
- package/dist/components/calcite-chip/customElement.d.ts +51 -20
- package/dist/components/calcite-chip/customElement.js +3 -12
- package/dist/components/calcite-chip-group/customElement.d.ts +13 -7
- package/dist/components/calcite-chip-group/customElement.js +2 -11
- package/dist/components/calcite-color-picker/customElement.d.ts +57 -37
- package/dist/components/calcite-color-picker/customElement.js +24 -49
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +14 -3
- package/dist/components/calcite-color-picker-hex-input/customElement.js +2 -11
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +10 -2
- package/dist/components/calcite-color-picker-swatch/customElement.js +2 -8
- package/dist/components/calcite-combobox/customElement.d.ts +82 -44
- package/dist/components/calcite-combobox/customElement.js +144 -89
- package/dist/components/calcite-combobox/index.d.ts +1 -0
- package/dist/components/calcite-combobox/index.js +1 -0
- package/dist/components/calcite-combobox/resources.d.ts +9 -5
- package/dist/components/calcite-combobox-item/customElement.d.ts +29 -9
- package/dist/components/calcite-combobox-item/customElement.js +14 -13
- package/dist/components/calcite-combobox-item/resources.d.ts +7 -0
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +2 -6
- package/dist/components/calcite-date-picker/customElement.d.ts +40 -25
- package/dist/components/calcite-date-picker/customElement.js +3 -38
- package/dist/components/calcite-date-picker-day/customElement.d.ts +45 -9
- package/dist/components/calcite-date-picker-day/customElement.js +3 -12
- package/dist/components/calcite-date-picker-month/customElement.d.ts +5 -1
- package/dist/components/calcite-date-picker-month/customElement.js +10 -77
- package/dist/components/calcite-date-picker-month-header/customElement.js +3 -23
- package/dist/components/calcite-dialog/customElement.d.ts +86 -43
- package/dist/components/calcite-dialog/customElement.js +39 -95
- package/dist/components/calcite-dialog/resources.d.ts +0 -2
- package/dist/components/calcite-dropdown/customElement.d.ts +37 -15
- package/dist/components/calcite-dropdown/customElement.js +4 -25
- package/dist/components/calcite-dropdown-group/customElement.d.ts +4 -1
- package/dist/components/calcite-dropdown-group/customElement.js +2 -8
- package/dist/components/calcite-dropdown-item/customElement.d.ts +12 -4
- package/dist/components/calcite-dropdown-item/customElement.js +2 -11
- package/dist/components/calcite-fab/customElement.d.ts +35 -7
- package/dist/components/calcite-fab/customElement.js +3 -10
- package/dist/components/calcite-filter/customElement.d.ts +21 -24
- package/dist/components/calcite-filter/customElement.js +4 -22
- package/dist/components/calcite-flow/customElement.d.ts +1 -1
- package/dist/components/calcite-flow/customElement.js +2 -20
- package/dist/components/calcite-flow-item/customElement.d.ts +75 -41
- package/dist/components/calcite-flow-item/customElement.js +3 -28
- package/dist/components/calcite-graph/customElement.js +2 -6
- package/dist/components/calcite-handle/customElement.d.ts +16 -15
- package/dist/components/calcite-handle/customElement.js +3 -12
- package/dist/components/calcite-icon/customElement.d.ts +15 -3
- package/dist/components/calcite-icon/customElement.js +2 -8
- package/dist/components/calcite-inline-editable/customElement.d.ts +30 -19
- package/dist/components/calcite-inline-editable/customElement.js +6 -16
- package/dist/components/calcite-input/customElement.d.ts +57 -24
- package/dist/components/calcite-input/customElement.js +11 -22
- package/dist/components/calcite-input-date-picker/customElement.d.ts +61 -26
- package/dist/components/calcite-input-date-picker/customElement.js +10 -30
- package/dist/components/calcite-input-message/customElement.d.ts +16 -4
- package/dist/components/calcite-input-message/customElement.js +2 -8
- package/dist/components/calcite-input-number/customElement.d.ts +59 -25
- package/dist/components/calcite-input-number/customElement.js +47 -24
- package/dist/components/calcite-input-number/resources.d.ts +3 -0
- package/dist/components/calcite-input-text/customElement.d.ts +44 -22
- package/dist/components/calcite-input-text/customElement.js +8 -19
- package/dist/components/calcite-input-time-picker/customElement.d.ts +84 -28
- package/dist/components/calcite-input-time-picker/customElement.js +648 -522
- package/dist/components/calcite-input-time-picker/index.d.ts +1 -2
- package/dist/components/calcite-input-time-picker/index.js +1 -2
- package/dist/components/calcite-input-time-picker/resources.d.ts +18 -0
- package/dist/components/calcite-input-time-zone/customElement.d.ts +111 -89
- package/dist/components/calcite-input-time-zone/customElement.js +6 -28
- package/dist/components/calcite-label/customElement.d.ts +16 -4
- package/dist/components/calcite-label/customElement.js +2 -8
- package/dist/components/calcite-link/customElement.d.ts +7 -2
- package/dist/components/calcite-link/customElement.js +2 -11
- package/dist/components/calcite-list/customElement.d.ts +53 -41
- package/dist/components/calcite-list/customElement.js +17 -37
- package/dist/components/calcite-list-item/customElement.d.ts +66 -37
- package/dist/components/calcite-list-item/customElement.js +6 -26
- package/dist/components/calcite-list-item-group/customElement.d.ts +8 -3
- package/dist/components/calcite-list-item-group/customElement.js +2 -8
- package/dist/components/calcite-loader/customElement.d.ts +22 -4
- package/dist/components/calcite-loader/customElement.js +2 -13
- package/dist/components/calcite-menu/customElement.d.ts +8 -9
- package/dist/components/calcite-menu/customElement.js +4 -13
- package/dist/components/calcite-menu-item/customElement.d.ts +21 -14
- package/dist/components/calcite-menu-item/customElement.js +3 -12
- package/dist/components/calcite-meter/customElement.d.ts +60 -12
- package/dist/components/calcite-meter/customElement.js +2 -8
- package/dist/components/calcite-modal/customElement.d.ts +58 -27
- package/dist/components/calcite-modal/customElement.js +22 -56
- package/dist/components/calcite-navigation/customElement.d.ts +15 -11
- package/dist/components/calcite-navigation/customElement.js +3 -10
- package/dist/components/calcite-navigation-logo/customElement.d.ts +10 -2
- package/dist/components/calcite-navigation-logo/customElement.js +2 -7
- package/dist/components/calcite-navigation-user/customElement.d.ts +10 -2
- package/dist/components/calcite-navigation-user/customElement.js +2 -7
- package/dist/components/calcite-notice/customElement.d.ts +40 -21
- package/dist/components/calcite-notice/customElement.js +4 -13
- package/dist/components/calcite-option/customElement.d.ts +10 -2
- package/dist/components/calcite-option/customElement.js +2 -8
- package/dist/components/calcite-option-group/customElement.d.ts +6 -2
- package/dist/components/calcite-option-group/customElement.js +2 -8
- package/dist/components/calcite-pagination/customElement.d.ts +36 -21
- package/dist/components/calcite-pagination/customElement.js +3 -19
- package/dist/components/calcite-panel/customElement.d.ts +75 -42
- package/dist/components/calcite-panel/customElement.js +5 -26
- package/dist/components/calcite-panel/resources.d.ts +1 -0
- package/dist/components/calcite-popover/customElement.d.ts +59 -24
- package/dist/components/calcite-popover/customElement.js +3 -18
- package/dist/components/calcite-progress/customElement.d.ts +12 -2
- package/dist/components/calcite-progress/customElement.js +2 -4
- package/dist/components/calcite-radio-button/customElement.d.ts +18 -4
- package/dist/components/calcite-radio-button/customElement.js +6 -15
- package/dist/components/calcite-radio-button/resources.d.ts +1 -0
- package/dist/components/calcite-radio-button-group/customElement.d.ts +23 -9
- package/dist/components/calcite-radio-button-group/customElement.js +3 -12
- package/dist/components/calcite-rating/customElement.d.ts +33 -19
- package/dist/components/calcite-rating/customElement.js +3 -13
- package/dist/components/calcite-scrim/customElement.d.ts +7 -8
- package/dist/components/calcite-scrim/customElement.js +3 -9
- package/dist/components/calcite-segmented-control/customElement.d.ts +33 -12
- package/dist/components/calcite-segmented-control/customElement.js +2 -11
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +10 -2
- package/dist/components/calcite-segmented-control-item/customElement.js +2 -8
- package/dist/components/calcite-select/customElement.d.ts +23 -10
- package/dist/components/calcite-select/customElement.js +2 -11
- package/dist/components/calcite-sheet/customElement.d.ts +45 -18
- package/dist/components/calcite-sheet/customElement.js +40 -58
- package/dist/components/calcite-sheet/resources.d.ts +0 -2
- package/dist/components/calcite-shell/customElement.d.ts +17 -13
- package/dist/components/calcite-shell/customElement.js +7 -8
- package/dist/components/calcite-shell-center-row/customElement.d.ts +17 -5
- package/dist/components/calcite-shell-center-row/customElement.js +2 -8
- package/dist/components/calcite-shell-panel/customElement.d.ts +28 -14
- package/dist/components/calcite-shell-panel/customElement.js +156 -204
- package/dist/components/calcite-shell-panel/index.d.ts +1 -0
- package/dist/components/calcite-shell-panel/index.js +1 -0
- package/dist/components/calcite-shell-panel/interfaces.d.ts +8 -0
- package/dist/components/calcite-shell-panel/resources.d.ts +4 -1
- package/dist/components/calcite-slider/customElement.d.ts +73 -16
- package/dist/components/calcite-slider/customElement.js +2 -69
- package/dist/components/calcite-sort-handle/customElement.d.ts +39 -30
- package/dist/components/calcite-sort-handle/customElement.js +4 -15
- package/dist/components/calcite-sortable-list/customElement.d.ts +22 -6
- package/dist/components/calcite-sortable-list/customElement.js +2 -8
- package/dist/components/calcite-split-button/customElement.d.ts +41 -10
- package/dist/components/calcite-split-button/customElement.js +2 -13
- package/dist/components/calcite-stack/customElement.d.ts +10 -6
- package/dist/components/calcite-stack/customElement.js +2 -6
- package/dist/components/calcite-stepper/customElement.d.ts +28 -21
- package/dist/components/calcite-stepper/customElement.js +4 -21
- package/dist/components/calcite-stepper/resources.d.ts +5 -0
- package/dist/components/calcite-stepper-item/customElement.d.ts +29 -14
- package/dist/components/calcite-stepper-item/customElement.js +4 -14
- package/dist/components/calcite-stepper-item/resources.d.ts +1 -0
- package/dist/components/calcite-switch/customElement.d.ts +16 -4
- package/dist/components/calcite-switch/customElement.js +3 -12
- package/dist/components/calcite-tab/customElement.d.ts +3 -1
- package/dist/components/calcite-tab/customElement.js +3 -17
- package/dist/components/calcite-tab-nav/customElement.d.ts +12 -19
- package/dist/components/calcite-tab-nav/customElement.js +14 -25
- package/dist/components/calcite-tab-title/customElement.d.ts +27 -16
- package/dist/components/calcite-tab-title/customElement.js +3 -25
- package/dist/components/calcite-table/customElement.d.ts +62 -33
- package/dist/components/calcite-table/customElement.js +10 -19
- package/dist/components/calcite-table-cell/customElement.d.ts +11 -12
- package/dist/components/calcite-table-cell/customElement.js +3 -12
- package/dist/components/calcite-table-header/customElement.d.ts +10 -11
- package/dist/components/calcite-table-header/customElement.js +3 -12
- package/dist/components/calcite-table-row/customElement.d.ts +14 -5
- package/dist/components/calcite-table-row/customElement.js +36 -25
- package/dist/components/calcite-tabs/customElement.d.ts +22 -6
- package/dist/components/calcite-tabs/customElement.js +2 -13
- package/dist/components/calcite-text-area/customElement.d.ts +45 -25
- package/dist/components/calcite-text-area/customElement.js +33 -31
- package/dist/components/calcite-text-area/resources.d.ts +1 -0
- package/dist/components/calcite-tile/customElement.d.ts +32 -10
- package/dist/components/calcite-tile/customElement.js +2 -11
- package/dist/components/calcite-tile-group/customElement.d.ts +22 -8
- package/dist/components/calcite-tile-group/customElement.js +2 -8
- package/dist/components/calcite-tile-select/customElement.d.ts +34 -8
- package/dist/components/calcite-tile-select/customElement.js +2 -11
- package/dist/components/calcite-tile-select-group/customElement.d.ts +8 -2
- package/dist/components/calcite-tile-select-group/customElement.js +2 -6
- package/dist/components/calcite-time-picker/customElement.d.ts +18 -15
- package/dist/components/calcite-time-picker/customElement.js +25 -23
- package/dist/components/calcite-tip/customElement.d.ts +20 -15
- package/dist/components/calcite-tip/customElement.js +3 -9
- package/dist/components/calcite-tip-group/customElement.d.ts +1 -1
- package/dist/components/calcite-tip-group/customElement.js +1 -5
- package/dist/components/calcite-tip-manager/customElement.d.ts +17 -17
- package/dist/components/calcite-tip-manager/customElement.js +2 -12
- package/dist/components/calcite-tooltip/customElement.d.ts +27 -9
- package/dist/components/calcite-tooltip/customElement.js +2 -15
- package/dist/components/calcite-tree/customElement.d.ts +11 -7
- package/dist/components/calcite-tree/customElement.js +2 -8
- package/dist/components/calcite-tree-item/customElement.d.ts +18 -6
- package/dist/components/calcite-tree-item/customElement.js +2 -15
- package/dist/components/functional/Validation.d.ts +3 -2
- package/dist/controllers/time/time.d.ts +160 -0
- package/dist/controllers/useFocusTrap.d.ts +1 -1
- package/dist/controllers/usePreventDocumentScroll.d.ts +22 -0
- package/dist/controllers/useT9n.d.ts +1 -1
- package/dist/custom-theme/block.d.ts +3 -0
- package/dist/custom-theme/filter.d.ts +17 -0
- package/dist/custom-theme/input-number.d.ts +27 -0
- package/dist/custom-theme/notice.d.ts +3 -0
- package/dist/custom-theme/radio-button-group.d.ts +5 -0
- package/dist/custom-theme/radio-button.d.ts +7 -0
- package/dist/custom-theme/shell-panel.d.ts +11 -6
- package/dist/custom-theme/stepper-item.d.ts +22 -0
- package/dist/custom-theme/stepper.d.ts +8 -0
- package/dist/custom-theme/switch.d.ts +1 -0
- package/dist/custom-theme/time-picker.d.ts +11 -0
- package/dist/docs/api.json +767 -252
- package/dist/docs/docs.json +1079 -513
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +414 -22
- package/dist/docs/vscode.html-custom-data.json +39 -21
- package/dist/docs/web-types.json +792 -361
- package/dist/extras/vscode-data.json +39 -21
- package/dist/index.js +1 -1
- package/dist/loader.js +7 -7
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/dist/utils/dom.d.ts +9 -4
- package/dist/utils/locale.d.ts +1 -3
- package/dist/utils/overflow.d.ts +28 -0
- package/dist/utils/resources.d.ts +2 -0
- package/dist/utils/text.d.ts +7 -0
- package/dist/utils/time.d.ts +22 -24
- package/package.json +18 -14
- package/dist/calcite/23E2D2R3.js +0 -4
- package/dist/calcite/23E2D2R3.js.LEGAL.txt +0 -0
- package/dist/calcite/2BQ2VI6K.js +0 -4
- package/dist/calcite/2BQ2VI6K.js.LEGAL.txt +0 -3
- package/dist/calcite/2JE6OWPB.js +0 -4
- package/dist/calcite/2JE6OWPB.js.LEGAL.txt +0 -3
- package/dist/calcite/2JVGLXH3.js +0 -4
- package/dist/calcite/2JVGLXH3.js.LEGAL.txt +0 -3
- package/dist/calcite/2NOMXELK.js.LEGAL.txt +0 -3
- package/dist/calcite/36FH7AWU.js +0 -4
- package/dist/calcite/36FH7AWU.js.LEGAL.txt +0 -0
- package/dist/calcite/4BGMBXOD.js +0 -4
- package/dist/calcite/4BGMBXOD.js.LEGAL.txt +0 -3
- package/dist/calcite/4EWEUO6Q.js +0 -4
- package/dist/calcite/4EWEUO6Q.js.LEGAL.txt +0 -3
- package/dist/calcite/4KJ5CILV.js +0 -4
- package/dist/calcite/4KJ5CILV.js.LEGAL.txt +0 -0
- package/dist/calcite/4PC3AOIO.js +0 -4
- package/dist/calcite/4PC3AOIO.js.LEGAL.txt +0 -0
- package/dist/calcite/4ZF77VHP.js +0 -4
- package/dist/calcite/4ZF77VHP.js.LEGAL.txt +0 -0
- package/dist/calcite/5ELL365L.js +0 -4
- package/dist/calcite/5ELL365L.js.LEGAL.txt +0 -3
- package/dist/calcite/5G4YAFPK.js.LEGAL.txt +0 -3
- package/dist/calcite/5GBDR75K.js +0 -4
- package/dist/calcite/5GBDR75K.js.LEGAL.txt +0 -3
- package/dist/calcite/5JMGYEZU.js +0 -4
- package/dist/calcite/5JMGYEZU.js.LEGAL.txt +0 -0
- package/dist/calcite/5NBSZ23H.js +0 -4
- package/dist/calcite/5NBSZ23H.js.LEGAL.txt +0 -0
- package/dist/calcite/5OMZ2Q3Y.js +0 -4
- package/dist/calcite/5OMZ2Q3Y.js.LEGAL.txt +0 -3
- package/dist/calcite/5OUJXYAL.js.LEGAL.txt +0 -3
- package/dist/calcite/5P5EIPWV.js.LEGAL.txt +0 -3
- package/dist/calcite/5PGW66FE.js.LEGAL.txt +0 -3
- package/dist/calcite/5TA3HFIJ.js +0 -4
- package/dist/calcite/5TA3HFIJ.js.LEGAL.txt +0 -3
- package/dist/calcite/6K37MYMT.js +0 -4
- package/dist/calcite/6K37MYMT.js.LEGAL.txt +0 -3
- package/dist/calcite/6PKSN7BG.js.LEGAL.txt +0 -8
- package/dist/calcite/6TAMFRLR.js.LEGAL.txt +0 -3
- package/dist/calcite/6VMN5CYO.js +0 -4
- package/dist/calcite/6VMN5CYO.js.LEGAL.txt +0 -3
- package/dist/calcite/74T4RAPI.js +0 -6
- package/dist/calcite/74T4RAPI.js.LEGAL.txt +0 -145
- package/dist/calcite/76RRKNUE.js.LEGAL.txt +0 -3
- package/dist/calcite/7L5D4NIM.js +0 -4
- package/dist/calcite/7L5D4NIM.js.LEGAL.txt +0 -3
- package/dist/calcite/7M4QOWJM.js +0 -4
- package/dist/calcite/7M4QOWJM.js.LEGAL.txt +0 -3
- package/dist/calcite/7NWYY7VF.js.LEGAL.txt +0 -3
- package/dist/calcite/ALP4JNOA.js +0 -4
- package/dist/calcite/ALP4JNOA.js.LEGAL.txt +0 -3
- package/dist/calcite/AS4YQQHN.js +0 -4
- package/dist/calcite/AS4YQQHN.js.LEGAL.txt +0 -3
- package/dist/calcite/AZA6DPP6.js +0 -4
- package/dist/calcite/AZA6DPP6.js.LEGAL.txt +0 -3
- package/dist/calcite/B6DDQFWD.js.LEGAL.txt +0 -3
- package/dist/calcite/B6ODRDRS.js +0 -4
- package/dist/calcite/B6ODRDRS.js.LEGAL.txt +0 -0
- package/dist/calcite/BDUUNLZY.js.LEGAL.txt +0 -3
- package/dist/calcite/BEBIF4DX.js +0 -4
- package/dist/calcite/BEBIF4DX.js.LEGAL.txt +0 -3
- package/dist/calcite/BFI45G22.js +0 -4
- package/dist/calcite/BFI45G22.js.LEGAL.txt +0 -0
- package/dist/calcite/BIA6P4AQ.js +0 -4
- package/dist/calcite/BIA6P4AQ.js.LEGAL.txt +0 -0
- package/dist/calcite/BLKTZDZZ.js.LEGAL.txt +0 -0
- package/dist/calcite/BWHAGL6P.js.LEGAL.txt +0 -3
- package/dist/calcite/CA6YA65Y.js.LEGAL.txt +0 -0
- package/dist/calcite/CIMTSQYU.js.LEGAL.txt +0 -3
- package/dist/calcite/CLELS6OS.js +0 -4
- package/dist/calcite/CLELS6OS.js.LEGAL.txt +0 -3
- package/dist/calcite/CQOHQWE4.js +0 -4
- package/dist/calcite/CQOHQWE4.js.LEGAL.txt +0 -3
- package/dist/calcite/CTKW7PMX.js +0 -4
- package/dist/calcite/CTKW7PMX.js.LEGAL.txt +0 -3
- package/dist/calcite/DKXDAF3R.js +0 -4
- package/dist/calcite/DKXDAF3R.js.LEGAL.txt +0 -3
- package/dist/calcite/DMEQLA6I.js.LEGAL.txt +0 -3
- package/dist/calcite/DWD6IQXW.js.LEGAL.txt +0 -3
- package/dist/calcite/E2FUMM7Q.js +0 -4
- package/dist/calcite/E2FUMM7Q.js.LEGAL.txt +0 -3
- package/dist/calcite/E3MD2CE4.js +0 -4
- package/dist/calcite/E3MD2CE4.js.LEGAL.txt +0 -3
- package/dist/calcite/E5PA4TBM.js.LEGAL.txt +0 -0
- package/dist/calcite/E7FZ6JAM.js +0 -4
- package/dist/calcite/E7FZ6JAM.js.LEGAL.txt +0 -3
- package/dist/calcite/EAWKYFN7.js.LEGAL.txt +0 -3
- package/dist/calcite/EFPG5DKU.js +0 -4
- package/dist/calcite/EFPG5DKU.js.LEGAL.txt +0 -8
- package/dist/calcite/EJW765DT.js +0 -4
- package/dist/calcite/EJW765DT.js.LEGAL.txt +0 -3
- package/dist/calcite/EK3Q6YNI.js +0 -4
- package/dist/calcite/EK3Q6YNI.js.LEGAL.txt +0 -3
- package/dist/calcite/ELMUOA6Z.js.LEGAL.txt +0 -3
- package/dist/calcite/ERI7LM5L.js +0 -4
- package/dist/calcite/ERI7LM5L.js.LEGAL.txt +0 -3
- package/dist/calcite/EZOHJLFG.js.LEGAL.txt +0 -3
- package/dist/calcite/F3OCAY5N.js.LEGAL.txt +0 -3
- package/dist/calcite/FDPJTP5M.js +0 -4
- package/dist/calcite/FDPJTP5M.js.LEGAL.txt +0 -3
- package/dist/calcite/FGDQPZ4X.js +0 -4
- package/dist/calcite/FGDQPZ4X.js.LEGAL.txt +0 -3
- package/dist/calcite/FLJ74JSX.js +0 -4
- package/dist/calcite/FLJ74JSX.js.LEGAL.txt +0 -3
- package/dist/calcite/FPXWKVFR.js.LEGAL.txt +0 -3
- package/dist/calcite/FUONTZUV.js +0 -4
- package/dist/calcite/FUONTZUV.js.LEGAL.txt +0 -0
- package/dist/calcite/G6JG3MWC.js +0 -4
- package/dist/calcite/G6JG3MWC.js.LEGAL.txt +0 -0
- package/dist/calcite/G7Z3HD77.js +0 -4
- package/dist/calcite/G7Z3HD77.js.LEGAL.txt +0 -3
- package/dist/calcite/GAU64SV5.js +0 -4
- package/dist/calcite/GAU64SV5.js.LEGAL.txt +0 -3
- package/dist/calcite/GSZBQZWQ.js.LEGAL.txt +0 -3
- package/dist/calcite/GT5J4OHI.js.LEGAL.txt +0 -3
- package/dist/calcite/GVCZQ5TH.js +0 -4
- package/dist/calcite/GVCZQ5TH.js.LEGAL.txt +0 -3
- package/dist/calcite/GW75RHDD.js +0 -4
- package/dist/calcite/GW75RHDD.js.LEGAL.txt +0 -3
- package/dist/calcite/HEMJZHTB.js +0 -4
- package/dist/calcite/HEMJZHTB.js.LEGAL.txt +0 -0
- package/dist/calcite/HGBTVXCN.js +0 -4
- package/dist/calcite/HGBTVXCN.js.LEGAL.txt +0 -0
- package/dist/calcite/HMF6CMCF.js.LEGAL.txt +0 -3
- package/dist/calcite/HN4HD5C5.js +0 -4
- package/dist/calcite/HN4HD5C5.js.LEGAL.txt +0 -3
- package/dist/calcite/HONPXEX2.js.LEGAL.txt +0 -8
- package/dist/calcite/HRPCSVT7.js.LEGAL.txt +0 -3
- package/dist/calcite/HX5GYTN3.js.LEGAL.txt +0 -3
- package/dist/calcite/IIBAID4E.js +0 -4
- package/dist/calcite/IIBAID4E.js.LEGAL.txt +0 -3
- package/dist/calcite/IJIVFGDI.js +0 -4
- package/dist/calcite/IJIVFGDI.js.LEGAL.txt +0 -0
- package/dist/calcite/IKTQRBNH.js +0 -4
- package/dist/calcite/IKTQRBNH.js.LEGAL.txt +0 -0
- package/dist/calcite/IP7R44QH.js +0 -4
- package/dist/calcite/IP7R44QH.js.LEGAL.txt +0 -3
- package/dist/calcite/ISCWHRJE.js +0 -4
- package/dist/calcite/ISCWHRJE.js.LEGAL.txt +0 -0
- package/dist/calcite/J26UPXWF.js +0 -4
- package/dist/calcite/J26UPXWF.js.LEGAL.txt +0 -0
- package/dist/calcite/J2GV5C45.js +0 -4
- package/dist/calcite/J2GV5C45.js.LEGAL.txt +0 -3
- package/dist/calcite/J3AGLKSW.js.LEGAL.txt +0 -3
- package/dist/calcite/JDH66XE3.js +0 -4
- package/dist/calcite/JDH66XE3.js.LEGAL.txt +0 -0
- package/dist/calcite/JKPHGRQ2.js +0 -4
- package/dist/calcite/JKPHGRQ2.js.LEGAL.txt +0 -0
- package/dist/calcite/JL6MI2MV.js +0 -4
- package/dist/calcite/JL6MI2MV.js.LEGAL.txt +0 -3
- package/dist/calcite/JVMUJCWI.js +0 -4
- package/dist/calcite/JVMUJCWI.js.LEGAL.txt +0 -3
- package/dist/calcite/JW6ZTV5V.js +0 -4
- package/dist/calcite/JW6ZTV5V.js.LEGAL.txt +0 -0
- package/dist/calcite/JZ6ITVVK.js.LEGAL.txt +0 -3
- package/dist/calcite/K47EBDO7.js +0 -4
- package/dist/calcite/K47EBDO7.js.LEGAL.txt +0 -0
- package/dist/calcite/K64ZX4NF.js.LEGAL.txt +0 -3
- package/dist/calcite/KARZSWGK.js.LEGAL.txt +0 -3
- package/dist/calcite/KJHS3DUC.js +0 -4
- package/dist/calcite/KJHS3DUC.js.LEGAL.txt +0 -3
- package/dist/calcite/KQXQIA7X.js +0 -4
- package/dist/calcite/KQXQIA7X.js.LEGAL.txt +0 -0
- package/dist/calcite/KSUBS6I3.js +0 -4
- package/dist/calcite/KSUBS6I3.js.LEGAL.txt +0 -3
- package/dist/calcite/KUAH3OMS.js.LEGAL.txt +0 -0
- package/dist/calcite/KWGSRKB2.js +0 -4
- package/dist/calcite/KWGSRKB2.js.LEGAL.txt +0 -3
- package/dist/calcite/L2QV7BEF.js +0 -4
- package/dist/calcite/L2QV7BEF.js.LEGAL.txt +0 -0
- package/dist/calcite/L4QE7GFA.js.LEGAL.txt +0 -3
- package/dist/calcite/L7D3HJ5T.js.LEGAL.txt +0 -3
- package/dist/calcite/LD7PCMLJ.js +0 -4
- package/dist/calcite/LD7PCMLJ.js.LEGAL.txt +0 -3
- package/dist/calcite/LDRFWT2S.js +0 -4
- package/dist/calcite/LDRFWT2S.js.LEGAL.txt +0 -3
- package/dist/calcite/LKGOEZ2G.js +0 -4
- package/dist/calcite/LKGOEZ2G.js.LEGAL.txt +0 -3
- package/dist/calcite/LUQ42CZJ.js.LEGAL.txt +0 -0
- package/dist/calcite/LW2DCXAC.js +0 -4
- package/dist/calcite/LW2DCXAC.js.LEGAL.txt +0 -0
- package/dist/calcite/LWVUNKYN.js +0 -4
- package/dist/calcite/LWVUNKYN.js.LEGAL.txt +0 -3
- package/dist/calcite/M7REQKYB.js +0 -4
- package/dist/calcite/M7REQKYB.js.LEGAL.txt +0 -3
- package/dist/calcite/ME6TN5LW.js.LEGAL.txt +0 -3
- package/dist/calcite/MEJZAJ3U.js.LEGAL.txt +0 -3
- package/dist/calcite/MJX4LXXP.js +0 -4
- package/dist/calcite/MJX4LXXP.js.LEGAL.txt +0 -3
- package/dist/calcite/MSQXBFZL.js +0 -4
- package/dist/calcite/MSQXBFZL.js.LEGAL.txt +0 -0
- package/dist/calcite/N2AYACQ5.js +0 -4
- package/dist/calcite/N2AYACQ5.js.LEGAL.txt +0 -0
- package/dist/calcite/N4NU45WV.js.LEGAL.txt +0 -3
- package/dist/calcite/N6RZSJYP.js.LEGAL.txt +0 -3
- package/dist/calcite/NDMJCJAY.js +0 -4
- package/dist/calcite/NDMJCJAY.js.LEGAL.txt +0 -3
- package/dist/calcite/NGCC3EHK.js.LEGAL.txt +0 -3
- package/dist/calcite/NM6R3HQT.js +0 -4
- package/dist/calcite/NM6R3HQT.js.LEGAL.txt +0 -0
- package/dist/calcite/NPO4ZXU4.js +0 -4
- package/dist/calcite/NPO4ZXU4.js.LEGAL.txt +0 -0
- package/dist/calcite/OAPBTJYQ.js +0 -4
- package/dist/calcite/OAPBTJYQ.js.LEGAL.txt +0 -3
- package/dist/calcite/ODCDBZNR.js +0 -4
- package/dist/calcite/ODCDBZNR.js.LEGAL.txt +0 -3
- package/dist/calcite/OEIGMKGW.js.LEGAL.txt +0 -3
- package/dist/calcite/OIUYUD4H.js +0 -4
- package/dist/calcite/OIUYUD4H.js.LEGAL.txt +0 -3
- package/dist/calcite/OLBTPMKZ.js.LEGAL.txt +0 -3
- package/dist/calcite/OMDDQNWC.js +0 -4
- package/dist/calcite/OMDDQNWC.js.LEGAL.txt +0 -3
- package/dist/calcite/OQU6WOZ5.js +0 -4
- package/dist/calcite/OQU6WOZ5.js.LEGAL.txt +0 -3
- package/dist/calcite/P2D57SGT.js +0 -4
- package/dist/calcite/P2D57SGT.js.LEGAL.txt +0 -3
- package/dist/calcite/P3UF244B.js +0 -4
- package/dist/calcite/P3UF244B.js.LEGAL.txt +0 -0
- package/dist/calcite/PD62EFQX.js +0 -4
- package/dist/calcite/PD62EFQX.js.LEGAL.txt +0 -0
- package/dist/calcite/PEUXTOEM.js +0 -4
- package/dist/calcite/PEUXTOEM.js.LEGAL.txt +0 -0
- package/dist/calcite/POX7HYZI.js +0 -4
- package/dist/calcite/POX7HYZI.js.LEGAL.txt +0 -0
- package/dist/calcite/PQD3MN6H.js.LEGAL.txt +0 -12
- package/dist/calcite/PRBLEDZO.js.LEGAL.txt +0 -3
- package/dist/calcite/PRLORPU7.js +0 -4
- package/dist/calcite/PRLORPU7.js.LEGAL.txt +0 -3
- package/dist/calcite/PRLQFMNF.js.LEGAL.txt +0 -3
- package/dist/calcite/PVIFFMKF.js +0 -4
- package/dist/calcite/PVIFFMKF.js.LEGAL.txt +0 -3
- package/dist/calcite/PXFQEOMU.js +0 -4
- package/dist/calcite/PXFQEOMU.js.LEGAL.txt +0 -3
- package/dist/calcite/PXV5QWJ4.js +0 -4
- package/dist/calcite/PXV5QWJ4.js.LEGAL.txt +0 -0
- package/dist/calcite/PYYBDBKI.js +0 -4
- package/dist/calcite/PYYBDBKI.js.LEGAL.txt +0 -0
- package/dist/calcite/Q7OT47PN.js +0 -4
- package/dist/calcite/Q7OT47PN.js.LEGAL.txt +0 -3
- package/dist/calcite/QEWIYGGJ.js +0 -4
- package/dist/calcite/QEWIYGGJ.js.LEGAL.txt +0 -0
- package/dist/calcite/QNGBTX3D.js.LEGAL.txt +0 -3
- package/dist/calcite/QQDACQC3.js +0 -4
- package/dist/calcite/QQDACQC3.js.LEGAL.txt +0 -3
- package/dist/calcite/QXN44LBP.js +0 -4
- package/dist/calcite/QXN44LBP.js.LEGAL.txt +0 -3
- package/dist/calcite/RADC6NKG.js +0 -4
- package/dist/calcite/RADC6NKG.js.LEGAL.txt +0 -3
- package/dist/calcite/RH7HXNXF.js +0 -4
- package/dist/calcite/RH7HXNXF.js.LEGAL.txt +0 -3
- package/dist/calcite/RHHOE7NU.js +0 -4
- package/dist/calcite/RHHOE7NU.js.LEGAL.txt +0 -0
- package/dist/calcite/RHWYPLKB.js +0 -4
- package/dist/calcite/RHWYPLKB.js.LEGAL.txt +0 -3
- package/dist/calcite/RN4BVOD6.js +0 -4
- package/dist/calcite/RN4BVOD6.js.LEGAL.txt +0 -0
- package/dist/calcite/RPHBZQXS.js.LEGAL.txt +0 -3
- package/dist/calcite/RQSQFD5Q.js.LEGAL.txt +0 -3
- package/dist/calcite/RSETZ22U.js +0 -4
- package/dist/calcite/RSETZ22U.js.LEGAL.txt +0 -0
- package/dist/calcite/RTEW7H7Y.js +0 -4
- package/dist/calcite/RTEW7H7Y.js.LEGAL.txt +0 -3
- package/dist/calcite/S4LLAJCJ.js +0 -4
- package/dist/calcite/S4LLAJCJ.js.LEGAL.txt +0 -3
- package/dist/calcite/SD4E377H.js +0 -4
- package/dist/calcite/SD4E377H.js.LEGAL.txt +0 -0
- package/dist/calcite/SKMUEEVI.js +0 -4
- package/dist/calcite/SKMUEEVI.js.LEGAL.txt +0 -0
- package/dist/calcite/SL2IC3N7.js +0 -4
- package/dist/calcite/SL2IC3N7.js.LEGAL.txt +0 -3
- package/dist/calcite/SLSPWS2E.js +0 -4
- package/dist/calcite/SLSPWS2E.js.LEGAL.txt +0 -3
- package/dist/calcite/SYD7V3T3.js.LEGAL.txt +0 -3
- package/dist/calcite/SZNXLFM7.js.LEGAL.txt +0 -3
- package/dist/calcite/T4J4PTN5.js +0 -4
- package/dist/calcite/T4J4PTN5.js.LEGAL.txt +0 -0
- package/dist/calcite/TAOUTUXQ.js.LEGAL.txt +0 -0
- package/dist/calcite/TEU6RWE4.js +0 -4
- package/dist/calcite/TEU6RWE4.js.LEGAL.txt +0 -3
- package/dist/calcite/TJKAQE4P.js +0 -4
- package/dist/calcite/TJKAQE4P.js.LEGAL.txt +0 -0
- package/dist/calcite/TKBJS5F7.js +0 -4
- package/dist/calcite/TKBJS5F7.js.LEGAL.txt +0 -0
- package/dist/calcite/TM5PAPEN.js +0 -4
- package/dist/calcite/TM5PAPEN.js.LEGAL.txt +0 -0
- package/dist/calcite/TMMBEPOU.js.LEGAL.txt +0 -3
- package/dist/calcite/TMX3VA4P.js +0 -4
- package/dist/calcite/TMX3VA4P.js.LEGAL.txt +0 -3
- package/dist/calcite/TZLMDIM4.js +0 -4
- package/dist/calcite/TZLMDIM4.js.LEGAL.txt +0 -3
- package/dist/calcite/U6QYB4Y6.js.LEGAL.txt +0 -0
- package/dist/calcite/U7KIKT63.js +0 -4
- package/dist/calcite/U7KIKT63.js.LEGAL.txt +0 -0
- package/dist/calcite/UASJ4BDQ.js.LEGAL.txt +0 -3
- package/dist/calcite/UBNWJ6V4.js.LEGAL.txt +0 -3
- package/dist/calcite/UFNDM57S.js +0 -4
- package/dist/calcite/UFNDM57S.js.LEGAL.txt +0 -0
- package/dist/calcite/UROURTHC.js.LEGAL.txt +0 -3
- package/dist/calcite/UT5ISSYC.js.LEGAL.txt +0 -3
- package/dist/calcite/UUKFUQ6I.js +0 -4
- package/dist/calcite/UUKFUQ6I.js.LEGAL.txt +0 -3
- package/dist/calcite/UZ5SLOWB.js +0 -4
- package/dist/calcite/UZ5SLOWB.js.LEGAL.txt +0 -3
- package/dist/calcite/V6QZB7BK.js +0 -4
- package/dist/calcite/V6QZB7BK.js.LEGAL.txt +0 -3
- package/dist/calcite/VMHMVJDK.js.LEGAL.txt +0 -17
- package/dist/calcite/VMHWR2MM.js +0 -4
- package/dist/calcite/VMHWR2MM.js.LEGAL.txt +0 -3
- package/dist/calcite/VNMFIOYL.js.LEGAL.txt +0 -3
- package/dist/calcite/VWK4AMFR.js.LEGAL.txt +0 -3
- package/dist/calcite/VWXAGXCL.js +0 -4
- package/dist/calcite/VWXAGXCL.js.LEGAL.txt +0 -3
- package/dist/calcite/W3EFY7DT.js +0 -4
- package/dist/calcite/W3EFY7DT.js.LEGAL.txt +0 -3
- package/dist/calcite/W5LPGZ3Z.js.LEGAL.txt +0 -3
- package/dist/calcite/WHU4GIYD.js +0 -4
- package/dist/calcite/WHU4GIYD.js.LEGAL.txt +0 -0
- package/dist/calcite/WJUATVMM.js +0 -4
- package/dist/calcite/WJUATVMM.js.LEGAL.txt +0 -3
- package/dist/calcite/WLLCH7YU.js +0 -4
- package/dist/calcite/WLLCH7YU.js.LEGAL.txt +0 -0
- package/dist/calcite/WMMQFRJ2.js +0 -4
- package/dist/calcite/WMMQFRJ2.js.LEGAL.txt +0 -0
- package/dist/calcite/WQBUS3N7.js +0 -4
- package/dist/calcite/WQBUS3N7.js.LEGAL.txt +0 -3
- package/dist/calcite/X4RQ67HG.js.LEGAL.txt +0 -3
- package/dist/calcite/X7L2KATX.js +0 -4
- package/dist/calcite/X7L2KATX.js.LEGAL.txt +0 -3
- package/dist/calcite/XDOL54LL.js.LEGAL.txt +0 -3
- package/dist/calcite/XGAHDOC4.js.LEGAL.txt +0 -3
- package/dist/calcite/XKNCNSCZ.js.LEGAL.txt +0 -3
- package/dist/calcite/XKWYEWLG.js +0 -4
- package/dist/calcite/XKWYEWLG.js.LEGAL.txt +0 -3
- package/dist/calcite/XMPXZG7Y.js.LEGAL.txt +0 -3
- package/dist/calcite/XUP7BQZ5.js +0 -4
- package/dist/calcite/XUP7BQZ5.js.LEGAL.txt +0 -0
- package/dist/calcite/XW7RFXYS.js.LEGAL.txt +0 -0
- package/dist/calcite/Y4RVNYC5.js +0 -4
- package/dist/calcite/Y4RVNYC5.js.LEGAL.txt +0 -3
- package/dist/calcite/Y4T5NBHZ.js +0 -4
- package/dist/calcite/Y4T5NBHZ.js.LEGAL.txt +0 -3
- package/dist/calcite/Y5JLRNSY.js.LEGAL.txt +0 -7
- package/dist/calcite/YBMQVLKL.js +0 -4
- package/dist/calcite/YBMQVLKL.js.LEGAL.txt +0 -3
- package/dist/calcite/YDARVV7R.js.LEGAL.txt +0 -3
- package/dist/calcite/YEHRHJKU.js +0 -4
- package/dist/calcite/YEHRHJKU.js.LEGAL.txt +0 -3
- package/dist/calcite/YFKXZTY6.js.LEGAL.txt +0 -13
- package/dist/calcite/YIDURBCW.js.LEGAL.txt +0 -15
- package/dist/calcite/YKGFIBSZ.js +0 -4
- package/dist/calcite/YKGFIBSZ.js.LEGAL.txt +0 -0
- package/dist/calcite/YMRWZPE4.js.LEGAL.txt +0 -3
- package/dist/calcite/YVK3UOG3.js.LEGAL.txt +0 -3
- package/dist/calcite/ZBNBNZ5D.js.LEGAL.txt +0 -3
- package/dist/calcite/ZDRSJEVB.js.LEGAL.txt +0 -0
- package/dist/calcite/ZEYHJ2K3.js +0 -4
- package/dist/calcite/ZEYHJ2K3.js.LEGAL.txt +0 -3
- package/dist/calcite/ZIQ6NMM6.js +0 -4
- package/dist/calcite/ZIQ6NMM6.js.LEGAL.txt +0 -3
- package/dist/calcite/ZQXNE2KP.js +0 -4
- package/dist/calcite/ZQXNE2KP.js.LEGAL.txt +0 -0
- package/dist/calcite/ZUCDSB5I.js.LEGAL.txt +0 -3
- package/dist/calcite/ZUEC62JH.js.LEGAL.txt +0 -3
- package/dist/calcite/calcite.esm.js.LEGAL.txt +0 -3
|
@@ -5,17 +5,37 @@ import { InteractiveComponent } from '../../utils/interactive';
|
|
|
5
5
|
import { CarouselItem } from '../calcite-carousel-item/customElement.js';
|
|
6
6
|
import { ArrowType, AutoplayType } from './interfaces';
|
|
7
7
|
|
|
8
|
-
/** @slot
|
|
8
|
+
/** @slot - A slot for adding `calcite-carousel-item`s. */
|
|
9
9
|
export declare class Carousel extends LitElement {
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Specifies how and if the "previous" and "next" arrows are displayed.
|
|
12
|
+
*
|
|
13
|
+
* @default "inline"
|
|
14
|
+
*/
|
|
11
15
|
arrowType: ArrowType;
|
|
12
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* When `true`, the carousel will autoplay and controls will be displayed. When "paused" at time of initialization, the carousel will not autoplay, but controls will be displayed.
|
|
18
|
+
*
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
13
21
|
autoplay: AutoplayType;
|
|
14
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* When `autoplay` is `true`, specifies in milliseconds the length of time to display each Carousel Item.
|
|
24
|
+
*
|
|
25
|
+
* @default 6000
|
|
26
|
+
*/
|
|
15
27
|
autoplayDuration: number;
|
|
16
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* Specifies if the component's controls are positioned absolutely on top of slotted Carousel Items.
|
|
30
|
+
*
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
17
33
|
controlOverlay: boolean;
|
|
18
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
36
|
+
*
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
19
39
|
disabled: boolean;
|
|
20
40
|
/**
|
|
21
41
|
* Accessible name for the component.
|
|
@@ -25,11 +45,24 @@ export declare class Carousel extends LitElement {
|
|
|
25
45
|
label: string;
|
|
26
46
|
/** Use this property to override individual strings used by the component. */
|
|
27
47
|
messageOverrides?: typeof this.messages._overrides;
|
|
28
|
-
/**
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
48
|
+
/** The component's selected `calcite-carousel-item`. */
|
|
49
|
+
readonly selectedItem: HTMLCalciteCarouselItemElement;
|
|
50
|
+
/** Play the carousel. If `autoplay` is not enabled (initialized either to `true` or `"paused"`), these methods will have no effect. */
|
|
51
|
+
play(): Promise<void>;
|
|
52
|
+
/** Sets focus on the component. */
|
|
53
|
+
setFocus(): Promise<void>;
|
|
54
|
+
/** Stop the carousel. If `autoplay` is not enabled (initialized either to `true` or `"paused"`), these methods will have no effect. */
|
|
55
|
+
stop(): Promise<void>;
|
|
56
|
+
/** Fires when the selected `calcite-carousel-item` changes. */
|
|
57
|
+
readonly calciteCarouselChange: TargetedEvent<this, void>;
|
|
58
|
+
/** Fires when the carousel autoplay state pauses due to a user hovering over the component or focusing on the component or slotted content */
|
|
59
|
+
readonly calciteCarouselPause: TargetedEvent<this, void>;
|
|
60
|
+
/** Fires when the carousel autoplay is invoked by the user. */
|
|
61
|
+
readonly calciteCarouselPlay: TargetedEvent<this, void>;
|
|
62
|
+
/** Fires when the carousel autoplay state resumes due to a user no longer hovering over the component or focusing on the component or slotted content */
|
|
63
|
+
readonly calciteCarouselResume: TargetedEvent<this, void>;
|
|
64
|
+
/** Fires when the carousel autoplay state is stopped by a user. */
|
|
65
|
+
readonly calciteCarouselStop: TargetedEvent<this, void>;
|
|
33
66
|
private messages: Partial<{
|
|
34
67
|
previous: string;
|
|
35
68
|
next: string;
|
|
@@ -37,7 +70,7 @@ export declare class Carousel extends LitElement {
|
|
|
37
70
|
pause: string;
|
|
38
71
|
carousel: string;
|
|
39
72
|
carouselItemProgress: string;
|
|
40
|
-
}> & import('@arcgis/
|
|
73
|
+
}> & import('@arcgis/lumina/controllers').T9nMeta<{
|
|
41
74
|
previous: string;
|
|
42
75
|
next: string;
|
|
43
76
|
play: string;
|
|
@@ -45,26 +78,4 @@ export declare class Carousel extends LitElement {
|
|
|
45
78
|
carousel: string;
|
|
46
79
|
carouselItemProgress: string;
|
|
47
80
|
}>;
|
|
48
|
-
/**
|
|
49
|
-
* The component's selected `calcite-carousel-item`.
|
|
50
|
-
*
|
|
51
|
-
* @readonly
|
|
52
|
-
*/
|
|
53
|
-
readonly selectedItem: HTMLCalciteCarouselItemElement;
|
|
54
|
-
/** Play the carousel. If `autoplay` is not enabled (initialized either to `true` or `"paused"`), these methods will have no effect. */
|
|
55
|
-
play(): Promise<void>;
|
|
56
|
-
/** Sets focus on the component. */
|
|
57
|
-
setFocus(): Promise<void>;
|
|
58
|
-
/** Stop the carousel. If `autoplay` is not enabled (initialized either to `true` or `"paused"`), these methods will have no effect. */
|
|
59
|
-
stop(): Promise<void>;
|
|
60
|
-
/** Fires when the selected `calcite-carousel-item` changes. */
|
|
61
|
-
readonly calciteCarouselChange: TargetedEvent<this, undefined>;
|
|
62
|
-
/** Fires when the carousel autoplay state pauses due to a user hovering over the component or focusing on the component or slotted content */
|
|
63
|
-
readonly calciteCarouselPause: TargetedEvent<this, undefined>;
|
|
64
|
-
/** Fires when the carousel autoplay is invoked by the user. */
|
|
65
|
-
readonly calciteCarouselPlay: TargetedEvent<this, undefined>;
|
|
66
|
-
/** Fires when the carousel autoplay state resumes due to a user no longer hovering over the component or focusing on the component or slotted content */
|
|
67
|
-
readonly calciteCarouselResume: TargetedEvent<this, undefined>;
|
|
68
|
-
/** Fires when the carousel autoplay state is stopped by a user. */
|
|
69
|
-
readonly calciteCarouselStop: TargetedEvent<this, undefined>;
|
|
70
81
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0
|
|
3
|
+
v3.2.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit-html/directives/ref.js";
|
|
6
6
|
import { repeat } from "lit-html/directives/repeat.js";
|
|
@@ -81,6 +81,7 @@ class Carousel extends LitElement {
|
|
|
81
81
|
this.slideDurationRemaining = time;
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
|
+
this.messages = useT9n();
|
|
84
85
|
this.direction = "standby";
|
|
85
86
|
this.items = [];
|
|
86
87
|
this.maxItems = centerItemsByBreakpoint.xxsmall;
|
|
@@ -95,7 +96,6 @@ class Carousel extends LitElement {
|
|
|
95
96
|
this.autoplayDuration = DURATION;
|
|
96
97
|
this.controlOverlay = false;
|
|
97
98
|
this.disabled = false;
|
|
98
|
-
this.messages = useT9n();
|
|
99
99
|
this.calciteCarouselChange = createEvent({ cancelable: false });
|
|
100
100
|
this.calciteCarouselPause = createEvent({ cancelable: false });
|
|
101
101
|
this.calciteCarouselPlay = createEvent({ cancelable: false });
|
|
@@ -103,34 +103,27 @@ class Carousel extends LitElement {
|
|
|
103
103
|
this.calciteCarouselStop = createEvent({ cancelable: false });
|
|
104
104
|
}
|
|
105
105
|
static {
|
|
106
|
-
this.properties = { direction: [16, { state: true }], items: [16, { state: true }], maxItems: [16, { state: true }], playing: [16, { state: true }], selectedIndex: [16, { state: true }], slideDurationRemaining: [16, { state: true }], suspendedDueToFocus: [16, { state: true }], suspendedDueToHover: [16, { state: true }], suspendedSlideDurationRemaining: [16, { state: true }], userPreventsSuspend: [16, { state: true }], arrowType: [3, { reflect: true }], autoplay: [3, { reflect: true }], autoplayDuration: [11, { type: Number, reflect: true }], controlOverlay: [7, { reflect: true, type: Boolean }], disabled: [7, { reflect: true, type: Boolean }], label: 1, messageOverrides: [0, { attribute: false }], paused: [5, { type: Boolean }], selectedItem: [0, { attribute: false }] };
|
|
106
|
+
this.properties = { direction: [16, {}, { state: true }], items: [16, {}, { state: true }], maxItems: [16, {}, { state: true }], playing: [16, {}, { state: true }], selectedIndex: [16, {}, { state: true }], slideDurationRemaining: [16, {}, { state: true }], suspendedDueToFocus: [16, {}, { state: true }], suspendedDueToHover: [16, {}, { state: true }], suspendedSlideDurationRemaining: [16, {}, { state: true }], userPreventsSuspend: [16, {}, { state: true }], arrowType: [3, {}, { reflect: true }], autoplay: [3, {}, { reflect: true }], autoplayDuration: [11, {}, { type: Number, reflect: true }], controlOverlay: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], label: 1, messageOverrides: [0, {}, { attribute: false }], paused: [5, {}, { type: Boolean }], selectedItem: [0, {}, { attribute: false }] };
|
|
107
107
|
}
|
|
108
108
|
static {
|
|
109
109
|
this.styles = styles;
|
|
110
110
|
}
|
|
111
|
-
// #endregion
|
|
112
|
-
// #region Public Methods
|
|
113
|
-
/** Play the carousel. If `autoplay` is not enabled (initialized either to `true` or `"paused"`), these methods will have no effect. */
|
|
114
111
|
async play() {
|
|
115
112
|
if (this.playing || this.autoplay !== "" && !this.autoplay && this.autoplay !== "paused") {
|
|
116
113
|
return;
|
|
117
114
|
}
|
|
118
115
|
this.handlePlay(true);
|
|
119
116
|
}
|
|
120
|
-
/** Sets focus on the component. */
|
|
121
117
|
async setFocus() {
|
|
122
118
|
await componentFocusable(this);
|
|
123
119
|
this.container?.focus();
|
|
124
120
|
}
|
|
125
|
-
/** Stop the carousel. If `autoplay` is not enabled (initialized either to `true` or `"paused"`), these methods will have no effect. */
|
|
126
121
|
async stop() {
|
|
127
122
|
if (!this.playing) {
|
|
128
123
|
return;
|
|
129
124
|
}
|
|
130
125
|
this.handlePause(true);
|
|
131
126
|
}
|
|
132
|
-
// #endregion
|
|
133
|
-
// #region Lifecycle
|
|
134
127
|
connectedCallback() {
|
|
135
128
|
super.connectedCallback();
|
|
136
129
|
this.resizeObserver?.observe(this.el);
|
|
@@ -164,8 +157,6 @@ class Carousel extends LitElement {
|
|
|
164
157
|
this.clearIntervals();
|
|
165
158
|
this.resizeObserver?.disconnect();
|
|
166
159
|
}
|
|
167
|
-
// #endregion
|
|
168
|
-
// #region Private Methods
|
|
169
160
|
autoplayWatcher(autoplay) {
|
|
170
161
|
if (!autoplay) {
|
|
171
162
|
this.handlePause(false);
|
|
@@ -412,8 +403,6 @@ class Carousel extends LitElement {
|
|
|
412
403
|
storeItemContainerRef(el) {
|
|
413
404
|
this.itemContainer = el;
|
|
414
405
|
}
|
|
415
|
-
// #endregion
|
|
416
|
-
// #region Rendering
|
|
417
406
|
renderRotationControl() {
|
|
418
407
|
const text = this.playing ? this.messages.pause : this.messages.play;
|
|
419
408
|
const formattedValue = this.slideDurationRemaining * 100;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="../../index.d.ts" />
|
|
2
2
|
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
|
|
3
3
|
|
|
4
|
-
/** @slot
|
|
4
|
+
/** @slot - A slot for adding content. */
|
|
5
5
|
export declare class CarouselItem extends LitElement {
|
|
6
6
|
/**
|
|
7
7
|
* Accessible name for the component.
|
|
@@ -9,6 +9,10 @@ export declare class CarouselItem extends LitElement {
|
|
|
9
9
|
* @required
|
|
10
10
|
*/
|
|
11
11
|
label: string;
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* When `true`, the component is selected.
|
|
14
|
+
*
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
13
17
|
selected: boolean;
|
|
14
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0
|
|
3
|
+
v3.2.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { html } from "lit-html";
|
|
6
6
|
import { LitElement, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
@@ -18,13 +18,11 @@ class CarouselItem extends LitElement {
|
|
|
18
18
|
this.selected = false;
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.properties = { label: 1, selected: [7, { reflect: true, type: Boolean }] };
|
|
21
|
+
this.properties = { label: 1, selected: [7, {}, { reflect: true, type: Boolean }] };
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
24
|
this.styles = styles;
|
|
25
25
|
}
|
|
26
|
-
// #endregion
|
|
27
|
-
// #region Rendering
|
|
28
26
|
render() {
|
|
29
27
|
const id = this.el.id || this.guid;
|
|
30
28
|
setAttribute(this.el, "id", id);
|
|
@@ -7,9 +7,17 @@ import { Scale, Status } from '../interfaces';
|
|
|
7
7
|
import { Label } from '../calcite-label/customElement.js';
|
|
8
8
|
|
|
9
9
|
export declare class Checkbox extends LitElement {
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* When `true`, the component is checked.
|
|
12
|
+
*
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
11
15
|
checked: boolean;
|
|
12
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
18
|
+
*
|
|
19
|
+
* @default false
|
|
20
|
+
*/
|
|
13
21
|
disabled: boolean;
|
|
14
22
|
/**
|
|
15
23
|
* The `id` of the form that will be associated with the component.
|
|
@@ -23,6 +31,7 @@ export declare class Checkbox extends LitElement {
|
|
|
23
31
|
* The state is visual only, and can look different across browsers.
|
|
24
32
|
*
|
|
25
33
|
* @mdn [indeterminate](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes)
|
|
34
|
+
* @default false
|
|
26
35
|
*/
|
|
27
36
|
indeterminate: boolean;
|
|
28
37
|
/** Accessible name for the component. */
|
|
@@ -36,16 +45,25 @@ export declare class Checkbox extends LitElement {
|
|
|
36
45
|
/**
|
|
37
46
|
* When `true` and the component resides in a form,
|
|
38
47
|
* the component must have a value in order for the form to submit.
|
|
48
|
+
*
|
|
49
|
+
* @default false
|
|
39
50
|
*/
|
|
40
51
|
required: boolean;
|
|
41
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* Specifies the size of the component.
|
|
54
|
+
*
|
|
55
|
+
* @default "m"
|
|
56
|
+
*/
|
|
42
57
|
scale: Scale;
|
|
43
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* Specifies the status of the input field, which determines message and icons.
|
|
60
|
+
*
|
|
61
|
+
* @default "idle"
|
|
62
|
+
*/
|
|
44
63
|
status: Status;
|
|
45
64
|
/**
|
|
46
65
|
* The current validation state of the component.
|
|
47
66
|
*
|
|
48
|
-
* @readonly
|
|
49
67
|
* @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
50
68
|
*/
|
|
51
69
|
readonly validity: MutableValidityState;
|
|
@@ -54,5 +72,5 @@ export declare class Checkbox extends LitElement {
|
|
|
54
72
|
/** Sets focus on the component. */
|
|
55
73
|
setFocus(): Promise<void>;
|
|
56
74
|
/** Fires when the component's `checked` status changes. */
|
|
57
|
-
readonly calciteCheckboxChange: TargetedEvent<this,
|
|
75
|
+
readonly calciteCheckboxChange: TargetedEvent<this, void>;
|
|
58
76
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0
|
|
3
|
+
v3.2.0 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { svg, html } from "lit-html";
|
|
6
6
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
@@ -18,8 +18,6 @@ const CSS = {
|
|
|
18
18
|
};
|
|
19
19
|
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .check-svg,:host([scale=s]) .toggle{inline-size:var(--calcite-checkbox-size, .75rem);block-size:var(--calcite-checkbox-size, .75rem)}:host([scale=m]) .check-svg,:host([scale=m]) .toggle{inline-size:var(--calcite-checkbox-size, var(--calcite-font-size--1));block-size:var(--calcite-checkbox-size, var(--calcite-font-size--1))}:host([scale=l]) .check-svg,:host([scale=l]) .toggle{inline-size:var(--calcite-checkbox-size, 1rem);block-size:var(--calcite-checkbox-size, 1rem)}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;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;box-shadow:inset 0 0 0 1px var(--calcite-checkbox-border-color, var(--calcite-color-border-input));color:var(--calcite-checkbox-icon-color, var(--calcite-color-background))}:host([status=invalid]:not([checked])) .check-svg{box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger)}:host([status=invalid]:not([checked])) .toggle:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-color-brand);box-shadow:inset 0 0 0 1px var(--calcite-color-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-checkbox-border-color-hover, var(--calcite-color-brand))}.toggle{position:relative;outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{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))))}.toggle:after,.toggle:before{inset-block-start:50%;inset-inline-start:50%;min-block-size:1.5rem;min-inline-size:1.5rem;position:absolute}.toggle:not(.calcite--rtl):after{content:"";transform:translate(-50%) translateY(-50%)}.toggle.calcite--rtl:before{content:"";transform:translate(50%) translateY(-50%)}@media (forced-colors: active){.check-svg{border:1px solid currentColor}}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
20
20
|
class Checkbox extends LitElement {
|
|
21
|
-
// #endregion
|
|
22
|
-
// #region Lifecycle
|
|
23
21
|
constructor() {
|
|
24
22
|
super();
|
|
25
23
|
this.checkedPath = "M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z";
|
|
@@ -55,14 +53,11 @@ class Checkbox extends LitElement {
|
|
|
55
53
|
this.listen("keydown", this.keyDownHandler);
|
|
56
54
|
}
|
|
57
55
|
static {
|
|
58
|
-
this.properties = { checked: [7, { reflect: true, type: Boolean }], disabled: [7, { reflect: true, type: Boolean }], form: [3, { reflect: true }], hovered: [7, { reflect: true, type: Boolean }], indeterminate: [7, { reflect: true, type: Boolean }], label: 1, name: [3, { reflect: true }], required: [7, { reflect: true, type: Boolean }], scale: [3, { reflect: true }], status: [3, { reflect: true }], validity: [0, { attribute: false }], value: 1 };
|
|
56
|
+
this.properties = { checked: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], hovered: [7, {}, { reflect: true, type: Boolean }], indeterminate: [7, {}, { reflect: true, type: Boolean }], label: 1, name: [3, {}, { reflect: true }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], validity: [0, {}, { attribute: false }], value: 1 };
|
|
59
57
|
}
|
|
60
58
|
static {
|
|
61
59
|
this.styles = styles;
|
|
62
60
|
}
|
|
63
|
-
// #endregion
|
|
64
|
-
// #region Public Methods
|
|
65
|
-
/** Sets focus on the component. */
|
|
66
61
|
async setFocus() {
|
|
67
62
|
await componentFocusable(this);
|
|
68
63
|
this.toggleEl.value?.focus();
|
|
@@ -80,8 +75,6 @@ class Checkbox extends LitElement {
|
|
|
80
75
|
disconnectLabel(this);
|
|
81
76
|
disconnectForm(this);
|
|
82
77
|
}
|
|
83
|
-
// #endregion
|
|
84
|
-
// #region Private Methods
|
|
85
78
|
syncHiddenFormInput(input) {
|
|
86
79
|
input.type = "checkbox";
|
|
87
80
|
}
|
|
@@ -111,8 +104,6 @@ class Checkbox extends LitElement {
|
|
|
111
104
|
onToggleFocus() {
|
|
112
105
|
this.calciteInternalCheckboxFocus.emit(true);
|
|
113
106
|
}
|
|
114
|
-
// #endregion
|
|
115
|
-
// #region Rendering
|
|
116
107
|
render() {
|
|
117
108
|
const rtl = getElementDir(this.el) === "rtl";
|
|
118
109
|
return InteractiveContainer({ disabled: this.disabled, children: html`<div .ariaChecked=${this.checked} .ariaLabel=${getLabelText(this)} class=${safeClassMap({
|
|
@@ -7,25 +7,53 @@ import { IconNameOrString } from '../calcite-icon/interfaces';
|
|
|
7
7
|
import { ChipGroup } from '../calcite-chip-group/customElement.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* @slot
|
|
11
|
-
* @slot image - A slot for adding an image.
|
|
10
|
+
* @slot - A slot for adding text.
|
|
11
|
+
* @slot [image] - A slot for adding an image.
|
|
12
12
|
*/
|
|
13
13
|
export declare class Chip extends LitElement {
|
|
14
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the appearance style of the component.
|
|
16
|
+
*
|
|
17
|
+
* @default "solid"
|
|
18
|
+
*/
|
|
15
19
|
appearance: Extract<"outline" | "outline-fill" | "solid", Appearance>;
|
|
16
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* When `true`, a close button is added to the component.
|
|
22
|
+
*
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
17
25
|
closable: boolean;
|
|
18
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* When `true`, hides the component.
|
|
28
|
+
*
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
19
31
|
closed: boolean;
|
|
20
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* When `true`, the component closes when the Delete or Backspace key is pressed while focused.
|
|
34
|
+
*
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
21
37
|
closeOnDelete: boolean;
|
|
22
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
40
|
+
*
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
23
43
|
disabled: boolean;
|
|
24
44
|
/** Specifies an icon to display. */
|
|
25
45
|
icon: IconNameOrString;
|
|
26
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
48
|
+
*
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
27
51
|
iconFlipRtl: boolean;
|
|
28
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* Specifies the kind of the component, which will apply to border and background if applicable.
|
|
54
|
+
*
|
|
55
|
+
* @default "neutral"
|
|
56
|
+
*/
|
|
29
57
|
kind: Extract<"brand" | "inverse" | "neutral", Kind>;
|
|
30
58
|
/**
|
|
31
59
|
* Accessible name for the component.
|
|
@@ -36,25 +64,28 @@ export declare class Chip extends LitElement {
|
|
|
36
64
|
/** Use this property to override individual strings used by the component. */
|
|
37
65
|
messageOverrides?: typeof this.messages._overrides;
|
|
38
66
|
/**
|
|
39
|
-
*
|
|
67
|
+
* Specifies the size of the component. When contained in a parent `calcite-chip-group` inherits the parent's `scale` value.
|
|
40
68
|
*
|
|
41
|
-
* @
|
|
69
|
+
* @default "m"
|
|
42
70
|
*/
|
|
43
|
-
private messages: Partial<{
|
|
44
|
-
dismissLabel: string;
|
|
45
|
-
}> & import('@arcgis/components-controllers').T9nMeta<{
|
|
46
|
-
dismissLabel: string;
|
|
47
|
-
}>;
|
|
48
|
-
/** Specifies the size of the component. When contained in a parent `calcite-chip-group` inherits the parent's `scale` value. */
|
|
49
71
|
scale: Scale;
|
|
50
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* When `true`, the component is selected.
|
|
74
|
+
*
|
|
75
|
+
* @default false
|
|
76
|
+
*/
|
|
51
77
|
selected: boolean;
|
|
52
78
|
/** The component's value. */
|
|
53
79
|
value: any;
|
|
54
80
|
/** Sets focus on the component. */
|
|
55
81
|
setFocus(): Promise<void>;
|
|
56
82
|
/** Fires when the component's close button is selected. */
|
|
57
|
-
readonly calciteChipClose: TargetedEvent<this,
|
|
83
|
+
readonly calciteChipClose: TargetedEvent<this, void>;
|
|
58
84
|
/** Fires when the selected state of the component changes. */
|
|
59
|
-
readonly calciteChipSelect: TargetedEvent<this,
|
|
85
|
+
readonly calciteChipSelect: TargetedEvent<this, void>;
|
|
86
|
+
private messages: Partial<{
|
|
87
|
+
dismissLabel: string;
|
|
88
|
+
}> & import('@arcgis/lumina/controllers').T9nMeta<{
|
|
89
|
+
dismissLabel: string;
|
|
90
|
+
}>;
|
|
60
91
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0
|
|
3
|
+
v3.2.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { isServer, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
@@ -40,12 +40,11 @@ const ICONS = {
|
|
|
40
40
|
};
|
|
41
41
|
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-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}`;
|
|
42
42
|
class Chip extends LitElement {
|
|
43
|
-
// #endregion
|
|
44
|
-
// #region Lifecycle
|
|
45
43
|
constructor() {
|
|
46
44
|
super();
|
|
47
45
|
this.closeButtonEl = createRef();
|
|
48
46
|
this.containerEl = createRef();
|
|
47
|
+
this.messages = useT9n();
|
|
49
48
|
this.hasImage = false;
|
|
50
49
|
this.hasText = false;
|
|
51
50
|
this.appearance = "solid";
|
|
@@ -56,7 +55,6 @@ class Chip extends LitElement {
|
|
|
56
55
|
this.iconFlipRtl = false;
|
|
57
56
|
this.interactive = false;
|
|
58
57
|
this.kind = "neutral";
|
|
59
|
-
this.messages = useT9n();
|
|
60
58
|
this.scale = "m";
|
|
61
59
|
this.selected = false;
|
|
62
60
|
this.selectionMode = "none";
|
|
@@ -69,14 +67,11 @@ class Chip extends LitElement {
|
|
|
69
67
|
this.listen("click", this.clickHandler);
|
|
70
68
|
}
|
|
71
69
|
static {
|
|
72
|
-
this.properties = { hasImage: [16, { state: true }], hasText: [16, { state: true }], appearance: [3, { reflect: true }], closable: [7, { reflect: true, type: Boolean }], closed: [7, { reflect: true, type: Boolean }], closeOnDelete: [7, { reflect: true, type: Boolean }], disabled: [7, { reflect: true, type: Boolean }], icon: [3, { reflect: true }], iconFlipRtl: [7, { reflect: true, type: Boolean }], interactive: [5, { type: Boolean }], kind: [3, { reflect: true }], label: 1, messageOverrides: [0, { attribute: false }], parentChipGroup: [0, { attribute: false }], scale: [3, { reflect: true }], selected: [7, { reflect: true, type: Boolean }], selectionMode: 1, value: 1 };
|
|
70
|
+
this.properties = { hasImage: [16, {}, { state: true }], hasText: [16, {}, { state: true }], appearance: [3, {}, { reflect: true }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], closeOnDelete: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], icon: [3, {}, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], interactive: [5, {}, { type: Boolean }], kind: [3, {}, { reflect: true }], label: 1, messageOverrides: [0, {}, { attribute: false }], parentChipGroup: [0, {}, { attribute: false }], scale: [3, {}, { reflect: true }], selected: [7, {}, { reflect: true, type: Boolean }], selectionMode: 1, value: 1 };
|
|
73
71
|
}
|
|
74
72
|
static {
|
|
75
73
|
this.styles = styles;
|
|
76
74
|
}
|
|
77
|
-
// #endregion
|
|
78
|
-
// #region Public Methods
|
|
79
|
-
/** Sets focus on the component. */
|
|
80
75
|
async setFocus() {
|
|
81
76
|
await componentFocusable(this);
|
|
82
77
|
if (!this.disabled && this.interactive) {
|
|
@@ -103,8 +98,6 @@ class Chip extends LitElement {
|
|
|
103
98
|
this.handleSelectionPropertyChange(this.selected);
|
|
104
99
|
}
|
|
105
100
|
}
|
|
106
|
-
// #endregion
|
|
107
|
-
// #region Private Methods
|
|
108
101
|
watchSelected(selected) {
|
|
109
102
|
if (this.selectionMode === "none") {
|
|
110
103
|
return;
|
|
@@ -178,8 +171,6 @@ class Chip extends LitElement {
|
|
|
178
171
|
this.calciteInternalSyncSelectedChips.emit();
|
|
179
172
|
}
|
|
180
173
|
}
|
|
181
|
-
// #endregion
|
|
182
|
-
// #region Rendering
|
|
183
174
|
renderChipImage() {
|
|
184
175
|
return html`<div class=${safeClassMap(CSS.imageContainer)}><slot name=${SLOTS.image} @slotchange=${this.handleSlotImageChange}></slot></div>`;
|
|
185
176
|
}
|
|
@@ -5,9 +5,13 @@ import { InteractiveComponent } from '../../utils/interactive';
|
|
|
5
5
|
import { Scale, SelectionMode } from '../interfaces';
|
|
6
6
|
import { Chip } from '../calcite-chip/customElement.js';
|
|
7
7
|
|
|
8
|
-
/** @slot
|
|
8
|
+
/** @slot - A slot for adding one or more `calcite-chip`s. */
|
|
9
9
|
export declare class ChipGroup extends LitElement {
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
12
|
+
*
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
11
15
|
disabled: boolean;
|
|
12
16
|
/**
|
|
13
17
|
* Accessible name for the component.
|
|
@@ -15,13 +19,13 @@ export declare class ChipGroup extends LitElement {
|
|
|
15
19
|
* @required
|
|
16
20
|
*/
|
|
17
21
|
label: string;
|
|
18
|
-
/** Specifies the size of the component. Child `calcite-chip`s inherit the component's value. */
|
|
19
|
-
scale: Scale;
|
|
20
22
|
/**
|
|
21
|
-
* Specifies the component's
|
|
23
|
+
* Specifies the size of the component. Child `calcite-chip`s inherit the component's value.
|
|
22
24
|
*
|
|
23
|
-
* @
|
|
25
|
+
* @default "m"
|
|
24
26
|
*/
|
|
27
|
+
scale: Scale;
|
|
28
|
+
/** Specifies the component's selected items. */
|
|
25
29
|
readonly selectedItems: HTMLCalciteChipElement[];
|
|
26
30
|
/**
|
|
27
31
|
* Specifies the selection mode of the component, where:
|
|
@@ -33,10 +37,12 @@ export declare class ChipGroup extends LitElement {
|
|
|
33
37
|
* `"single-persist"` allows one selection and prevents de-selection, and
|
|
34
38
|
*
|
|
35
39
|
* `"none"` does not allow any selections.
|
|
40
|
+
*
|
|
41
|
+
* @default "none"
|
|
36
42
|
*/
|
|
37
43
|
selectionMode: Extract<"multiple" | "single" | "single-persist" | "none", SelectionMode>;
|
|
38
44
|
/** Sets focus on the component's first focusable element. */
|
|
39
45
|
setFocus(): Promise<void>;
|
|
40
46
|
/** Fires when the component's selection changes. */
|
|
41
|
-
readonly calciteChipGroupSelect: TargetedEvent<this,
|
|
47
|
+
readonly calciteChipGroupSelect: TargetedEvent<this, void>;
|
|
42
48
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0
|
|
3
|
+
v3.2.0 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
@@ -11,8 +11,6 @@ import { c as componentFocusable } from "../../chunks/component.js";
|
|
|
11
11
|
import { css } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display: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 ChipGroup extends LitElement {
|
|
14
|
-
// #endregion
|
|
15
|
-
// #region Lifecycle
|
|
16
14
|
constructor() {
|
|
17
15
|
super();
|
|
18
16
|
this.items = [];
|
|
@@ -29,14 +27,11 @@ class ChipGroup extends LitElement {
|
|
|
29
27
|
this.listen("calciteInternalSyncSelectedChips", this.calciteInternalSyncSelectedChips);
|
|
30
28
|
}
|
|
31
29
|
static {
|
|
32
|
-
this.properties = { disabled: [7, { reflect: true, type: Boolean }], label: 1, scale: [3, { reflect: true }], selectedItems: [0, { attribute: false }], selectionMode: [3, { reflect: true }] };
|
|
30
|
+
this.properties = { disabled: [7, {}, { reflect: true, type: Boolean }], label: 1, scale: [3, {}, { reflect: true }], selectedItems: [0, {}, { attribute: false }], selectionMode: [3, {}, { reflect: true }] };
|
|
33
31
|
}
|
|
34
32
|
static {
|
|
35
33
|
this.styles = styles;
|
|
36
34
|
}
|
|
37
|
-
// #endregion
|
|
38
|
-
// #region Public Methods
|
|
39
|
-
/** Sets focus on the component's first focusable element. */
|
|
40
35
|
async setFocus() {
|
|
41
36
|
await componentFocusable(this);
|
|
42
37
|
if (!this.disabled) {
|
|
@@ -51,8 +46,6 @@ class ChipGroup extends LitElement {
|
|
|
51
46
|
updated() {
|
|
52
47
|
updateHostInteraction(this);
|
|
53
48
|
}
|
|
54
|
-
// #endregion
|
|
55
|
-
// #region Private Methods
|
|
56
49
|
calciteInternalChipKeyEventListener(event) {
|
|
57
50
|
if (event.composedPath().includes(this.el)) {
|
|
58
51
|
const interactiveItems = this.items?.filter((el) => !el.disabled);
|
|
@@ -149,8 +142,6 @@ class ChipGroup extends LitElement {
|
|
|
149
142
|
this.calciteChipGroupSelect.emit();
|
|
150
143
|
}
|
|
151
144
|
}
|
|
152
|
-
// #endregion
|
|
153
|
-
// #region Rendering
|
|
154
145
|
render() {
|
|
155
146
|
const role = this.selectionMode === "none" || this.selectionMode === "multiple" ? "group" : "radiogroup";
|
|
156
147
|
const { disabled } = this;
|