@esri/calcite-components 5.0.0-next.25 → 5.0.0-next.26
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/{JBJJBULG.js → 2CFMML7J.js} +2 -2
- package/dist/cdn/{T5J4SUEV.js → 2FZFM5NL.js} +2 -2
- package/dist/cdn/{TD3NNZS3.js → 2U3HRPBE.js} +2 -2
- package/dist/cdn/{7YYNYM6L.js → 2XHAGMKL.js} +2 -2
- package/dist/cdn/{ICIKQ6SF.js → 3ILU5HMO.js} +2 -2
- package/dist/cdn/{KEEZM4AX.js → 3LX4UEMG.js} +2 -2
- package/dist/cdn/{7GLGFP4U.js → 3RCYATIP.js} +1 -1
- package/dist/cdn/{HTIEWPTM.js → 3S24RP6Q.js} +2 -2
- package/dist/cdn/{MHL7MFAL.js → 3T7FBLY4.js} +2 -2
- package/dist/cdn/{2B3IBUMD.js → 3YNQI3NO.js} +2 -2
- package/dist/cdn/{3FWTYAQJ.js → 432I5L6K.js} +2 -2
- package/dist/cdn/{66B3V26H.js → 47DFYWT7.js} +1 -1
- package/dist/cdn/{KZBOSMAA.js → 4A5BQ3P6.js} +2 -2
- package/dist/cdn/{FMCXXW73.js → 4FZKOFIT.js} +2 -2
- package/dist/cdn/{E6DY6FGT.js → 4VRO7HIK.js} +2 -2
- package/dist/cdn/{HZXGOSFA.js → 52WSL3OS.js} +2 -2
- package/dist/cdn/{D6RBIAXP.js → 5DDVN7VT.js} +2 -2
- package/dist/cdn/{5DQDJF3X.js → 5N76V6DK.js} +2 -2
- package/dist/cdn/{X63NXLXL.js → 5O4F6PZJ.js} +2 -2
- package/dist/cdn/{MYZL7DSE.js → 5U7ADNIZ.js} +2 -2
- package/dist/cdn/{KCYH5BBD.js → 5XAHBWEI.js} +1 -1
- package/dist/cdn/{5M7A3X3U.js → 62ZCKEBN.js} +2 -2
- package/dist/cdn/{7W2GTF7Y.js → 6AV5OUAI.js} +1 -1
- package/dist/cdn/{IW33QBLM.js → 6F7MIVOD.js} +2 -2
- package/dist/cdn/{SGFZKTS7.js → 6FPWFMQD.js} +2 -2
- package/dist/cdn/{C4QWXP5F.js → 6L2CD66G.js} +2 -2
- package/dist/cdn/{PXYVR5V5.js → 6N2MAGTM.js} +2 -2
- package/dist/cdn/{FBY4QDGL.js → 6SRTCZUL.js} +2 -2
- package/dist/cdn/{2JYWRARL.js → 77223OGR.js} +2 -2
- package/dist/cdn/{7FKDZIEW.js → 7A5GUUXX.js} +2 -2
- package/dist/cdn/{3NNDGECD.js → 7BPYHEOW.js} +2 -2
- package/dist/cdn/{JVDWLQMN.js → 7DAYYO7G.js} +2 -2
- package/dist/cdn/7JL3ZCM4.js +4 -0
- package/dist/cdn/{Z2UTIVKY.js → 7UWIO6G4.js} +2 -2
- package/dist/cdn/{PA4D3SEY.js → AHIQKX5F.js} +2 -2
- package/dist/cdn/{RTD73R3E.js → AQU252UZ.js} +2 -2
- package/dist/cdn/{RSVR57UK.js → ARB4Q3GY.js} +2 -2
- package/dist/cdn/{UJIFAUE2.js → B4QK4RBC.js} +2 -2
- package/dist/cdn/{KTYCUK7V.js → B5UWHKTV.js} +2 -2
- package/dist/cdn/{TZWTARP2.js → BC6T7LXX.js} +2 -2
- package/dist/cdn/{FYSGB4TS.js → BJWZNEE6.js} +1 -1
- package/dist/cdn/{BYEDJZZG.js → BOOYLMNS.js} +2 -2
- package/dist/cdn/{ZLNNZMBR.js → BS6FO7VM.js} +2 -2
- package/dist/cdn/{QKUZIQL4.js → BY6FQDGD.js} +2 -2
- package/dist/cdn/{NCKRO3GE.js → BYDTCRJO.js} +2 -2
- package/dist/cdn/{C4DNON2P.js → CHVB7IKL.js} +2 -2
- package/dist/cdn/{DNVHA77U.js → CWNLGPSB.js} +1 -1
- package/dist/cdn/{2FSIVQEJ.js → D5UX7ECF.js} +2 -2
- package/dist/cdn/{TOWSM45O.js → D7OBAVZT.js} +2 -2
- package/dist/cdn/{6AHYTXT2.js → DJVTADL7.js} +2 -2
- package/dist/cdn/{RA6HENCZ.js → DT3IOU7S.js} +2 -2
- package/dist/cdn/{BIIZHFVJ.js → DTSRU6CW.js} +2 -2
- package/dist/cdn/{LF7C5CM2.js → DXQFA7YZ.js} +1 -1
- package/dist/cdn/{VI77ZT4D.js → E2CJ3WMN.js} +2 -2
- package/dist/cdn/{BQHMPRUG.js → E4EYXCOT.js} +1 -1
- package/dist/cdn/{UICOM7EK.js → E5D5DLBW.js} +2 -2
- package/dist/cdn/{PW3ERLTK.js → E5QC5ISI.js} +2 -2
- package/dist/cdn/{R2FT3XM4.js → EC6EAHTF.js} +2 -2
- package/dist/cdn/{LSTGTNQF.js → EPA5EBO4.js} +2 -2
- package/dist/cdn/{SD64JT6D.js → ET5LOAXJ.js} +2 -2
- package/dist/cdn/{JVULVD76.js → EVY5PGRH.js} +2 -2
- package/dist/cdn/{BKA2JCDO.js → EYU5DTMI.js} +1 -1
- package/dist/cdn/{VSCLJKVF.js → FAT3Y2BN.js} +1 -1
- package/dist/cdn/{5ZXE2GF6.js → FE7MC2RS.js} +2 -2
- package/dist/cdn/{JIGRRJYO.js → FMKQR3NY.js} +2 -2
- package/dist/cdn/FRO3DRWQ.js +4 -0
- package/dist/cdn/{AXCAZ7SM.js → FW2WJAMV.js} +2 -2
- package/dist/cdn/{IGVEOOOY.js → GA2OVDMV.js} +2 -2
- package/dist/cdn/{AKYDGDXN.js → H7FAIOG4.js} +2 -2
- package/dist/cdn/{TSXPE5N7.js → HBGTAWK3.js} +1 -1
- package/dist/cdn/{HXKZJSFJ.js → HKSOVKSS.js} +2 -2
- package/dist/cdn/{EWKWW6GW.js → HMQK4NHX.js} +2 -2
- package/dist/cdn/{ROBPTSNZ.js → HN42KFKY.js} +2 -2
- package/dist/cdn/{3BTV7OEP.js → HTSVYMIU.js} +1 -1
- package/dist/cdn/{M43NQERD.js → HWAZHT5V.js} +2 -2
- package/dist/cdn/{KM5W3IXL.js → HXVXKTPF.js} +2 -2
- package/dist/cdn/{FPHU2POG.js → HY7V66E2.js} +2 -2
- package/dist/cdn/{OBBKQC33.js → IEHTF4JJ.js} +2 -2
- package/dist/cdn/{BB2OEXRL.js → IIG6KL5B.js} +2 -2
- package/dist/cdn/{MJEOOUPN.js → IILDTQRG.js} +2 -2
- package/dist/cdn/{WSWF2FPF.js → IMNNSECB.js} +2 -2
- package/dist/cdn/{NC3PAM6U.js → IOMZGRK4.js} +2 -2
- package/dist/cdn/{HXGHPU5R.js → IZG6SCFX.js} +1 -1
- package/dist/cdn/{NZK5XHJT.js → JALLQ642.js} +2 -2
- package/dist/cdn/{ARC54UM2.js → JHMUWWQC.js} +2 -2
- package/dist/cdn/K424XZFZ.js +4 -0
- package/dist/cdn/KNWKHZDP.js +4 -0
- package/dist/cdn/{3WLIDSAY.js → KQHZTEQA.js} +2 -2
- package/dist/cdn/{6BM6T563.js → KQUCKRP3.js} +2 -2
- package/dist/cdn/{ZQAJBVYH.js → L2HPOBTI.js} +2 -2
- package/dist/cdn/{D4Y7JJ7N.js → LJHB3MJX.js} +2 -2
- package/dist/cdn/{4TPIZPP6.js → LKLTEHWQ.js} +2 -2
- package/dist/cdn/{UTUNLEWD.js → LLHJY7FO.js} +2 -2
- package/dist/cdn/{CGJF2WT3.js → M7GQJBGE.js} +2 -2
- package/dist/cdn/{HSBSLTXF.js → MAHGPUV2.js} +2 -2
- package/dist/cdn/{6PYOPB6H.js → MD5WJSZN.js} +1 -1
- package/dist/cdn/{D2NMLMNJ.js → MI2ILVKK.js} +2 -2
- package/dist/cdn/{P7EZ737Q.js → MIOMU44N.js} +2 -2
- package/dist/cdn/{D4P6Y27Q.js → MUXHUU6U.js} +1 -1
- package/dist/cdn/{4KG2WJMW.js → MW5EJLCT.js} +2 -2
- package/dist/cdn/{C4TQTAAN.js → MYTCFLOM.js} +2 -2
- package/dist/cdn/{XUWAEWG2.js → N4XJYQRH.js} +2 -2
- package/dist/cdn/{IQGWCU2P.js → NBGXBSR4.js} +2 -2
- package/dist/cdn/{MBEMGM3S.js → NFJBMBKC.js} +2 -2
- package/dist/cdn/{REI5KEGW.js → NZM73CDI.js} +2 -2
- package/dist/cdn/{KIRP6CH4.js → OEZPBK7R.js} +2 -2
- package/dist/cdn/{L4IPSY5X.js → OIC2PJSR.js} +2 -2
- package/dist/cdn/{NRZTXSVU.js → ONWB4LLN.js} +2 -2
- package/dist/cdn/{TUED46UL.js → P4SFTOL2.js} +2 -2
- package/dist/cdn/{XIERCEQK.js → PGQ556IU.js} +2 -2
- package/dist/cdn/{2BRB6IHT.js → PIS5J4L6.js} +2 -2
- package/dist/cdn/{DQPWXS2M.js → PJPCM6TA.js} +2 -2
- package/dist/cdn/{3SZJQH6Q.js → PLDBKZJU.js} +2 -2
- package/dist/cdn/{4RGKH7SI.js → PUM2TUJT.js} +2 -2
- package/dist/cdn/{2WBUKAAF.js → QIWQPYMD.js} +2 -2
- package/dist/cdn/{ZUUGKO7V.js → QKW5HNIF.js} +1 -1
- package/dist/cdn/{4CL7FQJJ.js → QOYXWNLB.js} +2 -2
- package/dist/cdn/{IEDS7Y3K.js → QPLV643W.js} +2 -2
- package/dist/cdn/{4DK3JLRJ.js → QZKEE2GW.js} +2 -2
- package/dist/cdn/{GCT37KSU.js → RBBDKUN4.js} +2 -2
- package/dist/cdn/{IO2QF2OZ.js → RC6OSJIM.js} +2 -2
- package/dist/cdn/{HNCJSZGL.js → RLKDPOH2.js} +1 -1
- package/dist/cdn/{IPPMV5EP.js → RSG7A2EY.js} +2 -2
- package/dist/cdn/{MSRQHP4Y.js → S3LMUVIR.js} +2 -2
- package/dist/cdn/{RTUZDZOX.js → SBRSHLCL.js} +2 -2
- package/dist/cdn/{YSBGVOAR.js → SLBOIPUI.js} +2 -2
- package/dist/cdn/{NG6CGXUT.js → SMB2EQKM.js} +2 -2
- package/dist/cdn/{7MKO4WEK.js → SOCINMJ3.js} +2 -2
- package/dist/cdn/{HWRPXNTG.js → SRXKNFWZ.js} +2 -2
- package/dist/cdn/{KSKRPWQ7.js → SUF3BEFB.js} +2 -2
- package/dist/cdn/{JOLN3U6B.js → SVGBKLP3.js} +2 -2
- package/dist/cdn/{DJGXXE5R.js → SZYDF2UZ.js} +1 -1
- package/dist/cdn/{E2432QWX.js → TB54TF7D.js} +2 -2
- package/dist/cdn/{D5G26D66.js → TGB6THII.js} +2 -2
- package/dist/cdn/{LQ5TR26F.js → TJQWEEWG.js} +2 -2
- package/dist/cdn/{DFOFRT55.js → TOJWPJZO.js} +2 -2
- package/dist/cdn/{YVM4ZGPI.js → TQDSVXLJ.js} +2 -2
- package/dist/cdn/{RFER2STC.js → TU3YLD2E.js} +2 -2
- package/dist/cdn/{5BIXA3LB.js → TVHBJX3S.js} +2 -2
- package/dist/cdn/{UHH66QZJ.js → UE6N72DC.js} +2 -2
- package/dist/cdn/{3RFFJ2S5.js → UFXOUOBW.js} +2 -2
- package/dist/cdn/{PPRMC725.js → UGKRXWQA.js} +2 -2
- package/dist/cdn/{AKFX7PWJ.js → UJORWXAT.js} +2 -2
- package/dist/cdn/{ESBYK2GP.js → UK5M4QCY.js} +2 -2
- package/dist/cdn/{JY7UPCZF.js → UQIFZG6A.js} +2 -2
- package/dist/cdn/{QYA7MFEQ.js → UR6UPX4T.js} +2 -2
- package/dist/cdn/{SQF5PXV4.js → USQILMSK.js} +2 -2
- package/dist/cdn/{UWOSRWON.js → UTDL752M.js} +2 -2
- package/dist/cdn/{HDOH7WWW.js → VMAECY3E.js} +2 -2
- package/dist/cdn/{GYDDLMSK.js → VMISRU6U.js} +2 -2
- package/dist/cdn/{3SWHFVC5.js → VR7J7K4K.js} +2 -2
- package/dist/cdn/{K33KHJFQ.js → VRI45OLI.js} +1 -1
- package/dist/cdn/{2KAS7G6B.js → W7GKGD7L.js} +2 -2
- package/dist/cdn/{X7QV7YUJ.js → WHUJJZKU.js} +2 -2
- package/dist/cdn/{K47LMM6Z.js → WIKB25QH.js} +1 -1
- package/dist/cdn/WL4H37YF.js +4 -0
- package/dist/cdn/{Q4GHTPKL.js → WUWREGJO.js} +1 -1
- package/dist/cdn/{3CYBUVAL.js → WVPOSWB7.js} +2 -2
- package/dist/cdn/{WCOYDBKU.js → WYWH3B2F.js} +2 -2
- package/dist/cdn/{KQ6KM7WZ.js → X5M5H7V5.js} +2 -2
- package/dist/cdn/{2QUON4GW.js → XHNHEAWO.js} +1 -1
- package/dist/cdn/{PWIYQM4I.js → XTCTFLEI.js} +2 -2
- package/dist/cdn/{YYNYMUJQ.js → XUXUXKVY.js} +2 -2
- package/dist/cdn/{2M5P63XO.js → YL6AVWLZ.js} +2 -2
- package/dist/cdn/{IEQTQXR7.js → YNSRHIEC.js} +2 -2
- package/dist/cdn/{7ZNKDVNK.js → YOAHZBK4.js} +2 -2
- package/dist/cdn/YRXGH5DY.js +4 -0
- package/dist/cdn/{EH2B4KU5.js → YSWB2MUY.js} +1 -1
- package/dist/cdn/{I7EHUJMJ.js → YX3LSUMD.js} +2 -2
- package/dist/cdn/{VJXRREK5.js → ZFALE3R5.js} +2 -2
- package/dist/cdn/{Z5MT2SGP.js → ZKY4KTD2.js} +1 -1
- package/dist/cdn/{U6IVXS2Q.js → ZMB25IZB.js} +2 -2
- package/dist/cdn/{OLRESSNA.js → ZOG53OH5.js} +2 -2
- package/dist/cdn/assets/icon/fileEsl16.json +1 -0
- package/dist/cdn/assets/icon/fileEsl24.json +1 -0
- package/dist/cdn/assets/icon/fileEsl32.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/ExpandToggle.js +5 -1
- 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/XButton.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 +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +1 -1
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/resources8.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +4 -4
- 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/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- 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 +2 -2
- package/dist/components/calcite-action/customElement.js +2 -2
- package/dist/components/calcite-action-bar/customElement.js +41 -4
- package/dist/components/calcite-action-bar/utils.d.ts +1 -0
- package/dist/components/calcite-action-group/customElement.d.ts +15 -1
- package/dist/components/calcite-action-group/customElement.js +72 -4
- package/dist/components/calcite-action-menu/customElement.js +1 -1
- package/dist/components/calcite-action-pad/customElement.js +40 -3
- package/dist/components/calcite-alert/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/calcite-dropdown/customElement.js +1 -1
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.js +2 -2
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/components/calcite-popover/customElement.js +2 -2
- 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 +1 -1
- package/dist/components/calcite-sort-handle/customElement.js +2 -2
- 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 +1 -1
- package/dist/components/calcite-stepper/customElement.js +2 -2
- 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 +2 -2
- 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 +66 -10
- package/dist/docs/docs.json +39 -4
- package/dist/docs/vscode.html-custom-data.json +18 -0
- package/dist/docs/web-types.json +20 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cdn/F4S4KCEU.js +0 -4
- package/dist/cdn/P4NPWG6I.js +0 -4
- package/dist/cdn/PRVTFMLC.js +0 -4
- package/dist/cdn/SH3WETMJ.js +0 -4
- package/dist/cdn/ZRFXF5CA.js +0 -4
package/dist/docs/api.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-12-
|
|
2
|
+
"timestamp": "2025-12-11T22:08:27",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
5
|
"version": "5.0.0-next.76",
|
|
@@ -904,35 +904,35 @@
|
|
|
904
904
|
"name": "aria",
|
|
905
905
|
"description": "Use this property to override or extend ARIA properties and attributes on the component's button.",
|
|
906
906
|
"type": {
|
|
907
|
-
"text": "{\n controlsElements?: Array<Element>;\n describedByElements?: Array<Element>;\n expanded?: boolean | \"true\" | \"false\";\n hasPopup?: boolean | \"grid\" | \"tree\" | \"dialog\" | \"menu\" | \"true\" | \"false\" | \"listbox\";\n labelledByElements?: Array<Element>;\n ownsElements?: Array<Element>;\n pressed?: boolean | \"true\" | \"false\" | \"mixed\";\n}",
|
|
907
|
+
"text": "{\n checked?: boolean | \"true\" | \"false\" | \"mixed\";\n controlsElements?: Array<Element>;\n describedByElements?: Array<Element>;\n expanded?: boolean | \"true\" | \"false\";\n hasPopup?: boolean | \"grid\" | \"tree\" | \"dialog\" | \"menu\" | \"true\" | \"false\" | \"listbox\";\n labelledByElements?: Array<Element>;\n ownsElements?: Array<Element>;\n pressed?: boolean | \"true\" | \"false\" | \"mixed\";\n role?: \"grid\" | \"none\" | \"search\" | \"link\" | \"article\" | \"button\" | \"group\" | \"heading\" | \"list\" | \"presentation\" | \"separator\" | \"switch\" | \"table\" | \"timer\" | \"tree\" | \"meter\" | \"alert\" | \"application\" | \"log\" | \"main\" | \"figure\" | \"document\" | \"form\" | \"note\" | \"slider\" | \"row\" | \"tab\" | \"term\" | \"dialog\" | \"img\" | \"menu\" | \"option\" | \"math\" | \"marquee\" | \"menuitem\" | \"status\" | \"combobox\" | \"tooltip\" | \"checkbox\" | \"navigation\" | \"gridcell\" | \"menuitemcheckbox\" | \"menuitemradio\" | \"progressbar\" | \"radio\" | \"scrollbar\" | \"searchbox\" | \"spinbutton\" | \"tabpanel\" | \"textbox\" | \"treeitem\" | \"listbox\" | \"menubar\" | \"radiogroup\" | \"tablist\" | \"treegrid\" | \"cell\" | \"columnheader\" | \"definition\" | \"directory\" | \"feed\" | \"listitem\" | \"rowgroup\" | \"rowheader\" | \"toolbar\" | \"banner\" | \"complementary\" | \"contentinfo\" | \"region\" | \"alertdialog\";\n}",
|
|
908
908
|
"references": [
|
|
909
909
|
{
|
|
910
910
|
"name": "Array",
|
|
911
911
|
"package": "typescript",
|
|
912
912
|
"module": "lib/lib.es5.d.ts",
|
|
913
|
-
"start":
|
|
914
|
-
"end":
|
|
913
|
+
"start": 77,
|
|
914
|
+
"end": 82
|
|
915
915
|
},
|
|
916
916
|
{
|
|
917
917
|
"name": "Array",
|
|
918
918
|
"package": "typescript",
|
|
919
919
|
"module": "lib/lib.es5.d.ts",
|
|
920
|
-
"start":
|
|
921
|
-
"end":
|
|
920
|
+
"start": 119,
|
|
921
|
+
"end": 124
|
|
922
922
|
},
|
|
923
923
|
{
|
|
924
924
|
"name": "Array",
|
|
925
925
|
"package": "typescript",
|
|
926
926
|
"module": "lib/lib.es5.d.ts",
|
|
927
|
-
"start":
|
|
928
|
-
"end":
|
|
927
|
+
"start": 296,
|
|
928
|
+
"end": 301
|
|
929
929
|
},
|
|
930
930
|
{
|
|
931
931
|
"name": "Array",
|
|
932
932
|
"package": "typescript",
|
|
933
933
|
"module": "lib/lib.es5.d.ts",
|
|
934
|
-
"start":
|
|
935
|
-
"end":
|
|
934
|
+
"start": 331,
|
|
935
|
+
"end": 336
|
|
936
936
|
}
|
|
937
937
|
]
|
|
938
938
|
},
|
|
@@ -2430,6 +2430,35 @@
|
|
|
2430
2430
|
"attribute": "scale",
|
|
2431
2431
|
"reflects": true
|
|
2432
2432
|
},
|
|
2433
|
+
{
|
|
2434
|
+
"kind": "field",
|
|
2435
|
+
"name": "selectionMode",
|
|
2436
|
+
"description": "Specifies the selection mode of the component, where:\n\n`\"multiple\"` allows any number of selections,\n\n`\"single\"` allows only one selection, and\n\n`\"single-persist\"` allows one selection and prevents de-selection.\n\n`\"none\"` disables selection (default).",
|
|
2437
|
+
"type": {
|
|
2438
|
+
"text": "\"multiple\" | \"none\" | \"single\" | \"single-persist\"",
|
|
2439
|
+
"values": [
|
|
2440
|
+
{
|
|
2441
|
+
"value": "multiple",
|
|
2442
|
+
"type": "string"
|
|
2443
|
+
},
|
|
2444
|
+
{
|
|
2445
|
+
"value": "none",
|
|
2446
|
+
"type": "string"
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
"value": "single",
|
|
2450
|
+
"type": "string"
|
|
2451
|
+
},
|
|
2452
|
+
{
|
|
2453
|
+
"value": "single-persist",
|
|
2454
|
+
"type": "string"
|
|
2455
|
+
}
|
|
2456
|
+
]
|
|
2457
|
+
},
|
|
2458
|
+
"default": "\"none\"",
|
|
2459
|
+
"attribute": "selection-mode",
|
|
2460
|
+
"reflects": true
|
|
2461
|
+
},
|
|
2433
2462
|
{
|
|
2434
2463
|
"kind": "method",
|
|
2435
2464
|
"name": "setFocus",
|
|
@@ -2713,6 +2742,33 @@
|
|
|
2713
2742
|
},
|
|
2714
2743
|
"default": "\"m\"",
|
|
2715
2744
|
"fieldName": "scale"
|
|
2745
|
+
},
|
|
2746
|
+
{
|
|
2747
|
+
"name": "selection-mode",
|
|
2748
|
+
"description": "Specifies the selection mode of the component, where:\n\n`\"multiple\"` allows any number of selections,\n\n`\"single\"` allows only one selection, and\n\n`\"single-persist\"` allows one selection and prevents de-selection.\n\n`\"none\"` disables selection (default).",
|
|
2749
|
+
"type": {
|
|
2750
|
+
"text": "\"multiple\" | \"none\" | \"single\" | \"single-persist\"",
|
|
2751
|
+
"values": [
|
|
2752
|
+
{
|
|
2753
|
+
"value": "multiple",
|
|
2754
|
+
"type": "string"
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
"value": "none",
|
|
2758
|
+
"type": "string"
|
|
2759
|
+
},
|
|
2760
|
+
{
|
|
2761
|
+
"value": "single",
|
|
2762
|
+
"type": "string"
|
|
2763
|
+
},
|
|
2764
|
+
{
|
|
2765
|
+
"value": "single-persist",
|
|
2766
|
+
"type": "string"
|
|
2767
|
+
}
|
|
2768
|
+
]
|
|
2769
|
+
},
|
|
2770
|
+
"default": "\"none\"",
|
|
2771
|
+
"fieldName": "selectionMode"
|
|
2716
2772
|
}
|
|
2717
2773
|
],
|
|
2718
2774
|
"events": [
|
package/dist/docs/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-12-
|
|
2
|
+
"timestamp": "2025-12-11T22:08:27",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
5
|
"version": "5.0.0-next.76",
|
|
@@ -789,10 +789,10 @@
|
|
|
789
789
|
},
|
|
790
790
|
{
|
|
791
791
|
"name": "aria",
|
|
792
|
-
"type": "{\n controlsElements?: Array<Element>;\n describedByElements?: Array<Element>;\n expanded?: boolean | \"true\" | \"false\";\n hasPopup?: boolean | \"grid\" | \"tree\" | \"dialog\" | \"menu\" | \"true\" | \"false\" | \"listbox\";\n labelledByElements?: Array<Element>;\n ownsElements?: Array<Element>;\n pressed?: boolean | \"true\" | \"false\" | \"mixed\";\n}",
|
|
792
|
+
"type": "{\n checked?: boolean | \"true\" | \"false\" | \"mixed\";\n controlsElements?: Array<Element>;\n describedByElements?: Array<Element>;\n expanded?: boolean | \"true\" | \"false\";\n hasPopup?: boolean | \"grid\" | \"tree\" | \"dialog\" | \"menu\" | \"true\" | \"false\" | \"listbox\";\n labelledByElements?: Array<Element>;\n ownsElements?: Array<Element>;\n pressed?: boolean | \"true\" | \"false\" | \"mixed\";\n role?: \"grid\" | \"none\" | \"search\" | \"link\" | \"article\" | \"button\" | \"group\" | \"heading\" | \"list\" | \"presentation\" | \"separator\" | \"switch\" | \"table\" | \"timer\" | \"tree\" | \"meter\" | \"alert\" | \"application\" | \"log\" | \"main\" | \"figure\" | \"document\" | \"form\" | \"note\" | \"slider\" | \"row\" | \"tab\" | \"term\" | \"dialog\" | \"img\" | \"menu\" | \"option\" | \"math\" | \"marquee\" | \"menuitem\" | \"status\" | \"combobox\" | \"tooltip\" | \"checkbox\" | \"navigation\" | \"gridcell\" | \"menuitemcheckbox\" | \"menuitemradio\" | \"progressbar\" | \"radio\" | \"scrollbar\" | \"searchbox\" | \"spinbutton\" | \"tabpanel\" | \"textbox\" | \"treeitem\" | \"listbox\" | \"menubar\" | \"radiogroup\" | \"tablist\" | \"treegrid\" | \"cell\" | \"columnheader\" | \"definition\" | \"directory\" | \"feed\" | \"listitem\" | \"rowgroup\" | \"rowheader\" | \"toolbar\" | \"banner\" | \"complementary\" | \"contentinfo\" | \"region\" | \"alertdialog\";\n}",
|
|
793
793
|
"complexType": {
|
|
794
|
-
"original": "{\n controlsElements?: Array<Element>;\n describedByElements?: Array<Element>;\n expanded?: boolean | \"true\" | \"false\";\n hasPopup?: boolean | \"grid\" | \"tree\" | \"dialog\" | \"menu\" | \"true\" | \"false\" | \"listbox\";\n labelledByElements?: Array<Element>;\n ownsElements?: Array<Element>;\n pressed?: boolean | \"true\" | \"false\" | \"mixed\";\n}",
|
|
795
|
-
"resolved": "{\n controlsElements?: Array<Element>;\n describedByElements?: Array<Element>;\n expanded?: boolean | \"true\" | \"false\";\n hasPopup?: boolean | \"grid\" | \"tree\" | \"dialog\" | \"menu\" | \"true\" | \"false\" | \"listbox\";\n labelledByElements?: Array<Element>;\n ownsElements?: Array<Element>;\n pressed?: boolean | \"true\" | \"false\" | \"mixed\";\n}",
|
|
794
|
+
"original": "{\n checked?: boolean | \"true\" | \"false\" | \"mixed\";\n controlsElements?: Array<Element>;\n describedByElements?: Array<Element>;\n expanded?: boolean | \"true\" | \"false\";\n hasPopup?: boolean | \"grid\" | \"tree\" | \"dialog\" | \"menu\" | \"true\" | \"false\" | \"listbox\";\n labelledByElements?: Array<Element>;\n ownsElements?: Array<Element>;\n pressed?: boolean | \"true\" | \"false\" | \"mixed\";\n role?: \"grid\" | \"none\" | \"search\" | \"link\" | \"article\" | \"button\" | \"group\" | \"heading\" | \"list\" | \"presentation\" | \"separator\" | \"switch\" | \"table\" | \"timer\" | \"tree\" | \"meter\" | \"alert\" | \"application\" | \"log\" | \"main\" | \"figure\" | \"document\" | \"form\" | \"note\" | \"slider\" | \"row\" | \"tab\" | \"term\" | \"dialog\" | \"img\" | \"menu\" | \"option\" | \"math\" | \"marquee\" | \"menuitem\" | \"status\" | \"combobox\" | \"tooltip\" | \"checkbox\" | \"navigation\" | \"gridcell\" | \"menuitemcheckbox\" | \"menuitemradio\" | \"progressbar\" | \"radio\" | \"scrollbar\" | \"searchbox\" | \"spinbutton\" | \"tabpanel\" | \"textbox\" | \"treeitem\" | \"listbox\" | \"menubar\" | \"radiogroup\" | \"tablist\" | \"treegrid\" | \"cell\" | \"columnheader\" | \"definition\" | \"directory\" | \"feed\" | \"listitem\" | \"rowgroup\" | \"rowheader\" | \"toolbar\" | \"banner\" | \"complementary\" | \"contentinfo\" | \"region\" | \"alertdialog\";\n}",
|
|
795
|
+
"resolved": "{\n checked?: boolean | \"true\" | \"false\" | \"mixed\";\n controlsElements?: Array<Element>;\n describedByElements?: Array<Element>;\n expanded?: boolean | \"true\" | \"false\";\n hasPopup?: boolean | \"grid\" | \"tree\" | \"dialog\" | \"menu\" | \"true\" | \"false\" | \"listbox\";\n labelledByElements?: Array<Element>;\n ownsElements?: Array<Element>;\n pressed?: boolean | \"true\" | \"false\" | \"mixed\";\n role?: \"grid\" | \"none\" | \"search\" | \"link\" | \"article\" | \"button\" | \"group\" | \"heading\" | \"list\" | \"presentation\" | \"separator\" | \"switch\" | \"table\" | \"timer\" | \"tree\" | \"meter\" | \"alert\" | \"application\" | \"log\" | \"main\" | \"figure\" | \"document\" | \"form\" | \"note\" | \"slider\" | \"row\" | \"tab\" | \"term\" | \"dialog\" | \"img\" | \"menu\" | \"option\" | \"math\" | \"marquee\" | \"menuitem\" | \"status\" | \"combobox\" | \"tooltip\" | \"checkbox\" | \"navigation\" | \"gridcell\" | \"menuitemcheckbox\" | \"menuitemradio\" | \"progressbar\" | \"radio\" | \"scrollbar\" | \"searchbox\" | \"spinbutton\" | \"tabpanel\" | \"textbox\" | \"treeitem\" | \"listbox\" | \"menubar\" | \"radiogroup\" | \"tablist\" | \"treegrid\" | \"cell\" | \"columnheader\" | \"definition\" | \"directory\" | \"feed\" | \"listitem\" | \"rowgroup\" | \"rowheader\" | \"toolbar\" | \"banner\" | \"complementary\" | \"contentinfo\" | \"region\" | \"alertdialog\";\n}",
|
|
796
796
|
"references": {
|
|
797
797
|
"Array": {
|
|
798
798
|
"location": "import",
|
|
@@ -2094,6 +2094,41 @@
|
|
|
2094
2094
|
],
|
|
2095
2095
|
"optional": true,
|
|
2096
2096
|
"required": false
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"name": "selectionMode",
|
|
2100
|
+
"type": "\"multiple\" | \"none\" | \"single\" | \"single-persist\"",
|
|
2101
|
+
"complexType": {
|
|
2102
|
+
"original": "\"multiple\" | \"none\" | \"single\" | \"single-persist\"",
|
|
2103
|
+
"resolved": "\"multiple\" | \"none\" | \"single\" | \"single-persist\"",
|
|
2104
|
+
"references": {}
|
|
2105
|
+
},
|
|
2106
|
+
"mutable": true,
|
|
2107
|
+
"attr": "selection-mode",
|
|
2108
|
+
"reflectToAttr": true,
|
|
2109
|
+
"docs": "Specifies the selection mode of the component, where:\n\n`\"multiple\"` allows any number of selections,\n\n`\"single\"` allows only one selection, and\n\n`\"single-persist\"` allows one selection and prevents de-selection.\n\n`\"none\"` disables selection (default).",
|
|
2110
|
+
"docsTags": [],
|
|
2111
|
+
"default": "\"none\"",
|
|
2112
|
+
"values": [
|
|
2113
|
+
{
|
|
2114
|
+
"value": "multiple",
|
|
2115
|
+
"type": "string"
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
"value": "none",
|
|
2119
|
+
"type": "string"
|
|
2120
|
+
},
|
|
2121
|
+
{
|
|
2122
|
+
"value": "single",
|
|
2123
|
+
"type": "string"
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"value": "single-persist",
|
|
2127
|
+
"type": "string"
|
|
2128
|
+
}
|
|
2129
|
+
],
|
|
2130
|
+
"optional": true,
|
|
2131
|
+
"required": false
|
|
2097
2132
|
}
|
|
2098
2133
|
],
|
|
2099
2134
|
"methods": [
|
|
@@ -519,6 +519,24 @@
|
|
|
519
519
|
"name": "s"
|
|
520
520
|
}
|
|
521
521
|
]
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"name": "selection-mode",
|
|
525
|
+
"description": "Specifies the selection mode of the component, where:\n\n`\"multiple\"` allows any number of selections,\n\n`\"single\"` allows only one selection, and\n\n`\"single-persist\"` allows one selection and prevents de-selection.\n\n`\"none\"` disables selection (default).",
|
|
526
|
+
"values": [
|
|
527
|
+
{
|
|
528
|
+
"name": "multiple"
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "none"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "single"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "single-persist"
|
|
538
|
+
}
|
|
539
|
+
]
|
|
522
540
|
}
|
|
523
541
|
],
|
|
524
542
|
"references": []
|
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@esri/calcite-components",
|
|
4
|
-
"version": "5.0.0-next.
|
|
4
|
+
"version": "5.0.0-next.26",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
{
|
|
421
421
|
"name": "aria",
|
|
422
422
|
"description": "Use this property to override or extend ARIA properties and attributes on the component's button.",
|
|
423
|
-
"type": "{\n controlsElements?: Array<Element>;\n describedByElements?: Array<Element>;\n expanded?: boolean | \"true\" | \"false\";\n hasPopup?: boolean | \"grid\" | \"tree\" | \"dialog\" | \"menu\" | \"true\" | \"false\" | \"listbox\";\n labelledByElements?: Array<Element>;\n ownsElements?: Array<Element>;\n pressed?: boolean | \"true\" | \"false\" | \"mixed\";\n}"
|
|
423
|
+
"type": "{\n checked?: boolean | \"true\" | \"false\" | \"mixed\";\n controlsElements?: Array<Element>;\n describedByElements?: Array<Element>;\n expanded?: boolean | \"true\" | \"false\";\n hasPopup?: boolean | \"grid\" | \"tree\" | \"dialog\" | \"menu\" | \"true\" | \"false\" | \"listbox\";\n labelledByElements?: Array<Element>;\n ownsElements?: Array<Element>;\n pressed?: boolean | \"true\" | \"false\" | \"mixed\";\n role?: \"grid\" | \"none\" | \"search\" | \"link\" | \"article\" | \"button\" | \"group\" | \"heading\" | \"list\" | \"presentation\" | \"separator\" | \"switch\" | \"table\" | \"timer\" | \"tree\" | \"meter\" | \"alert\" | \"application\" | \"log\" | \"main\" | \"figure\" | \"document\" | \"form\" | \"note\" | \"slider\" | \"row\" | \"tab\" | \"term\" | \"dialog\" | \"img\" | \"menu\" | \"option\" | \"math\" | \"marquee\" | \"menuitem\" | \"status\" | \"combobox\" | \"tooltip\" | \"checkbox\" | \"navigation\" | \"gridcell\" | \"menuitemcheckbox\" | \"menuitemradio\" | \"progressbar\" | \"radio\" | \"scrollbar\" | \"searchbox\" | \"spinbutton\" | \"tabpanel\" | \"textbox\" | \"treeitem\" | \"listbox\" | \"menubar\" | \"radiogroup\" | \"tablist\" | \"treegrid\" | \"cell\" | \"columnheader\" | \"definition\" | \"directory\" | \"feed\" | \"listitem\" | \"rowgroup\" | \"rowheader\" | \"toolbar\" | \"banner\" | \"complementary\" | \"contentinfo\" | \"region\" | \"alertdialog\";\n}"
|
|
424
424
|
},
|
|
425
425
|
{
|
|
426
426
|
"name": "compact",
|
|
@@ -803,6 +803,19 @@
|
|
|
803
803
|
"\"s\""
|
|
804
804
|
]
|
|
805
805
|
}
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"name": "selection-mode",
|
|
809
|
+
"description": "Specifies the selection mode of the component, where:\n\n`\"multiple\"` allows any number of selections,\n\n`\"single\"` allows only one selection, and\n\n`\"single-persist\"` allows one selection and prevents de-selection.\n\n`\"none\"` disables selection (default).",
|
|
810
|
+
"default": "\"none\"",
|
|
811
|
+
"value": {
|
|
812
|
+
"type": [
|
|
813
|
+
"\"multiple\"",
|
|
814
|
+
"\"none\"",
|
|
815
|
+
"\"single\"",
|
|
816
|
+
"\"single-persist\""
|
|
817
|
+
]
|
|
818
|
+
}
|
|
806
819
|
}
|
|
807
820
|
],
|
|
808
821
|
"slots": [
|
|
@@ -882,6 +895,11 @@
|
|
|
882
895
|
"name": "scale",
|
|
883
896
|
"description": "Specifies the size of the `calcite-action-menu`.",
|
|
884
897
|
"type": "\"l\" | \"m\" | \"s\""
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"name": "selectionMode",
|
|
901
|
+
"description": "Specifies the selection mode of the component, where:\n\n`\"multiple\"` allows any number of selections,\n\n`\"single\"` allows only one selection, and\n\n`\"single-persist\"` allows one selection and prevents de-selection.\n\n`\"none\"` disables selection (default).",
|
|
902
|
+
"type": "\"multiple\" | \"none\" | \"single\" | \"single-persist\""
|
|
885
903
|
}
|
|
886
904
|
],
|
|
887
905
|
"events": [
|
package/dist/index.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.26 */
|
|
4
4
|
import { s as setAssetPath$1 } from "./chunks/runtime.js";
|
|
5
5
|
import { g } from "./chunks/runtime.js";
|
|
6
6
|
let assetPathChanged = false;
|
package/dist/loader.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.26 */
|
|
4
4
|
import { r as runtime } from "./chunks/runtime.js";
|
|
5
5
|
import { makeDefineCustomElements } from "@arcgis/lumina";
|
|
6
6
|
const defineCustomElements = makeDefineCustomElements(runtime, {
|
|
@@ -8,7 +8,7 @@ const defineCustomElements = makeDefineCustomElements(runtime, {
|
|
|
8
8
|
"calcite-accordion-item": [() => import("./components/calcite-accordion-item/customElement.js"), "accordionParent:,appearance,description,expanded,heading,headingLevel,iconEnd,iconFlipRtl,iconPosition,iconStart,iconType,messageOverrides:,scale;setFocus"],
|
|
9
9
|
"calcite-action": [() => import("./components/calcite-action/customElement.js"), "active,activeDescendant,alignment,appearance,aria:,compact,disabled,dragHandle,form,icon,iconFlipRtl,indicator,label,loading,messageOverrides:,scale,selectionAppearance,text,textEnabled,type,width;setFocus"],
|
|
10
10
|
"calcite-action-bar": [() => import("./components/calcite-action-bar/customElement.js"), "actionsEndGroupLabel,expandDisabled,expanded,floating,layout,messageOverrides:,overflowActionsDisabled,overlayPositioning,position,scale,selectionAppearance;overflowActions,setFocus"],
|
|
11
|
-
"calcite-action-group": [() => import("./components/calcite-action-group/customElement.js"), "columns,expanded,label,layout,menuFlipPlacements:,menuOpen,menuPlacement,messageOverrides:,overlayPositioning,scale;setFocus"],
|
|
11
|
+
"calcite-action-group": [() => import("./components/calcite-action-group/customElement.js"), "columns,expanded,label,layout,menuFlipPlacements:,menuOpen,menuPlacement,messageOverrides:,overlayPositioning,scale,selectionMode;setFocus"],
|
|
12
12
|
"calcite-action-menu": [() => import("./components/calcite-action-menu/customElement.js"), "appearance,expanded,flipPlacements:,label,open,overlayPositioning,placement,scale;setFocus"],
|
|
13
13
|
"calcite-action-pad": [() => import("./components/calcite-action-pad/customElement.js"), "actionsEndGroupLabel,expandDisabled,expanded,layout,messageOverrides:,overlayPositioning,position,scale,selectionAppearance;setFocus"],
|
|
14
14
|
"calcite-alert": [() => import("./components/calcite-alert/customElement.js"), "active,autoClose,autoCloseDuration,embedded,icon,iconFlipRtl,kind,label,messageOverrides:,numberingSystem,open,openAlertCount,placement,queue,scale;setFocus"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -124,7 +124,7 @@ interface LuminaCalciteActionBar extends Partial<Pick<ActionBar, 'actionsEndGrou
|
|
|
124
124
|
oncalciteActionBarToggle?: EventHandler<HTMLCalciteActionBarElement["calciteActionBarToggle"]>;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
interface LuminaCalciteActionGroup extends Partial<Pick<ActionGroup, 'columns' | 'expanded' | 'label' | 'layout' | 'menuFlipPlacements' | 'menuOpen' | 'menuPlacement' | 'messageOverrides' | 'overlayPositioning' | 'scale'>>, h.JSX.HTMLAttributes<HTMLCalciteActionGroupElement> {
|
|
127
|
+
interface LuminaCalciteActionGroup extends Partial<Pick<ActionGroup, 'columns' | 'expanded' | 'label' | 'layout' | 'menuFlipPlacements' | 'menuOpen' | 'menuPlacement' | 'messageOverrides' | 'overlayPositioning' | 'scale' | 'selectionMode'>>, h.JSX.HTMLAttributes<HTMLCalciteActionGroupElement> {
|
|
128
128
|
oncalciteActionGroupCollapse?: EventHandler<HTMLCalciteActionGroupElement["calciteActionGroupCollapse"]>;
|
|
129
129
|
oncalciteActionGroupExpand?: EventHandler<HTMLCalciteActionGroupElement["calciteActionGroupExpand"]>;
|
|
130
130
|
}
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -125,7 +125,7 @@ interface PreactCalciteActionBar extends Partial<Pick<ActionBar, 'actionsEndGrou
|
|
|
125
125
|
oncalciteActionBarToggle?: EventHandler<HTMLCalciteActionBarElement["calciteActionBarToggle"]>;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
interface PreactCalciteActionGroup extends Partial<Pick<ActionGroup, 'columns' | 'expanded' | 'label' | 'layout' | 'menuFlipPlacements' | 'menuOpen' | 'menuPlacement' | 'messageOverrides' | 'overlayPositioning' | 'scale'>>, HTMLAttributes<HTMLCalciteActionGroupElement> {
|
|
128
|
+
interface PreactCalciteActionGroup extends Partial<Pick<ActionGroup, 'columns' | 'expanded' | 'label' | 'layout' | 'menuFlipPlacements' | 'menuOpen' | 'menuPlacement' | 'messageOverrides' | 'overlayPositioning' | 'scale' | 'selectionMode'>>, HTMLAttributes<HTMLCalciteActionGroupElement> {
|
|
129
129
|
oncalciteActionGroupCollapse?: EventHandler<HTMLCalciteActionGroupElement["calciteActionGroupCollapse"]>;
|
|
130
130
|
oncalciteActionGroupExpand?: EventHandler<HTMLCalciteActionGroupElement["calciteActionGroupExpand"]>;
|
|
131
131
|
}
|
package/dist/types/preact10.d.ts
CHANGED
|
@@ -130,7 +130,7 @@ interface PreactCalciteActionBar extends Partial<Pick<ActionBar, 'actionsEndGrou
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
/** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
|
|
133
|
-
interface PreactCalciteActionGroup extends Partial<Pick<ActionGroup, 'columns' | 'expanded' | 'label' | 'layout' | 'menuFlipPlacements' | 'menuOpen' | 'menuPlacement' | 'messageOverrides' | 'overlayPositioning' | 'scale'>>, PreactJsx.HTMLAttributes<HTMLCalciteActionGroupElement> {
|
|
133
|
+
interface PreactCalciteActionGroup extends Partial<Pick<ActionGroup, 'columns' | 'expanded' | 'label' | 'layout' | 'menuFlipPlacements' | 'menuOpen' | 'menuPlacement' | 'messageOverrides' | 'overlayPositioning' | 'scale' | 'selectionMode'>>, PreactJsx.HTMLAttributes<HTMLCalciteActionGroupElement> {
|
|
134
134
|
oncalciteActionGroupCollapse?: EventHandler<HTMLCalciteActionGroupElement["calciteActionGroupCollapse"]>;
|
|
135
135
|
oncalciteActionGroupExpand?: EventHandler<HTMLCalciteActionGroupElement["calciteActionGroupExpand"]>;
|
|
136
136
|
}
|
package/dist/types/react.d.ts
CHANGED
|
@@ -125,7 +125,7 @@ interface ReactCalciteActionBar extends Partial<Pick<ActionBar, 'actionsEndGroup
|
|
|
125
125
|
oncalciteActionBarToggle?: EventHandler<HTMLCalciteActionBarElement["calciteActionBarToggle"]>;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
interface ReactCalciteActionGroup extends Partial<Pick<ActionGroup, 'columns' | 'expanded' | 'label' | 'layout' | 'menuFlipPlacements' | 'menuOpen' | 'menuPlacement' | 'messageOverrides' | 'overlayPositioning' | 'scale'>>, HTMLProps<HTMLCalciteActionGroupElement> {
|
|
128
|
+
interface ReactCalciteActionGroup extends Partial<Pick<ActionGroup, 'columns' | 'expanded' | 'label' | 'layout' | 'menuFlipPlacements' | 'menuOpen' | 'menuPlacement' | 'messageOverrides' | 'overlayPositioning' | 'scale' | 'selectionMode'>>, HTMLProps<HTMLCalciteActionGroupElement> {
|
|
129
129
|
oncalciteActionGroupCollapse?: EventHandler<HTMLCalciteActionGroupElement["calciteActionGroupCollapse"]>;
|
|
130
130
|
oncalciteActionGroupExpand?: EventHandler<HTMLCalciteActionGroupElement["calciteActionGroupExpand"]>;
|
|
131
131
|
}
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -125,7 +125,7 @@ interface StencilCalciteActionBar extends Partial<Pick<ActionBar, 'actionsEndGro
|
|
|
125
125
|
onCalciteActionBarToggle?: EventHandler<HTMLCalciteActionBarElement["calciteActionBarToggle"]>;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
interface StencilCalciteActionGroup extends Partial<Pick<ActionGroup, 'columns' | 'expanded' | 'label' | 'layout' | 'menuFlipPlacements' | 'menuOpen' | 'menuPlacement' | 'messageOverrides' | 'overlayPositioning' | 'scale'>>, StencilJsx.HTMLAttributes<HTMLCalciteActionGroupElement> {
|
|
128
|
+
interface StencilCalciteActionGroup extends Partial<Pick<ActionGroup, 'columns' | 'expanded' | 'label' | 'layout' | 'menuFlipPlacements' | 'menuOpen' | 'menuPlacement' | 'messageOverrides' | 'overlayPositioning' | 'scale' | 'selectionMode'>>, StencilJsx.HTMLAttributes<HTMLCalciteActionGroupElement> {
|
|
129
129
|
onCalciteActionGroupCollapse?: EventHandler<HTMLCalciteActionGroupElement["calciteActionGroupCollapse"]>;
|
|
130
130
|
onCalciteActionGroupExpand?: EventHandler<HTMLCalciteActionGroupElement["calciteActionGroupExpand"]>;
|
|
131
131
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.26",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"homepage": "https://developers.arcgis.com/calcite-design-system/",
|
|
6
6
|
"repository": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@arcgis/lumina": ">=5.0.0-next.75 <6.0.0",
|
|
78
78
|
"@arcgis/toolkit": ">=5.0.0-next.75 <6.0.0",
|
|
79
|
-
"@esri/calcite-ui-icons": "4.4.0-next.
|
|
79
|
+
"@esri/calcite-ui-icons": "4.4.0-next.16",
|
|
80
80
|
"@floating-ui/dom": "^1.6.12",
|
|
81
81
|
"@floating-ui/utils": "^0.2.8",
|
|
82
82
|
"@types/sortablejs": "^1.15.8",
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"dist/docs/vscode.html-custom-data.json"
|
|
111
111
|
],
|
|
112
112
|
"web-types": "dist/docs/web-types.json",
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "cd2ece21448a6f9f3f5a041e7afca82db0b94970"
|
|
114
114
|
}
|
package/dist/cdn/F4S4KCEU.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.25 */
|
|
4
|
-
import{a as U}from"./6PYOPB6H.js";import{a as E,c as x,d as H,e as B,f as q,g as p,h as R}from"./TUED46UL.js";import{a as z}from"./7ZNKDVNK.js";import{a as F}from"./DFOFRT55.js";import"./DNVHA77U.js";import{a as A}from"./2QUON4GW.js";import{a as b,b as v}from"./VSCLJKVF.js";import{a as $}from"./UTUNLEWD.js";import"./Q4GHTPKL.js";import"./Z2UTIVKY.js";import{C as D,l as y,y as d}from"./D6RBIAXP.js";import{a as P}from"./3BTV7OEP.js";import{C as f,D as C,E as u,P as O,g as S,h as k,l as c,o as n}from"./MSRQHP4Y.js";var l=(r,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,t),t);function T(r){return(e,t)=>{let{slot:i,selector:s}=r??{},o="slot"+(i?`[name=${i}]`:":not([name])");return l(e,t,{get(){let a=this.renderRoot?.querySelector(o),h=a?.assignedElements(r)??[];return s===void 0?h:h.filter((w=>w.matches(s)))}})}}var G={trigger:"trigger"},I={content:"content",wrapper:"wrapper",triggerContainer:"trigger-container"},L="calcite-dropdown",m={menuButton:r=>`${L}-${r}-menubutton`,menu:r=>`${L}-${r}-menu`},j=S`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}.wrapper{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0}@starting-style{.wrapper{opacity:0;inset-block-start:0;left:0}}.wrapper[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.wrapper:popover-open{display:block}.wrapper .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.wrapper[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.wrapper[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.wrapper[data-placement^=left] .calcite-floating-ui-anim{left:5px}.wrapper[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.content{max-height:45vh;width:auto;overflow-y:auto;overflow-x:hidden;inline-size:var(--calcite-dropdown-width, var(--calcite-internal-dropdown-width));background-color:var(--calcite-dropdown-background-color, var(--calcite-color-foreground-1))}.trigger-container{position:relative;display:flex;height:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}.width-s{--calcite-internal-dropdown-width: 12rem}.width-m{--calcite-internal-dropdown-width: 14rem}.width-l{--calcite-internal-dropdown-width: 16rem}@media(forced-colors:active){:host([open]) .wrapper{border:var(--calcite-border-width-sm) solid canvasText}}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,K=Object.defineProperty,M=(r,e,t,i)=>{for(var s=void 0,o=r.length-1,a;o>=0;o--)(a=r[o])&&(s=a(e,t,s)||s);return s&&K(e,t,s),s},g=class extends C{constructor(){super(),this.focusLastDropdownItem=!1,this.groups=[],this.guid=P(),this.items=[],this.mutationObserver=b("mutation",()=>this.updateItems()),this.transitionProp="opacity",this.resizeObserver=b("resize",e=>this.resizeObserverCallback(e)),this.focusSetter=$()(this),this.interactiveContainer=F(this),this.closeOnSelectDisabled=!1,this.disabled=!1,this.maxItems=0,this.offsetDistance=0,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement=E,this.scale="m",this.selectedItems=[],this.type="click",this.calciteDropdownBeforeClose=n({cancelable:!1}),this.calciteDropdownBeforeOpen=n({cancelable:!1}),this.calciteDropdownClose=n({cancelable:!1}),this.calciteDropdownOpen=n({cancelable:!1}),this.calciteDropdownSelect=n({cancelable:!1}),this.listenOn(window,"click",this.closeCalciteDropdownOnClick),this.listen("calciteInternalDropdownCloseRequest",this.closeCalciteDropdownOnEvent),this.listenOn(window,"calciteDropdownOpen",this.closeCalciteDropdownOnOpenEvent),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler),this.listen("calciteInternalDropdownItemKeyEvent",this.calciteInternalDropdownItemKeyEvent),this.listen("calciteInternalDropdownItemSelect",this.handleItemSelect)}static{this.properties={closeOnSelectDisabled:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],maxItems:[11,{},{reflect:!0,type:Number}],offsetDistance:[11,{},{type:Number,reflect:!0}],offsetSkidding:[11,{},{reflect:!0,type:Number}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selectedItems:[0,{},{attribute:!1}],type:[3,{},{reflect:!0}],widthScale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=j}async reposition(e=!1){let{filteredFlipPlacements:t,floatingEl:i,offsetDistance:s,offsetSkidding:o,overlayPositioning:a,placement:h,referenceEl:w}=this;return B(this,{floatingEl:i,referenceEl:w,offsetDistance:s,offsetSkidding:o,overlayPositioning:a,placement:h,flipPlacements:t,type:"menu"},e)}async setFocus(e){return this.focusSetter(()=>this.referenceEl,e)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.updateItems(),p(this)}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.handleDisabledChange(this.disabled),e.has("flipPlacements")&&this.flipPlacementsHandler(),e.has("maxItems")&&this.hasUpdated&&this.setMaxScrollerHeight(),this.hasUpdated&&(e.has("offsetDistance")&&this.offsetDistance!==0||e.has("offsetSkidding")&&this.offsetSkidding!==0||e.has("overlayPositioning")&&this.overlayPositioning!=="absolute"||e.has("placement")&&this.placement!==E)&&this.reposition(!0),e.has("scale")&&(this.hasUpdated||this.scale!=="m")&&this.handlePropsChange()}loaded(){this.updateSelectedItems(),p(this)}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),R(this)}async handlePopover(){await this.componentOnReady(),this.floatingEl&&(this.open?this.floatingEl.showPopover():this.floatingEl.hidePopover())}openHandler(){z(this),!this.disabled&&(this.reposition(!0),this.handlePopover())}handleDisabledChange(e){e||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}handlePropsChange(){this.updateItems(),this.updateGroupProps()}closeCalciteDropdownOnClick(e){this.disabled||!this.open||e.composedPath().includes(this.el)||this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(e){this.closeCalciteDropdown(),e.stopPropagation()}closeCalciteDropdownOnOpenEvent(e){e.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||this.type!=="hover"||this.toggleDropdown()}pointerLeaveHandler(){this.disabled||this.type!=="hover"||this.closeCalciteDropdown()}getTraversableItems(){return this.items.filter(e=>!e.disabled&&!e.hidden)}calciteInternalDropdownItemKeyEvent(e){let{keyboardEvent:t}=e.detail,i=t.target,s=this.getTraversableItems();switch(t.key){case"Tab":this.open=!1,this.updateTabIndexOfItems(i);break;case"ArrowDown":d(s,i,"next");break;case"ArrowUp":d(s,i,"previous");break;case"Home":d(s,i,"first");break;case"End":d(s,i,"last");break}e.stopPropagation()}handleItemSelect(e){this.updateSelectedItems(),e.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled||this.closeCalciteDropdown()}setFilteredPlacements(){let{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?H(t,e):null}updateItems(){this.items=this.groups.map(e=>Array.from(e?.querySelectorAll("calcite-dropdown-item"))).reduce((e,t)=>[...e,...t],[]),this.updateSelectedItems(),this.reposition(!0),this.items.forEach(e=>e.scale=this.scale)}updateGroups(e){let t=e.target.assignedElements({flatten:!0}).filter(i=>i?.matches("calcite-dropdown-group"));this.groups=t,this.updateItems(),this.updateGroupProps()}updateGroupProps(){this.groups.forEach((e,t)=>{e.scale=this.scale,e.position=t})}resizeObserverCallback(e){e.forEach(({target:t})=>{t===this.referenceEl?this.setDropdownWidth():t===this.scrollerEl&&this.setMaxScrollerHeight()})}setDropdownWidth(){let{referenceEl:e,scrollerEl:t}=this;!t||!e||(t.style.minWidth=`${e.clientWidth}px`)}setMaxScrollerHeight(){let{maxItems:e,items:t,scrollerEl:i}=this;if(!i)return;let s=t.length>=e&&e>0?this.getYDistanceFromScroller(t.at(e-1)):0;i.style.maxBlockSize=s>0?`${s}px`:"",this.reposition(!0)}setScrollerAndTransitionEl(e){v(this.resizeObserver,this.scrollerEl,e),this.scrollerEl=e,this.transitionEl=e}onBeforeOpen(){this.focusOnFirstActiveOrDefaultItem(),this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit(),q(this)}setReferenceEl(e){v(this.resizeObserver,this.referenceEl,e),this.referenceEl=e,p(this)}setFloatingEl(e){this.floatingEl=e,p(this),this.handlePopover()}keyDownHandler(e){if(!e.composedPath().includes(this.referenceEl))return;let{defaultPrevented:t,key:i}=e;if(!t){if(i==="Escape"){this.closeCalciteDropdown(),e.preventDefault();return}if(this.open&&e.shiftKey&&i==="Tab"){this.closeCalciteDropdown(),e.preventDefault();return}A(i)?(this.toggleDropdown(),e.preventDefault()):(i==="ArrowDown"||i==="ArrowUp")&&(e.preventDefault(),this.focusLastDropdownItem=i==="ArrowUp",this.open=!0)}}updateSelectedItems(){this.selectedItems=this.items.filter(e=>e.selected)}getYDistanceFromScroller(e){let t=e.getBoundingClientRect();return e.offsetTop+t.height}closeCalciteDropdown(e=!0){this.open=!1,e&&y(this.triggerEls[0])}async focusOnFirstActiveOrDefaultItem(){let t=this.getTraversableItems().find(i=>i.selected)||(this.focusLastDropdownItem?this.items.at(-1):this.items[0]);this.focusLastDropdownItem=!1,t&&(await this.updateComplete,await D(),await D(),await y(t),t.scrollIntoView({block:"nearest"}))}toggleDropdown(){this.open=!this.open}updateTabIndexOfItems(e){this.items.forEach(t=>{t.tabIndex=e!==t?-1:0})}render(){let{open:e,guid:t}=this;return this.interactiveContainer({disabled:this.disabled,children:k`<div class=${u(I.triggerContainer)} id=${m.menuButton(t)??c} @click=${this.toggleDropdown} @keydown=${this.keyDownHandler} ${f(this.setReferenceEl)}><slot aria-controls=${m.menu(t)??c} .ariaExpanded=${e} aria-haspopup=menu name=${G.trigger}></slot></div><div .ariaHidden=${!e} class=${u({[I.wrapper]:!0,[U("width",this.width,this.widthScale)]:!!(this.width||this.widthScale)})} popover=manual ${f(this.setFloatingEl)}><div aria-labelledby=${m.menuButton(t)??c} class=${u({[I.content]:!0,[x.animation]:!0,[x.animationActive]:e})} id=${m.menu(t)??c} role=menu ${f(this.setScrollerAndTransitionEl)}><slot @slotchange=${this.updateGroups}></slot></div></div>`})}};M([T({slot:G.trigger})],g.prototype,"triggerEls");O("calcite-dropdown",g);export{g as Dropdown};
|
package/dist/cdn/P4NPWG6I.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.25 */
|
|
4
|
-
import{a}from"./7GLGFP4U.js";import{c as $}from"./LF7C5CM2.js";import{e as S}from"./D6RBIAXP.js";import{C as A,h as g,l as v}from"./MSRQHP4Y.js";var b=t=>Array.from(t.querySelectorAll("calcite-action")).filter(e=>e.closest("calcite-action-menu")?e.slot===$.trigger:!0),D=({actionGroups:t,expanded:e,overflowCount:o})=>{let c=o;t.reverse().forEach(l=>{let i=0,s=b(l).reverse();s.forEach(n=>{n.slot===a.menuActions&&(n.removeAttribute("slot"),n.textEnabled=e)}),c>0&&s.some(n=>(s.filter(u=>!u.slot).length>1&&s.length>2&&!n.closest("calcite-action-menu")&&(n.textEnabled=!0,n.setAttribute("slot",a.menuActions),i++,i>1&&c--),c<1)),l.manager.component.requestUpdate()})},E={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function y(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}function G({el:t,expanded:e}){b(t).filter(o=>o.slot!==a.menuActions).forEach(o=>o.textEnabled=e),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach(o=>o.expanded=e)}var L=({tooltip:t,referenceElement:e,expanded:o,ref:c})=>(t&&(t.referenceElement=!o&&e?e:null),c&&c(e),e),P=({expanded:t,expandText:e,collapseText:o,expandLabel:c,collapseLabel:l,toggle:i,el:s,position:n,tooltip:f,ref:u,scale:d})=>{let T=S(s)==="rtl",m=t?o:e,p=t?l:c,r=[E.chevronsLeft,E.chevronsRight];T&&r.reverse();let h=y(n,s)==="end",q=h?r[1]:r[0],x=h?r[0]:r[1];return g`<calcite-action .aria=${{expanded:t}} .icon=${t?q:x} id=expand-toggle .label=${p} @click=${i} .scale=${d} .text=${m} .textEnabled=${t} title=${(!t&&!f?m:null)??v} ${A(C=>L({tooltip:f,referenceElement:C,expanded:t,ref:u}))}></calcite-action>`};export{b as a,D as b,G as c,P as d};
|
package/dist/cdn/PRVTFMLC.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.25 */
|
|
4
|
-
import{a as L}from"./ZLNNZMBR.js";import{a as T}from"./DNVHA77U.js";import{a as O,b as B,c as H,d as $}from"./P4NPWG6I.js";import{a as m}from"./VSCLJKVF.js";import"./7GLGFP4U.js";import{a as G}from"./IW33QBLM.js";import"./LF7C5CM2.js";import{a as k}from"./UTUNLEWD.js";import"./Q4GHTPKL.js";import"./Z2UTIVKY.js";import{D as c,t as C,u as D}from"./D6RBIAXP.js";import"./3BTV7OEP.js";import{B as y,C as w,D as E,E as v,K as z,P as S,g as A,h as f,o as b}from"./MSRQHP4Y.js";var W=({bufferSize:g=0,containerSize:t,itemSizes:e})=>{let i=t-g,n=e.length,a=0;for(let[r,o]of e.entries())if(a=a+o,a>i){n=r;break}else continue;return n},F=({bufferSize:g=0,containerSize:t,itemSizes:e})=>Math.max(e.length-W({bufferSize:g,itemSizes:e,containerSize:t}),0),q={container:"container",actionGroupEnd:"action-group--end"},I={actionsEnd:"actions-end",expandTooltip:"expand-tooltip"},N=A`: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-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-spacing-xxs));--calcite-internal-action-bar-padding: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-spacing-sm));--calcite-internal-action-bar-padding: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-space-sm-plus));--calcite-internal-action-bar-padding: var(--calcite-spacing-sm-plus)}:host{display:inline-flex;align-self:stretch;background:transparent;--calcite-internal-action-group-dividing-border-margin: calc(var(--calcite-spacing-base) + 1px)}.container{display:inline-flex;flex:1 1 auto;flex-direction:column;background-color:var(--calcite-action-bar-background-color, var(--calcite-color-foreground-1));gap:var(--calcite-internal-action-bar-gap);padding:var(--calcite-internal-action-bar-padding)}@keyframes in{0%{opacity:0}to{opacity:1}}:host([floating]) .container{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;overflow:hidden;border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-round));--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--calcite-action-bar-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow))}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]) .container{overflow-y:auto}:host([layout=vertical]):host([expanded]) .container{max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm);border-image:linear-gradient(to right,transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;padding-block-end:var(--calcite-internal-action-bar-padding)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]) .container{overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-image:linear-gradient(transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;border-inline-end-width:var(--calcite-border-width-sm);padding-inline-end:var(--calcite-internal-action-bar-padding)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}`,x=class extends E{constructor(){super(),this.actions=[],this.containerRef=y(),this.mutationObserver=m("mutation",()=>this.mutationObserverHandler()),this.cancelable=L()(this),this.resize=T(({width:t,height:e})=>{let{expanded:i,expandDisabled:n,layout:a,overflowActionsDisabled:r,actionGroups:o}=this;if(r||a==="vertical"&&!e||a==="horizontal"&&!t)return;let d=this.getItemSizes();this.updateGroups();let p=this.hasActionsEnd||!n?o.length+1:o.length,s=p,l=getComputedStyle(this.containerRef.value);if(s+=c(a==="horizontal"?l.paddingInlineStart:l.paddingBlockStart)+c(a==="horizontal"?l.paddingInlineEnd:l.paddingBlockEnd),o.length>0&&o.forEach((h,P)=>{let u=getComputedStyle(h),U=c(u.gap),R=h.childElementCount-1;s+=U*R,P<o.length-1&&(s+=c(a==="horizontal"?u.paddingInlineEnd:u.paddingBlockEnd),s+=c(a==="horizontal"?u.borderInlineEndWidth:u.borderBlockEndWidth))}),p>0)for(let h=1;h<p;h++)s+=c(l.gap);let M=F({bufferSize:s,containerSize:a==="horizontal"?t:e,itemSizes:d});B({actionGroups:o,expanded:i,overflowCount:M})},z.resize),this.resizeHandler=t=>{let{width:e,height:i}=t.contentRect;this.resize({width:e,height:i})},this.resizeObserver=m("resize",t=>this.resizeHandlerEntries(t)),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.messages=G(),this.focusSetter=k()(this),this.setExpandToggleEl=t=>{this.expandToggleEl=t},this.hasActionsEnd=!1,this.floating=!1,this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.overlayPositioning="absolute",this.scale="m",this.selectionAppearance="neutral",this.calciteActionBarCollapse=b({cancelable:!1}),this.calciteActionBarExpand=b({cancelable:!1}),this.calciteActionBarToggle=b({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler)}static{this.properties={expandTooltip:[16,{},{state:!0}],hasActionsEnd:[16,{},{state:!0}],actionsEndGroupLabel:1,floating:[7,{},{reflect:!0,type:Boolean}],expandDisabled:[7,{},{reflect:!0,type:Boolean}],expanded:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}]}}static{this.styles=N}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){return this.focusSetter(()=>this.el,t)}connectedCallback(){super.connectedCallback(),this.updateGroups(),this.overflowActions(),this.updateActions(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.overflowActionsDisabledHandler(this.overflowActionsDisabled),this.cancelable.add(this.resize)}willUpdate(t){t.has("expandDisabled")&&(this.hasUpdated||this.expandDisabled!==!1)&&this.overflowActions(),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups(),t.has("overflowActionsDisabled")&&(this.hasUpdated||this.overflowActionsDisabled!==!1)&&this.overflowActionsDisabledHandler(this.overflowActionsDisabled),t.has("expanded")&&this.hasUpdated&&(this.expandedHandler(),this.expanded?this.calciteActionBarExpand.emit():this.calciteActionBarCollapse.emit()),t.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="neutral")&&this.updateActions()}loaded(){this.overflowActions()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect()}getItemSizes(){let{el:t,layout:e,expandToggleEl:i}=this,n=O(t);i&&n.push(i);let a=e==="horizontal"?"clientWidth":"clientHeight",r=Math.max(...n.map(o=>o[a]||0));return n.map(o=>o[a]||r)}expandedHandler(){let{el:t,expanded:e}=this;H({el:t,expanded:e}),this.overflowActions()}overflowActionsDisabledHandler(t){if(t){this.resizeObserver?.disconnect();return}this.resizeObserver?.observe(this.el),this.overflowActions()}actionMenuOpenHandler(t){if(t.target.menuOpen){let e=t.composedPath();this.actionGroups?.forEach(i=>{e.includes(i)||(i.menuOpen=!1)})}}mutationObserverHandler(){this.updateGroups(),this.overflowActions(),this.queryAndStoreActions(),this.updateActions()}resizeHandlerEntries(t){t.forEach(this.resizeHandler)}updateGroups(){let t=Array.from(this.el.querySelectorAll("calcite-action-group"));this.actionGroups=t,t.forEach(e=>{e.layout=this.layout,e.scale=this.scale})}handleDefaultSlotChange(){this.updateGroups(),this.queryAndStoreActions(),this.updateActions()}handleActionsEndSlotChange(t){this.hasActionsEnd=C(t)}handleTooltipSlotChange(t){let e=D(t).filter(i=>i?.matches("calcite-tooltip"));this.expandTooltip=e[0]}updateActions(){this.actions.forEach(t=>{t.selectionAppearance=this.selectionAppearance})}queryAndStoreActions(){this.actions=Array.from(this.el.querySelectorAll("calcite-action"))}renderBottomActionGroup(){let{expanded:t,expandDisabled:e,el:i,position:n,toggleExpand:a,scale:r,layout:o,messages:d,actionsEndGroupLabel:p,overlayPositioning:s}=this,l=e?null:$({collapseLabel:d.collapseLabel,collapseText:d.collapse,el:i,expandLabel:d.expandLabel,expandText:d.expand,expanded:t,position:n,ref:this.setExpandToggleEl,scale:r,toggle:a,tooltip:this.expandTooltip});return f`<calcite-action-group class=${v(q.actionGroupEnd)} .hidden=${this.expandDisabled&&!this.hasActionsEnd} .label=${p} .layout=${o} .overlayPositioning=${s} .scale=${r}><slot name=${I.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot><slot name=${I.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${l}</calcite-action-group>`}render(){return f`<div class=${v(q.container)} ${w(this.containerRef)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`}};S("calcite-action-bar",x);export{x as ActionBar};
|
package/dist/cdn/SH3WETMJ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.25 */
|
|
4
|
-
import{a as b}from"./SD64JT6D.js";import{c as x,d as f}from"./P4NPWG6I.js";import{a as h}from"./VSCLJKVF.js";import"./7GLGFP4U.js";import{a as m}from"./IW33QBLM.js";import"./LF7C5CM2.js";import{a as g}from"./UTUNLEWD.js";import"./Q4GHTPKL.js";import"./Z2UTIVKY.js";import{u}from"./D6RBIAXP.js";import"./3BTV7OEP.js";import{D as d,E as n,P as p,g as r,h as i,o}from"./MSRQHP4Y.js";var v={actionGroupEnd:"action-group--end",container:"container"},G={expandTooltip:"expand-tooltip"},C=r`: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-pad-gap: var(--calcite-action-pad-items-space, var(--calcite-spacing-xxs));--calcite-internal-action-pad-padding: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-pad-gap: var(--calcite-action-pad-items-space, var(--calcite-spacing-sm));--calcite-internal-action-pad-padding: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-pad-gap: var(--calcite-action-pad-items-space, var(--calcite-space-sm-plus));--calcite-internal-action-pad-padding: var(--calcite-spacing-sm-plus)}:host{display:block}@keyframes in{0%{opacity:0}to{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:var(--calcite-action-pad-corner-radius, .125rem);background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width, auto)}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:1px;padding-block-end:var(--calcite-internal-action-pad-padding)}.container{display:inline-flex;flex-direction:column;overflow:hidden;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);border-radius:calc(var(--calcite-action-pad-corner-radius, .125rem) * 2);background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1));gap:var(--calcite-internal-action-pad-gap);padding:var(--calcite-internal-action-pad-padding)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0}:host([layout=horizontal]) .container ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:1px;padding-inline-end:var(--calcite-internal-action-pad-padding)}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends d{constructor(){super(),this.actions=[],this.mutationObserver=h("mutation",()=>this.mutationObserverHandler()),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.messages=m(),this.focusSetter=g()(this),this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overlayPositioning="absolute",this.scale="m",this.selectionAppearance="neutral",this.calciteActionPadCollapse=o({cancelable:!1}),this.calciteActionPadExpand=o({cancelable:!1}),this.calciteActionPadToggle=o({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler)}static{this.properties={expandTooltip:[16,{},{state:!0}],actionsEndGroupLabel:1,expandDisabled:[7,{},{reflect:!0,type:Boolean}],expanded:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overlayPositioning:[3,{},{reflect:!0}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=C}async setFocus(t){return this.focusSetter(()=>this.el,t)}connectedCallback(){super.connectedCallback(),this.updateActions(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async load(){b.deprecated("component",{component:this,name:"action-pad",removalVersion:5,suggested:"action-bar"})}willUpdate(t){t.has("expanded")&&this.hasUpdated&&x({el:this.el,expanded:this.expanded}),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups(),t.has("expanded")&&this.hasUpdated&&(this.expanded?this.calciteActionPadExpand.emit():this.calciteActionPadCollapse.emit()),t.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="neutral")&&this.updateActions()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}actionMenuOpenHandler(t){if(t.target.menuOpen){let a=t.composedPath();this.actionGroups?.forEach(e=>{a.includes(e)||(e.menuOpen=!1)})}}updateGroups(){let t=Array.from(this.el.querySelectorAll("calcite-action-group"));this.actionGroups=t,this.setGroupLayout(t)}setGroupLayout(t){t.forEach(a=>a.layout=this.layout)}handleDefaultSlotChange(){this.updateGroups(),this.queryAndStoreActions(),this.updateActions()}handleTooltipSlotChange(t){let a=u(t).filter(e=>e?.matches("calcite-tooltip"));this.expandTooltip=a[0]}updateActions(){this.actions.forEach(t=>{t.selectionAppearance=this.selectionAppearance})}queryAndStoreActions(){this.actions=Array.from(this.el.querySelectorAll("calcite-action"))}mutationObserverHandler(){this.updateGroups(),this.queryAndStoreActions(),this.updateActions()}renderBottomActionGroup(){let{expanded:t,expandDisabled:a,messages:e,el:y,position:A,toggleExpand:w,scale:c,layout:E,actionsEndGroupLabel:S,overlayPositioning:T}=this,l=a?null:f({collapseLabel:e.collapseLabel,collapseText:e.collapse,el:y,expandLabel:e.expandLabel,expandText:e.expand,expanded:t,position:A,scale:c,toggle:w,tooltip:this.expandTooltip});return l?i`<calcite-action-group class=${n(v.actionGroupEnd)} .label=${S} .layout=${E} .overlayPositioning=${T} .scale=${c}><slot name=${G.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${l}</calcite-action-group>`:null}render(){return i`<div class=${n(v.container)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`}};p("calcite-action-pad",s);export{s as ActionPad};
|
package/dist/cdn/ZRFXF5CA.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.25 */
|
|
4
|
-
import{a,b as f,c as b}from"./7GLGFP4U.js";import{a as g}from"./IW33QBLM.js";import{c as n}from"./LF7C5CM2.js";import{a as h}from"./UTUNLEWD.js";import"./Q4GHTPKL.js";import"./Z2UTIVKY.js";import{t as m}from"./D6RBIAXP.js";import"./3BTV7OEP.js";import{D as u,E as p,P as d,g as r,h as t,o}from"./MSRQHP4Y.js";var O=r`: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}`,i=class extends u{constructor(){super(...arguments),this.messages=g(),this.focusSetter=h()(this),this.hasMenuActions=!1,this.expanded=!1,this.layout="vertical",this.menuOpen=!1,this.overlayPositioning="absolute",this.scale="m",this.calciteActionGroupCollapse=o({cancelable:!1}),this.calciteActionGroupExpand=o({cancelable:!1})}static{this.properties={hasMenuActions:[16,{},{state:!0}],columns:[11,{},{type:Number,reflect:!0}],expanded:[7,{},{reflect:!0,type:Boolean}],label:1,layout:[3,{},{reflect:!0}],menuFlipPlacements:[0,{},{attribute:!1}],menuOpen:[7,{},{reflect:!0,type:Boolean}],menuPlacement:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overlayPositioning:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=O}async setFocus(e){return this.focusSetter(()=>this.el,e)}willUpdate(e){e.has("expanded")&&((this.hasUpdated||this.expanded!==!1)&&(this.menuOpen=!1),this.hasUpdated&&(this.expanded?this.calciteActionGroupExpand.emit():this.calciteActionGroupCollapse.emit()))}setMenuOpen(e){this.menuOpen=!!e.currentTarget.open}handleMenuActionsSlotChange(e){this.hasMenuActions=m(e)}renderMenu(){let{expanded:e,menuOpen:x,scale:s,layout:l,messages:c,overlayPositioning:y,hasMenuActions:v,menuFlipPlacements:$,menuPlacement:S}=this;return t`<calcite-action-menu .expanded=${e} .flipPlacements=${$??(l==="horizontal"?["top","bottom"]:["left","right"])} .hidden=${!v} .label=${c.more} @calciteActionMenuOpen=${this.setMenuOpen} .open=${x} .overlayPositioning=${y} .placement=${S??(l==="horizontal"?"bottom-start":"leading-start")} .scale=${s}><calcite-action .aria=${{expanded:e}} .icon=${f.menu} .scale=${s} slot=${n.trigger} .text=${c.more} .textEnabled=${e}></calcite-action><slot name=${a.menuActions} @slotchange=${this.handleMenuActionsSlotChange}></slot><slot name=${a.menuTooltip} slot=${n.tooltip}></slot></calcite-action-menu>`}render(){return t`<div .ariaLabel=${this.label} class=${p(b.container)} role=group><slot></slot>${this.renderMenu()}</div>`}};d("calcite-action-group",i);export{i as ActionGroup};
|