@esri/calcite-components 3.2.0-next.8 → 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/{5GIPQRAP.js → 2VWSWHUO.js} +2 -2
- package/dist/calcite/{57TKKIMA.js → 2XJXDX35.js} +2 -2
- package/dist/calcite/{BWI7EASN.js → 2ZPYAPUV.js} +1 -1
- package/dist/calcite/33LF6V2F.js +4 -0
- package/dist/calcite/{RPYGF6DR.js → 3YMJIQXL.js} +1 -1
- package/dist/calcite/{RXUW2ZPM.js → 4KW4L2NG.js} +2 -2
- package/dist/calcite/4LKLXJQ3.js +4 -0
- package/dist/calcite/{X5TBQPJS.js → 4LWRPTS6.js} +1 -1
- package/dist/calcite/{25YKJDJU.js → 4LYUPSQL.js} +1 -1
- package/dist/calcite/4PW5TCQQ.js +4 -0
- package/dist/calcite/4X4WSYXE.js +4 -0
- package/dist/calcite/{PX53SOKE.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/{ARJFZBQD.js → 5W7APHDH.js} +1 -1
- package/dist/calcite/{CRR5THX6.js → 5Z5PVQME.js} +2 -2
- package/dist/calcite/{KZDTHGML.js → 5ZIDO3WK.js} +1 -1
- package/dist/calcite/{MKOXCM2U.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/{DDVGJ3AI.js → 7MKN2HK4.js} +2 -2
- package/dist/calcite/7PMKHZBL.js +4 -0
- package/dist/calcite/{PKGKHGZV.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/{F4JN4HLT.js → AE3GS3TO.js} +2 -2
- package/dist/calcite/{WFVAIMKJ.js → AGGZYDSJ.js} +2 -2
- package/dist/calcite/AIAWPDXP.js +4 -0
- package/dist/calcite/{4MIR3MCT.js → AMVXXWNE.js} +2 -2
- package/dist/calcite/AROVLRPQ.js +4 -0
- package/dist/calcite/ARQGD5AY.js +4 -0
- package/dist/calcite/{ISUO3HZG.js → BIZ5KGJ4.js} +2 -2
- package/dist/calcite/BLX3NI2A.js +4 -0
- package/dist/calcite/BRNVT3TW.js +4 -0
- package/dist/calcite/{3LVKLTBP.js → BTG3ZQHR.js} +1 -1
- package/dist/calcite/{K5N57473.js → BV4RQJCP.js} +1 -1
- package/dist/calcite/BZLUPMH7.js +4 -0
- package/dist/calcite/C3MM7YIK.js +4 -0
- package/dist/calcite/{XA67TEL6.js → CBCJC3QL.js} +2 -2
- package/dist/calcite/COBNOPHA.js +4 -0
- package/dist/calcite/{DNFDLZDF.js → CPPK4EL6.js} +2 -2
- package/dist/calcite/{5EQJU55O.js → CXROJX6Z.js} +2 -2
- package/dist/calcite/{IPY56QZG.js → D6JA6XN7.js} +2 -2
- package/dist/calcite/{XVQP5YFF.js → D6ZFQYBQ.js} +2 -2
- package/dist/calcite/D77FEDVT.js +4 -0
- package/dist/calcite/{3B3WOBFK.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/{6ZRIY6GI.js → EYQ4MKP4.js} +2 -2
- package/dist/calcite/{VE6NAQ25.js → F3SWCYBI.js} +2 -2
- package/dist/calcite/{H5ZZ3QTQ.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/{RQHIXF7V.js → FS2CKSAW.js} +2 -2
- package/dist/calcite/{SZQLBJAT.js → FYZ3GMZG.js} +2 -2
- package/dist/calcite/{6JX33DZY.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/{ZVU2D4KF.js → HFKSCF6J.js} +2 -2
- package/dist/calcite/HKVYLC2Z.js +4 -0
- package/dist/calcite/{6X37DDK7.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/{3B4ZMICD.js → IH3P3OTS.js} +2 -2
- package/dist/calcite/{2KAP7KHG.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/{IGI7XHYM.js → JMNH6CX4.js} +1 -1
- package/dist/calcite/{FCMBVF4G.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/{JKCW2R26.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/{YIA67T7L.js → LFMPTQHL.js} +2 -2
- package/dist/calcite/{IMYVM6PP.js → LKMYJMH6.js} +2 -2
- package/dist/calcite/LPBOLYYY.js +4 -0
- package/dist/calcite/M6O66VHM.js +4 -0
- package/dist/calcite/{7FNXODFT.js → MAUHZXDA.js} +1 -1
- package/dist/calcite/MMABND5P.js +4 -0
- package/dist/calcite/{UBYQTSIZ.js → MN7FASIH.js} +2 -2
- package/dist/calcite/N7VCH2CZ.js +4 -0
- package/dist/calcite/{DBYT3GGY.js → NIF4A2CN.js} +2 -2
- package/dist/calcite/NIGVBTMJ.js +4 -0
- package/dist/calcite/{5GXR7XJR.js → NOQW64ZT.js} +2 -2
- package/dist/calcite/NT65MCOL.js +4 -0
- package/dist/calcite/NTYF4BYL.js +4 -0
- package/dist/calcite/{XG2Y7SPV.js → O26S5KNA.js} +2 -2
- package/dist/calcite/{AP6UZLXY.js → O3OCUHQX.js} +3 -3
- package/dist/calcite/{BWZGXCV2.js → OI2S43L6.js} +2 -2
- package/dist/calcite/{6OVOVMEJ.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/{U6I5KCO7.js → PXSMRHY6.js} +2 -2
- package/dist/calcite/{U6Z7HEQF.js → PZWAMXZN.js} +2 -2
- package/dist/calcite/{OKAPKGPC.js → Q6D3SXPB.js} +1 -1
- package/dist/calcite/QDUF6PLE.js +4 -0
- package/dist/calcite/{UQPOTXOA.js → R4RIHSHB.js} +1 -1
- package/dist/calcite/{LDA2KEW6.js → RCGAFOG2.js} +2 -2
- package/dist/calcite/{CZA4BUJS.js → RFLLPTVQ.js} +2 -2
- package/dist/calcite/{GBJDVAPM.js → RIPCYHYN.js} +2 -2
- package/dist/calcite/RP5ZF7Z4.js +4 -0
- package/dist/calcite/{J5HTPOM6.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/{LXTTQN7Q.js → TJVULDS6.js} +2 -2
- package/dist/calcite/TNGZVW6J.js +4 -0
- package/dist/calcite/{PPH64LLP.js → TOJOSNQO.js} +2 -2
- package/dist/calcite/TV4RA23F.js +4 -0
- package/dist/calcite/{KBL6LP4F.js → TZX6J2CY.js} +2 -2
- package/dist/calcite/{RN5VUZPY.js → U3ASAMB5.js} +2 -2
- package/dist/calcite/UAIMJEKZ.js +4 -0
- package/dist/calcite/UBFWUWDR.js +4 -0
- package/dist/calcite/{3XIUBW54.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/{MBXKQUSU.js → VMKYGMQE.js} +2 -2
- package/dist/calcite/VS5DUK5N.js +4 -0
- package/dist/calcite/{QAZFY7I6.js → VZKQBOJM.js} +2 -2
- package/dist/calcite/{XNPWEYA5.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/{QGUFKUNX.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/{ERPFKQBM.js → XEDUET37.js} +2 -2
- package/dist/calcite/{2TK7P7OU.js → XJN5Z3JP.js} +2 -2
- package/dist/calcite/{X4TMNYBK.js → XQ3BDEY3.js} +2 -2
- package/dist/calcite/XRHSWUWV.js +4 -0
- package/dist/calcite/{JFQS4RJV.js → YGX5ZVDM.js} +2 -2
- package/dist/calcite/{6KEEH3LC.js → YMW6PFGO.js} +1 -1
- package/dist/calcite/{B675Y7Q7.js → YPQ2SFHJ.js} +2 -2
- package/dist/calcite/{ABRBZ6QR.js → YSRW4TZC.js} +1 -1
- package/dist/calcite/{MNHILYE7.js → YUCOP2VX.js} +2 -2
- package/dist/calcite/Z7R3MZGO.js +4 -0
- package/dist/calcite/{7FYOCQNY.js → ZCWNMSG2.js} +2 -2
- package/dist/calcite/{A7LITRZB.js → ZJPKOYKY.js} +2 -2
- package/dist/calcite/{FZEKF3F3.js → ZKLMMLWH.js} +1 -1
- package/dist/calcite/{SIN24NH3.js → ZP55CECM.js} +2 -2
- package/dist/calcite/{647MYONW.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 -13
- package/dist/calcite/25YKJDJU.js.LEGAL.txt +0 -3
- package/dist/calcite/2AN2HC6A.js +0 -4
- package/dist/calcite/2AN2HC6A.js.LEGAL.txt +0 -3
- package/dist/calcite/2BD5PCTQ.js +0 -4
- package/dist/calcite/2BD5PCTQ.js.LEGAL.txt +0 -3
- package/dist/calcite/2CXGG3AV.js +0 -4
- package/dist/calcite/2CXGG3AV.js.LEGAL.txt +0 -3
- package/dist/calcite/2KAP7KHG.js.LEGAL.txt +0 -3
- package/dist/calcite/2KFKT352.js +0 -4
- package/dist/calcite/2KFKT352.js.LEGAL.txt +0 -3
- package/dist/calcite/2TK7P7OU.js.LEGAL.txt +0 -0
- package/dist/calcite/2VRMURCZ.js +0 -4
- package/dist/calcite/2VRMURCZ.js.LEGAL.txt +0 -3
- package/dist/calcite/33CYW37W.js +0 -4
- package/dist/calcite/33CYW37W.js.LEGAL.txt +0 -3
- package/dist/calcite/3B3WOBFK.js.LEGAL.txt +0 -0
- package/dist/calcite/3B4ZMICD.js.LEGAL.txt +0 -3
- package/dist/calcite/3D6Z6J44.js +0 -4
- package/dist/calcite/3D6Z6J44.js.LEGAL.txt +0 -0
- package/dist/calcite/3FZSCEZR.js +0 -4
- package/dist/calcite/3FZSCEZR.js.LEGAL.txt +0 -0
- package/dist/calcite/3GGOXFBU.js +0 -4
- package/dist/calcite/3GGOXFBU.js.LEGAL.txt +0 -8
- package/dist/calcite/3IGTNCHT.js +0 -4
- package/dist/calcite/3IGTNCHT.js.LEGAL.txt +0 -0
- package/dist/calcite/3JNEH6JA.js +0 -4
- package/dist/calcite/3JNEH6JA.js.LEGAL.txt +0 -0
- package/dist/calcite/3LVKLTBP.js.LEGAL.txt +0 -3
- package/dist/calcite/3MZXMJ6J.js +0 -4
- package/dist/calcite/3MZXMJ6J.js.LEGAL.txt +0 -3
- package/dist/calcite/3POVQK7A.js +0 -4
- package/dist/calcite/3POVQK7A.js.LEGAL.txt +0 -3
- package/dist/calcite/3XIUBW54.js.LEGAL.txt +0 -3
- package/dist/calcite/426RUOCV.js +0 -4
- package/dist/calcite/426RUOCV.js.LEGAL.txt +0 -3
- package/dist/calcite/42E27R5Y.js +0 -4
- package/dist/calcite/42E27R5Y.js.LEGAL.txt +0 -3
- package/dist/calcite/445IHRDQ.js +0 -4
- package/dist/calcite/445IHRDQ.js.LEGAL.txt +0 -3
- package/dist/calcite/4AWOD3LL.js +0 -4
- package/dist/calcite/4AWOD3LL.js.LEGAL.txt +0 -0
- package/dist/calcite/4BUOZZUN.js +0 -4
- package/dist/calcite/4BUOZZUN.js.LEGAL.txt +0 -0
- package/dist/calcite/4FXMZNIC.js +0 -4
- package/dist/calcite/4FXMZNIC.js.LEGAL.txt +0 -3
- package/dist/calcite/4H6NBK4J.js +0 -4
- package/dist/calcite/4H6NBK4J.js.LEGAL.txt +0 -0
- package/dist/calcite/4HFTAEWK.js +0 -4
- package/dist/calcite/4HFTAEWK.js.LEGAL.txt +0 -3
- package/dist/calcite/4KKZAF2O.js +0 -4
- package/dist/calcite/4KKZAF2O.js.LEGAL.txt +0 -3
- package/dist/calcite/4L2CQ4T4.js +0 -4
- package/dist/calcite/4L2CQ4T4.js.LEGAL.txt +0 -3
- package/dist/calcite/4MIR3MCT.js.LEGAL.txt +0 -3
- package/dist/calcite/4R5NMWY4.js +0 -4
- package/dist/calcite/4R5NMWY4.js.LEGAL.txt +0 -3
- package/dist/calcite/4UZRBOF4.js +0 -4
- package/dist/calcite/4UZRBOF4.js.LEGAL.txt +0 -3
- package/dist/calcite/4YMPHRVU.js +0 -4
- package/dist/calcite/4YMPHRVU.js.LEGAL.txt +0 -3
- package/dist/calcite/57TKKIMA.js.LEGAL.txt +0 -3
- package/dist/calcite/5EQJU55O.js.LEGAL.txt +0 -0
- package/dist/calcite/5GIPQRAP.js.LEGAL.txt +0 -3
- package/dist/calcite/5GXR7XJR.js.LEGAL.txt +0 -3
- package/dist/calcite/5PIN7LB7.js +0 -4
- package/dist/calcite/5PIN7LB7.js.LEGAL.txt +0 -0
- package/dist/calcite/5RQLNNIA.js +0 -4
- package/dist/calcite/5RQLNNIA.js.LEGAL.txt +0 -0
- package/dist/calcite/647MYONW.js.LEGAL.txt +0 -3
- package/dist/calcite/6CUFY6YA.js +0 -4
- package/dist/calcite/6CUFY6YA.js.LEGAL.txt +0 -0
- package/dist/calcite/6FMATUYL.js +0 -4
- package/dist/calcite/6FMATUYL.js.LEGAL.txt +0 -3
- package/dist/calcite/6GPVDRKZ.js +0 -4
- package/dist/calcite/6GPVDRKZ.js.LEGAL.txt +0 -3
- package/dist/calcite/6JX33DZY.js.LEGAL.txt +0 -3
- package/dist/calcite/6KEEH3LC.js.LEGAL.txt +0 -3
- package/dist/calcite/6N6XCCHL.js +0 -4
- package/dist/calcite/6N6XCCHL.js.LEGAL.txt +0 -3
- package/dist/calcite/6OVOVMEJ.js.LEGAL.txt +0 -3
- package/dist/calcite/6SBX3VU4.js +0 -4
- package/dist/calcite/6SBX3VU4.js.LEGAL.txt +0 -3
- package/dist/calcite/6WZY6VAS.js +0 -4
- package/dist/calcite/6WZY6VAS.js.LEGAL.txt +0 -3
- package/dist/calcite/6X37DDK7.js.LEGAL.txt +0 -0
- package/dist/calcite/6ZRIY6GI.js.LEGAL.txt +0 -3
- package/dist/calcite/7FNXODFT.js.LEGAL.txt +0 -3
- package/dist/calcite/7FPA5555.js +0 -4
- package/dist/calcite/7FPA5555.js.LEGAL.txt +0 -0
- package/dist/calcite/7FYOCQNY.js.LEGAL.txt +0 -7
- package/dist/calcite/7XZ673E5.js +0 -4
- package/dist/calcite/7XZ673E5.js.LEGAL.txt +0 -3
- package/dist/calcite/A5VLYQIP.js +0 -4
- package/dist/calcite/A5VLYQIP.js.LEGAL.txt +0 -3
- package/dist/calcite/A7LITRZB.js.LEGAL.txt +0 -3
- package/dist/calcite/ABRBZ6QR.js.LEGAL.txt +0 -12
- package/dist/calcite/AEXK3F3P.js +0 -4
- package/dist/calcite/AEXK3F3P.js.LEGAL.txt +0 -3
- package/dist/calcite/AFPPGGDZ.js +0 -4
- package/dist/calcite/AFPPGGDZ.js.LEGAL.txt +0 -3
- package/dist/calcite/AP6UZLXY.js.LEGAL.txt +0 -17
- package/dist/calcite/ARJFZBQD.js.LEGAL.txt +0 -3
- package/dist/calcite/ASVGSSHK.js +0 -4
- package/dist/calcite/ASVGSSHK.js.LEGAL.txt +0 -3
- package/dist/calcite/B5DWOWJS.js +0 -4
- package/dist/calcite/B5DWOWJS.js.LEGAL.txt +0 -3
- package/dist/calcite/B675Y7Q7.js.LEGAL.txt +0 -3
- package/dist/calcite/BLCJXQPP.js +0 -4
- package/dist/calcite/BLCJXQPP.js.LEGAL.txt +0 -3
- package/dist/calcite/BPDLXN66.js +0 -4
- package/dist/calcite/BPDLXN66.js.LEGAL.txt +0 -0
- package/dist/calcite/BQ6O4A5H.js +0 -4
- package/dist/calcite/BQ6O4A5H.js.LEGAL.txt +0 -0
- package/dist/calcite/BSJB6C3S.js +0 -4
- package/dist/calcite/BSJB6C3S.js.LEGAL.txt +0 -0
- package/dist/calcite/BTKWICXD.js +0 -4
- package/dist/calcite/BTKWICXD.js.LEGAL.txt +0 -3
- package/dist/calcite/BWI7EASN.js.LEGAL.txt +0 -3
- package/dist/calcite/BWZGXCV2.js.LEGAL.txt +0 -3
- package/dist/calcite/C5DOXR4Q.js +0 -4
- package/dist/calcite/C5DOXR4Q.js.LEGAL.txt +0 -3
- package/dist/calcite/CQCPAXPV.js +0 -4
- package/dist/calcite/CQCPAXPV.js.LEGAL.txt +0 -0
- package/dist/calcite/CRR5THX6.js.LEGAL.txt +0 -3
- package/dist/calcite/CRYSZQXB.js +0 -4
- package/dist/calcite/CRYSZQXB.js.LEGAL.txt +0 -3
- package/dist/calcite/CTLDZB4Z.js +0 -4
- package/dist/calcite/CTLDZB4Z.js.LEGAL.txt +0 -0
- package/dist/calcite/CZA4BUJS.js.LEGAL.txt +0 -3
- package/dist/calcite/DBYT3GGY.js.LEGAL.txt +0 -3
- package/dist/calcite/DDVGJ3AI.js.LEGAL.txt +0 -3
- package/dist/calcite/DFUVIGR5.js +0 -4
- package/dist/calcite/DFUVIGR5.js.LEGAL.txt +0 -0
- package/dist/calcite/DKJINFKV.js +0 -4
- package/dist/calcite/DKJINFKV.js.LEGAL.txt +0 -0
- package/dist/calcite/DNFDLZDF.js.LEGAL.txt +0 -0
- package/dist/calcite/DV5LVOU6.js +0 -4
- package/dist/calcite/DV5LVOU6.js.LEGAL.txt +0 -3
- package/dist/calcite/EQ3WHTPE.js +0 -4
- package/dist/calcite/EQ3WHTPE.js.LEGAL.txt +0 -0
- package/dist/calcite/ERPFKQBM.js.LEGAL.txt +0 -3
- package/dist/calcite/ESK27ZDQ.js +0 -4
- package/dist/calcite/ESK27ZDQ.js.LEGAL.txt +0 -3
- package/dist/calcite/EXPEABB5.js +0 -4
- package/dist/calcite/EXPEABB5.js.LEGAL.txt +0 -0
- package/dist/calcite/F4JN4HLT.js.LEGAL.txt +0 -15
- package/dist/calcite/FCMBVF4G.js.LEGAL.txt +0 -3
- package/dist/calcite/FDO4UPI3.js +0 -4
- package/dist/calcite/FDO4UPI3.js.LEGAL.txt +0 -3
- package/dist/calcite/FE4WAZ6Q.js +0 -4
- package/dist/calcite/FE4WAZ6Q.js.LEGAL.txt +0 -3
- package/dist/calcite/FIYBJG62.js +0 -4
- package/dist/calcite/FIYBJG62.js.LEGAL.txt +0 -3
- package/dist/calcite/FNYLOEQY.js +0 -4
- package/dist/calcite/FNYLOEQY.js.LEGAL.txt +0 -0
- package/dist/calcite/FZEKF3F3.js.LEGAL.txt +0 -3
- package/dist/calcite/GBJDVAPM.js.LEGAL.txt +0 -3
- package/dist/calcite/GRFG2SJL.js +0 -4
- package/dist/calcite/GRFG2SJL.js.LEGAL.txt +0 -3
- package/dist/calcite/GUDENJ5P.js +0 -4
- package/dist/calcite/GUDENJ5P.js.LEGAL.txt +0 -3
- package/dist/calcite/GZNBJ3WK.js +0 -6
- package/dist/calcite/GZNBJ3WK.js.LEGAL.txt +0 -145
- package/dist/calcite/H5ZZ3QTQ.js.LEGAL.txt +0 -0
- package/dist/calcite/HIAMLKEK.js +0 -4
- package/dist/calcite/HIAMLKEK.js.LEGAL.txt +0 -3
- package/dist/calcite/HKCFPBCD.js +0 -4
- package/dist/calcite/HKCFPBCD.js.LEGAL.txt +0 -3
- package/dist/calcite/I3WD7HNQ.js +0 -4
- package/dist/calcite/I3WD7HNQ.js.LEGAL.txt +0 -3
- package/dist/calcite/ICYHAJAD.js +0 -4
- package/dist/calcite/ICYHAJAD.js.LEGAL.txt +0 -3
- package/dist/calcite/IGI7XHYM.js.LEGAL.txt +0 -3
- package/dist/calcite/IKMOWPIR.js +0 -4
- package/dist/calcite/IKMOWPIR.js.LEGAL.txt +0 -3
- package/dist/calcite/ILWGXB7X.js +0 -4
- package/dist/calcite/ILWGXB7X.js.LEGAL.txt +0 -3
- package/dist/calcite/IMYVM6PP.js.LEGAL.txt +0 -3
- package/dist/calcite/IORMKFVZ.js +0 -4
- package/dist/calcite/IORMKFVZ.js.LEGAL.txt +0 -3
- package/dist/calcite/IPY56QZG.js.LEGAL.txt +0 -3
- package/dist/calcite/ISUO3HZG.js.LEGAL.txt +0 -3
- package/dist/calcite/J5HTPOM6.js.LEGAL.txt +0 -3
- package/dist/calcite/J7T3K7H4.js +0 -4
- package/dist/calcite/J7T3K7H4.js.LEGAL.txt +0 -0
- package/dist/calcite/JFQS4RJV.js.LEGAL.txt +0 -8
- package/dist/calcite/JH5YSED3.js +0 -4
- package/dist/calcite/JH5YSED3.js.LEGAL.txt +0 -3
- package/dist/calcite/JKCW2R26.js.LEGAL.txt +0 -3
- package/dist/calcite/JMTYMSAF.js +0 -4
- package/dist/calcite/JMTYMSAF.js.LEGAL.txt +0 -3
- package/dist/calcite/JXRMXLYL.js +0 -4
- package/dist/calcite/JXRMXLYL.js.LEGAL.txt +0 -3
- package/dist/calcite/K3LJZDZX.js +0 -4
- package/dist/calcite/K3LJZDZX.js.LEGAL.txt +0 -0
- package/dist/calcite/K5N57473.js.LEGAL.txt +0 -3
- package/dist/calcite/KACKHTVC.js +0 -4
- package/dist/calcite/KACKHTVC.js.LEGAL.txt +0 -3
- package/dist/calcite/KB64WHQM.js +0 -4
- package/dist/calcite/KB64WHQM.js.LEGAL.txt +0 -3
- package/dist/calcite/KBL6LP4F.js.LEGAL.txt +0 -3
- package/dist/calcite/KEFOUV55.js +0 -4
- package/dist/calcite/KEFOUV55.js.LEGAL.txt +0 -3
- package/dist/calcite/KESB4WDE.js +0 -4
- package/dist/calcite/KESB4WDE.js.LEGAL.txt +0 -3
- package/dist/calcite/KKIURLSZ.js +0 -4
- package/dist/calcite/KKIURLSZ.js.LEGAL.txt +0 -3
- package/dist/calcite/KMDLBEQU.js +0 -4
- package/dist/calcite/KMDLBEQU.js.LEGAL.txt +0 -3
- package/dist/calcite/KV3ZFMDK.js +0 -4
- package/dist/calcite/KV3ZFMDK.js.LEGAL.txt +0 -0
- package/dist/calcite/KVD3BJLT.js +0 -4
- package/dist/calcite/KVD3BJLT.js.LEGAL.txt +0 -0
- package/dist/calcite/KZDTHGML.js.LEGAL.txt +0 -3
- package/dist/calcite/L32ZCX7F.js +0 -4
- package/dist/calcite/L32ZCX7F.js.LEGAL.txt +0 -0
- package/dist/calcite/LDA2KEW6.js.LEGAL.txt +0 -3
- package/dist/calcite/LLIHXXUH.js +0 -4
- package/dist/calcite/LLIHXXUH.js.LEGAL.txt +0 -3
- package/dist/calcite/LLLVF72Q.js +0 -4
- package/dist/calcite/LLLVF72Q.js.LEGAL.txt +0 -0
- package/dist/calcite/LSOXOMC5.js +0 -4
- package/dist/calcite/LSOXOMC5.js.LEGAL.txt +0 -0
- package/dist/calcite/LXTTQN7Q.js.LEGAL.txt +0 -3
- package/dist/calcite/M7EGYC4A.js +0 -4
- package/dist/calcite/M7EGYC4A.js.LEGAL.txt +0 -0
- package/dist/calcite/MBXKQUSU.js.LEGAL.txt +0 -3
- package/dist/calcite/MEPYRDUS.js +0 -4
- package/dist/calcite/MEPYRDUS.js.LEGAL.txt +0 -3
- package/dist/calcite/MKOXCM2U.js.LEGAL.txt +0 -3
- package/dist/calcite/MNHILYE7.js.LEGAL.txt +0 -3
- package/dist/calcite/MUSD6O2C.js +0 -4
- package/dist/calcite/MUSD6O2C.js.LEGAL.txt +0 -3
- package/dist/calcite/N4R5NV43.js +0 -4
- package/dist/calcite/N4R5NV43.js.LEGAL.txt +0 -3
- package/dist/calcite/N4TM32IC.js +0 -4
- package/dist/calcite/N4TM32IC.js.LEGAL.txt +0 -3
- package/dist/calcite/NCTETSVH.js +0 -4
- package/dist/calcite/NCTETSVH.js.LEGAL.txt +0 -0
- package/dist/calcite/NJQ7HXUI.js +0 -4
- package/dist/calcite/NJQ7HXUI.js.LEGAL.txt +0 -0
- package/dist/calcite/NKAUTFMT.js +0 -4
- package/dist/calcite/NKAUTFMT.js.LEGAL.txt +0 -3
- package/dist/calcite/NN33UIOJ.js +0 -4
- package/dist/calcite/NN33UIOJ.js.LEGAL.txt +0 -3
- package/dist/calcite/NOS5P4MB.js +0 -4
- package/dist/calcite/NOS5P4MB.js.LEGAL.txt +0 -0
- package/dist/calcite/NQ5MR4DJ.js +0 -4
- package/dist/calcite/NQ5MR4DJ.js.LEGAL.txt +0 -3
- package/dist/calcite/NRUYYSGJ.js +0 -4
- package/dist/calcite/NRUYYSGJ.js.LEGAL.txt +0 -0
- package/dist/calcite/OKAPKGPC.js.LEGAL.txt +0 -3
- package/dist/calcite/OLCAP3UT.js +0 -4
- package/dist/calcite/OLCAP3UT.js.LEGAL.txt +0 -3
- package/dist/calcite/PDGJA2QZ.js +0 -4
- package/dist/calcite/PDGJA2QZ.js.LEGAL.txt +0 -3
- package/dist/calcite/PKGKHGZV.js.LEGAL.txt +0 -3
- package/dist/calcite/PPH64LLP.js.LEGAL.txt +0 -3
- package/dist/calcite/PX53SOKE.js.LEGAL.txt +0 -3
- package/dist/calcite/Q53ORX74.js +0 -4
- package/dist/calcite/Q53ORX74.js.LEGAL.txt +0 -0
- package/dist/calcite/QAZFY7I6.js.LEGAL.txt +0 -3
- package/dist/calcite/QCOAGYGQ.js +0 -4
- package/dist/calcite/QCOAGYGQ.js.LEGAL.txt +0 -0
- package/dist/calcite/QF2TJ7KA.js +0 -4
- package/dist/calcite/QF2TJ7KA.js.LEGAL.txt +0 -0
- package/dist/calcite/QGUFKUNX.js.LEGAL.txt +0 -3
- package/dist/calcite/QIJJ3WRJ.js +0 -4
- package/dist/calcite/QIJJ3WRJ.js.LEGAL.txt +0 -0
- package/dist/calcite/QKFYKDOU.js +0 -4
- package/dist/calcite/QKFYKDOU.js.LEGAL.txt +0 -3
- package/dist/calcite/QXI2GUI5.js +0 -4
- package/dist/calcite/QXI2GUI5.js.LEGAL.txt +0 -0
- package/dist/calcite/RF2AQL6Y.js +0 -4
- package/dist/calcite/RF2AQL6Y.js.LEGAL.txt +0 -3
- package/dist/calcite/RFJVAE6V.js +0 -4
- package/dist/calcite/RFJVAE6V.js.LEGAL.txt +0 -3
- package/dist/calcite/RN5VUZPY.js.LEGAL.txt +0 -3
- package/dist/calcite/RNUXKSWK.js +0 -4
- package/dist/calcite/RNUXKSWK.js.LEGAL.txt +0 -0
- package/dist/calcite/RPYGF6DR.js.LEGAL.txt +0 -0
- package/dist/calcite/RQHIXF7V.js.LEGAL.txt +0 -3
- package/dist/calcite/RUAWDDLG.js +0 -4
- package/dist/calcite/RUAWDDLG.js.LEGAL.txt +0 -3
- package/dist/calcite/RVE2FTWS.js +0 -4
- package/dist/calcite/RVE2FTWS.js.LEGAL.txt +0 -0
- package/dist/calcite/RXUW2ZPM.js.LEGAL.txt +0 -3
- package/dist/calcite/S6MS2OHM.js +0 -4
- package/dist/calcite/S6MS2OHM.js.LEGAL.txt +0 -3
- package/dist/calcite/SEDKXHV7.js +0 -4
- package/dist/calcite/SEDKXHV7.js.LEGAL.txt +0 -3
- package/dist/calcite/SIN24NH3.js.LEGAL.txt +0 -3
- package/dist/calcite/SOEG7B3Y.js +0 -4
- package/dist/calcite/SOEG7B3Y.js.LEGAL.txt +0 -3
- package/dist/calcite/SZQLBJAT.js.LEGAL.txt +0 -3
- package/dist/calcite/T2YHVPAE.js +0 -4
- package/dist/calcite/T2YHVPAE.js.LEGAL.txt +0 -0
- package/dist/calcite/THXTJVVZ.js +0 -4
- package/dist/calcite/THXTJVVZ.js.LEGAL.txt +0 -0
- package/dist/calcite/TQZT3JNR.js +0 -4
- package/dist/calcite/TQZT3JNR.js.LEGAL.txt +0 -3
- package/dist/calcite/TSYLRCCX.js +0 -4
- package/dist/calcite/TSYLRCCX.js.LEGAL.txt +0 -3
- package/dist/calcite/TV7EB7QE.js +0 -4
- package/dist/calcite/TV7EB7QE.js.LEGAL.txt +0 -0
- package/dist/calcite/TWAOZYGH.js +0 -4
- package/dist/calcite/TWAOZYGH.js.LEGAL.txt +0 -0
- package/dist/calcite/U6I5KCO7.js.LEGAL.txt +0 -3
- package/dist/calcite/U6Z7HEQF.js.LEGAL.txt +0 -0
- package/dist/calcite/UBYQTSIZ.js.LEGAL.txt +0 -0
- package/dist/calcite/UQPOTXOA.js.LEGAL.txt +0 -3
- package/dist/calcite/UROU5LEG.js +0 -4
- package/dist/calcite/UROU5LEG.js.LEGAL.txt +0 -0
- package/dist/calcite/UUTYLV7N.js +0 -4
- package/dist/calcite/UUTYLV7N.js.LEGAL.txt +0 -0
- package/dist/calcite/V52I4FAE.js +0 -4
- package/dist/calcite/V52I4FAE.js.LEGAL.txt +0 -0
- package/dist/calcite/V73BOD2W.js +0 -4
- package/dist/calcite/V73BOD2W.js.LEGAL.txt +0 -3
- package/dist/calcite/V7X6SDP4.js +0 -4
- package/dist/calcite/V7X6SDP4.js.LEGAL.txt +0 -3
- package/dist/calcite/VE6NAQ25.js.LEGAL.txt +0 -3
- package/dist/calcite/VG3JPDTN.js +0 -4
- package/dist/calcite/VG3JPDTN.js.LEGAL.txt +0 -3
- package/dist/calcite/W24L72M4.js +0 -4
- package/dist/calcite/W24L72M4.js.LEGAL.txt +0 -3
- package/dist/calcite/W3QW4ZPS.js +0 -4
- package/dist/calcite/W3QW4ZPS.js.LEGAL.txt +0 -0
- package/dist/calcite/WFVAIMKJ.js.LEGAL.txt +0 -3
- package/dist/calcite/WJN556XC.js +0 -4
- package/dist/calcite/WJN556XC.js.LEGAL.txt +0 -3
- package/dist/calcite/WKLSVJKC.js +0 -4
- package/dist/calcite/WKLSVJKC.js.LEGAL.txt +0 -3
- package/dist/calcite/WZEWR3RT.js +0 -4
- package/dist/calcite/WZEWR3RT.js.LEGAL.txt +0 -3
- package/dist/calcite/X3TVNPED.js +0 -4
- package/dist/calcite/X3TVNPED.js.LEGAL.txt +0 -3
- package/dist/calcite/X4TMNYBK.js.LEGAL.txt +0 -3
- package/dist/calcite/X5TBQPJS.js.LEGAL.txt +0 -13
- package/dist/calcite/XA67TEL6.js.LEGAL.txt +0 -3
- package/dist/calcite/XDLFA232.js +0 -4
- package/dist/calcite/XDLFA232.js.LEGAL.txt +0 -0
- package/dist/calcite/XG2Y7SPV.js.LEGAL.txt +0 -3
- package/dist/calcite/XMPGJJJA.js +0 -4
- package/dist/calcite/XMPGJJJA.js.LEGAL.txt +0 -0
- package/dist/calcite/XNPWEYA5.js.LEGAL.txt +0 -3
- package/dist/calcite/XVQP5YFF.js.LEGAL.txt +0 -3
- package/dist/calcite/XXTIBPCP.js +0 -4
- package/dist/calcite/XXTIBPCP.js.LEGAL.txt +0 -3
- package/dist/calcite/Y6JGDFGL.js +0 -4
- package/dist/calcite/Y6JGDFGL.js.LEGAL.txt +0 -0
- package/dist/calcite/YIA67T7L.js.LEGAL.txt +0 -8
- package/dist/calcite/YJOFTZLZ.js +0 -4
- package/dist/calcite/YJOFTZLZ.js.LEGAL.txt +0 -3
- package/dist/calcite/YO7IUTNJ.js +0 -4
- package/dist/calcite/YO7IUTNJ.js.LEGAL.txt +0 -0
- package/dist/calcite/YOUWNMMQ.js +0 -4
- package/dist/calcite/YOUWNMMQ.js.LEGAL.txt +0 -0
- package/dist/calcite/YVCTEAF3.js +0 -4
- package/dist/calcite/YVCTEAF3.js.LEGAL.txt +0 -3
- package/dist/calcite/ZBV7TNB7.js +0 -4
- package/dist/calcite/ZBV7TNB7.js.LEGAL.txt +0 -3
- package/dist/calcite/ZVDLVR7G.js +0 -4
- package/dist/calcite/ZVDLVR7G.js.LEGAL.txt +0 -3
- package/dist/calcite/ZVU2D4KF.js.LEGAL.txt +0 -3
- package/dist/calcite/calcite.esm.js.LEGAL.txt +0 -3
|
@@ -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 { html } from "lit";
|
|
@@ -15,8 +15,6 @@ const SLOTS = {
|
|
|
15
15
|
};
|
|
16
16
|
const styles = css`:host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1));background-color:var(--calcite-tab-background-color, var(--calcite-color-foreground-1))}:host([bordered]) section{border-color:var(--calcite-tab-border-color, var(--calcite-color-border-1));border-style:solid}section{display:flex;flex-grow:1;overflow:hidden;border-width:1px;border-block-start-style:solid;border-block-start-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1)),inset 0 -1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([position=bottom]){flex-direction:column-reverse}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px}:host([bordered][scale=s]) section{padding:.75rem}:host([bordered][scale=m]) section{padding:.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid;border-block-end-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
17
17
|
class Tabs extends LitElement {
|
|
18
|
-
// #endregion
|
|
19
|
-
// #region Lifecycle
|
|
20
18
|
constructor() {
|
|
21
19
|
super();
|
|
22
20
|
this.tabs = [];
|
|
@@ -28,7 +26,7 @@ class Tabs extends LitElement {
|
|
|
28
26
|
this.listen("calciteInternalTabNavSlotChange", this.calciteInternalTabNavSlotChangeHandler);
|
|
29
27
|
}
|
|
30
28
|
static {
|
|
31
|
-
this.properties = { tabs: [16, { state: true }], titles: [16, { state: true }], bordered: [5, { type: Boolean }], layout: [3, { reflect: true }], position: [3, { reflect: true }], scale: [3, { reflect: true }] };
|
|
29
|
+
this.properties = { tabs: [16, {}, { state: true }], titles: [16, {}, { state: true }], bordered: [5, {}, { type: Boolean }], layout: [3, {}, { reflect: true }], position: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }] };
|
|
32
30
|
}
|
|
33
31
|
static {
|
|
34
32
|
this.styles = styles;
|
|
@@ -49,8 +47,6 @@ class Tabs extends LitElement {
|
|
|
49
47
|
this.updateItems();
|
|
50
48
|
}
|
|
51
49
|
}
|
|
52
|
-
// #endregion
|
|
53
|
-
// #region Private Methods
|
|
54
50
|
calciteInternalTabNavSlotChangeHandler(event) {
|
|
55
51
|
event.stopPropagation();
|
|
56
52
|
if (event.detail.length !== this.titles.length) {
|
|
@@ -60,11 +56,6 @@ class Tabs extends LitElement {
|
|
|
60
56
|
defaultSlotChangeHandler(event) {
|
|
61
57
|
this.tabs = slotChangeGetAssignedElements(event, "calcite-tab");
|
|
62
58
|
}
|
|
63
|
-
/**
|
|
64
|
-
* Matches up elements from the internal `tabs` and `titles` to automatically
|
|
65
|
-
* update the ARIA attributes and link `<calcite-tab>` and
|
|
66
|
-
* `<calcite-tab-title>` components.
|
|
67
|
-
*/
|
|
68
59
|
async updateAriaSettings() {
|
|
69
60
|
await this.componentOnReady();
|
|
70
61
|
let tabIds;
|
|
@@ -108,8 +99,6 @@ class Tabs extends LitElement {
|
|
|
108
99
|
setDefaultSlotRef(el) {
|
|
109
100
|
this.slotEl = el;
|
|
110
101
|
}
|
|
111
|
-
// #endregion
|
|
112
|
-
// #region Rendering
|
|
113
102
|
render() {
|
|
114
103
|
return html`<slot name=${SLOTS.titleGroup}></slot><section class=${safeClassMap(CSS.section)}><slot @slotchange=${this.defaultSlotChangeHandler} ${ref(this.setDefaultSlotRef)}></slot></section>`;
|
|
115
104
|
}
|
|
@@ -10,9 +10,9 @@ import { IconNameOrString } from '../calcite-icon/interfaces';
|
|
|
10
10
|
import { Label } from '../calcite-label/customElement.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* @slot
|
|
14
|
-
* @slot footer-start - A slot for adding content to the start of the component's footer.
|
|
15
|
-
* @slot footer-end - A slot for adding content to the end of the component's footer.
|
|
13
|
+
* @slot - A slot for adding text.
|
|
14
|
+
* @slot [footer-start] - A slot for adding content to the start of the component's footer.
|
|
15
|
+
* @slot [footer-end] - A slot for adding content to the end of the component's footer.
|
|
16
16
|
*/
|
|
17
17
|
export declare class TextArea extends LitElement {
|
|
18
18
|
/**
|
|
@@ -25,6 +25,7 @@ export declare class TextArea extends LitElement {
|
|
|
25
25
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
26
26
|
*
|
|
27
27
|
* @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
28
|
+
* @default false
|
|
28
29
|
*/
|
|
29
30
|
disabled: boolean;
|
|
30
31
|
/**
|
|
@@ -33,12 +34,18 @@ export declare class TextArea extends LitElement {
|
|
|
33
34
|
* When not set, the component will be associated with its ancestor form element, if any.
|
|
34
35
|
*/
|
|
35
36
|
form: string;
|
|
36
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* When `true`, number values are displayed with a group separator corresponding to the language and country format.
|
|
39
|
+
*
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
37
42
|
groupSeparator: boolean;
|
|
38
43
|
/** Accessible name for the component. */
|
|
39
44
|
label: string;
|
|
40
45
|
/**
|
|
41
46
|
* When `true`, prevents input beyond the `maxLength` value, mimicking native text area behavior.
|
|
47
|
+
*
|
|
48
|
+
* @default false
|
|
42
49
|
*/
|
|
43
50
|
limitText: boolean;
|
|
44
51
|
/**
|
|
@@ -50,20 +57,6 @@ export declare class TextArea extends LitElement {
|
|
|
50
57
|
maxLength: number;
|
|
51
58
|
/** Use this property to override individual strings used by the component. */
|
|
52
59
|
messageOverrides?: typeof this.messages._overrides;
|
|
53
|
-
/**
|
|
54
|
-
* Made into a prop for testing purposes only
|
|
55
|
-
*
|
|
56
|
-
* @private
|
|
57
|
-
*/
|
|
58
|
-
private messages: {
|
|
59
|
-
invalid: string;
|
|
60
|
-
tooLong: string;
|
|
61
|
-
tooShort: string;
|
|
62
|
-
} & import('@arcgis/components-controllers').T9nMeta<{
|
|
63
|
-
invalid: string;
|
|
64
|
-
tooLong: string;
|
|
65
|
-
tooShort: string;
|
|
66
|
-
}>;
|
|
67
60
|
/**
|
|
68
61
|
* When the component resides in a form,
|
|
69
62
|
* specifies the minimum number of characters allowed.
|
|
@@ -89,6 +82,7 @@ export declare class TextArea extends LitElement {
|
|
|
89
82
|
* When `true`, the component's `value` can be read, but cannot be modified.
|
|
90
83
|
*
|
|
91
84
|
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
85
|
+
* @default false
|
|
92
86
|
*/
|
|
93
87
|
readOnly: boolean;
|
|
94
88
|
/**
|
|
@@ -96,9 +90,14 @@ export declare class TextArea extends LitElement {
|
|
|
96
90
|
* the component must have a value in order for the form to submit.
|
|
97
91
|
*
|
|
98
92
|
* @mdn [required]https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required
|
|
93
|
+
* @default false
|
|
99
94
|
*/
|
|
100
95
|
required: boolean;
|
|
101
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* Specifies if the component is resizable.
|
|
98
|
+
*
|
|
99
|
+
* @default "both"
|
|
100
|
+
*/
|
|
102
101
|
resize: "both" | "horizontal" | "vertical" | "none";
|
|
103
102
|
/**
|
|
104
103
|
* Specifies the component's number of rows.
|
|
@@ -106,9 +105,17 @@ export declare class TextArea extends LitElement {
|
|
|
106
105
|
* @mdn [rows](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows)
|
|
107
106
|
*/
|
|
108
107
|
rows: number;
|
|
109
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Specifies the size of the component.
|
|
110
|
+
*
|
|
111
|
+
* @default "m"
|
|
112
|
+
*/
|
|
110
113
|
scale: "l" | "m" | "s";
|
|
111
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* Specifies the status of the input field, which determines message and icons.
|
|
116
|
+
*
|
|
117
|
+
* @default "idle"
|
|
118
|
+
*/
|
|
112
119
|
status: Status;
|
|
113
120
|
/** Specifies the validation icon to display under the component. */
|
|
114
121
|
validationIcon: IconNameOrString | boolean;
|
|
@@ -117,16 +124,20 @@ export declare class TextArea extends LitElement {
|
|
|
117
124
|
/**
|
|
118
125
|
* The current validation state of the component.
|
|
119
126
|
*
|
|
120
|
-
* @readonly
|
|
121
127
|
* @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
122
128
|
*/
|
|
123
129
|
readonly validity: MutableValidityState;
|
|
124
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* The component's value.
|
|
132
|
+
*
|
|
133
|
+
* @default ""
|
|
134
|
+
*/
|
|
125
135
|
value: string;
|
|
126
136
|
/**
|
|
127
137
|
* Specifies the wrapping mechanism for the text.
|
|
128
138
|
*
|
|
129
139
|
* @mdn [wrap](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-wrap)
|
|
140
|
+
* @default "soft"
|
|
130
141
|
*/
|
|
131
142
|
wrap: "soft" | "hard";
|
|
132
143
|
/** Selects the text of the component's `value`. */
|
|
@@ -134,7 +145,16 @@ export declare class TextArea extends LitElement {
|
|
|
134
145
|
/** Sets focus on the component. */
|
|
135
146
|
setFocus(): Promise<void>;
|
|
136
147
|
/** Fires each time a new `value` is typed and committed. */
|
|
137
|
-
readonly calciteTextAreaChange: TargetedEvent<this,
|
|
148
|
+
readonly calciteTextAreaChange: TargetedEvent<this, void>;
|
|
138
149
|
/** Fires each time a new `value` is typed. */
|
|
139
|
-
readonly calciteTextAreaInput: TargetedEvent<this,
|
|
150
|
+
readonly calciteTextAreaInput: TargetedEvent<this, void>;
|
|
151
|
+
private messages: {
|
|
152
|
+
invalid: string;
|
|
153
|
+
tooLong: string;
|
|
154
|
+
tooShort: string;
|
|
155
|
+
} & import('@arcgis/lumina/controllers').T9nMeta<{
|
|
156
|
+
invalid: string;
|
|
157
|
+
tooLong: string;
|
|
158
|
+
tooShort: string;
|
|
159
|
+
}>;
|
|
140
160
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
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 { live } from "lit-html/directives/live.js";
|
|
6
6
|
import { html } from "lit-html";
|
|
7
7
|
import { throttle } from "lodash-es";
|
|
8
8
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
9
|
-
import { LitElement, createEvent, stringOrBoolean,
|
|
10
|
-
import { useWatchAttributes } from "@arcgis/
|
|
9
|
+
import { LitElement, createEvent, stringOrBoolean, safeClassMap, nothing } from "@arcgis/lumina";
|
|
10
|
+
import { useWatchAttributes } from "@arcgis/lumina/controllers";
|
|
11
11
|
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from "../../chunks/form.js";
|
|
12
12
|
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from "../../chunks/label.js";
|
|
13
13
|
import { a as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
@@ -33,7 +33,8 @@ const CSS = {
|
|
|
33
33
|
hide: "hide",
|
|
34
34
|
footerEndSlotOnly: "footer--end-only",
|
|
35
35
|
textArea: "text-area",
|
|
36
|
-
textAreaOnly: "text-area--only"
|
|
36
|
+
textAreaOnly: "text-area--only",
|
|
37
|
+
wrapper: "wrapper"
|
|
37
38
|
};
|
|
38
39
|
const IDS = {
|
|
39
40
|
validationMessage: "textAreaValidationMessage"
|
|
@@ -44,7 +45,7 @@ const SLOTS = {
|
|
|
44
45
|
};
|
|
45
46
|
const RESIZE_TIMEOUT = 100;
|
|
46
47
|
const NO_DIMENSIONS = Object.freeze({ height: 0, width: 0 });
|
|
47
|
-
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{position:relative;display:inline-block;block-size:100%;inline-size:100%;--calcite-internal-text-area-border-color: var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color: var( --calcite-text-area-footer-border-color, var(--calcite-internal-text-area-border-color) )
|
|
48
|
+
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{position:relative;box-sizing:border-box;display:inline-block;block-size:100%;inline-size:100%;--calcite-internal-text-area-border-color: var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color: var( --calcite-text-area-footer-border-color, var(--calcite-internal-text-area-border-color) );--calcite-internal-text-area-corner-radius: var( --calcite-text-area-corner-radius, var(--calcite-corner-radius-default) );--calcite-internal-text-area-shadow: var(--calcite-text-area-shadow, var(--calcite-shadow-none));--calcite-internal-text-area-footer-background-color: var( --calcite-text-area-footer-background-color, var(--calcite-text-area-background-color, var(--calcite-color-foreground-1)) );min-block-size:var(--calcite-text-area-min-height, calc(2 * var(--calcite-internal-text-area-padding-block) + 2 * var(--calcite-border-width-sm)));min-inline-size:var(--calcite-text-area-min-width, 12rem)}.wrapper{box-sizing:border-box;block-size:100%;inline-size:100%;box-shadow:var(--calcite-internal-text-area-shadow);border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area,.footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));padding-block:var(--calcite-internal-text-area-padding-block);padding-inline:var(--calcite-internal-text-area-padding-inline)}.footer{background-color:var(--calcite-internal-text-area-footer-background-color);border-radius:0 0 var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius)}.text-area{position:relative;margin:0;box-sizing:border-box;display:block;inline-size:100%;font-family:var(--calcite-font-family);--calcite-internal-text-area-border-block-end-color: var(--calcite-internal-text-area-border-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-border-color);border-block-end-color:var(--calcite-internal-text-area-border-block-end-color);color:var(--calcite-text-area-text-color, var(--calcite-color-text-1));font-family:var(--calcite-sans-family);max-block-size:var(--calcite-text-area-max-height);min-block-size:calc(var(--calcite-text-area-min-height, 0px) - var(--calcite-internal-text-area-footer-min-height, 0px));max-inline-size:var(--calcite-text-area-max-width);min-inline-size:var(--calcite-text-area-min-width, 12rem);background-color:var(--calcite-text-area-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius) 0 0}.text-area::placeholder{font-weight:var(--calcite-font-weight-normal)}@media screen and (max-width: 480px){.text-area{resize:none}}.text-area: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))))}.text-area.text-area--invalid{--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}.text-area.text-area--invalid:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.footer--slotted{min-inline-size:18rem}.text-area.text-area--only{border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area:not(.text-area--only,.text-area--invalid){--calcite-internal-text-area-border-block-end-color: var( --calcite-text-area-divider-color, var(--calcite-color-border-3) )}.footer{box-sizing:border-box;display:flex;align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-footer-border-color);border-block-start:var(--calcite-border-width-none);min-block-size:var(--calcite-internal-text-area-footer-min-height)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));font-weight:var(--calcite-font-weight-regular);color:var(--calcite-text-area-character-limit-text-color, var(--calcite-color-text-2));padding-inline-start:var(--calcite-spacing-md)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}.readonly{background-color:var(--calcite-text-area-background-color, var(--calcite-color-background));font-weight:var(--calcite-font-weight-medium)}.footer.readonly{background-color:var(--calcite-internal-text-area-footer-background-color, var(--calcite-color-background))}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.text-area.text-area--only{block-size:100%;min-block-size:var(--calcite-text-area-min-height, 0)}:host([resize=none]) .text-area{resize:none}:host([resize=horizontal]) .text-area{resize:horizontal}:host([resize=vertical]) .text-area{resize:vertical}:host([scale=s]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-xxs);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-sm);--calcite-internal-text-area-footer-min-height: 1.75rem}:host([scale=s]) .text-area,:host([scale=s]) .footer,:host([scale=s]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--2))}:host([scale=s]) .character-limit{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-sm);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-md);--calcite-internal-text-area-footer-min-height: 2.25rem}:host([scale=l]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-md);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-lg);--calcite-internal-text-area-footer-min-height: 2.75rem}:host([scale=l]) .text-area,:host([scale=l]) .footer,:host([scale=l]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0))}:host([scale=l]) .character-limit{padding-inline-start:var(--calcite-spacing-lg)}:host([status=invalid]){--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}:host([status=invalid]) .text-area:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([disabled]) .text-area,:host([disabled]) .footer{opacity:var(--calcite-opacity-half)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-placeholder-text-color, var(--calcite-color-text-3))}`;
|
|
48
49
|
class TextArea extends LitElement {
|
|
49
50
|
constructor() {
|
|
50
51
|
super(...arguments);
|
|
@@ -53,26 +54,28 @@ class TextArea extends LitElement {
|
|
|
53
54
|
this.guid = guid();
|
|
54
55
|
this.resizeObserver = createObserver("resize", async () => {
|
|
55
56
|
await this.componentOnReady();
|
|
56
|
-
const { textAreaHeight, textAreaWidth, elHeight, elWidth, footerHeight, footerWidth } = this.getHeightAndWidthOfElements();
|
|
57
|
+
const { textAreaHeight, textAreaWidth, elHeight, elWidth, footerHeight, footerWidth, validationMessageHeight } = this.getHeightAndWidthOfElements();
|
|
57
58
|
if (footerWidth > 0 && footerWidth !== textAreaWidth) {
|
|
58
59
|
this.footerEl.value.style.width = `${textAreaWidth}px`;
|
|
59
60
|
}
|
|
60
|
-
if (
|
|
61
|
-
|
|
61
|
+
if (this.resize === "none") {
|
|
62
|
+
return;
|
|
62
63
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
this.el.style.height = "auto";
|
|
64
|
+
const { width: elStyleWidth, height: elStyleHeight } = getComputedStyle(this.el);
|
|
65
|
+
if (elWidth !== textAreaWidth && elStyleWidth !== "auto") {
|
|
66
|
+
this.updateSizeToAuto("width");
|
|
67
67
|
}
|
|
68
|
-
if (
|
|
69
|
-
this.
|
|
68
|
+
if (elHeight !== textAreaHeight + footerHeight + validationMessageHeight && elStyleHeight !== "auto") {
|
|
69
|
+
this.updateSizeToAuto("height");
|
|
70
70
|
}
|
|
71
|
+
});
|
|
72
|
+
this.updateSizeToAuto = throttle((dimension) => {
|
|
73
|
+
this.el.style[dimension] = "auto";
|
|
71
74
|
}, RESIZE_TIMEOUT, { leading: false });
|
|
75
|
+
this.messages = useT9n({ blocking: true });
|
|
72
76
|
this.disabled = false;
|
|
73
77
|
this.groupSeparator = false;
|
|
74
78
|
this.limitText = false;
|
|
75
|
-
this.messages = useT9n({ blocking: true });
|
|
76
79
|
this.readOnly = false;
|
|
77
80
|
this.required = false;
|
|
78
81
|
this.resize = "both";
|
|
@@ -97,25 +100,19 @@ class TextArea extends LitElement {
|
|
|
97
100
|
this.calciteTextAreaInput = createEvent();
|
|
98
101
|
}
|
|
99
102
|
static {
|
|
100
|
-
this.properties = { endSlotHasElements: [16, { state: true }], startSlotHasElements: [16, { state: true }], columns: [11, { reflect: true, type: Number }], disabled: [7, { reflect: true, type: Boolean }], form: [3, { reflect: true }], groupSeparator: [7, { reflect: true, type: Boolean }], label: 1, limitText: [7, { reflect: true, type: Boolean }], maxLength: [11, { reflect: true, type: Number }], messageOverrides: [0, { attribute: false }], minLength: [11, { reflect: true, type: Number }], name: [3, { reflect: true }], numberingSystem: 1, placeholder: 1, readOnly: [7, { reflect: true, type: Boolean }], required: [7, { reflect: true, type: Boolean }], resize: [3, { reflect: true }], rows: [11, { reflect: true, type: Number }], scale: [3, { reflect: true }], status: [3, { reflect: true }], validationIcon: [3, {
|
|
103
|
+
this.properties = { endSlotHasElements: [16, {}, { state: true }], startSlotHasElements: [16, {}, { state: true }], columns: [11, {}, { reflect: true, type: Number }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], label: 1, limitText: [7, {}, { reflect: true, type: Boolean }], maxLength: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], minLength: [11, {}, { reflect: true, type: Number }], name: [3, {}, { reflect: true }], numberingSystem: 1, placeholder: 1, readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], resize: [3, {}, { reflect: true }], rows: [11, {}, { reflect: true, type: Number }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean }, { reflect: true }], validationMessage: 1, validity: [0, {}, { attribute: false }], value: 1, wrap: [3, {}, { reflect: true }] };
|
|
101
104
|
}
|
|
102
105
|
static {
|
|
103
106
|
this.styles = styles;
|
|
104
107
|
}
|
|
105
|
-
// #endregion
|
|
106
|
-
// #region Public Methods
|
|
107
|
-
/** Selects the text of the component's `value`. */
|
|
108
108
|
async selectText() {
|
|
109
109
|
await this.componentOnReady();
|
|
110
110
|
this.textAreaEl.select();
|
|
111
111
|
}
|
|
112
|
-
/** Sets focus on the component. */
|
|
113
112
|
async setFocus() {
|
|
114
113
|
await componentFocusable(this);
|
|
115
114
|
this.textAreaEl.focus();
|
|
116
115
|
}
|
|
117
|
-
// #endregion
|
|
118
|
-
// #region Lifecycle
|
|
119
116
|
connectedCallback() {
|
|
120
117
|
super.connectedCallback();
|
|
121
118
|
connectLabel(this);
|
|
@@ -130,9 +127,8 @@ class TextArea extends LitElement {
|
|
|
130
127
|
disconnectLabel(this);
|
|
131
128
|
disconnectForm(this);
|
|
132
129
|
this.resizeObserver?.disconnect();
|
|
130
|
+
this.updateSizeToAuto?.cancel();
|
|
133
131
|
}
|
|
134
|
-
// #endregion
|
|
135
|
-
// #region Private Methods
|
|
136
132
|
handleGlobalAttributesChanged() {
|
|
137
133
|
this.requestUpdate();
|
|
138
134
|
}
|
|
@@ -188,8 +184,8 @@ class TextArea extends LitElement {
|
|
|
188
184
|
this.resizeObserver?.observe(el);
|
|
189
185
|
}
|
|
190
186
|
setTextAreaHeight() {
|
|
191
|
-
const { textAreaHeight, elHeight, footerHeight } = this.getHeightAndWidthOfElements();
|
|
192
|
-
if (footerHeight > 0 && textAreaHeight + footerHeight != elHeight) {
|
|
187
|
+
const { textAreaHeight, elHeight, footerHeight, validationMessageHeight } = this.getHeightAndWidthOfElements();
|
|
188
|
+
if (footerHeight > 0 && textAreaHeight + footerHeight + validationMessageHeight != elHeight) {
|
|
193
189
|
this.textAreaEl.style.height = `${elHeight - footerHeight}px`;
|
|
194
190
|
}
|
|
195
191
|
}
|
|
@@ -197,13 +193,15 @@ class TextArea extends LitElement {
|
|
|
197
193
|
const { height: textAreaHeight, width: textAreaWidth } = this.textAreaEl ? this.textAreaEl.getBoundingClientRect() : NO_DIMENSIONS;
|
|
198
194
|
const { height: elHeight, width: elWidth } = this.el.getBoundingClientRect();
|
|
199
195
|
const { height: footerHeight, width: footerWidth } = this.footerEl.value ? this.footerEl.value.getBoundingClientRect() : NO_DIMENSIONS;
|
|
196
|
+
const { height: validationMessageHeight } = this.validationMessageEl ? this.validationMessageEl.getBoundingClientRect() : NO_DIMENSIONS;
|
|
200
197
|
return {
|
|
201
198
|
textAreaHeight,
|
|
202
199
|
textAreaWidth,
|
|
203
200
|
elHeight,
|
|
204
201
|
elWidth,
|
|
205
202
|
footerHeight,
|
|
206
|
-
footerWidth
|
|
203
|
+
footerWidth,
|
|
204
|
+
validationMessageHeight
|
|
207
205
|
};
|
|
208
206
|
}
|
|
209
207
|
replacePlaceholdersInMessages() {
|
|
@@ -212,11 +210,15 @@ class TextArea extends LitElement {
|
|
|
212
210
|
isCharacterLimitExceeded() {
|
|
213
211
|
return this.value?.length > this.maxLength;
|
|
214
212
|
}
|
|
215
|
-
|
|
216
|
-
|
|
213
|
+
setValidationRef(el) {
|
|
214
|
+
if (!el) {
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
this.validationMessageEl = el;
|
|
218
|
+
}
|
|
217
219
|
render() {
|
|
218
220
|
const hasFooter = this.startSlotHasElements || this.endSlotHasElements || !!this.maxLength;
|
|
219
|
-
return InteractiveContainer({ disabled: this.disabled, children: html`<textarea aria-describedby=${this.guid ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid" || this.isCharacterLimitExceeded()} .ariaLabel=${getLabelText(this)} .autofocus=${this.el.autofocus} class=${safeClassMap({
|
|
221
|
+
return InteractiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap(CSS.wrapper)}><textarea aria-describedby=${this.guid ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid" || this.isCharacterLimitExceeded()} .ariaLabel=${getLabelText(this)} .autofocus=${this.el.autofocus} class=${safeClassMap({
|
|
220
222
|
[CSS.textArea]: true,
|
|
221
223
|
[CSS.readOnly]: this.readOnly,
|
|
222
224
|
[CSS.textAreaInvalid]: this.isCharacterLimitExceeded(),
|
|
@@ -229,7 +231,7 @@ class TextArea extends LitElement {
|
|
|
229
231
|
})} ${ref(this.footerEl)}><div class=${safeClassMap({
|
|
230
232
|
[CSS.container]: true,
|
|
231
233
|
[CSS.footerEndSlotOnly]: !this.startSlotHasElements && this.endSlotHasElements
|
|
232
|
-
})}><slot name=${SLOTS.footerStart} @slotchange=${(event) => this.startSlotHasElements = slotChangeHasAssignedElement(event)}></slot><slot name=${SLOTS.footerEnd} @slotchange=${(event) => this.endSlotHasElements = slotChangeHasAssignedElement(event)}></slot></div>${this.renderCharacterLimit()}</footer>${HiddenFormInputSlot({ component: this })}${this.isCharacterLimitExceeded() && html`<span aria-live=polite class=${safeClassMap(CSS.assistiveText)} id=${this.guid ?? nothing}>${this.replacePlaceholdersInMessages()}</span>` || ""}${this.validationMessage && this.status === "invalid" ? Validation({ icon: this.validationIcon, id: IDS.validationMessage, message: this.validationMessage, scale: this.scale, status: this.status }) : null}
|
|
234
|
+
})}><slot name=${SLOTS.footerStart} @slotchange=${(event) => this.startSlotHasElements = slotChangeHasAssignedElement(event)}></slot><slot name=${SLOTS.footerEnd} @slotchange=${(event) => this.endSlotHasElements = slotChangeHasAssignedElement(event)}></slot></div>${this.renderCharacterLimit()}</footer>${HiddenFormInputSlot({ component: this })}${this.isCharacterLimitExceeded() && html`<span aria-live=polite class=${safeClassMap(CSS.assistiveText)} id=${this.guid ?? nothing}>${this.replacePlaceholdersInMessages()}</span>` || ""}${this.validationMessage && this.status === "invalid" ? Validation({ icon: this.validationIcon, id: IDS.validationMessage, message: this.validationMessage, ref: this.setValidationRef, scale: this.scale, status: this.status }) : null}</div>` });
|
|
233
235
|
}
|
|
234
236
|
renderCharacterLimit() {
|
|
235
237
|
if (this.maxLength) {
|
|
@@ -6,23 +6,32 @@ import { SelectableComponent } from '../../utils/selectableComponent';
|
|
|
6
6
|
import { IconNameOrString } from '../calcite-icon/interfaces';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* @slot content-top - A slot for adding non-actionable elements above the component's content. Content slotted here will render in place of the `icon` property.
|
|
10
|
-
* @slot content-bottom - A slot for adding non-actionable elements below the component's content.
|
|
11
|
-
* @slot content-start - [Deprecated] use `content-top` slot instead. A slot for adding non-actionable elements before the component's content.
|
|
12
|
-
* @slot content-end - [Deprecated] use `content-bottom` slot instead. A slot for adding non-actionable elements after the component's content.
|
|
9
|
+
* @slot [content-top] - A slot for adding non-actionable elements above the component's content. Content slotted here will render in place of the `icon` property.
|
|
10
|
+
* @slot [content-bottom] - A slot for adding non-actionable elements below the component's content.
|
|
11
|
+
* @slot [content-start] - [Deprecated] use `content-top` slot instead. A slot for adding non-actionable elements before the component's content.
|
|
12
|
+
* @slot [content-end] - [Deprecated] use `content-bottom` slot instead. A slot for adding non-actionable elements after the component's content.
|
|
13
13
|
*/
|
|
14
14
|
export declare class Tile extends LitElement {
|
|
15
15
|
/**
|
|
16
16
|
* When `true`, the component is active.
|
|
17
17
|
*
|
|
18
18
|
* @deprecated
|
|
19
|
+
* @default false
|
|
19
20
|
*/
|
|
20
21
|
active: boolean;
|
|
21
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Specifies the alignment of the Tile's content.
|
|
24
|
+
*
|
|
25
|
+
* @default "start"
|
|
26
|
+
*/
|
|
22
27
|
alignment: Exclude<Alignment, "end">;
|
|
23
28
|
/** A description for the component, which displays below the heading. */
|
|
24
29
|
description: string;
|
|
25
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
32
|
+
*
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
26
35
|
disabled: boolean;
|
|
27
36
|
/**
|
|
28
37
|
* The component's embed mode.
|
|
@@ -30,6 +39,7 @@ export declare class Tile extends LitElement {
|
|
|
30
39
|
* When `true`, renders without a border and padding for use by other components.
|
|
31
40
|
*
|
|
32
41
|
* @deprecated No longer necessary.
|
|
42
|
+
* @default false
|
|
33
43
|
*/
|
|
34
44
|
embed: boolean;
|
|
35
45
|
/** The component header text, which displays between the icon and description. */
|
|
@@ -38,16 +48,28 @@ export declare class Tile extends LitElement {
|
|
|
38
48
|
href: string;
|
|
39
49
|
/** Specifies an icon to display. */
|
|
40
50
|
icon: IconNameOrString;
|
|
41
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
53
|
+
*
|
|
54
|
+
* @default false
|
|
55
|
+
*/
|
|
42
56
|
iconFlipRtl: boolean;
|
|
43
57
|
/** Accessible name for the component. */
|
|
44
58
|
label: string;
|
|
45
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* Specifies the size of the component.
|
|
61
|
+
*
|
|
62
|
+
* @default "m"
|
|
63
|
+
*/
|
|
46
64
|
scale: Scale;
|
|
47
|
-
/**
|
|
65
|
+
/**
|
|
66
|
+
* When `true` and the parent's `selectionMode` is `"single"`, `"single-persist"', or `"multiple"`, the component is selected.
|
|
67
|
+
*
|
|
68
|
+
* @default false
|
|
69
|
+
*/
|
|
48
70
|
selected: boolean;
|
|
49
71
|
/** Sets focus on the component. */
|
|
50
72
|
setFocus(): Promise<void>;
|
|
51
73
|
/** Fires when the selected state of the component changes. */
|
|
52
|
-
readonly calciteTileSelect: TargetedEvent<this,
|
|
74
|
+
readonly calciteTileSelect: TargetedEvent<this, void>;
|
|
53
75
|
}
|
|
@@ -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 { ref } from "lit-html/directives/ref.js";
|
|
@@ -39,8 +39,6 @@ const SLOTS = {
|
|
|
39
39
|
};
|
|
40
40
|
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{box-shadow:var(--calcite-tile-shadow, var(--calcite-shadow-none));box-sizing:border-box;display:inline-block}calcite-link{--calcite-link-text-color: var(--calcite-tile-link-text-color)}.container{background-color:var(--calcite-tile-background-color, var(--calcite-color-foreground-1));block-size:var(--calcite-container-size-content-fluid);border-radius:var(--calcite-tile-corner-radius, var(--calcite-corner-radius));box-sizing:border-box;color:var(--calcite-tile-text-color, var(--calcite-color-text-3));inline-size:var(--calcite-container-size-content-fluid);outline:var(--calcite-border-width-sm, 1px) solid var(--calcite-tile-border-color, var(--calcite-color-border-2));padding:var(--calcite-internal-tile-spacing);position:relative;-webkit-user-select:none;user-select:none}.container .selection-icon{color:var(--calcite-tile-text-color, var(--calcite-color-text-3))}.container.interactive{cursor:pointer}.container.interactive:hover,.container.interactive:focus,.container.interactive.selected{outline-color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand));z-index:var(--calcite-z-index)}.container.interactive:hover .selection-icon,.container.interactive:focus .selection-icon,.container.interactive.selected .selection-icon{color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}.container.interactive:focus{box-shadow:inset 0 0 0 1px var(--calcite-tile-accent-color-press, var(--calcite-color-brand));z-index:calc(var(--calcite-z-index) + 1)}.content-container,.row{align-items:flex-start;display:flex}.content-container{flex-direction:column;word-wrap:break-word;word-break:break-word;inline-size:var(--calcite-container-size-content-fluid)}.text-content-container{inline-size:100%;outline-color:transparent;padding:0}.text-content{display:flex;flex-direction:column}.heading{color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-2));font-weight:var(--calcite-font-weight-medium);line-height:1.20313rem;overflow-wrap:break-word}.description{font-weight:var(--calcite-font-weight-regular);overflow-wrap:break-word}.large-visual-deprecated{align-items:center;justify-content:center;min-block-size:12rem;text-align:center}.large-visual-deprecated .icon{align-self:center;block-size:64px;inline-size:64px}.large-visual-deprecated .selection-icon{position:absolute;inset-inline-start:var(--calcite-internal-tile-spacing);inset-block-start:var(--calcite-internal-tile-spacing);z-index:var(--calcite-z-index)}.large-visual-deprecated .text-content-container{justify-content:center}:host([alignment=center]) .icon{align-self:center}:host([alignment=center]) .text-content{text-align:center}:host([alignment=center]) slot[name=content-start]::slotted(*),:host([alignment=center]) slot[name=content-end]::slotted(*){align-self:center}:host([scale=s]){--calcite-internal-tile-spacing: var(--calcite-spacing-sm);max-inline-size:400px;min-inline-size:100px}:host([scale=s]) .heading{font-size:var(--calcite-font-size--2);line-height:1.03125rem}:host([scale=s]) .description{font-size:var(--calcite-font-size--3);line-height:.85938rem}:host([scale=m]){--calcite-internal-tile-spacing: var(--calcite-spacing-md);max-inline-size:460px;min-inline-size:140px}:host([scale=m]) .heading{font-size:var(--calcite-font-size--1);line-height:1.20313rem}:host([scale=m]) .description{font-size:var(--calcite-font-size--2);line-height:1.03125rem}:host([scale=l]){--calcite-internal-tile-spacing: var(--calcite-spacing-lg);max-inline-size:520px;min-inline-size:160px}:host([scale=l]) .heading{font-size:var(--calcite-font-size-0);line-height:1.375rem}:host([scale=l]) .description{font-size:var(--calcite-font-size--1);line-height:1.20313rem}.content-container--has-content,.row{gap:var(--calcite-internal-tile-spacing)}.content-container--has-only-content-top-and-bottom slot[name=content-top]::slotted(*){margin-block-end:var(--calcite-internal-tile-spacing)}:host([selection-appearance=border][layout=horizontal]) .container.selected:focus:before,:host([selection-appearance=border][layout=vertical]) .container.selected:focus:before{block-size:100%;box-shadow:inset 0 0 0 1px var(--calcite-tile-accent-color-press, var(--calcite-color-brand));content:"";display:block;inline-size:100%;inset-block-start:0;inset-inline-start:0;position:absolute}:host([selection-appearance=border][layout=horizontal]) .container.selected{box-shadow:inset 0 -4px 0 0 var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}:host([selection-appearance=border][layout=vertical]) .container.selected{box-shadow:inset 4px 0 0 0 var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}:host(:hover:not([disabled])) .heading,:host([active]:not([disabled])) .heading{color:var(--calcite-tile-heading-text-color, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .description,:host([active]:not([disabled])) .description{color:var(--calcite-tile-text-color, var(--calcite-color-text-2))}:host([href]:focus:not([disabled])) .container,:host([href]:hover:not([disabled])) .container{outline-color:var(--calcite-tile-link-color, var(--calcite-color-text-link));z-index:var(--calcite-z-index)}:host([href]:focus:not([disabled])) .icon,:host([href]:hover:not([disabled])) .icon{color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([href]:focus:not([disabled])) .heading,:host([href]:hover:not([disabled])) .heading{color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([href]:active:not([disabled])) .container{box-shadow:inset 0 0 0 1px var(--calcite-tile-link-color, var(--calcite-color-text-link));outline-color:var(--calcite-tile-link-color, var(--calcite-color-text-link))}:host([embed]) .container{padding:0}:host([selection-mode=none]) .container:hover,:host([selection-mode=none]) .container.selected{outline-color:var(--calcite-tile-border-color, var(--calcite-color-border-2))}:host([selection-mode=none]) .container:focus{outline-color:var(--calcite-tile-accent-color-press, var(--calcite-color-brand))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::slotted(*){max-inline-size:100%}`;
|
|
41
41
|
class Tile extends LitElement {
|
|
42
|
-
// #endregion
|
|
43
|
-
// #region Lifecycle
|
|
44
42
|
constructor() {
|
|
45
43
|
super();
|
|
46
44
|
this.hasContentBottom = false;
|
|
@@ -63,14 +61,11 @@ class Tile extends LitElement {
|
|
|
63
61
|
this.listen("keydown", this.keyDownHandler);
|
|
64
62
|
}
|
|
65
63
|
static {
|
|
66
|
-
this.properties = { hasContentBottom: [16, { state: true }], hasContentEnd: [16, { state: true }], hasContentStart: [16, { state: true }], hasContentTop: [16, { state: true }], active: [7, { reflect: true, type: Boolean }], alignment: [3, { reflect: true }], description: [3, { reflect: true }], disabled: [7, { reflect: true, type: Boolean }], embed: [7, { reflect: true, type: Boolean }], heading: [3, { reflect: true }], href: [3, { reflect: true }], icon: [3, { reflect: true }], iconFlipRtl: [7, { reflect: true, type: Boolean }], interactive: [5, { type: Boolean }], label: 1, layout: [3, { reflect: true }], scale: [3, { reflect: true }], selected: [7, { reflect: true, type: Boolean }], selectionAppearance: [3, { reflect: true }], selectionMode: [3, { reflect: true }] };
|
|
64
|
+
this.properties = { hasContentBottom: [16, {}, { state: true }], hasContentEnd: [16, {}, { state: true }], hasContentStart: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], active: [7, {}, { reflect: true, type: Boolean }], alignment: [3, {}, { reflect: true }], description: [3, {}, { reflect: true }], disabled: [7, {}, { reflect: true, type: Boolean }], embed: [7, {}, { reflect: true, type: Boolean }], heading: [3, {}, { reflect: true }], href: [3, {}, { reflect: true }], icon: [3, {}, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], interactive: [5, {}, { type: Boolean }], label: 1, layout: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selected: [7, {}, { reflect: true, type: Boolean }], selectionAppearance: [3, {}, { reflect: true }], selectionMode: [3, {}, { reflect: true }] };
|
|
67
65
|
}
|
|
68
66
|
static {
|
|
69
67
|
this.styles = styles;
|
|
70
68
|
}
|
|
71
|
-
// #endregion
|
|
72
|
-
// #region Public Methods
|
|
73
|
-
/** Sets focus on the component. */
|
|
74
69
|
async setFocus() {
|
|
75
70
|
await componentFocusable(this);
|
|
76
71
|
if (!this.disabled && this.interactive) {
|
|
@@ -80,8 +75,6 @@ class Tile extends LitElement {
|
|
|
80
75
|
updated() {
|
|
81
76
|
updateHostInteraction(this);
|
|
82
77
|
}
|
|
83
|
-
// #endregion
|
|
84
|
-
// #region Private Methods
|
|
85
78
|
clickHandler() {
|
|
86
79
|
if (this.interactive) {
|
|
87
80
|
this.setFocus();
|
|
@@ -121,8 +114,6 @@ class Tile extends LitElement {
|
|
|
121
114
|
}
|
|
122
115
|
}
|
|
123
116
|
}
|
|
124
|
-
// #endregion
|
|
125
|
-
// #region Rendering
|
|
126
117
|
renderSelectionIcon() {
|
|
127
118
|
const { selected, selectionAppearance, selectionMode } = this;
|
|
128
119
|
if (selectionAppearance === "icon" && selectionMode !== "none") {
|
|
@@ -6,11 +6,19 @@ import { Alignment, Layout, Scale, SelectionAppearance, SelectionMode } from '..
|
|
|
6
6
|
import { SelectableGroupComponent } from '../../utils/selectableComponent';
|
|
7
7
|
import { Tile } from '../calcite-tile/customElement.js';
|
|
8
8
|
|
|
9
|
-
/** @slot
|
|
9
|
+
/** @slot - A slot for adding `calcite-tile` elements. */
|
|
10
10
|
export declare class TileGroup extends LitElement {
|
|
11
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Specifies the alignment of each `calcite-tile`'s content.
|
|
13
|
+
*
|
|
14
|
+
* @default "start"
|
|
15
|
+
*/
|
|
12
16
|
alignment: Exclude<Alignment, "end">;
|
|
13
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
19
|
+
*
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
14
22
|
disabled: boolean;
|
|
15
23
|
/**
|
|
16
24
|
* Accessible name for the component.
|
|
@@ -22,21 +30,25 @@ export declare class TileGroup extends LitElement {
|
|
|
22
30
|
* Defines the layout of the component.
|
|
23
31
|
*
|
|
24
32
|
* Use `"horizontal"` for rows, and `"vertical"` for a single column.
|
|
33
|
+
*
|
|
34
|
+
* @default "horizontal"
|
|
25
35
|
*/
|
|
26
36
|
layout: Extract<Layout, "horizontal" | "vertical">;
|
|
27
|
-
/** Specifies the size of the component. */
|
|
28
|
-
scale: Scale;
|
|
29
37
|
/**
|
|
30
|
-
* Specifies the
|
|
38
|
+
* Specifies the size of the component.
|
|
31
39
|
*
|
|
32
|
-
* @
|
|
40
|
+
* @default "m"
|
|
33
41
|
*/
|
|
42
|
+
scale: Scale;
|
|
43
|
+
/** Specifies the component's selected items. */
|
|
34
44
|
readonly selectedItems: HTMLCalciteTileElement[];
|
|
35
45
|
/**
|
|
36
46
|
* Specifies the selection appearance, where:
|
|
37
47
|
*
|
|
38
48
|
* - `"icon"` (displays a checkmark or dot), or
|
|
39
49
|
* - `"border"` (displays a border).
|
|
50
|
+
*
|
|
51
|
+
* @default "icon"
|
|
40
52
|
*/
|
|
41
53
|
selectionAppearance: SelectionAppearance;
|
|
42
54
|
/**
|
|
@@ -46,8 +58,10 @@ export declare class TileGroup extends LitElement {
|
|
|
46
58
|
* - `"single"` (allows only one selected item),
|
|
47
59
|
* - `"single-persist"` (allows only one selected item and prevents de-selection),
|
|
48
60
|
* - `"none"` (allows no selected items).
|
|
61
|
+
*
|
|
62
|
+
* @default "none"
|
|
49
63
|
*/
|
|
50
64
|
selectionMode: Extract<"multiple" | "none" | "single" | "single-persist", SelectionMode>;
|
|
51
65
|
/** Fires when the component's selection changes. */
|
|
52
|
-
readonly calciteTileGroupSelect: TargetedEvent<this,
|
|
66
|
+
readonly calciteTileGroupSelect: TargetedEvent<this, void>;
|
|
53
67
|
}
|