@esri/calcite-components 5.0.0-next.84 → 5.0.0-next.86
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/{2NKSTXS2.js → 265LZPSS.js} +2 -2
- package/dist/cdn/{IUGGJ23G.js → 2NDNB5KH.js} +2 -2
- package/dist/cdn/{IVUYYBIN.js → 2ZBLUFKN.js} +2 -2
- package/dist/cdn/{OA5PYYHO.js → 3QUHWKWI.js} +2 -2
- package/dist/cdn/{TA34PD5U.js → 3TBNQFN2.js} +2 -2
- package/dist/cdn/{63D4VKJK.js → 3YE26UGT.js} +2 -2
- package/dist/cdn/{SLFEZAD2.js → 3YPGTT6K.js} +2 -2
- package/dist/cdn/{J2ZBDITI.js → 4F36ERWD.js} +1 -1
- package/dist/cdn/{VOAVNFSX.js → 4IRTN23G.js} +2 -2
- package/dist/cdn/{TADGNOQY.js → 4LUNXMA2.js} +2 -2
- package/dist/cdn/{ITSWEKRF.js → 4N7GGDYF.js} +1 -1
- package/dist/cdn/{IQHIBXEX.js → 4WQZM2DO.js} +2 -2
- package/dist/cdn/{4YZQQ4CN.js → 4YDOGNCB.js} +2 -2
- package/dist/cdn/{VSMZDCR6.js → 5N4TM6IC.js} +2 -2
- package/dist/cdn/{RY4FVBEE.js → 5ONVNF6P.js} +2 -2
- package/dist/cdn/{VFFCSONC.js → 5SSAX7QY.js} +2 -2
- package/dist/cdn/{NVIVPBGF.js → 5XN3Y3V4.js} +2 -2
- package/dist/cdn/{QEWHLVPD.js → 66L4L6CO.js} +2 -2
- package/dist/cdn/{2UPQ46LQ.js → 6AIPNFS6.js} +2 -2
- package/dist/cdn/{T6OOQJ33.js → 6SQ3FVMJ.js} +2 -2
- package/dist/cdn/{QKNKQWIG.js → 75WBKLAF.js} +2 -2
- package/dist/cdn/{FXNAKQIO.js → 7CZDVZBA.js} +2 -2
- package/dist/cdn/{KHQYT3K4.js → 7ET55HJN.js} +2 -2
- package/dist/cdn/{3QI2UMXG.js → 7HU3UQ3T.js} +2 -2
- package/dist/cdn/{4APF5JTD.js → 7JOJIZSP.js} +2 -2
- package/dist/cdn/7O3B34IO.js +4 -0
- package/dist/cdn/{OVFNZHQT.js → 7OSYB6BP.js} +2 -2
- package/dist/cdn/{EJX6DTQ3.js → 7RLSNUNU.js} +2 -2
- package/dist/cdn/{S7BIZAIK.js → 7UABX7SR.js} +1 -1
- package/dist/cdn/{XVUYM6HE.js → 7VOFORAF.js} +2 -2
- package/dist/cdn/{U4ZCHG6H.js → AHYGUJFY.js} +2 -2
- package/dist/cdn/{DEDFJREY.js → ALIWLWXW.js} +2 -2
- package/dist/cdn/{74GBYBG6.js → AXEHK3LE.js} +2 -2
- package/dist/cdn/{RWYR7AF6.js → B23BUOQP.js} +2 -2
- package/dist/cdn/BBGEPDDE.js +4 -0
- package/dist/cdn/{NY3WVGFS.js → BDQGAMWA.js} +2 -2
- package/dist/cdn/{RNXWFN73.js → BJ3BSHB7.js} +2 -2
- package/dist/cdn/{IGQMYEU7.js → BJYROWVL.js} +2 -2
- package/dist/cdn/{WMDEBPZ5.js → BPMHVCV2.js} +1 -1
- package/dist/cdn/{VYDZTZN4.js → BXHZLH5C.js} +2 -2
- package/dist/cdn/{RER3Y4UI.js → C534KEBU.js} +1 -1
- package/dist/cdn/{BKZWITAQ.js → CB4TKLJV.js} +2 -2
- package/dist/cdn/{2K35TAVP.js → CFOCSPSL.js} +2 -2
- package/dist/cdn/{VWOQBOTI.js → CGB4W7AQ.js} +1 -1
- package/dist/cdn/{Q2NZVUYA.js → CPLX2NNO.js} +2 -2
- package/dist/cdn/{WQ4TSI5O.js → CPPPO7DD.js} +2 -2
- package/dist/cdn/{KPU5ZT6L.js → CQGYPSEK.js} +2 -2
- package/dist/cdn/{QZLIMHYC.js → CYSLJACL.js} +1 -1
- package/dist/cdn/{UJ3GAJDY.js → D3RZQWBA.js} +2 -2
- package/dist/cdn/{YZM7SEPY.js → D6TJWYOO.js} +2 -2
- package/dist/cdn/{VJHW23JU.js → D7ZOWYKB.js} +2 -2
- package/dist/cdn/{MQKIF5U4.js → DDZ4I2DA.js} +2 -2
- package/dist/cdn/{ODTNLC62.js → DF4OPPSM.js} +2 -2
- package/dist/cdn/{5ELLUD73.js → DVCMEWZ3.js} +2 -2
- package/dist/cdn/{BHH2ETCR.js → DVE2UKPP.js} +2 -2
- package/dist/cdn/{YYPAH3KM.js → ECVDI5K3.js} +2 -2
- package/dist/cdn/{MWVBEQWD.js → ELPVYVTD.js} +1 -1
- package/dist/cdn/{HKSPYZ2T.js → EQAOU3A7.js} +1 -1
- package/dist/cdn/{WIJTBWXF.js → ETNO4FCO.js} +2 -2
- package/dist/cdn/{256DLKVQ.js → F3BZUVQS.js} +2 -2
- package/dist/cdn/{54YHX7YY.js → FAWC2LXX.js} +2 -2
- package/dist/cdn/{YPYLZUV3.js → G6WKZFLJ.js} +2 -2
- package/dist/cdn/{X2Y2D5JN.js → GFCCAASY.js} +1 -1
- package/dist/cdn/{TSRIREBS.js → GGC5MM77.js} +2 -2
- package/dist/cdn/{HM7GKSVW.js → GH3OBJBY.js} +2 -2
- package/dist/cdn/{HB2YDZ5S.js → GI2NJ4HI.js} +2 -2
- package/dist/cdn/{JVWAJALA.js → GR5AFKI5.js} +2 -2
- package/dist/cdn/{MH4MUOJM.js → GXZLMJNC.js} +2 -2
- package/dist/cdn/{U3Y4O52N.js → GZ6OZTTY.js} +2 -2
- package/dist/cdn/{VCA4ZXWE.js → H4NQV5OF.js} +2 -2
- package/dist/cdn/{4RFS2S7X.js → HG7EWFXA.js} +2 -2
- package/dist/cdn/{KZR3TNUB.js → HKLMBQOB.js} +1 -1
- package/dist/cdn/{LJ2YG7C3.js → HNIKUPY3.js} +2 -2
- package/dist/cdn/{CX3ZJFQQ.js → HNKPDR4V.js} +2 -2
- package/dist/cdn/{Y6MWRNZY.js → HTF2JIW2.js} +2 -2
- package/dist/cdn/{TK7CIS5T.js → HXPW2KQ5.js} +2 -2
- package/dist/cdn/{DKF5IBNP.js → I2H4EA7W.js} +2 -2
- package/dist/cdn/{JOJ3JDL6.js → I4OZL7RR.js} +2 -2
- package/dist/cdn/{OD6UYLJ5.js → I7M2FNP2.js} +2 -2
- package/dist/cdn/IA2VWER5.js +4 -0
- package/dist/cdn/{KRVWOD6C.js → IDWLI73G.js} +2 -2
- package/dist/cdn/{JS2XCEV3.js → IEHHI67O.js} +2 -2
- package/dist/cdn/IGUQVDMG.js +4 -0
- package/dist/cdn/{BLQCK445.js → IIC64NTV.js} +2 -2
- package/dist/cdn/{ZZZZNTPM.js → IQYO3YLL.js} +2 -2
- package/dist/cdn/{LK4GVUOR.js → IW2PABZ2.js} +1 -1
- package/dist/cdn/{SH7VKCD7.js → JGE77A6R.js} +2 -2
- package/dist/cdn/{NV3BLFYF.js → JHOPF723.js} +2 -2
- package/dist/cdn/{7XVHEAGT.js → JJNZESCC.js} +2 -2
- package/dist/cdn/{D3W7YIIT.js → JY6HDRMX.js} +2 -2
- package/dist/cdn/{FQMVJPE4.js → K7EIX6OB.js} +1 -1
- package/dist/cdn/{5ILY2FW5.js → K7NS2AMX.js} +2 -2
- package/dist/cdn/{TAGW4GD7.js → KAXTRCIT.js} +2 -2
- package/dist/cdn/KCWYN4MG.js +4 -0
- package/dist/cdn/{7TDI5PCU.js → KJHHU73B.js} +1 -1
- package/dist/cdn/{ABMY4SGK.js → KKFNPVKR.js} +2 -2
- package/dist/cdn/{7IM4VKWX.js → KPDT5CVJ.js} +2 -2
- package/dist/cdn/{PA55K7HN.js → LAPF2X2D.js} +2 -2
- package/dist/cdn/{CSAL4F67.js → LNNXYZGH.js} +2 -2
- package/dist/cdn/{JPQAMOUL.js → LPCVYKLE.js} +1 -1
- package/dist/cdn/{UNTK3KPP.js → LPTXS5CC.js} +2 -2
- package/dist/cdn/{QN3BZTTO.js → LUMK2N7N.js} +2 -2
- package/dist/cdn/{GBM54MYQ.js → LZXYJ3BV.js} +2 -2
- package/dist/cdn/{NXN5OMGF.js → M2OQVEFA.js} +2 -2
- package/dist/cdn/{MWY35H67.js → MBL643OF.js} +2 -2
- package/dist/cdn/{D5CJCZYW.js → MDTMHCRJ.js} +2 -2
- package/dist/cdn/MHU64UOV.js +4 -0
- package/dist/cdn/{5FKFHET7.js → MM5RJ37O.js} +2 -2
- package/dist/cdn/{3NW6TUBJ.js → MQKJIHCG.js} +2 -2
- package/dist/cdn/{VMB52NFS.js → MQR23NC7.js} +2 -2
- package/dist/cdn/{7IXHPQXZ.js → MTCFDW63.js} +2 -2
- package/dist/cdn/{O7LQ7IQJ.js → MUNMMTPD.js} +1 -1
- package/dist/cdn/{XP6WHEJA.js → MWMPO4JF.js} +2 -2
- package/dist/cdn/{2YFE5VGA.js → N42SIHEY.js} +2 -2
- package/dist/cdn/{3SRUJCMV.js → NPM4KIF4.js} +1 -1
- package/dist/cdn/{5XSSIY7H.js → NQA37JEY.js} +2 -2
- package/dist/cdn/{GXT6G7P5.js → OBTAW3FT.js} +2 -2
- package/dist/cdn/{JY3QUWZM.js → OEC3VYWR.js} +1 -1
- package/dist/cdn/{L2VPLTYE.js → OLSTY4QA.js} +1 -1
- package/dist/cdn/{WVEFIZXY.js → OOZPOQPU.js} +2 -2
- package/dist/cdn/{W72RGYCB.js → OR6ON54D.js} +2 -2
- package/dist/cdn/{O4424VXQ.js → OUB2G64Q.js} +2 -2
- package/dist/cdn/{5KDDBRMR.js → PAK22M5C.js} +2 -2
- package/dist/cdn/{JX2AXSYH.js → PE4FJDWY.js} +2 -2
- package/dist/cdn/{BTXVDVST.js → PQYZJA3V.js} +2 -2
- package/dist/cdn/{AMQ26Q3F.js → PTZGOVXI.js} +2 -2
- package/dist/cdn/{3OI5D63L.js → PVPMLCXY.js} +2 -2
- package/dist/cdn/{L325X7WP.js → QD6UQOR5.js} +1 -1
- package/dist/cdn/{F7ZUM7XL.js → QNFGMZYR.js} +2 -2
- package/dist/cdn/{2AROYJKG.js → R25RK4LC.js} +2 -2
- package/dist/cdn/{UD7CFFCS.js → R2N5YMIX.js} +2 -2
- package/dist/cdn/{AWRGXPC2.js → RLV3NTMY.js} +2 -2
- package/dist/cdn/{JTVRJCPH.js → RTQ52OFV.js} +2 -2
- package/dist/cdn/{5VSEW66J.js → SDJV7PMH.js} +2 -2
- package/dist/cdn/SKGO6HLV.js +4 -0
- package/dist/cdn/{RPQFOHOO.js → SPHA7ZGV.js} +2 -2
- package/dist/cdn/{3XF7CZ6K.js → SVR27ET5.js} +2 -2
- package/dist/cdn/{GKZY3EKL.js → SVXLZBGE.js} +1 -1
- package/dist/cdn/{EDUBMLAP.js → SXRV3RIK.js} +1 -1
- package/dist/cdn/{FAEXP5ZV.js → T562VRPK.js} +2 -2
- package/dist/cdn/{THNDLL6T.js → TMERZAGC.js} +2 -2
- package/dist/cdn/{QYUG2P5H.js → TQGB6WJH.js} +2 -2
- package/dist/cdn/{7CYK7EBI.js → TXGMUILM.js} +2 -2
- package/dist/cdn/{CMP4I3Q6.js → UFARZ6LX.js} +1 -1
- package/dist/cdn/{2OODGSZF.js → UFMOJ6BP.js} +2 -2
- package/dist/cdn/{S7K3NMTR.js → UMBUQSG7.js} +2 -2
- package/dist/cdn/{AC2VEVYH.js → USVGIGD2.js} +2 -2
- package/dist/cdn/{XCBFD4US.js → UTOVKWT3.js} +2 -2
- package/dist/cdn/{LAM6N563.js → UUJIFHR3.js} +1 -1
- package/dist/cdn/{HQ2J4422.js → VCTG3II6.js} +2 -2
- package/dist/cdn/{57I6IBKN.js → VEJ7VUSN.js} +2 -2
- package/dist/cdn/VJ5ESOPH.js +4 -0
- package/dist/cdn/{SKOSI2L5.js → VPKGL5MV.js} +2 -2
- package/dist/cdn/{QROWRB45.js → WKTY2TT3.js} +2 -2
- package/dist/cdn/{JYG2A535.js → WO5BT3M7.js} +2 -2
- package/dist/cdn/{M26OEUBI.js → WRXXJYTS.js} +2 -2
- package/dist/cdn/{G7CDSEFW.js → WTXBPSHB.js} +2 -2
- package/dist/cdn/{CLRHLRBZ.js → WTZ5ELSG.js} +2 -2
- package/dist/cdn/{WZSEDAFK.js → WYVGACIJ.js} +2 -2
- package/dist/cdn/{XRVE2TDS.js → X3DPELVQ.js} +2 -2
- package/dist/cdn/{2IOJLJCO.js → X67ED5ZX.js} +2 -2
- package/dist/cdn/{3XHBEPRS.js → XB3BMWQA.js} +1 -1
- package/dist/cdn/{XE5HJKTW.js → XB7RQ3KO.js} +2 -2
- package/dist/cdn/{PR6RTBCH.js → XFMJXJ4G.js} +2 -2
- package/dist/cdn/{4NAC5EP5.js → XGGNP6H5.js} +2 -2
- package/dist/cdn/{GJOSP242.js → XMM4Z4DP.js} +2 -2
- package/dist/cdn/XPLKFVPY.js +4 -0
- package/dist/cdn/{ZE4R4LGC.js → XQZSRN5A.js} +2 -2
- package/dist/cdn/{36C5HYRD.js → XTQB7RP2.js} +2 -2
- package/dist/cdn/{PNULS2GU.js → XXJGFNWJ.js} +2 -2
- package/dist/cdn/{DQD53EKE.js → YB2FTLLM.js} +2 -2
- package/dist/cdn/{6RA6FTIB.js → YB3DFN4R.js} +2 -2
- package/dist/cdn/{TAVHZWON.js → YE2IEAVJ.js} +2 -2
- package/dist/cdn/{ZRSRJMZG.js → YUHCAPQZ.js} +2 -2
- package/dist/cdn/{EB4KZWFP.js → ZQKVMXYU.js} +2 -2
- package/dist/cdn/index.js +3 -3
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/ExpandToggle.js +3 -7
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/InternalLabel.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/header.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +19 -16
- package/dist/chunks/resources2.js +16 -8
- package/dist/chunks/resources3.js +12 -14
- package/dist/chunks/resources4.js +14 -57
- package/dist/chunks/resources5.js +48 -44
- package/dist/chunks/resources6.js +48 -8
- package/dist/chunks/resources7.js +10 -12
- package/dist/chunks/resources8.js +5 -49
- package/dist/chunks/resources9.js +65 -0
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +5 -5
- package/dist/chunks/sortable.js +1 -1
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/useCancelable.js +1 -1
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/useInteractive.js +1 -1
- package/dist/chunks/usePreventDocumentScroll.js +1 -1
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useTime.js +1 -1
- package/dist/chunks/useTopLayer.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +2 -2
- package/dist/chunks/utils3.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.d.ts +0 -9
- package/dist/components/calcite-action/customElement.js +4 -25
- package/dist/components/calcite-action-bar/customElement.js +3 -2
- package/dist/components/calcite-action-group/customElement.js +3 -3
- package/dist/components/calcite-action-menu/customElement.js +8 -6
- package/dist/components/calcite-action-pad/customElement.js +3 -2
- package/dist/components/calcite-alert/customElement.js +2 -2
- package/dist/components/calcite-autocomplete/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.js +1 -1
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-carousel/customElement.js +1 -1
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/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-color-picker/customElement.js +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +5 -16
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
- package/dist/components/calcite-dialog/customElement.js +2 -2
- package/dist/components/calcite-dropdown/customElement.js +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +2 -2
- package/dist/components/calcite-dropdown-item/customElement.js +2 -2
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.js +2 -2
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.js +1 -1
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.js +2 -2
- package/dist/components/calcite-input-date-picker/customElement.js +1 -1
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +2 -2
- package/dist/components/calcite-input-text/customElement.js +2 -2
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.js +2 -2
- package/dist/components/calcite-label/customElement.d.ts +2 -2
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.d.ts +5 -5
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.js +2 -2
- package/dist/components/calcite-list-item/customElement.js +2 -2
- package/dist/components/calcite-list-item-group/customElement.js +2 -2
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/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-navigation-logo/customElement.js +1 -1
- package/dist/components/calcite-navigation-user/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +2 -2
- package/dist/components/calcite-option/customElement.js +1 -1
- package/dist/components/calcite-option-group/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.js +3 -3
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-scrim/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.js +1 -1
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-sheet/customElement.js +1 -1
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +1 -1
- package/dist/components/calcite-slider/customElement.js +5 -5
- package/dist/components/calcite-sort-handle/customElement.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stack/customElement.js +2 -2
- package/dist/components/calcite-stepper/customElement.js +1 -1
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-swatch/customElement.js +1 -1
- package/dist/components/calcite-swatch-group/customElement.js +1 -1
- package/dist/components/calcite-switch/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-table/customElement.js +1 -1
- package/dist/components/calcite-table-cell/customElement.js +1 -1
- package/dist/components/calcite-table-header/customElement.js +1 -1
- package/dist/components/calcite-table-row/customElement.js +1 -1
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text-area/customElement.js +1 -1
- package/dist/components/calcite-tile/customElement.js +1 -1
- package/dist/components/calcite-tile-group/customElement.js +1 -1
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.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 -6
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +0 -1
- package/dist/types/preact.d.ts +0 -1
- package/dist/types/react.d.ts +0 -1
- package/dist/types/stencil.d.ts +0 -1
- package/package.json +4 -4
- package/dist/cdn/4JB672QM.js +0 -4
- package/dist/cdn/5JNCBF7X.js +0 -4
- package/dist/cdn/BU4V35JV.js +0 -4
- package/dist/cdn/D653VBSC.js +0 -4
- package/dist/cdn/EV5OY76U.js +0 -4
- package/dist/cdn/FYQRHXOM.js +0 -4
- package/dist/cdn/J6HPR7L5.js +0 -4
- package/dist/cdn/JSL5H4FG.js +0 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
7
7
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
8
|
-
import { LitElement,
|
|
8
|
+
import { LitElement, safeClassMap, nothing } from "@arcgis/lumina";
|
|
9
9
|
import { g as guid } from "../../chunks/guid.js";
|
|
10
10
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
11
11
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
@@ -13,24 +13,7 @@ import { u as useT9n } from "../../chunks/useT9n.js";
|
|
|
13
13
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
14
14
|
import { f as findAssociatedForm, s as submitForm, r as resetForm } from "../../chunks/form.js";
|
|
15
15
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
16
|
-
|
|
17
|
-
button: "button",
|
|
18
|
-
buttonTextVisible: "button--text-visible",
|
|
19
|
-
buttonCompact: "button--compact",
|
|
20
|
-
indicatorText: "indicator-text",
|
|
21
|
-
iconContainer: "icon-container",
|
|
22
|
-
slotContainer: "slot-container",
|
|
23
|
-
slotContainerHidden: "slot-container--hidden",
|
|
24
|
-
textContainer: "text-container",
|
|
25
|
-
textContainerVisible: "text-container--visible",
|
|
26
|
-
indicatorWithIcon: "indicator-with-icon",
|
|
27
|
-
indicatorWithoutIcon: "indicator-without-icon"
|
|
28
|
-
};
|
|
29
|
-
const prefixId = "calcite-action";
|
|
30
|
-
const IDS = {
|
|
31
|
-
button: (id) => `${prefixId}-${id}-button`,
|
|
32
|
-
indicator: (id) => `${prefixId}-${id}-indicator`
|
|
33
|
-
};
|
|
16
|
+
import { I as IDS, C as CSS } from "../../chunks/resources.js";
|
|
34
17
|
const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}: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([scale=s]){--calcite-internal-action-font-size: var(--calcite-font-size--2);--calcite-internal-action-height: var(--calcite-size-sm);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-font-size: var(--calcite-font-size--1);--calcite-internal-action-height: var(--calcite-size-md);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-font-size: var(--calcite-font-size-0);--calcite-internal-action-height: var(--calcite-size-lg);--calcite-internal-action-line-height: 1.25rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm-plus)}:host{display:flex;cursor:pointer;background-color:transparent;--calcite-internal-action-text-color: var(--calcite-color-text-3);border-radius:var(--calcite-action-corner-radius, var(--calcite-action-corner-radius-start-start, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-start-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-start, var(--calcite-corner-radius-xs)))}.interaction-container{border-radius:inherit}:host([width=full]){flex:1 0 auto}:host([width=full]) .button{justify-content:center}:host([width=full]) .button .text-container--visible{flex:none}:host([drag-handle]){cursor:move;--calcite-internal-action-text-color: var(--calcite-color-border-input);--calcite-internal-action-padding-inline: var(--calcite-spacing-xxs)}.button{position:relative;margin:0;display:flex;inline-size:auto;align-items:center;justify-content:flex-start;border-style:none;outline-color:transparent;background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1));border-radius:inherit;color:var(--calcite-action-text-color, var(--calcite-internal-action-text-color));cursor:inherit;flex:1 0 auto;font-family:inherit;font-size:var(--calcite-internal-action-font-size);font-weight:var(--calcite-font-weight-normal);line-height:var(--calcite-internal-action-line-height);min-block-size:var(--calcite-internal-action-height);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-internal-action-spacing));padding-inline:var(--calcite-internal-action-padding-inline, var(--calcite-internal-action-spacing));text-align:start}.button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}.button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}.button--text-visible{gap:var(--calcite-internal-action-spacing);inline-size:100%}.icon-container{pointer-events:none;margin:0;display:flex;align-items:center;justify-content:center}.text-container{margin:0;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0;transition-property:opacity;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:inline-size}.text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([active]) .button{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-3));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}:host([active]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-3))}:host([active]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}:host([loading]) calcite-loader[inline]{margin-inline-end:0px}:host([appearance=transparent]):host([active]) .button{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([appearance=transparent]) .button{transition-property:box-shadow;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);background-color:var(--calcite-action-background-color, var(--calcite-color-transparent))}:host([appearance=transparent]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-transparent-hover))}:host([appearance=transparent]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([selection-appearance=highlight]):host([active]) .button{background-color:var(--calcite-color-surface-highlight);color:var(--calcite-color-text-highlight)}:host([active-descendant]) .button{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.indicator-with-icon{position:relative}.indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}.indicator-without-icon{margin-inline:.25rem;inline-size:1rem;position:relative}.indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}:host([scale=s]) .indicator-with-icon{position:relative}:host([scale=s]) .indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.125rem;inset-inline-end:-.125rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([scale=s]) .indicator-without-icon{position:relative}:host([scale=s]) .indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.175rem;inset-inline-end:-.175rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}.indicator-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
|
|
35
18
|
class Action extends LitElement {
|
|
36
19
|
constructor() {
|
|
@@ -56,7 +39,6 @@ class Action extends LitElement {
|
|
|
56
39
|
this.width = "auto";
|
|
57
40
|
this.textEnabled = false;
|
|
58
41
|
this.type = "button";
|
|
59
|
-
this.calciteInternalActionMouseDown = createEvent({ cancelable: false });
|
|
60
42
|
}
|
|
61
43
|
static {
|
|
62
44
|
this.properties = { aria: [0, {}, { attribute: false }], active: [7, {}, { reflect: true, type: Boolean }], activeDescendant: [7, {}, { reflect: true, type: Boolean }], alignment: [3, {}, { reflect: true }], appearance: [3, {}, { reflect: true }], compact: [7, {}, { reflect: true, type: Boolean }], disabled: [7, {}, { reflect: true, type: Boolean }], dragHandle: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], icon: [3, { type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], indicator: [7, {}, { reflect: true, type: Boolean }], label: 1, loading: [7, {}, { reflect: true, type: Boolean }], messageOverrides: [0, {}, { attribute: false }], scale: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }], text: 1, textEnabled: [7, {}, { reflect: true, type: Boolean }], type: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }] };
|
|
@@ -85,9 +67,6 @@ class Action extends LitElement {
|
|
|
85
67
|
resetForm(this);
|
|
86
68
|
}
|
|
87
69
|
}
|
|
88
|
-
handleMouseDown() {
|
|
89
|
-
this.calciteInternalActionMouseDown.emit();
|
|
90
|
-
}
|
|
91
70
|
renderTextContainer() {
|
|
92
71
|
const { text, textEnabled } = this;
|
|
93
72
|
const textContainerClasses = {
|
|
@@ -131,7 +110,7 @@ class Action extends LitElement {
|
|
|
131
110
|
if (this.dragHandle) {
|
|
132
111
|
return html`<span .ariaBusy=${loading} .ariaControlsElements=${ariaControlsElements} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabel=${ariaLabel} .ariaLabelledByElements=${this.aria?.labelledByElements} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${safeClassMap(buttonClasses)} id=${buttonId ?? nothing} role=button tabindex=${(this.disabled ? null : 0) ?? nothing} ${ref(this.buttonRef)}>${buttonContent}</span>`;
|
|
133
112
|
}
|
|
134
|
-
return html`<button .ariaBusy=${loading} .ariaChecked=${this.aria?.checked} .ariaControlsElements=${ariaControlsElements} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabel=${ariaLabel} .ariaLabelledByElements=${this.aria?.labelledByElements} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${safeClassMap(buttonClasses)} .disabled=${disabled} id=${buttonId ?? nothing} @click=${this.handleClick}
|
|
113
|
+
return html`<button .ariaBusy=${loading} .ariaChecked=${this.aria?.checked} .ariaControlsElements=${ariaControlsElements} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabel=${ariaLabel} .ariaLabelledByElements=${this.aria?.labelledByElements} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${safeClassMap(buttonClasses)} .disabled=${disabled} id=${buttonId ?? nothing} @click=${this.handleClick} .role=${this.aria?.role} ${ref(this.buttonRef)}>${buttonContent}</button>`;
|
|
135
114
|
}
|
|
136
115
|
render() {
|
|
137
116
|
return this.interactiveContainer({ disabled: this.disabled, children: html`${this.renderButton()}${this.renderIndicatorText()}` });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { D as DEBOUNCE, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { debounce } from "es-toolkit";
|
|
6
6
|
import { css, html } from "lit";
|
|
@@ -8,10 +8,11 @@ import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
|
8
8
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
9
9
|
import { a as getStylePixelValue, s as slotChangeHasAssignedElement, b as slotChangeGetAssignedElements, f as focusElementInGroup } from "../../chunks/dom.js";
|
|
10
10
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
11
|
-
import { o as overflowActions, q as queryActions, t as toggleChildActionText,
|
|
11
|
+
import { o as overflowActions, q as queryActions, t as toggleChildActionText, E as ExpandToggle } from "../../chunks/ExpandToggle.js";
|
|
12
12
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
13
13
|
import { u as useCancelable } from "../../chunks/useCancelable.js";
|
|
14
14
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
15
|
+
import { i as isAction } from "../../chunks/resources.js";
|
|
15
16
|
const calculateMaxItems = ({
|
|
16
17
|
bufferSize = 0,
|
|
17
18
|
containerSize,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
7
7
|
import { queryAssignedElements } from "lit/decorators.js";
|
|
8
|
-
import { S as SLOTS } from "../../chunks/
|
|
8
|
+
import { S as SLOTS } from "../../chunks/resources2.js";
|
|
9
9
|
import { s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
10
10
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
11
11
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
12
|
-
import { I as ICONS, S as SLOTS$1, C as CSS } from "../../chunks/
|
|
12
|
+
import { I as ICONS, S as SLOTS$1, C as CSS } from "../../chunks/resources3.js";
|
|
13
13
|
const styles = css`:host{box-sizing:border-box;background-color: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-group-gap: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-group-gap: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-group-gap: var(--calcite-spacing-sm-plus)}:host{display:flex;flex-direction:column;padding:0;background-color:transparent;border-color:var(--calcite-action-group-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0;gap:var(--calcite-internal-action-group-gap)}.container{display:flex;flex-grow:1;flex-direction:column;gap:inherit}:host([columns="1"]){--calcite-internal-action-group-columns: 1}:host([columns="2"]){--calcite-internal-action-group-columns: 2}:host([columns="3"]){--calcite-internal-action-group-columns: 3}:host([columns="4"]){--calcite-internal-action-group-columns: 4}:host([columns="5"]){--calcite-internal-action-group-columns: 5}:host([columns="6"]){--calcite-internal-action-group-columns: 6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:transparent;gap:var(--calcite-action-group-gap, var(--calcite-internal-action-group-gap));grid-template-columns:repeat(var(--calcite-action-group-columns, var(--calcite-internal-action-group-columns, 3)),auto);padding:var(--calcite-action-group-gap, 1px)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-inline-end:var(--calcite-size-px)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
14
14
|
var __defProp = Object.defineProperty;
|
|
15
15
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -9,8 +9,9 @@ import { g as getRoundRobinIndex } from "../../chunks/array.js";
|
|
|
9
9
|
import { t as toAriaBoolean } from "../../chunks/dom.js";
|
|
10
10
|
import { g as guid } from "../../chunks/guid.js";
|
|
11
11
|
import { i as isActivationKey } from "../../chunks/key.js";
|
|
12
|
+
import { i as isAction } from "../../chunks/resources.js";
|
|
12
13
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
13
|
-
import { I as IDS, S as SLOTS, a as ICONS, C as CSS } from "../../chunks/
|
|
14
|
+
import { I as IDS, S as SLOTS, a as ICONS, C as CSS } from "../../chunks/resources2.js";
|
|
14
15
|
const styles = css`:host([scale=s]){--calcite-internal-action-menu-gap: var(--calcite-action-menu-items-space, var(--calcite-spacing-xxs));--calcite-internal-action-menu-padding: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-menu-gap: var(--calcite-action-menu-items-space, var(--calcite-spacing-sm));--calcite-internal-action-menu-padding: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-menu-gap: var(--calcite-action-menu-items-space, var(--calcite-spacing-sm-plus));--calcite-internal-action-menu-padding: var(--calcite-spacing-sm-plus)}:host{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-relative-lg)}::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm);padding-block-end:var(--calcite-internal-action-menu-padding)}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{display:flex;max-block-size:45vh;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;outline:2px solid transparent;outline-offset:2px;gap:var(--calcite-internal-action-menu-gap);padding:var(--calcite-internal-action-menu-padding)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
15
16
|
const SUPPORTED_MENU_NAV_KEYS = ["ArrowUp", "ArrowDown", "End", "Home"];
|
|
16
17
|
class ActionMenu extends LitElement {
|
|
@@ -65,8 +66,10 @@ class ActionMenu extends LitElement {
|
|
|
65
66
|
action.activeDescendant = index === activeMenuItemIndex;
|
|
66
67
|
};
|
|
67
68
|
this.focusSetter = useSetFocus()(this);
|
|
68
|
-
this.
|
|
69
|
-
event.
|
|
69
|
+
this.mouseDownHandler = (event) => {
|
|
70
|
+
if (!event.composedPath().some(isAction)) {
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
70
73
|
this.activeMenuItemIndex = this.actionElements?.findIndex((action) => action === event.target);
|
|
71
74
|
};
|
|
72
75
|
this.activeMenuItemIndex = -1;
|
|
@@ -102,7 +105,7 @@ class ActionMenu extends LitElement {
|
|
|
102
105
|
connectedCallback() {
|
|
103
106
|
super.connectedCallback();
|
|
104
107
|
this.connectMenuButtonEl();
|
|
105
|
-
this.
|
|
108
|
+
this.listen("mousedown", this.mouseDownHandler);
|
|
106
109
|
}
|
|
107
110
|
willUpdate(changes) {
|
|
108
111
|
if (changes.has("expanded") && (this.hasUpdated || this.expanded !== false)) {
|
|
@@ -122,7 +125,6 @@ class ActionMenu extends LitElement {
|
|
|
122
125
|
disconnectedCallback() {
|
|
123
126
|
super.disconnectedCallback();
|
|
124
127
|
this.disconnectMenuButtonEl();
|
|
125
|
-
this.el.removeEventListener("calciteInternalActionMouseDown", this.actionMouseDownHandler);
|
|
126
128
|
}
|
|
127
129
|
expandedHandler() {
|
|
128
130
|
this.open = false;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
7
7
|
import { b as slotChangeGetAssignedElements, f as focusElementInGroup } from "../../chunks/dom.js";
|
|
8
|
-
import { t as toggleChildActionText,
|
|
8
|
+
import { t as toggleChildActionText, E as ExpandToggle } from "../../chunks/ExpandToggle.js";
|
|
9
9
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
10
10
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
11
|
+
import { i as isAction } from "../../chunks/resources.js";
|
|
11
12
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
12
13
|
import { l as logger } from "../../chunks/logger.js";
|
|
13
14
|
const CSS = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html } from "lit";
|
|
@@ -10,7 +10,7 @@ import { s as slotChangeHasAssignedElement, d as setRequestedIcon } from "../../
|
|
|
10
10
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
11
11
|
import { N as NumberStringFormat } from "../../chunks/locale.js";
|
|
12
12
|
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
13
|
-
import { K as KindIcons, a as KindIconsFilled } from "../../chunks/
|
|
13
|
+
import { K as KindIcons, a as KindIconsFilled } from "../../chunks/resources4.js";
|
|
14
14
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
15
15
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
16
16
|
import { u as useTopLayer } from "../../chunks/useTopLayer.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { repeat } from "lit/directives/repeat.js";
|
|
6
6
|
import { css, nothing, html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, safeClassMap, nothing } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, nothing, safeClassMap, safeStyleMap } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { ref } from "lit/directives/ref.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { D as DEBOUNCE, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { debounce } from "es-toolkit";
|
|
6
6
|
import { css, html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap, nothing } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, isServer, html, nothing } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { repeat } from "lit/directives/repeat.js";
|
|
6
6
|
import { css, nothing, html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, svg, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, isServer, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { repeat } from "lit/directives/repeat.js";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import Color from "color";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import Color from "color";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { D as DEBOUNCE, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { live } from "lit/directives/live.js";
|
|
@@ -27,7 +27,7 @@ import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
|
27
27
|
import { u as useCancelable } from "../../chunks/useCancelable.js";
|
|
28
28
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
29
29
|
import { u as useTopLayer } from "../../chunks/useTopLayer.js";
|
|
30
|
-
import { I as IDS, C as CSS$1, a as ComboboxItemSelector, b as ComboboxItemGroupSelector, c as ICONS } from "../../chunks/
|
|
30
|
+
import { I as IDS, C as CSS$1, a as ComboboxItemSelector, b as ComboboxItemGroupSelector, c as ICONS } from "../../chunks/resources5.js";
|
|
31
31
|
import { h as hasActiveChildren, i as isSingleLike, g as getLabel, a as getItemAncestors, b as getItemChildren } from "../../chunks/utils2.js";
|
|
32
32
|
const CSS = {
|
|
33
33
|
button: "x-button",
|
|
@@ -98,7 +98,6 @@ class Combobox extends LitElement {
|
|
|
98
98
|
this.groupItems = [];
|
|
99
99
|
this.guid = guid();
|
|
100
100
|
this.ignoreSelectedEventsFlag = false;
|
|
101
|
-
this.inputHeight = 0;
|
|
102
101
|
this.internalValueChangeFlag = false;
|
|
103
102
|
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
104
103
|
this.onLabelClick = () => {
|
|
@@ -288,13 +287,6 @@ class Combobox extends LitElement {
|
|
|
288
287
|
this.flipPlacementsHandler();
|
|
289
288
|
}
|
|
290
289
|
}
|
|
291
|
-
updated() {
|
|
292
|
-
if (this.el.offsetHeight !== this.inputHeight) {
|
|
293
|
-
this.reposition(true);
|
|
294
|
-
this.inputHeight = this.el.offsetHeight;
|
|
295
|
-
}
|
|
296
|
-
this.refreshSelectionDisplay();
|
|
297
|
-
}
|
|
298
290
|
loaded() {
|
|
299
291
|
afterConnectDefaultValueSet(this, this.getValue());
|
|
300
292
|
connectFloatingUI(this);
|
|
@@ -321,7 +313,6 @@ class Combobox extends LitElement {
|
|
|
321
313
|
return;
|
|
322
314
|
}
|
|
323
315
|
toggleOpenClose(this);
|
|
324
|
-
this.setMaxScrollerHeight();
|
|
325
316
|
}
|
|
326
317
|
handleDisabledChange(value) {
|
|
327
318
|
if (!value) {
|
|
@@ -563,12 +554,12 @@ class Combobox extends LitElement {
|
|
|
563
554
|
}
|
|
564
555
|
}
|
|
565
556
|
onBeforeOpen() {
|
|
566
|
-
this.scrollToActiveOrSelectedItem();
|
|
567
|
-
this.calciteComboboxBeforeOpen.emit();
|
|
568
557
|
this.topLayer.show();
|
|
558
|
+
this.reposition();
|
|
559
|
+
this.calciteComboboxBeforeOpen.emit();
|
|
560
|
+
setTimeout(() => this.scrollToActiveOrSelectedItem(true), 0);
|
|
569
561
|
}
|
|
570
562
|
onOpen() {
|
|
571
|
-
this.scrollToActiveOrSelectedItem(true);
|
|
572
563
|
this.calciteComboboxOpen.emit();
|
|
573
564
|
}
|
|
574
565
|
onBeforeClose() {
|
|
@@ -584,11 +575,9 @@ class Combobox extends LitElement {
|
|
|
584
575
|
if (!listContainerEl || !open) {
|
|
585
576
|
return;
|
|
586
577
|
}
|
|
587
|
-
await this.reposition(true);
|
|
588
578
|
const maxScrollerHeight = this.getMaxScrollerHeight();
|
|
589
579
|
listContainerEl.style.maxBlockSize = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
590
580
|
listContainerEl.style.inlineSize = `${referenceEl.clientWidth}px`;
|
|
591
|
-
await this.reposition(true);
|
|
592
581
|
}
|
|
593
582
|
calciteChipCloseHandler(comboboxItem) {
|
|
594
583
|
this.open = false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, safeClassMap, safeStyleMap, nothing } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, isServer, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { live } from "lit/directives/live.js";
|
|
6
6
|
import { h as calciteSpacingXxs, i as calciteSpacingBase, j as calciteSpacingSm } from "../../chunks/global.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { b as resizeShiftStep, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { i as interact } from "../../chunks/interact.min.js";
|
|
@@ -11,7 +11,7 @@ import { a as getStylePixelValue } from "../../chunks/dom.js";
|
|
|
11
11
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
12
12
|
import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
|
|
13
13
|
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
14
|
-
import { S as SLOTS$1 } from "../../chunks/
|
|
14
|
+
import { S as SLOTS$1 } from "../../chunks/resources6.js";
|
|
15
15
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
16
16
|
import { u as useFocusTrap } from "../../chunks/useFocusTrap.js";
|
|
17
17
|
import { u as usePreventDocumentScroll } from "../../chunks/usePreventDocumentScroll.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { css, nothing, html } from "lit";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
7
7
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
8
|
-
import { C as CSS$1 } from "../../chunks/
|
|
8
|
+
import { C as CSS$1 } from "../../chunks/resources7.js";
|
|
9
9
|
const CSS = {
|
|
10
10
|
title: "title",
|
|
11
11
|
firstTitle: "first-title",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
@@ -9,7 +9,7 @@ import { t as toAriaBoolean } from "../../chunks/dom.js";
|
|
|
9
9
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
10
10
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
11
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
12
|
-
import { C as CSS, I as ICONS } from "../../chunks/
|
|
12
|
+
import { C as CSS, I as ICONS } from "../../chunks/resources7.js";
|
|
13
13
|
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;flex-grow:1;align-items:center;outline:2px solid transparent;outline-offset:2px}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1));text-align:start}.container a{outline:none;position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1))}.content{flex:1 1 auto}.icon{position:relative;opacity:0;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:scale(.9)}.icon--start,.icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color, var(--calcite-color-text-3))}:host([scale=s]) .container{padding-block:.25rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s]) .icon,:host([scale=s]) .icon--start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .icon--end{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-block:.5rem;padding-inline:.75rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) .icon,:host([scale=m]) .icon--start{padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .icon--end{padding-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-block:.625rem;padding-inline:1rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .icon,:host([scale=l]) .icon--start{padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .icon--end{padding-inline-start:var(--calcite-spacing-lg)}:host(:focus) .container{text-decoration-line:none;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:hover:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-hover, var(--calcite-color-foreground-2))}:host(:active:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-press, var(--calcite-color-foreground-3))}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{text-decoration-line:none;color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .icon--start,:host(:hover:not([disabled])) .icon--end,:host(:active:not([disabled])) .icon--start,:host(:active:not([disabled])) .icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .link,:host(:active:not([disabled])) .link{color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host([selected]) .container:not(.container--none-selection),:host([selected]) .link{font-weight:var(--calcite-font-weight-medium);--calcite-internal-dropdown-item-text-color: var( --calcite-dropdown-item-text-color-press, var(--calcite-color-text-1) );color:var(--calcite-internal-dropdown-item-text-color)}:host([selected]) .container:not(.container--none-selection) .icon,:host([selected]) .link .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-press, var(--calcite-color-brand))}:host([selected]) .container:not(.container--none-selection) .icon--start,:host([selected]) .container:not(.container--none-selection) .icon--end,:host([selected]) .link .icon--start,:host([selected]) .link .icon--end{--calcite-icon-color: var(--calcite-internal-dropdown-item-text-color)}:host(:hover:not([disabled])) .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-hover)}:host([selected]) .icon{opacity:1}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
|
|
14
14
|
class DropdownItem extends LitElement {
|
|
15
15
|
constructor() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { D as DEBOUNCE, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { debounce } from "es-toolkit";
|
|
6
6
|
import { css, html } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.86 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, safeClassMap } from "@arcgis/lumina";
|