@esri/calcite-components 5.0.0-next.85 → 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/{WBJPIMWK.js → 265LZPSS.js} +2 -2
- package/dist/cdn/{NZVWN7IL.js → 2NDNB5KH.js} +2 -2
- package/dist/cdn/{NXPGROMO.js → 2ZBLUFKN.js} +2 -2
- package/dist/cdn/{XNTTM3JL.js → 3QUHWKWI.js} +2 -2
- package/dist/cdn/{QFDOCZA3.js → 3TBNQFN2.js} +2 -2
- package/dist/cdn/{JIUQACW5.js → 3YE26UGT.js} +2 -2
- package/dist/cdn/{SVMNNYUN.js → 3YPGTT6K.js} +2 -2
- package/dist/cdn/{GSJ4FDXO.js → 4F36ERWD.js} +1 -1
- package/dist/cdn/{IGNLV3WL.js → 4IRTN23G.js} +2 -2
- package/dist/cdn/{7FPUWRSV.js → 4LUNXMA2.js} +2 -2
- package/dist/cdn/{4C6DZ7VH.js → 4N7GGDYF.js} +1 -1
- package/dist/cdn/{ZP7IEEF4.js → 4WQZM2DO.js} +2 -2
- package/dist/cdn/{G3HDK2GA.js → 4YDOGNCB.js} +2 -2
- package/dist/cdn/{HNDJR5FD.js → 5N4TM6IC.js} +2 -2
- package/dist/cdn/{32WHAVTU.js → 5ONVNF6P.js} +2 -2
- package/dist/cdn/{N35VJLXI.js → 5SSAX7QY.js} +2 -2
- package/dist/cdn/{RMIIPLID.js → 5XN3Y3V4.js} +2 -2
- package/dist/cdn/{PMXVSUUW.js → 66L4L6CO.js} +2 -2
- package/dist/cdn/{KFQLVFBJ.js → 6AIPNFS6.js} +2 -2
- package/dist/cdn/{RADCDGXU.js → 6SQ3FVMJ.js} +2 -2
- package/dist/cdn/{5FLQ36YN.js → 75WBKLAF.js} +2 -2
- package/dist/cdn/{LYBTXJYU.js → 7CZDVZBA.js} +2 -2
- package/dist/cdn/{ESYN42GH.js → 7ET55HJN.js} +2 -2
- package/dist/cdn/{VGFF3K4S.js → 7HU3UQ3T.js} +2 -2
- package/dist/cdn/{QJT2JBUW.js → 7JOJIZSP.js} +2 -2
- package/dist/cdn/{SQKJ6O3V.js → 7O3B34IO.js} +2 -2
- package/dist/cdn/{46F4GND3.js → 7OSYB6BP.js} +2 -2
- package/dist/cdn/{PCMJJWWY.js → 7RLSNUNU.js} +2 -2
- package/dist/cdn/{4VI2KQQ7.js → 7UABX7SR.js} +1 -1
- package/dist/cdn/{3MJDUAR4.js → 7VOFORAF.js} +2 -2
- package/dist/cdn/{URZELV67.js → AHYGUJFY.js} +2 -2
- package/dist/cdn/{KQOV277Q.js → ALIWLWXW.js} +2 -2
- package/dist/cdn/{3MTCFXHT.js → AXEHK3LE.js} +2 -2
- package/dist/cdn/{IRC4IQSI.js → B23BUOQP.js} +2 -2
- package/dist/cdn/BBGEPDDE.js +4 -0
- package/dist/cdn/{FTTBYRMA.js → BDQGAMWA.js} +2 -2
- package/dist/cdn/{GZ4Y76GV.js → BJ3BSHB7.js} +2 -2
- package/dist/cdn/{XNMLR6KT.js → BJYROWVL.js} +2 -2
- package/dist/cdn/{E3RRQSGO.js → BPMHVCV2.js} +1 -1
- package/dist/cdn/{L3BJZH2B.js → BXHZLH5C.js} +2 -2
- package/dist/cdn/{3PRTW55Z.js → C534KEBU.js} +1 -1
- package/dist/cdn/{4AAWVGL3.js → CB4TKLJV.js} +2 -2
- package/dist/cdn/{HPUUI2IL.js → CFOCSPSL.js} +2 -2
- package/dist/cdn/{WMCRQM4L.js → CGB4W7AQ.js} +1 -1
- package/dist/cdn/{2FUTNDQC.js → CPLX2NNO.js} +2 -2
- package/dist/cdn/{GCI5IBJP.js → CPPPO7DD.js} +2 -2
- package/dist/cdn/{VTFHKAZI.js → CQGYPSEK.js} +2 -2
- package/dist/cdn/{EYGHFVP5.js → CYSLJACL.js} +1 -1
- package/dist/cdn/{GCKTXQ32.js → D3RZQWBA.js} +2 -2
- package/dist/cdn/{SGGQP3HZ.js → D6TJWYOO.js} +2 -2
- package/dist/cdn/{GZ4RVBMB.js → D7ZOWYKB.js} +2 -2
- package/dist/cdn/{2L2HTB2D.js → DDZ4I2DA.js} +2 -2
- package/dist/cdn/{FIWI2LV5.js → DF4OPPSM.js} +2 -2
- package/dist/cdn/{NNRNTZWZ.js → DVCMEWZ3.js} +2 -2
- package/dist/cdn/{7FDGGETS.js → DVE2UKPP.js} +2 -2
- package/dist/cdn/{STDPF5WA.js → ECVDI5K3.js} +2 -2
- package/dist/cdn/{PIFN5P2K.js → ELPVYVTD.js} +1 -1
- package/dist/cdn/{7TQLEGG7.js → EQAOU3A7.js} +1 -1
- package/dist/cdn/{UUZ2C6XD.js → ETNO4FCO.js} +2 -2
- package/dist/cdn/{GGEONHT4.js → F3BZUVQS.js} +2 -2
- package/dist/cdn/{ZU2623H5.js → FAWC2LXX.js} +2 -2
- package/dist/cdn/{JE7FTYQH.js → G6WKZFLJ.js} +2 -2
- package/dist/cdn/{USLF4EEY.js → GFCCAASY.js} +1 -1
- package/dist/cdn/{CQJ46AKF.js → GGC5MM77.js} +2 -2
- package/dist/cdn/{GFQINXHC.js → GH3OBJBY.js} +2 -2
- package/dist/cdn/{RISAW7O5.js → GI2NJ4HI.js} +2 -2
- package/dist/cdn/{72GUOSPY.js → GR5AFKI5.js} +2 -2
- package/dist/cdn/{EKR4HBPC.js → GXZLMJNC.js} +2 -2
- package/dist/cdn/{XNJIDOJV.js → GZ6OZTTY.js} +2 -2
- package/dist/cdn/{YJHNMRZN.js → H4NQV5OF.js} +2 -2
- package/dist/cdn/{UW66LRLF.js → HG7EWFXA.js} +2 -2
- package/dist/cdn/{2ZXBQWX6.js → HKLMBQOB.js} +1 -1
- package/dist/cdn/{L5SOTUSX.js → HNIKUPY3.js} +2 -2
- package/dist/cdn/{4WSPNC7L.js → HNKPDR4V.js} +2 -2
- package/dist/cdn/{7RR3YYNG.js → HTF2JIW2.js} +2 -2
- package/dist/cdn/{MAH6SUEC.js → HXPW2KQ5.js} +2 -2
- package/dist/cdn/{KW7VFI3E.js → I2H4EA7W.js} +2 -2
- package/dist/cdn/{WEMI2JPS.js → I4OZL7RR.js} +2 -2
- package/dist/cdn/{FC666UGE.js → I7M2FNP2.js} +2 -2
- package/dist/cdn/IA2VWER5.js +4 -0
- package/dist/cdn/{FSO6NX7Y.js → IDWLI73G.js} +2 -2
- package/dist/cdn/{L4ECM5M2.js → IEHHI67O.js} +2 -2
- package/dist/cdn/IGUQVDMG.js +4 -0
- package/dist/cdn/{GKHQOQVU.js → IIC64NTV.js} +2 -2
- package/dist/cdn/{HDBGAFCB.js → IQYO3YLL.js} +2 -2
- package/dist/cdn/{XDBQVBDJ.js → IW2PABZ2.js} +1 -1
- package/dist/cdn/{GNCKKAIF.js → JGE77A6R.js} +2 -2
- package/dist/cdn/{HYKZIBM6.js → JHOPF723.js} +2 -2
- package/dist/cdn/{TSEPOAAN.js → JJNZESCC.js} +2 -2
- package/dist/cdn/{7AO2QEX2.js → JY6HDRMX.js} +2 -2
- package/dist/cdn/{ZV7SP4RI.js → K7EIX6OB.js} +1 -1
- package/dist/cdn/{ZXQNHQPG.js → K7NS2AMX.js} +2 -2
- package/dist/cdn/{PK3DYFYI.js → KAXTRCIT.js} +2 -2
- package/dist/cdn/KCWYN4MG.js +4 -0
- package/dist/cdn/{RERWJQES.js → KJHHU73B.js} +1 -1
- package/dist/cdn/{YNTODNMQ.js → KKFNPVKR.js} +2 -2
- package/dist/cdn/{PFCTYZLG.js → KPDT5CVJ.js} +2 -2
- package/dist/cdn/{DMWDYBRJ.js → LAPF2X2D.js} +2 -2
- package/dist/cdn/{SJAJGUOO.js → LNNXYZGH.js} +2 -2
- package/dist/cdn/{OOZ4MRX5.js → LPCVYKLE.js} +1 -1
- package/dist/cdn/{DFS6MINE.js → LPTXS5CC.js} +2 -2
- package/dist/cdn/{UZ4QUIIN.js → LUMK2N7N.js} +2 -2
- package/dist/cdn/{ZPBLPU4G.js → LZXYJ3BV.js} +2 -2
- package/dist/cdn/{CX63UUMX.js → M2OQVEFA.js} +2 -2
- package/dist/cdn/{GPUVNDA4.js → MBL643OF.js} +2 -2
- package/dist/cdn/{YZCNY5BI.js → MDTMHCRJ.js} +2 -2
- package/dist/cdn/MHU64UOV.js +4 -0
- package/dist/cdn/{MHXTBAL7.js → MM5RJ37O.js} +2 -2
- package/dist/cdn/{VQMK7DHA.js → MQKJIHCG.js} +2 -2
- package/dist/cdn/{GVVA5ER5.js → MQR23NC7.js} +2 -2
- package/dist/cdn/{DO3RCOJK.js → MTCFDW63.js} +2 -2
- package/dist/cdn/{TOLIHEGN.js → MUNMMTPD.js} +1 -1
- package/dist/cdn/{23HSLLRP.js → MWMPO4JF.js} +2 -2
- package/dist/cdn/{QYG75NCQ.js → N42SIHEY.js} +2 -2
- package/dist/cdn/{K6QTEEUW.js → NPM4KIF4.js} +1 -1
- package/dist/cdn/{NFASJYAF.js → NQA37JEY.js} +2 -2
- package/dist/cdn/{QIB2CCH7.js → OBTAW3FT.js} +2 -2
- package/dist/cdn/{NXCTFYED.js → OEC3VYWR.js} +1 -1
- package/dist/cdn/{DP7SKMHV.js → OLSTY4QA.js} +1 -1
- package/dist/cdn/{ZRS4GUKC.js → OOZPOQPU.js} +2 -2
- package/dist/cdn/{ZT5NTJVJ.js → OR6ON54D.js} +2 -2
- package/dist/cdn/{G3XCTLTQ.js → OUB2G64Q.js} +2 -2
- package/dist/cdn/{EXQIRRRF.js → PAK22M5C.js} +2 -2
- package/dist/cdn/{2PJ5VYF6.js → PE4FJDWY.js} +2 -2
- package/dist/cdn/{J5OTW42Z.js → PQYZJA3V.js} +2 -2
- package/dist/cdn/{EZ24T4GY.js → PTZGOVXI.js} +2 -2
- package/dist/cdn/{SISDZNDE.js → PVPMLCXY.js} +2 -2
- package/dist/cdn/{PJ6Q7AZU.js → QD6UQOR5.js} +1 -1
- package/dist/cdn/{SMCYDTWW.js → QNFGMZYR.js} +2 -2
- package/dist/cdn/{TA57XW3R.js → R25RK4LC.js} +2 -2
- package/dist/cdn/{N4RBMTVV.js → R2N5YMIX.js} +2 -2
- package/dist/cdn/{AJT6QZOV.js → RLV3NTMY.js} +2 -2
- package/dist/cdn/{HA5U5NO5.js → RTQ52OFV.js} +2 -2
- package/dist/cdn/{HUSHBUM3.js → SDJV7PMH.js} +2 -2
- package/dist/cdn/{T2XIIUM2.js → SKGO6HLV.js} +2 -2
- package/dist/cdn/{FTJE5QCG.js → SPHA7ZGV.js} +2 -2
- package/dist/cdn/{VFU425PF.js → SVR27ET5.js} +2 -2
- package/dist/cdn/{RY6K3NWE.js → SVXLZBGE.js} +1 -1
- package/dist/cdn/{EYAG4FQY.js → SXRV3RIK.js} +1 -1
- package/dist/cdn/{PGSFLJ3D.js → T562VRPK.js} +2 -2
- package/dist/cdn/{64AVKCFC.js → TMERZAGC.js} +2 -2
- package/dist/cdn/{FSW52VMC.js → TQGB6WJH.js} +2 -2
- package/dist/cdn/{2VRKEDCM.js → TXGMUILM.js} +2 -2
- package/dist/cdn/{JRJ7MU4A.js → UFARZ6LX.js} +1 -1
- package/dist/cdn/{JNIFXLOQ.js → UFMOJ6BP.js} +2 -2
- package/dist/cdn/{BN7PYWB6.js → UMBUQSG7.js} +2 -2
- package/dist/cdn/{LRN33PO6.js → USVGIGD2.js} +2 -2
- package/dist/cdn/{GWH2XS5V.js → UTOVKWT3.js} +2 -2
- package/dist/cdn/{HYMSSZX5.js → UUJIFHR3.js} +1 -1
- package/dist/cdn/{OHONTKTA.js → VCTG3II6.js} +2 -2
- package/dist/cdn/{UYKM6BTM.js → VEJ7VUSN.js} +2 -2
- package/dist/cdn/VJ5ESOPH.js +4 -0
- package/dist/cdn/{NH32PD4W.js → VPKGL5MV.js} +2 -2
- package/dist/cdn/{LCDAOJ2I.js → WKTY2TT3.js} +2 -2
- package/dist/cdn/{UMXYXI25.js → WO5BT3M7.js} +2 -2
- package/dist/cdn/{UBAI46AR.js → WRXXJYTS.js} +2 -2
- package/dist/cdn/{67SPL6WA.js → WTXBPSHB.js} +2 -2
- package/dist/cdn/{XXCMOSRB.js → WTZ5ELSG.js} +2 -2
- package/dist/cdn/{U3LXO27U.js → WYVGACIJ.js} +2 -2
- package/dist/cdn/{YMBOGVX7.js → X3DPELVQ.js} +2 -2
- package/dist/cdn/{EV4VPLTA.js → X67ED5ZX.js} +2 -2
- package/dist/cdn/{VIWDRHIR.js → XB3BMWQA.js} +1 -1
- package/dist/cdn/{SD5NCNF3.js → XB7RQ3KO.js} +2 -2
- package/dist/cdn/{2G6GWTXL.js → XFMJXJ4G.js} +2 -2
- package/dist/cdn/{R7K6IXSB.js → XGGNP6H5.js} +2 -2
- package/dist/cdn/{RXXUOWMP.js → XMM4Z4DP.js} +2 -2
- package/dist/cdn/{5FCPGPCV.js → XPLKFVPY.js} +2 -2
- package/dist/cdn/{TUST53EA.js → XQZSRN5A.js} +2 -2
- package/dist/cdn/{QKLNY26R.js → XTQB7RP2.js} +2 -2
- package/dist/cdn/{3NTT4AT7.js → XXJGFNWJ.js} +2 -2
- package/dist/cdn/{NKCVNZJR.js → YB2FTLLM.js} +2 -2
- package/dist/cdn/{S252R2JI.js → YB3DFN4R.js} +2 -2
- package/dist/cdn/{IKS56LM4.js → YE2IEAVJ.js} +2 -2
- package/dist/cdn/{A6UQC3W2.js → YUHCAPQZ.js} +2 -2
- package/dist/cdn/{4F6IEWSU.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 +1 -1
- 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 +1 -1
- package/dist/components/calcite-input-text/customElement.js +1 -1
- 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/5VLETR2K.js +0 -4
- package/dist/cdn/HDCDBDZA.js +0 -4
- package/dist/cdn/KSLBIKYE.js +0 -4
- package/dist/cdn/RH2WPIJ6.js +0 -4
- package/dist/cdn/ZXKKFCZJ.js +0 -4
|
@@ -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 { makeGenericController } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { createFocusTrap } from "focus-trap";
|
|
6
6
|
import { u as tabbableOptions, j as focusElement } from "./dom.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 { makeGenericController } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { safeClassMap } from "@arcgis/lumina";
|
|
6
6
|
import { 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 { makeGenericController } from "@arcgis/lumina/controllers";
|
|
5
5
|
let openedComponentCount = 0;
|
|
6
6
|
let initialDocumentOverflowStyle = "";
|
|
@@ -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 { makeGenericController } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { c as componentFocusable } from "./component.js";
|
|
6
6
|
import { h as getRootNode, j as focusElement } from "./dom.js";
|
package/dist/chunks/useT9n.js
CHANGED
|
@@ -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 { makeT9nController } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { g as getAssetPath } from "./runtime.js";
|
|
6
6
|
const useT9n = makeT9nController(getAssetPath);
|
package/dist/chunks/useTime.js
CHANGED
|
@@ -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 { toFunction, GenericController } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { createEvent } from "@arcgis/lumina";
|
|
6
6
|
import { l as localizedTwentyFourHourMeridiems, i as isValidNumber, n as numberStringFormatter, g as getDateTimeFormat, b as getSupportedNumberingSystem } from "./locale.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 { makeGenericController } from "@arcgis/lumina/controllers";
|
|
5
5
|
const useTopLayer = (options) => {
|
|
6
6
|
return makeGenericController((component, controller) => {
|
package/dist/chunks/utils.js
CHANGED
|
@@ -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 Color from "color";
|
|
5
5
|
import { c as calciteSpacingFixedXl, a as calciteSpacingFixedMd, b as calciteSpacingFixedSm } from "./global.js";
|
|
6
6
|
const CSS = {
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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 { isServer } from "lit";
|
|
5
5
|
import { o as nodeListToArray } from "./dom.js";
|
|
6
|
-
import { A as AllComboboxChildrenSelector, a as ComboboxItemSelector, b as ComboboxItemGroupSelector } from "./
|
|
6
|
+
import { A as AllComboboxChildrenSelector, a as ComboboxItemSelector, b as ComboboxItemGroupSelector } from "./resources5.js";
|
|
7
7
|
function getAncestors(element) {
|
|
8
8
|
const parent = element.parentElement?.closest(AllComboboxChildrenSelector);
|
|
9
9
|
const grandparent = parent?.parentElement?.closest(AllComboboxChildrenSelector);
|
package/dist/chunks/utils3.js
CHANGED
|
@@ -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 { defaultLocale, normalizeLocale, supportedLocales } from "@arcgis/toolkit/intl";
|
|
5
5
|
import { d as dateFromISO } from "./date.js";
|
|
6
6
|
import { g as getAssetPath } from "./runtime.js";
|
package/dist/chunks/utils4.js
CHANGED
|
@@ -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 { isServer } from "lit";
|
|
5
5
|
const listSelector = "calcite-list";
|
|
6
6
|
const listItemGroupSelector = "calcite-list-item-group";
|
|
@@ -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 CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -116,13 +116,4 @@ export abstract class Action extends LitElement {
|
|
|
116
116
|
* @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
117
117
|
*/
|
|
118
118
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
119
|
-
/**
|
|
120
|
-
* Fires when the action's button is being pressed down.
|
|
121
|
-
*
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
readonly calciteInternalActionMouseDown: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
125
|
-
readonly "@eventTypes": {
|
|
126
|
-
calciteInternalActionMouseDown: Action["calciteInternalActionMouseDown"]["detail"];
|
|
127
|
-
};
|
|
128
119
|
}
|
|
@@ -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";
|