@esri/calcite-components 3.2.0-next.9 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/THIRD-PARTY-LICENSES.md +64 -64
- package/dist/calcite/{FPXWKVFR.js → 2VWSWHUO.js} +2 -2
- package/dist/calcite/{ZUEC62JH.js → 2XJXDX35.js} +2 -2
- package/dist/calcite/{XGAHDOC4.js → 2ZPYAPUV.js} +1 -1
- package/dist/calcite/33LF6V2F.js +4 -0
- package/dist/calcite/{U6QYB4Y6.js → 3YMJIQXL.js} +1 -1
- package/dist/calcite/{W5LPGZ3Z.js → 4KW4L2NG.js} +2 -2
- package/dist/calcite/4LKLXJQ3.js +4 -0
- package/dist/calcite/{YFKXZTY6.js → 4LWRPTS6.js} +1 -1
- package/dist/calcite/{VWK4AMFR.js → 4LYUPSQL.js} +1 -1
- package/dist/calcite/4PW5TCQQ.js +4 -0
- package/dist/calcite/4X4WSYXE.js +4 -0
- package/dist/calcite/{RPHBZQXS.js → 4ZUPNG3R.js} +2 -2
- package/dist/calcite/57JX5UY5.js +4 -0
- package/dist/calcite/5ED2MDFW.js +4 -0
- package/dist/calcite/5EXDVQNV.js +4 -0
- package/dist/calcite/5QTBLU5A.js +4 -0
- package/dist/calcite/{7NWYY7VF.js → 5W7APHDH.js} +1 -1
- package/dist/calcite/{XMPXZG7Y.js → 5Z5PVQME.js} +2 -2
- package/dist/calcite/{RQSQFD5Q.js → 5ZIDO3WK.js} +1 -1
- package/dist/calcite/{UBNWJ6V4.js → 6FWOJZJZ.js} +2 -2
- package/dist/calcite/6GGGMC6V.js +4 -0
- package/dist/calcite/6XKL4KIC.js +4 -0
- package/dist/calcite/6YNUUPAM.js +4 -0
- package/dist/calcite/724E4DCX.js +4 -0
- package/dist/calcite/7F2T2TZB.js +4 -0
- package/dist/calcite/{OEIGMKGW.js → 7MKN2HK4.js} +2 -2
- package/dist/calcite/7PMKHZBL.js +4 -0
- package/dist/calcite/{EAWKYFN7.js → 7T6XJUIF.js} +2 -2
- package/dist/calcite/A4ZVVA7X.js +4 -0
- package/dist/calcite/A6PXYMIR.js +6 -0
- package/dist/calcite/A7GNZ3QS.js +4 -0
- package/dist/calcite/{YIDURBCW.js → AE3GS3TO.js} +2 -2
- package/dist/calcite/{J3AGLKSW.js → AGGZYDSJ.js} +2 -2
- package/dist/calcite/AIAWPDXP.js +4 -0
- package/dist/calcite/{UT5ISSYC.js → AMVXXWNE.js} +2 -2
- package/dist/calcite/AROVLRPQ.js +4 -0
- package/dist/calcite/ARQGD5AY.js +4 -0
- package/dist/calcite/{VNMFIOYL.js → BIZ5KGJ4.js} +2 -2
- package/dist/calcite/BLX3NI2A.js +4 -0
- package/dist/calcite/BRNVT3TW.js +4 -0
- package/dist/calcite/{GT5J4OHI.js → BTG3ZQHR.js} +1 -1
- package/dist/calcite/{XKNCNSCZ.js → BV4RQJCP.js} +1 -1
- package/dist/calcite/BZLUPMH7.js +4 -0
- package/dist/calcite/C3MM7YIK.js +4 -0
- package/dist/calcite/{DWD6IQXW.js → CBCJC3QL.js} +2 -2
- package/dist/calcite/COBNOPHA.js +4 -0
- package/dist/calcite/{TAOUTUXQ.js → CPPK4EL6.js} +2 -2
- package/dist/calcite/{CA6YA65Y.js → CXROJX6Z.js} +2 -2
- package/dist/calcite/{UROURTHC.js → D6JA6XN7.js} +2 -2
- package/dist/calcite/{F3OCAY5N.js → D6ZFQYBQ.js} +2 -2
- package/dist/calcite/D77FEDVT.js +4 -0
- package/dist/calcite/{KUAH3OMS.js → DHVU76YN.js} +2 -2
- package/dist/calcite/EDY2FMMS.js +4 -0
- package/dist/calcite/EFSPPMQZ.js +4 -0
- package/dist/calcite/EPTT6FOG.js +4 -0
- package/dist/calcite/EQGLLJWZ.js +4 -0
- package/dist/calcite/{NGCC3EHK.js → EYQ4MKP4.js} +2 -2
- package/dist/calcite/{HX5GYTN3.js → F3SWCYBI.js} +2 -2
- package/dist/calcite/{LUQ42CZJ.js → F5HXSDNY.js} +1 -1
- package/dist/calcite/F7IBMSKP.js +4 -0
- package/dist/calcite/FPUJ7TY4.js +4 -0
- package/dist/calcite/FR6DFQYT.js +4 -0
- package/dist/calcite/FRFT53GA.js +4 -0
- package/dist/calcite/{5G4YAFPK.js → FS2CKSAW.js} +2 -2
- package/dist/calcite/{TMMBEPOU.js → FYZ3GMZG.js} +2 -2
- package/dist/calcite/{L4QE7GFA.js → GBG57GTY.js} +2 -2
- package/dist/calcite/GDY6EEGJ.js +4 -0
- package/dist/calcite/GWTJU2YA.js +4 -0
- package/dist/calcite/GXX53HP4.js +4 -0
- package/dist/calcite/H77KJPTL.js +4 -0
- package/dist/calcite/{76RRKNUE.js → HFKSCF6J.js} +2 -2
- package/dist/calcite/HKVYLC2Z.js +4 -0
- package/dist/calcite/{XW7RFXYS.js → HL2RUMZE.js} +2 -2
- package/dist/calcite/HNYHSIBT.js +4 -0
- package/dist/calcite/I6U5TCK6.js +4 -0
- package/dist/calcite/I7DJ6W5P.js +4 -0
- package/dist/calcite/IDBLX5MO.js +4 -0
- package/dist/calcite/IET7BEH6.js +4 -0
- package/dist/calcite/{5PGW66FE.js → IH3P3OTS.js} +2 -2
- package/dist/calcite/{CIMTSQYU.js → IKVKGIXU.js} +2 -2
- package/dist/calcite/J7M4MHMP.js +4 -0
- package/dist/calcite/JHMJHPB7.js +4 -0
- package/dist/calcite/JJ3TNPPG.js +4 -0
- package/dist/calcite/{DMEQLA6I.js → JMNH6CX4.js} +1 -1
- package/dist/calcite/{MEJZAJ3U.js → JNUM2VBP.js} +2 -2
- package/dist/calcite/JO4MYWKA.js +4 -0
- package/dist/calcite/JO5PFPNE.js +4 -0
- package/dist/calcite/JWDWKQES.js +4 -0
- package/dist/calcite/{ME6TN5LW.js → JYXQGOKN.js} +1 -1
- package/dist/calcite/JZ7LMAA4.js +4 -0
- package/dist/calcite/KMO43TL6.js +4 -0
- package/dist/calcite/KNKTO7BF.js +4 -0
- package/dist/calcite/KSX4MO62.js +4 -0
- package/dist/calcite/KTLYNRYB.js +4 -0
- package/dist/calcite/L4MGQ327.js +4 -0
- package/dist/calcite/{6PKSN7BG.js → LFMPTQHL.js} +2 -2
- package/dist/calcite/{BWHAGL6P.js → LKMYJMH6.js} +2 -2
- package/dist/calcite/LPBOLYYY.js +4 -0
- package/dist/calcite/M6O66VHM.js +4 -0
- package/dist/calcite/{OLBTPMKZ.js → MAUHZXDA.js} +1 -1
- package/dist/calcite/MMABND5P.js +4 -0
- package/dist/calcite/{ZDRSJEVB.js → MN7FASIH.js} +2 -2
- package/dist/calcite/N7VCH2CZ.js +4 -0
- package/dist/calcite/{HMF6CMCF.js → NIF4A2CN.js} +2 -2
- package/dist/calcite/NIGVBTMJ.js +4 -0
- package/dist/calcite/{5P5EIPWV.js → NOQW64ZT.js} +2 -2
- package/dist/calcite/NT65MCOL.js +4 -0
- package/dist/calcite/NTYF4BYL.js +4 -0
- package/dist/calcite/{SYD7V3T3.js → O26S5KNA.js} +2 -2
- package/dist/calcite/{VMHMVJDK.js → O3OCUHQX.js} +3 -3
- package/dist/calcite/{JZ6ITVVK.js → OI2S43L6.js} +2 -2
- package/dist/calcite/{YVK3UOG3.js → ORUBBEG4.js} +3 -3
- package/dist/calcite/OTR7EFHA.js +4 -0
- package/dist/calcite/OXIG3UQX.js +4 -0
- package/dist/calcite/OYLV6C5O.js +4 -0
- package/dist/calcite/P7SDV27A.js +4 -0
- package/dist/calcite/PLAT5F6Z.js +4 -0
- package/dist/calcite/{K64ZX4NF.js → PXSMRHY6.js} +2 -2
- package/dist/calcite/{BLKTZDZZ.js → PZWAMXZN.js} +2 -2
- package/dist/calcite/{KARZSWGK.js → Q6D3SXPB.js} +1 -1
- package/dist/calcite/QDUF6PLE.js +4 -0
- package/dist/calcite/{YMRWZPE4.js → R4RIHSHB.js} +1 -1
- package/dist/calcite/{SZNXLFM7.js → RCGAFOG2.js} +2 -2
- package/dist/calcite/{BDUUNLZY.js → RFLLPTVQ.js} +2 -2
- package/dist/calcite/{N4NU45WV.js → RIPCYHYN.js} +2 -2
- package/dist/calcite/RP5ZF7Z4.js +4 -0
- package/dist/calcite/{ZBNBNZ5D.js → S2CYF2UT.js} +1 -1
- package/dist/calcite/S3OWE3OZ.js +4 -0
- package/dist/calcite/SELO3ARM.js +4 -0
- package/dist/calcite/SGERRLJ6.js +4 -0
- package/dist/calcite/SIJ4YJOE.js +4 -0
- package/dist/calcite/SR7WIFHH.js +4 -0
- package/dist/calcite/{L7D3HJ5T.js → TJVULDS6.js} +2 -2
- package/dist/calcite/TNGZVW6J.js +4 -0
- package/dist/calcite/{B6DDQFWD.js → TOJOSNQO.js} +2 -2
- package/dist/calcite/TV4RA23F.js +4 -0
- package/dist/calcite/{ELMUOA6Z.js → TZX6J2CY.js} +2 -2
- package/dist/calcite/{6TAMFRLR.js → U3ASAMB5.js} +2 -2
- package/dist/calcite/UAIMJEKZ.js +4 -0
- package/dist/calcite/UBFWUWDR.js +4 -0
- package/dist/calcite/{XDOL54LL.js → USZDNB3N.js} +1 -1
- package/dist/calcite/UXQGRKED.js +4 -0
- package/dist/calcite/VFQBULT7.js +4 -0
- package/dist/calcite/VGL3WVHU.js +4 -0
- package/dist/calcite/VL3H5XEC.js +4 -0
- package/dist/calcite/{2NOMXELK.js → VMKYGMQE.js} +2 -2
- package/dist/calcite/VS5DUK5N.js +4 -0
- package/dist/calcite/{GSZBQZWQ.js → VZKQBOJM.js} +2 -2
- package/dist/calcite/{HRPCSVT7.js → W27T3IZZ.js} +2 -2
- package/dist/calcite/W5KETLAD.js +4 -0
- package/dist/calcite/WMQZRSQB.js +4 -0
- package/dist/calcite/WOIUHABN.js +4 -0
- package/dist/calcite/{X4RQ67HG.js → WQASJHDE.js} +2 -2
- package/dist/calcite/WQMVF7FU.js +4 -0
- package/dist/calcite/WSN3L2FK.js +4 -0
- package/dist/calcite/XDXZC7TK.js +4 -0
- package/dist/calcite/{N6RZSJYP.js → XEDUET37.js} +2 -2
- package/dist/calcite/{E5PA4TBM.js → XJN5Z3JP.js} +2 -2
- package/dist/calcite/{PRBLEDZO.js → XQ3BDEY3.js} +2 -2
- package/dist/calcite/XRHSWUWV.js +4 -0
- package/dist/calcite/{HONPXEX2.js → YGX5ZVDM.js} +2 -2
- package/dist/calcite/{ZUCDSB5I.js → YMW6PFGO.js} +1 -1
- package/dist/calcite/{PRLQFMNF.js → YPQ2SFHJ.js} +2 -2
- package/dist/calcite/{PQD3MN6H.js → YSRW4TZC.js} +1 -1
- package/dist/calcite/{5OUJXYAL.js → YUCOP2VX.js} +2 -2
- package/dist/calcite/Z7R3MZGO.js +4 -0
- package/dist/calcite/{Y5JLRNSY.js → ZCWNMSG2.js} +2 -2
- package/dist/calcite/{UASJ4BDQ.js → ZJPKOYKY.js} +2 -2
- package/dist/calcite/{YDARVV7R.js → ZKLMMLWH.js} +1 -1
- package/dist/calcite/{EZOHJLFG.js → ZP55CECM.js} +2 -2
- package/dist/calcite/{QNGBTX3D.js → ZXTMKTM3.js} +2 -2
- package/dist/calcite/assets/combobox/t9n/messages.en.json +1 -1
- package/dist/calcite/assets/combobox/t9n/messages.json +1 -1
- package/dist/calcite/assets/icon/calendarHeatChart16.json +1 -0
- package/dist/calcite/assets/icon/calendarHeatChart24.json +1 -0
- package/dist/calcite/assets/icon/calendarHeatChart32.json +1 -0
- package/dist/calcite/assets/icon/matrixHeatChart16.json +1 -0
- package/dist/calcite/assets/icon/matrixHeatChart24.json +1 -0
- package/dist/calcite/assets/icon/matrixHeatChart32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodBlend16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodBlend24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodBlend32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodByAttribute16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodByAttribute24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodByAttribute32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToCenter16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToCenter24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToCenter32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToNadir16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToNadir24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodClosestToNadir32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodFirst16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodFirst24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodFirst32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLast16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLast24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLast32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLockRaster16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLockRaster24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodLockRaster32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMaximum16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMaximum24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMaximum32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMean16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMean24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMean32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMinimum16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMinimum24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodMinimum32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNone16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNone24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNone32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNorthWest16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNorthWest24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodNorthWest32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSeamline16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSeamline24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSeamline32.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSum16.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSum24.json +1 -0
- package/dist/calcite/assets/icon/mosaicMethodSum32.json +1 -0
- package/dist/calcite/assets/icon/progressBarChart16.json +1 -0
- package/dist/calcite/assets/icon/progressBarChart24.json +1 -0
- package/dist/calcite/assets/icon/progressBarChart32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualization16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualization24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualization32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOpen16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOpen24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOpen32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlined16F.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlined24F.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlined32F.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedColorLocked16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedColorLocked24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedColorLocked32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpen16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpen24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpen32.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked16.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked24.json +1 -0
- package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked32.json +1 -0
- package/dist/calcite/assets/input-time-picker/t9n/messages.ar.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.bg.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.bs.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ca.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.cs.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.da.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.de.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.el.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.en.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.es.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.et.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.fi.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.fr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.he.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.hr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.hu.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.id.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.it.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ja.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ko.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.lt.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.lv.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.nl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.no.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.pl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ro.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.ru.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sk.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sl.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.sv.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.th.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.tr.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.uk.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.vi.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/calcite/assets/input-time-picker/t9n/messages.zh-TW.json +1 -1
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +3 -3
- package/dist/chunks/ExpandToggle.js +7 -42
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +6 -2
- package/dist/chunks/XButton.js +1 -1
- package/dist/chunks/_sortable.js +8 -0
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +2 -7
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +15 -6
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -5
- package/dist/chunks/form.js +2 -2
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +2259 -2254
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +2 -2
- package/dist/chunks/locale.js +17 -59
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +3 -2
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +9 -5
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +5 -1
- package/dist/chunks/time.js +183 -148
- package/dist/chunks/useFocusTrap.js +2 -2
- package/dist/chunks/usePreventDocumentScroll.js +54 -0
- package/dist/chunks/useT9n.js +2 -2
- package/dist/chunks/utils.js +5 -3
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +10 -6
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.d.ts +23 -5
- package/dist/components/calcite-accordion/customElement.js +4 -9
- package/dist/components/calcite-accordion-item/customElement.d.ts +9 -5
- package/dist/components/calcite-accordion-item/customElement.js +10 -15
- package/dist/components/calcite-accordion-item/resources.d.ts +2 -0
- package/dist/components/calcite-action/customElement.d.ts +49 -21
- package/dist/components/calcite-action/customElement.js +3 -12
- package/dist/components/calcite-action-bar/customElement.d.ts +47 -24
- package/dist/components/calcite-action-bar/customElement.js +55 -36
- package/dist/components/calcite-action-bar/resources.d.ts +1 -0
- package/dist/components/calcite-action-bar/utils.d.ts +0 -14
- package/dist/components/calcite-action-group/customElement.d.ts +26 -16
- package/dist/components/calcite-action-group/customElement.js +3 -12
- package/dist/components/calcite-action-menu/customElement.d.ts +31 -9
- package/dist/components/calcite-action-menu/customElement.js +6 -14
- package/dist/components/calcite-action-pad/customElement.d.ts +37 -23
- package/dist/components/calcite-action-pad/customElement.js +11 -12
- package/dist/components/calcite-alert/customElement.d.ts +52 -25
- package/dist/components/calcite-alert/customElement.js +3 -17
- package/dist/components/calcite-autocomplete/customElement.d.ts +62 -31
- package/dist/components/calcite-autocomplete/customElement.js +11 -44
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +7 -3
- package/dist/components/calcite-autocomplete-item/customElement.js +2 -8
- package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +2 -6
- package/dist/components/calcite-avatar/customElement.d.ts +5 -1
- package/dist/components/calcite-avatar/customElement.js +2 -8
- package/dist/components/calcite-block/customElement.d.ts +64 -42
- package/dist/components/calcite-block/customElement.js +6 -19
- package/dist/components/calcite-block-group/customElement.d.ts +17 -7
- package/dist/components/calcite-block-group/customElement.js +6 -23
- package/dist/components/calcite-block-section/customElement.d.ts +17 -15
- package/dist/components/calcite-block-section/customElement.js +3 -15
- package/dist/components/calcite-button/customElement.d.ts +53 -20
- package/dist/components/calcite-button/customElement.js +5 -14
- package/dist/components/calcite-card/customElement.d.ts +37 -25
- package/dist/components/calcite-card/customElement.js +3 -12
- package/dist/components/calcite-card-group/customElement.d.ts +11 -7
- package/dist/components/calcite-card-group/customElement.js +2 -11
- package/dist/components/calcite-carousel/customElement.d.ts +45 -34
- package/dist/components/calcite-carousel/customElement.js +3 -14
- package/dist/components/calcite-carousel-item/customElement.d.ts +6 -2
- package/dist/components/calcite-carousel-item/customElement.js +2 -4
- package/dist/components/calcite-checkbox/customElement.d.ts +24 -6
- package/dist/components/calcite-checkbox/customElement.js +2 -11
- package/dist/components/calcite-chip/customElement.d.ts +51 -20
- package/dist/components/calcite-chip/customElement.js +3 -12
- package/dist/components/calcite-chip-group/customElement.d.ts +13 -7
- package/dist/components/calcite-chip-group/customElement.js +2 -11
- package/dist/components/calcite-color-picker/customElement.d.ts +57 -37
- package/dist/components/calcite-color-picker/customElement.js +24 -49
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +14 -3
- package/dist/components/calcite-color-picker-hex-input/customElement.js +2 -11
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +10 -2
- package/dist/components/calcite-color-picker-swatch/customElement.js +2 -8
- package/dist/components/calcite-combobox/customElement.d.ts +82 -44
- package/dist/components/calcite-combobox/customElement.js +144 -89
- package/dist/components/calcite-combobox/index.d.ts +1 -0
- package/dist/components/calcite-combobox/index.js +1 -0
- package/dist/components/calcite-combobox/resources.d.ts +9 -5
- package/dist/components/calcite-combobox-item/customElement.d.ts +29 -9
- package/dist/components/calcite-combobox-item/customElement.js +14 -13
- package/dist/components/calcite-combobox-item/resources.d.ts +7 -0
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +2 -6
- package/dist/components/calcite-date-picker/customElement.d.ts +40 -25
- package/dist/components/calcite-date-picker/customElement.js +3 -38
- package/dist/components/calcite-date-picker-day/customElement.d.ts +45 -9
- package/dist/components/calcite-date-picker-day/customElement.js +3 -12
- package/dist/components/calcite-date-picker-month/customElement.d.ts +5 -1
- package/dist/components/calcite-date-picker-month/customElement.js +10 -77
- package/dist/components/calcite-date-picker-month-header/customElement.js +3 -23
- package/dist/components/calcite-dialog/customElement.d.ts +86 -43
- package/dist/components/calcite-dialog/customElement.js +39 -95
- package/dist/components/calcite-dialog/resources.d.ts +0 -2
- package/dist/components/calcite-dropdown/customElement.d.ts +37 -15
- package/dist/components/calcite-dropdown/customElement.js +4 -25
- package/dist/components/calcite-dropdown-group/customElement.d.ts +4 -1
- package/dist/components/calcite-dropdown-group/customElement.js +2 -8
- package/dist/components/calcite-dropdown-item/customElement.d.ts +12 -4
- package/dist/components/calcite-dropdown-item/customElement.js +2 -11
- package/dist/components/calcite-fab/customElement.d.ts +35 -7
- package/dist/components/calcite-fab/customElement.js +3 -10
- package/dist/components/calcite-filter/customElement.d.ts +21 -24
- package/dist/components/calcite-filter/customElement.js +4 -22
- package/dist/components/calcite-flow/customElement.d.ts +1 -1
- package/dist/components/calcite-flow/customElement.js +2 -20
- package/dist/components/calcite-flow-item/customElement.d.ts +75 -41
- package/dist/components/calcite-flow-item/customElement.js +3 -28
- package/dist/components/calcite-graph/customElement.js +2 -6
- package/dist/components/calcite-handle/customElement.d.ts +16 -15
- package/dist/components/calcite-handle/customElement.js +3 -12
- package/dist/components/calcite-icon/customElement.d.ts +15 -3
- package/dist/components/calcite-icon/customElement.js +2 -8
- package/dist/components/calcite-inline-editable/customElement.d.ts +30 -19
- package/dist/components/calcite-inline-editable/customElement.js +6 -16
- package/dist/components/calcite-input/customElement.d.ts +57 -24
- package/dist/components/calcite-input/customElement.js +11 -22
- package/dist/components/calcite-input-date-picker/customElement.d.ts +61 -26
- package/dist/components/calcite-input-date-picker/customElement.js +10 -30
- package/dist/components/calcite-input-message/customElement.d.ts +16 -4
- package/dist/components/calcite-input-message/customElement.js +2 -8
- package/dist/components/calcite-input-number/customElement.d.ts +59 -25
- package/dist/components/calcite-input-number/customElement.js +47 -24
- package/dist/components/calcite-input-number/resources.d.ts +3 -0
- package/dist/components/calcite-input-text/customElement.d.ts +44 -22
- package/dist/components/calcite-input-text/customElement.js +8 -19
- package/dist/components/calcite-input-time-picker/customElement.d.ts +84 -28
- package/dist/components/calcite-input-time-picker/customElement.js +648 -522
- package/dist/components/calcite-input-time-picker/index.d.ts +1 -2
- package/dist/components/calcite-input-time-picker/index.js +1 -2
- package/dist/components/calcite-input-time-picker/resources.d.ts +18 -0
- package/dist/components/calcite-input-time-zone/customElement.d.ts +111 -89
- package/dist/components/calcite-input-time-zone/customElement.js +6 -28
- package/dist/components/calcite-label/customElement.d.ts +16 -4
- package/dist/components/calcite-label/customElement.js +2 -8
- package/dist/components/calcite-link/customElement.d.ts +7 -2
- package/dist/components/calcite-link/customElement.js +2 -11
- package/dist/components/calcite-list/customElement.d.ts +53 -41
- package/dist/components/calcite-list/customElement.js +17 -37
- package/dist/components/calcite-list-item/customElement.d.ts +66 -37
- package/dist/components/calcite-list-item/customElement.js +6 -26
- package/dist/components/calcite-list-item-group/customElement.d.ts +8 -3
- package/dist/components/calcite-list-item-group/customElement.js +2 -8
- package/dist/components/calcite-loader/customElement.d.ts +22 -4
- package/dist/components/calcite-loader/customElement.js +2 -13
- package/dist/components/calcite-menu/customElement.d.ts +8 -9
- package/dist/components/calcite-menu/customElement.js +4 -13
- package/dist/components/calcite-menu-item/customElement.d.ts +21 -14
- package/dist/components/calcite-menu-item/customElement.js +3 -12
- package/dist/components/calcite-meter/customElement.d.ts +60 -12
- package/dist/components/calcite-meter/customElement.js +2 -8
- package/dist/components/calcite-modal/customElement.d.ts +58 -27
- package/dist/components/calcite-modal/customElement.js +22 -56
- package/dist/components/calcite-navigation/customElement.d.ts +15 -11
- package/dist/components/calcite-navigation/customElement.js +3 -10
- package/dist/components/calcite-navigation-logo/customElement.d.ts +10 -2
- package/dist/components/calcite-navigation-logo/customElement.js +2 -7
- package/dist/components/calcite-navigation-user/customElement.d.ts +10 -2
- package/dist/components/calcite-navigation-user/customElement.js +2 -7
- package/dist/components/calcite-notice/customElement.d.ts +40 -21
- package/dist/components/calcite-notice/customElement.js +4 -13
- package/dist/components/calcite-option/customElement.d.ts +10 -2
- package/dist/components/calcite-option/customElement.js +2 -8
- package/dist/components/calcite-option-group/customElement.d.ts +6 -2
- package/dist/components/calcite-option-group/customElement.js +2 -8
- package/dist/components/calcite-pagination/customElement.d.ts +36 -21
- package/dist/components/calcite-pagination/customElement.js +3 -19
- package/dist/components/calcite-panel/customElement.d.ts +75 -42
- package/dist/components/calcite-panel/customElement.js +5 -26
- package/dist/components/calcite-panel/resources.d.ts +1 -0
- package/dist/components/calcite-popover/customElement.d.ts +59 -24
- package/dist/components/calcite-popover/customElement.js +3 -18
- package/dist/components/calcite-progress/customElement.d.ts +12 -2
- package/dist/components/calcite-progress/customElement.js +2 -4
- package/dist/components/calcite-radio-button/customElement.d.ts +18 -4
- package/dist/components/calcite-radio-button/customElement.js +6 -15
- package/dist/components/calcite-radio-button/resources.d.ts +1 -0
- package/dist/components/calcite-radio-button-group/customElement.d.ts +23 -9
- package/dist/components/calcite-radio-button-group/customElement.js +3 -12
- package/dist/components/calcite-rating/customElement.d.ts +33 -19
- package/dist/components/calcite-rating/customElement.js +3 -13
- package/dist/components/calcite-scrim/customElement.d.ts +7 -8
- package/dist/components/calcite-scrim/customElement.js +3 -9
- package/dist/components/calcite-segmented-control/customElement.d.ts +33 -12
- package/dist/components/calcite-segmented-control/customElement.js +2 -11
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +10 -2
- package/dist/components/calcite-segmented-control-item/customElement.js +2 -8
- package/dist/components/calcite-select/customElement.d.ts +23 -10
- package/dist/components/calcite-select/customElement.js +2 -11
- package/dist/components/calcite-sheet/customElement.d.ts +45 -18
- package/dist/components/calcite-sheet/customElement.js +40 -58
- package/dist/components/calcite-sheet/resources.d.ts +0 -2
- package/dist/components/calcite-shell/customElement.d.ts +17 -13
- package/dist/components/calcite-shell/customElement.js +7 -8
- package/dist/components/calcite-shell-center-row/customElement.d.ts +17 -5
- package/dist/components/calcite-shell-center-row/customElement.js +2 -8
- package/dist/components/calcite-shell-panel/customElement.d.ts +28 -14
- package/dist/components/calcite-shell-panel/customElement.js +156 -204
- package/dist/components/calcite-shell-panel/index.d.ts +1 -0
- package/dist/components/calcite-shell-panel/index.js +1 -0
- package/dist/components/calcite-shell-panel/interfaces.d.ts +8 -0
- package/dist/components/calcite-shell-panel/resources.d.ts +4 -1
- package/dist/components/calcite-slider/customElement.d.ts +73 -16
- package/dist/components/calcite-slider/customElement.js +2 -69
- package/dist/components/calcite-sort-handle/customElement.d.ts +39 -30
- package/dist/components/calcite-sort-handle/customElement.js +4 -15
- package/dist/components/calcite-sortable-list/customElement.d.ts +22 -6
- package/dist/components/calcite-sortable-list/customElement.js +2 -8
- package/dist/components/calcite-split-button/customElement.d.ts +41 -10
- package/dist/components/calcite-split-button/customElement.js +2 -13
- package/dist/components/calcite-stack/customElement.d.ts +10 -6
- package/dist/components/calcite-stack/customElement.js +2 -6
- package/dist/components/calcite-stepper/customElement.d.ts +28 -21
- package/dist/components/calcite-stepper/customElement.js +4 -21
- package/dist/components/calcite-stepper/resources.d.ts +5 -0
- package/dist/components/calcite-stepper-item/customElement.d.ts +29 -14
- package/dist/components/calcite-stepper-item/customElement.js +4 -14
- package/dist/components/calcite-stepper-item/resources.d.ts +1 -0
- package/dist/components/calcite-switch/customElement.d.ts +16 -4
- package/dist/components/calcite-switch/customElement.js +3 -12
- package/dist/components/calcite-tab/customElement.d.ts +3 -1
- package/dist/components/calcite-tab/customElement.js +3 -17
- package/dist/components/calcite-tab-nav/customElement.d.ts +12 -19
- package/dist/components/calcite-tab-nav/customElement.js +14 -25
- package/dist/components/calcite-tab-title/customElement.d.ts +27 -16
- package/dist/components/calcite-tab-title/customElement.js +3 -25
- package/dist/components/calcite-table/customElement.d.ts +62 -33
- package/dist/components/calcite-table/customElement.js +10 -19
- package/dist/components/calcite-table-cell/customElement.d.ts +11 -12
- package/dist/components/calcite-table-cell/customElement.js +3 -12
- package/dist/components/calcite-table-header/customElement.d.ts +10 -11
- package/dist/components/calcite-table-header/customElement.js +3 -12
- package/dist/components/calcite-table-row/customElement.d.ts +14 -5
- package/dist/components/calcite-table-row/customElement.js +36 -25
- package/dist/components/calcite-tabs/customElement.d.ts +22 -6
- package/dist/components/calcite-tabs/customElement.js +2 -13
- package/dist/components/calcite-text-area/customElement.d.ts +45 -25
- package/dist/components/calcite-text-area/customElement.js +33 -31
- package/dist/components/calcite-text-area/resources.d.ts +1 -0
- package/dist/components/calcite-tile/customElement.d.ts +32 -10
- package/dist/components/calcite-tile/customElement.js +2 -11
- package/dist/components/calcite-tile-group/customElement.d.ts +22 -8
- package/dist/components/calcite-tile-group/customElement.js +2 -8
- package/dist/components/calcite-tile-select/customElement.d.ts +34 -8
- package/dist/components/calcite-tile-select/customElement.js +2 -11
- package/dist/components/calcite-tile-select-group/customElement.d.ts +8 -2
- package/dist/components/calcite-tile-select-group/customElement.js +2 -6
- package/dist/components/calcite-time-picker/customElement.d.ts +18 -15
- package/dist/components/calcite-time-picker/customElement.js +25 -23
- package/dist/components/calcite-tip/customElement.d.ts +20 -15
- package/dist/components/calcite-tip/customElement.js +3 -9
- package/dist/components/calcite-tip-group/customElement.d.ts +1 -1
- package/dist/components/calcite-tip-group/customElement.js +1 -5
- package/dist/components/calcite-tip-manager/customElement.d.ts +17 -17
- package/dist/components/calcite-tip-manager/customElement.js +2 -12
- package/dist/components/calcite-tooltip/customElement.d.ts +27 -9
- package/dist/components/calcite-tooltip/customElement.js +2 -15
- package/dist/components/calcite-tree/customElement.d.ts +11 -7
- package/dist/components/calcite-tree/customElement.js +2 -8
- package/dist/components/calcite-tree-item/customElement.d.ts +18 -6
- package/dist/components/calcite-tree-item/customElement.js +2 -15
- package/dist/components/functional/Validation.d.ts +3 -2
- package/dist/controllers/time/time.d.ts +160 -0
- package/dist/controllers/useFocusTrap.d.ts +1 -1
- package/dist/controllers/usePreventDocumentScroll.d.ts +22 -0
- package/dist/controllers/useT9n.d.ts +1 -1
- package/dist/custom-theme/block.d.ts +3 -0
- package/dist/custom-theme/filter.d.ts +17 -0
- package/dist/custom-theme/input-number.d.ts +27 -0
- package/dist/custom-theme/notice.d.ts +3 -0
- package/dist/custom-theme/radio-button-group.d.ts +5 -0
- package/dist/custom-theme/radio-button.d.ts +7 -0
- package/dist/custom-theme/shell-panel.d.ts +11 -6
- package/dist/custom-theme/stepper-item.d.ts +22 -0
- package/dist/custom-theme/stepper.d.ts +8 -0
- package/dist/custom-theme/switch.d.ts +1 -0
- package/dist/custom-theme/time-picker.d.ts +11 -0
- package/dist/docs/api.json +767 -252
- package/dist/docs/docs.json +1079 -513
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +414 -22
- package/dist/docs/vscode.html-custom-data.json +39 -21
- package/dist/docs/web-types.json +792 -361
- package/dist/extras/vscode-data.json +39 -21
- package/dist/index.js +1 -1
- package/dist/loader.js +7 -7
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/dist/utils/dom.d.ts +9 -4
- package/dist/utils/locale.d.ts +1 -3
- package/dist/utils/overflow.d.ts +28 -0
- package/dist/utils/resources.d.ts +2 -0
- package/dist/utils/text.d.ts +7 -0
- package/dist/utils/time.d.ts +22 -24
- package/package.json +18 -14
- package/dist/calcite/23E2D2R3.js +0 -4
- package/dist/calcite/23E2D2R3.js.LEGAL.txt +0 -0
- package/dist/calcite/2BQ2VI6K.js +0 -4
- package/dist/calcite/2BQ2VI6K.js.LEGAL.txt +0 -3
- package/dist/calcite/2JE6OWPB.js +0 -4
- package/dist/calcite/2JE6OWPB.js.LEGAL.txt +0 -3
- package/dist/calcite/2JVGLXH3.js +0 -4
- package/dist/calcite/2JVGLXH3.js.LEGAL.txt +0 -3
- package/dist/calcite/2NOMXELK.js.LEGAL.txt +0 -3
- package/dist/calcite/36FH7AWU.js +0 -4
- package/dist/calcite/36FH7AWU.js.LEGAL.txt +0 -0
- package/dist/calcite/4BGMBXOD.js +0 -4
- package/dist/calcite/4BGMBXOD.js.LEGAL.txt +0 -3
- package/dist/calcite/4EWEUO6Q.js +0 -4
- package/dist/calcite/4EWEUO6Q.js.LEGAL.txt +0 -3
- package/dist/calcite/4KJ5CILV.js +0 -4
- package/dist/calcite/4KJ5CILV.js.LEGAL.txt +0 -0
- package/dist/calcite/4PC3AOIO.js +0 -4
- package/dist/calcite/4PC3AOIO.js.LEGAL.txt +0 -0
- package/dist/calcite/4ZF77VHP.js +0 -4
- package/dist/calcite/4ZF77VHP.js.LEGAL.txt +0 -0
- package/dist/calcite/5ELL365L.js +0 -4
- package/dist/calcite/5ELL365L.js.LEGAL.txt +0 -3
- package/dist/calcite/5G4YAFPK.js.LEGAL.txt +0 -3
- package/dist/calcite/5GBDR75K.js +0 -4
- package/dist/calcite/5GBDR75K.js.LEGAL.txt +0 -3
- package/dist/calcite/5JMGYEZU.js +0 -4
- package/dist/calcite/5JMGYEZU.js.LEGAL.txt +0 -0
- package/dist/calcite/5NBSZ23H.js +0 -4
- package/dist/calcite/5NBSZ23H.js.LEGAL.txt +0 -0
- package/dist/calcite/5OMZ2Q3Y.js +0 -4
- package/dist/calcite/5OMZ2Q3Y.js.LEGAL.txt +0 -3
- package/dist/calcite/5OUJXYAL.js.LEGAL.txt +0 -3
- package/dist/calcite/5P5EIPWV.js.LEGAL.txt +0 -3
- package/dist/calcite/5PGW66FE.js.LEGAL.txt +0 -3
- package/dist/calcite/5TA3HFIJ.js +0 -4
- package/dist/calcite/5TA3HFIJ.js.LEGAL.txt +0 -3
- package/dist/calcite/6K37MYMT.js +0 -4
- package/dist/calcite/6K37MYMT.js.LEGAL.txt +0 -3
- package/dist/calcite/6PKSN7BG.js.LEGAL.txt +0 -8
- package/dist/calcite/6TAMFRLR.js.LEGAL.txt +0 -3
- package/dist/calcite/6VMN5CYO.js +0 -4
- package/dist/calcite/6VMN5CYO.js.LEGAL.txt +0 -3
- package/dist/calcite/74T4RAPI.js +0 -6
- package/dist/calcite/74T4RAPI.js.LEGAL.txt +0 -145
- package/dist/calcite/76RRKNUE.js.LEGAL.txt +0 -3
- package/dist/calcite/7L5D4NIM.js +0 -4
- package/dist/calcite/7L5D4NIM.js.LEGAL.txt +0 -3
- package/dist/calcite/7M4QOWJM.js +0 -4
- package/dist/calcite/7M4QOWJM.js.LEGAL.txt +0 -3
- package/dist/calcite/7NWYY7VF.js.LEGAL.txt +0 -3
- package/dist/calcite/ALP4JNOA.js +0 -4
- package/dist/calcite/ALP4JNOA.js.LEGAL.txt +0 -3
- package/dist/calcite/AS4YQQHN.js +0 -4
- package/dist/calcite/AS4YQQHN.js.LEGAL.txt +0 -3
- package/dist/calcite/AZA6DPP6.js +0 -4
- package/dist/calcite/AZA6DPP6.js.LEGAL.txt +0 -3
- package/dist/calcite/B6DDQFWD.js.LEGAL.txt +0 -3
- package/dist/calcite/B6ODRDRS.js +0 -4
- package/dist/calcite/B6ODRDRS.js.LEGAL.txt +0 -0
- package/dist/calcite/BDUUNLZY.js.LEGAL.txt +0 -3
- package/dist/calcite/BEBIF4DX.js +0 -4
- package/dist/calcite/BEBIF4DX.js.LEGAL.txt +0 -3
- package/dist/calcite/BFI45G22.js +0 -4
- package/dist/calcite/BFI45G22.js.LEGAL.txt +0 -0
- package/dist/calcite/BIA6P4AQ.js +0 -4
- package/dist/calcite/BIA6P4AQ.js.LEGAL.txt +0 -0
- package/dist/calcite/BLKTZDZZ.js.LEGAL.txt +0 -0
- package/dist/calcite/BWHAGL6P.js.LEGAL.txt +0 -3
- package/dist/calcite/CA6YA65Y.js.LEGAL.txt +0 -0
- package/dist/calcite/CIMTSQYU.js.LEGAL.txt +0 -3
- package/dist/calcite/CLELS6OS.js +0 -4
- package/dist/calcite/CLELS6OS.js.LEGAL.txt +0 -3
- package/dist/calcite/CQOHQWE4.js +0 -4
- package/dist/calcite/CQOHQWE4.js.LEGAL.txt +0 -3
- package/dist/calcite/CTKW7PMX.js +0 -4
- package/dist/calcite/CTKW7PMX.js.LEGAL.txt +0 -3
- package/dist/calcite/DKXDAF3R.js +0 -4
- package/dist/calcite/DKXDAF3R.js.LEGAL.txt +0 -3
- package/dist/calcite/DMEQLA6I.js.LEGAL.txt +0 -3
- package/dist/calcite/DWD6IQXW.js.LEGAL.txt +0 -3
- package/dist/calcite/E2FUMM7Q.js +0 -4
- package/dist/calcite/E2FUMM7Q.js.LEGAL.txt +0 -3
- package/dist/calcite/E3MD2CE4.js +0 -4
- package/dist/calcite/E3MD2CE4.js.LEGAL.txt +0 -3
- package/dist/calcite/E5PA4TBM.js.LEGAL.txt +0 -0
- package/dist/calcite/E7FZ6JAM.js +0 -4
- package/dist/calcite/E7FZ6JAM.js.LEGAL.txt +0 -3
- package/dist/calcite/EAWKYFN7.js.LEGAL.txt +0 -3
- package/dist/calcite/EFPG5DKU.js +0 -4
- package/dist/calcite/EFPG5DKU.js.LEGAL.txt +0 -8
- package/dist/calcite/EJW765DT.js +0 -4
- package/dist/calcite/EJW765DT.js.LEGAL.txt +0 -3
- package/dist/calcite/EK3Q6YNI.js +0 -4
- package/dist/calcite/EK3Q6YNI.js.LEGAL.txt +0 -3
- package/dist/calcite/ELMUOA6Z.js.LEGAL.txt +0 -3
- package/dist/calcite/ERI7LM5L.js +0 -4
- package/dist/calcite/ERI7LM5L.js.LEGAL.txt +0 -3
- package/dist/calcite/EZOHJLFG.js.LEGAL.txt +0 -3
- package/dist/calcite/F3OCAY5N.js.LEGAL.txt +0 -3
- package/dist/calcite/FDPJTP5M.js +0 -4
- package/dist/calcite/FDPJTP5M.js.LEGAL.txt +0 -3
- package/dist/calcite/FGDQPZ4X.js +0 -4
- package/dist/calcite/FGDQPZ4X.js.LEGAL.txt +0 -3
- package/dist/calcite/FLJ74JSX.js +0 -4
- package/dist/calcite/FLJ74JSX.js.LEGAL.txt +0 -3
- package/dist/calcite/FPXWKVFR.js.LEGAL.txt +0 -3
- package/dist/calcite/FUONTZUV.js +0 -4
- package/dist/calcite/FUONTZUV.js.LEGAL.txt +0 -0
- package/dist/calcite/G6JG3MWC.js +0 -4
- package/dist/calcite/G6JG3MWC.js.LEGAL.txt +0 -0
- package/dist/calcite/G7Z3HD77.js +0 -4
- package/dist/calcite/G7Z3HD77.js.LEGAL.txt +0 -3
- package/dist/calcite/GAU64SV5.js +0 -4
- package/dist/calcite/GAU64SV5.js.LEGAL.txt +0 -3
- package/dist/calcite/GSZBQZWQ.js.LEGAL.txt +0 -3
- package/dist/calcite/GT5J4OHI.js.LEGAL.txt +0 -3
- package/dist/calcite/GVCZQ5TH.js +0 -4
- package/dist/calcite/GVCZQ5TH.js.LEGAL.txt +0 -3
- package/dist/calcite/GW75RHDD.js +0 -4
- package/dist/calcite/GW75RHDD.js.LEGAL.txt +0 -3
- package/dist/calcite/HEMJZHTB.js +0 -4
- package/dist/calcite/HEMJZHTB.js.LEGAL.txt +0 -0
- package/dist/calcite/HGBTVXCN.js +0 -4
- package/dist/calcite/HGBTVXCN.js.LEGAL.txt +0 -0
- package/dist/calcite/HMF6CMCF.js.LEGAL.txt +0 -3
- package/dist/calcite/HN4HD5C5.js +0 -4
- package/dist/calcite/HN4HD5C5.js.LEGAL.txt +0 -3
- package/dist/calcite/HONPXEX2.js.LEGAL.txt +0 -8
- package/dist/calcite/HRPCSVT7.js.LEGAL.txt +0 -3
- package/dist/calcite/HX5GYTN3.js.LEGAL.txt +0 -3
- package/dist/calcite/IIBAID4E.js +0 -4
- package/dist/calcite/IIBAID4E.js.LEGAL.txt +0 -3
- package/dist/calcite/IJIVFGDI.js +0 -4
- package/dist/calcite/IJIVFGDI.js.LEGAL.txt +0 -0
- package/dist/calcite/IKTQRBNH.js +0 -4
- package/dist/calcite/IKTQRBNH.js.LEGAL.txt +0 -0
- package/dist/calcite/IP7R44QH.js +0 -4
- package/dist/calcite/IP7R44QH.js.LEGAL.txt +0 -3
- package/dist/calcite/ISCWHRJE.js +0 -4
- package/dist/calcite/ISCWHRJE.js.LEGAL.txt +0 -0
- package/dist/calcite/J26UPXWF.js +0 -4
- package/dist/calcite/J26UPXWF.js.LEGAL.txt +0 -0
- package/dist/calcite/J2GV5C45.js +0 -4
- package/dist/calcite/J2GV5C45.js.LEGAL.txt +0 -3
- package/dist/calcite/J3AGLKSW.js.LEGAL.txt +0 -3
- package/dist/calcite/JDH66XE3.js +0 -4
- package/dist/calcite/JDH66XE3.js.LEGAL.txt +0 -0
- package/dist/calcite/JKPHGRQ2.js +0 -4
- package/dist/calcite/JKPHGRQ2.js.LEGAL.txt +0 -0
- package/dist/calcite/JL6MI2MV.js +0 -4
- package/dist/calcite/JL6MI2MV.js.LEGAL.txt +0 -3
- package/dist/calcite/JVMUJCWI.js +0 -4
- package/dist/calcite/JVMUJCWI.js.LEGAL.txt +0 -3
- package/dist/calcite/JW6ZTV5V.js +0 -4
- package/dist/calcite/JW6ZTV5V.js.LEGAL.txt +0 -0
- package/dist/calcite/JZ6ITVVK.js.LEGAL.txt +0 -3
- package/dist/calcite/K47EBDO7.js +0 -4
- package/dist/calcite/K47EBDO7.js.LEGAL.txt +0 -0
- package/dist/calcite/K64ZX4NF.js.LEGAL.txt +0 -3
- package/dist/calcite/KARZSWGK.js.LEGAL.txt +0 -3
- package/dist/calcite/KJHS3DUC.js +0 -4
- package/dist/calcite/KJHS3DUC.js.LEGAL.txt +0 -3
- package/dist/calcite/KQXQIA7X.js +0 -4
- package/dist/calcite/KQXQIA7X.js.LEGAL.txt +0 -0
- package/dist/calcite/KSUBS6I3.js +0 -4
- package/dist/calcite/KSUBS6I3.js.LEGAL.txt +0 -3
- package/dist/calcite/KUAH3OMS.js.LEGAL.txt +0 -0
- package/dist/calcite/KWGSRKB2.js +0 -4
- package/dist/calcite/KWGSRKB2.js.LEGAL.txt +0 -3
- package/dist/calcite/L2QV7BEF.js +0 -4
- package/dist/calcite/L2QV7BEF.js.LEGAL.txt +0 -0
- package/dist/calcite/L4QE7GFA.js.LEGAL.txt +0 -3
- package/dist/calcite/L7D3HJ5T.js.LEGAL.txt +0 -3
- package/dist/calcite/LD7PCMLJ.js +0 -4
- package/dist/calcite/LD7PCMLJ.js.LEGAL.txt +0 -3
- package/dist/calcite/LDRFWT2S.js +0 -4
- package/dist/calcite/LDRFWT2S.js.LEGAL.txt +0 -3
- package/dist/calcite/LKGOEZ2G.js +0 -4
- package/dist/calcite/LKGOEZ2G.js.LEGAL.txt +0 -3
- package/dist/calcite/LUQ42CZJ.js.LEGAL.txt +0 -0
- package/dist/calcite/LW2DCXAC.js +0 -4
- package/dist/calcite/LW2DCXAC.js.LEGAL.txt +0 -0
- package/dist/calcite/LWVUNKYN.js +0 -4
- package/dist/calcite/LWVUNKYN.js.LEGAL.txt +0 -3
- package/dist/calcite/M7REQKYB.js +0 -4
- package/dist/calcite/M7REQKYB.js.LEGAL.txt +0 -3
- package/dist/calcite/ME6TN5LW.js.LEGAL.txt +0 -3
- package/dist/calcite/MEJZAJ3U.js.LEGAL.txt +0 -3
- package/dist/calcite/MJX4LXXP.js +0 -4
- package/dist/calcite/MJX4LXXP.js.LEGAL.txt +0 -3
- package/dist/calcite/MSQXBFZL.js +0 -4
- package/dist/calcite/MSQXBFZL.js.LEGAL.txt +0 -0
- package/dist/calcite/N2AYACQ5.js +0 -4
- package/dist/calcite/N2AYACQ5.js.LEGAL.txt +0 -0
- package/dist/calcite/N4NU45WV.js.LEGAL.txt +0 -3
- package/dist/calcite/N6RZSJYP.js.LEGAL.txt +0 -3
- package/dist/calcite/NDMJCJAY.js +0 -4
- package/dist/calcite/NDMJCJAY.js.LEGAL.txt +0 -3
- package/dist/calcite/NGCC3EHK.js.LEGAL.txt +0 -3
- package/dist/calcite/NM6R3HQT.js +0 -4
- package/dist/calcite/NM6R3HQT.js.LEGAL.txt +0 -0
- package/dist/calcite/NPO4ZXU4.js +0 -4
- package/dist/calcite/NPO4ZXU4.js.LEGAL.txt +0 -0
- package/dist/calcite/OAPBTJYQ.js +0 -4
- package/dist/calcite/OAPBTJYQ.js.LEGAL.txt +0 -3
- package/dist/calcite/ODCDBZNR.js +0 -4
- package/dist/calcite/ODCDBZNR.js.LEGAL.txt +0 -3
- package/dist/calcite/OEIGMKGW.js.LEGAL.txt +0 -3
- package/dist/calcite/OIUYUD4H.js +0 -4
- package/dist/calcite/OIUYUD4H.js.LEGAL.txt +0 -3
- package/dist/calcite/OLBTPMKZ.js.LEGAL.txt +0 -3
- package/dist/calcite/OMDDQNWC.js +0 -4
- package/dist/calcite/OMDDQNWC.js.LEGAL.txt +0 -3
- package/dist/calcite/OQU6WOZ5.js +0 -4
- package/dist/calcite/OQU6WOZ5.js.LEGAL.txt +0 -3
- package/dist/calcite/P2D57SGT.js +0 -4
- package/dist/calcite/P2D57SGT.js.LEGAL.txt +0 -3
- package/dist/calcite/P3UF244B.js +0 -4
- package/dist/calcite/P3UF244B.js.LEGAL.txt +0 -0
- package/dist/calcite/PD62EFQX.js +0 -4
- package/dist/calcite/PD62EFQX.js.LEGAL.txt +0 -0
- package/dist/calcite/PEUXTOEM.js +0 -4
- package/dist/calcite/PEUXTOEM.js.LEGAL.txt +0 -0
- package/dist/calcite/POX7HYZI.js +0 -4
- package/dist/calcite/POX7HYZI.js.LEGAL.txt +0 -0
- package/dist/calcite/PQD3MN6H.js.LEGAL.txt +0 -12
- package/dist/calcite/PRBLEDZO.js.LEGAL.txt +0 -3
- package/dist/calcite/PRLORPU7.js +0 -4
- package/dist/calcite/PRLORPU7.js.LEGAL.txt +0 -3
- package/dist/calcite/PRLQFMNF.js.LEGAL.txt +0 -3
- package/dist/calcite/PVIFFMKF.js +0 -4
- package/dist/calcite/PVIFFMKF.js.LEGAL.txt +0 -3
- package/dist/calcite/PXFQEOMU.js +0 -4
- package/dist/calcite/PXFQEOMU.js.LEGAL.txt +0 -3
- package/dist/calcite/PXV5QWJ4.js +0 -4
- package/dist/calcite/PXV5QWJ4.js.LEGAL.txt +0 -0
- package/dist/calcite/PYYBDBKI.js +0 -4
- package/dist/calcite/PYYBDBKI.js.LEGAL.txt +0 -0
- package/dist/calcite/Q7OT47PN.js +0 -4
- package/dist/calcite/Q7OT47PN.js.LEGAL.txt +0 -3
- package/dist/calcite/QEWIYGGJ.js +0 -4
- package/dist/calcite/QEWIYGGJ.js.LEGAL.txt +0 -0
- package/dist/calcite/QNGBTX3D.js.LEGAL.txt +0 -3
- package/dist/calcite/QQDACQC3.js +0 -4
- package/dist/calcite/QQDACQC3.js.LEGAL.txt +0 -3
- package/dist/calcite/QXN44LBP.js +0 -4
- package/dist/calcite/QXN44LBP.js.LEGAL.txt +0 -3
- package/dist/calcite/RADC6NKG.js +0 -4
- package/dist/calcite/RADC6NKG.js.LEGAL.txt +0 -3
- package/dist/calcite/RH7HXNXF.js +0 -4
- package/dist/calcite/RH7HXNXF.js.LEGAL.txt +0 -3
- package/dist/calcite/RHHOE7NU.js +0 -4
- package/dist/calcite/RHHOE7NU.js.LEGAL.txt +0 -0
- package/dist/calcite/RHWYPLKB.js +0 -4
- package/dist/calcite/RHWYPLKB.js.LEGAL.txt +0 -3
- package/dist/calcite/RN4BVOD6.js +0 -4
- package/dist/calcite/RN4BVOD6.js.LEGAL.txt +0 -0
- package/dist/calcite/RPHBZQXS.js.LEGAL.txt +0 -3
- package/dist/calcite/RQSQFD5Q.js.LEGAL.txt +0 -3
- package/dist/calcite/RSETZ22U.js +0 -4
- package/dist/calcite/RSETZ22U.js.LEGAL.txt +0 -0
- package/dist/calcite/RTEW7H7Y.js +0 -4
- package/dist/calcite/RTEW7H7Y.js.LEGAL.txt +0 -3
- package/dist/calcite/S4LLAJCJ.js +0 -4
- package/dist/calcite/S4LLAJCJ.js.LEGAL.txt +0 -3
- package/dist/calcite/SD4E377H.js +0 -4
- package/dist/calcite/SD4E377H.js.LEGAL.txt +0 -0
- package/dist/calcite/SKMUEEVI.js +0 -4
- package/dist/calcite/SKMUEEVI.js.LEGAL.txt +0 -0
- package/dist/calcite/SL2IC3N7.js +0 -4
- package/dist/calcite/SL2IC3N7.js.LEGAL.txt +0 -3
- package/dist/calcite/SLSPWS2E.js +0 -4
- package/dist/calcite/SLSPWS2E.js.LEGAL.txt +0 -3
- package/dist/calcite/SYD7V3T3.js.LEGAL.txt +0 -3
- package/dist/calcite/SZNXLFM7.js.LEGAL.txt +0 -3
- package/dist/calcite/T4J4PTN5.js +0 -4
- package/dist/calcite/T4J4PTN5.js.LEGAL.txt +0 -0
- package/dist/calcite/TAOUTUXQ.js.LEGAL.txt +0 -0
- package/dist/calcite/TEU6RWE4.js +0 -4
- package/dist/calcite/TEU6RWE4.js.LEGAL.txt +0 -3
- package/dist/calcite/TJKAQE4P.js +0 -4
- package/dist/calcite/TJKAQE4P.js.LEGAL.txt +0 -0
- package/dist/calcite/TKBJS5F7.js +0 -4
- package/dist/calcite/TKBJS5F7.js.LEGAL.txt +0 -0
- package/dist/calcite/TM5PAPEN.js +0 -4
- package/dist/calcite/TM5PAPEN.js.LEGAL.txt +0 -0
- package/dist/calcite/TMMBEPOU.js.LEGAL.txt +0 -3
- package/dist/calcite/TMX3VA4P.js +0 -4
- package/dist/calcite/TMX3VA4P.js.LEGAL.txt +0 -3
- package/dist/calcite/TZLMDIM4.js +0 -4
- package/dist/calcite/TZLMDIM4.js.LEGAL.txt +0 -3
- package/dist/calcite/U6QYB4Y6.js.LEGAL.txt +0 -0
- package/dist/calcite/U7KIKT63.js +0 -4
- package/dist/calcite/U7KIKT63.js.LEGAL.txt +0 -0
- package/dist/calcite/UASJ4BDQ.js.LEGAL.txt +0 -3
- package/dist/calcite/UBNWJ6V4.js.LEGAL.txt +0 -3
- package/dist/calcite/UFNDM57S.js +0 -4
- package/dist/calcite/UFNDM57S.js.LEGAL.txt +0 -0
- package/dist/calcite/UROURTHC.js.LEGAL.txt +0 -3
- package/dist/calcite/UT5ISSYC.js.LEGAL.txt +0 -3
- package/dist/calcite/UUKFUQ6I.js +0 -4
- package/dist/calcite/UUKFUQ6I.js.LEGAL.txt +0 -3
- package/dist/calcite/UZ5SLOWB.js +0 -4
- package/dist/calcite/UZ5SLOWB.js.LEGAL.txt +0 -3
- package/dist/calcite/V6QZB7BK.js +0 -4
- package/dist/calcite/V6QZB7BK.js.LEGAL.txt +0 -3
- package/dist/calcite/VMHMVJDK.js.LEGAL.txt +0 -17
- package/dist/calcite/VMHWR2MM.js +0 -4
- package/dist/calcite/VMHWR2MM.js.LEGAL.txt +0 -3
- package/dist/calcite/VNMFIOYL.js.LEGAL.txt +0 -3
- package/dist/calcite/VWK4AMFR.js.LEGAL.txt +0 -3
- package/dist/calcite/VWXAGXCL.js +0 -4
- package/dist/calcite/VWXAGXCL.js.LEGAL.txt +0 -3
- package/dist/calcite/W3EFY7DT.js +0 -4
- package/dist/calcite/W3EFY7DT.js.LEGAL.txt +0 -3
- package/dist/calcite/W5LPGZ3Z.js.LEGAL.txt +0 -3
- package/dist/calcite/WHU4GIYD.js +0 -4
- package/dist/calcite/WHU4GIYD.js.LEGAL.txt +0 -0
- package/dist/calcite/WJUATVMM.js +0 -4
- package/dist/calcite/WJUATVMM.js.LEGAL.txt +0 -3
- package/dist/calcite/WLLCH7YU.js +0 -4
- package/dist/calcite/WLLCH7YU.js.LEGAL.txt +0 -0
- package/dist/calcite/WMMQFRJ2.js +0 -4
- package/dist/calcite/WMMQFRJ2.js.LEGAL.txt +0 -0
- package/dist/calcite/WQBUS3N7.js +0 -4
- package/dist/calcite/WQBUS3N7.js.LEGAL.txt +0 -3
- package/dist/calcite/X4RQ67HG.js.LEGAL.txt +0 -3
- package/dist/calcite/X7L2KATX.js +0 -4
- package/dist/calcite/X7L2KATX.js.LEGAL.txt +0 -3
- package/dist/calcite/XDOL54LL.js.LEGAL.txt +0 -3
- package/dist/calcite/XGAHDOC4.js.LEGAL.txt +0 -3
- package/dist/calcite/XKNCNSCZ.js.LEGAL.txt +0 -3
- package/dist/calcite/XKWYEWLG.js +0 -4
- package/dist/calcite/XKWYEWLG.js.LEGAL.txt +0 -3
- package/dist/calcite/XMPXZG7Y.js.LEGAL.txt +0 -3
- package/dist/calcite/XUP7BQZ5.js +0 -4
- package/dist/calcite/XUP7BQZ5.js.LEGAL.txt +0 -0
- package/dist/calcite/XW7RFXYS.js.LEGAL.txt +0 -0
- package/dist/calcite/Y4RVNYC5.js +0 -4
- package/dist/calcite/Y4RVNYC5.js.LEGAL.txt +0 -3
- package/dist/calcite/Y4T5NBHZ.js +0 -4
- package/dist/calcite/Y4T5NBHZ.js.LEGAL.txt +0 -3
- package/dist/calcite/Y5JLRNSY.js.LEGAL.txt +0 -7
- package/dist/calcite/YBMQVLKL.js +0 -4
- package/dist/calcite/YBMQVLKL.js.LEGAL.txt +0 -3
- package/dist/calcite/YDARVV7R.js.LEGAL.txt +0 -3
- package/dist/calcite/YEHRHJKU.js +0 -4
- package/dist/calcite/YEHRHJKU.js.LEGAL.txt +0 -3
- package/dist/calcite/YFKXZTY6.js.LEGAL.txt +0 -13
- package/dist/calcite/YIDURBCW.js.LEGAL.txt +0 -15
- package/dist/calcite/YKGFIBSZ.js +0 -4
- package/dist/calcite/YKGFIBSZ.js.LEGAL.txt +0 -0
- package/dist/calcite/YMRWZPE4.js.LEGAL.txt +0 -3
- package/dist/calcite/YVK3UOG3.js.LEGAL.txt +0 -3
- package/dist/calcite/ZBNBNZ5D.js.LEGAL.txt +0 -3
- package/dist/calcite/ZDRSJEVB.js.LEGAL.txt +0 -0
- package/dist/calcite/ZEYHJ2K3.js +0 -4
- package/dist/calcite/ZEYHJ2K3.js.LEGAL.txt +0 -3
- package/dist/calcite/ZIQ6NMM6.js +0 -4
- package/dist/calcite/ZIQ6NMM6.js.LEGAL.txt +0 -3
- package/dist/calcite/ZQXNE2KP.js +0 -4
- package/dist/calcite/ZQXNE2KP.js.LEGAL.txt +0 -0
- package/dist/calcite/ZUCDSB5I.js.LEGAL.txt +0 -3
- package/dist/calcite/ZUEC62JH.js.LEGAL.txt +0 -3
- package/dist/calcite/calcite.esm.js.LEGAL.txt +0 -3
|
@@ -2,14 +2,18 @@
|
|
|
2
2
|
import { PropertyValues } from 'lit';
|
|
3
3
|
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { Height, Layout, Position, Scale, Width } from '../interfaces';
|
|
5
|
-
import { DisplayMode } from './interfaces';
|
|
5
|
+
import { DisplayMode, ResizeValues } from './interfaces';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* @slot
|
|
9
|
-
* @slot action-bar - A slot for adding a `calcite-action-bar` to the component.
|
|
8
|
+
* @slot - A slot for adding custom content.
|
|
9
|
+
* @slot [action-bar] - A slot for adding a `calcite-action-bar` to the component.
|
|
10
10
|
*/
|
|
11
11
|
export declare class ShellPanel extends LitElement {
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* When `true`, hides the component's content area.
|
|
14
|
+
*
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
13
17
|
collapsed: boolean;
|
|
14
18
|
/**
|
|
15
19
|
* Specifies the display mode of the component, where:
|
|
@@ -23,6 +27,8 @@ export declare class ShellPanel extends LitElement {
|
|
|
23
27
|
* `"float-content"` does not display at full height with content separately detached from `calcite-action-bar` on top of center content.
|
|
24
28
|
*
|
|
25
29
|
* `"float-all"` detaches the `calcite-panel` and `calcite-action-bar` on top of center content.
|
|
30
|
+
*
|
|
31
|
+
* @default "dock"
|
|
26
32
|
*/
|
|
27
33
|
displayMode: DisplayMode;
|
|
28
34
|
/**
|
|
@@ -31,23 +37,25 @@ export declare class ShellPanel extends LitElement {
|
|
|
31
37
|
* @deprecated Use the `height` property instead.
|
|
32
38
|
*/
|
|
33
39
|
heightScale: Scale;
|
|
34
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* The direction of the component.
|
|
42
|
+
*
|
|
43
|
+
* @default "vertical"
|
|
44
|
+
*/
|
|
35
45
|
layout: Extract<"horizontal" | "vertical", Layout>;
|
|
36
46
|
/** Use this property to override individual strings used by the component. */
|
|
37
47
|
messageOverrides?: typeof this.messages._overrides;
|
|
38
48
|
/**
|
|
39
|
-
*
|
|
49
|
+
* Specifies the component's position. Will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
40
50
|
*
|
|
41
|
-
* @
|
|
51
|
+
* @default "start"
|
|
42
52
|
*/
|
|
43
|
-
private messages: Partial<{
|
|
44
|
-
resize: string;
|
|
45
|
-
}> & import('@arcgis/components-controllers').T9nMeta<{
|
|
46
|
-
resize: string;
|
|
47
|
-
}>;
|
|
48
|
-
/** Specifies the component's position. Will be flipped when the element direction is right-to-left (`"rtl"`). */
|
|
49
53
|
position: Extract<"start" | "end", Position>;
|
|
50
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* When `true` and `displayMode` is not `float-content` or `float`, the component's content area is resizable.
|
|
56
|
+
*
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
51
59
|
resizable: boolean;
|
|
52
60
|
/** Specifies the height of the component. */
|
|
53
61
|
height: Height;
|
|
@@ -55,8 +63,14 @@ export declare class ShellPanel extends LitElement {
|
|
|
55
63
|
* When `layout` is `vertical`, specifies the width of the component.
|
|
56
64
|
*
|
|
57
65
|
* @deprecated Use the `width` property instead.
|
|
66
|
+
* @default "m"
|
|
58
67
|
*/
|
|
59
68
|
widthScale: Scale;
|
|
60
69
|
/** Specifies the width of the component. */
|
|
61
70
|
width: Extract<Width, Scale>;
|
|
71
|
+
private messages: Partial<{
|
|
72
|
+
resize: string;
|
|
73
|
+
}> & import('@arcgis/lumina/controllers').T9nMeta<{
|
|
74
|
+
resize: string;
|
|
75
|
+
}>;
|
|
62
76
|
}
|
|
@@ -1,93 +1,52 @@
|
|
|
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
|
|
4
|
-
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
3
|
+
v3.2.0 */
|
|
4
|
+
import { C as CSS_UTILITY, a as resizeShiftStep, b as resizeStep, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit-html/directives/keyed.js";
|
|
6
6
|
import { ref } from "lit-html/directives/ref.js";
|
|
7
|
+
import { i as interact } from "../../chunks/interact.min.js";
|
|
7
8
|
import { html } from "lit";
|
|
8
|
-
import { LitElement, createEvent, safeClassMap
|
|
9
|
-
import {
|
|
9
|
+
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
10
|
+
import { g as getElementDir, k as getStylePixelValue, s as slotChangeGetAssignedElements, a as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
10
11
|
import { c as clamp } from "../../chunks/math.js";
|
|
11
12
|
import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
|
|
12
13
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
13
14
|
import { css } from "@lit/reactive-element/css-tag.js";
|
|
14
15
|
const CSS = {
|
|
15
16
|
container: "container",
|
|
17
|
+
actionBarContainer: "action-bar-container",
|
|
18
|
+
contentContainer: "content-container",
|
|
16
19
|
content: "content",
|
|
17
20
|
contentHeader: "content__header",
|
|
18
21
|
contentBody: "content__body",
|
|
19
22
|
contentOverlay: "content--overlay",
|
|
20
23
|
floatAll: "float-all",
|
|
21
24
|
floatContent: "float--content",
|
|
22
|
-
|
|
25
|
+
resizeHandle: "resize-handle",
|
|
26
|
+
resizeHandleBar: "resize-handle-bar"
|
|
23
27
|
};
|
|
24
28
|
const SLOTS = {
|
|
25
29
|
actionBar: "action-bar",
|
|
26
30
|
header: "header"
|
|
27
31
|
};
|
|
28
|
-
const styles = css`:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-max-height: var( --calcite-shell-panel-max-height, var(--calcite-shell-panel-detached-max-height, 20vh) )}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-max-height: var( --calcite-shell-panel-max-height, var(--calcite-shell-panel-detached-max-height, 40vh) )}.container{pointer-events:none;box-sizing:border-box;display:flex;block-size:100%;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}.container *{box-sizing:border-box}.container.float-all{margin-block:.5rem;margin-inline:.5rem}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:1px solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:1px solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=horizontal]) .float-all{border-inline:1px solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=horizontal]) .container{block-size:auto;inline-size:100%;flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-color-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-color-border-2)}.separator:focus{background-color:var(--calcite-color-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-color-background);padding:0;transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-inline:.5rem;margin-block:.5rem auto;block-size:auto;overflow:hidden;border-radius:.25rem;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:.5rem}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
32
|
+
const styles = css`:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-max-height: var( --calcite-shell-panel-max-height, var(--calcite-shell-panel-detached-max-height, 20vh) )}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-max-height: var( --calcite-shell-panel-max-height, var(--calcite-shell-panel-detached-max-height, 40vh) )}.container{pointer-events:none;box-sizing:border-box;display:flex;height:100%;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-shell-panel-text-color, var(--calcite-color-text-2))}.container *{box-sizing:border-box}.container.float-all{margin-block:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm)}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .float-all{border-inline:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .container{height:auto;width:100%;flex-direction:column}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-shell-panel-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=start][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);right:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=start][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);left:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=end][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=start][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=start][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-bottom-right-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-bottom-left-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=end][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-top-left-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-top-right-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}::slotted(calcite-panel),::slotted(calcite-flow){height:100%;width:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.action-bar-container{pointer-events:auto;box-sizing:border-box;display:flex;flex:1 1 auto}.content-container{position:relative;box-sizing:border-box;display:flex;height:100%;width:100%;flex:1 1 auto;align-items:stretch;align-self:stretch}:host([layout=horizontal]) .action-bar-container,:host([layout=horizontal]) .content-container{flex-direction:column}.content{pointer-events:auto;position:relative;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;padding:0;background-color:var(--calcite-shell-panel-background-color, var(--calcite-color-background));transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}:host([resizable][layout=vertical][position=start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=vertical][position=end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--calcite-shell-panel-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow))}:host([layout=vertical]) .content--overlay{top:0;height:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;width:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-bottom:auto;height:auto;overflow:hidden;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--calcite-shell-panel-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));margin-inline:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:var(--calcite-spacing-sm)}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([resizable][layout=vertical]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]) .content ::slotted(calcite-panel){border-inline-start:none;border-inline-end:none}:host([resizable][layout=horizontal]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]) .content ::slotted(calcite-panel){border-block-start:none;border-block-end:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
29
33
|
class ShellPanel extends LitElement {
|
|
30
34
|
constructor() {
|
|
31
35
|
super(...arguments);
|
|
32
36
|
this.actionBars = [];
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
this.separatorPointerDown = (event) => {
|
|
42
|
-
if (!isPrimaryPointerButton(event)) {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
this.calciteInternalShellPanelResizeStart.emit();
|
|
46
|
-
event.preventDefault();
|
|
47
|
-
const { separatorEl } = this;
|
|
48
|
-
if (separatorEl && document.activeElement !== separatorEl) {
|
|
49
|
-
separatorEl.focus();
|
|
50
|
-
}
|
|
51
|
-
if (this.layout === "horizontal") {
|
|
52
|
-
this.setInitialContentHeight();
|
|
53
|
-
this.initialClientY = event.clientY;
|
|
54
|
-
} else {
|
|
55
|
-
this.setInitialContentWidth();
|
|
56
|
-
this.initialClientX = event.clientX;
|
|
57
|
-
}
|
|
58
|
-
window.addEventListener("pointerup", this.separatorPointerUp);
|
|
59
|
-
window.addEventListener("pointermove", this.separatorPointerMove);
|
|
60
|
-
};
|
|
61
|
-
this.separatorPointerMove = (event) => {
|
|
62
|
-
event.preventDefault();
|
|
63
|
-
const { el, layout, initialContentWidth, initialContentHeight, position, initialClientX, initialClientY } = this;
|
|
64
|
-
const offset = layout === "horizontal" ? event.clientY - initialClientY : event.clientX - initialClientX;
|
|
65
|
-
const adjustmentDirection = layout === "vertical" && getElementDir(el) === "rtl" ? -1 : 1;
|
|
66
|
-
const adjustedOffset = layout === "horizontal" ? position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset : position === "end" ? -adjustmentDirection * offset : adjustmentDirection * offset;
|
|
67
|
-
if (layout === "horizontal") {
|
|
68
|
-
this.setContentHeight(initialContentHeight + adjustedOffset);
|
|
69
|
-
} else {
|
|
70
|
-
this.setContentWidth(initialContentWidth + adjustedOffset);
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
this.separatorPointerUp = (event) => {
|
|
74
|
-
if (!isPrimaryPointerButton(event)) {
|
|
75
|
-
return;
|
|
76
|
-
}
|
|
77
|
-
this.calciteInternalShellPanelResizeEnd.emit();
|
|
78
|
-
event.preventDefault();
|
|
79
|
-
window.removeEventListener("pointerup", this.separatorPointerUp);
|
|
80
|
-
window.removeEventListener("pointermove", this.separatorPointerMove);
|
|
37
|
+
this.messages = useT9n();
|
|
38
|
+
this.resizeValues = {
|
|
39
|
+
inlineSize: null,
|
|
40
|
+
blockSize: null,
|
|
41
|
+
minInlineSize: null,
|
|
42
|
+
minBlockSize: null,
|
|
43
|
+
maxInlineSize: null,
|
|
44
|
+
maxBlockSize: null
|
|
81
45
|
};
|
|
82
|
-
this.step = 1;
|
|
83
|
-
this.stepMultiplier = 10;
|
|
84
|
-
this.contentHeight = null;
|
|
85
|
-
this.contentWidth = null;
|
|
86
46
|
this.hasHeader = false;
|
|
87
47
|
this.collapsed = false;
|
|
88
48
|
this.displayMode = "dock";
|
|
89
49
|
this.layout = "vertical";
|
|
90
|
-
this.messages = useT9n();
|
|
91
50
|
this.position = "start";
|
|
92
51
|
this.resizable = false;
|
|
93
52
|
this.widthScale = "m";
|
|
@@ -95,166 +54,159 @@ class ShellPanel extends LitElement {
|
|
|
95
54
|
this.calciteInternalShellPanelResizeStart = createEvent({ cancelable: false });
|
|
96
55
|
}
|
|
97
56
|
static {
|
|
98
|
-
this.properties = {
|
|
57
|
+
this.properties = { resizeValues: [16, {}, { state: true }], hasHeader: [16, {}, { state: true }], collapsed: [7, {}, { reflect: true, type: Boolean }], displayMode: [3, {}, { reflect: true }], heightScale: [3, {}, { reflect: true }], layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], position: [3, {}, { reflect: true }], resizable: [7, {}, { reflect: true, type: Boolean }], height: [3, {}, { reflect: true }], widthScale: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }] };
|
|
99
58
|
}
|
|
100
59
|
static {
|
|
101
60
|
this.styles = styles;
|
|
102
61
|
}
|
|
103
|
-
// #endregion
|
|
104
|
-
// #region Lifecycle
|
|
105
62
|
willUpdate(changes) {
|
|
106
63
|
if (changes.has("layout") && (this.hasUpdated || this.layout !== "vertical")) {
|
|
107
64
|
this.setActionBarsLayout(this.actionBars);
|
|
108
65
|
}
|
|
109
66
|
}
|
|
110
|
-
loaded() {
|
|
111
|
-
this.updateAriaValues();
|
|
112
|
-
}
|
|
113
67
|
disconnectedCallback() {
|
|
114
68
|
super.disconnectedCallback();
|
|
115
|
-
this.
|
|
69
|
+
this.cleanupInteractions();
|
|
116
70
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
setContentWidth(width) {
|
|
120
|
-
const { contentWidthMax, contentWidthMin } = this;
|
|
121
|
-
const roundedWidth = Math.round(width);
|
|
122
|
-
this.contentWidth = typeof contentWidthMax === "number" && typeof contentWidthMin === "number" ? clamp(roundedWidth, contentWidthMin, contentWidthMax) : roundedWidth;
|
|
71
|
+
getContentElDOMRect() {
|
|
72
|
+
return this.contentEl.getBoundingClientRect();
|
|
123
73
|
}
|
|
124
|
-
|
|
125
|
-
const {
|
|
126
|
-
const
|
|
127
|
-
|
|
74
|
+
handleKeyDown(event) {
|
|
75
|
+
const { key, defaultPrevented, shiftKey } = event;
|
|
76
|
+
const { position, layout, resizable, contentEl, el, resizeValues: { maxBlockSize, maxInlineSize, minBlockSize, minInlineSize } } = this;
|
|
77
|
+
const arrowKeys = layout === "horizontal" ? ["ArrowUp", "ArrowDown"] : ["ArrowLeft", "ArrowRight"];
|
|
78
|
+
const keys = [...arrowKeys, "Home", "End"];
|
|
79
|
+
if (!resizable || !contentEl || defaultPrevented || !keys.includes(key)) {
|
|
128
80
|
return;
|
|
129
81
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
82
|
+
const rect = this.getContentElDOMRect();
|
|
83
|
+
const invertRTL = getElementDir(el) === "rtl" ? -1 : 1;
|
|
84
|
+
const stepValue = shiftKey ? resizeShiftStep : resizeStep;
|
|
85
|
+
switch (key) {
|
|
86
|
+
case "ArrowUp":
|
|
87
|
+
this.updateSize({
|
|
88
|
+
size: rect.height + (layout === "horizontal" && position === "end" ? stepValue : -stepValue),
|
|
89
|
+
type: "blockSize"
|
|
90
|
+
});
|
|
91
|
+
event.preventDefault();
|
|
92
|
+
break;
|
|
93
|
+
case "ArrowDown":
|
|
94
|
+
this.updateSize({
|
|
95
|
+
size: rect.height + (layout === "horizontal" && position === "end" ? -stepValue : stepValue),
|
|
96
|
+
type: "blockSize"
|
|
97
|
+
});
|
|
98
|
+
event.preventDefault();
|
|
99
|
+
break;
|
|
100
|
+
case "ArrowLeft":
|
|
101
|
+
this.updateSize({
|
|
102
|
+
size: rect.width + (layout === "vertical" && position === "end" ? stepValue : -stepValue) * invertRTL,
|
|
103
|
+
type: "inlineSize"
|
|
104
|
+
});
|
|
105
|
+
event.preventDefault();
|
|
106
|
+
break;
|
|
107
|
+
case "ArrowRight":
|
|
108
|
+
this.updateSize({
|
|
109
|
+
size: rect.width + (layout === "vertical" && position === "end" ? -stepValue : stepValue) * invertRTL,
|
|
110
|
+
type: "inlineSize"
|
|
111
|
+
});
|
|
112
|
+
event.preventDefault();
|
|
113
|
+
break;
|
|
114
|
+
case "Home":
|
|
115
|
+
this.updateSize({
|
|
116
|
+
size: layout === "horizontal" ? minBlockSize : minInlineSize,
|
|
117
|
+
type: layout === "horizontal" ? "blockSize" : "inlineSize"
|
|
118
|
+
});
|
|
119
|
+
event.preventDefault();
|
|
120
|
+
break;
|
|
121
|
+
case "End":
|
|
122
|
+
this.updateSize({
|
|
123
|
+
size: layout === "horizontal" ? maxBlockSize : maxInlineSize,
|
|
124
|
+
type: layout === "horizontal" ? "blockSize" : "inlineSize"
|
|
125
|
+
});
|
|
126
|
+
event.preventDefault();
|
|
127
|
+
break;
|
|
134
128
|
}
|
|
135
|
-
this.requestUpdate();
|
|
136
|
-
}
|
|
137
|
-
setContentHeight(height) {
|
|
138
|
-
const { contentHeightMax, contentHeightMin } = this;
|
|
139
|
-
const roundedHeight = Math.round(height);
|
|
140
|
-
this.contentHeight = typeof contentHeightMax === "number" && typeof contentHeightMin === "number" ? clamp(roundedHeight, contentHeightMin, contentHeightMax) : roundedHeight;
|
|
141
129
|
}
|
|
142
|
-
|
|
143
|
-
const
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
if (typeof valueNow === "number" && !isNaN(valueNow)) {
|
|
147
|
-
this.initialContentWidth = valueNow;
|
|
148
|
-
}
|
|
149
|
-
if (typeof max === "number" && !isNaN(max)) {
|
|
150
|
-
this.contentWidthMax = max;
|
|
151
|
-
}
|
|
152
|
-
if (typeof min === "number" && !isNaN(min)) {
|
|
153
|
-
this.contentWidthMin = min;
|
|
130
|
+
updateSize({ type, size }) {
|
|
131
|
+
const { contentEl, resizeValues } = this;
|
|
132
|
+
if (!contentEl) {
|
|
133
|
+
return;
|
|
154
134
|
}
|
|
135
|
+
const resizeMin = type === "blockSize" ? "minBlockSize" : "minInlineSize";
|
|
136
|
+
const resizeMax = type === "blockSize" ? "maxBlockSize" : "maxInlineSize";
|
|
137
|
+
const clamped = resizeValues[resizeMin] && resizeValues[resizeMax] ? clamp(size, resizeValues[resizeMin], resizeValues[resizeMax]) : size;
|
|
138
|
+
const rounded = Math.round(clamped);
|
|
139
|
+
this.resizeValues = {
|
|
140
|
+
...resizeValues,
|
|
141
|
+
[type]: rounded
|
|
142
|
+
};
|
|
143
|
+
contentEl.style[type] = size !== null ? `${rounded}px` : null;
|
|
155
144
|
}
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
if (typeof min === "number" && !isNaN(min)) {
|
|
167
|
-
this.contentHeightMin = min;
|
|
145
|
+
cleanupInteractions() {
|
|
146
|
+
this.interaction?.unset();
|
|
147
|
+
this.updateSize({ size: null, type: "inlineSize" });
|
|
148
|
+
this.updateSize({ size: null, type: "blockSize" });
|
|
149
|
+
}
|
|
150
|
+
async setupInteractions() {
|
|
151
|
+
this.cleanupInteractions();
|
|
152
|
+
const { el, contentEl, resizable, position, collapsed, resizeHandleEl, layout } = this;
|
|
153
|
+
if (!contentEl || collapsed || !resizable || !resizeHandleEl) {
|
|
154
|
+
return;
|
|
168
155
|
}
|
|
156
|
+
await this.el.componentOnReady();
|
|
157
|
+
const { inlineSize, minInlineSize, blockSize, minBlockSize, maxInlineSize, maxBlockSize } = window.getComputedStyle(contentEl);
|
|
158
|
+
const values = {
|
|
159
|
+
inlineSize: getStylePixelValue(inlineSize),
|
|
160
|
+
blockSize: getStylePixelValue(blockSize),
|
|
161
|
+
minInlineSize: getStylePixelValue(minInlineSize),
|
|
162
|
+
minBlockSize: getStylePixelValue(minBlockSize),
|
|
163
|
+
maxInlineSize: getStylePixelValue(maxInlineSize) || window.innerWidth,
|
|
164
|
+
maxBlockSize: getStylePixelValue(maxBlockSize) || window.innerHeight
|
|
165
|
+
};
|
|
166
|
+
this.resizeValues = values;
|
|
167
|
+
const rtl = getElementDir(el) === "rtl";
|
|
168
|
+
this.interaction = interact(contentEl, { context: el.ownerDocument }).resizable({
|
|
169
|
+
edges: {
|
|
170
|
+
top: position === "end" && layout === "horizontal" ? resizeHandleEl : false,
|
|
171
|
+
right: position === (rtl ? "end" : "start") && layout === "vertical" ? resizeHandleEl : false,
|
|
172
|
+
bottom: position === "start" && layout === "horizontal" ? resizeHandleEl : false,
|
|
173
|
+
left: position === (rtl ? "start" : "end") && layout === "vertical" ? resizeHandleEl : false
|
|
174
|
+
},
|
|
175
|
+
modifiers: [
|
|
176
|
+
interact.modifiers.restrictSize({
|
|
177
|
+
min: {
|
|
178
|
+
width: values.minInlineSize,
|
|
179
|
+
height: values.minBlockSize
|
|
180
|
+
},
|
|
181
|
+
max: {
|
|
182
|
+
width: values.maxInlineSize,
|
|
183
|
+
height: values.maxBlockSize
|
|
184
|
+
}
|
|
185
|
+
})
|
|
186
|
+
],
|
|
187
|
+
listeners: {
|
|
188
|
+
resizestart: () => {
|
|
189
|
+
this.calciteInternalShellPanelResizeStart.emit();
|
|
190
|
+
},
|
|
191
|
+
resizeend: () => {
|
|
192
|
+
this.calciteInternalShellPanelResizeEnd.emit();
|
|
193
|
+
},
|
|
194
|
+
move: ({ rect }) => {
|
|
195
|
+
const isBlock = layout === "horizontal";
|
|
196
|
+
this.updateSize({
|
|
197
|
+
size: isBlock ? rect.height : rect.width,
|
|
198
|
+
type: isBlock ? "blockSize" : "inlineSize"
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
});
|
|
169
203
|
}
|
|
170
204
|
storeContentEl(contentEl) {
|
|
171
205
|
this.contentEl = contentEl;
|
|
172
206
|
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
const multipliedStep = step * stepMultiplier;
|
|
177
|
-
const MOVEMENT_KEYS = [
|
|
178
|
-
"ArrowUp",
|
|
179
|
-
"ArrowDown",
|
|
180
|
-
"ArrowLeft",
|
|
181
|
-
"ArrowRight",
|
|
182
|
-
"Home",
|
|
183
|
-
"End",
|
|
184
|
-
"PageUp",
|
|
185
|
-
"PageDown"
|
|
186
|
-
];
|
|
187
|
-
if (MOVEMENT_KEYS.indexOf(key) > -1) {
|
|
188
|
-
event.preventDefault();
|
|
189
|
-
}
|
|
190
|
-
const dir = getElementDir(el);
|
|
191
|
-
const horizontalKeys = ["ArrowLeft", "ArrowRight"];
|
|
192
|
-
const verticalKeys = ["ArrowDown", "ArrowUp"];
|
|
193
|
-
const directionFactor = dir === "rtl" && horizontalKeys.includes(key) ? -1 : 1;
|
|
194
|
-
const increaseKeys = layout === "horizontal" ? position === "end" ? key === verticalKeys[1] || key === horizontalKeys[0] : key === verticalKeys[0] || key === horizontalKeys[1] : key === verticalKeys[1] || (position === "end" ? key === horizontalKeys[0] : key === horizontalKeys[1]);
|
|
195
|
-
if (increaseKeys) {
|
|
196
|
-
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
197
|
-
return layout === "horizontal" ? initialContentHeight + directionFactor * stepValue : initialContentWidth + directionFactor * stepValue;
|
|
198
|
-
}
|
|
199
|
-
const decreaseKeys = layout === "horizontal" ? position === "end" ? key === verticalKeys[0] || key === horizontalKeys[0] : key === verticalKeys[1] || key === horizontalKeys[1] : key === verticalKeys[0] || (position === "end" ? key === horizontalKeys[1] : key === horizontalKeys[0]);
|
|
200
|
-
if (decreaseKeys) {
|
|
201
|
-
const stepValue = event.shiftKey ? multipliedStep : step;
|
|
202
|
-
return layout === "horizontal" ? initialContentHeight - directionFactor * stepValue : initialContentWidth - directionFactor * stepValue;
|
|
203
|
-
}
|
|
204
|
-
if (key === "Home" && layout === "horizontal" && typeof contentHeightMin === "number") {
|
|
205
|
-
return contentHeightMin;
|
|
206
|
-
}
|
|
207
|
-
if (key === "Home" && layout === "vertical" && typeof contentWidthMin === "number") {
|
|
208
|
-
return contentWidthMin;
|
|
209
|
-
}
|
|
210
|
-
if (key === "End" && layout === "horizontal" && typeof contentHeightMax === "number") {
|
|
211
|
-
return contentHeightMax;
|
|
212
|
-
}
|
|
213
|
-
if (key === "End" && layout === "vertical" && typeof contentWidthMax === "number") {
|
|
214
|
-
return contentWidthMax;
|
|
215
|
-
}
|
|
216
|
-
if (key === "PageDown") {
|
|
217
|
-
return layout === "horizontal" ? initialContentHeight - multipliedStep : initialContentWidth - multipliedStep;
|
|
218
|
-
}
|
|
219
|
-
if (key === "PageUp") {
|
|
220
|
-
return layout === "horizontal" ? initialContentHeight + multipliedStep : initialContentWidth + multipliedStep;
|
|
221
|
-
}
|
|
222
|
-
return null;
|
|
223
|
-
}
|
|
224
|
-
initialKeydownWidth(event) {
|
|
225
|
-
this.setInitialContentWidth();
|
|
226
|
-
const width = this.getKeyAdjustedSize(event);
|
|
227
|
-
if (typeof width === "number") {
|
|
228
|
-
this.setContentWidth(width);
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
initialKeydownHeight(event) {
|
|
232
|
-
this.setInitialContentHeight();
|
|
233
|
-
const height = this.getKeyAdjustedSize(event);
|
|
234
|
-
if (typeof height === "number") {
|
|
235
|
-
this.setContentHeight(height);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
separatorKeyDown(event) {
|
|
239
|
-
if (this.layout === "horizontal") {
|
|
240
|
-
this.initialKeydownHeight(event);
|
|
241
|
-
} else {
|
|
242
|
-
this.initialKeydownWidth(event);
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
setInitialContentHeight() {
|
|
246
|
-
this.initialContentHeight = this.contentEl?.getBoundingClientRect().height;
|
|
247
|
-
}
|
|
248
|
-
setInitialContentWidth() {
|
|
249
|
-
this.initialContentWidth = this.contentEl?.getBoundingClientRect().width;
|
|
250
|
-
}
|
|
251
|
-
connectSeparator(separatorEl) {
|
|
252
|
-
this.disconnectSeparator();
|
|
253
|
-
this.separatorEl = separatorEl;
|
|
254
|
-
separatorEl?.addEventListener("pointerdown", this.separatorPointerDown);
|
|
255
|
-
}
|
|
256
|
-
disconnectSeparator() {
|
|
257
|
-
this.separatorEl?.removeEventListener("pointerdown", this.separatorPointerDown);
|
|
207
|
+
setResizeHandleEl(el) {
|
|
208
|
+
this.resizeHandleEl = el;
|
|
209
|
+
this.setupInteractions();
|
|
258
210
|
}
|
|
259
211
|
setActionBarsLayout(actionBars) {
|
|
260
212
|
actionBars.forEach((actionBar) => actionBar.layout = this.layout);
|
|
@@ -267,17 +219,17 @@ class ShellPanel extends LitElement {
|
|
|
267
219
|
handleHeaderSlotChange(event) {
|
|
268
220
|
this.hasHeader = slotChangeHasAssignedElement(event);
|
|
269
221
|
}
|
|
270
|
-
|
|
271
|
-
|
|
222
|
+
getResizeIcon() {
|
|
223
|
+
const { layout } = this;
|
|
224
|
+
return layout === "horizontal" ? "drag-resize-vertical" : "drag-resize-horizontal";
|
|
225
|
+
}
|
|
272
226
|
renderHeader() {
|
|
273
227
|
return keyed("header", html`<div class=${safeClassMap(CSS.contentHeader)} .hidden=${!this.hasHeader}><slot name=${SLOTS.header} @slotchange=${this.handleHeaderSlotChange}></slot></div>`);
|
|
274
228
|
}
|
|
275
229
|
render() {
|
|
276
|
-
const { collapsed, position,
|
|
230
|
+
const { collapsed, position, resizable, layout, displayMode, resizeValues } = this;
|
|
277
231
|
const dir = getElementDir(this.el);
|
|
278
|
-
const
|
|
279
|
-
const style = allowResizing ? layout === "horizontal" ? contentHeight ? { height: `${contentHeight}px` } : null : contentWidth ? { width: `${contentWidth}px` } : null : null;
|
|
280
|
-
const separatorNode = !collapsed && allowResizing ? keyed("separator", html`<div .ariaLabel=${this.messages.resize} .ariaOrientation=${layout === "horizontal" ? "vertical" : "horizontal"} .ariaValueMax=${layout == "horizontal" ? contentHeightMax : contentWidthMax} .ariaValueMin=${layout == "horizontal" ? contentHeightMin : contentWidthMin} .ariaValueNow=${layout == "horizontal" ? contentHeight ?? initialContentHeight : contentWidth ?? initialContentWidth} class=${safeClassMap(CSS.separator)} @keydown=${this.separatorKeyDown} role=separator tabindex=0 touch-action=none ${ref(this.connectSeparator)}></div>`) : null;
|
|
232
|
+
const separatorNode = !collapsed && resizable ? keyed("resize-handle", html`<div .ariaLabel=${this.messages.resize} .ariaOrientation=${layout === "horizontal" ? "vertical" : "horizontal"} .ariaValueMax=${layout == "horizontal" ? resizeValues.maxBlockSize : resizeValues.maxInlineSize} .ariaValueMin=${layout == "horizontal" ? resizeValues.minBlockSize : resizeValues.minInlineSize} .ariaValueNow=${layout == "horizontal" ? resizeValues.blockSize : resizeValues.inlineSize} class=${safeClassMap(CSS.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${ref(this.setResizeHandleEl)}><div class=${safeClassMap(CSS.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`) : null;
|
|
281
233
|
const getAnimationDir = () => {
|
|
282
234
|
if (layout === "horizontal") {
|
|
283
235
|
return position === "start" ? CSS_UTILITY.calciteAnimateInDown : CSS_UTILITY.calciteAnimateInUp;
|
|
@@ -286,7 +238,7 @@ class ShellPanel extends LitElement {
|
|
|
286
238
|
return isStart ? CSS_UTILITY.calciteAnimateInLeft : CSS_UTILITY.calciteAnimateInRight;
|
|
287
239
|
}
|
|
288
240
|
};
|
|
289
|
-
const contentNode = keyed("content", html`<div class=${safeClassMap({
|
|
241
|
+
const contentNode = html`<div class=${safeClassMap(CSS.contentContainer)}>${keyed("content", html`<div class=${safeClassMap({
|
|
290
242
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
291
243
|
[CSS.content]: true,
|
|
292
244
|
[CSS.contentOverlay]: displayMode === "overlay",
|
|
@@ -295,8 +247,8 @@ class ShellPanel extends LitElement {
|
|
|
295
247
|
[getAnimationDir()]: displayMode === "overlay",
|
|
296
248
|
[getDimensionClass("width", this.width, this.widthScale)]: !!(this.width || this.widthScale),
|
|
297
249
|
[getDimensionClass("height", this.height, this.heightScale)]: !!(this.height || this.heightScale)
|
|
298
|
-
})} .hidden=${collapsed}
|
|
299
|
-
const actionBarNode = keyed("action-bar", html`<slot name=${SLOTS.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot>`);
|
|
250
|
+
})} .hidden=${collapsed} ${ref(this.storeContentEl)}>${this.renderHeader()}<div class=${safeClassMap(CSS.contentBody)}><slot></slot></div>${separatorNode}</div>`)}</div>`;
|
|
251
|
+
const actionBarNode = keyed("action-bar-container", html`<div class=${safeClassMap(CSS.actionBarContainer)}><slot name=${SLOTS.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`);
|
|
300
252
|
const mainNodes = [actionBarNode, contentNode];
|
|
301
253
|
if (position === "end") {
|
|
302
254
|
mainNodes.reverse();
|
|
@@ -1 +1,9 @@
|
|
|
1
1
|
export type DisplayMode = "dock" | "float" | "overlay" | "float-content" | "float-all";
|
|
2
|
+
export interface ResizeValues {
|
|
3
|
+
inlineSize: number;
|
|
4
|
+
blockSize: number;
|
|
5
|
+
minInlineSize: number;
|
|
6
|
+
minBlockSize: number;
|
|
7
|
+
maxInlineSize: number;
|
|
8
|
+
maxBlockSize: number;
|
|
9
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const CSS: {
|
|
2
2
|
container: string;
|
|
3
|
+
actionBarContainer: string;
|
|
4
|
+
contentContainer: string;
|
|
3
5
|
content: string;
|
|
4
6
|
contentHeader: string;
|
|
5
7
|
contentBody: string;
|
|
@@ -7,8 +9,9 @@ export declare const CSS: {
|
|
|
7
9
|
float: string;
|
|
8
10
|
floatAll: string;
|
|
9
11
|
floatContent: string;
|
|
12
|
+
resizeHandle: string;
|
|
13
|
+
resizeHandleBar: string;
|
|
10
14
|
height: string;
|
|
11
|
-
separator: string;
|
|
12
15
|
};
|
|
13
16
|
export declare const SLOTS: {
|
|
14
17
|
actionBar: string;
|