@esri/calcite-components 5.0.0-next.42 → 5.0.0-next.44
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/{5HSQZZ6I.js → 23UV53KP.js} +1 -1
- package/dist/cdn/{BVKF5Z4N.js → 2IYXTOUJ.js} +2 -2
- package/dist/cdn/{A55MJZU3.js → 2J7CUUYV.js} +1 -1
- package/dist/cdn/{D3YB6QBR.js → 2LKXWZTF.js} +1 -1
- package/dist/cdn/{UBR7HISC.js → 2NXRB2V4.js} +2 -2
- package/dist/cdn/{3HHKX2UM.js → 2PIHEC7P.js} +2 -2
- package/dist/cdn/{D3ZJNKIO.js → 2PLYCTLU.js} +2 -2
- package/dist/cdn/{6MP247AX.js → 2TMUZKYR.js} +2 -2
- package/dist/cdn/{QFYVBRNU.js → 2VIZUABI.js} +2 -2
- package/dist/cdn/{J4QL5YFU.js → 2X3LLO4M.js} +2 -2
- package/dist/cdn/{WUWLZBUZ.js → 34I3GECS.js} +2 -2
- package/dist/cdn/{3ALZN3QV.js → 3CN6PILA.js} +2 -2
- package/dist/cdn/{F34YNTRZ.js → 3EY6KNGN.js} +2 -2
- package/dist/cdn/{JHMBNW2M.js → 3HXXSPLH.js} +2 -2
- package/dist/cdn/{ADO3WONJ.js → 3XRVW5XI.js} +2 -2
- package/dist/cdn/{YEXS4OU5.js → 4BJFEDFH.js} +2 -2
- package/dist/cdn/{ENRTNSMA.js → 4DABY4G5.js} +2 -2
- package/dist/cdn/{TZ2QSBMI.js → 4H4CU3JY.js} +2 -2
- package/dist/cdn/{KJLBZMVL.js → 4JEG52DL.js} +2 -2
- package/dist/cdn/{3OKIWZP2.js → 4PPRZIR4.js} +1 -1
- package/dist/cdn/{ZAVWP7QX.js → 4RR6OMGC.js} +2 -2
- package/dist/cdn/{D5PH627C.js → 5UB2DVGV.js} +2 -2
- package/dist/cdn/{UXC7QTTA.js → 6HC4SXW5.js} +2 -2
- package/dist/cdn/{MLRLM4R6.js → 6OSQIVTG.js} +1 -1
- package/dist/cdn/{NT3T35QB.js → 6SRTEQP5.js} +2 -2
- package/dist/cdn/{XWTHZS6T.js → 6VANTJZ5.js} +2 -2
- package/dist/cdn/{SKGTZXQT.js → 6X5N2657.js} +2 -2
- package/dist/cdn/{MI2NJXEI.js → 72TN2TQO.js} +2 -2
- package/dist/cdn/{57APXNYQ.js → 7ETCOUPC.js} +2 -2
- package/dist/cdn/{BPGGXUR3.js → A4D723TO.js} +2 -2
- package/dist/cdn/{TFD3FOJG.js → A7UZ3H4A.js} +2 -2
- package/dist/cdn/{UFT6NZOC.js → AB4JKXQH.js} +2 -2
- package/dist/cdn/{DWDD35YJ.js → ACAG5MFG.js} +2 -2
- package/dist/cdn/{2XKCXS7T.js → ASBP7YZI.js} +2 -2
- package/dist/cdn/{PITX5WBK.js → AUL7ODET.js} +2 -2
- package/dist/cdn/{JP65ZLSX.js → AXWN3PY2.js} +2 -2
- package/dist/cdn/{L5V4SCMB.js → B4JNGIWT.js} +2 -2
- package/dist/cdn/{CMO6WIEI.js → BIOCTUVT.js} +2 -2
- package/dist/cdn/{RBCU26GV.js → BK75L4XH.js} +2 -2
- package/dist/cdn/{ZDT32ONG.js → BLINBFDF.js} +2 -2
- package/dist/cdn/BLOVBLZW.js +4 -0
- package/dist/cdn/BMNHPD3E.js +4 -0
- package/dist/cdn/BVNQVUGO.js +4 -0
- package/dist/cdn/{BCXELWC5.js → BXFSTAJ6.js} +2 -2
- package/dist/cdn/{EAKIT4G6.js → BYBGTFMM.js} +2 -2
- package/dist/cdn/{SGE2RHXU.js → C3FDKVUP.js} +2 -2
- package/dist/cdn/{A2IMAYBC.js → CAJRUHZD.js} +2 -2
- package/dist/cdn/CGJQR3QY.js +4 -0
- package/dist/cdn/{W5GANGWK.js → CGK3OHVM.js} +2 -2
- package/dist/cdn/{X3FP6IFT.js → CIJQ3WIO.js} +2 -2
- package/dist/cdn/{LJ3OOPM6.js → CO6TFVDF.js} +2 -2
- package/dist/cdn/{QSERRJOC.js → CPZEGSG7.js} +2 -2
- package/dist/cdn/{ISW4AOAL.js → D2CHPDAA.js} +2 -2
- package/dist/cdn/{EEA3QACR.js → D3IGHVRV.js} +2 -2
- package/dist/cdn/{C6USIFNP.js → D3MRZUSD.js} +1 -1
- package/dist/cdn/{AD3QRNSG.js → D3PSHU4K.js} +1 -1
- package/dist/cdn/{GFMMCZUL.js → DJF5I4RF.js} +2 -2
- package/dist/cdn/{DP3B5GGR.js → DJGNP3Z3.js} +1 -1
- package/dist/cdn/{7LVOTGQJ.js → DOQCMZVU.js} +2 -2
- package/dist/cdn/{AZ3YUDSY.js → DPKJYIG3.js} +1 -1
- package/dist/cdn/{O5K37IMN.js → E2V3PSLU.js} +2 -2
- package/dist/cdn/{7UMP65VG.js → E5TTWUGD.js} +2 -2
- package/dist/cdn/{3ATYIQEH.js → ECO2LJ2S.js} +1 -1
- package/dist/cdn/{WGFBF23H.js → EFVM5NL5.js} +2 -2
- package/dist/cdn/{R4UTKNVJ.js → ELFPVM7W.js} +1 -1
- package/dist/cdn/{RUFIIXCK.js → EQ6BUJVI.js} +2 -2
- package/dist/cdn/{CQVEG375.js → EUQQPK4T.js} +2 -2
- package/dist/cdn/{OX63E6VR.js → EVAUP7O3.js} +2 -2
- package/dist/cdn/{OGIU25VP.js → FEU3HTDL.js} +2 -2
- package/dist/cdn/{TLC4FZAY.js → FN7BU27K.js} +2 -2
- package/dist/cdn/{M5WHWTGU.js → FP65ICZD.js} +2 -2
- package/dist/cdn/{54SAHHUH.js → FX4POH6P.js} +2 -2
- package/dist/cdn/{GVXIVTOX.js → FXXR5IKQ.js} +2 -2
- package/dist/cdn/{5JUFKJG6.js → G7PDQDYI.js} +2 -2
- package/dist/cdn/{OZXZOOZE.js → GDVZZZLX.js} +2 -2
- package/dist/cdn/{EZEEQJZF.js → GH627BJO.js} +2 -2
- package/dist/cdn/{6W65U5UC.js → GMAXS2QW.js} +1 -1
- package/dist/cdn/{GGCWNA5B.js → GODWYIYK.js} +2 -2
- package/dist/cdn/{QAC5TNDN.js → GYAF26QR.js} +2 -2
- package/dist/cdn/{TY5PJ7BT.js → H6RRYCIB.js} +2 -2
- package/dist/cdn/{DTCXU2FZ.js → HAKDZB2C.js} +2 -2
- package/dist/cdn/HB3AJQTL.js +4 -0
- package/dist/cdn/{SSD3GT6H.js → HBTM4QWC.js} +2 -2
- package/dist/cdn/{3UKZDMLT.js → HGOBRR65.js} +2 -2
- package/dist/cdn/{2LPLK43H.js → HNPV3F7S.js} +2 -2
- package/dist/cdn/{2RHGP2BB.js → HW2MYGNS.js} +1 -1
- package/dist/cdn/{MNVMAVUU.js → HWMXCSXD.js} +2 -2
- package/dist/cdn/{SABUPTUI.js → I3LFDS66.js} +2 -2
- package/dist/cdn/{BH5DFJ4I.js → IES4UPUR.js} +2 -2
- package/dist/cdn/IEXWQT4O.js +4 -0
- package/dist/cdn/{UDUKHFQX.js → IG67IZWG.js} +2 -2
- package/dist/cdn/{JW6SIKNQ.js → IHBESE5M.js} +1 -1
- package/dist/cdn/{ABX47VYT.js → IMUVXBOR.js} +2 -2
- package/dist/cdn/{YDIEZHW7.js → INQCCPQL.js} +2 -2
- package/dist/cdn/{QJM5XN44.js → IQIKGRX3.js} +2 -2
- package/dist/cdn/{EQDVY5HU.js → IVBUOPKW.js} +2 -2
- package/dist/cdn/{XO3Y4QM6.js → J4PVQJZE.js} +2 -2
- package/dist/cdn/{2OBDAYIO.js → JBN24SIO.js} +2 -2
- package/dist/cdn/{44IJ6EGX.js → JNDTMIV3.js} +2 -2
- package/dist/cdn/{UAHSZ7VC.js → JXHNOUAJ.js} +2 -2
- package/dist/cdn/KEY64ARO.js +4 -0
- package/dist/cdn/{2554YA4K.js → KHXIMGQZ.js} +2 -2
- package/dist/cdn/{HQK2L4YN.js → L5AZX7CH.js} +2 -2
- package/dist/cdn/{B3N3NO4W.js → LIR5GVBY.js} +2 -2
- package/dist/cdn/{7S5MPBXZ.js → LJLHP4YI.js} +1 -1
- package/dist/cdn/{KN5JOJFZ.js → LMNQRTJQ.js} +2 -2
- package/dist/cdn/{OUTRNVBC.js → LRJXM7RE.js} +1 -1
- package/dist/cdn/{BPX4HD5C.js → LWOSU6PY.js} +2 -2
- package/dist/cdn/{RGXXOFKG.js → M53GSQSF.js} +2 -2
- package/dist/cdn/{ZCV3TZWO.js → M5KGIEGY.js} +2 -2
- package/dist/cdn/{SL2FDPZZ.js → MC6KHSUI.js} +2 -2
- package/dist/cdn/{G5WBDMSL.js → MFPVHPFO.js} +2 -2
- package/dist/cdn/{XWIFQXUT.js → MJXXDA4I.js} +2 -2
- package/dist/cdn/{RTJUZQYW.js → MPDNHCSU.js} +2 -2
- package/dist/cdn/{JMF477VO.js → NBO7PAWY.js} +2 -2
- package/dist/cdn/{DF3OZCUR.js → NCPR6BQ4.js} +2 -2
- package/dist/cdn/{W5GDKBBX.js → NOAXTDOH.js} +2 -2
- package/dist/cdn/{PNSLG3LE.js → NRBIASMV.js} +1 -1
- package/dist/cdn/{QQJBHLV4.js → OI4UPBA6.js} +2 -2
- package/dist/cdn/{WJ3JHBZW.js → OJBQ2NG3.js} +2 -2
- package/dist/cdn/{LNSQVOUE.js → OKF2NWED.js} +2 -2
- package/dist/cdn/{YSTGU2VS.js → OVE33CWV.js} +2 -2
- package/dist/cdn/{U74ZW3HO.js → PA3CFHVT.js} +2 -2
- package/dist/cdn/{L4SGEZAP.js → PLOIUU37.js} +2 -2
- package/dist/cdn/{PF4NTNLS.js → PMGGSKYL.js} +2 -2
- package/dist/cdn/{HG4EFFTV.js → PRXRVHVR.js} +2 -2
- package/dist/cdn/{Q6K62ZFN.js → QSZFRU5Z.js} +2 -2
- package/dist/cdn/{E5SVZ64U.js → R3OY4HQX.js} +2 -2
- package/dist/cdn/{LHY74YIV.js → R5H57S3B.js} +2 -2
- package/dist/cdn/{KPSXKHY6.js → RAWPX4VX.js} +2 -2
- package/dist/cdn/{DWVZUV2K.js → RKNBJQDA.js} +2 -2
- package/dist/cdn/RKTOZMEB.js +4 -0
- package/dist/cdn/{WCMB3VGF.js → S3KVE6FG.js} +2 -2
- package/dist/cdn/{3HLTXQ7C.js → SDX3PINU.js} +1 -1
- package/dist/cdn/{N6GTWT4X.js → SFTTZWIN.js} +1 -1
- package/dist/cdn/{UFSHGUXQ.js → SIKTMDNJ.js} +2 -2
- package/dist/cdn/{7ONQ7S46.js → SS2GSO4J.js} +2 -2
- package/dist/cdn/SXB3YXTB.js +4 -0
- package/dist/cdn/{OHRMIGQE.js → SZ3GWOKA.js} +1 -1
- package/dist/cdn/{DJIQENA6.js → T3CJM4K3.js} +2 -2
- package/dist/cdn/{SJHYP7RJ.js → T3SPMWAB.js} +2 -2
- package/dist/cdn/{ZFHNR645.js → TDEVTZGQ.js} +2 -2
- package/dist/cdn/{KWTB3LGS.js → TLPT3EHV.js} +2 -2
- package/dist/cdn/{RV5S6FYV.js → TRBPBEDE.js} +2 -2
- package/dist/cdn/{A5HYN2K4.js → TYUKWE4E.js} +2 -2
- package/dist/cdn/{4ZTYFNI3.js → UE3HYU25.js} +1 -1
- package/dist/cdn/{6JN3L7RP.js → ULLLO265.js} +2 -2
- package/dist/cdn/UMFVGR26.js +4 -0
- package/dist/cdn/{BIQQ73NX.js → UU24DDSY.js} +2 -2
- package/dist/cdn/{F6RFD4BX.js → VJBV66HR.js} +2 -2
- package/dist/cdn/{YO7QFOUA.js → VV4NZYHR.js} +1 -1
- package/dist/cdn/VY4HR37Y.js +4 -0
- package/dist/cdn/{NGVQUVW3.js → WELHT6CA.js} +2 -2
- package/dist/cdn/{3AJ655FB.js → WI7BN2HF.js} +2 -2
- package/dist/cdn/{V4BAGRZP.js → WOFXTNLU.js} +2 -2
- package/dist/cdn/{MZXKOZYQ.js → WSSVUWK6.js} +2 -2
- package/dist/cdn/{XIKLETRY.js → X2OB225E.js} +2 -2
- package/dist/cdn/{5W3BOBVI.js → XANMKD2I.js} +2 -2
- package/dist/cdn/{COZQAA3L.js → XURGKMPI.js} +2 -2
- package/dist/cdn/{KXNSNRRV.js → Y2GDSHL5.js} +2 -2
- package/dist/cdn/{HJ4D6PUM.js → YI3GWM62.js} +2 -2
- package/dist/cdn/{UPE6OZ5H.js → YI4H3JVG.js} +2 -2
- package/dist/cdn/{HF2XKFP2.js → YJRLU65H.js} +2 -2
- package/dist/cdn/{PMSZYHNI.js → YQ65TP2K.js} +2 -2
- package/dist/cdn/{S57GE7SO.js → Z4764UOR.js} +2 -2
- package/dist/cdn/{GHLU4ILO.js → Z5RROSGM.js} +2 -2
- package/dist/cdn/{RAUCZXY5.js → ZC54J25X.js} +2 -2
- package/dist/cdn/{F42OX7QJ.js → ZDREEFKF.js} +1 -1
- package/dist/cdn/{FZ7NLPPJ.js → ZISQQFSP.js} +2 -2
- package/dist/cdn/{KF6YCSGU.js → ZISZ5DDI.js} +2 -2
- package/dist/cdn/{T5QWVPQR.js → ZJ5GOXYC.js} +2 -2
- package/dist/cdn/ZLT65ZNG.js +4 -0
- package/dist/cdn/{KCPSPHKH.js → ZOFBY3Q4.js} +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/InternalLabel.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/dynamicClasses.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/header.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interact.min.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +1 -1
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/resources8.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +5 -5
- package/dist/chunks/sortable.js +1 -1
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/text.js +1 -1
- package/dist/chunks/useCancelable.js +1 -1
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/useInteractive.js +1 -1
- package/dist/chunks/usePreventDocumentScroll.js +1 -1
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useTime.js +1 -1
- package/dist/chunks/useTopLayer.js +32 -0
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action-bar/customElement.js +1 -1
- package/dist/components/calcite-action-group/customElement.js +1 -1
- package/dist/components/calcite-action-menu/customElement.js +1 -1
- package/dist/components/calcite-action-pad/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.js +11 -22
- package/dist/components/calcite-autocomplete/customElement.js +7 -14
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.js +1 -1
- package/dist/components/calcite-block-group/customElement.js +1 -1
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.js +1 -1
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-carousel/customElement.js +1 -1
- package/dist/components/calcite-carousel-item/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.js +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +7 -14
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
- package/dist/components/calcite-dialog/customElement.d.ts +9 -0
- package/dist/components/calcite-dialog/customElement.js +10 -15
- package/dist/components/calcite-dropdown/customElement.js +7 -14
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-fab/customElement.js +1 -1
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.js +1 -1
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.js +1 -1
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +1 -1
- package/dist/components/calcite-input/customElement.js +1 -1
- package/dist/components/calcite-input-date-picker/customElement.js +7 -14
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.js +1 -1
- package/dist/components/calcite-list-item/customElement.js +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.js +1 -1
- package/dist/components/calcite-menu-item/customElement.js +1 -1
- package/dist/components/calcite-meter/customElement.js +1 -1
- package/dist/components/calcite-navigation/customElement.js +1 -1
- package/dist/components/calcite-navigation-logo/customElement.js +1 -1
- package/dist/components/calcite-navigation-user/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-option/customElement.js +1 -1
- package/dist/components/calcite-option-group/customElement.js +1 -1
- package/dist/components/calcite-pagination/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.js +9 -15
- 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 +9 -0
- package/dist/components/calcite-sheet/customElement.js +13 -23
- package/dist/components/calcite-shell/customElement.js +1 -1
- package/dist/components/calcite-shell-panel/customElement.js +1 -1
- package/dist/components/calcite-slider/customElement.js +1 -1
- package/dist/components/calcite-sort-handle/customElement.js +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 +1 -1
- 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 +9 -15
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +4 -8
- package/dist/components/calcite-tree-item/resources.d.ts +0 -1
- package/dist/controllers/useTopLayer.d.ts +34 -0
- package/dist/docs/api.json +73 -1
- package/dist/docs/docs.json +55 -1
- package/dist/docs/vscode.html-custom-data.json +10 -0
- package/dist/docs/web-types.json +27 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/preact10.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +7 -7
- package/dist/cdn/2LIE4EMK.js +0 -4
- package/dist/cdn/4IRX4RO4.js +0 -4
- package/dist/cdn/5WXJVTBJ.js +0 -4
- package/dist/cdn/BD6DE52F.js +0 -4
- package/dist/cdn/GDSVJVPK.js +0 -4
- package/dist/cdn/KV72MOT4.js +0 -4
- package/dist/cdn/PR4KRPVY.js +0 -4
- package/dist/cdn/QAREFI4F.js +0 -4
- package/dist/cdn/RKTAWFRA.js +0 -4
- package/dist/cdn/WWBG6GYB.js +0 -4
- package/dist/cdn/ZV4WNZD2.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.44 */
|
|
4
4
|
import { a as resizeShiftStep, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { i as interact } from "../../chunks/interact.min.js";
|
|
@@ -16,6 +16,7 @@ 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";
|
|
18
18
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
19
|
+
import { u as useTopLayer } from "../../chunks/useTopLayer.js";
|
|
19
20
|
const CSS = {
|
|
20
21
|
dialog: "dialog",
|
|
21
22
|
panel: "panel",
|
|
@@ -72,6 +73,10 @@ class Dialog extends LitElement {
|
|
|
72
73
|
this.resizePosition = { ...initialResizePosition };
|
|
73
74
|
this.messages = useT9n();
|
|
74
75
|
this.focusSetter = useSetFocus()(this);
|
|
76
|
+
this.topLayer = useTopLayer({
|
|
77
|
+
disabledOverride: () => this.embedded,
|
|
78
|
+
target: this.popoverRef
|
|
79
|
+
})(this);
|
|
75
80
|
this.assistiveText = null;
|
|
76
81
|
this.hasContentBottom = false;
|
|
77
82
|
this.hasContentTop = false;
|
|
@@ -91,6 +96,7 @@ class Dialog extends LitElement {
|
|
|
91
96
|
this.placement = "center";
|
|
92
97
|
this.resizable = false;
|
|
93
98
|
this.scale = "m";
|
|
99
|
+
this.topLayerDisabled = false;
|
|
94
100
|
this.widthScale = "m";
|
|
95
101
|
this.calciteDialogBeforeClose = createEvent({ cancelable: false });
|
|
96
102
|
this.calciteDialogBeforeOpen = createEvent({ cancelable: false });
|
|
@@ -99,7 +105,7 @@ class Dialog extends LitElement {
|
|
|
99
105
|
this.calciteDialogScroll = createEvent({ cancelable: false });
|
|
100
106
|
}
|
|
101
107
|
static {
|
|
102
|
-
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 }], 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 }], widthScale: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }] };
|
|
108
|
+
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 }], 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 }] };
|
|
103
109
|
}
|
|
104
110
|
static {
|
|
105
111
|
this.styles = styles;
|
|
@@ -157,7 +163,7 @@ class Dialog extends LitElement {
|
|
|
157
163
|
}
|
|
158
164
|
onBeforeOpen() {
|
|
159
165
|
this.calciteDialogBeforeOpen.emit();
|
|
160
|
-
this.
|
|
166
|
+
this.topLayer.show();
|
|
161
167
|
}
|
|
162
168
|
onOpen() {
|
|
163
169
|
if (this.focusTrapDisabled) {
|
|
@@ -172,7 +178,7 @@ class Dialog extends LitElement {
|
|
|
172
178
|
onClose() {
|
|
173
179
|
this.focusTrap.deactivate();
|
|
174
180
|
this.calciteDialogClose.emit();
|
|
175
|
-
this.
|
|
181
|
+
this.topLayer.hide();
|
|
176
182
|
}
|
|
177
183
|
async setOpenState(value) {
|
|
178
184
|
if (this.beforeClose && !value) {
|
|
@@ -188,17 +194,6 @@ class Dialog extends LitElement {
|
|
|
188
194
|
}
|
|
189
195
|
this.opened = value;
|
|
190
196
|
}
|
|
191
|
-
async handlePopover() {
|
|
192
|
-
await this.componentOnReady();
|
|
193
|
-
if (this.embedded || !this.popoverRef.value) {
|
|
194
|
-
return;
|
|
195
|
-
}
|
|
196
|
-
if (this.open) {
|
|
197
|
-
this.popoverRef.value.showPopover();
|
|
198
|
-
} else {
|
|
199
|
-
this.popoverRef.value.hidePopover();
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
197
|
handleOpenedChange(value) {
|
|
203
198
|
const { transitionEl } = this;
|
|
204
199
|
if (!transitionEl) {
|
|
@@ -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.44 */
|
|
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";
|
|
@@ -15,6 +15,7 @@ import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
|
15
15
|
import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
|
|
16
16
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
17
17
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
18
|
+
import { u as useTopLayer } from "../../chunks/useTopLayer.js";
|
|
18
19
|
const SLOTS = {
|
|
19
20
|
trigger: "trigger"
|
|
20
21
|
};
|
|
@@ -50,6 +51,9 @@ class Dropdown extends LitElement {
|
|
|
50
51
|
this.resizeObserver = createObserver("resize", (entries) => this.resizeObserverCallback(entries));
|
|
51
52
|
this.focusSetter = useSetFocus()(this);
|
|
52
53
|
this.interactiveContainer = useInteractive(this);
|
|
54
|
+
this.topLayer = useTopLayer({
|
|
55
|
+
target: () => this.floatingEl
|
|
56
|
+
})(this);
|
|
53
57
|
this.closeOnSelectDisabled = false;
|
|
54
58
|
this.disabled = false;
|
|
55
59
|
this.maxItems = 0;
|
|
@@ -136,17 +140,6 @@ class Dropdown extends LitElement {
|
|
|
136
140
|
this.resizeObserver?.disconnect();
|
|
137
141
|
disconnectFloatingUI(this);
|
|
138
142
|
}
|
|
139
|
-
async handlePopover() {
|
|
140
|
-
await this.componentOnReady();
|
|
141
|
-
if (!this.floatingEl) {
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
if (this.open) {
|
|
145
|
-
this.floatingEl.showPopover();
|
|
146
|
-
} else {
|
|
147
|
-
this.floatingEl.hidePopover();
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
143
|
openHandler() {
|
|
151
144
|
if (this.disabled) {
|
|
152
145
|
return;
|
|
@@ -285,7 +278,7 @@ class Dropdown extends LitElement {
|
|
|
285
278
|
onBeforeOpen() {
|
|
286
279
|
this.focusOnFirstActiveOrDefaultItem();
|
|
287
280
|
this.calciteDropdownBeforeOpen.emit();
|
|
288
|
-
this.
|
|
281
|
+
this.topLayer.show();
|
|
289
282
|
}
|
|
290
283
|
onOpen() {
|
|
291
284
|
this.calciteDropdownOpen.emit();
|
|
@@ -296,7 +289,7 @@ class Dropdown extends LitElement {
|
|
|
296
289
|
onClose() {
|
|
297
290
|
this.calciteDropdownClose.emit();
|
|
298
291
|
hideFloatingUI(this);
|
|
299
|
-
this.
|
|
292
|
+
this.topLayer.hide();
|
|
300
293
|
}
|
|
301
294
|
setReferenceEl(el) {
|
|
302
295
|
updateRefObserver(this.resizeObserver, this.referenceEl, el);
|
|
@@ -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.44 */
|
|
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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/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.44 */
|
|
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.44 */
|
|
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,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.44 */
|
|
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";
|
|
@@ -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.44 */
|
|
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.44 */
|
|
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-html/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.44 */
|
|
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";
|
|
@@ -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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/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.44 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { live } from "lit/directives/live.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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, isServer, nothing, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/directives/ref.js";
|
|
@@ -22,6 +22,7 @@ import { s as syncHiddenFormInput } from "../../chunks/input.js";
|
|
|
22
22
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
23
23
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
24
24
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
25
|
+
import { u as useTopLayer } from "../../chunks/useTopLayer.js";
|
|
25
26
|
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 .menu-container[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}:host .menu-container:popover-open{display:block}:host .menu-container .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:0}}:host{position:relative;display:inline-block;width:100%;overflow:visible;vertical-align:top;box-shadow:var(--calcite-input-date-picker-shadow, var(--calcite-shadow-none))}:host .menu-container .calcite-floating-ui-anim{box-shadow:var(--calcite-input-date-picker-calendar-shadow, var(--calcite-shadow-sm))}:host([scale=s]){--calcite-internal-date-picker-toggle-spacing: var(--calcite-spacing-sm);--calcite-internal-input-text-input-padding-inline-end: calc(var(--calcite-internal-date-picker-toggle-spacing) + var(--calcite-spacing-lg))}:host([scale=m]){--calcite-internal-date-picker-toggle-spacing: var(--calcite-spacing-md);--calcite-internal-input-text-input-padding-inline-end: calc(var(--calcite-internal-date-picker-toggle-spacing) + var(--calcite-spacing-xxl))}:host([scale=l]){--calcite-internal-date-picker-toggle-spacing: var(--calcite-spacing-lg);--calcite-internal-input-text-input-padding-inline-end: calc(var(--calcite-internal-date-picker-toggle-spacing) + var(--calcite-spacing-xxxl))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calendar-wrapper{box-shadow:var(--calcite-input-date-picker-calendar-shadow, var(--calcite-shadow-none));transform:translateZ(0)}.input-wrapper{position:relative}.input-wrapper .chevron-icon{color:var(--calcite-input-date-picker-actions-icon-color, var(--calcite-color-text-3))}.input-wrapper:focus-within .chevron-icon,.input-wrapper:active .chevron-icon,.input-wrapper:hover .chevron-icon{color:var(--calcite-input-date-picker-actions-icon-color-hover, var(--calcite-color-text-1))}.input-wrapper:focus-within~.input-wrapper .chevron-icon,.input-wrapper:active~.input-wrapper .chevron-icon,.input-wrapper:hover~.input-wrapper .chevron-icon{color:var(--calcite-input-date-picker-actions-icon-color-hover, var(--calcite-color-text-1))}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-internal-date-picker-toggle-spacing)}:host([range]) .container{display:flex}:host([range]) .input-container{display:flex;flex:1 1 auto}:host([range]) .input-wrapper{flex:1 1 auto}.divider-container{display:flex;align-items:stretch;border-width:1px;border-left-width:0px;border-right-width:0px;border-style:solid;background-color:var(--calcite-input-date-picker-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-input-date-picker-border-color, var(--calcite-color-border-input))}:host([layout=horizontal]) .divider-container{inline-size:var(--calcite-spacing-px)}.divider{display:inline-block;margin-block:var(--calcite-spacing-xxs);background-color:var(--calcite-input-date-picker-divider-color, var(--calcite-color-border-2));inline-size:var(--calcite-spacing-px)}:host([layout=vertical]) .divider-container{height:1px;width:100%;border-top-width:0px;border-bottom-width:0px;border-left-width:1px;border-right-width:0px;padding-inline:var(--calcite-spacing-md)}:host([layout=vertical]) .divider-container .divider{margin-top:0;margin-bottom:0;height:1px;width:100%}:host([range][layout=vertical]) .input-wrapper{width:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}.menu-container{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown);inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0}@starting-style{.menu-container{opacity:0;inset-block-start:0;left:0}}.menu-container[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.menu-container:popover-open{display:block}.menu-container .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.menu-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.menu-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.menu-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.input .calcite-input__wrapper{margin-top:0}.vertical-chevron-container{display:flex;align-items:center;border-width:1px;border-left-width:0px;border-style:solid;padding-inline:var(--calcite-spacing-md);background-color:var(--calcite-input-date-picker-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-input-date-picker-border-color, var(--calcite-color-border-input))}.vertical-chevron-container calcite-icon{color:var(--calcite-input-date-picker-actions-icon-color, var(--calcite-color-text-3))}.vertical-chevron-container calcite-icon:hover{color:var(--calcite-input-date-picker-actions-icon-color-hover, var(--calcite-color-text-1))}:host([range][layout=vertical][scale=s]) .vertical-chevron-container,:host([range][layout=vertical][scale=s]) .divider-container{padding-inline:var(--calcite-spacing-sm)}:host([range][layout=vertical][scale=l]) .vertical-chevron-container,:host([range][layout=vertical][scale=l]) .divider-container{padding-inline:var(--calcite-spacing-lg)}.container:focus-within .vertical-chevron-container calcite-icon,.container:active .vertical-chevron-container calcite-icon,.container:hover .vertical-chevron-container calcite-icon{color:var(--calcite-input-date-picker-actions-icon-color-hover, var(--calcite-color-text-1))}.input{--calcite-input-text-background-color: var(--calcite-input-date-picker-background-color);--calcite-input-text-border-color: var(--calcite-input-date-picker-border-color);--calcite-input-text-corner-radius: var(--calcite-input-date-picker-corner-radius);--calcite-input-text-shadow: var(--calcite-input-date-picker-shadow);--calcite-input-text-icon-color: var(--calcite-input-date-picker-icon-color);--calcite-input-text-text-color: var(--calcite-input-date-picker-text-color);--calcite-input-text-placeholder-text-color: var(--calcite-input-date-picker-placeholder-text-color)}calcite-date-picker{--calcite-date-picker-border-color: var(--calcite-input-date-picker-calendar-border-color);--calcite-date-picker-corner-radius: var(--calcite-input-date-picker-calendar-corner-radius);--calcite-date-picker-range-calendar-divider-color: var(--calcite-input-date-picker-calendar-range-divider-color);--calcite-date-picker-week-header-text-color: var(--calcite-input-date-picker-calendar-text-color);--calcite-date-picker-header-action-background-color: var( --calcite-input-date-picker-calendar-actions-background-color );--calcite-date-picker-header-action-background-color-hover: var( --calcite-input-date-picker-calendar-actions-background-color-hover );--calcite-date-picker-header-action-background-color-press: var( --calcite-input-date-picker-calendar-actions-background-color-press );--calcite-date-picker-header-action-text-color: var(--calcite-input-date-picker-calendar-actions-text-color);--calcite-date-picker-header-action-text-color-press: var( --calcite-input-date-picker-calendar-actions-text-color-press );--calcite-date-picker-year-text-color: var(--calcite-input-date-picker-calendar-text-color);--calcite-date-picker-month-select-text-color: var(--calcite-input-date-picker-calendar-month-select-text-color);--calcite-date-picker-month-select-icon-color: var(--calcite-input-date-picker-calendar-icon-color);--calcite-date-picker-month-select-icon-color-hover: var(--calcite-input-date-picker-calendar-icon-color-hover);--calcite-date-picker-day-background-color: var(--calcite-input-date-picker-calendar-day-background-color);--calcite-date-picker-day-background-color-hover: var( --calcite-input-date-picker-calendar-day-background-color-hover );--calcite-date-picker-day-background-color-selected: var( --calcite-input-date-picker-calendar-selected-background-color );--calcite-date-picker-day-text-color: var(--calcite-input-date-picker-calendar-day-text-color);--calcite-date-picker-day-text-color-hover: var(--calcite-input-date-picker-calendar-day-text-color-hover);--calcite-date-picker-day-text-color-selected: var(--calcite-input-date-picker-calendar-day-text-color-selected);--calcite-date-picker-current-day-text-color: var( --calcite-input-date-picker-calendar-current-day-text-color, var(--calcite-input-date-picker-calendar-day-current-text-color) );--calcite-date-picker-day-range-text-color: var(--calcite-input-date-picker-calendar-day-range-text-color);--calcite-date-picker-day-range-background-color: var(--calcite-input-date-picker-calendar-selected-background-color);--calcite-date-picker-day-outside-range-background-color-hover: var( --calcite-input-date-picker-calendar-day-outside-range-background-color-hover );--calcite-date-picker-day-outside-range-text-color-hover: var( --calcite-input-date-picker-calendar-day-outside-range-text-color-hover )}.assistive-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
26
27
|
const CSS = {
|
|
27
28
|
assistiveText: "assistive-text",
|
|
@@ -105,6 +106,9 @@ class InputDatePicker extends LitElement {
|
|
|
105
106
|
this.messages = useT9n({ blocking: true });
|
|
106
107
|
this.focusSetter = useSetFocus()(this);
|
|
107
108
|
this.interactiveContainer = useInteractive(this);
|
|
109
|
+
this.topLayer = useTopLayer({
|
|
110
|
+
target: () => this.floatingEl
|
|
111
|
+
})(this);
|
|
108
112
|
this.focusedInput = "start";
|
|
109
113
|
this.calendars = 2;
|
|
110
114
|
this.disabled = false;
|
|
@@ -262,17 +266,6 @@ class InputDatePicker extends LitElement {
|
|
|
262
266
|
disconnectForm(this);
|
|
263
267
|
disconnectFloatingUI(this);
|
|
264
268
|
}
|
|
265
|
-
async handlePopover() {
|
|
266
|
-
await this.componentOnReady();
|
|
267
|
-
if (!this.floatingEl) {
|
|
268
|
-
return;
|
|
269
|
-
}
|
|
270
|
-
if (this.open) {
|
|
271
|
-
this.floatingEl.showPopover();
|
|
272
|
-
} else {
|
|
273
|
-
this.floatingEl.hidePopover();
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
269
|
handleDisabledAndReadOnlyChange(value) {
|
|
277
270
|
if (!value) {
|
|
278
271
|
this.open = false;
|
|
@@ -378,7 +371,7 @@ class InputDatePicker extends LitElement {
|
|
|
378
371
|
}
|
|
379
372
|
onBeforeOpen() {
|
|
380
373
|
this.calciteInputDatePickerBeforeOpen.emit();
|
|
381
|
-
this.
|
|
374
|
+
this.topLayer.show();
|
|
382
375
|
}
|
|
383
376
|
onOpen() {
|
|
384
377
|
this.focusTrap.activate();
|
|
@@ -393,7 +386,7 @@ class InputDatePicker extends LitElement {
|
|
|
393
386
|
this.focusTrap.deactivate();
|
|
394
387
|
this.focusOnOpen = false;
|
|
395
388
|
this.datePickerEl?.reset();
|
|
396
|
-
this.
|
|
389
|
+
this.topLayer.hide();
|
|
397
390
|
}
|
|
398
391
|
syncHiddenFormInput(input) {
|
|
399
392
|
syncHiddenFormInput("date", this, input);
|
|
@@ -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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, stringOrBoolean, 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.44 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { live } from "lit/directives/live.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.44 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { live } from "lit/directives/live.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, nothing, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, stringOrBoolean, 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.44 */
|
|
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.44 */
|
|
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.44 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { literal, html as html$1 } from "lit-html/static.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.44 */
|
|
4
4
|
import { D as DEBOUNCE, 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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.44 */
|
|
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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html, nothing, svg } from "lit";
|
|
6
6
|
import { LitElement, setAttribute, 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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement } 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.44 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
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.44 */
|
|
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";
|
|
@@ -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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/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.44 */
|
|
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";
|
|
@@ -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.44 */
|
|
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";
|
|
@@ -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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { createRef, ref } from "lit-html/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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { html } from "lit";
|
|
6
6
|
import { LitElement, createEvent } 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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { html } from "lit";
|
|
6
6
|
import { LitElement, createEvent } 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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.44 */
|
|
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";
|
|
@@ -16,6 +16,7 @@ import { F as FloatingArrow } from "../../chunks/FloatingArrow.js";
|
|
|
16
16
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
17
17
|
import { u as useFocusTrap } from "../../chunks/useFocusTrap.js";
|
|
18
18
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
19
|
+
import { u as useTopLayer } from "../../chunks/useTopLayer.js";
|
|
19
20
|
import { i as isActivationKey } from "../../chunks/key.js";
|
|
20
21
|
const clickTolerance = 5;
|
|
21
22
|
function isDrag({
|
|
@@ -149,6 +150,10 @@ class Popover extends LitElement {
|
|
|
149
150
|
this.transitionRef = createRef();
|
|
150
151
|
this.messages = useT9n();
|
|
151
152
|
this.focusSetter = useSetFocus()(this);
|
|
153
|
+
this.topLayer = useTopLayer({
|
|
154
|
+
disabledOverride: () => this.open && !this.referenceEl,
|
|
155
|
+
target: () => this.floatingEl
|
|
156
|
+
})(this);
|
|
152
157
|
this.floatingLayout = "vertical";
|
|
153
158
|
this.autoClose = false;
|
|
154
159
|
this.closable = false;
|
|
@@ -213,7 +218,7 @@ class Popover extends LitElement {
|
|
|
213
218
|
if (changes.has("referenceElement")) {
|
|
214
219
|
this.referenceElementHandler();
|
|
215
220
|
if (!this.referenceElement && this.open) {
|
|
216
|
-
this.
|
|
221
|
+
this.topLayer.hide();
|
|
217
222
|
}
|
|
218
223
|
}
|
|
219
224
|
}
|
|
@@ -229,17 +234,6 @@ class Popover extends LitElement {
|
|
|
229
234
|
this.removeReferences();
|
|
230
235
|
disconnectFloatingUI(this);
|
|
231
236
|
}
|
|
232
|
-
async handlePopover() {
|
|
233
|
-
await this.componentOnReady();
|
|
234
|
-
if (!this.floatingEl) {
|
|
235
|
-
return;
|
|
236
|
-
}
|
|
237
|
-
if (this.open && this.referenceEl) {
|
|
238
|
-
this.floatingEl.showPopover();
|
|
239
|
-
} else {
|
|
240
|
-
this.floatingEl.hidePopover();
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
237
|
flipPlacementsHandler() {
|
|
244
238
|
this.setFilteredPlacements();
|
|
245
239
|
this.reposition(true);
|
|
@@ -319,7 +313,7 @@ class Popover extends LitElement {
|
|
|
319
313
|
}
|
|
320
314
|
onBeforeOpen() {
|
|
321
315
|
this.calcitePopoverBeforeOpen.emit();
|
|
322
|
-
this.
|
|
316
|
+
this.topLayer.show();
|
|
323
317
|
}
|
|
324
318
|
onOpen() {
|
|
325
319
|
this.calcitePopoverOpen.emit();
|
|
@@ -332,7 +326,7 @@ class Popover extends LitElement {
|
|
|
332
326
|
this.calcitePopoverClose.emit();
|
|
333
327
|
hideFloatingUI(this);
|
|
334
328
|
this.focusTrap.deactivate();
|
|
335
|
-
this.
|
|
329
|
+
this.topLayer.hide();
|
|
336
330
|
}
|
|
337
331
|
setArrowEl(el) {
|
|
338
332
|
this.arrowEl = el;
|
|
@@ -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.44 */
|
|
4
4
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, 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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, nothing, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|