@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
|
@@ -11,9 +11,13 @@ import { NumericInputComponent, TextualInputComponent } from '../calcite-input/c
|
|
|
11
11
|
import { IconNameOrString } from '../calcite-icon/interfaces';
|
|
12
12
|
import { Label } from '../calcite-label/customElement.js';
|
|
13
13
|
|
|
14
|
-
/** @slot action - A slot for positioning a button next to the component. */
|
|
14
|
+
/** @slot [action] - A slot for positioning a button next to the component. */
|
|
15
15
|
export declare class InputNumber extends LitElement {
|
|
16
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Specifies the text alignment of the component's value.
|
|
18
|
+
*
|
|
19
|
+
* @default "start"
|
|
20
|
+
*/
|
|
17
21
|
alignment: Extract<"start" | "end", Alignment>;
|
|
18
22
|
/**
|
|
19
23
|
* Specifies the type of content to autocomplete, for use in forms.
|
|
@@ -22,12 +26,17 @@ export declare class InputNumber extends LitElement {
|
|
|
22
26
|
* @mdn [autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
|
|
23
27
|
*/
|
|
24
28
|
autocomplete: AutoFill;
|
|
25
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* When `true`, a clear button is displayed when the component has a value.
|
|
31
|
+
*
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
26
34
|
clearable: boolean;
|
|
27
35
|
/**
|
|
28
36
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
29
37
|
*
|
|
30
38
|
* @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
39
|
+
* @default false
|
|
31
40
|
*/
|
|
32
41
|
disabled: boolean;
|
|
33
42
|
/**
|
|
@@ -36,7 +45,11 @@ export declare class InputNumber extends LitElement {
|
|
|
36
45
|
* When not set, the component will be associated with its ancestor form element, if any.
|
|
37
46
|
*/
|
|
38
47
|
form: string;
|
|
39
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* When `true`, number values are displayed with a group separator corresponding to the language and country format.
|
|
50
|
+
*
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
40
53
|
groupSeparator: boolean;
|
|
41
54
|
/**
|
|
42
55
|
* Specifies an icon to display.
|
|
@@ -44,13 +57,25 @@ export declare class InputNumber extends LitElement {
|
|
|
44
57
|
* @futureBreaking Remove boolean type as it is not supported.
|
|
45
58
|
*/
|
|
46
59
|
icon: IconNameOrString | boolean;
|
|
47
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
62
|
+
*
|
|
63
|
+
* @default false
|
|
64
|
+
*/
|
|
48
65
|
iconFlipRtl: boolean;
|
|
49
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* When `true`, restricts the component to integer numbers only and disables exponential notation.
|
|
68
|
+
*
|
|
69
|
+
* @default false
|
|
70
|
+
*/
|
|
50
71
|
integer: boolean;
|
|
51
72
|
/** Accessible name for the component's button or hyperlink. */
|
|
52
73
|
label: string;
|
|
53
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* When `true`, the component is in the loading state and `calcite-progress` is displayed.
|
|
76
|
+
*
|
|
77
|
+
* @default false
|
|
78
|
+
*/
|
|
54
79
|
loading: boolean;
|
|
55
80
|
/**
|
|
56
81
|
* When the component resides in a form,
|
|
@@ -69,18 +94,6 @@ export declare class InputNumber extends LitElement {
|
|
|
69
94
|
maxLength: number;
|
|
70
95
|
/** Use this property to override individual strings used by the component. */
|
|
71
96
|
messageOverrides?: typeof this.messages._overrides;
|
|
72
|
-
/**
|
|
73
|
-
* Made into a prop for testing purposes only
|
|
74
|
-
*
|
|
75
|
-
* @private
|
|
76
|
-
*/
|
|
77
|
-
private messages: Partial<{
|
|
78
|
-
clear: string;
|
|
79
|
-
loading: string;
|
|
80
|
-
}> & import('@arcgis/components-controllers').T9nMeta<{
|
|
81
|
-
clear: string;
|
|
82
|
-
loading: string;
|
|
83
|
-
}>;
|
|
84
97
|
/**
|
|
85
98
|
* When the component resides in a form,
|
|
86
99
|
* specifies the minimum value.
|
|
@@ -104,7 +117,11 @@ export declare class InputNumber extends LitElement {
|
|
|
104
117
|
* @mdn [name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)
|
|
105
118
|
*/
|
|
106
119
|
name: string;
|
|
107
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Specifies the placement of the buttons.
|
|
122
|
+
*
|
|
123
|
+
* @default "vertical"
|
|
124
|
+
*/
|
|
108
125
|
numberButtonType: InputPlacement;
|
|
109
126
|
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
110
127
|
numberingSystem: NumberingSystem;
|
|
@@ -120,16 +137,27 @@ export declare class InputNumber extends LitElement {
|
|
|
120
137
|
* When `true`, the component's value can be read, but cannot be modified.
|
|
121
138
|
*
|
|
122
139
|
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
140
|
+
* @default false
|
|
123
141
|
*/
|
|
124
142
|
readOnly: boolean;
|
|
125
143
|
/**
|
|
126
144
|
* When `true` and the component resides in a form,
|
|
127
145
|
* the component must have a value in order for the form to submit.
|
|
146
|
+
*
|
|
147
|
+
* @default false
|
|
128
148
|
*/
|
|
129
149
|
required: boolean;
|
|
130
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* Specifies the size of the component.
|
|
152
|
+
*
|
|
153
|
+
* @default "m"
|
|
154
|
+
*/
|
|
131
155
|
scale: Scale;
|
|
132
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* Specifies the status of the input field, which determines message and icons.
|
|
158
|
+
*
|
|
159
|
+
* @default "idle"
|
|
160
|
+
*/
|
|
133
161
|
status: Status;
|
|
134
162
|
/**
|
|
135
163
|
* Specifies the granularity that the component's value must adhere to.
|
|
@@ -146,7 +174,6 @@ export declare class InputNumber extends LitElement {
|
|
|
146
174
|
/**
|
|
147
175
|
* The current validation state of the component.
|
|
148
176
|
*
|
|
149
|
-
* @readonly
|
|
150
177
|
* @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
151
178
|
*/
|
|
152
179
|
readonly validity: MutableValidityState;
|
|
@@ -158,7 +185,14 @@ export declare class InputNumber extends LitElement {
|
|
|
158
185
|
/** Sets focus on the component. */
|
|
159
186
|
setFocus(): Promise<void>;
|
|
160
187
|
/** Fires each time a new value is typed and committed. */
|
|
161
|
-
readonly calciteInputNumberChange: TargetedEvent<this,
|
|
188
|
+
readonly calciteInputNumberChange: TargetedEvent<this, void>;
|
|
162
189
|
/** Fires each time a new value is typed. */
|
|
163
|
-
readonly calciteInputNumberInput: TargetedEvent<this,
|
|
190
|
+
readonly calciteInputNumberInput: TargetedEvent<this, void>;
|
|
191
|
+
private messages: Partial<{
|
|
192
|
+
clear: string;
|
|
193
|
+
loading: string;
|
|
194
|
+
}> & import('@arcgis/lumina/controllers').T9nMeta<{
|
|
195
|
+
clear: string;
|
|
196
|
+
loading: string;
|
|
197
|
+
}>;
|
|
164
198
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v3.2.0
|
|
3
|
+
v3.2.0 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { live } from "lit-html/directives/live.js";
|
|
6
6
|
import { keyed } from "lit-html/directives/keyed.js";
|
|
7
7
|
import { html, nothing } from "lit";
|
|
8
8
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
9
9
|
import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
|
|
10
|
-
import { useWatchAttributes } from "@arcgis/
|
|
10
|
+
import { useWatchAttributes } from "@arcgis/lumina/controllers";
|
|
11
11
|
import { v as setRequestedIcon, i as isPrimaryPointerButton, g as getElementDir } from "../../chunks/dom.js";
|
|
12
12
|
import { c as connectForm, i as internalHiddenInputInputEvent, d as disconnectForm, s as submitForm, H as HiddenFormInputSlot } from "../../chunks/form.js";
|
|
13
13
|
import { u as updateHostInteraction, I as InteractiveContainer } from "../../chunks/interactive.js";
|
|
@@ -22,6 +22,7 @@ import { css } from "@lit/reactive-element/css-tag.js";
|
|
|
22
22
|
const CSS = {
|
|
23
23
|
loader: "loader",
|
|
24
24
|
clearButton: "clear-button",
|
|
25
|
+
clearable: "clearable",
|
|
25
26
|
inputIcon: "icon",
|
|
26
27
|
prefix: "prefix",
|
|
27
28
|
suffix: "suffix",
|
|
@@ -30,7 +31,9 @@ const CSS = {
|
|
|
30
31
|
wrapper: "element-wrapper",
|
|
31
32
|
inputWrapper: "wrapper",
|
|
32
33
|
actionWrapper: "action-wrapper",
|
|
33
|
-
numberButtonItem: "number-button-item"
|
|
34
|
+
numberButtonItem: "number-button-item",
|
|
35
|
+
hasSuffix: "has-suffix",
|
|
36
|
+
hasPrefix: "has-prefix"
|
|
34
37
|
};
|
|
35
38
|
const IDS = {
|
|
36
39
|
validationMessage: "inputNumberValidationMessage"
|
|
@@ -38,10 +41,8 @@ const IDS = {
|
|
|
38
41
|
const SLOTS = {
|
|
39
42
|
action: "action"
|
|
40
43
|
};
|
|
41
|
-
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{transition:var(--calcite-animation-timing),block-size 0,outline-offset 0s;-webkit-appearance:none;position:relative;margin:0;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([scale=s]) .icon{inset-inline-start:.5rem}:host([scale=m]) .icon{inset-inline-start:.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;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}.clear-button{pointer-events:initial;order:4;margin:0;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);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}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px;inline-size:var(--calcite-input-prefix-size, auto)}.suffix{order:5;border-inline-start-width:0px;inline-size:var(--calcite-input-suffix-size, auto)}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;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}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);padding-block:0px;padding-inline:.5rem;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;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;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}.number-button-item:focus{background-color:var(--calcite-color-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-color-text-1)}.number-button-item:active{background-color:var(--calcite-color-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
44
|
+
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;block-size:var(--calcite-input-number-height, 1.5rem)}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:var(--calcite-input-number-height, 1.5rem)}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;block-size:var(--calcite-input-number-height, 2rem)}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:var(--calcite-input-number-height, 2rem)}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;block-size:var(--calcite-input-number-height, 2.75rem)}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:var(--calcite-input-number-height, 2.75rem)}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{transition:var(--calcite-animation-timing),block-size 0,outline-offset 0s;-webkit-appearance:none;position:relative;margin:0;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;font-family:inherit;font-weight:var(--calcite-font-weight-normal);background-color:var(--calcite-input-number-background-color, var(--calcite-color-foreground-1));color:var(--calcite-input-number-text-color, var(--calcite-color-text-1));border-radius:var(--calcite-input-number-corner-radius, var(--calcite-corner-radius-sharp))}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-input-number-border-color, var(--calcite-color-border-input))}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-number-placeholder-text-color, var(--calcite-color-text-3))}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-input-number-text-color-focus, var(--calcite-color-text-1))}input[readonly]{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-input-number-background-color, var(--calcite-color-background))}input[readonly]:focus{color:var(--calcite-input-number-text-color-focus, var(--calcite-color-text-1))}calcite-icon{color:var(--calcite-input-actions-icon-color, var(--calcite-color-text-3))}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([scale=s]) .icon{inset-inline-start:.5rem}:host([scale=m]) .icon{inset-inline-start:.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;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}.clear-button{pointer-events:initial;order:4;margin:0;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;outline-color:transparent;border-color:var(--calcite-input-number-border-color, var(--calcite-color-border-input));background-color:var(--calcite-input-actions-background-color, var(--calcite-color-foreground-1));border-inline-start-width:0px}.clear-button:hover{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;background-color:var(--calcite-input-actions-background-color-hover, var(--calcite-color-foreground-2))}.clear-button:hover calcite-icon{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;color:var(--calcite-input-actions-icon-color-hover, var(--calcite-color-text-1))}.clear-button:active{background-color:var(--calcite-input-actions-background-color-press, var(--calcite-color-foreground-3))}.clear-button:active calcite-icon{color:var(--calcite-input-actions-icon-color-press, var(--calcite-color-text-1))}.clear-button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.loader calcite-progress{--calcite-progress-background-color: var(--calcite-input-loading-background-color);--calcite-progress-fill-color: var(--calcite-input-loading-fill-color)}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;font-weight:var(--calcite-font-weight-medium);line-height:1;border-color:var(--calcite-input-number-border-color, var(--calcite-color-border-input))}.prefix{order:2;border-inline-end-width:0px;inline-size:var(--calcite-input-prefix-size, auto);background-color:var(--calcite-input-prefix-background-color, var(--calcite-color-background));color:var(--calcite-input-prefix-text-color, var(--calcite-color-text-2))}.suffix{order:5;border-inline-start-width:0px;inline-size:var(--calcite-input-suffix-size, auto);background-color:var(--calcite-input-suffix-background-color, var(--calcite-color-background));color:var(--calcite-input-suffix-text-color, var(--calcite-color-text-2))}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;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}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-inline-start-width:1px;border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;padding-block:0px;padding-inline:.5rem;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;border-inline-start-width:0px;border-color:var(--calcite-input-number-border-color, var(--calcite-color-border-input));background-color:var(--calcite-input-actions-background-color, var(--calcite-color-foreground-1))}.number-button-item calcite-icon{pointer-events:none;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}.number-button-item:disabled{pointer-events:none}.number-button-item:hover{background-color:var(--calcite-input-actions-background-color-hover, var(--calcite-color-foreground-2))}.number-button-item:hover calcite-icon{color:var(--calcite-input-actions-icon-color-hover, var(--calcite-color-text-1))}.number-button-item:active{background-color:var(--calcite-input-actions-background-color-press, var(--calcite-color-foreground-3))}.number-button-item:active calcite-icon{color:var(--calcite-input-actions-icon-color-press, var(--calcite-color-text-1))}.prefix,:host([number-button-type=horizontal]) .number-button-item[data-adjustment=down]{border-start-start-radius:var(--calcite-input-number-corner-radius, var(--calcite-corner-radius-sharp));border-end-start-radius:var(--calcite-input-number-corner-radius, var(--calcite-corner-radius-sharp))}:host([read-only]) .suffix,:host([read-only]) .wrapper:not(.has-suffix) .clear-button,:host([number-button-type=horizontal]) .number-button-item[data-adjustment=up]{border-end-end-radius:var(--calcite-input-number-corner-radius, var(--calcite-corner-radius-sharp));border-start-end-radius:var(--calcite-input-number-corner-radius, var(--calcite-corner-radius-sharp))}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px;border-end-end-radius:var(--calcite-input-number-corner-radius, var(--calcite-corner-radius-sharp))}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]{border-start-end-radius:var(--calcite-input-number-corner-radius, var(--calcite-corner-radius-sharp))}:host(:not([read-only])[number-button-type=horizontal]) .prefix,:host(:not([read-only])[number-button-type=horizontal]) input,.has-prefix input{border-start-start-radius:0;border-end-start-radius:0}.has-suffix input,:host .clearable input,:host(:not([read-only])) input,:host .suffix,:host .clear-button{border-start-end-radius:0;border-end-end-radius:0}:host .wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}::placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-placeholder-text-color, var(--calcite-color-text-3))}`;
|
|
42
45
|
class InputNumber extends LitElement {
|
|
43
|
-
// #endregion
|
|
44
|
-
// #region Lifecycle
|
|
45
46
|
constructor() {
|
|
46
47
|
super();
|
|
47
48
|
this.actionWrapperEl = createRef();
|
|
@@ -60,6 +61,7 @@ class InputNumber extends LitElement {
|
|
|
60
61
|
this.previousValueOrigin = "initial";
|
|
61
62
|
this.userChangedValue = false;
|
|
62
63
|
this._value = "";
|
|
64
|
+
this.messages = useT9n();
|
|
63
65
|
this.slottedActionElDisabledInternally = false;
|
|
64
66
|
this.alignment = "start";
|
|
65
67
|
this.clearable = false;
|
|
@@ -70,7 +72,6 @@ class InputNumber extends LitElement {
|
|
|
70
72
|
this.integer = false;
|
|
71
73
|
this.loading = false;
|
|
72
74
|
this.localeFormat = false;
|
|
73
|
-
this.messages = useT9n();
|
|
74
75
|
this.numberButtonType = "vertical";
|
|
75
76
|
this.readOnly = false;
|
|
76
77
|
this.required = false;
|
|
@@ -97,15 +98,11 @@ class InputNumber extends LitElement {
|
|
|
97
98
|
this.listen("keydown", this.keyDownHandler);
|
|
98
99
|
}
|
|
99
100
|
static {
|
|
100
|
-
this.properties = { displayedValue: [16, { state: true }], slottedActionElDisabledInternally: [16, { state: true }], alignment: [3, { reflect: true }], autocomplete: [0, { attribute: false }], clearable: [7, { reflect: true, type: Boolean }], disabled: [7, { reflect: true, type: Boolean }], editingEnabled: [7, { reflect: true, type: Boolean }], form: [3, { reflect: true }], groupSeparator: [7, { reflect: true, type: Boolean }], icon: [3, {
|
|
101
|
+
this.properties = { displayedValue: [16, {}, { state: true }], slottedActionElDisabledInternally: [16, {}, { state: true }], alignment: [3, {}, { reflect: true }], autocomplete: [0, {}, { attribute: false }], clearable: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], editingEnabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], icon: [3, { converter: stringOrBoolean }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], integer: [5, {}, { type: Boolean }], label: 1, loading: [7, {}, { reflect: true, type: Boolean }], localeFormat: [5, {}, { type: Boolean }], max: [11, {}, { reflect: true, type: Number }], maxLength: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], min: [11, {}, { reflect: true, type: Number }], minLength: [11, {}, { reflect: true, type: Number }], name: [3, {}, { reflect: true }], numberButtonType: [3, {}, { reflect: true }], numberingSystem: [3, {}, { reflect: true }], placeholder: 1, prefixText: 1, readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], step: [3, {}, { reflect: true }], suffixText: 1, validationIcon: [3, { converter: stringOrBoolean }, { reflect: true }], validationMessage: 1, validity: [0, {}, { attribute: false }], value: 1 };
|
|
101
102
|
}
|
|
102
103
|
static {
|
|
103
104
|
this.styles = styles;
|
|
104
105
|
}
|
|
105
|
-
get isClearable() {
|
|
106
|
-
return this.clearable && this.value.length > 0;
|
|
107
|
-
}
|
|
108
|
-
/** The component's value. */
|
|
109
106
|
get value() {
|
|
110
107
|
return this._value;
|
|
111
108
|
}
|
|
@@ -122,13 +119,9 @@ class InputNumber extends LitElement {
|
|
|
122
119
|
}
|
|
123
120
|
}
|
|
124
121
|
}
|
|
125
|
-
// #endregion
|
|
126
|
-
// #region Public Methods
|
|
127
|
-
/** Selects the text of the component's `value`. */
|
|
128
122
|
async selectText() {
|
|
129
123
|
this.childNumberEl?.select();
|
|
130
124
|
}
|
|
131
|
-
/** Sets focus on the component. */
|
|
132
125
|
async setFocus() {
|
|
133
126
|
await componentFocusable(this);
|
|
134
127
|
this.childNumberEl?.focus();
|
|
@@ -187,8 +180,9 @@ class InputNumber extends LitElement {
|
|
|
187
180
|
disconnectForm(this);
|
|
188
181
|
this.el.removeEventListener(internalHiddenInputInputEvent, this.onHiddenFormInputInput);
|
|
189
182
|
}
|
|
190
|
-
|
|
191
|
-
|
|
183
|
+
get isClearable() {
|
|
184
|
+
return this.clearable && this.value.length > 0;
|
|
185
|
+
}
|
|
192
186
|
handleGlobalAttributesChanged() {
|
|
193
187
|
this.requestUpdate();
|
|
194
188
|
}
|
|
@@ -326,6 +320,7 @@ class InputNumber extends LitElement {
|
|
|
326
320
|
return;
|
|
327
321
|
}
|
|
328
322
|
if (event.key === "ArrowDown") {
|
|
323
|
+
event.preventDefault();
|
|
329
324
|
this.nudgeNumberValue("down", event);
|
|
330
325
|
return;
|
|
331
326
|
}
|
|
@@ -449,20 +444,44 @@ class InputNumber extends LitElement {
|
|
|
449
444
|
const isValueDeleted = this.previousValue?.length > value.length || this.value?.length > value.length;
|
|
450
445
|
const valueHandleInteger = this.integer ? value.replace(/[e.]/g, "") : value;
|
|
451
446
|
const hasTrailingDecimalSeparator = valueHandleInteger.charAt(valueHandleInteger.length - 1) === ".";
|
|
447
|
+
const hasLeadingMinusSign = valueHandleInteger.charAt(0) === "-";
|
|
448
|
+
const hasLeadingZeros = valueHandleInteger.match(/^-?(0+)\d/);
|
|
452
449
|
const sanitizedValue = hasTrailingDecimalSeparator && isValueDeleted ? valueHandleInteger : sanitizeNumberString(valueHandleInteger);
|
|
453
450
|
const newValue = value && !sanitizedValue ? isValidNumber(this.previousValue) ? this.previousValue : "" : sanitizedValue;
|
|
454
451
|
let newLocalizedValue = numberStringFormatter.localize(newValue);
|
|
455
452
|
if (origin !== "connected" && !hasTrailingDecimalSeparator) {
|
|
456
453
|
newLocalizedValue = addLocalizedTrailingDecimalZeros(newLocalizedValue, newValue, numberStringFormatter);
|
|
457
454
|
}
|
|
458
|
-
|
|
455
|
+
if (hasTrailingDecimalSeparator && isValueDeleted) {
|
|
456
|
+
newLocalizedValue = `${newLocalizedValue}${numberStringFormatter.decimal}`;
|
|
457
|
+
}
|
|
458
|
+
if (hasLeadingZeros) {
|
|
459
|
+
newLocalizedValue = `${hasLeadingMinusSign ? newLocalizedValue.charAt(0) : ""}${numberStringFormatter.localize("0").repeat(hasLeadingZeros[1].length)}${hasLeadingMinusSign ? newLocalizedValue.slice(1) : newLocalizedValue}`;
|
|
460
|
+
}
|
|
461
|
+
this.displayedValue = newLocalizedValue;
|
|
459
462
|
this.setPreviousNumberValue(previousValue ?? this.value);
|
|
460
463
|
this.previousValueOrigin = origin;
|
|
461
464
|
this.userChangedValue = origin === "user" && this.value !== newValue;
|
|
462
|
-
|
|
465
|
+
const validNewValue = ["-", "."].includes(newValue) ? "" : newValue;
|
|
466
|
+
this.value = validNewValue;
|
|
467
|
+
const localizedCharAllowlist = /* @__PURE__ */ new Set([
|
|
468
|
+
"e",
|
|
469
|
+
"E",
|
|
470
|
+
numberStringFormatter.decimal,
|
|
471
|
+
numberStringFormatter.minusSign,
|
|
472
|
+
numberStringFormatter.group,
|
|
473
|
+
...numberStringFormatter.digits
|
|
474
|
+
]);
|
|
475
|
+
const childInputValue = this.childNumberEl?.value;
|
|
476
|
+
if (childInputValue) {
|
|
477
|
+
const sanitizedChildInputValue = Array.from(childInputValue).filter((char) => localizedCharAllowlist.has(char)).join("");
|
|
478
|
+
if (sanitizedChildInputValue !== childInputValue) {
|
|
479
|
+
this.setInputNumberValue(sanitizedChildInputValue);
|
|
480
|
+
}
|
|
481
|
+
}
|
|
463
482
|
if (origin === "direct") {
|
|
464
483
|
this.setInputNumberValue(newLocalizedValue);
|
|
465
|
-
this.setPreviousEmittedNumberValue(
|
|
484
|
+
this.setPreviousEmittedNumberValue(validNewValue);
|
|
466
485
|
}
|
|
467
486
|
if (nativeEvent) {
|
|
468
487
|
const calciteInputNumberInputEvent = this.calciteInputNumberInput.emit();
|
|
@@ -482,8 +501,6 @@ class InputNumber extends LitElement {
|
|
|
482
501
|
console.warn(`The specified value "${value}" cannot be parsed, or is out of range.`);
|
|
483
502
|
}
|
|
484
503
|
}
|
|
485
|
-
// #endregion
|
|
486
|
-
// #region Rendering
|
|
487
504
|
render() {
|
|
488
505
|
const dir = getElementDir(this.el);
|
|
489
506
|
const loader = html`<div class=${safeClassMap(CSS.loader)}><calcite-progress .label=${this.messages.loading} type=indeterminate></calcite-progress></div>`;
|
|
@@ -502,7 +519,13 @@ class InputNumber extends LitElement {
|
|
|
502
519
|
const prefixText = html`<div class=${safeClassMap(CSS.prefix)}>${this.prefixText}</div>`;
|
|
503
520
|
const suffixText = html`<div class=${safeClassMap(CSS.suffix)}>${this.suffixText}</div>`;
|
|
504
521
|
const childEl = keyed("localized-input", html`<input aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${this.el.autofocus} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${this.el.enterKeyHint ?? nothing} inputmode=${this.el.inputMode || "decimal"} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} name=${nothing} @blur=${this.inputNumberBlurHandler} @focus=${this.inputNumberFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputNumberKeyUpHandler} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} type=text .value=${live(this.displayedValue ?? "")} ${ref(this.setChildNumberElRef)}>`);
|
|
505
|
-
return InteractiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap({
|
|
522
|
+
return InteractiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap({
|
|
523
|
+
[CSS.inputWrapper]: true,
|
|
524
|
+
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
525
|
+
[CSS.hasSuffix]: this.suffixText,
|
|
526
|
+
[CSS.hasPrefix]: this.prefixText,
|
|
527
|
+
[CSS.clearable]: this.isClearable
|
|
528
|
+
})} ${ref(this.inputWrapperEl)}>${this.numberButtonType === "horizontal" && !this.readOnly ? numberButtonsHorizontalDown : null}${this.prefixText ? prefixText : null}<div class=${safeClassMap(CSS.wrapper)}>${childEl}${this.isClearable ? inputClearButton : null}${this.requestedIcon ? iconEl : null}${this.loading ? loader : null}</div><div class=${safeClassMap(CSS.actionWrapper)} ${ref(this.actionWrapperEl)}><slot name=${SLOTS.action}></slot></div>${this.numberButtonType === "vertical" && !this.readOnly ? numberButtonsVertical : null}${this.suffixText ? suffixText : null}${this.numberButtonType === "horizontal" && !this.readOnly ? numberButtonsHorizontalUp : null}${HiddenFormInputSlot({ component: this })}</div>${this.validationMessage && this.status === "invalid" ? Validation({ icon: this.validationIcon, id: IDS.validationMessage, message: this.validationMessage, scale: this.scale, status: this.status }) : null}` });
|
|
506
529
|
}
|
|
507
530
|
}
|
|
508
531
|
customElement("calcite-input-number", InputNumber);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const CSS: {
|
|
2
2
|
loader: string;
|
|
3
3
|
clearButton: string;
|
|
4
|
+
clearable: string;
|
|
4
5
|
editingEnabled: string;
|
|
5
6
|
inlineChild: string;
|
|
6
7
|
inputIcon: string;
|
|
@@ -13,6 +14,8 @@ export declare const CSS: {
|
|
|
13
14
|
actionWrapper: string;
|
|
14
15
|
resizeIconWrapper: string;
|
|
15
16
|
numberButtonItem: string;
|
|
17
|
+
hasSuffix: string;
|
|
18
|
+
hasPrefix: string;
|
|
16
19
|
};
|
|
17
20
|
export declare const IDS: {
|
|
18
21
|
validationMessage: string;
|
|
@@ -9,9 +9,13 @@ import { TextualInputComponent } from '../calcite-input/common/input';
|
|
|
9
9
|
import { IconNameOrString } from '../calcite-icon/interfaces';
|
|
10
10
|
import { Label } from '../calcite-label/customElement.js';
|
|
11
11
|
|
|
12
|
-
/** @slot action - A slot for positioning a button next to the component. */
|
|
12
|
+
/** @slot [action] - A slot for positioning a button next to the component. */
|
|
13
13
|
export declare class InputText extends LitElement {
|
|
14
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the text alignment of the component's value.
|
|
16
|
+
*
|
|
17
|
+
* @default "start"
|
|
18
|
+
*/
|
|
15
19
|
alignment: Extract<"start" | "end", Alignment>;
|
|
16
20
|
/**
|
|
17
21
|
* Specifies the type of content to autocomplete, for use in forms.
|
|
@@ -20,12 +24,17 @@ export declare class InputText extends LitElement {
|
|
|
20
24
|
* @mdn [autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
|
|
21
25
|
*/
|
|
22
26
|
autocomplete: AutoFill;
|
|
23
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* When `true`, a clear button is displayed when the component has a value.
|
|
29
|
+
*
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
24
32
|
clearable: boolean;
|
|
25
33
|
/**
|
|
26
34
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
27
35
|
*
|
|
28
36
|
* @mdn [disabled](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled)
|
|
37
|
+
* @default false
|
|
29
38
|
*/
|
|
30
39
|
disabled: boolean;
|
|
31
40
|
/**
|
|
@@ -40,11 +49,19 @@ export declare class InputText extends LitElement {
|
|
|
40
49
|
* @futureBreaking Remove boolean type as it is not supported.
|
|
41
50
|
*/
|
|
42
51
|
icon: IconNameOrString | boolean;
|
|
43
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
|
|
54
|
+
*
|
|
55
|
+
* @default false
|
|
56
|
+
*/
|
|
44
57
|
iconFlipRtl: boolean;
|
|
45
58
|
/** Accessible name for the component's button or hyperlink. */
|
|
46
59
|
label: string;
|
|
47
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* When `true`, the component is in the loading state and `calcite-progress` is displayed.
|
|
62
|
+
*
|
|
63
|
+
* @default false
|
|
64
|
+
*/
|
|
48
65
|
loading: boolean;
|
|
49
66
|
/**
|
|
50
67
|
* When the component resides in a form,
|
|
@@ -55,18 +72,6 @@ export declare class InputText extends LitElement {
|
|
|
55
72
|
maxLength: number;
|
|
56
73
|
/** Use this property to override individual strings used by the component. */
|
|
57
74
|
messageOverrides?: typeof this.messages._overrides;
|
|
58
|
-
/**
|
|
59
|
-
* Made into a prop for testing purposes only
|
|
60
|
-
*
|
|
61
|
-
* @private
|
|
62
|
-
*/
|
|
63
|
-
private messages: Partial<{
|
|
64
|
-
clear: string;
|
|
65
|
-
loading: string;
|
|
66
|
-
}> & import('@arcgis/components-controllers').T9nMeta<{
|
|
67
|
-
clear: string;
|
|
68
|
-
loading: string;
|
|
69
|
-
}>;
|
|
70
75
|
/**
|
|
71
76
|
* When the component resides in a form,
|
|
72
77
|
* specifies the minimum length of text for the component's value.
|
|
@@ -102,16 +107,27 @@ export declare class InputText extends LitElement {
|
|
|
102
107
|
* When `true`, the component's value can be read, but cannot be modified.
|
|
103
108
|
*
|
|
104
109
|
* @mdn [readOnly](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly)
|
|
110
|
+
* @default false
|
|
105
111
|
*/
|
|
106
112
|
readOnly: boolean;
|
|
107
113
|
/**
|
|
108
114
|
* When `true` and the component resides in a form,
|
|
109
115
|
* the component must have a value in order for the form to submit.
|
|
116
|
+
*
|
|
117
|
+
* @default false
|
|
110
118
|
*/
|
|
111
119
|
required: boolean;
|
|
112
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Specifies the size of the component.
|
|
122
|
+
*
|
|
123
|
+
* @default "m"
|
|
124
|
+
*/
|
|
113
125
|
scale: Scale;
|
|
114
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* Specifies the status of the input field, which determines message and icons.
|
|
128
|
+
*
|
|
129
|
+
* @default "idle"
|
|
130
|
+
*/
|
|
115
131
|
status: Status;
|
|
116
132
|
/** Adds text to the end of the component. */
|
|
117
133
|
suffixText: string;
|
|
@@ -122,7 +138,6 @@ export declare class InputText extends LitElement {
|
|
|
122
138
|
/**
|
|
123
139
|
* The current validation state of the component.
|
|
124
140
|
*
|
|
125
|
-
* @readonly
|
|
126
141
|
* @mdn [ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)
|
|
127
142
|
*/
|
|
128
143
|
readonly validity: MutableValidityState;
|
|
@@ -134,7 +149,14 @@ export declare class InputText extends LitElement {
|
|
|
134
149
|
/** Sets focus on the component. */
|
|
135
150
|
setFocus(): Promise<void>;
|
|
136
151
|
/** Fires each time a new value is typed and committed. */
|
|
137
|
-
readonly calciteInputTextChange: TargetedEvent<this,
|
|
152
|
+
readonly calciteInputTextChange: TargetedEvent<this, void>;
|
|
138
153
|
/** Fires each time a new value is typed. */
|
|
139
|
-
readonly calciteInputTextInput: TargetedEvent<this,
|
|
154
|
+
readonly calciteInputTextInput: TargetedEvent<this, void>;
|
|
155
|
+
private messages: Partial<{
|
|
156
|
+
clear: string;
|
|
157
|
+
loading: string;
|
|
158
|
+
}> & import('@arcgis/lumina/controllers').T9nMeta<{
|
|
159
|
+
clear: string;
|
|
160
|
+
loading: string;
|
|
161
|
+
}>;
|
|
140
162
|
}
|