@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,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 { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { live } from "lit/directives/live.js";
|
|
@@ -27,7 +27,7 @@ import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
|
27
27
|
import { u as useCancelable } from "../../chunks/useCancelable.js";
|
|
28
28
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
29
29
|
import { u as useTopLayer } from "../../chunks/useTopLayer.js";
|
|
30
|
-
import { I as IDS, C as CSS$1, a as ComboboxItemSelector, b as ComboboxItemGroupSelector, c as ICONS } from "../../chunks/
|
|
30
|
+
import { I as IDS, C as CSS$1, a as ComboboxItemSelector, b as ComboboxItemGroupSelector, c as ICONS } from "../../chunks/resources5.js";
|
|
31
31
|
import { h as hasActiveChildren, i as isSingleLike, g as getLabel, a as getItemAncestors, b as getItemChildren } from "../../chunks/utils2.js";
|
|
32
32
|
const CSS = {
|
|
33
33
|
button: "x-button",
|
|
@@ -98,7 +98,6 @@ class Combobox extends LitElement {
|
|
|
98
98
|
this.groupItems = [];
|
|
99
99
|
this.guid = guid();
|
|
100
100
|
this.ignoreSelectedEventsFlag = false;
|
|
101
|
-
this.inputHeight = 0;
|
|
102
101
|
this.internalValueChangeFlag = false;
|
|
103
102
|
this.mutationObserver = createObserver("mutation", () => this.updateItems());
|
|
104
103
|
this.onLabelClick = () => {
|
|
@@ -288,13 +287,6 @@ class Combobox extends LitElement {
|
|
|
288
287
|
this.flipPlacementsHandler();
|
|
289
288
|
}
|
|
290
289
|
}
|
|
291
|
-
updated() {
|
|
292
|
-
if (this.el.offsetHeight !== this.inputHeight) {
|
|
293
|
-
this.reposition(true);
|
|
294
|
-
this.inputHeight = this.el.offsetHeight;
|
|
295
|
-
}
|
|
296
|
-
this.refreshSelectionDisplay();
|
|
297
|
-
}
|
|
298
290
|
loaded() {
|
|
299
291
|
afterConnectDefaultValueSet(this, this.getValue());
|
|
300
292
|
connectFloatingUI(this);
|
|
@@ -321,7 +313,6 @@ class Combobox extends LitElement {
|
|
|
321
313
|
return;
|
|
322
314
|
}
|
|
323
315
|
toggleOpenClose(this);
|
|
324
|
-
this.setMaxScrollerHeight();
|
|
325
316
|
}
|
|
326
317
|
handleDisabledChange(value) {
|
|
327
318
|
if (!value) {
|
|
@@ -563,12 +554,12 @@ class Combobox extends LitElement {
|
|
|
563
554
|
}
|
|
564
555
|
}
|
|
565
556
|
onBeforeOpen() {
|
|
566
|
-
this.scrollToActiveOrSelectedItem();
|
|
567
|
-
this.calciteComboboxBeforeOpen.emit();
|
|
568
557
|
this.topLayer.show();
|
|
558
|
+
this.reposition();
|
|
559
|
+
this.calciteComboboxBeforeOpen.emit();
|
|
560
|
+
setTimeout(() => this.scrollToActiveOrSelectedItem(true), 0);
|
|
569
561
|
}
|
|
570
562
|
onOpen() {
|
|
571
|
-
this.scrollToActiveOrSelectedItem(true);
|
|
572
563
|
this.calciteComboboxOpen.emit();
|
|
573
564
|
}
|
|
574
565
|
onBeforeClose() {
|
|
@@ -584,11 +575,9 @@ class Combobox extends LitElement {
|
|
|
584
575
|
if (!listContainerEl || !open) {
|
|
585
576
|
return;
|
|
586
577
|
}
|
|
587
|
-
await this.reposition(true);
|
|
588
578
|
const maxScrollerHeight = this.getMaxScrollerHeight();
|
|
589
579
|
listContainerEl.style.maxBlockSize = maxScrollerHeight > 0 ? `${maxScrollerHeight}px` : "";
|
|
590
580
|
listContainerEl.style.inlineSize = `${referenceEl.clientWidth}px`;
|
|
591
|
-
await this.reposition(true);
|
|
592
581
|
}
|
|
593
582
|
calciteChipCloseHandler(comboboxItem) {
|
|
594
583
|
this.open = false;
|
|
@@ -7,10 +7,10 @@ import type { IconName } from "../calcite-icon/interfaces.js";
|
|
|
7
7
|
* @cssproperty [--calcite-combobox-item-border-color] - [Deprecated] Specifies the component's border color.
|
|
8
8
|
* @cssproperty [--calcite-combobox-text-color] - Specifies the component's text and `icon` color.
|
|
9
9
|
* @cssproperty [--calcite-combobox-text-color-hover] - Specifies the component's text and `icon` color when hovered.
|
|
10
|
-
* @cssproperty [--calcite-combobox-item-background-color-active] -
|
|
10
|
+
* @cssproperty [--calcite-combobox-item-background-color-active] - When `active`, specifies the component's background color.
|
|
11
11
|
* @cssproperty [--calcite-combobox-item-background-color-hover] - Specifies the component's background color when hovered.
|
|
12
12
|
* @cssproperty [--calcite-combobox-item-shadow] - Specifies the component's shadow.
|
|
13
|
-
* @cssproperty [--calcite-combobox-selected-icon-color] - Specifies the component's selected indicator icon color.
|
|
13
|
+
* @cssproperty [--calcite-combobox-selected-icon-color] - Specifies the component's `selected` indicator icon color.
|
|
14
14
|
* @cssproperty [--calcite-combobox-description-text-color] - Specifies the component's `description` and `shortHeading` text color.
|
|
15
15
|
* @cssproperty [--calcite-combobox-description-text-color-press] - Specifies the component's `description` and `shortHeading` text color when hovered.
|
|
16
16
|
* @cssproperty [--calcite-combobox-heading-text-color] - Specifies the component's `heading` text color.
|
|
@@ -25,12 +25,12 @@ export abstract class ComboboxItem extends LitElement {
|
|
|
25
25
|
* @default false
|
|
26
26
|
*/
|
|
27
27
|
accessor active: boolean;
|
|
28
|
-
/** Specifies the parent and grandparent
|
|
28
|
+
/** Specifies the parent and grandparent `calcite-combobox-item`s, which are set on `calcite-combobox`. */
|
|
29
29
|
accessor ancestors: ComboboxChildElement[];
|
|
30
30
|
/** Specifies a description for the component. Displays below the heading. */
|
|
31
31
|
accessor description: string;
|
|
32
32
|
/**
|
|
33
|
-
* When `true`, interaction
|
|
33
|
+
* When `true`, prevents interaction and decreases the component's opacity.
|
|
34
34
|
*
|
|
35
35
|
* @default false
|
|
36
36
|
*/
|
|
@@ -52,14 +52,14 @@ export abstract class ComboboxItem extends LitElement {
|
|
|
52
52
|
/** Specifies an icon to display. */
|
|
53
53
|
accessor icon: IconName;
|
|
54
54
|
/**
|
|
55
|
-
* When `true
|
|
55
|
+
* When `true` and the element direction is right-to-left (`"rtl"`), flips the component`s `icon`.
|
|
56
56
|
*
|
|
57
57
|
* @default false
|
|
58
58
|
*/
|
|
59
59
|
accessor iconFlipRtl: boolean;
|
|
60
60
|
/** Specifies an accessible label for the component. */
|
|
61
61
|
accessor label: any;
|
|
62
|
-
/**
|
|
62
|
+
/** Specifies additional metadata to the component for use in filtering. */
|
|
63
63
|
accessor metadata: Record<string, unknown>;
|
|
64
64
|
/**
|
|
65
65
|
* When `true`, the component is selected.
|
|
@@ -68,7 +68,7 @@ export abstract class ComboboxItem extends LitElement {
|
|
|
68
68
|
*/
|
|
69
69
|
accessor selected: boolean;
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* Specifies the component's short heading.
|
|
72
72
|
*
|
|
73
73
|
* When provided, the short heading will be displayed in the component's selection.
|
|
74
74
|
*
|
|
@@ -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, nothing } from "lit";
|
|
@@ -3,8 +3,8 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
|
3
3
|
import type { ComboboxChildElement } from "../calcite-combobox/interfaces.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* @cssproperty [--calcite-combobox-item-group-text-color] - Specifies the text color
|
|
7
|
-
* @cssproperty [--calcite-combobox-item-group-border-color] - Specifies the border color
|
|
6
|
+
* @cssproperty [--calcite-combobox-item-group-text-color] - Specifies the component's text color.
|
|
7
|
+
* @cssproperty [--calcite-combobox-item-group-border-color] - Specifies the component's border color.
|
|
8
8
|
* @slot - A slot for adding `calcite-combobox-item`s.
|
|
9
9
|
*/
|
|
10
10
|
export abstract class ComboboxItemGroup extends LitElement {
|
|
@@ -17,7 +17,7 @@ export abstract class ComboboxItemGroup extends LitElement {
|
|
|
17
17
|
*/
|
|
18
18
|
accessor label: string;
|
|
19
19
|
/**
|
|
20
|
-
* Specifies the position
|
|
20
|
+
* Specifies the group's position in the `calcite-combobox` menu.
|
|
21
21
|
*
|
|
22
22
|
* @default 0
|
|
23
23
|
* @internal
|
|
@@ -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, safeStyleMap, nothing } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.87 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, isServer, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.87 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.87 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.js";
|
|
6
6
|
import { keyed } from "lit/directives/keyed.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.87 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { live } from "lit/directives/live.js";
|
|
6
6
|
import { h as calciteSpacingXxs, i as calciteSpacingBase, j as calciteSpacingSm } from "../../chunks/global.js";
|
|
@@ -222,6 +222,18 @@ export abstract class Dialog extends LitElement {
|
|
|
222
222
|
* @param extraContainers - Additional elements to include in the focus trap. This is useful for including elements that may have related parts rendered outside the main focus trapping element.
|
|
223
223
|
*/
|
|
224
224
|
updateFocusTrapElements(extraContainers?: FocusTrapOptions["extraContainers"]): Promise<void>;
|
|
225
|
+
/**
|
|
226
|
+
* Updates the dialog's inline and/or block size via method call.
|
|
227
|
+
*
|
|
228
|
+
* Use this method to programmatically override the dialog's width (inline) and/or height (block).
|
|
229
|
+
* Pass `null` to clear the override and revert to the default or CSS variable size.
|
|
230
|
+
*
|
|
231
|
+
* @param size
|
|
232
|
+
*/
|
|
233
|
+
updateSize(size: {
|
|
234
|
+
inline?: number | null;
|
|
235
|
+
block?: number | null;
|
|
236
|
+
}): Promise<void>;
|
|
225
237
|
/** Fires when the component is requested to be closed and before the closing transition begins. */
|
|
226
238
|
readonly calciteDialogBeforeClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
227
239
|
/** Fires when the component is added to the DOM but not rendered, and before the opening transition begins. */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.87 */
|
|
4
4
|
import { b as resizeShiftStep, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
|
-
import { i as interact } from "../../chunks/
|
|
6
|
+
import { u as useSizeOverride, i as interact } from "../../chunks/useSizeOverride.js";
|
|
7
7
|
import { css, html } from "lit";
|
|
8
8
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
9
9
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
@@ -11,7 +11,7 @@ import { a as getStylePixelValue } from "../../chunks/dom.js";
|
|
|
11
11
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
12
12
|
import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
|
|
13
13
|
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
14
|
-
import { S as SLOTS$1 } from "../../chunks/
|
|
14
|
+
import { S as SLOTS$1 } from "../../chunks/resources6.js";
|
|
15
15
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
16
16
|
import { u as useFocusTrap } from "../../chunks/useFocusTrap.js";
|
|
17
17
|
import { u as usePreventDocumentScroll } from "../../chunks/usePreventDocumentScroll.js";
|
|
@@ -71,8 +71,17 @@ class Dialog extends LitElement {
|
|
|
71
71
|
this.panelRef = createRef();
|
|
72
72
|
this.popoverRef = createRef();
|
|
73
73
|
this.resizePosition = { ...initialResizePosition };
|
|
74
|
+
this.transitionEl = null;
|
|
74
75
|
this.messages = useT9n();
|
|
75
76
|
this.focusSetter = useSetFocus()(this);
|
|
77
|
+
this.sizeOverride = useSizeOverride({
|
|
78
|
+
targetElement: () => ({ value: this.transitionEl }),
|
|
79
|
+
getBounds: () => ({
|
|
80
|
+
inline: { min: this.resizeValues.minInlineSize, max: this.resizeValues.maxInlineSize },
|
|
81
|
+
block: { min: this.resizeValues.minBlockSize, max: this.resizeValues.maxBlockSize }
|
|
82
|
+
}),
|
|
83
|
+
fullscreenDisabled: () => this.fullscreenDisabled
|
|
84
|
+
});
|
|
76
85
|
this.topLayer = useTopLayer({
|
|
77
86
|
disabledOverride: () => this.embedded,
|
|
78
87
|
target: this.popoverRef
|
|
@@ -82,6 +91,14 @@ class Dialog extends LitElement {
|
|
|
82
91
|
this.hasContentTop = false;
|
|
83
92
|
this.hasFooter = true;
|
|
84
93
|
this.opened = false;
|
|
94
|
+
this.resizeValues = {
|
|
95
|
+
inlineSize: null,
|
|
96
|
+
blockSize: null,
|
|
97
|
+
minInlineSize: null,
|
|
98
|
+
minBlockSize: null,
|
|
99
|
+
maxInlineSize: null,
|
|
100
|
+
maxBlockSize: null
|
|
101
|
+
};
|
|
85
102
|
this.closeDisabled = false;
|
|
86
103
|
this.dragEnabled = false;
|
|
87
104
|
this.embedded = false;
|
|
@@ -106,7 +123,7 @@ class Dialog extends LitElement {
|
|
|
106
123
|
this.calciteDialogScroll = createEvent({ cancelable: false });
|
|
107
124
|
}
|
|
108
125
|
static {
|
|
109
|
-
this.properties = { assistiveText: [16, {}, { state: true }], hasContentBottom: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], hasFooter: [16, {}, { state: true }], opened: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], closeDisabled: [7, {}, { reflect: true, type: Boolean }], description: 1, dragEnabled: [7, {}, { reflect: true, type: Boolean }], embedded: [7, {}, { reflect: true, type: Boolean }], escapeDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapOptions: [0, {}, { attribute: false }], fullscreenDisabled: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], kind: [3, {}, { reflect: true }], icon: [3, { type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], menuOpen: [7, {}, { reflect: true, type: Boolean }], messageOverrides: [0, {}, { attribute: false }], modal: [7, {}, { reflect: true, type: Boolean }], focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], open: [7, {}, { reflect: true, type: Boolean }], outsideCloseDisabled: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], placement: [3, {}, { reflect: true }], resizable: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], widthScale: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }] };
|
|
126
|
+
this.properties = { assistiveText: [16, {}, { state: true }], hasContentBottom: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], hasFooter: [16, {}, { state: true }], opened: [16, {}, { state: true }], resizeValues: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], closeDisabled: [7, {}, { reflect: true, type: Boolean }], description: 1, dragEnabled: [7, {}, { reflect: true, type: Boolean }], embedded: [7, {}, { reflect: true, type: Boolean }], escapeDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapOptions: [0, {}, { attribute: false }], fullscreenDisabled: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], kind: [3, {}, { reflect: true }], icon: [3, { type: String }, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], menuOpen: [7, {}, { reflect: true, type: Boolean }], messageOverrides: [0, {}, { attribute: false }], modal: [7, {}, { reflect: true, type: Boolean }], focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], open: [7, {}, { reflect: true, type: Boolean }], outsideCloseDisabled: [7, {}, { reflect: true, type: Boolean }], overlayPositioning: [3, {}, { reflect: true }], placement: [3, {}, { reflect: true }], resizable: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], widthScale: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }] };
|
|
110
127
|
}
|
|
111
128
|
static {
|
|
112
129
|
this.styles = styles;
|
|
@@ -133,6 +150,9 @@ class Dialog extends LitElement {
|
|
|
133
150
|
this.focusTrap.setExtraContainers(extraContainers);
|
|
134
151
|
this.focusTrap.updateContainerElements();
|
|
135
152
|
}
|
|
153
|
+
async updateSize(size) {
|
|
154
|
+
this.updateSizeInternal(size);
|
|
155
|
+
}
|
|
136
156
|
connectedCallback() {
|
|
137
157
|
super.connectedCallback();
|
|
138
158
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
@@ -215,7 +235,7 @@ class Dialog extends LitElement {
|
|
|
215
235
|
name: "resize"
|
|
216
236
|
});
|
|
217
237
|
}
|
|
218
|
-
|
|
238
|
+
getTransitionRefDOMRect() {
|
|
219
239
|
return this.transitionEl.getBoundingClientRect();
|
|
220
240
|
}
|
|
221
241
|
handleKeyDown(event) {
|
|
@@ -230,13 +250,12 @@ class Dialog extends LitElement {
|
|
|
230
250
|
if (shiftKey && resizable && transitionEl) {
|
|
231
251
|
const { minBlockSize } = window.getComputedStyle(transitionEl);
|
|
232
252
|
const minHeight = getStylePixelValue(minBlockSize);
|
|
233
|
-
const height = this.
|
|
253
|
+
const height = this.getTransitionRefDOMRect().height;
|
|
234
254
|
if (height <= minHeight) {
|
|
235
255
|
return;
|
|
236
256
|
}
|
|
237
|
-
this.
|
|
238
|
-
|
|
239
|
-
type: "blockSize"
|
|
257
|
+
this.updateSizeInternal({
|
|
258
|
+
block: height - resizeShiftStep
|
|
240
259
|
});
|
|
241
260
|
resizePosition.bottom -= resizeShiftStep;
|
|
242
261
|
this.updateTransform();
|
|
@@ -251,9 +270,8 @@ class Dialog extends LitElement {
|
|
|
251
270
|
break;
|
|
252
271
|
case "ArrowDown":
|
|
253
272
|
if (shiftKey && resizable && transitionEl) {
|
|
254
|
-
this.
|
|
255
|
-
|
|
256
|
-
type: "blockSize"
|
|
273
|
+
this.updateSizeInternal({
|
|
274
|
+
block: this.getTransitionRefDOMRect().height + resizeShiftStep
|
|
257
275
|
});
|
|
258
276
|
resizePosition.bottom += resizeShiftStep;
|
|
259
277
|
this.updateTransform();
|
|
@@ -270,13 +288,12 @@ class Dialog extends LitElement {
|
|
|
270
288
|
if (shiftKey && resizable && transitionEl) {
|
|
271
289
|
const { minInlineSize } = window.getComputedStyle(transitionEl);
|
|
272
290
|
const minWidth = getStylePixelValue(minInlineSize);
|
|
273
|
-
const width = this.
|
|
291
|
+
const width = this.getTransitionRefDOMRect().width;
|
|
274
292
|
if (width <= minWidth) {
|
|
275
293
|
return;
|
|
276
294
|
}
|
|
277
|
-
this.
|
|
278
|
-
|
|
279
|
-
type: "inlineSize"
|
|
295
|
+
this.updateSizeInternal({
|
|
296
|
+
inline: width - resizeShiftStep
|
|
280
297
|
});
|
|
281
298
|
resizePosition.right -= resizeShiftStep;
|
|
282
299
|
this.updateTransform();
|
|
@@ -291,9 +308,8 @@ class Dialog extends LitElement {
|
|
|
291
308
|
break;
|
|
292
309
|
case "ArrowRight":
|
|
293
310
|
if (shiftKey && resizable && transitionEl) {
|
|
294
|
-
this.
|
|
295
|
-
|
|
296
|
-
type: "inlineSize"
|
|
311
|
+
this.updateSizeInternal({
|
|
312
|
+
inline: this.getTransitionRefDOMRect().width + resizeShiftStep
|
|
297
313
|
});
|
|
298
314
|
resizePosition.right += resizeShiftStep;
|
|
299
315
|
this.updateTransform();
|
|
@@ -320,19 +336,14 @@ class Dialog extends LitElement {
|
|
|
320
336
|
const { top, right, bottom, left } = this.getAdjustedResizePosition(resizePosition);
|
|
321
337
|
const translateX = Math.round(x + left + right);
|
|
322
338
|
const translateY = Math.round(y + top + bottom);
|
|
323
|
-
transitionEl.style.transform = translateX || translateY ? `translate(${translateX}px, ${translateY}px)` : null;
|
|
324
|
-
}
|
|
325
|
-
updateSize({ type, size }) {
|
|
326
|
-
const { transitionEl } = this;
|
|
327
|
-
if (!transitionEl) {
|
|
328
|
-
return;
|
|
329
|
-
}
|
|
330
|
-
transitionEl.style[type] = size !== null ? `${Math.round(size)}px` : null;
|
|
339
|
+
this.transitionEl.style.transform = translateX || translateY ? `translate(${translateX}px, ${translateY}px)` : null;
|
|
331
340
|
}
|
|
332
341
|
cleanupInteractions() {
|
|
333
342
|
this.interaction?.unset();
|
|
334
|
-
this.
|
|
335
|
-
|
|
343
|
+
this.updateSizeInternal({
|
|
344
|
+
inline: null,
|
|
345
|
+
block: null
|
|
346
|
+
});
|
|
336
347
|
this.dragPosition = { ...initialDragPosition };
|
|
337
348
|
this.resizePosition = { ...initialResizePosition };
|
|
338
349
|
this.updateTransform();
|
|
@@ -348,7 +359,7 @@ class Dialog extends LitElement {
|
|
|
348
359
|
}
|
|
349
360
|
if (resizable) {
|
|
350
361
|
await this.el.componentOnReady();
|
|
351
|
-
const { minInlineSize, minBlockSize, maxInlineSize, maxBlockSize } = window.getComputedStyle(transitionEl);
|
|
362
|
+
const { minInlineSize, minBlockSize, maxInlineSize, maxBlockSize } = window.getComputedStyle(this.transitionEl);
|
|
352
363
|
this.interaction.resizable({
|
|
353
364
|
edges: {
|
|
354
365
|
top: true,
|
|
@@ -379,8 +390,10 @@ class Dialog extends LitElement {
|
|
|
379
390
|
resizePosition.bottom += deltaRect.bottom;
|
|
380
391
|
resizePosition.left += deltaRect.left;
|
|
381
392
|
}
|
|
382
|
-
this.
|
|
383
|
-
|
|
393
|
+
this.updateSizeInternal({
|
|
394
|
+
inline: rect.width,
|
|
395
|
+
block: rect.height
|
|
396
|
+
});
|
|
384
397
|
this.updateTransform();
|
|
385
398
|
}
|
|
386
399
|
}
|
|
@@ -468,6 +481,22 @@ class Dialog extends LitElement {
|
|
|
468
481
|
handleMutationObserver() {
|
|
469
482
|
this.focusTrap.updateContainerElements();
|
|
470
483
|
}
|
|
484
|
+
updateSizeInternal(size) {
|
|
485
|
+
const dialogElement = this.transitionEl;
|
|
486
|
+
if (!dialogElement) {
|
|
487
|
+
return;
|
|
488
|
+
}
|
|
489
|
+
const appliedSize = this.sizeOverride.resize(size);
|
|
490
|
+
this.resizeValues = {
|
|
491
|
+
...this.resizeValues,
|
|
492
|
+
...appliedSize.inline !== void 0 && {
|
|
493
|
+
inlineSize: appliedSize.inline
|
|
494
|
+
},
|
|
495
|
+
...appliedSize.block !== void 0 && {
|
|
496
|
+
blockSize: appliedSize.block
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
}
|
|
471
500
|
render() {
|
|
472
501
|
const { assistiveText, description, heading, opened, icon, iconFlipRtl } = this;
|
|
473
502
|
return html`<div .ariaDescription=${description} .ariaLabel=${heading} .ariaModal=${this.modal} class=${safeClassMap({
|
|
@@ -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, nothing, html } from "lit";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.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 { c as createObserver } from "../../chunks/observers.js";
|
|
8
|
-
import { C as CSS$1 } from "../../chunks/
|
|
8
|
+
import { C as CSS$1 } from "../../chunks/resources7.js";
|
|
9
9
|
const CSS = {
|
|
10
10
|
title: "title",
|
|
11
11
|
firstTitle: "first-title",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.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";
|
|
@@ -9,7 +9,7 @@ import { t as toAriaBoolean } from "../../chunks/dom.js";
|
|
|
9
9
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
10
10
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
11
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
12
|
-
import { C as CSS, I as ICONS } from "../../chunks/
|
|
12
|
+
import { C as CSS, I as ICONS } from "../../chunks/resources7.js";
|
|
13
13
|
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;flex-grow:1;align-items:center;outline:2px solid transparent;outline-offset:2px}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1));text-align:start}.container a{outline:none;position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1))}.content{flex:1 1 auto}.icon{position:relative;opacity:0;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:scale(.9)}.icon--start,.icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color, var(--calcite-color-text-3))}:host([scale=s]) .container{padding-block:.25rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s]) .icon,:host([scale=s]) .icon--start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .icon--end{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-block:.5rem;padding-inline:.75rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) .icon,:host([scale=m]) .icon--start{padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .icon--end{padding-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-block:.625rem;padding-inline:1rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .icon,:host([scale=l]) .icon--start{padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .icon--end{padding-inline-start:var(--calcite-spacing-lg)}:host(:focus) .container{text-decoration-line:none;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:hover:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-hover, var(--calcite-color-foreground-2))}:host(:active:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-press, var(--calcite-color-foreground-3))}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{text-decoration-line:none;color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .icon--start,:host(:hover:not([disabled])) .icon--end,:host(:active:not([disabled])) .icon--start,:host(:active:not([disabled])) .icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .link,:host(:active:not([disabled])) .link{color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host([selected]) .container:not(.container--none-selection),:host([selected]) .link{font-weight:var(--calcite-font-weight-medium);--calcite-internal-dropdown-item-text-color: var( --calcite-dropdown-item-text-color-press, var(--calcite-color-text-1) );color:var(--calcite-internal-dropdown-item-text-color)}:host([selected]) .container:not(.container--none-selection) .icon,:host([selected]) .link .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-press, var(--calcite-color-brand))}:host([selected]) .container:not(.container--none-selection) .icon--start,:host([selected]) .container:not(.container--none-selection) .icon--end,:host([selected]) .link .icon--start,:host([selected]) .link .icon--end{--calcite-icon-color: var(--calcite-internal-dropdown-item-text-color)}:host(:hover:not([disabled])) .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-hover)}:host([selected]) .icon{opacity:1}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
|
|
14
14
|
class DropdownItem extends LitElement {
|
|
15
15
|
constructor() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.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 { 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 { css, html } from "lit";
|
|
6
6
|
import { LitElement, safeClassMap } from "@arcgis/lumina";
|
|
@@ -1,13 +1,13 @@
|
|
|
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, nothing, html } from "lit";
|
|
7
7
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
8
8
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
9
9
|
import { g as getElementDir } from "../../chunks/dom.js";
|
|
10
|
-
import { S as SLOTS$1 } from "../../chunks/
|
|
10
|
+
import { S as SLOTS$1 } from "../../chunks/resources6.js";
|
|
11
11
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
12
12
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
13
13
|
import { u as useInteractive } from "../../chunks/useInteractive.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, svg } 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, nothing, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
@@ -9,19 +9,19 @@ import type { IconName } from "./interfaces.js";
|
|
|
9
9
|
*/
|
|
10
10
|
export abstract class Icon extends LitElement {
|
|
11
11
|
/**
|
|
12
|
-
* When `true
|
|
12
|
+
* When `true` and the element direction is right-to-left (`"rtl"`), flips the component's `icon`.
|
|
13
13
|
*
|
|
14
14
|
* @default false
|
|
15
15
|
*/
|
|
16
16
|
accessor flipRtl: boolean;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Specifies an icon to display.
|
|
19
19
|
*
|
|
20
20
|
* @see [Calcite UI Icons](https://developers.arcgis.com/calcite-design-system/icons).
|
|
21
21
|
*/
|
|
22
22
|
accessor icon: IconName;
|
|
23
23
|
/**
|
|
24
|
-
* When `true`,
|
|
24
|
+
* When `true`, preloads the `icon` data.
|
|
25
25
|
*
|
|
26
26
|
* @default false
|
|
27
27
|
*/
|
|
@@ -33,7 +33,7 @@ export abstract class Icon extends LitElement {
|
|
|
33
33
|
*/
|
|
34
34
|
accessor scale: Scale;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Specifies the component's accessible name.
|
|
37
37
|
*
|
|
38
38
|
* It is recommended to set this value if your icon is semantic.
|
|
39
39
|
*/
|
|
@@ -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 { g as getAssetPath, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, isServer, nothing, svg, html } from "lit";
|
|
6
6
|
import { LitElement, safeClassMap } from "@arcgis/lumina";
|
|
@@ -5,29 +5,29 @@ import type { Scale } from "../interfaces.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* @cssproperty [--calcite-inline-editable-background-color-hover] - Specifies the component's background color when hovered.
|
|
7
7
|
* @cssproperty [--calcite-inline-editable-background-color] - Specifies the component's background color.
|
|
8
|
-
* @cssproperty [--calcite-inline-editable-button-background-color] -
|
|
9
|
-
* @cssproperty [--calcite-inline-editable-button-corner-radius] - Specifies the
|
|
10
|
-
* @cssproperty [--calcite-inline-editable-button-loader-color] - Specifies the
|
|
11
|
-
* @cssproperty [--calcite-inline-editable-button-text-color] - Specifies the
|
|
8
|
+
* @cssproperty [--calcite-inline-editable-button-background-color] - When `appearance="solid"` or `appearance="outline-fill"`, specifies the background color of the component's button element.
|
|
9
|
+
* @cssproperty [--calcite-inline-editable-button-corner-radius] - Specifies the corner radius of the component's button element.
|
|
10
|
+
* @cssproperty [--calcite-inline-editable-button-loader-color] - Specifies the loader color of the components's button element.
|
|
11
|
+
* @cssproperty [--calcite-inline-editable-button-text-color] - Specifies the text color of the component's button element.
|
|
12
12
|
* @slot - A slot for adding a `calcite-input`.
|
|
13
13
|
*/
|
|
14
14
|
export abstract class InlineEditable extends LitElement {
|
|
15
15
|
/** Specifies a callback to be executed prior to disabling editing via the controls. When provided, the component's loading state will be handled automatically. */
|
|
16
16
|
accessor afterConfirm: () => Promise<void>;
|
|
17
17
|
/**
|
|
18
|
-
* When `true` and `editingEnabled` is `true`, displays save and cancel controls
|
|
18
|
+
* When `true` and `editingEnabled` is `true`, displays save and cancel controls.
|
|
19
19
|
*
|
|
20
20
|
* @default false
|
|
21
21
|
*/
|
|
22
22
|
accessor controls: boolean;
|
|
23
23
|
/**
|
|
24
|
-
* When `true`, interaction
|
|
24
|
+
* When `true`, prevents interaction and decreases the component's opacity.
|
|
25
25
|
*
|
|
26
26
|
* @default false
|
|
27
27
|
*/
|
|
28
28
|
accessor disabled: boolean;
|
|
29
29
|
/**
|
|
30
|
-
* When `true`, inline editing is enabled
|
|
30
|
+
* When `true`, inline editing is enabled.
|
|
31
31
|
*
|
|
32
32
|
* @default false
|
|
33
33
|
*/
|
|
@@ -57,9 +57,9 @@ export abstract class InlineEditable extends LitElement {
|
|
|
57
57
|
* @mdn [focus(options)](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#options)
|
|
58
58
|
*/
|
|
59
59
|
setFocus(options?: FocusOptions): Promise<void>;
|
|
60
|
-
/**
|
|
60
|
+
/** Fires when the component's "cancel editing" button is pressed. */
|
|
61
61
|
readonly calciteInlineEditableEditCancel: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
62
|
-
/**
|
|
62
|
+
/** Fires when the component's "confirm edits" button is pressed. */
|
|
63
63
|
readonly calciteInlineEditableEditConfirm: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
64
64
|
readonly "@eventTypes": {
|
|
65
65
|
calciteInlineEditableEditCancel: InlineEditable["calciteInlineEditableEditCancel"]["detail"];
|