@esri/calcite-components 5.0.0-next.85 → 5.0.0-next.87
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/{RERWJQES.js → 2373KWAB.js} +1 -1
- package/dist/cdn/2BP6BLXE.js +4 -0
- package/dist/cdn/{NZVWN7IL.js → 2CVEU3XG.js} +2 -2
- package/dist/cdn/{GCKTXQ32.js → 2E52E2XD.js} +2 -2
- package/dist/cdn/{7RR3YYNG.js → 2M6IDYFI.js} +2 -2
- package/dist/cdn/{MHXTBAL7.js → 2PDSRXA2.js} +2 -2
- package/dist/cdn/{E3RRQSGO.js → 2TINODZO.js} +1 -1
- package/dist/cdn/{7TQLEGG7.js → 3HJULOLL.js} +1 -1
- package/dist/cdn/{OOZ4MRX5.js → 3JHCVZKV.js} +1 -1
- package/dist/cdn/{G3HDK2GA.js → 4VHFYS2N.js} +2 -2
- package/dist/cdn/{GVVA5ER5.js → 4XQBGWC4.js} +2 -2
- package/dist/cdn/{CX63UUMX.js → 53GF2726.js} +2 -2
- package/dist/cdn/5ZIFEQC6.js +4 -0
- package/dist/cdn/{IGNLV3WL.js → 62PHRYRK.js} +2 -2
- package/dist/cdn/{GFQINXHC.js → 675KV4NT.js} +2 -2
- package/dist/cdn/{HYKZIBM6.js → 6G5MG4J5.js} +2 -2
- package/dist/cdn/{4AAWVGL3.js → 6KKNQH27.js} +2 -2
- package/dist/cdn/{EYAG4FQY.js → 6NK6CMGD.js} +1 -1
- package/dist/cdn/{R7K6IXSB.js → 6TATRIPH.js} +2 -2
- package/dist/cdn/{2L2HTB2D.js → 762EZOD4.js} +2 -2
- package/dist/cdn/{7AO2QEX2.js → 7BSOLPG3.js} +2 -2
- package/dist/cdn/7ENJYNFM.js +4 -0
- package/dist/cdn/{KFQLVFBJ.js → 7LCNPXWB.js} +2 -2
- package/dist/cdn/{UMXYXI25.js → 7NYBX7QN.js} +2 -2
- package/dist/cdn/7Z3A3D47.js +4 -0
- package/dist/cdn/{YZCNY5BI.js → A2VDENNK.js} +2 -2
- package/dist/cdn/{3PRTW55Z.js → A3XRA242.js} +1 -1
- package/dist/cdn/ACMYB2Y4.js +4 -0
- package/dist/cdn/{3MTCFXHT.js → AHF5ZIKF.js} +2 -2
- package/dist/cdn/{FSW52VMC.js → ANNAI5HC.js} +2 -2
- package/dist/cdn/{N35VJLXI.js → ASB7RDT3.js} +2 -2
- package/dist/cdn/{WBJPIMWK.js → BGC52DWT.js} +2 -2
- package/dist/cdn/{XXCMOSRB.js → BKQDHYCI.js} +2 -2
- package/dist/cdn/BMCHKZIE.js +4 -0
- package/dist/cdn/{ZV7SP4RI.js → BN6UYQFA.js} +1 -1
- package/dist/cdn/{ZT5NTJVJ.js → BNQBOVT3.js} +2 -2
- package/dist/cdn/{SGGQP3HZ.js → BO4KTOLS.js} +2 -2
- package/dist/cdn/{SVMNNYUN.js → BUQT5SDS.js} +2 -2
- package/dist/cdn/{HYMSSZX5.js → BZTG4JWV.js} +1 -1
- package/dist/cdn/{46F4GND3.js → CCAJNDCR.js} +2 -2
- package/dist/cdn/{VFU425PF.js → CGJRNNIG.js} +2 -2
- package/dist/cdn/{HUSHBUM3.js → CJ7COVTK.js} +2 -2
- package/dist/cdn/{GZ4RVBMB.js → CJVIXIAR.js} +2 -2
- package/dist/cdn/{2FUTNDQC.js → CKIVMGPI.js} +2 -2
- package/dist/cdn/{4C6DZ7VH.js → CLVQWMUR.js} +1 -1
- package/dist/cdn/CM5BTKGZ.js +4 -0
- package/dist/cdn/{IRC4IQSI.js → CRJARPLV.js} +2 -2
- package/dist/cdn/{ZP7IEEF4.js → D6Z24UHJ.js} +2 -2
- package/dist/cdn/{HPUUI2IL.js → DBJV3ZRM.js} +2 -2
- package/dist/cdn/{A6UQC3W2.js → DEBBJWGT.js} +2 -2
- package/dist/cdn/{EZ24T4GY.js → DOYNR2C7.js} +2 -2
- package/dist/cdn/{QFDOCZA3.js → DWNAOLPK.js} +2 -2
- package/dist/cdn/{DMWDYBRJ.js → DXGG2NVB.js} +2 -2
- package/dist/cdn/{PMXVSUUW.js → EL4ISQBT.js} +2 -2
- package/dist/cdn/{VQMK7DHA.js → EMFXFFZO.js} +2 -2
- package/dist/cdn/{UYKM6BTM.js → EOIDFHKZ.js} +2 -2
- package/dist/cdn/{UBAI46AR.js → ETKS4GFU.js} +2 -2
- package/dist/cdn/{PCMJJWWY.js → F2LU5FFY.js} +2 -2
- package/dist/cdn/{RADCDGXU.js → FHJ2ZW2X.js} +2 -2
- package/dist/cdn/{WEMI2JPS.js → FJI34RLX.js} +2 -2
- package/dist/cdn/{2PJ5VYF6.js → FLHMUXA7.js} +2 -2
- package/dist/cdn/{OHONTKTA.js → FP3AQDXE.js} +2 -2
- package/dist/cdn/{YMBOGVX7.js → FTHDTQ7R.js} +2 -2
- package/dist/cdn/{XNJIDOJV.js → FUQPVSBJ.js} +2 -2
- package/dist/cdn/{RY6K3NWE.js → FZ2HAWSN.js} +1 -1
- package/dist/cdn/{AJT6QZOV.js → G472KXFV.js} +2 -2
- package/dist/cdn/{YNTODNMQ.js → G67SWKSH.js} +2 -2
- package/dist/cdn/{GNCKKAIF.js → GM7AV7GT.js} +2 -2
- package/dist/cdn/{MAH6SUEC.js → GRHBCDBJ.js} +2 -2
- package/dist/cdn/{L3BJZH2B.js → HEN6TLWE.js} +2 -2
- package/dist/cdn/{FTJE5QCG.js → HHGYFBTU.js} +2 -2
- package/dist/cdn/{EV4VPLTA.js → HWLX45HO.js} +2 -2
- package/dist/cdn/{RMIIPLID.js → I5LZMOLV.js} +2 -2
- package/dist/cdn/{2G6GWTXL.js → I5VPOQ2E.js} +2 -2
- package/dist/cdn/{EXQIRRRF.js → I63XVPPV.js} +2 -2
- package/dist/cdn/{GCI5IBJP.js → IAEVGJGS.js} +2 -2
- package/dist/cdn/{LYBTXJYU.js → IHLPBSOI.js} +2 -2
- package/dist/cdn/{FTTBYRMA.js → IUO5JY2U.js} +2 -2
- package/dist/cdn/{CQJ46AKF.js → IUSYKFYV.js} +2 -2
- package/dist/cdn/{L4ECM5M2.js → J6W654FU.js} +2 -2
- package/dist/cdn/{U3LXO27U.js → JAMARNOH.js} +2 -2
- package/dist/cdn/{SJAJGUOO.js → JH66HV3W.js} +2 -2
- package/dist/cdn/{XDBQVBDJ.js → JOR6WREK.js} +1 -1
- package/dist/cdn/{HNDJR5FD.js → JPXSPVYE.js} +2 -2
- package/dist/cdn/JTH6OSFN.js +4 -0
- package/dist/cdn/{PGSFLJ3D.js → JUSNPECD.js} +2 -2
- package/dist/cdn/{KQOV277Q.js → JXAEEG7Q.js} +2 -2
- package/dist/cdn/{RISAW7O5.js → JYUPGREB.js} +2 -2
- package/dist/cdn/{USLF4EEY.js → K6FFKO7B.js} +1 -1
- package/dist/cdn/{GZ4Y76GV.js → KPXHO532.js} +2 -2
- package/dist/cdn/{UW66LRLF.js → L462GUQB.js} +2 -2
- package/dist/cdn/{TOLIHEGN.js → L74AE7QX.js} +1 -1
- package/dist/cdn/{XNMLR6KT.js → LBD5YCK5.js} +2 -2
- package/dist/cdn/{HA5U5NO5.js → LJLPNSN7.js} +2 -2
- package/dist/cdn/{J5OTW42Z.js → LQD5ZJCA.js} +2 -2
- package/dist/cdn/{BN7PYWB6.js → M4RFCDAT.js} +2 -2
- package/dist/cdn/{67SPL6WA.js → M56FQL6E.js} +2 -2
- package/dist/cdn/{TA57XW3R.js → M7ZBNZBE.js} +2 -2
- package/dist/cdn/{DP7SKMHV.js → MBPARYRC.js} +1 -1
- package/dist/cdn/{KW7VFI3E.js → MCDXYBZV.js} +2 -2
- package/dist/cdn/{GGEONHT4.js → MDACFJSU.js} +2 -2
- package/dist/cdn/{EYGHFVP5.js → MGQ4FNCS.js} +1 -1
- package/dist/cdn/{ZRS4GUKC.js → MMBMHBNA.js} +2 -2
- package/dist/cdn/{PJ6Q7AZU.js → MQR3G6IA.js} +1 -1
- package/dist/cdn/{QIB2CCH7.js → MQSY66K5.js} +2 -2
- package/dist/cdn/{3NTT4AT7.js → MUICCZRB.js} +2 -2
- package/dist/cdn/{IKS56LM4.js → MUM4JXPS.js} +2 -2
- package/dist/cdn/{DO3RCOJK.js → MWD2JVSH.js} +2 -2
- package/dist/cdn/{64AVKCFC.js → NG3RGK4W.js} +2 -2
- package/dist/cdn/{2VRKEDCM.js → NJ47ZQGP.js} +2 -2
- package/dist/cdn/{XNTTM3JL.js → NJIXK2AF.js} +2 -2
- package/dist/cdn/{PIFN5P2K.js → NPKY33F4.js} +1 -1
- package/dist/cdn/{TSEPOAAN.js → NTGXQF4E.js} +2 -2
- package/dist/cdn/{LRN33PO6.js → OBONLOSH.js} +2 -2
- package/dist/cdn/{ZPBLPU4G.js → OEKM57QU.js} +2 -2
- package/dist/cdn/{QYG75NCQ.js → P7HJT2YJ.js} +2 -2
- package/dist/cdn/PCJKGEWM.js +4 -0
- package/dist/cdn/{FC666UGE.js → PJMG7A37.js} +2 -2
- package/dist/cdn/{VTFHKAZI.js → PK7RJYVG.js} +2 -2
- package/dist/cdn/{WMCRQM4L.js → PX7V7KJW.js} +1 -1
- package/dist/cdn/{JIUQACW5.js → Q3AIXMTM.js} +2 -2
- package/dist/cdn/{4VI2KQQ7.js → QFXQZ3YE.js} +1 -1
- package/dist/cdn/{DFS6MINE.js → QVZZYGTP.js} +2 -2
- package/dist/cdn/{5FCPGPCV.js → QXLCWWSJ.js} +2 -2
- package/dist/cdn/{SMCYDTWW.js → QXLXXMTX.js} +2 -2
- package/dist/cdn/{L5SOTUSX.js → QYUIKN7M.js} +2 -2
- package/dist/cdn/{N4RBMTVV.js → R62HOHPD.js} +2 -2
- package/dist/cdn/{K6QTEEUW.js → RB5CIMLJ.js} +1 -1
- package/dist/cdn/{4F6IEWSU.js → RFHUJRBJ.js} +2 -2
- package/dist/cdn/{UZ4QUIIN.js → RM332DU4.js} +2 -2
- package/dist/cdn/{VGFF3K4S.js → RN7QPOEM.js} +2 -2
- package/dist/cdn/{JE7FTYQH.js → RNNSEBWK.js} +2 -2
- package/dist/cdn/{T2XIIUM2.js → RWDL4YMA.js} +2 -2
- package/dist/cdn/{23HSLLRP.js → RWESR4HM.js} +2 -2
- package/dist/cdn/{NKCVNZJR.js → RXGXWGF6.js} +2 -2
- package/dist/cdn/{72GUOSPY.js → RYFTXAFF.js} +2 -2
- package/dist/cdn/{2ZXBQWX6.js → S27SB57X.js} +1 -1
- package/dist/cdn/{SD5NCNF3.js → SCOK7CS6.js} +2 -2
- package/dist/cdn/{4WSPNC7L.js → SNQUXCX5.js} +2 -2
- package/dist/cdn/{SISDZNDE.js → SR5B42CR.js} +2 -2
- package/dist/cdn/{LCDAOJ2I.js → ST2S34A2.js} +2 -2
- package/dist/cdn/{G3XCTLTQ.js → SUKQQERE.js} +2 -2
- package/dist/cdn/{PFCTYZLG.js → T7RSW33W.js} +2 -2
- package/dist/cdn/{GPUVNDA4.js → TGXNBQOP.js} +2 -2
- package/dist/cdn/{QJT2JBUW.js → TOMFRF2X.js} +2 -2
- package/dist/cdn/{NXPGROMO.js → TTPNFJ77.js} +2 -2
- package/dist/cdn/{GSJ4FDXO.js → UK6CGDP2.js} +1 -1
- package/dist/cdn/{YJHNMRZN.js → VAA6CHBC.js} +2 -2
- package/dist/cdn/{GKHQOQVU.js → VALDCRK4.js} +2 -2
- package/dist/cdn/{3MJDUAR4.js → VFH436WI.js} +2 -2
- package/dist/cdn/{S252R2JI.js → VJNFDN7J.js} +2 -2
- package/dist/cdn/{TUST53EA.js → VTMOMR6V.js} +2 -2
- package/dist/cdn/{7FPUWRSV.js → VUQFYBOI.js} +2 -2
- package/dist/cdn/{JNIFXLOQ.js → VVOMB767.js} +2 -2
- package/dist/cdn/{PK3DYFYI.js → W5EBMJNX.js} +2 -2
- package/dist/cdn/{GWH2XS5V.js → WG5O3ZBW.js} +2 -2
- package/dist/cdn/{NNRNTZWZ.js → WGJPLV3F.js} +2 -2
- package/dist/cdn/{UUZ2C6XD.js → WOV25ALO.js} +2 -2
- package/dist/cdn/{VIWDRHIR.js → WR2AQ3LN.js} +1 -1
- package/dist/cdn/{ESYN42GH.js → WW6KTWOJ.js} +2 -2
- package/dist/cdn/{FSO6NX7Y.js → X4VMAEW3.js} +2 -2
- package/dist/cdn/{NH32PD4W.js → X4ZO5XM3.js} +2 -2
- package/dist/cdn/{7FDGGETS.js → XGA7N2M7.js} +2 -2
- package/dist/cdn/{SQKJ6O3V.js → XLB6FOH7.js} +2 -2
- package/dist/cdn/{QKLNY26R.js → XMKBJKN3.js} +2 -2
- package/dist/cdn/{URZELV67.js → XPXFDYHQ.js} +2 -2
- package/dist/cdn/{EKR4HBPC.js → XQJZC57J.js} +2 -2
- package/dist/cdn/{FIWI2LV5.js → YHNC5RLP.js} +2 -2
- package/dist/cdn/{ZXQNHQPG.js → YQFDBASD.js} +2 -2
- package/dist/cdn/{ZU2623H5.js → YZGVMUFJ.js} +2 -2
- package/dist/cdn/{5FLQ36YN.js → Z457CNLY.js} +2 -2
- package/dist/cdn/{32WHAVTU.js → ZAO3RUBN.js} +2 -2
- package/dist/cdn/{JRJ7MU4A.js → ZJYQKA6J.js} +1 -1
- package/dist/cdn/{NFASJYAF.js → ZQ3XD7ZO.js} +2 -2
- package/dist/cdn/ZQAWPMUQ.js +4 -0
- 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/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/{interact.min.js → useSizeOverride.js} +58 -2
- 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 +1 -10
- package/dist/components/calcite-action/customElement.js +4 -25
- package/dist/components/calcite-action-bar/customElement.d.ts +0 -9
- package/dist/components/calcite-action-bar/customElement.js +5 -5
- 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.d.ts +0 -9
- package/dist/components/calcite-action-pad/customElement.js +5 -5
- 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.d.ts +12 -12
- package/dist/components/calcite-combobox/customElement.js +5 -16
- package/dist/components/calcite-combobox-item/customElement.d.ts +7 -7
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +3 -3
- 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.d.ts +12 -0
- package/dist/components/calcite-dialog/customElement.js +61 -32
- 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.d.ts +4 -4
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.d.ts +9 -9
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.d.ts +25 -27
- package/dist/components/calcite-input/customElement.js +1 -1
- package/dist/components/calcite-input-date-picker/customElement.d.ts +32 -32
- package/dist/components/calcite-input-date-picker/customElement.js +1 -1
- package/dist/components/calcite-input-message/customElement.d.ts +3 -3
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.d.ts +32 -32
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.d.ts +20 -20
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.d.ts +10 -10
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.d.ts +6 -8
- 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.d.ts +12 -0
- package/dist/components/calcite-sheet/customElement.js +53 -55
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +2 -37
- 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.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +2 -3
- package/dist/types/preact.d.ts +2 -3
- package/dist/types/react.d.ts +2 -3
- package/dist/types/stencil.d.ts +2 -3
- package/package.json +5 -5
- package/dist/cdn/5VLETR2K.js +0 -4
- package/dist/cdn/HDBGAFCB.js +0 -4
- package/dist/cdn/HDCDBDZA.js +0 -4
- package/dist/cdn/KSLBIKYE.js +0 -4
- package/dist/cdn/NXCTFYED.js +0 -4
- package/dist/cdn/RH2WPIJ6.js +0 -4
- package/dist/cdn/RXXUOWMP.js +0 -4
- package/dist/cdn/STDPF5WA.js +0 -4
- package/dist/cdn/ZXKKFCZJ.js +0 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.87 */
|
|
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()}` });
|
|
@@ -77,15 +77,6 @@ export abstract class ActionBar extends LitElement {
|
|
|
77
77
|
* @default "neutral"
|
|
78
78
|
*/
|
|
79
79
|
accessor selectionAppearance: Extract<"neutral" | "highlight", SelectionAppearance>;
|
|
80
|
-
/**
|
|
81
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
82
|
-
*
|
|
83
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
84
|
-
*
|
|
85
|
-
* @default false
|
|
86
|
-
* @mdn [Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
87
|
-
*/
|
|
88
|
-
accessor topLayerDisabled: boolean;
|
|
89
80
|
/**
|
|
90
81
|
* Sets focus on the component's first focusable element.
|
|
91
82
|
*
|
|
@@ -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.87 */
|
|
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,
|
|
@@ -116,7 +117,6 @@ class ActionBar extends LitElement {
|
|
|
116
117
|
this.overlayPositioning = "absolute";
|
|
117
118
|
this.scale = "m";
|
|
118
119
|
this.selectionAppearance = "neutral";
|
|
119
|
-
this.topLayerDisabled = false;
|
|
120
120
|
this.calciteActionBarCollapse = createEvent({ cancelable: false });
|
|
121
121
|
this.calciteActionBarExpand = createEvent({ cancelable: false });
|
|
122
122
|
this.calciteActionBarToggle = createEvent({ cancelable: false });
|
|
@@ -124,7 +124,7 @@ class ActionBar extends LitElement {
|
|
|
124
124
|
this.listen("keydown", this.handleKeyDown);
|
|
125
125
|
}
|
|
126
126
|
static {
|
|
127
|
-
this.properties = { expandTooltip: [16, {}, { state: true }], hasActionsEnd: [16, {}, { state: true }], actionsEndGroupLabel: 1, floating: [7, {}, { reflect: true, type: Boolean }], expandDisabled: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overflowActionsDisabled: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], position: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }]
|
|
127
|
+
this.properties = { expandTooltip: [16, {}, { state: true }], hasActionsEnd: [16, {}, { state: true }], actionsEndGroupLabel: 1, floating: [7, {}, { reflect: true, type: Boolean }], expandDisabled: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overflowActionsDisabled: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], position: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }] };
|
|
128
128
|
}
|
|
129
129
|
static {
|
|
130
130
|
this.styles = styles;
|
|
@@ -283,7 +283,7 @@ class ActionBar extends LitElement {
|
|
|
283
283
|
renderBottomActionGroup() {
|
|
284
284
|
const { expanded, expandDisabled, el, position, toggleExpand, scale, layout, messages, actionsEndGroupLabel, overlayPositioning } = this;
|
|
285
285
|
const expandToggleNode = !expandDisabled ? ExpandToggle({ collapseLabel: messages.collapseLabel, collapseText: messages.collapse, el, expandLabel: messages.expandLabel, expandText: messages.expand, expanded, position, ref: this.setExpandToggleEl, scale, toggle: toggleExpand, tooltip: this.expandTooltip }) : null;
|
|
286
|
-
return html`<calcite-action-group class=${safeClassMap(CSS.actionGroupEnd)} .hidden=${this.expandDisabled && !this.hasActionsEnd} .label=${actionsEndGroupLabel} .layout=${layout} .overlayPositioning=${overlayPositioning} .scale=${scale}
|
|
286
|
+
return html`<calcite-action-group class=${safeClassMap(CSS.actionGroupEnd)} .hidden=${this.expandDisabled && !this.hasActionsEnd} .label=${actionsEndGroupLabel} .layout=${layout} .overlayPositioning=${overlayPositioning} .scale=${scale}><slot name=${SLOTS.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot><slot name=${SLOTS.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${expandToggleNode}</calcite-action-group>`;
|
|
287
287
|
}
|
|
288
288
|
render() {
|
|
289
289
|
return html`<div .ariaOrientation=${this.layout === "horizontal" ? "horizontal" : "vertical"} class=${safeClassMap(CSS.container)} role=toolbar ${ref(this.containerRef)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`;
|
|
@@ -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.87 */
|
|
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.87 */
|
|
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;
|
|
@@ -63,15 +63,6 @@ export abstract class ActionPad extends LitElement {
|
|
|
63
63
|
* @default "neutral"
|
|
64
64
|
*/
|
|
65
65
|
accessor selectionAppearance: Extract<"neutral" | "highlight", SelectionAppearance>;
|
|
66
|
-
/**
|
|
67
|
-
* When `true` and the component is `open`, disables top layer placement.
|
|
68
|
-
*
|
|
69
|
-
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
70
|
-
*
|
|
71
|
-
* @default false
|
|
72
|
-
* @mdn [Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
73
|
-
*/
|
|
74
|
-
accessor topLayerDisabled: boolean;
|
|
75
66
|
/**
|
|
76
67
|
* Sets focus on the component's first focusable element.
|
|
77
68
|
*
|
|
@@ -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.87 */
|
|
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 = {
|
|
@@ -35,7 +36,6 @@ class ActionPad extends LitElement {
|
|
|
35
36
|
this.overlayPositioning = "absolute";
|
|
36
37
|
this.scale = "m";
|
|
37
38
|
this.selectionAppearance = "neutral";
|
|
38
|
-
this.topLayerDisabled = false;
|
|
39
39
|
this.calciteActionPadCollapse = createEvent({ cancelable: false });
|
|
40
40
|
this.calciteActionPadExpand = createEvent({ cancelable: false });
|
|
41
41
|
this.calciteActionPadToggle = createEvent({ cancelable: false });
|
|
@@ -43,7 +43,7 @@ class ActionPad extends LitElement {
|
|
|
43
43
|
this.listen("keydown", this.handleKeyDown);
|
|
44
44
|
}
|
|
45
45
|
static {
|
|
46
|
-
this.properties = { expandTooltip: [16, {}, { state: true }], actionsEndGroupLabel: 1, expandDisabled: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], position: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }]
|
|
46
|
+
this.properties = { expandTooltip: [16, {}, { state: true }], actionsEndGroupLabel: 1, expandDisabled: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], position: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }] };
|
|
47
47
|
}
|
|
48
48
|
static {
|
|
49
49
|
this.shadowRootOptions = { mode: "open", delegatesFocus: true };
|
|
@@ -168,7 +168,7 @@ class ActionPad extends LitElement {
|
|
|
168
168
|
renderBottomActionGroup() {
|
|
169
169
|
const { expanded, expandDisabled, messages, el, position, toggleExpand, scale, layout, actionsEndGroupLabel, overlayPositioning } = this;
|
|
170
170
|
const expandToggleNode = !expandDisabled ? ExpandToggle({ collapseLabel: messages.collapseLabel, collapseText: messages.collapse, el, expandLabel: messages.expandLabel, expandText: messages.expand, expanded, position, scale, toggle: toggleExpand, tooltip: this.expandTooltip }) : null;
|
|
171
|
-
return expandToggleNode ? html`<calcite-action-group class=${safeClassMap(CSS.actionGroupEnd)} .label=${actionsEndGroupLabel} .layout=${layout} .overlayPositioning=${overlayPositioning} .scale=${scale}
|
|
171
|
+
return expandToggleNode ? html`<calcite-action-group class=${safeClassMap(CSS.actionGroupEnd)} .label=${actionsEndGroupLabel} .layout=${layout} .overlayPositioning=${overlayPositioning} .scale=${scale}><slot name=${SLOTS.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${expandToggleNode}</calcite-action-group>` : null;
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
174
|
return html`<div class=${safeClassMap(CSS.container)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`;
|
|
@@ -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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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.87 */
|
|
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";
|
|
@@ -27,22 +27,22 @@ export abstract class Combobox extends LitElement {
|
|
|
27
27
|
*/
|
|
28
28
|
accessor allowCustomValues: boolean;
|
|
29
29
|
/**
|
|
30
|
-
* When `true`,
|
|
30
|
+
* When `true`, disables value-clearing.
|
|
31
31
|
*
|
|
32
32
|
* @default false
|
|
33
33
|
*/
|
|
34
34
|
accessor clearDisabled: boolean;
|
|
35
35
|
/**
|
|
36
|
-
* When `true`, interaction
|
|
36
|
+
* When `true`, prevents interaction and decreases the component's opacity.
|
|
37
37
|
*
|
|
38
38
|
* @default false
|
|
39
39
|
*/
|
|
40
40
|
accessor disabled: boolean;
|
|
41
|
-
/**
|
|
41
|
+
/** The component's filtered items. */
|
|
42
42
|
get filteredItems(): HTMLCalciteComboboxItemElement[];
|
|
43
43
|
/** Specifies the properties to match against when filtering. If not set, all properties will be matched (`description`, `label`, `metadata`, `shortHeading`). */
|
|
44
44
|
accessor filterProps: string[];
|
|
45
|
-
/**
|
|
45
|
+
/** The component's filter input field text. */
|
|
46
46
|
accessor filterText: string;
|
|
47
47
|
/** Specifies the component's fallback `placement` for slotted content when it's initial or specified `placement` has insufficient space available. */
|
|
48
48
|
accessor flipPlacements: FlipPlacement[];
|
|
@@ -97,18 +97,18 @@ export abstract class Combobox extends LitElement {
|
|
|
97
97
|
* @default "absolute"
|
|
98
98
|
*/
|
|
99
99
|
accessor overlayPositioning: OverlayPositioning;
|
|
100
|
-
/** Specifies the placeholder text
|
|
100
|
+
/** Specifies the input's placeholder text. */
|
|
101
101
|
accessor placeholder: string;
|
|
102
|
-
/** Specifies the placeholder icon
|
|
102
|
+
/** Specifies the input's placeholder icon. */
|
|
103
103
|
accessor placeholderIcon: IconName;
|
|
104
104
|
/**
|
|
105
|
-
* When `true
|
|
105
|
+
* When `true` and the element direction is right-to-left (`"rtl"`), flips the input's `placeholderIcon`.
|
|
106
106
|
*
|
|
107
107
|
* @default false
|
|
108
108
|
*/
|
|
109
109
|
accessor placeholderIconFlipRtl: boolean;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Specifies the component's position relative to the `referenceElement`.
|
|
112
112
|
*
|
|
113
113
|
* @default "bottom-start"
|
|
114
114
|
*/
|
|
@@ -133,12 +133,12 @@ export abstract class Combobox extends LitElement {
|
|
|
133
133
|
*/
|
|
134
134
|
accessor scale: Scale;
|
|
135
135
|
/**
|
|
136
|
-
* When `true` and `selectionMode` is `"multiple"` or `"ancestors"`,
|
|
136
|
+
* When `true` and `selectionMode` is `"multiple"` or `"ancestors"`, displays a checkbox for selecting all `calcite-combobox-item`s.
|
|
137
137
|
*
|
|
138
138
|
* @default false
|
|
139
139
|
*/
|
|
140
140
|
accessor selectAllEnabled: boolean;
|
|
141
|
-
/**
|
|
141
|
+
/** The component's selected items. */
|
|
142
142
|
get selectedItems(): HTMLCalciteComboboxItemElement[];
|
|
143
143
|
/**
|
|
144
144
|
* When `selectionMode` is `"ancestors"` or `"multiple"`, specifies the display of multiple `calcite-combobox-item` selections, where:
|
|
@@ -167,7 +167,7 @@ export abstract class Combobox extends LitElement {
|
|
|
167
167
|
*/
|
|
168
168
|
accessor selectionMode: Extract<"single" | "single-persist" | "ancestors" | "multiple", SelectionMode>;
|
|
169
169
|
/**
|
|
170
|
-
* Specifies the
|
|
170
|
+
* Specifies the input field's status, which determines message and icons.
|
|
171
171
|
*
|
|
172
172
|
* @default "idle"
|
|
173
173
|
*/
|
|
@@ -194,7 +194,7 @@ export abstract class Combobox extends LitElement {
|
|
|
194
194
|
/** The component's value(s) from the selected `calcite-combobox-item`(s). */
|
|
195
195
|
accessor value: string | string[];
|
|
196
196
|
/**
|
|
197
|
-
* Updates the position
|
|
197
|
+
* Updates the component's position.
|
|
198
198
|
*
|
|
199
199
|
* @param delayed - Reposition the component after a delay
|
|
200
200
|
* @returns Promise
|