@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"Extindere","collapse":"Restrângere","expandLabel":"Extindeți meniul","collapseLabel":"Restrângeți meniul"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"Развернуть","collapse":"Свернуть","expandLabel":"Развернуть меню","collapseLabel":"Свернуть меню"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"Rozbaliť","collapse":"Zbaliť","expandLabel":"Rozbaliť menu","collapseLabel":"Zbaliť menu"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"Razširi","collapse":"Strni","expandLabel":"Razširi meni","collapseLabel":"Strni meni"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"Proširi","collapse":"Skupi","expandLabel":"Proširi meni","collapseLabel":"Skupi meni"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"Expandera","collapse":"Dölj","expandLabel":"Expandera meny","collapseLabel":"Dölj meny"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"ขยาย","collapse":"ย่อลงมา","expandLabel":"ขยายเมนู","collapseLabel":"ย่อเมนู"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"Genişlet","collapse":"Daralt","expandLabel":"Menüyü genişlet","collapseLabel":"Menüyü daralt"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"Розширити","collapse":"Згорнути","expandLabel":"Розгорнути меню","collapseLabel":"Згорнути меню"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"Mở rộng","collapse":"Thu gọn","expandLabel":"Mở rộng menu","collapseLabel":"Thu gọn menu"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"展开","collapse":"折叠","expandLabel":"展开菜单","collapseLabel":"折叠菜单"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"展開","collapse":"摺疊","expandLabel":"展開功能表","collapseLabel":"摺疊功能表"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"expand":"展開","collapse":"摺疊","expandLabel":"展開功能表","collapseLabel":"摺疊功能表"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { ref } from "lit/directives/ref.js";
|
|
3
|
-
import { nothing, html } from "lit";
|
|
4
|
-
import { S as SLOTS } from "./resources.js";
|
|
5
|
-
import { S as SLOTS$1 } from "./resources2.js";
|
|
6
|
-
const ICONS = {
|
|
7
|
-
chevronsLeft: "chevrons-left",
|
|
8
|
-
chevronsRight: "chevrons-right"
|
|
9
|
-
};
|
|
10
|
-
function getCalcitePosition(el, position) {
|
|
11
|
-
return position || el.closest("calcite-shell-panel")?.position || "start";
|
|
12
|
-
}
|
|
13
|
-
function toggleActionBarChildActionText({ actions, expandables, expanded }) {
|
|
14
|
-
actions.filter((el) => el.slot !== SLOTS.menuActions).forEach((action) => action.textEnabled = expanded);
|
|
15
|
-
expandables.forEach((item) => item.expanded = expanded);
|
|
16
|
-
}
|
|
17
|
-
function legacyToggleChildActionText({ el, expanded }) {
|
|
18
|
-
Array.from(el.querySelectorAll("calcite-action")).filter((action) => action.slot !== SLOTS.menuActions && (action.closest("calcite-action-menu") ? action.slot === SLOTS$1.trigger : true)).forEach((action) => action.textEnabled = expanded);
|
|
19
|
-
el.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((expandable) => expandable.expanded = expanded);
|
|
20
|
-
}
|
|
21
|
-
const setTooltipReference = ({ tooltip, referenceElement, expanded, ref: ref2 }) => {
|
|
22
|
-
if (tooltip) {
|
|
23
|
-
tooltip.referenceElement = !expanded && referenceElement ? referenceElement : void 0;
|
|
24
|
-
}
|
|
25
|
-
if (ref2) {
|
|
26
|
-
ref2(referenceElement);
|
|
27
|
-
}
|
|
28
|
-
return referenceElement;
|
|
29
|
-
};
|
|
30
|
-
const ExpandToggle = ({ collapseText, collapseLabel, direction, expanded, expandText, expandLabel, toggle, el, position, tooltip, ref: ref$1, scale }) => {
|
|
31
|
-
const rtl = direction === "rtl";
|
|
32
|
-
const text = expanded ? collapseText : expandText;
|
|
33
|
-
const label = expanded ? collapseLabel : expandLabel;
|
|
34
|
-
const icons = [ICONS.chevronsLeft, ICONS.chevronsRight];
|
|
35
|
-
if (rtl) {
|
|
36
|
-
icons.reverse();
|
|
37
|
-
}
|
|
38
|
-
const end = getCalcitePosition(el, position) === "end";
|
|
39
|
-
const expandIcon = end ? icons[1] : icons[0];
|
|
40
|
-
const collapseIcon = end ? icons[0] : icons[1];
|
|
41
|
-
const actionNode = html`<calcite-action .aria=${{ expanded }} .icon=${expanded ? expandIcon : collapseIcon} id=expand-toggle .label=${label} @click=${toggle} .scale=${scale} .text=${text} .textEnabled=${expanded} title=${(!expanded && !tooltip ? text : void 0) ?? nothing} ${ref((referenceElement) => setTooltipReference({ tooltip, referenceElement, expanded, ref: ref$1 }))}></calcite-action>`;
|
|
42
|
-
return actionNode;
|
|
43
|
-
};
|
|
44
|
-
export {
|
|
45
|
-
ExpandToggle as E,
|
|
46
|
-
legacyToggleChildActionText as l,
|
|
47
|
-
toggleActionBarChildActionText as t
|
|
48
|
-
};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Layout, Position, Scale, SelectionAppearance } from "../types.js";
|
|
4
|
-
import type { OverlayPositioning } from "../../utils/floating-ui.js";
|
|
5
|
-
|
|
6
|
-
declare module "@arcgis/lumina" {
|
|
7
|
-
export interface DeclareCssProperties {
|
|
8
|
-
/** Specifies the component's border radius. */
|
|
9
|
-
"--calcite-action-pad-corner-radius": "*";
|
|
10
|
-
/** When `expanded` and `layout` is `"vertical"`, specifies the component's maximum width. */
|
|
11
|
-
"--calcite-action-pad-expanded-max-width": "*";
|
|
12
|
-
/** Specifies the component's space between slotted components. */
|
|
13
|
-
"--calcite-action-pad-items-space": "*";
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated in v5.0.0, removal target v6.0.0 - Use the `calcite-action-bar` component instead.
|
|
19
|
-
* @slot - A slot for adding `calcite-action`s to the component.
|
|
20
|
-
* @slot [expand-tooltip] - A slot to set the `calcite-tooltip` for the expand toggle.
|
|
21
|
-
*/
|
|
22
|
-
export abstract class ActionPad extends LitElement {
|
|
23
|
-
/** Specifies the accessible label for the last `calcite-action-group`. */
|
|
24
|
-
accessor actionsEndGroupLabel: string | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* When `true`, the expand-toggling behavior is disabled.
|
|
27
|
-
*
|
|
28
|
-
* @default false
|
|
29
|
-
*/
|
|
30
|
-
accessor expandDisabled: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* When `true`, expands the component and its contents.
|
|
33
|
-
*
|
|
34
|
-
* @default false
|
|
35
|
-
*/
|
|
36
|
-
accessor expanded: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Specifies the layout of the component.
|
|
39
|
-
*
|
|
40
|
-
* @default "vertical"
|
|
41
|
-
*/
|
|
42
|
-
accessor layout: Extract<"horizontal" | "vertical" | "grid", Layout>;
|
|
43
|
-
/**
|
|
44
|
-
* Replace localized message strings with your own strings.
|
|
45
|
-
*
|
|
46
|
-
* _**Note**: Individual message keys may change between releases._
|
|
47
|
-
*/
|
|
48
|
-
accessor messageOverrides: {
|
|
49
|
-
expand?: string | undefined;
|
|
50
|
-
collapse?: string | undefined;
|
|
51
|
-
expandLabel?: string | undefined;
|
|
52
|
-
collapseLabel?: string | undefined;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Specifies the type of positioning to use for overlaid content.
|
|
56
|
-
*
|
|
57
|
-
* - `"absolute"` works for most cases - positioning the component inside of overflowing parent containers, which affects the container's layout.
|
|
58
|
-
*
|
|
59
|
-
* - `"fixed"` is used to escape an overflowing parent container, or when the reference element's `position` CSS property is `"fixed"`.
|
|
60
|
-
*
|
|
61
|
-
* @default "absolute"
|
|
62
|
-
*/
|
|
63
|
-
accessor overlayPositioning: OverlayPositioning;
|
|
64
|
-
/** Specifies the position of the component depending on the element's `dir` property. */
|
|
65
|
-
accessor position: Extract<"start" | "end", Position> | undefined;
|
|
66
|
-
/**
|
|
67
|
-
* Specifies the size of the expand `calcite-action`.
|
|
68
|
-
*
|
|
69
|
-
* @default "m"
|
|
70
|
-
*/
|
|
71
|
-
accessor scale: Scale;
|
|
72
|
-
/**
|
|
73
|
-
* Specifies the selection appearance of the component
|
|
74
|
-
*
|
|
75
|
-
* @default "neutral"
|
|
76
|
-
*/
|
|
77
|
-
accessor selectionAppearance: Extract<"neutral" | "highlight", SelectionAppearance>;
|
|
78
|
-
/**
|
|
79
|
-
* Sets focus on the component's first focusable element.
|
|
80
|
-
*
|
|
81
|
-
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
82
|
-
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
83
|
-
*/
|
|
84
|
-
setFocus(options?: FocusOptions): Promise<void>;
|
|
85
|
-
/** Fires when the component's content area is collapsed. */
|
|
86
|
-
readonly calciteActionPadCollapse: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
87
|
-
/** Fires when the component's content area is expanded. */
|
|
88
|
-
readonly calciteActionPadExpand: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
89
|
-
/** Fires when the `expanded` property is toggled. */
|
|
90
|
-
readonly calciteActionPadToggle: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
91
|
-
readonly "@eventTypes": {
|
|
92
|
-
calciteActionPadCollapse: ActionPad["calciteActionPadCollapse"]["detail"];
|
|
93
|
-
calciteActionPadExpand: ActionPad["calciteActionPadExpand"]["detail"];
|
|
94
|
-
calciteActionPadToggle: ActionPad["calciteActionPadToggle"]["detail"];
|
|
95
|
-
};
|
|
96
|
-
}
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { l as logger, c as customElement } from "../../chunks/runtime.js";
|
|
3
|
-
import { css, html } from "lit";
|
|
4
|
-
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
5
|
-
import { useDirection } from "@arcgis/lumina/controllers";
|
|
6
|
-
import { b as slotChangeGetAssignedElements, e as focusElementInGroup } from "../../chunks/dom.js";
|
|
7
|
-
import { l as legacyToggleChildActionText, E as ExpandToggle } from "../../chunks/ExpandToggle.js";
|
|
8
|
-
import { c as createObserver } from "../../chunks/observers.js";
|
|
9
|
-
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
|
-
import { i as isTooltip } from "../../chunks/resources11.js";
|
|
11
|
-
import { i as isAction } from "../../chunks/resources4.js";
|
|
12
|
-
import { u as useFocusable } from "../../chunks/useFocusable.js";
|
|
13
|
-
const CSS = {
|
|
14
|
-
actionGroupEnd: "action-group--end",
|
|
15
|
-
container: "container"
|
|
16
|
-
};
|
|
17
|
-
const SLOTS = {
|
|
18
|
-
expandTooltip: "expand-tooltip"
|
|
19
|
-
};
|
|
20
|
-
const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1));color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([scale=s]){--calcite-internal-action-pad-gap: var( --calcite-action-pad-items-space, var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs)) );--calcite-internal-action-pad-padding: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=m]){--calcite-internal-action-pad-gap: var( --calcite-action-pad-items-space, var(--calcite-theme-space-sm, var(--calcite-spacing-sm)) );--calcite-internal-action-pad-padding: var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]){--calcite-internal-action-pad-gap: var(--calcite-action-pad-items-space, var(--calcite-space-sm-plus));--calcite-internal-action-pad-padding: var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}:host{display:block}@keyframes in{0%{opacity:0}to{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:var(--calcite-action-pad-corner-radius, .125rem);background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width, auto)}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:1px;padding-block-end:var(--calcite-internal-action-pad-padding)}.container{display:inline-flex;flex-direction:column;overflow:hidden;box-shadow:var(--calcite-shadow-md);border-radius:calc(var(--calcite-action-pad-corner-radius, .125rem) * 2);background-color:var(--calcite-action-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));gap:var(--calcite-internal-action-pad-gap);padding:var(--calcite-internal-action-pad-padding)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0}:host([layout=horizontal]) .container ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:1px;padding-inline-end:var(--calcite-internal-action-pad-padding)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
21
|
-
class ActionPad extends LitElement {
|
|
22
|
-
constructor() {
|
|
23
|
-
super();
|
|
24
|
-
this.actions = [];
|
|
25
|
-
this.direction = useDirection();
|
|
26
|
-
this.mutationObserver = createObserver("mutation", () => this.mutationObserverHandler());
|
|
27
|
-
this.toggleExpand = () => {
|
|
28
|
-
this.expanded = !this.expanded;
|
|
29
|
-
this.calciteActionPadToggle.emit();
|
|
30
|
-
};
|
|
31
|
-
this.messages = useT9n({ blocking: true });
|
|
32
|
-
this.focusSetter = useFocusable()(this);
|
|
33
|
-
this.expandDisabled = false;
|
|
34
|
-
this.expanded = false;
|
|
35
|
-
this.layout = "vertical";
|
|
36
|
-
this.overlayPositioning = "absolute";
|
|
37
|
-
this.scale = "m";
|
|
38
|
-
this.selectionAppearance = "neutral";
|
|
39
|
-
this.calciteActionPadCollapse = createEvent({ cancelable: false });
|
|
40
|
-
this.calciteActionPadExpand = createEvent({ cancelable: false });
|
|
41
|
-
this.calciteActionPadToggle = createEvent({ cancelable: false });
|
|
42
|
-
this.listen("calciteActionMenuOpen", this.actionMenuOpenHandler);
|
|
43
|
-
this.listen("keydown", this.handleKeyDown);
|
|
44
|
-
}
|
|
45
|
-
static {
|
|
46
|
-
this.properties = { expandTooltip: [16, {}, { state: true }], actionsEndGroupLabel: 1, expandDisabled: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], position: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }] };
|
|
47
|
-
}
|
|
48
|
-
static {
|
|
49
|
-
this.shadowRootOptions = { mode: "open", delegatesFocus: true };
|
|
50
|
-
}
|
|
51
|
-
static {
|
|
52
|
-
this.styles = styles;
|
|
53
|
-
}
|
|
54
|
-
async setFocus(options) {
|
|
55
|
-
return this.focusSetter(() => this.el, options);
|
|
56
|
-
}
|
|
57
|
-
connectedCallback() {
|
|
58
|
-
super.connectedCallback();
|
|
59
|
-
this.updateActions();
|
|
60
|
-
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
61
|
-
}
|
|
62
|
-
async load() {
|
|
63
|
-
logger.deprecated("component", {
|
|
64
|
-
component: this,
|
|
65
|
-
name: "action-pad",
|
|
66
|
-
removalVersion: 5,
|
|
67
|
-
suggested: "action-bar"
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
willUpdate(changes) {
|
|
71
|
-
if (changes.has("expanded") && this.hasUpdated) {
|
|
72
|
-
legacyToggleChildActionText({ el: this.el, expanded: this.expanded });
|
|
73
|
-
}
|
|
74
|
-
if (changes.has("layout") && (this.hasUpdated || this.layout !== "vertical")) {
|
|
75
|
-
this.updateGroups();
|
|
76
|
-
}
|
|
77
|
-
if (changes.has("expanded") && this.hasUpdated) {
|
|
78
|
-
if (this.expanded) {
|
|
79
|
-
this.calciteActionPadExpand.emit();
|
|
80
|
-
} else {
|
|
81
|
-
this.calciteActionPadCollapse.emit();
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
if (changes.has("selectionAppearance") && (this.hasUpdated || this.selectionAppearance !== "neutral")) {
|
|
85
|
-
this.updateActions();
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
disconnectedCallback() {
|
|
89
|
-
super.disconnectedCallback();
|
|
90
|
-
this.mutationObserver?.disconnect();
|
|
91
|
-
}
|
|
92
|
-
actionMenuOpenHandler(event) {
|
|
93
|
-
if (event.target.menuOpen) {
|
|
94
|
-
const composedPath = event.composedPath();
|
|
95
|
-
this.actionGroups?.forEach((group) => {
|
|
96
|
-
if (!composedPath.includes(group)) {
|
|
97
|
-
group.menuOpen = false;
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
updateGroups() {
|
|
103
|
-
const groups = Array.from(this.el.querySelectorAll("calcite-action-group"));
|
|
104
|
-
this.actionGroups = groups;
|
|
105
|
-
this.setGroupLayout(groups);
|
|
106
|
-
}
|
|
107
|
-
setGroupLayout(groups) {
|
|
108
|
-
groups.forEach((group) => group.layout = this.layout);
|
|
109
|
-
}
|
|
110
|
-
handleDefaultSlotChange() {
|
|
111
|
-
this.updateGroups();
|
|
112
|
-
this.queryAndStoreActions();
|
|
113
|
-
this.updateActions();
|
|
114
|
-
}
|
|
115
|
-
handleTooltipSlotChange(event) {
|
|
116
|
-
const tooltips = slotChangeGetAssignedElements(event).filter(isTooltip);
|
|
117
|
-
this.expandTooltip = tooltips[0];
|
|
118
|
-
}
|
|
119
|
-
handleKeyDown(event) {
|
|
120
|
-
this.queryAndStoreActions();
|
|
121
|
-
const actions = this.actions.filter((action) => !action.disabled);
|
|
122
|
-
const current = document.activeElement;
|
|
123
|
-
if (!isAction(current) || !actions.includes(current)) {
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
switch (event.key) {
|
|
127
|
-
case "ArrowRight":
|
|
128
|
-
case "ArrowDown":
|
|
129
|
-
focusElementInGroup(actions, current, "next", true);
|
|
130
|
-
event.preventDefault();
|
|
131
|
-
break;
|
|
132
|
-
case "ArrowLeft":
|
|
133
|
-
case "ArrowUp":
|
|
134
|
-
focusElementInGroup(actions, current, "previous", true);
|
|
135
|
-
event.preventDefault();
|
|
136
|
-
break;
|
|
137
|
-
case "Home":
|
|
138
|
-
focusElementInGroup(actions, current, "first", true);
|
|
139
|
-
event.preventDefault();
|
|
140
|
-
break;
|
|
141
|
-
case "End":
|
|
142
|
-
focusElementInGroup(actions, current, "last", true);
|
|
143
|
-
event.preventDefault();
|
|
144
|
-
break;
|
|
145
|
-
case "Tab":
|
|
146
|
-
this.updateTabIndexOfItems(current);
|
|
147
|
-
break;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
updateActions() {
|
|
151
|
-
this.actions.forEach((action) => {
|
|
152
|
-
action.selectionAppearance = this.selectionAppearance;
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
updateTabIndexOfItems(active) {
|
|
156
|
-
this.actions.forEach((action) => {
|
|
157
|
-
const tabIndex = !action.disabled && action === active ? 0 : -1;
|
|
158
|
-
if (tabIndex === 0) {
|
|
159
|
-
action.removeAttribute("tabindex");
|
|
160
|
-
} else {
|
|
161
|
-
action.tabIndex = tabIndex;
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
queryAndStoreActions() {
|
|
166
|
-
this.actions = Array.from(this.el.querySelectorAll("calcite-action"));
|
|
167
|
-
}
|
|
168
|
-
mutationObserverHandler() {
|
|
169
|
-
this.updateGroups();
|
|
170
|
-
this.queryAndStoreActions();
|
|
171
|
-
this.updateActions();
|
|
172
|
-
}
|
|
173
|
-
renderBottomActionGroup() {
|
|
174
|
-
const { expanded, expandDisabled, messages, el, position, toggleExpand, scale, layout, actionsEndGroupLabel, overlayPositioning } = this;
|
|
175
|
-
const expandToggleNode = !expandDisabled ? ExpandToggle({ collapseLabel: messages.collapseLabel, collapseText: messages.collapse, direction: this.direction, el, expanded, expandLabel: messages.expandLabel, expandText: messages.expand, position, scale, toggle: toggleExpand, tooltip: this.expandTooltip }) : null;
|
|
176
|
-
return expandToggleNode ? html`<calcite-action-group class=${safeClassMap(CSS.actionGroupEnd)} .label=${actionsEndGroupLabel} .layout=${layout} .overlayPositioning=${overlayPositioning} .scale=${scale}><slot name=${SLOTS.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${expandToggleNode}</calcite-action-group>` : null;
|
|
177
|
-
}
|
|
178
|
-
render() {
|
|
179
|
-
return html`<div class=${safeClassMap(CSS.container)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
customElement("calcite-action-pad", ActionPad);
|
|
183
|
-
export {
|
|
184
|
-
ActionPad
|
|
185
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale } from "../types.js";
|
|
4
|
-
|
|
5
|
-
/** @deprecated in v3.3.0, removal target v6.0.0. Use the `calcite-swatch-group` and `calcite-swatch` components instead. */
|
|
6
|
-
export abstract class ColorPickerSwatch extends LitElement {
|
|
7
|
-
/**
|
|
8
|
-
* When `true`, the component is active.
|
|
9
|
-
*
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
accessor active: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* The color value.
|
|
15
|
-
*
|
|
16
|
-
* @see [MDN - Color CSS data type](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value).
|
|
17
|
-
*/
|
|
18
|
-
accessor color: string | undefined;
|
|
19
|
-
/**
|
|
20
|
-
* Specifies the size of the component.
|
|
21
|
-
*
|
|
22
|
-
* @default "m"
|
|
23
|
-
*/
|
|
24
|
-
accessor scale: Scale;
|
|
25
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as customElement } from "../../chunks/runtime.js";
|
|
3
|
-
import { keyed } from "lit/directives/keyed.js";
|
|
4
|
-
import Color from "color";
|
|
5
|
-
import { css, html, nothing, svg } from "lit";
|
|
6
|
-
import { LitElement, safeClassMap } from "@arcgis/lumina";
|
|
7
|
-
import { y as getModeName } from "../../chunks/dom.js";
|
|
8
|
-
import { h as hexify } from "../../chunks/utils3.js";
|
|
9
|
-
const CSS = {
|
|
10
|
-
swatch: "swatch",
|
|
11
|
-
noColorSwatch: "swatch--no-color",
|
|
12
|
-
checker: "checker"
|
|
13
|
-
};
|
|
14
|
-
const COLORS = {
|
|
15
|
-
borderLight: "rgba(0, 0, 0, 0.3)",
|
|
16
|
-
borderDark: "rgba(255, 255, 255, 0.15)"
|
|
17
|
-
};
|
|
18
|
-
const checkerSquareSize = 4;
|
|
19
|
-
const CHECKER_DIMENSIONS = {
|
|
20
|
-
squareSize: checkerSquareSize,
|
|
21
|
-
size: checkerSquareSize * 2
|
|
22
|
-
};
|
|
23
|
-
const IDS = {
|
|
24
|
-
checker: "checker",
|
|
25
|
-
shape: "shape"
|
|
26
|
-
};
|
|
27
|
-
const styles = css`:host{position:relative;display:inline-flex}:host([scale=s]){block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch rect{transition-property:all;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1)}.swatch--no-color rect{fill:var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1))}.swatch--no-color line{stroke:var(--calcite-color-status-danger)}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
28
|
-
class ColorPickerSwatch extends LitElement {
|
|
29
|
-
constructor() {
|
|
30
|
-
super(...arguments);
|
|
31
|
-
this.active = false;
|
|
32
|
-
this.scale = "m";
|
|
33
|
-
}
|
|
34
|
-
static {
|
|
35
|
-
this.properties = { active: [7, {}, { reflect: true, type: Boolean }], color: 1, scale: [3, {}, { reflect: true }] };
|
|
36
|
-
}
|
|
37
|
-
static {
|
|
38
|
-
this.styles = styles;
|
|
39
|
-
}
|
|
40
|
-
load() {
|
|
41
|
-
this.handleColorChange(this.color);
|
|
42
|
-
}
|
|
43
|
-
willUpdate(changes) {
|
|
44
|
-
if (changes.has("color")) {
|
|
45
|
-
this.handleColorChange(this.color);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
handleColorChange(color) {
|
|
49
|
-
this.internalColor = color ? Color(color) : void 0;
|
|
50
|
-
}
|
|
51
|
-
render() {
|
|
52
|
-
const isEmpty = !this.internalColor;
|
|
53
|
-
const classes = {
|
|
54
|
-
[CSS.swatch]: true,
|
|
55
|
-
[CSS.noColorSwatch]: isEmpty
|
|
56
|
-
};
|
|
57
|
-
return html`<svg class=${safeClassMap(classes)} xmlns=http://www.w3.org/2000/svg>${this.renderSwatch()}</svg>`;
|
|
58
|
-
}
|
|
59
|
-
renderSwatch() {
|
|
60
|
-
const { active, el, internalColor } = this;
|
|
61
|
-
const borderRadius = active ? "100%" : "0";
|
|
62
|
-
const theme = getModeName(el);
|
|
63
|
-
const borderColor = theme === "light" ? COLORS.borderLight : COLORS.borderDark;
|
|
64
|
-
const isEmpty = !internalColor;
|
|
65
|
-
const commonSwatchProps = {
|
|
66
|
-
height: "100%",
|
|
67
|
-
rx: borderRadius,
|
|
68
|
-
stroke: borderColor,
|
|
69
|
-
strokeWidth: "2",
|
|
70
|
-
width: "100%"
|
|
71
|
-
};
|
|
72
|
-
if (isEmpty) {
|
|
73
|
-
return svg`<clipPath id=${IDS.shape}><rect height=100% rx=${borderRadius ?? nothing} width=100% /></clipPath>${this.renderSwatchRect({
|
|
74
|
-
clipPath: `inset(0 round ${borderRadius})`,
|
|
75
|
-
...commonSwatchProps
|
|
76
|
-
})}<line clip-path=url(#shape) stroke-width=3 x1=100% x2=0 y1=0 y2=100% />`;
|
|
77
|
-
}
|
|
78
|
-
const alpha = internalColor.alpha();
|
|
79
|
-
const hex = hexify(internalColor);
|
|
80
|
-
const hexa = hexify(internalColor, alpha < 1);
|
|
81
|
-
return svg`<title>${hexa}</title><defs><pattern height=${CHECKER_DIMENSIONS.size} id=${IDS.checker} patternUnits=userSpaceOnUse width=${CHECKER_DIMENSIONS.size} x=0 y=0><rect class=${safeClassMap(CSS.checker)} height=${CHECKER_DIMENSIONS.squareSize} width=${CHECKER_DIMENSIONS.squareSize} x=0 y=0 /><rect class=${safeClassMap(CSS.checker)} height=${CHECKER_DIMENSIONS.squareSize} width=${CHECKER_DIMENSIONS.squareSize} x=${CHECKER_DIMENSIONS.squareSize} y=${CHECKER_DIMENSIONS.squareSize} /></pattern></defs>${this.renderSwatchRect({
|
|
82
|
-
fill: "url(#checker)",
|
|
83
|
-
rx: commonSwatchProps.rx,
|
|
84
|
-
height: commonSwatchProps.height,
|
|
85
|
-
width: commonSwatchProps.width
|
|
86
|
-
})}${this.renderSwatchRect({
|
|
87
|
-
clipPath: alpha < 1 ? "polygon(100% 0, 0 0, 0 100%)" : `inset(0 round ${borderRadius})`,
|
|
88
|
-
fill: hex,
|
|
89
|
-
...commonSwatchProps
|
|
90
|
-
})}${alpha < 1 ? this.renderSwatchRect({
|
|
91
|
-
clipPath: "polygon(100% 0, 100% 100%, 0 100%)",
|
|
92
|
-
fill: hexa,
|
|
93
|
-
key: "opacity-fill",
|
|
94
|
-
...commonSwatchProps
|
|
95
|
-
}) : null}`;
|
|
96
|
-
}
|
|
97
|
-
renderSwatchRect({ clipPath, fill, height, key, rx, stroke, strokeWidth, width }) {
|
|
98
|
-
return keyed(key, svg`<rect clip-path=${clipPath ?? nothing} fill=${fill ?? nothing} height=${height ?? nothing} rx=${rx ?? nothing} stroke=${stroke ?? nothing} stroke-width=${strokeWidth ?? nothing} width=${width ?? nothing} />`);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
customElement("calcite-color-picker-swatch", ColorPickerSwatch);
|
|
102
|
-
export {
|
|
103
|
-
ColorPickerSwatch
|
|
104
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { FocusTrapOptions } from "../../controllers/useFocusTrap.js";
|
|
4
|
-
|
|
5
|
-
/** @slot - A slot for adding focus-trapped content. */
|
|
6
|
-
export abstract class FocusTrap extends LitElement {
|
|
7
|
-
/**
|
|
8
|
-
* Indicates whether the component's focus trap is currently active.
|
|
9
|
-
*
|
|
10
|
-
* @default false
|
|
11
|
-
*/
|
|
12
|
-
get active(): boolean;
|
|
13
|
-
/**
|
|
14
|
-
* When `true`, prevents focus trapping.
|
|
15
|
-
*
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
|
-
accessor focusTrapDisabled: boolean;
|
|
19
|
-
/** When defined, provides a condition to disable focus trapping. When `true`, prevents focus trapping. */
|
|
20
|
-
accessor focusTrapDisabledOverride: (() => boolean) | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* Specifies custom focus trap configuration on the component.
|
|
23
|
-
*
|
|
24
|
-
* - `"allowOutsideClick"` allows outside clicks.
|
|
25
|
-
* - `"initialFocus"` enables initial focus.
|
|
26
|
-
* - `"returnFocusOnDeactivate"` returns focus when not active.
|
|
27
|
-
* - `"extraContainers"` specifies additional focusable elements external to the trap.
|
|
28
|
-
* - `"setReturnFocus"` customizes the element to which focus is returned when the trap is deactivated.
|
|
29
|
-
*/
|
|
30
|
-
accessor focusTrapOptions: Partial<FocusTrapOptions> | undefined;
|
|
31
|
-
/** Activates the component's focus trap. */
|
|
32
|
-
activate(): Promise<void>;
|
|
33
|
-
/** Deactivates the component's focus trap. */
|
|
34
|
-
deactivate(): Promise<void>;
|
|
35
|
-
/**
|
|
36
|
-
* Sets focus on the component's first focusable element.
|
|
37
|
-
*
|
|
38
|
-
* @param options - When specified an optional object customizes the component's focusing process. When `preventScroll` is `true`, scrolling will not occur on the component.
|
|
39
|
-
* @see [MDN - focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
40
|
-
*/
|
|
41
|
-
setFocus(options?: FocusOptions): Promise<void>;
|
|
42
|
-
/**
|
|
43
|
-
* Updates the element(s) that are included in the focus-trap of the component.
|
|
44
|
-
*
|
|
45
|
-
* @param extraContainers - Additional elements to include in the focus trap. This is useful for including elements that may have related parts rendered outside the main focus trapping element.
|
|
46
|
-
*/
|
|
47
|
-
updateFocusTrapElements(extraContainers?: FocusTrapOptions["extraContainers"]): Promise<void>;
|
|
48
|
-
/** Fires when the focus-trap active state has changed. */
|
|
49
|
-
readonly calciteFocusTrapActiveChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
50
|
-
readonly "@eventTypes": {
|
|
51
|
-
calciteFocusTrapActiveChange: FocusTrap["calciteFocusTrapActiveChange"]["detail"];
|
|
52
|
-
};
|
|
53
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { c as customElement } from "../../chunks/runtime.js";
|
|
3
|
-
import { css, html } from "lit";
|
|
4
|
-
import { LitElement, createEvent } from "@arcgis/lumina";
|
|
5
|
-
import { u as useFocusTrap } from "../../chunks/useFocusTrap.js";
|
|
6
|
-
import { u as useFocusable } from "../../chunks/useFocusable.js";
|
|
7
|
-
const styles = css`:host{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
8
|
-
class FocusTrap extends LitElement {
|
|
9
|
-
constructor() {
|
|
10
|
-
super(...arguments);
|
|
11
|
-
this._active = false;
|
|
12
|
-
this.focusSetter = useFocusable()(this);
|
|
13
|
-
this.focusTrapController = useFocusTrap({
|
|
14
|
-
focusTrapOptions: {
|
|
15
|
-
onActivate: () => {
|
|
16
|
-
this.setActive(true);
|
|
17
|
-
},
|
|
18
|
-
onDeactivate: () => {
|
|
19
|
-
this.setActive(false);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
})(this);
|
|
23
|
-
this.focusTrapDisabled = false;
|
|
24
|
-
this.calciteFocusTrapActiveChange = createEvent({ cancelable: false });
|
|
25
|
-
}
|
|
26
|
-
static {
|
|
27
|
-
this.properties = { focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], active: [32, {}, { attribute: false, readOnly: true }], focusTrapDisabledOverride: [0, {}, { attribute: false }], focusTrapOptions: [0, {}, { attribute: false }] };
|
|
28
|
-
}
|
|
29
|
-
static {
|
|
30
|
-
this.styles = styles;
|
|
31
|
-
}
|
|
32
|
-
get active() {
|
|
33
|
-
return this._active;
|
|
34
|
-
}
|
|
35
|
-
async activate() {
|
|
36
|
-
this.focusTrapController.activate();
|
|
37
|
-
}
|
|
38
|
-
async deactivate() {
|
|
39
|
-
this.focusTrapController.deactivate();
|
|
40
|
-
}
|
|
41
|
-
async setFocus(options) {
|
|
42
|
-
return this.focusSetter(() => this.el, options);
|
|
43
|
-
}
|
|
44
|
-
async updateFocusTrapElements(extraContainers) {
|
|
45
|
-
this.focusTrapController.setExtraContainers(extraContainers);
|
|
46
|
-
this.focusTrapController.updateContainerElements();
|
|
47
|
-
}
|
|
48
|
-
setActive(active) {
|
|
49
|
-
const oldActive = this._active;
|
|
50
|
-
this._active = active;
|
|
51
|
-
this.requestUpdate("active", oldActive);
|
|
52
|
-
this.calciteFocusTrapActiveChange.emit();
|
|
53
|
-
}
|
|
54
|
-
render() {
|
|
55
|
-
return html`<slot></slot>`;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
customElement("calcite-focus-trap", FocusTrap);
|
|
59
|
-
export {
|
|
60
|
-
FocusTrap
|
|
61
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
File without changes
|
|
File without changes
|