@esri/calcite-components 6.0.0-next.10 → 6.0.0-next.12
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/dist/cdn/{QUYFCN2U.js → 226WRU24.js} +1 -1
- package/dist/cdn/{KE3GJVSQ.js → 22NLVRMQ.js} +1 -1
- package/dist/cdn/{AOS2RWLA.js → 2AEQO2JE.js} +1 -1
- package/dist/cdn/{QQMFZZYL.js → 2IKENHKH.js} +1 -1
- package/dist/cdn/{ZQMKXZ7A.js → 2T3T32JN.js} +1 -1
- package/dist/cdn/2Y6QL4G6.js +2 -0
- package/dist/cdn/34U6PPVQ.js +2 -0
- package/dist/cdn/{WAOVLW25.js → 3H5VBZ62.js} +1 -1
- package/dist/cdn/{JI5RWOTK.js → 3HYHA4OF.js} +1 -1
- package/dist/cdn/{OI45VN55.js → 3UQDQWWD.js} +1 -1
- package/dist/cdn/{CZTM3VLX.js → 4BMXESCG.js} +1 -1
- package/dist/cdn/{HA62DGAW.js → 4DANLFHF.js} +1 -1
- package/dist/cdn/{JTKQ73J3.js → 4EROZLL5.js} +1 -1
- package/dist/cdn/{273FNCX2.js → 4F4R7KYO.js} +1 -1
- package/dist/cdn/{UTGZR5D4.js → 4L5C6PV6.js} +1 -1
- package/dist/cdn/{5LODLGNB.js → 4O26NBVS.js} +1 -1
- package/dist/cdn/{GOY7IE2L.js → 52NOMOAU.js} +1 -1
- package/dist/cdn/{FGU2SEUG.js → 56GBIJYV.js} +1 -1
- package/dist/cdn/5AX5YDQJ.js +2 -0
- package/dist/cdn/{LXQ7KXAO.js → 5BO2JHHZ.js} +1 -1
- package/dist/cdn/{RWLYEGDO.js → 5PEY6ZJC.js} +1 -1
- package/dist/cdn/{XDGVGNRC.js → 6FZVJGKC.js} +1 -1
- package/dist/cdn/{7YEZVXC4.js → 6RCNPDD6.js} +1 -1
- package/dist/cdn/{XCTHKYG4.js → 6XSLOVRL.js} +1 -1
- package/dist/cdn/{BH4WCMLM.js → 6YFILVOY.js} +1 -1
- package/dist/cdn/{OEGGT3SY.js → 732C5EA6.js} +1 -1
- package/dist/cdn/7DAEWRPY.js +2 -0
- package/dist/cdn/{O3AKMRDF.js → 7F3Z3XZS.js} +1 -1
- package/dist/cdn/{JQNBQUSQ.js → 7F6WR4BF.js} +1 -1
- package/dist/cdn/{TWXH5VXN.js → 7JIJRVGH.js} +1 -1
- package/dist/cdn/{WLZEUH7L.js → 7K22HRES.js} +1 -1
- package/dist/cdn/{G26MQPXR.js → 7LERYOST.js} +1 -1
- package/dist/cdn/{3NLRYSGR.js → 7NK6WWOE.js} +1 -1
- package/dist/cdn/{GO2LNKXI.js → 7OUC45V3.js} +1 -1
- package/dist/cdn/{DPRLR4WC.js → 7XS2SBMV.js} +1 -1
- package/dist/cdn/{BFY5CRE7.js → 7ZQDVW4P.js} +1 -1
- package/dist/cdn/{J6WQRNGK.js → A2C3XAPM.js} +1 -1
- package/dist/cdn/AISDE45I.js +2 -0
- package/dist/cdn/{HGL6LFV3.js → AIUA5OHT.js} +1 -1
- package/dist/cdn/{N7LVAE5F.js → AKPVVHWX.js} +1 -1
- package/dist/cdn/{NBOTH5XL.js → ASXRP7XI.js} +1 -1
- package/dist/cdn/{KRVMZWGR.js → AU5A2EFG.js} +1 -1
- package/dist/cdn/{NY4HO46K.js → BBSSYLOF.js} +1 -1
- package/dist/cdn/{W2GIONKE.js → BGEAZB5Y.js} +1 -1
- package/dist/cdn/{U7YCVXZ3.js → BJAWDVEF.js} +1 -1
- package/dist/cdn/{HZ3ICUYC.js → BKPETW42.js} +1 -1
- package/dist/cdn/{XA3GRBCW.js → BPOXOLDC.js} +1 -1
- package/dist/cdn/{QQJAAD4D.js → C75XSIWC.js} +1 -1
- package/dist/cdn/{BR6V5PC6.js → C7P5LVX5.js} +1 -1
- package/dist/cdn/{OMYCQSYW.js → CCR7BYNW.js} +1 -1
- package/dist/cdn/{TWF4JPZ7.js → CU3QP7FM.js} +1 -1
- package/dist/cdn/{NJTCDXS3.js → D2T5RH3F.js} +1 -1
- package/dist/cdn/{IA6L5W5G.js → D6MKPPI3.js} +1 -1
- package/dist/cdn/D7YNVZZS.js +2 -0
- package/dist/cdn/{KN7VGE4M.js → DC4Y43PL.js} +1 -1
- package/dist/cdn/{5Q5PVZDC.js → DD5ZZEJR.js} +1 -1
- package/dist/cdn/{BV74PYW6.js → DE4RWCLG.js} +1 -1
- package/dist/cdn/{UE76JFYY.js → DOIHMBBW.js} +1 -1
- package/dist/cdn/{737AN2CX.js → DQIUIZK3.js} +1 -1
- package/dist/cdn/{SSI6AFMX.js → DY4U6PXW.js} +1 -1
- package/dist/cdn/{RK3VIAGP.js → E2QDY3HO.js} +1 -1
- package/dist/cdn/E3I26OX2.js +2 -0
- package/dist/cdn/{UIR57PA4.js → EJHM42BF.js} +1 -1
- package/dist/cdn/{P33C5YDO.js → EKTV7MOB.js} +1 -1
- package/dist/cdn/{YV4JKSOA.js → ET243IG2.js} +1 -1
- package/dist/cdn/{FUYQS7XA.js → ETP6C6RA.js} +1 -1
- package/dist/cdn/{GCDLUAO6.js → EUZQIA3P.js} +1 -1
- package/dist/cdn/{KAADRWY5.js → F3VMM64Y.js} +1 -1
- package/dist/cdn/{V7WKX4JH.js → FD6HFC4G.js} +1 -1
- package/dist/cdn/{CR3OABPG.js → FOBZEAWE.js} +1 -1
- package/dist/cdn/{SXAW7MNS.js → FR6PIDS2.js} +1 -1
- package/dist/cdn/{WEXS244S.js → FYOEOAKD.js} +1 -1
- package/dist/cdn/{A3GBKICU.js → G2WLWL6V.js} +1 -1
- package/dist/cdn/{2M4ETWZU.js → G4SOANDF.js} +1 -1
- package/dist/cdn/G6O2CV2F.js +2 -0
- package/dist/cdn/{HVKGDIC6.js → GBURLWJN.js} +1 -1
- package/dist/cdn/{UZ4YOAB7.js → GFRQU4NS.js} +1 -1
- package/dist/cdn/{QKYP3FDQ.js → H4FH6GCL.js} +1 -1
- package/dist/cdn/{XKHMRAUY.js → HBWRRDGG.js} +1 -1
- package/dist/cdn/HDFJQN2E.js +2 -0
- package/dist/cdn/{ZDSVHHRM.js → HJHRSII7.js} +1 -1
- package/dist/cdn/{F4RP2ND6.js → HKNFFM3H.js} +1 -1
- package/dist/cdn/{G7RVPH4C.js → HKXJXU7S.js} +1 -1
- package/dist/cdn/{VZBFIS6O.js → HMDOGGRS.js} +1 -1
- package/dist/cdn/{RUAP7OBS.js → HPVBQPMK.js} +1 -1
- package/dist/cdn/HSZPWWHX.js +2 -0
- package/dist/cdn/{H3QR5SVM.js → IBWXXYZF.js} +1 -1
- package/dist/cdn/{MN7KXS6N.js → IDKES2H3.js} +1 -1
- package/dist/cdn/IO6FMDHU.js +2 -0
- package/dist/cdn/{Y5SNQ4NS.js → IOSENTHN.js} +1 -1
- package/dist/cdn/{2ZGOGJF6.js → IR2A2F5H.js} +1 -1
- package/dist/cdn/{2DYI3ZOO.js → IROC5RHF.js} +1 -1
- package/dist/cdn/{QORDO5V7.js → IVGWRRNH.js} +1 -1
- package/dist/cdn/{L52YMQCF.js → J2OH4U4P.js} +1 -1
- package/dist/cdn/{CRHEJ6LF.js → JEUKCT7D.js} +1 -1
- package/dist/cdn/{RUSF77X2.js → JKLDEWO5.js} +1 -1
- package/dist/cdn/{2LLSZFOA.js → JOPTOKFI.js} +1 -1
- package/dist/cdn/{SCJPENKN.js → JOYGOSED.js} +1 -1
- package/dist/cdn/{B7B4574X.js → JPH4XX2X.js} +1 -1
- package/dist/cdn/{5WWBBO2Z.js → JUQUMWIR.js} +1 -1
- package/dist/cdn/{UWMXWWUQ.js → JVNYAFKM.js} +1 -1
- package/dist/cdn/{YWJV2ZJH.js → K4N2EM4F.js} +1 -1
- package/dist/cdn/{SMBKXVJ2.js → KRWXSPYM.js} +1 -1
- package/dist/cdn/{KV7EOUBA.js → KT2KAETI.js} +1 -1
- package/dist/cdn/{TH2A4VCV.js → LCO7EM6P.js} +1 -1
- package/dist/cdn/{SDCATIYT.js → LDXZ5GIZ.js} +1 -1
- package/dist/cdn/{IDU5IKSY.js → LF2RQSST.js} +1 -1
- package/dist/cdn/{RFDPXMN6.js → LGEHMF5F.js} +1 -1
- package/dist/cdn/{EXI7ELTX.js → LJNUAHIO.js} +1 -1
- package/dist/cdn/LNRZGNCR.js +2 -0
- package/dist/cdn/{UTVK3QTU.js → LX4GMWXD.js} +1 -1
- package/dist/cdn/{BSXYHNKX.js → M4D2IMI5.js} +1 -1
- package/dist/cdn/{ECXSX2FK.js → M6PVZJEB.js} +1 -1
- package/dist/cdn/{LUR2SFPA.js → M7AIQAZU.js} +1 -1
- package/dist/cdn/{MDANCG4K.js → MLJPIF3H.js} +1 -1
- package/dist/cdn/{ODUVV4RV.js → MMBRYH3R.js} +1 -1
- package/dist/cdn/{XDJ5YVTY.js → MNWBZB5O.js} +1 -1
- package/dist/cdn/{SYZQCRBZ.js → MOMZFIAJ.js} +1 -1
- package/dist/cdn/{SZCB4RZQ.js → MPFCQYWP.js} +1 -1
- package/dist/cdn/{XL7GKUY2.js → NEVIBLOJ.js} +1 -1
- package/dist/cdn/{NBFMGYL3.js → NMFEKIJV.js} +1 -1
- package/dist/cdn/{QHM3SD4N.js → NN6QCPSW.js} +1 -1
- package/dist/cdn/{YF7W5TNY.js → NO3H5PAJ.js} +1 -1
- package/dist/cdn/{24V7EEW7.js → NZROCOKX.js} +1 -1
- package/dist/cdn/OBIYAJSP.js +2 -0
- package/dist/cdn/{LHJS25PA.js → ODU6JYNH.js} +1 -1
- package/dist/cdn/{BLJRH4JX.js → OOYTODIL.js} +1 -1
- package/dist/cdn/{QWOKSAOO.js → OQKCDO4H.js} +1 -1
- package/dist/cdn/{CTFG7BKR.js → OS5XNQXP.js} +1 -1
- package/dist/cdn/{6GU5XOTF.js → OUGIMZJ3.js} +1 -1
- package/dist/cdn/{AVH2GLIJ.js → P23XETEI.js} +1 -1
- package/dist/cdn/{W464Z7ND.js → PEI6H7DT.js} +1 -1
- package/dist/cdn/{UHTCLLS7.js → PM7FP7FS.js} +1 -1
- package/dist/cdn/{OHJAAX23.js → PWGENG33.js} +1 -1
- package/dist/cdn/{47IPIYJM.js → QAE4HZ24.js} +1 -1
- package/dist/cdn/{QU6G4FRY.js → QCHUTTZX.js} +1 -1
- package/dist/cdn/{KPX3XYVF.js → QOWGE23O.js} +1 -1
- package/dist/cdn/{XB5DK76Y.js → QWGNAOIM.js} +1 -1
- package/dist/cdn/{HSVBLPNO.js → RHUCISCR.js} +1 -1
- package/dist/cdn/{6LLPN7IC.js → RKOWNK75.js} +1 -1
- package/dist/cdn/{FDNCZYCA.js → RLSYZFHC.js} +1 -1
- package/dist/cdn/{OFUCNWOU.js → RTAMPW4H.js} +1 -1
- package/dist/cdn/{XWKUAYS3.js → SDU4R5MI.js} +1 -1
- package/dist/cdn/{YKOI3XVI.js → SRUYXOUG.js} +1 -1
- package/dist/cdn/{MNPMK2VZ.js → SVFHNGST.js} +1 -1
- package/dist/cdn/{VVJMAE2C.js → SVS63RTV.js} +1 -1
- package/dist/cdn/{QAV6GDX3.js → SZ3D7STA.js} +1 -1
- package/dist/cdn/{AYRJ7NYC.js → TJGNWJF6.js} +1 -1
- package/dist/cdn/{LHW5NOEF.js → TLRXKBSR.js} +1 -1
- package/dist/cdn/{BGS4CESC.js → TMPJIIH2.js} +1 -1
- package/dist/cdn/{ZU4RLDHT.js → U47KLOKE.js} +1 -1
- package/dist/cdn/{ZABC5BI2.js → U7XVFSSC.js} +1 -1
- package/dist/cdn/{YSW3EMMW.js → UTXN6YZB.js} +1 -1
- package/dist/cdn/{AV7S2ETC.js → V56SEY2Y.js} +1 -1
- package/dist/cdn/{GJZC6Q65.js → VAHG3SDY.js} +1 -1
- package/dist/cdn/{VGKCONVX.js → VFB4EPKN.js} +1 -1
- package/dist/cdn/{AE5SQJER.js → VOHXLPUC.js} +1 -1
- package/dist/cdn/VZ4JPH7J.js +2 -0
- package/dist/cdn/{DG2DLQZ3.js → WC6VV45C.js} +1 -1
- package/dist/cdn/WDIBGLNU.js +2 -0
- package/dist/cdn/{YPSIGZXJ.js → WT3AO26J.js} +1 -1
- package/dist/cdn/{ECJJHTCC.js → XIERF7M3.js} +1 -1
- package/dist/cdn/{4F4XFALV.js → XJ2HKCH4.js} +1 -1
- package/dist/cdn/{RUGBI54D.js → XY2NGASJ.js} +1 -1
- package/dist/cdn/{Y5WKXUWK.js → Y2WTDN5G.js} +1 -1
- package/dist/cdn/{FLWEPRFJ.js → Y4P57YTG.js} +1 -1
- package/dist/cdn/{AR5BD5C7.js → YTOQZWS3.js} +1 -1
- package/dist/cdn/{YDVTQN6C.js → YUTF6CP3.js} +1 -1
- package/dist/cdn/{DBQONO22.js → Z44VIZTV.js} +1 -1
- package/dist/cdn/{PQDCYIRQ.js → ZVX6KPMU.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/dom.js +6 -16
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources10.js +6 -56
- package/dist/chunks/resources11.js +21 -5
- package/dist/chunks/resources12.js +1 -1
- package/dist/chunks/resources13.js +1 -1
- package/dist/chunks/resources15.js +1 -1
- package/dist/chunks/resources17.js +1 -1
- package/dist/chunks/resources18.js +1 -1
- package/dist/chunks/resources2.js +18 -22
- package/dist/chunks/resources20.js +1 -1
- package/dist/chunks/resources21.js +1 -1
- package/dist/chunks/resources22.js +1 -1
- package/dist/chunks/resources23.js +1 -1
- package/dist/chunks/resources24.js +1 -1
- package/dist/chunks/resources25.js +1 -1
- package/dist/chunks/resources26.js +1 -1
- package/dist/chunks/resources27.js +1 -1
- package/dist/chunks/resources28.js +1 -1
- package/dist/chunks/resources29.js +1 -1
- package/dist/chunks/resources3.js +20 -18
- package/dist/chunks/resources30.js +1 -1
- package/dist/chunks/resources31.js +1 -1
- package/dist/chunks/resources32.js +1 -1
- package/dist/chunks/resources33.js +1 -1
- package/dist/chunks/resources34.js +1 -1
- package/dist/chunks/resources4.js +9 -19
- package/dist/chunks/resources5.js +19 -7
- package/dist/chunks/resources6.js +38 -13
- package/dist/chunks/resources7.js +20 -38
- package/dist/chunks/resources8.js +23 -21
- package/dist/chunks/resources9.js +52 -27
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useForm.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.js +2 -2
- package/dist/components/calcite-action-bar/customElement.js +42 -9
- package/dist/components/calcite-action-group/customElement.js +3 -3
- package/dist/components/calcite-action-menu/customElement.js +3 -3
- package/dist/components/calcite-alert/customElement.js +2 -2
- package/dist/components/calcite-autocomplete/customElement.js +8 -8
- package/dist/components/calcite-autocomplete-item/customElement.js +2 -2
- package/dist/components/calcite-autocomplete-item-group/customElement.js +3 -3
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.js +1 -1
- package/dist/components/calcite-block-group/customElement.js +2 -2
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +2 -2
- package/dist/components/calcite-dropdown/customElement.js +1 -1
- package/dist/components/calcite-input-message/customElement.d.ts +1 -4
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-navigation/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.js +1 -1
- package/dist/components/calcite-tab-title/customElement.js +1 -1
- package/dist/components/calcite-text/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +0 -24
- package/dist/loader.js +0 -3
- package/dist/types/lumina.d.ts +0 -19
- package/dist/types/preact.d.ts +0 -22
- package/dist/types/react.d.ts +0 -25
- package/dist/types/stencil.d.ts +0 -19
- package/package.json +1 -1
- package/dist/cdn/2QPSBLJK.js +0 -2
- package/dist/cdn/4OUHHWKP.js +0 -2
- package/dist/cdn/7UZGBGS6.js +0 -2
- package/dist/cdn/DT6QG7P2.js +0 -2
- package/dist/cdn/E6R4P2IP.js +0 -2
- package/dist/cdn/FQMKO5S5.js +0 -2
- package/dist/cdn/HEQFTWZQ.js +0 -2
- package/dist/cdn/I3MYU7MH.js +0 -2
- package/dist/cdn/I4QQBNDN.js +0 -2
- package/dist/cdn/ICC52M3R.js +0 -2
- package/dist/cdn/J2DF6TFE.js +0 -2
- package/dist/cdn/JUNQWK55.js +0 -2
- package/dist/cdn/LWBWYQYI.js +0 -2
- package/dist/cdn/MUYSSY6B.js +0 -2
- package/dist/cdn/PRVLFQFM.js +0 -2
- package/dist/cdn/QOIBLQSX.js +0 -2
- package/dist/cdn/UOHV4OCJ.js +0 -2
- package/dist/cdn/UUZX5IV6.js +0 -2
- package/dist/cdn/VLUDXF5U.js +0 -2
- package/dist/cdn/assets/action-pad/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.zh-TW.json +0 -1
- package/dist/chunks/ExpandToggle.js +0 -48
- package/dist/components/calcite-action-pad/customElement.d.ts +0 -96
- package/dist/components/calcite-action-pad/customElement.js +0 -185
- package/dist/components/calcite-action-pad/index.d.ts +0 -1
- package/dist/components/calcite-action-pad/index.js +0 -3
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +0 -25
- package/dist/components/calcite-color-picker-swatch/customElement.js +0 -104
- package/dist/components/calcite-color-picker-swatch/index.d.ts +0 -1
- package/dist/components/calcite-color-picker-swatch/index.js +0 -1
- package/dist/components/calcite-focus-trap/customElement.d.ts +0 -53
- package/dist/components/calcite-focus-trap/customElement.js +0 -61
- package/dist/components/calcite-focus-trap/index.d.ts +0 -1
- package/dist/components/calcite-focus-trap/index.js +0 -1
- /package/dist/cdn/{ZZDNIBT7.js → 2IM7ZZ7U.js} +0 -0
- /package/dist/cdn/{NYT7VOUO.js → TIIRIEHJ.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -46,7 +46,6 @@ import type { Action } from "./components/calcite-action/customElement.js";
|
|
|
46
46
|
import type { ActionBar } from "./components/calcite-action-bar/customElement.js";
|
|
47
47
|
import type { ActionGroup } from "./components/calcite-action-group/customElement.js";
|
|
48
48
|
import type { ActionMenu } from "./components/calcite-action-menu/customElement.js";
|
|
49
|
-
import type { ActionPad } from "./components/calcite-action-pad/customElement.js";
|
|
50
49
|
import type { Alert } from "./components/calcite-alert/customElement.js";
|
|
51
50
|
import type { Autocomplete } from "./components/calcite-autocomplete/customElement.js";
|
|
52
51
|
import type { AutocompleteItem } from "./components/calcite-autocomplete-item/customElement.js";
|
|
@@ -65,7 +64,6 @@ import type { Chip } from "./components/calcite-chip/customElement.js";
|
|
|
65
64
|
import type { ChipGroup } from "./components/calcite-chip-group/customElement.js";
|
|
66
65
|
import type { ColorPicker } from "./components/calcite-color-picker/customElement.js";
|
|
67
66
|
import type { ColorPickerHexInput } from "./components/calcite-color-picker-hex-input/customElement.js";
|
|
68
|
-
import type { ColorPickerSwatch } from "./components/calcite-color-picker-swatch/customElement.js";
|
|
69
67
|
import type { Combobox } from "./components/calcite-combobox/customElement.js";
|
|
70
68
|
import type { ComboboxItem } from "./components/calcite-combobox-item/customElement.js";
|
|
71
69
|
import type { ComboboxItemGroup } from "./components/calcite-combobox-item-group/customElement.js";
|
|
@@ -80,7 +78,6 @@ import type { Fab } from "./components/calcite-fab/customElement.js";
|
|
|
80
78
|
import type { Filter } from "./components/calcite-filter/customElement.js";
|
|
81
79
|
import type { Flow } from "./components/calcite-flow/customElement.js";
|
|
82
80
|
import type { FlowItem } from "./components/calcite-flow-item/customElement.js";
|
|
83
|
-
import type { FocusTrap } from "./components/calcite-focus-trap/customElement.js";
|
|
84
81
|
import type { Graph } from "./components/calcite-graph/customElement.js";
|
|
85
82
|
import type { Icon } from "./components/calcite-icon/customElement.js";
|
|
86
83
|
import type { InlineEditable } from "./components/calcite-inline-editable/customElement.js";
|
|
@@ -168,11 +165,6 @@ export interface CalciteActionMenuCustomEvent<T> extends CustomEvent<T> {
|
|
|
168
165
|
target: ActionMenu;
|
|
169
166
|
currentTarget: ActionMenu;
|
|
170
167
|
}
|
|
171
|
-
export interface CalciteActionPadCustomEvent<T> extends CustomEvent<T> {
|
|
172
|
-
detail: T;
|
|
173
|
-
target: ActionPad;
|
|
174
|
-
currentTarget: ActionPad;
|
|
175
|
-
}
|
|
176
168
|
export interface CalciteAlertCustomEvent<T> extends CustomEvent<T> {
|
|
177
169
|
detail: T;
|
|
178
170
|
target: Alert;
|
|
@@ -283,11 +275,6 @@ export interface CalciteFlowItemCustomEvent<T> extends CustomEvent<T> {
|
|
|
283
275
|
target: FlowItem;
|
|
284
276
|
currentTarget: FlowItem;
|
|
285
277
|
}
|
|
286
|
-
export interface CalciteFocusTrapCustomEvent<T> extends CustomEvent<T> {
|
|
287
|
-
detail: T;
|
|
288
|
-
target: FocusTrap;
|
|
289
|
-
currentTarget: FocusTrap;
|
|
290
|
-
}
|
|
291
278
|
export interface CalciteInlineEditableCustomEvent<T> extends CustomEvent<T> {
|
|
292
279
|
detail: T;
|
|
293
280
|
target: InlineEditable;
|
|
@@ -503,7 +490,6 @@ declare global {
|
|
|
503
490
|
"calcite-action-bar": ActionBar;
|
|
504
491
|
"calcite-action-group": ActionGroup;
|
|
505
492
|
"calcite-action-menu": ActionMenu;
|
|
506
|
-
"calcite-action-pad": ActionPad;
|
|
507
493
|
"calcite-alert": Alert;
|
|
508
494
|
"calcite-autocomplete": Autocomplete;
|
|
509
495
|
"calcite-autocomplete-item": AutocompleteItem;
|
|
@@ -522,7 +508,6 @@ declare global {
|
|
|
522
508
|
"calcite-chip-group": ChipGroup;
|
|
523
509
|
"calcite-color-picker": ColorPicker;
|
|
524
510
|
"calcite-color-picker-hex-input": ColorPickerHexInput;
|
|
525
|
-
"calcite-color-picker-swatch": ColorPickerSwatch;
|
|
526
511
|
"calcite-combobox": Combobox;
|
|
527
512
|
"calcite-combobox-item": ComboboxItem;
|
|
528
513
|
"calcite-combobox-item-group": ComboboxItemGroup;
|
|
@@ -537,7 +522,6 @@ declare global {
|
|
|
537
522
|
"calcite-filter": Filter;
|
|
538
523
|
"calcite-flow": Flow;
|
|
539
524
|
"calcite-flow-item": FlowItem;
|
|
540
|
-
"calcite-focus-trap": FocusTrap;
|
|
541
525
|
"calcite-graph": Graph;
|
|
542
526
|
"calcite-icon": Icon;
|
|
543
527
|
"calcite-inline-editable": InlineEditable;
|
|
@@ -621,9 +605,6 @@ declare global {
|
|
|
621
605
|
type HTMLCalciteActionMenuElementEventMap = ActionMenu["@eventTypes"];
|
|
622
606
|
type HTMLCalciteActionMenuElement = ActionMenu;
|
|
623
607
|
|
|
624
|
-
type HTMLCalciteActionPadElementEventMap = ActionPad["@eventTypes"];
|
|
625
|
-
type HTMLCalciteActionPadElement = ActionPad;
|
|
626
|
-
|
|
627
608
|
type HTMLCalciteAlertElementEventMap = Alert["@eventTypes"];
|
|
628
609
|
type HTMLCalciteAlertElement = Alert;
|
|
629
610
|
|
|
@@ -674,8 +655,6 @@ declare global {
|
|
|
674
655
|
type HTMLCalciteColorPickerHexInputElementEventMap = ColorPickerHexInput["@eventTypes"];
|
|
675
656
|
type HTMLCalciteColorPickerHexInputElement = ColorPickerHexInput;
|
|
676
657
|
|
|
677
|
-
type HTMLCalciteColorPickerSwatchElement = ColorPickerSwatch;
|
|
678
|
-
|
|
679
658
|
type HTMLCalciteComboboxElementEventMap = Combobox["@eventTypes"];
|
|
680
659
|
type HTMLCalciteComboboxElement = Combobox;
|
|
681
660
|
|
|
@@ -712,9 +691,6 @@ declare global {
|
|
|
712
691
|
type HTMLCalciteFlowItemElementEventMap = FlowItem["@eventTypes"];
|
|
713
692
|
type HTMLCalciteFlowItemElement = FlowItem;
|
|
714
693
|
|
|
715
|
-
type HTMLCalciteFocusTrapElementEventMap = FocusTrap["@eventTypes"];
|
|
716
|
-
type HTMLCalciteFocusTrapElement = FocusTrap;
|
|
717
|
-
|
|
718
694
|
type HTMLCalciteGraphElement = Graph;
|
|
719
695
|
|
|
720
696
|
type HTMLCalciteIconElement = Icon;
|
package/dist/loader.js
CHANGED
|
@@ -8,7 +8,6 @@ const defineCustomElements = makeDefineCustomElements(runtime, {
|
|
|
8
8
|
"calcite-action-bar": [() => import("./components/calcite-action-bar/customElement.js"), "actionsEndGroupLabel,actionsStartGroupLabel,expandDisabled,expanded,expandPosition,expandToggleDisabled,floating,layout,messageOverrides:,overflowActionsDisabled,overflowMode,overlayPositioning,position,scale,selectionAppearance;overflowActions,setFocus"],
|
|
9
9
|
"calcite-action-group": [() => import("./components/calcite-action-group/customElement.js"), "actions:,columns,expanded,label,layout,menuFlipPlacements:,menuOpen,menuPlacement,messageOverrides:,overflowActionsDisabled,overlayPositioning,scale,selectedActions:,selectionMode,topLayerDisabled;setFocus"],
|
|
10
10
|
"calcite-action-menu": [() => import("./components/calcite-action-menu/customElement.js"), "actions:,appearance,expanded,flipPlacements:,label,open,overlayPositioning,placement,scale,topLayerDisabled;setFocus"],
|
|
11
|
-
"calcite-action-pad": [() => import("./components/calcite-action-pad/customElement.js"), "actionsEndGroupLabel,expandDisabled,expanded,layout,messageOverrides:,overlayPositioning,position,scale,selectionAppearance;setFocus"],
|
|
12
11
|
"calcite-alert": [() => import("./components/calcite-alert/customElement.js"), "active,autoClose,autoCloseDuration,embedded,icon,iconFlipRtl,kind,label,messageOverrides:,numberingSystem,open,openAlertCount,placement,queue,scale,topLayerDisabled;setFocus"],
|
|
13
12
|
"calcite-autocomplete": [() => import("./components/calcite-autocomplete/customElement.js"), "alignment,autocomplete,disabled,flipPlacements:,form,icon,iconFlipRtl,inputValue,label,labelText,loading,maxLength,messageOverrides:,minLength,name,open,overlayPositioning,pattern,placeholder,placement,prefixText,readOnly,required,scale,status,suffixText,topLayerDisabled,validationIcon,validationMessage,validity:,value;reposition,scrollContentTo,selectText,setFocus", 1],
|
|
14
13
|
"calcite-autocomplete-item": [() => import("./components/calcite-autocomplete-item/customElement.js"), "active,description,disabled,guid,heading,iconEnd,iconFlipRtl,iconStart,inputValueMatchPattern,label,scale,selected,value;;requestSelection"],
|
|
@@ -27,7 +26,6 @@ const defineCustomElements = makeDefineCustomElements(runtime, {
|
|
|
27
26
|
"calcite-chip-group": [() => import("./components/calcite-chip-group/customElement.js"), "disabled,label,scale,selectedItems:,selectionMode;setFocus"],
|
|
28
27
|
"calcite-color-picker": [() => import("./components/calcite-color-picker/customElement.js"), "alphaChannel,channelsDisabled,clearable,color:,disabled,fieldDisabled,format,hexDisabled,messageOverrides:,numberingSystem,savedDisabled,scale,storageId,value;setFocus"],
|
|
29
28
|
"calcite-color-picker-hex-input": [() => import("./components/calcite-color-picker-hex-input/customElement.js"), "allowEmpty,alphaChannel,hexLabel,messages:,numberingSystem,scale,value;setFocus"],
|
|
30
|
-
"calcite-color-picker-swatch": [() => import("./components/calcite-color-picker-swatch/customElement.js"), "active,color,scale"],
|
|
31
29
|
"calcite-combobox": [() => import("./components/calcite-combobox/customElement.js"), "allowCustomValues,clearDisabled,disabled,filteredItems:,filterProps:,filterText,flipPlacements:,form,label,labelText,maxItems,messageOverrides:,name,open,overlayPositioning,placeholder,placeholderIcon,placeholderIconFlipRtl,placement,readOnly,required,scale,selectAllEnabled,selectedItems:,selectionAppearance,selectionDisplay,selectionMode,status,topLayerDisabled,validationIcon,validationMessage,validity:,value;reposition,setFocus", 1],
|
|
32
30
|
"calcite-combobox-item": [() => import("./components/calcite-combobox-item/customElement.js"), "active,ancestors:,description,disabled,filterDisabled,filterTextMatchPattern,guid,heading,icon,iconFlipRtl,indeterminate,itemHidden,label,metadata:,scale,selected,selectionAppearance,selectionMode,shortHeading,value;;toggleSelection"],
|
|
33
31
|
"calcite-combobox-item-group": [() => import("./components/calcite-combobox-item-group/customElement.js"), "afterEmptyGroup,ancestors:,itemHidden,label,position,scale"],
|
|
@@ -43,7 +41,6 @@ const defineCustomElements = makeDefineCustomElements(runtime, {
|
|
|
43
41
|
"calcite-filter": [() => import("./components/calcite-filter/customElement.js"), "disabled,filteredItems:,filterProps:,items:,label,messageOverrides:,placeholder,scale,value;filter,setFocus"],
|
|
44
42
|
"calcite-flow": [() => import("./components/calcite-flow/customElement.js"), "customItemSelectors;back,setFocus"],
|
|
45
43
|
"calcite-flow-item": [() => import("./components/calcite-flow-item/customElement.js"), "beforeBack:,beforeClose:,closable,closed,collapsed,collapseDirection,collapsible,description,disabled,focusTrapDisabled,focusTrapOptions:,heading,headingLevel,icon,iconFlipRtl,loading,menuOpen,messageOverrides:,overlayPositioning,scale,selected,showBackButton,topLayerDisabled;scrollContentTo,setFocus,updateFocusTrapElements"],
|
|
46
|
-
"calcite-focus-trap": [() => import("./components/calcite-focus-trap/customElement.js"), "active:,focusTrapDisabled,focusTrapDisabledOverride:,focusTrapOptions:;activate,deactivate,setFocus,updateFocusTrapElements"],
|
|
47
44
|
"calcite-graph": [() => import("./components/calcite-graph/customElement.js"), "colorStops:,data:,highlightMax,highlightMin,max,min"],
|
|
48
45
|
"calcite-icon": [() => import("./components/calcite-icon/customElement.js"), "flipRtl,icon,preload,scale,textLabel"],
|
|
49
46
|
"calcite-inline-editable": [() => import("./components/calcite-inline-editable/customElement.js"), "afterConfirm:,controls,disabled,editingEnabled,loading,messageOverrides:,scale;setFocus"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import type { Action } from "../components/calcite-action/customElement.js";
|
|
|
5
5
|
import type { ActionBar } from "../components/calcite-action-bar/customElement.js";
|
|
6
6
|
import type { ActionGroup } from "../components/calcite-action-group/customElement.js";
|
|
7
7
|
import type { ActionMenu } from "../components/calcite-action-menu/customElement.js";
|
|
8
|
-
import type { ActionPad } from "../components/calcite-action-pad/customElement.js";
|
|
9
8
|
import type { Alert } from "../components/calcite-alert/customElement.js";
|
|
10
9
|
import type { Autocomplete } from "../components/calcite-autocomplete/customElement.js";
|
|
11
10
|
import type { AutocompleteItem } from "../components/calcite-autocomplete-item/customElement.js";
|
|
@@ -24,7 +23,6 @@ import type { Chip } from "../components/calcite-chip/customElement.js";
|
|
|
24
23
|
import type { ChipGroup } from "../components/calcite-chip-group/customElement.js";
|
|
25
24
|
import type { ColorPicker } from "../components/calcite-color-picker/customElement.js";
|
|
26
25
|
import type { ColorPickerHexInput } from "../components/calcite-color-picker-hex-input/customElement.js";
|
|
27
|
-
import type { ColorPickerSwatch } from "../components/calcite-color-picker-swatch/customElement.js";
|
|
28
26
|
import type { Combobox } from "../components/calcite-combobox/customElement.js";
|
|
29
27
|
import type { ComboboxItem } from "../components/calcite-combobox-item/customElement.js";
|
|
30
28
|
import type { ComboboxItemGroup } from "../components/calcite-combobox-item-group/customElement.js";
|
|
@@ -39,7 +37,6 @@ import type { Fab } from "../components/calcite-fab/customElement.js";
|
|
|
39
37
|
import type { Filter } from "../components/calcite-filter/customElement.js";
|
|
40
38
|
import type { Flow } from "../components/calcite-flow/customElement.js";
|
|
41
39
|
import type { FlowItem } from "../components/calcite-flow-item/customElement.js";
|
|
42
|
-
import type { FocusTrap } from "../components/calcite-focus-trap/customElement.js";
|
|
43
40
|
import type { Graph } from "../components/calcite-graph/customElement.js";
|
|
44
41
|
import type { Icon } from "../components/calcite-icon/customElement.js";
|
|
45
42
|
import type { InlineEditable } from "../components/calcite-inline-editable/customElement.js";
|
|
@@ -137,12 +134,6 @@ interface LuminaCalciteActionMenu extends Required<Pick<ActionMenu, "label">>, P
|
|
|
137
134
|
oncalciteInternalActionMenuActionsChange?: EventHandler<ActionMenu["calciteInternalActionMenuActionsChange"]>;
|
|
138
135
|
}
|
|
139
136
|
|
|
140
|
-
interface LuminaCalciteActionPad extends Partial<Pick<ActionPad, "actionsEndGroupLabel" | "expandDisabled" | "expanded" | "layout" | "messageOverrides" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, h.JSX.HTMLAttributes<ActionPad> {
|
|
141
|
-
oncalciteActionPadCollapse?: EventHandler<ActionPad["calciteActionPadCollapse"]>;
|
|
142
|
-
oncalciteActionPadExpand?: EventHandler<ActionPad["calciteActionPadExpand"]>;
|
|
143
|
-
oncalciteActionPadToggle?: EventHandler<ActionPad["calciteActionPadToggle"]>;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
137
|
interface LuminaCalciteAlert extends Required<Pick<Alert, "label">>, Partial<Pick<Alert, "autoClose" | "autoCloseDuration" | "icon" | "iconFlipRtl" | "kind" | "messageOverrides" | "numberingSystem" | "open" | "placement" | "queue" | "scale" | "topLayerDisabled">>, h.JSX.HTMLAttributes<Alert> {
|
|
147
138
|
oncalciteAlertBeforeClose?: EventHandler<Alert["calciteAlertBeforeClose"]>;
|
|
148
139
|
oncalciteAlertBeforeOpen?: EventHandler<Alert["calciteAlertBeforeOpen"]>;
|
|
@@ -235,9 +226,6 @@ interface LuminaCalciteColorPickerHexInput extends Partial<Pick<ColorPickerHexIn
|
|
|
235
226
|
oncalciteColorPickerHexInputChange?: EventHandler<ColorPickerHexInput["calciteColorPickerHexInputChange"]>;
|
|
236
227
|
}
|
|
237
228
|
|
|
238
|
-
interface LuminaCalciteColorPickerSwatch extends Partial<Pick<ColorPickerSwatch, "active" | "color" | "scale">>, h.JSX.HTMLAttributes<ColorPickerSwatch> {
|
|
239
|
-
}
|
|
240
|
-
|
|
241
229
|
interface LuminaCalciteCombobox extends Required<Pick<Combobox, "label">>, Partial<Pick<Combobox, "allowCustomValues" | "clearDisabled" | "disabled" | "filterProps" | "filterText" | "flipPlacements" | "form" | "labelText" | "maxItems" | "messageOverrides" | "name" | "open" | "overlayPositioning" | "placeholder" | "placeholderIcon" | "placeholderIconFlipRtl" | "placement" | "readOnly" | "required" | "scale" | "selectAllEnabled" | "selectionAppearance" | "selectionDisplay" | "selectionMode" | "status" | "topLayerDisabled" | "validationIcon" | "validationMessage" | "value">>, h.JSX.HTMLAttributes<Combobox> {
|
|
242
230
|
oncalciteComboboxBeforeClose?: EventHandler<Combobox["calciteComboboxBeforeClose"]>;
|
|
243
231
|
oncalciteComboboxBeforeOpen?: EventHandler<Combobox["calciteComboboxBeforeOpen"]>;
|
|
@@ -308,10 +296,6 @@ interface LuminaCalciteFlowItem extends Partial<Pick<FlowItem, "beforeBack" | "b
|
|
|
308
296
|
oncalciteFlowItemToggle?: EventHandler<FlowItem["calciteFlowItemToggle"]>;
|
|
309
297
|
}
|
|
310
298
|
|
|
311
|
-
interface LuminaCalciteFocusTrap extends Partial<Pick<FocusTrap, "focusTrapDisabled" | "focusTrapDisabledOverride" | "focusTrapOptions">>, h.JSX.HTMLAttributes<FocusTrap> {
|
|
312
|
-
oncalciteFocusTrapActiveChange?: EventHandler<FocusTrap["calciteFocusTrapActiveChange"]>;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
299
|
interface LuminaCalciteGraph extends Required<Pick<Graph, "max" | "min">>, Partial<Pick<Graph, "colorStops" | "data" | "highlightMax" | "highlightMin">>, h.JSX.HTMLAttributes<Graph> {
|
|
316
300
|
}
|
|
317
301
|
|
|
@@ -621,7 +605,6 @@ declare module "@arcgis/lumina" {
|
|
|
621
605
|
"calcite-action-bar": LuminaCalciteActionBar;
|
|
622
606
|
"calcite-action-group": LuminaCalciteActionGroup;
|
|
623
607
|
"calcite-action-menu": LuminaCalciteActionMenu;
|
|
624
|
-
"calcite-action-pad": LuminaCalciteActionPad;
|
|
625
608
|
"calcite-alert": LuminaCalciteAlert;
|
|
626
609
|
"calcite-autocomplete": LuminaCalciteAutocomplete;
|
|
627
610
|
"calcite-autocomplete-item": LuminaCalciteAutocompleteItem;
|
|
@@ -640,7 +623,6 @@ declare module "@arcgis/lumina" {
|
|
|
640
623
|
"calcite-chip-group": LuminaCalciteChipGroup;
|
|
641
624
|
"calcite-color-picker": LuminaCalciteColorPicker;
|
|
642
625
|
"calcite-color-picker-hex-input": LuminaCalciteColorPickerHexInput;
|
|
643
|
-
"calcite-color-picker-swatch": LuminaCalciteColorPickerSwatch;
|
|
644
626
|
"calcite-combobox": LuminaCalciteCombobox;
|
|
645
627
|
"calcite-combobox-item": LuminaCalciteComboboxItem;
|
|
646
628
|
"calcite-combobox-item-group": LuminaCalciteComboboxItemGroup;
|
|
@@ -655,7 +637,6 @@ declare module "@arcgis/lumina" {
|
|
|
655
637
|
"calcite-filter": LuminaCalciteFilter;
|
|
656
638
|
"calcite-flow": LuminaCalciteFlow;
|
|
657
639
|
"calcite-flow-item": LuminaCalciteFlowItem;
|
|
658
|
-
"calcite-focus-trap": LuminaCalciteFocusTrap;
|
|
659
640
|
"calcite-graph": LuminaCalciteGraph;
|
|
660
641
|
"calcite-icon": LuminaCalciteIcon;
|
|
661
642
|
"calcite-inline-editable": LuminaCalciteInlineEditable;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import type { Action } from "../components/calcite-action/customElement.js";
|
|
|
5
5
|
import type { ActionBar } from "../components/calcite-action-bar/customElement.js";
|
|
6
6
|
import type { ActionGroup } from "../components/calcite-action-group/customElement.js";
|
|
7
7
|
import type { ActionMenu } from "../components/calcite-action-menu/customElement.js";
|
|
8
|
-
import type { ActionPad } from "../components/calcite-action-pad/customElement.js";
|
|
9
8
|
import type { Alert } from "../components/calcite-alert/customElement.js";
|
|
10
9
|
import type { Autocomplete } from "../components/calcite-autocomplete/customElement.js";
|
|
11
10
|
import type { AutocompleteItem } from "../components/calcite-autocomplete-item/customElement.js";
|
|
@@ -24,7 +23,6 @@ import type { Chip } from "../components/calcite-chip/customElement.js";
|
|
|
24
23
|
import type { ChipGroup } from "../components/calcite-chip-group/customElement.js";
|
|
25
24
|
import type { ColorPicker } from "../components/calcite-color-picker/customElement.js";
|
|
26
25
|
import type { ColorPickerHexInput } from "../components/calcite-color-picker-hex-input/customElement.js";
|
|
27
|
-
import type { ColorPickerSwatch } from "../components/calcite-color-picker-swatch/customElement.js";
|
|
28
26
|
import type { Combobox } from "../components/calcite-combobox/customElement.js";
|
|
29
27
|
import type { ComboboxItem } from "../components/calcite-combobox-item/customElement.js";
|
|
30
28
|
import type { ComboboxItemGroup } from "../components/calcite-combobox-item-group/customElement.js";
|
|
@@ -39,7 +37,6 @@ import type { Fab } from "../components/calcite-fab/customElement.js";
|
|
|
39
37
|
import type { Filter } from "../components/calcite-filter/customElement.js";
|
|
40
38
|
import type { Flow } from "../components/calcite-flow/customElement.js";
|
|
41
39
|
import type { FlowItem } from "../components/calcite-flow-item/customElement.js";
|
|
42
|
-
import type { FocusTrap } from "../components/calcite-focus-trap/customElement.js";
|
|
43
40
|
import type { Graph } from "../components/calcite-graph/customElement.js";
|
|
44
41
|
import type { Icon } from "../components/calcite-icon/customElement.js";
|
|
45
42
|
import type { InlineEditable } from "../components/calcite-inline-editable/customElement.js";
|
|
@@ -138,12 +135,6 @@ interface PreactCalciteActionMenu extends Required<Pick<ActionMenu, "label">>, P
|
|
|
138
135
|
oncalciteInternalActionMenuActionsChange?: EventHandler<ActionMenu["calciteInternalActionMenuActionsChange"]>;
|
|
139
136
|
}
|
|
140
137
|
|
|
141
|
-
interface PreactCalciteActionPad extends Partial<Pick<ActionPad, "actionsEndGroupLabel" | "expandDisabled" | "expanded" | "layout" | "messageOverrides" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, HTMLAttributes<ActionPad> {
|
|
142
|
-
oncalciteActionPadCollapse?: EventHandler<ActionPad["calciteActionPadCollapse"]>;
|
|
143
|
-
oncalciteActionPadExpand?: EventHandler<ActionPad["calciteActionPadExpand"]>;
|
|
144
|
-
oncalciteActionPadToggle?: EventHandler<ActionPad["calciteActionPadToggle"]>;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
138
|
interface PreactCalciteAlert extends Required<Pick<Alert, "label">>, Partial<Pick<Alert, "autoClose" | "autoCloseDuration" | "icon" | "iconFlipRtl" | "kind" | "messageOverrides" | "numberingSystem" | "open" | "placement" | "queue" | "scale" | "topLayerDisabled">>, HTMLAttributes<Alert> {
|
|
148
139
|
oncalciteAlertBeforeClose?: EventHandler<Alert["calciteAlertBeforeClose"]>;
|
|
149
140
|
oncalciteAlertBeforeOpen?: EventHandler<Alert["calciteAlertBeforeOpen"]>;
|
|
@@ -236,9 +227,6 @@ interface PreactCalciteColorPickerHexInput extends Partial<Pick<ColorPickerHexIn
|
|
|
236
227
|
oncalciteColorPickerHexInputChange?: EventHandler<ColorPickerHexInput["calciteColorPickerHexInputChange"]>;
|
|
237
228
|
}
|
|
238
229
|
|
|
239
|
-
interface PreactCalciteColorPickerSwatch extends Partial<Pick<ColorPickerSwatch, "active" | "color" | "scale">>, HTMLAttributes<ColorPickerSwatch> {
|
|
240
|
-
}
|
|
241
|
-
|
|
242
230
|
interface PreactCalciteCombobox extends Required<Pick<Combobox, "label">>, Partial<Pick<Combobox, "allowCustomValues" | "clearDisabled" | "disabled" | "filterProps" | "filterText" | "flipPlacements" | "form" | "labelText" | "maxItems" | "messageOverrides" | "name" | "open" | "overlayPositioning" | "placeholder" | "placeholderIcon" | "placeholderIconFlipRtl" | "placement" | "readOnly" | "required" | "scale" | "selectAllEnabled" | "selectionAppearance" | "selectionDisplay" | "selectionMode" | "status" | "topLayerDisabled" | "validationIcon" | "validationMessage" | "value">>, HTMLAttributes<Combobox> {
|
|
243
231
|
oncalciteComboboxBeforeClose?: EventHandler<Combobox["calciteComboboxBeforeClose"]>;
|
|
244
232
|
oncalciteComboboxBeforeOpen?: EventHandler<Combobox["calciteComboboxBeforeOpen"]>;
|
|
@@ -309,10 +297,6 @@ interface PreactCalciteFlowItem extends Partial<Pick<FlowItem, "beforeBack" | "b
|
|
|
309
297
|
oncalciteFlowItemToggle?: EventHandler<FlowItem["calciteFlowItemToggle"]>;
|
|
310
298
|
}
|
|
311
299
|
|
|
312
|
-
interface PreactCalciteFocusTrap extends Partial<Pick<FocusTrap, "focusTrapDisabled" | "focusTrapDisabledOverride" | "focusTrapOptions">>, HTMLAttributes<FocusTrap> {
|
|
313
|
-
oncalciteFocusTrapActiveChange?: EventHandler<FocusTrap["calciteFocusTrapActiveChange"]>;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
300
|
interface PreactCalciteGraph extends Required<Pick<Graph, "max" | "min">>, Partial<Pick<Graph, "colorStops" | "data" | "highlightMax" | "highlightMin">>, HTMLAttributes<Graph> {
|
|
317
301
|
}
|
|
318
302
|
|
|
@@ -622,7 +606,6 @@ declare module 'preact' {
|
|
|
622
606
|
"calcite-action-bar": PreactCalciteActionBar;
|
|
623
607
|
"calcite-action-group": PreactCalciteActionGroup;
|
|
624
608
|
"calcite-action-menu": PreactCalciteActionMenu;
|
|
625
|
-
"calcite-action-pad": PreactCalciteActionPad;
|
|
626
609
|
"calcite-alert": PreactCalciteAlert;
|
|
627
610
|
"calcite-autocomplete": PreactCalciteAutocomplete;
|
|
628
611
|
"calcite-autocomplete-item": PreactCalciteAutocompleteItem;
|
|
@@ -641,7 +624,6 @@ declare module 'preact' {
|
|
|
641
624
|
"calcite-chip-group": PreactCalciteChipGroup;
|
|
642
625
|
"calcite-color-picker": PreactCalciteColorPicker;
|
|
643
626
|
"calcite-color-picker-hex-input": PreactCalciteColorPickerHexInput;
|
|
644
|
-
"calcite-color-picker-swatch": PreactCalciteColorPickerSwatch;
|
|
645
627
|
"calcite-combobox": PreactCalciteCombobox;
|
|
646
628
|
"calcite-combobox-item": PreactCalciteComboboxItem;
|
|
647
629
|
"calcite-combobox-item-group": PreactCalciteComboboxItemGroup;
|
|
@@ -656,7 +638,6 @@ declare module 'preact' {
|
|
|
656
638
|
"calcite-filter": PreactCalciteFilter;
|
|
657
639
|
"calcite-flow": PreactCalciteFlow;
|
|
658
640
|
"calcite-flow-item": PreactCalciteFlowItem;
|
|
659
|
-
"calcite-focus-trap": PreactCalciteFocusTrap;
|
|
660
641
|
"calcite-graph": PreactCalciteGraph;
|
|
661
642
|
"calcite-icon": PreactCalciteIcon;
|
|
662
643
|
"calcite-inline-editable": PreactCalciteInlineEditable;
|
|
@@ -731,7 +712,6 @@ declare module 'preact' {
|
|
|
731
712
|
"calcite-action-bar": PreactCalciteActionBar;
|
|
732
713
|
"calcite-action-group": PreactCalciteActionGroup;
|
|
733
714
|
"calcite-action-menu": PreactCalciteActionMenu;
|
|
734
|
-
"calcite-action-pad": PreactCalciteActionPad;
|
|
735
715
|
"calcite-alert": PreactCalciteAlert;
|
|
736
716
|
"calcite-autocomplete": PreactCalciteAutocomplete;
|
|
737
717
|
"calcite-autocomplete-item": PreactCalciteAutocompleteItem;
|
|
@@ -750,7 +730,6 @@ declare module 'preact' {
|
|
|
750
730
|
"calcite-chip-group": PreactCalciteChipGroup;
|
|
751
731
|
"calcite-color-picker": PreactCalciteColorPicker;
|
|
752
732
|
"calcite-color-picker-hex-input": PreactCalciteColorPickerHexInput;
|
|
753
|
-
"calcite-color-picker-swatch": PreactCalciteColorPickerSwatch;
|
|
754
733
|
"calcite-combobox": PreactCalciteCombobox;
|
|
755
734
|
"calcite-combobox-item": PreactCalciteComboboxItem;
|
|
756
735
|
"calcite-combobox-item-group": PreactCalciteComboboxItemGroup;
|
|
@@ -765,7 +744,6 @@ declare module 'preact' {
|
|
|
765
744
|
"calcite-filter": PreactCalciteFilter;
|
|
766
745
|
"calcite-flow": PreactCalciteFlow;
|
|
767
746
|
"calcite-flow-item": PreactCalciteFlowItem;
|
|
768
|
-
"calcite-focus-trap": PreactCalciteFocusTrap;
|
|
769
747
|
"calcite-graph": PreactCalciteGraph;
|
|
770
748
|
"calcite-icon": PreactCalciteIcon;
|
|
771
749
|
"calcite-inline-editable": PreactCalciteInlineEditable;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import type { Action } from "../components/calcite-action/customElement.js";
|
|
|
5
5
|
import type { ActionBar } from "../components/calcite-action-bar/customElement.js";
|
|
6
6
|
import type { ActionGroup } from "../components/calcite-action-group/customElement.js";
|
|
7
7
|
import type { ActionMenu } from "../components/calcite-action-menu/customElement.js";
|
|
8
|
-
import type { ActionPad } from "../components/calcite-action-pad/customElement.js";
|
|
9
8
|
import type { Alert } from "../components/calcite-alert/customElement.js";
|
|
10
9
|
import type { Autocomplete } from "../components/calcite-autocomplete/customElement.js";
|
|
11
10
|
import type { AutocompleteItem } from "../components/calcite-autocomplete-item/customElement.js";
|
|
@@ -24,7 +23,6 @@ import type { Chip } from "../components/calcite-chip/customElement.js";
|
|
|
24
23
|
import type { ChipGroup } from "../components/calcite-chip-group/customElement.js";
|
|
25
24
|
import type { ColorPicker } from "../components/calcite-color-picker/customElement.js";
|
|
26
25
|
import type { ColorPickerHexInput } from "../components/calcite-color-picker-hex-input/customElement.js";
|
|
27
|
-
import type { ColorPickerSwatch } from "../components/calcite-color-picker-swatch/customElement.js";
|
|
28
26
|
import type { Combobox } from "../components/calcite-combobox/customElement.js";
|
|
29
27
|
import type { ComboboxItem } from "../components/calcite-combobox-item/customElement.js";
|
|
30
28
|
import type { ComboboxItemGroup } from "../components/calcite-combobox-item-group/customElement.js";
|
|
@@ -39,7 +37,6 @@ import type { Fab } from "../components/calcite-fab/customElement.js";
|
|
|
39
37
|
import type { Filter } from "../components/calcite-filter/customElement.js";
|
|
40
38
|
import type { Flow } from "../components/calcite-flow/customElement.js";
|
|
41
39
|
import type { FlowItem } from "../components/calcite-flow-item/customElement.js";
|
|
42
|
-
import type { FocusTrap } from "../components/calcite-focus-trap/customElement.js";
|
|
43
40
|
import type { Graph } from "../components/calcite-graph/customElement.js";
|
|
44
41
|
import type { Icon } from "../components/calcite-icon/customElement.js";
|
|
45
42
|
import type { InlineEditable } from "../components/calcite-inline-editable/customElement.js";
|
|
@@ -138,12 +135,6 @@ interface ReactCalciteActionMenu extends Required<Pick<ActionMenu, "label">>, Pa
|
|
|
138
135
|
oncalciteInternalActionMenuActionsChange?: EventHandler<ActionMenu["calciteInternalActionMenuActionsChange"]>;
|
|
139
136
|
}
|
|
140
137
|
|
|
141
|
-
interface ReactCalciteActionPad extends Partial<Pick<ActionPad, "actionsEndGroupLabel" | "expandDisabled" | "expanded" | "layout" | "messageOverrides" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, HTMLProps<ActionPad> {
|
|
142
|
-
oncalciteActionPadCollapse?: EventHandler<ActionPad["calciteActionPadCollapse"]>;
|
|
143
|
-
oncalciteActionPadExpand?: EventHandler<ActionPad["calciteActionPadExpand"]>;
|
|
144
|
-
oncalciteActionPadToggle?: EventHandler<ActionPad["calciteActionPadToggle"]>;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
138
|
interface ReactCalciteAlert extends Required<Pick<Alert, "label">>, Partial<Pick<Alert, "autoClose" | "autoCloseDuration" | "icon" | "iconFlipRtl" | "kind" | "messageOverrides" | "numberingSystem" | "open" | "placement" | "queue" | "scale" | "topLayerDisabled">>, HTMLProps<Alert> {
|
|
148
139
|
oncalciteAlertBeforeClose?: EventHandler<Alert["calciteAlertBeforeClose"]>;
|
|
149
140
|
oncalciteAlertBeforeOpen?: EventHandler<Alert["calciteAlertBeforeOpen"]>;
|
|
@@ -236,9 +227,6 @@ interface ReactCalciteColorPickerHexInput extends Partial<Pick<ColorPickerHexInp
|
|
|
236
227
|
oncalciteColorPickerHexInputChange?: EventHandler<ColorPickerHexInput["calciteColorPickerHexInputChange"]>;
|
|
237
228
|
}
|
|
238
229
|
|
|
239
|
-
interface ReactCalciteColorPickerSwatch extends Partial<Pick<ColorPickerSwatch, "active" | "color" | "scale">>, HTMLProps<ColorPickerSwatch> {
|
|
240
|
-
}
|
|
241
|
-
|
|
242
230
|
interface ReactCalciteCombobox extends Required<Pick<Combobox, "label">>, Partial<Pick<Combobox, "allowCustomValues" | "clearDisabled" | "disabled" | "filterProps" | "filterText" | "flipPlacements" | "form" | "labelText" | "maxItems" | "messageOverrides" | "name" | "open" | "overlayPositioning" | "placeholder" | "placeholderIcon" | "placeholderIconFlipRtl" | "placement" | "readOnly" | "required" | "scale" | "selectAllEnabled" | "selectionAppearance" | "selectionDisplay" | "selectionMode" | "status" | "topLayerDisabled" | "validationIcon" | "validationMessage" | "value">>, HTMLProps<Combobox> {
|
|
243
231
|
oncalciteComboboxBeforeClose?: EventHandler<Combobox["calciteComboboxBeforeClose"]>;
|
|
244
232
|
oncalciteComboboxBeforeOpen?: EventHandler<Combobox["calciteComboboxBeforeOpen"]>;
|
|
@@ -309,10 +297,6 @@ interface ReactCalciteFlowItem extends Partial<Pick<FlowItem, "beforeBack" | "be
|
|
|
309
297
|
oncalciteFlowItemToggle?: EventHandler<FlowItem["calciteFlowItemToggle"]>;
|
|
310
298
|
}
|
|
311
299
|
|
|
312
|
-
interface ReactCalciteFocusTrap extends Partial<Pick<FocusTrap, "focusTrapDisabled" | "focusTrapDisabledOverride" | "focusTrapOptions">>, HTMLProps<FocusTrap> {
|
|
313
|
-
oncalciteFocusTrapActiveChange?: EventHandler<FocusTrap["calciteFocusTrapActiveChange"]>;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
300
|
interface ReactCalciteGraph extends Required<Pick<Graph, "max" | "min">>, Partial<Pick<Graph, "colorStops" | "data" | "highlightMax" | "highlightMin">>, HTMLProps<Graph> {
|
|
317
301
|
}
|
|
318
302
|
|
|
@@ -622,7 +606,6 @@ declare module "react" {
|
|
|
622
606
|
"calcite-action-bar": ReactCalciteActionBar;
|
|
623
607
|
"calcite-action-group": ReactCalciteActionGroup;
|
|
624
608
|
"calcite-action-menu": ReactCalciteActionMenu;
|
|
625
|
-
"calcite-action-pad": ReactCalciteActionPad;
|
|
626
609
|
"calcite-alert": ReactCalciteAlert;
|
|
627
610
|
"calcite-autocomplete": ReactCalciteAutocomplete;
|
|
628
611
|
"calcite-autocomplete-item": ReactCalciteAutocompleteItem;
|
|
@@ -641,7 +624,6 @@ declare module "react" {
|
|
|
641
624
|
"calcite-chip-group": ReactCalciteChipGroup;
|
|
642
625
|
"calcite-color-picker": ReactCalciteColorPicker;
|
|
643
626
|
"calcite-color-picker-hex-input": ReactCalciteColorPickerHexInput;
|
|
644
|
-
"calcite-color-picker-swatch": ReactCalciteColorPickerSwatch;
|
|
645
627
|
"calcite-combobox": ReactCalciteCombobox;
|
|
646
628
|
"calcite-combobox-item": ReactCalciteComboboxItem;
|
|
647
629
|
"calcite-combobox-item-group": ReactCalciteComboboxItemGroup;
|
|
@@ -656,7 +638,6 @@ declare module "react" {
|
|
|
656
638
|
"calcite-filter": ReactCalciteFilter;
|
|
657
639
|
"calcite-flow": ReactCalciteFlow;
|
|
658
640
|
"calcite-flow-item": ReactCalciteFlowItem;
|
|
659
|
-
"calcite-focus-trap": ReactCalciteFocusTrap;
|
|
660
641
|
"calcite-graph": ReactCalciteGraph;
|
|
661
642
|
"calcite-icon": ReactCalciteIcon;
|
|
662
643
|
"calcite-inline-editable": ReactCalciteInlineEditable;
|
|
@@ -733,7 +714,6 @@ declare module "react/jsx-runtime" {
|
|
|
733
714
|
"calcite-action-bar": ReactCalciteActionBar;
|
|
734
715
|
"calcite-action-group": ReactCalciteActionGroup;
|
|
735
716
|
"calcite-action-menu": ReactCalciteActionMenu;
|
|
736
|
-
"calcite-action-pad": ReactCalciteActionPad;
|
|
737
717
|
"calcite-alert": ReactCalciteAlert;
|
|
738
718
|
"calcite-autocomplete": ReactCalciteAutocomplete;
|
|
739
719
|
"calcite-autocomplete-item": ReactCalciteAutocompleteItem;
|
|
@@ -752,7 +732,6 @@ declare module "react/jsx-runtime" {
|
|
|
752
732
|
"calcite-chip-group": ReactCalciteChipGroup;
|
|
753
733
|
"calcite-color-picker": ReactCalciteColorPicker;
|
|
754
734
|
"calcite-color-picker-hex-input": ReactCalciteColorPickerHexInput;
|
|
755
|
-
"calcite-color-picker-swatch": ReactCalciteColorPickerSwatch;
|
|
756
735
|
"calcite-combobox": ReactCalciteCombobox;
|
|
757
736
|
"calcite-combobox-item": ReactCalciteComboboxItem;
|
|
758
737
|
"calcite-combobox-item-group": ReactCalciteComboboxItemGroup;
|
|
@@ -767,7 +746,6 @@ declare module "react/jsx-runtime" {
|
|
|
767
746
|
"calcite-filter": ReactCalciteFilter;
|
|
768
747
|
"calcite-flow": ReactCalciteFlow;
|
|
769
748
|
"calcite-flow-item": ReactCalciteFlowItem;
|
|
770
|
-
"calcite-focus-trap": ReactCalciteFocusTrap;
|
|
771
749
|
"calcite-graph": ReactCalciteGraph;
|
|
772
750
|
"calcite-icon": ReactCalciteIcon;
|
|
773
751
|
"calcite-inline-editable": ReactCalciteInlineEditable;
|
|
@@ -844,7 +822,6 @@ declare module "react/jsx-dev-runtime" {
|
|
|
844
822
|
"calcite-action-bar": ReactCalciteActionBar;
|
|
845
823
|
"calcite-action-group": ReactCalciteActionGroup;
|
|
846
824
|
"calcite-action-menu": ReactCalciteActionMenu;
|
|
847
|
-
"calcite-action-pad": ReactCalciteActionPad;
|
|
848
825
|
"calcite-alert": ReactCalciteAlert;
|
|
849
826
|
"calcite-autocomplete": ReactCalciteAutocomplete;
|
|
850
827
|
"calcite-autocomplete-item": ReactCalciteAutocompleteItem;
|
|
@@ -863,7 +840,6 @@ declare module "react/jsx-dev-runtime" {
|
|
|
863
840
|
"calcite-chip-group": ReactCalciteChipGroup;
|
|
864
841
|
"calcite-color-picker": ReactCalciteColorPicker;
|
|
865
842
|
"calcite-color-picker-hex-input": ReactCalciteColorPickerHexInput;
|
|
866
|
-
"calcite-color-picker-swatch": ReactCalciteColorPickerSwatch;
|
|
867
843
|
"calcite-combobox": ReactCalciteCombobox;
|
|
868
844
|
"calcite-combobox-item": ReactCalciteComboboxItem;
|
|
869
845
|
"calcite-combobox-item-group": ReactCalciteComboboxItemGroup;
|
|
@@ -878,7 +854,6 @@ declare module "react/jsx-dev-runtime" {
|
|
|
878
854
|
"calcite-filter": ReactCalciteFilter;
|
|
879
855
|
"calcite-flow": ReactCalciteFlow;
|
|
880
856
|
"calcite-flow-item": ReactCalciteFlowItem;
|
|
881
|
-
"calcite-focus-trap": ReactCalciteFocusTrap;
|
|
882
857
|
"calcite-graph": ReactCalciteGraph;
|
|
883
858
|
"calcite-icon": ReactCalciteIcon;
|
|
884
859
|
"calcite-inline-editable": ReactCalciteInlineEditable;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import type { Action } from "../components/calcite-action/customElement.js";
|
|
|
5
5
|
import type { ActionBar } from "../components/calcite-action-bar/customElement.js";
|
|
6
6
|
import type { ActionGroup } from "../components/calcite-action-group/customElement.js";
|
|
7
7
|
import type { ActionMenu } from "../components/calcite-action-menu/customElement.js";
|
|
8
|
-
import type { ActionPad } from "../components/calcite-action-pad/customElement.js";
|
|
9
8
|
import type { Alert } from "../components/calcite-alert/customElement.js";
|
|
10
9
|
import type { Autocomplete } from "../components/calcite-autocomplete/customElement.js";
|
|
11
10
|
import type { AutocompleteItem } from "../components/calcite-autocomplete-item/customElement.js";
|
|
@@ -24,7 +23,6 @@ import type { Chip } from "../components/calcite-chip/customElement.js";
|
|
|
24
23
|
import type { ChipGroup } from "../components/calcite-chip-group/customElement.js";
|
|
25
24
|
import type { ColorPicker } from "../components/calcite-color-picker/customElement.js";
|
|
26
25
|
import type { ColorPickerHexInput } from "../components/calcite-color-picker-hex-input/customElement.js";
|
|
27
|
-
import type { ColorPickerSwatch } from "../components/calcite-color-picker-swatch/customElement.js";
|
|
28
26
|
import type { Combobox } from "../components/calcite-combobox/customElement.js";
|
|
29
27
|
import type { ComboboxItem } from "../components/calcite-combobox-item/customElement.js";
|
|
30
28
|
import type { ComboboxItemGroup } from "../components/calcite-combobox-item-group/customElement.js";
|
|
@@ -39,7 +37,6 @@ import type { Fab } from "../components/calcite-fab/customElement.js";
|
|
|
39
37
|
import type { Filter } from "../components/calcite-filter/customElement.js";
|
|
40
38
|
import type { Flow } from "../components/calcite-flow/customElement.js";
|
|
41
39
|
import type { FlowItem } from "../components/calcite-flow-item/customElement.js";
|
|
42
|
-
import type { FocusTrap } from "../components/calcite-focus-trap/customElement.js";
|
|
43
40
|
import type { Graph } from "../components/calcite-graph/customElement.js";
|
|
44
41
|
import type { Icon } from "../components/calcite-icon/customElement.js";
|
|
45
42
|
import type { InlineEditable } from "../components/calcite-inline-editable/customElement.js";
|
|
@@ -138,12 +135,6 @@ interface StencilCalciteActionMenu extends Required<Pick<ActionMenu, "label">>,
|
|
|
138
135
|
onCalciteInternalActionMenuActionsChange?: EventHandler<ActionMenu["calciteInternalActionMenuActionsChange"]>;
|
|
139
136
|
}
|
|
140
137
|
|
|
141
|
-
interface StencilCalciteActionPad extends Partial<Pick<ActionPad, "actionsEndGroupLabel" | "expandDisabled" | "expanded" | "layout" | "messageOverrides" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, StencilJsx.HTMLAttributes<ActionPad> {
|
|
142
|
-
onCalciteActionPadCollapse?: EventHandler<ActionPad["calciteActionPadCollapse"]>;
|
|
143
|
-
onCalciteActionPadExpand?: EventHandler<ActionPad["calciteActionPadExpand"]>;
|
|
144
|
-
onCalciteActionPadToggle?: EventHandler<ActionPad["calciteActionPadToggle"]>;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
138
|
interface StencilCalciteAlert extends Required<Pick<Alert, "label">>, Partial<Pick<Alert, "autoClose" | "autoCloseDuration" | "icon" | "iconFlipRtl" | "kind" | "messageOverrides" | "numberingSystem" | "open" | "placement" | "queue" | "scale" | "topLayerDisabled">>, StencilJsx.HTMLAttributes<Alert> {
|
|
148
139
|
onCalciteAlertBeforeClose?: EventHandler<Alert["calciteAlertBeforeClose"]>;
|
|
149
140
|
onCalciteAlertBeforeOpen?: EventHandler<Alert["calciteAlertBeforeOpen"]>;
|
|
@@ -236,9 +227,6 @@ interface StencilCalciteColorPickerHexInput extends Partial<Pick<ColorPickerHexI
|
|
|
236
227
|
onCalciteColorPickerHexInputChange?: EventHandler<ColorPickerHexInput["calciteColorPickerHexInputChange"]>;
|
|
237
228
|
}
|
|
238
229
|
|
|
239
|
-
interface StencilCalciteColorPickerSwatch extends Partial<Pick<ColorPickerSwatch, "active" | "color" | "scale">>, StencilJsx.HTMLAttributes<ColorPickerSwatch> {
|
|
240
|
-
}
|
|
241
|
-
|
|
242
230
|
interface StencilCalciteCombobox extends Required<Pick<Combobox, "label">>, Partial<Pick<Combobox, "allowCustomValues" | "clearDisabled" | "disabled" | "filterProps" | "filterText" | "flipPlacements" | "form" | "labelText" | "maxItems" | "messageOverrides" | "name" | "open" | "overlayPositioning" | "placeholder" | "placeholderIcon" | "placeholderIconFlipRtl" | "placement" | "readOnly" | "required" | "scale" | "selectAllEnabled" | "selectionAppearance" | "selectionDisplay" | "selectionMode" | "status" | "topLayerDisabled" | "validationIcon" | "validationMessage" | "value">>, StencilJsx.HTMLAttributes<Combobox> {
|
|
243
231
|
onCalciteComboboxBeforeClose?: EventHandler<Combobox["calciteComboboxBeforeClose"]>;
|
|
244
232
|
onCalciteComboboxBeforeOpen?: EventHandler<Combobox["calciteComboboxBeforeOpen"]>;
|
|
@@ -309,10 +297,6 @@ interface StencilCalciteFlowItem extends Partial<Pick<FlowItem, "beforeBack" | "
|
|
|
309
297
|
onCalciteFlowItemToggle?: EventHandler<FlowItem["calciteFlowItemToggle"]>;
|
|
310
298
|
}
|
|
311
299
|
|
|
312
|
-
interface StencilCalciteFocusTrap extends Partial<Pick<FocusTrap, "focusTrapDisabled" | "focusTrapDisabledOverride" | "focusTrapOptions">>, StencilJsx.HTMLAttributes<FocusTrap> {
|
|
313
|
-
onCalciteFocusTrapActiveChange?: EventHandler<FocusTrap["calciteFocusTrapActiveChange"]>;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
300
|
interface StencilCalciteGraph extends Required<Pick<Graph, "max" | "min">>, Partial<Pick<Graph, "colorStops" | "data" | "highlightMax" | "highlightMin">>, StencilJsx.HTMLAttributes<Graph> {
|
|
317
301
|
}
|
|
318
302
|
|
|
@@ -620,7 +604,6 @@ interface ExposedElements {
|
|
|
620
604
|
"calcite-action-bar": StencilCalciteActionBar;
|
|
621
605
|
"calcite-action-group": StencilCalciteActionGroup;
|
|
622
606
|
"calcite-action-menu": StencilCalciteActionMenu;
|
|
623
|
-
"calcite-action-pad": StencilCalciteActionPad;
|
|
624
607
|
"calcite-alert": StencilCalciteAlert;
|
|
625
608
|
"calcite-autocomplete": StencilCalciteAutocomplete;
|
|
626
609
|
"calcite-autocomplete-item": StencilCalciteAutocompleteItem;
|
|
@@ -639,7 +622,6 @@ interface ExposedElements {
|
|
|
639
622
|
"calcite-chip-group": StencilCalciteChipGroup;
|
|
640
623
|
"calcite-color-picker": StencilCalciteColorPicker;
|
|
641
624
|
"calcite-color-picker-hex-input": StencilCalciteColorPickerHexInput;
|
|
642
|
-
"calcite-color-picker-swatch": StencilCalciteColorPickerSwatch;
|
|
643
625
|
"calcite-combobox": StencilCalciteCombobox;
|
|
644
626
|
"calcite-combobox-item": StencilCalciteComboboxItem;
|
|
645
627
|
"calcite-combobox-item-group": StencilCalciteComboboxItemGroup;
|
|
@@ -654,7 +636,6 @@ interface ExposedElements {
|
|
|
654
636
|
"calcite-filter": StencilCalciteFilter;
|
|
655
637
|
"calcite-flow": StencilCalciteFlow;
|
|
656
638
|
"calcite-flow-item": StencilCalciteFlowItem;
|
|
657
|
-
"calcite-focus-trap": StencilCalciteFocusTrap;
|
|
658
639
|
"calcite-graph": StencilCalciteGraph;
|
|
659
640
|
"calcite-icon": StencilCalciteIcon;
|
|
660
641
|
"calcite-inline-editable": StencilCalciteInlineEditable;
|
package/package.json
CHANGED
package/dist/cdn/2QPSBLJK.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as G}from"./CRHEJ6LF.js";import{b as F}from"./G2G5ELGL.js";import{a as H}from"./RUSF77X2.js";import{a as q}from"./BV74PYW6.js";import{c as W}from"./RFDPXMN6.js";import{a as y}from"./XN5GTOTE.js";import{a as K}from"./AE5SQJER.js";import{a as P}from"./PQDCYIRQ.js";import{a as D}from"./KAADRWY5.js";import{b as V}from"./ECJJHTCC.js";import{d as I}from"./YWJV2ZJH.js";import{a as b,c as x,e as U,g as p,h as M}from"./GCDLUAO6.js";import{a as B}from"./ODUVV4RV.js";import"./5K4OZJAZ.js";import{a as L}from"./CASNTUXN.js";import{a as E,b as w}from"./FDHY2TZA.js";import{a as z}from"./KN7VGE4M.js";import"./ZZDNIBT7.js";import{a as R}from"./WAOVLW25.js";import"./VMHJHFFS.js";import{c as T,e as O}from"./BGS4CESC.js";import"./ECXSX2FK.js";import{A as v,y as g}from"./2M4ETWZU.js";import{E as h,F as c,G as A,H as r,L as f,T as S,g as k,h as d,l as m,p as o}from"./F4RP2ND6.js";var J=k`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}.input-container{position:relative;display:flex;flex:1 1 auto;flex-wrap:nowrap}.input{width:100%;--calcite-input-prefix-size: var(--calcite-autocomplete-input-prefix-size);--calcite-input-suffix-size: var(--calcite-autocomplete-input-suffix-size);--calcite-input-background-color: var(--calcite-autocomplete-input-background-color);--calcite-input-border-color: var(--calcite-autocomplete-input-border-color);--calcite-input-corner-radius: var(--calcite-autocomplete-input-corner-radius, var(--calcite-corner-radius));--calcite-input-shadow: var(--calcite-autocomplete-input-shadow);--calcite-input-icon-color: var(--calcite-autocomplete-input-icon-color);--calcite-input-text-color: var(--calcite-autocomplete-input-text-color);--calcite-input-placeholder-text-color: var(--calcite-autocomplete-input-placeholder-text-color);--calcite-input-actions-background-color: var(--calcite-autocomplete-input-actions-background-color);--calcite-input-actions-background-color-hover: var(--calcite-autocomplete-input-actions-background-color-hover);--calcite-input-actions-background-color-press: var(--calcite-autocomplete-input-actions-background-color-press);--calcite-input-actions-icon-color: var(--calcite-autocomplete-input-actions-icon-color);--calcite-input-actions-icon-color-hover: var(--calcite-autocomplete-input-actions-icon-color-hover);--calcite-input-actions-icon-color-press: var(--calcite-autocomplete-input-actions-icon-color-press);--calcite-input-loading-background-color: var(--calcite-autocomplete-input-loading-background-color);--calcite-input-loading-fill-color: var(--calcite-autocomplete-input-loading-fill-color);--calcite-input-prefix-text-color: var(--calcite-autocomplete-input-prefix-text-color);--calcite-input-suffix-text-color: var(--calcite-autocomplete-input-suffix-text-color)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.content-container{box-sizing:border-box;width:100%}.floating-ui-container{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}@starting-style{.floating-ui-container{opacity:0;inset-block-start:0;left:0}}:host([top-layer-disabled]) .floating-ui-container{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown)}.floating-ui-container[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.floating-ui-container:popover-open{display:block}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.content-container .calcite-floating-ui-anim{width:100%;overflow-y:auto;box-shadow:var(--calcite-shadow-md);max-block-size:var(--calcite-autocomplete-menu-max-size-y, 45vh);color:var(--calcite-autocomplete-text-color, var(--calcite-color-text-1));background-color:var(--calcite-autocomplete-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));border-radius:var(--calcite-autocomplete-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)))}.content--hidden{display:none}@media(forced-colors:active){.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-theme-space-base, var(--calcite-spacing-base))}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-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}:host([hidden]){display:none}[hidden]{display:none}`,N={contentBottom:"content-bottom",contentTop:"content-top"},l={inputContainer:"input-container",input:"input",contentContainer:"content-container",contentAnimation:"content-animation",content:"content",contentHidden:"content--hidden",floatingUIContainer:"floating-ui-container",floatingUIContainerActive:"floating-ui-container--active",screenReadersOnly:"screen-readers-only"},j="autocomplete",_={validationMessage:"autocompleteValidationMessage",input:u=>`${j}-input-${u}`,list:u=>`${j}-list-${u}`},Q="calcite-autocomplete-item-group",X="calcite-autocomplete-item",C=class extends A{constructor(){super(),this.guid=L(),this.attributeWatch=T(["autofocus","enterkeyhint","inputmode"],this.handleGlobalAttributesChanged),this.direction=O(),this.formSupport=W({inputType:"text"})(this),this.listId=_.list(this.guid),this.messages=z(),this.transitionProp="opacity",this.transitionRef=h(),this.defaultSlotRef=h(),this.listboxRef=h(),this.listboxOptionRefs=new Map,this.focusSetter=R()(this),this.resizeObserver=E("resize",()=>{this.setFloatingElSize()}),this.interactiveContainer=B(this),this.topLayer=P({target:()=>this.floatingEl})(this),this.activeIndex=-1,this.hasContentBottom=!1,this.hasContentTop=!1,this.items=[],this.groups=[],this.alignment="start",this.disabled=!1,this.iconFlipRtl=!1,this.loading=!1,this.open=!1,this.overlayPositioning="absolute",this.placement=b,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.topLayerDisabled=!1,this.value="",this.calciteAutocompleteBeforeClose=o({cancelable:!1}),this.calciteAutocompleteBeforeOpen=o({cancelable:!1}),this.calciteAutocompleteChange=o({cancelable:!1}),this.calciteAutocompleteClose=o({cancelable:!1}),this.calciteAutocompleteOpen=o({cancelable:!1}),this.calciteAutocompleteTextChange=o({cancelable:!1}),this.calciteAutocompleteTextInput=o({cancelable:!1}),K(this),this.listen("calciteAutocompleteItemSelect",this.handleAutocompleteItemSelect),this.listen("calciteInternalAutocompleteItemChange",this.handleAutocompleteItemChange),this.listen("calciteInternalAutocompleteItemGroupItemsChange",this.handleAutocompleteItemGroupItemsChange)}static{this.properties={activeDescendantElement:[16,{},{state:!0}],activeIndex:[16,{},{state:!0}],hasContentBottom:[16,{},{state:!0}],hasContentTop:[16,{},{state:!0}],items:[16,{},{state:!0}],groups:[16,{},{state:!0}],alignment:[3,{},{reflect:!0}],autocomplete:1,disabled:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],form:[3,{},{reflect:!0}],icon:[3,{converter:f},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],inputValue:1,label:1,labelText:1,loading:[7,{},{reflect:!0,type:Boolean}],maxLength:[11,{},{reflect:!0,type:Number}],messageOverrides:[0,{},{attribute:!1}],minLength:[11,{},{reflect:!0,type:Number}],name:[3,{},{reflect:!0}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],pattern:1,placeholder:1,placement:[3,{},{reflect:!0}],prefixText:1,readOnly:[7,{},{reflect:!0,type:Boolean}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],suffixText:1,topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],validationIcon:[3,{converter:f},{reflect:!0}],validationMessage:1,validity:[32,{},{readOnly:!0,attribute:!1}],value:1}}static{this.formAssociated=!0}static{this.styles=J}get isOpen(){return this.open&&(this.hasContentTop||this.hasContentBottom||this.items.length>0)}get enabledItems(){return this.items.filter(t=>!t.disabled)}async reposition(t=!1){let{floatingEl:e,referenceEl:a,placement:i,overlayPositioning:n,flipPlacements:s}=this;return U(this,{direction:this.direction,floatingEl:e,referenceEl:a,overlayPositioning:n,placement:i,flipPlacements:s,type:"menu"},t)}async scrollContentTo(t){this.transitionRef.value?.scrollTo(t)}async selectText(){return this.referenceEl?.selectText()}async setFocus(t){return this.focusSetter(()=>this.referenceEl,t)}connectedCallback(){super.connectedCallback(),p(this)}load(){this.listenOn(document,"click",this.documentClickHandler)}willUpdate(t){t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.handleDisabledChange(this.disabled),t.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),t.has("value")&&this.hasUpdated&&this.selectedItemsHandler(),(t.has("flipPlacements")||t.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")||t.has("placement")&&(this.hasUpdated||this.placement!==b))&&this.reposition(!0);let e=!1;t.has("inputValue")&&(this.hasUpdated||this.inputValue)&&(this.inputValueMatchPattern=this.inputValue?new RegExp(`(${F(this.inputValue)})`,"i"):void 0,this.updateItems(),this.updateGroups(),e=!0),!e&&t.has("scale")&&(this.hasUpdated||this.scale!=="m")&&(this.updateItems(),this.updateGroups(),e=!0),!e&&t.has("activeIndex")&&(this.hasUpdated||this.activeIndex!==-1)&&this.updateItems()}updated(){this.syncActiveDescendantElement()}loaded(){this.getAllItems(),p(this)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect(),M(this)}setFloatingElSize(){let{referenceEl:t,floatingEl:e}=this;!t||!e||(e.style.inlineSize=`${t.clientWidth}px`)}handleGlobalAttributesChanged(){this.requestUpdate()}handleDisabledChange(t){t||(this.open=!1)}selectedItemsHandler(){this.items.forEach(t=>t.selected=t.value===this.value)}openHandler(){if(this.disabled){this.open=!1;return}this.open||(this.activeIndex=-1),D(this),this.setFloatingElSize(),this.reposition(!0)}async documentClickHandler(t){this.disabled||t.composedPath().includes(this.el)||(this.open=!1)}async handleAutocompleteItemSelect(t){this.value=t.target.value,this.selectedItemsHandler(),this.emitChange(),await this.setFocus(),this.open=!1}handleAutocompleteItemChange(t){t.stopPropagation(),this.items.length&&(this.updateItems(),this.requestUpdate())}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteAutocompleteBeforeOpen.emit(),this.topLayer.show()}onOpen(){this.calciteAutocompleteOpen.emit()}onBeforeClose(){this.calciteAutocompleteBeforeClose.emit()}onClose(){this.calciteAutocompleteClose.emit(),this.topLayer.hide()}emitChange(){this.calciteAutocompleteChange.emit()}updateGroups(){this.groups.forEach((t,e,a)=>{t.scale=this.scale,t.position=e,e===0&&(t.disableSpacing=!0);let i=a[e+1];i&&(i.disableSpacing=t.children.length===0)})}updateItems(){this.value&&this.selectedItemsHandler(),this.items.forEach(t=>{t.scale=this.scale,t.inputValueMatchPattern=this.inputValueMatchPattern}),this.enabledItems.forEach((t,e)=>{let a=e===this.activeIndex;t.active=a}),this.syncActiveDescendantElement()}syncActiveDescendantElement(){let t=this.enabledItems[this.activeIndex];this.activeDescendantElement=t?this.listboxOptionRefs.get(t.guid)?.value:void 0}handleInputFocus(){this.open=!0}handleContentTopSlotChange(t){this.hasContentTop=g(t)}handleContentBottomSlotChange(t){this.hasContentBottom=g(t)}handleDefaultSlotChange(){this.getAllItems()}handleAutocompleteItemGroupItemsChange(t){t.stopPropagation(),this.getAllItems()}getAllItems(){let t=this.defaultSlotRef.value?v(this.defaultSlotRef.value,Q):Array.from(this.el.children).filter(V),e=this.defaultSlotRef.value?v(this.defaultSlotRef.value,X):Array.from(this.el.children).filter(I),a=t.flatMap(n=>n.items??[]),i=Array.from(new Set([...e,...a].filter(I)));this.groups=t,this.items=i,this.removeStaleListboxOptionRefs(i),this.updateItems(),this.updateGroups()}removeStaleListboxOptionRefs(t){let e=new Set(t.map(a=>a.guid));this.listboxOptionRefs.forEach((a,i)=>{e.has(i)||this.listboxOptionRefs.delete(i)})}getListboxOptionRef(t){let e=this.listboxOptionRefs.get(t.guid);return e||(e=h(),this.listboxOptionRefs.set(t.guid,e)),e}setReferenceEl(t){w(this.resizeObserver,this.referenceEl,t),this.referenceEl=t,p(this)}keyDownHandler(t){let{defaultPrevented:e,key:a}=t;if(e)return;let{open:i,activeIndex:n,enabledItems:s}=this,$=s.length&&n>-1?s[n]:null;switch(a){case"Escape":i&&(this.open=!1,t.preventDefault());break;case"Tab":this.open=!1;break;case"Enter":i&&$?($.requestSelection(),this.open=!1,t.preventDefault()):!t.defaultPrevented&&this.formSupport.active&&(t.preventDefault(),this.formSupport.requestSubmit());break;case"ArrowDown":s.length&&(this.open=!0,this.activeIndex=n!==-1?Math.min(n+1,s.length-1):0,this.scrollToActiveItem(),t.preventDefault());break;case"ArrowUp":s.length&&(this.open=!0,this.activeIndex=n!==-1?Math.max(n-1,0):s.length-1,this.scrollToActiveItem(),t.preventDefault());break;case"Home":s.length&&(this.open=!0,this.activeIndex=0,this.scrollToActiveItem(),t.preventDefault());break;case"End":s.length&&(this.open=!0,this.activeIndex=s.length-1,this.scrollToActiveItem(),t.preventDefault());break}}scrollToActiveItem(){this.enabledItems[this.activeIndex]?.scrollIntoView({block:"nearest"})}changeHandler(t){t.stopPropagation(),this.inputValue=t.target.value,this.calciteAutocompleteTextChange.emit()}inputClickHandler(t){t.defaultPrevented||(this.open=!0)}inputHandler(t){t.stopPropagation(),this.inputValue=t.target.value,this.open=this.inputValue?.length>0,this.calciteAutocompleteTextInput.emit()}setFloatingEl(t){this.floatingEl=t,p(this)}render(){let{disabled:t,isOpen:e}=this,a=this.el.autofocus,i=this.el.enterKeyHint,n=this.el.inputMode;return this.interactiveContainer({disabled:t,children:d`${this.labelText&&q({labelText:this.labelText,onClick:this.onLabelClick,required:this.required,tooltipText:this.messages.required})||""}<div class=${r(l.inputContainer)}><calcite-input .alignment=${this.alignment} .aria=${{activeDescendantElement:this.activeDescendantElement,autoComplete:"list",controlsElements:this.listboxRef.value?[this.listboxRef.value]:void 0,expanded:e,hasPopup:"listbox",label:y(this)}} .autocomplete=${this.autocomplete} .autofocus=${a} class=${r(l.input)} clearable .disabled=${t} enterkeyhint=${i??m} .form=${this.form} .icon=${this.icon??!0} .iconFlipRtl=${this.iconFlipRtl} inputmode=${n??m} .inputRole=${"combobox"} .label=${this.label} .loading=${this.loading} .maxLength=${this.maxLength} .messageOverrides=${this.messages} .minLength=${this.minLength} .name=${this.name} @calciteInputChange=${this.changeHandler} @calciteInputInput=${this.inputHandler} @calciteInternalInputFocus=${this.handleInputFocus} @click=${this.inputClickHandler} @keydown=${this.keyDownHandler} .pattern=${this.pattern} .placeholder=${this.placeholder} .prefixText=${this.prefixText} .readOnly=${this.readOnly} .required=${this.required} .scale=${this.scale} .status=${this.status} .suffixText=${this.suffixText} type=search .value=${this.inputValue} ${c(this.setReferenceEl)}></calcite-input>${this.renderListBox()}<div class=${r({[l.contentContainer]:!0,[l.floatingUIContainer]:!0,[l.floatingUIContainerActive]:e})} popover=manual ${c(this.setFloatingEl)}><div class=${r({[l.contentAnimation]:!0,[x.animation]:!0,[x.animationActive]:e})} ${c(this.transitionRef)}><div class=${r({[l.content]:!0,[l.contentHidden]:!e})}><slot name=${N.contentTop} @slotchange=${this.handleContentTopSlotChange}></slot><slot aria-hidden=true @slotchange=${this.handleDefaultSlotChange} ${c(this.defaultSlotRef)}></slot><slot name=${N.contentBottom} @slotchange=${this.handleContentBottomSlotChange}></slot></div></div></div></div>${this.validationMessage&&this.status==="invalid"?G({icon:this.validationIcon,id:_.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderListBox(){return d`<ul .ariaLabel=${y(this)} aria-live=polite class=${r(l.screenReadersOnly)} id=${this.listId??m} role=listbox tabindex=-1 ${c(this.listboxRef)}>${this.renderListBoxOptions()}</ul>`}renderListBoxOptions(){return H(this.items.filter(t=>!!(t.label||t.heading)),t=>t.guid,t=>d`<li .ariaDisabled=${t.disabled} .ariaLabel=${t.label} .ariaSelected=${t.selected} role=option tabindex=-1 ${c(this.getListboxOptionRef(t))}>${t.heading}${t.description}</li>`)}};S("calcite-autocomplete",C);export{C as Autocomplete};
|