@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 { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { css, 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 { live } from "lit/directives/live.js";
|
|
6
6
|
import { css, html as html$1 } 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 { css, isServer, 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 { 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 { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/lumina";
|
|
@@ -84,6 +84,15 @@ export declare class Sheet extends LitElement {
|
|
|
84
84
|
* @default false
|
|
85
85
|
*/
|
|
86
86
|
resizable: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* When true, disables top layer placement when the component is open.
|
|
89
|
+
*
|
|
90
|
+
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
91
|
+
*
|
|
92
|
+
* @default false
|
|
93
|
+
* @mdn [Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
94
|
+
*/
|
|
95
|
+
topLayerDisabled: boolean;
|
|
87
96
|
/**
|
|
88
97
|
* When `position` is `"inline-start"` or `"inline-end"`, specifies the width of the component.
|
|
89
98
|
*
|
|
@@ -1,12 +1,12 @@
|
|
|
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, a as resizeShiftStep, b as resizeStep, c as customElement } from "../../chunks/runtime.js";
|
|
5
|
-
import { ref } from "lit/directives/ref.js";
|
|
6
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
7
6
|
import { i as interact } from "../../chunks/interact.min.js";
|
|
8
7
|
import { css, html } from "lit";
|
|
9
8
|
import { LitElement, createEvent, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
9
|
+
import { createRef, ref } from "lit/directives/ref.js";
|
|
10
10
|
import { g as getElementDir, k as getStylePixelValue, l as ensureId } from "../../chunks/dom.js";
|
|
11
11
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
12
12
|
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
@@ -16,6 +16,7 @@ import { u as useT9n } from "../../chunks/useT9n.js";
|
|
|
16
16
|
import { u as usePreventDocumentScroll } from "../../chunks/usePreventDocumentScroll.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
|
const CSS = {
|
|
20
21
|
scrim: "scrim",
|
|
21
22
|
container: "container",
|
|
@@ -57,6 +58,7 @@ class Sheet extends LitElement {
|
|
|
57
58
|
this._open = false;
|
|
58
59
|
this.openProp = "opened";
|
|
59
60
|
this.transitionProp = "opacity";
|
|
61
|
+
this.transitionRef = createRef();
|
|
60
62
|
this.focusSetter = useSetFocus()(this);
|
|
61
63
|
this.keyDownHandler = (event) => {
|
|
62
64
|
const { defaultPrevented, key } = event;
|
|
@@ -65,6 +67,10 @@ class Sheet extends LitElement {
|
|
|
65
67
|
this.open = false;
|
|
66
68
|
}
|
|
67
69
|
};
|
|
70
|
+
this.topLayer = useTopLayer({
|
|
71
|
+
disabledOverride: () => this.embedded,
|
|
72
|
+
target: this.transitionRef
|
|
73
|
+
})(this);
|
|
68
74
|
this.resizeValues = {
|
|
69
75
|
inlineSize: null,
|
|
70
76
|
blockSize: null,
|
|
@@ -82,6 +88,7 @@ class Sheet extends LitElement {
|
|
|
82
88
|
this.outsideCloseDisabled = false;
|
|
83
89
|
this.position = "inline-start";
|
|
84
90
|
this.resizable = false;
|
|
91
|
+
this.topLayerDisabled = false;
|
|
85
92
|
this.widthScale = "m";
|
|
86
93
|
this.calciteSheetBeforeClose = createEvent({ cancelable: false });
|
|
87
94
|
this.calciteSheetBeforeOpen = createEvent({ cancelable: false });
|
|
@@ -90,7 +97,7 @@ class Sheet extends LitElement {
|
|
|
90
97
|
this.listen("keydown", this.keyDownHandler);
|
|
91
98
|
}
|
|
92
99
|
static {
|
|
93
|
-
this.properties = { resizeValues: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], displayMode: [3, {}, { reflect: true }], embedded: [7, {}, { reflect: true, type: Boolean }], escapeDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapOptions: [0, {}, { attribute: false }], heightScale: [3, {}, { reflect: true }], height: [3, {}, { reflect: true }], label: 1, messageOverrides: [0, {}, { attribute: false }], open: [7, {}, { reflect: true, type: Boolean }], opened: [7, {}, { reflect: true, type: Boolean }], outsideCloseDisabled: [7, {}, { reflect: true, type: Boolean }], position: [3, {}, { reflect: true }], resizable: [7, {}, { reflect: true, type: Boolean }], widthScale: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }] };
|
|
100
|
+
this.properties = { resizeValues: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], displayMode: [3, {}, { reflect: true }], embedded: [7, {}, { reflect: true, type: Boolean }], escapeDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapOptions: [0, {}, { attribute: false }], heightScale: [3, {}, { reflect: true }], height: [3, {}, { reflect: true }], label: 1, messageOverrides: [0, {}, { attribute: false }], open: [7, {}, { reflect: true, type: Boolean }], opened: [7, {}, { reflect: true, type: Boolean }], outsideCloseDisabled: [7, {}, { reflect: true, type: Boolean }], position: [3, {}, { reflect: true }], resizable: [7, {}, { reflect: true, type: Boolean }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], widthScale: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }] };
|
|
94
101
|
}
|
|
95
102
|
static {
|
|
96
103
|
this.styles = styles;
|
|
@@ -133,17 +140,6 @@ class Sheet extends LitElement {
|
|
|
133
140
|
this.embedded = false;
|
|
134
141
|
this.cleanupInteractions();
|
|
135
142
|
}
|
|
136
|
-
async handlePopover() {
|
|
137
|
-
await this.componentOnReady();
|
|
138
|
-
if (this.embedded || !this.transitionEl) {
|
|
139
|
-
return;
|
|
140
|
-
}
|
|
141
|
-
if (this.opened) {
|
|
142
|
-
this.transitionEl.showPopover();
|
|
143
|
-
} else {
|
|
144
|
-
this.transitionEl.hidePopover();
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
143
|
async setOpenState(value) {
|
|
148
144
|
if (this.beforeClose && !value) {
|
|
149
145
|
try {
|
|
@@ -291,7 +287,7 @@ class Sheet extends LitElement {
|
|
|
291
287
|
}
|
|
292
288
|
onBeforeOpen() {
|
|
293
289
|
this.calciteSheetBeforeOpen.emit();
|
|
294
|
-
this.
|
|
290
|
+
this.topLayer.show();
|
|
295
291
|
}
|
|
296
292
|
onOpen() {
|
|
297
293
|
if (this.focusTrapDisabled) {
|
|
@@ -306,7 +302,7 @@ class Sheet extends LitElement {
|
|
|
306
302
|
onClose() {
|
|
307
303
|
this.calciteSheetClose.emit();
|
|
308
304
|
this.focusTrap.deactivate();
|
|
309
|
-
this.
|
|
305
|
+
this.topLayer.hide();
|
|
310
306
|
}
|
|
311
307
|
setResizeHandleEl(el) {
|
|
312
308
|
this.resizeHandleEl = el;
|
|
@@ -316,12 +312,6 @@ class Sheet extends LitElement {
|
|
|
316
312
|
this.contentEl = el;
|
|
317
313
|
this.contentId = ensureId(el);
|
|
318
314
|
}
|
|
319
|
-
setTransitionEl(el) {
|
|
320
|
-
if (!el) {
|
|
321
|
-
return;
|
|
322
|
-
}
|
|
323
|
-
this.transitionEl = el;
|
|
324
|
-
}
|
|
325
315
|
handleOutsideClose() {
|
|
326
316
|
if (this.outsideCloseDisabled) {
|
|
327
317
|
return;
|
|
@@ -346,7 +336,7 @@ class Sheet extends LitElement {
|
|
|
346
336
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
347
337
|
[getDimensionClass("width", this.width, this.widthScale)]: !!(this.width || this.widthScale),
|
|
348
338
|
[getDimensionClass("height", this.height, this.heightScale)]: !!(this.height || this.heightScale)
|
|
349
|
-
})} .popover=${!this.embedded ? "manual" : null} ${ref(this.
|
|
339
|
+
})} .popover=${!this.embedded ? "manual" : null} ${ref(this.transitionRef)}><calcite-scrim class=${safeClassMap(CSS.scrim)} @click=${this.handleOutsideClose}></calcite-scrim><div class=${safeClassMap(CSS.content)} id=${IDS.sheetContent} ${ref(this.setContentEl)}><div class=${safeClassMap(CSS.contentContainer)}><slot></slot></div>${resizable ? keyed("resize-handle", html`<div .ariaLabel=${this.messages.resizeEnabled} .ariaOrientation=${isBlockPosition ? "vertical" : "horizontal"} .ariaValueMax=${isBlockPosition ? resizeValues.maxBlockSize : resizeValues.maxInlineSize} .ariaValueMin=${isBlockPosition ? resizeValues.minBlockSize : resizeValues.minInlineSize} .ariaValueNow=${isBlockPosition ? resizeValues.blockSize : resizeValues.inlineSize} class=${safeClassMap(CSS.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${ref(this.setResizeHandleEl)}><div class=${safeClassMap(CSS.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`) : null}</div></div>`;
|
|
350
340
|
}
|
|
351
341
|
}
|
|
352
342
|
customElement("calcite-sheet", Sheet);
|
|
@@ -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 CSS_UTILITY, a as resizeShiftStep, b as resizeStep, 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";
|
|
@@ -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 { 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 { 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 { 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 { 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 as html$1, nothing } from "lit";
|
|
6
6
|
import { safeClassMap, 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 { 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 { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, nothing, svg } 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 { 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 { LitElement, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
3
|
-
v5.0.0-next.
|
|
3
|
+
v5.0.0-next.44 */
|
|
4
4
|
import { C as CSS_UTILITY, 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, isServer, 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 { isServer, css, nothing, html } from "lit";
|
|
6
6
|
import { render } from "lit-html";
|
|
@@ -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, 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 { 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 { 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 { 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 { live } from "lit/directives/live.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 { 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.44 */
|
|
4
4
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
5
5
|
import { ref } from "lit/directives/ref.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 { 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 { LitElement, createEvent, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
@@ -9,6 +9,7 @@ import { d as defaultOffsetDistance, r as reposition, a as disconnectFloatingUI,
|
|
|
9
9
|
import { g as guid } from "../../chunks/guid.js";
|
|
10
10
|
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
11
11
|
import { F as FloatingArrow } from "../../chunks/FloatingArrow.js";
|
|
12
|
+
import { u as useTopLayer } from "../../chunks/useTopLayer.js";
|
|
12
13
|
import { q as queryElementRoots, c as getShadowRootNode } from "../../chunks/dom.js";
|
|
13
14
|
const CSS = {
|
|
14
15
|
positionContainer: "position-container",
|
|
@@ -273,6 +274,10 @@ class Tooltip extends LitElement {
|
|
|
273
274
|
this.guid = IDS.host(guid());
|
|
274
275
|
this.transitionProp = "opacity";
|
|
275
276
|
this.transitionRef = createRef();
|
|
277
|
+
this.topLayer = useTopLayer({
|
|
278
|
+
disabledOverride: () => this.open && !this.referenceEl,
|
|
279
|
+
target: () => this.floatingEl
|
|
280
|
+
})(this);
|
|
276
281
|
this.floatingLayout = "vertical";
|
|
277
282
|
this.closeOnClick = false;
|
|
278
283
|
this.offsetDistance = defaultOffsetDistance;
|
|
@@ -318,7 +323,7 @@ class Tooltip extends LitElement {
|
|
|
318
323
|
if (changes.has("referenceElement")) {
|
|
319
324
|
this.setUpReferenceElement();
|
|
320
325
|
if (!this.referenceElement && this.open) {
|
|
321
|
-
this.
|
|
326
|
+
this.topLayer.hide();
|
|
322
327
|
}
|
|
323
328
|
}
|
|
324
329
|
}
|
|
@@ -332,24 +337,13 @@ class Tooltip extends LitElement {
|
|
|
332
337
|
this.removeReferences();
|
|
333
338
|
disconnectFloatingUI(this);
|
|
334
339
|
}
|
|
335
|
-
async handlePopover() {
|
|
336
|
-
await this.componentOnReady();
|
|
337
|
-
if (!this.floatingEl) {
|
|
338
|
-
return;
|
|
339
|
-
}
|
|
340
|
-
if (this.open && this.referenceEl) {
|
|
341
|
-
this.floatingEl.showPopover();
|
|
342
|
-
} else {
|
|
343
|
-
this.floatingEl.hidePopover();
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
340
|
openHandler() {
|
|
347
341
|
toggleOpenClose(this);
|
|
348
342
|
this.reposition(true);
|
|
349
343
|
}
|
|
350
344
|
onBeforeOpen() {
|
|
351
345
|
this.calciteTooltipBeforeOpen.emit();
|
|
352
|
-
this.
|
|
346
|
+
this.topLayer.show();
|
|
353
347
|
}
|
|
354
348
|
onOpen() {
|
|
355
349
|
this.calciteTooltipOpen.emit();
|
|
@@ -360,7 +354,7 @@ class Tooltip extends LitElement {
|
|
|
360
354
|
onClose() {
|
|
361
355
|
this.calciteTooltipClose.emit();
|
|
362
356
|
hideFloatingUI(this);
|
|
363
|
-
this.
|
|
357
|
+
this.topLayer.hide();
|
|
364
358
|
}
|
|
365
359
|
setFloatingEl(el) {
|
|
366
360
|
this.floatingEl = 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, setAttribute } 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 { keyed } from "lit/directives/keyed.js";
|
|
6
6
|
import { css, html, nothing } from "lit";
|
|
@@ -11,7 +11,6 @@ import { g as getIconScale } from "../../chunks/component.js";
|
|
|
11
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
12
12
|
const CSS = {
|
|
13
13
|
actionsEnd: "actions-end",
|
|
14
|
-
bulletPointIcon: "bullet-point",
|
|
15
14
|
checkbox: "checkbox",
|
|
16
15
|
checkboxContainer: "checkbox-container",
|
|
17
16
|
checkboxLabel: "checkbox-label",
|
|
@@ -29,14 +28,13 @@ const SLOTS = {
|
|
|
29
28
|
};
|
|
30
29
|
const ICONS = {
|
|
31
30
|
blank: "blank",
|
|
32
|
-
bulletPoint: "bullet-point",
|
|
33
31
|
checkmark: "check",
|
|
34
32
|
checkSquareF: "check-square-f",
|
|
35
33
|
chevronRight: "chevron-right",
|
|
36
34
|
minusSquareF: "minus-square-f",
|
|
37
35
|
square: "square"
|
|
38
36
|
};
|
|
39
|
-
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([scale=s]){--calcite-internal-tree-item-spacing-unit: .25rem;--calcite-internal-tree-item-padding-block: .25rem;--calcite-internal-tree-item-children-container-padding: 1.25rem;--calcite-internal-tree-item-line-left-position: .75rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host(:is([scale=s],[scale=m])){--calcite-internal-tree-item-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-tree-item-spacing-unit: .5rem;--calcite-internal-tree-item-padding-block: .5rem;--calcite-internal-tree-item-children-container-padding: 1.5rem;--calcite-internal-tree-item-line-left-position: 1rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=l]){--calcite-internal-tree-item-action-spacing: var(--calcite-spacing-xs);--calcite-internal-tree-item-spacing-unit: .75rem;--calcite-internal-tree-item-padding-block: .625rem;--calcite-internal-tree-item-children-container-padding: 2.25rem;--calcite-internal-tree-item-line-left-position: 1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host{display:block;max-inline-size:100%;cursor:pointer}:host .children-container ::slotted(*){padding-inline-start:var(--calcite-internal-tree-item-children-container-padding)}.node-actions-container{display:flex}.node-actions-container .node-container,.node-actions-container .checkbox-container{gap:var(--calcite-internal-tree-item-spacing-unit)}.node-actions-container .node-container{padding-inline:var(--calcite-internal-tree-item-spacing-unit);padding-block:var(--calcite-internal-tree-item-padding-block)}.node-actions-container{color:var(--calcite-tree-text-color, var(--calcite-color-text-
|
|
37
|
+
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([scale=s]){--calcite-internal-tree-item-spacing-unit: .25rem;--calcite-internal-tree-item-padding-block: .25rem;--calcite-internal-tree-item-children-container-padding: 1.25rem;--calcite-internal-tree-item-line-left-position: .75rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host(:is([scale=s],[scale=m])){--calcite-internal-tree-item-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-tree-item-spacing-unit: .5rem;--calcite-internal-tree-item-padding-block: .5rem;--calcite-internal-tree-item-children-container-padding: 1.5rem;--calcite-internal-tree-item-line-left-position: 1rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=l]){--calcite-internal-tree-item-action-spacing: var(--calcite-spacing-xs);--calcite-internal-tree-item-spacing-unit: .75rem;--calcite-internal-tree-item-padding-block: .625rem;--calcite-internal-tree-item-children-container-padding: 2.25rem;--calcite-internal-tree-item-line-left-position: 1.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host{display:block;max-inline-size:100%;cursor:pointer}:host .children-container ::slotted(*){padding-inline-start:var(--calcite-internal-tree-item-children-container-padding)}.node-actions-container{display:flex}.node-actions-container .node-container,.node-actions-container .checkbox-container{gap:var(--calcite-internal-tree-item-spacing-unit)}.node-actions-container .node-container{padding-inline:var(--calcite-internal-tree-item-spacing-unit);padding-block:var(--calcite-internal-tree-item-padding-block)}.node-actions-container{color:var(--calcite-tree-text-color, var(--calcite-color-text-1))}.icon-start{--calcite-icon-color: var(--calcite-color-text-3)}:host([calcite-hydrated-hidden]){visibility:hidden!important;pointer-events:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([lines]) .children-container:after{position:absolute;inset-block-start:0px;z-index:var(--calcite-z-index);inline-size:1px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;block-size:100%;inset-inline-start:var(--calcite-internal-tree-item-line-left-position);content:"";background-color:var(--calcite-color-border-2)}:host(:not([lines])) .node-container:after{display:none}::slotted(*){min-inline-size:0px;max-inline-size:100%;overflow-wrap:break-word;color:inherit;text-decoration:none!important}::slotted(*):hover{text-decoration:none!important}::slotted(a){inline-size:100%;text-decoration-line:none}:host{outline:2px solid transparent;outline-offset:2px}:host .node-container{outline-color:transparent}:host:focus .node-container,:host:active .node-container{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(:focus:not([disabled])) .node-container{outline:2px solid transparent;outline-offset:2px;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(:focus:not([disabled])) .checkbox{outline:2px solid transparent;outline-offset:2px}.actions-end{display:flex;flex-direction:row;align-items:center;align-self:stretch;gap:var(--calcite-internal-tree-item-action-spacing)}.checkbox-container{display:flex;align-items:center}.checkbox{line-height:0;color:var(--calcite-tree-selected-icon-color, var(--calcite-color-border-input))}.checkbox-label{pointer-events:none;display:flex;align-items:center}.children-container{position:relative;block-size:0px;transform-origin:top;overflow:hidden;opacity:0;transform:scaleY(0);transition:var(--calcite-animation-timing) cubic-bezier(.215,.44,.42,.88),opacity var(--calcite-animation-timing) cubic-bezier(.215,.44,.42,.88),all var(--calcite-animation-timing) ease-in-out}.item--expanded>.children-container{overflow:visible;opacity:1;transform:none;block-size:auto}.node-container{position:relative;display:flex;min-inline-size:0px;flex-grow:1;align-items:center}.node-container .checkmark{opacity:0;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-color-border-1)}.node-container:hover .checkmark,:host([selected]) .node-container:hover .checkmark,:host(:focus:not([disabled])) .node-container .checkmark{opacity:1}:host([selected]) .node-container,:host([selected]) .node-container:hover{--calcite-internal-tree-item-text-color: var(--calcite-tree-text-color-selected, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium);color:var(--calcite-internal-tree-item-text-color)}:host([selected]) .node-container .icon-start,:host([selected]) .node-container:hover .icon-start{--calcite-icon-color: var(--calcite-internal-tree-item-text-color)}:host([selected]) .node-container .checkmark,:host([selected]) .node-container:hover .checkmark{opacity:1;color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([has-children]) .node-container .checkmark{display:none}.chevron{position:relative;align-self:center;color:var(--calcite-color-text-3);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;transform:rotate(0)}.calcite--rtl .chevron{transform:rotate(180deg)}.item--expanded .node-container>.chevron{transform:rotate(90deg)}:host([selected]) .checkmark{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([selected]) .checkbox{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([has-children][indeterminate]) .checkbox{color:var(--calcite-tree-selected-icon-color, var(--calcite-color-brand))}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
40
38
|
class TreeItem extends LitElement {
|
|
41
39
|
constructor() {
|
|
42
40
|
super();
|
|
@@ -234,8 +232,7 @@ class TreeItem extends LitElement {
|
|
|
234
232
|
}
|
|
235
233
|
render() {
|
|
236
234
|
const rtl = getElementDir(this.el) === "rtl";
|
|
237
|
-
const
|
|
238
|
-
const showCheckmark = this.selectionMode === "multiple" || this.selectionMode === "multichildren";
|
|
235
|
+
const showCheckmark = this.selectionMode !== "none" && this.selectionMode !== "ancestors";
|
|
239
236
|
const showBlank = this.selectionMode === "none" && !this.hasChildren;
|
|
240
237
|
const checkboxIsIndeterminate = this.hasChildren && this.indeterminate;
|
|
241
238
|
const chevron = this.hasChildren || this.selectionMode === "ancestors" ? html`<calcite-icon class=${safeClassMap({
|
|
@@ -244,9 +241,8 @@ class TreeItem extends LitElement {
|
|
|
244
241
|
})} .icon=${this.hasChildren ? ICONS.chevronRight : ICONS.blank} @click=${this.iconClickHandler} .scale=${getIconScale(this.scale)}></calcite-icon>` : null;
|
|
245
242
|
const defaultSlotNode = keyed("default-slot", html`<slot></slot>`);
|
|
246
243
|
const checkbox = this.selectionMode === "ancestors" ? html`<div class=${safeClassMap(CSS.checkboxContainer)}><calcite-icon class=${safeClassMap(CSS.checkbox)} .icon=${this.selected ? ICONS.checkSquareF : checkboxIsIndeterminate ? ICONS.minusSquareF : ICONS.square} .scale=${getIconScale(this.scale)}></calcite-icon></div>` : null;
|
|
247
|
-
const selectedIcon =
|
|
244
|
+
const selectedIcon = showCheckmark ? ICONS.checkmark : showBlank ? ICONS.blank : null;
|
|
248
245
|
const itemIndicator = selectedIcon ? html`<calcite-icon class=${safeClassMap({
|
|
249
|
-
[CSS.bulletPointIcon]: selectedIcon === ICONS.bulletPoint,
|
|
250
246
|
[CSS.checkmarkIcon]: selectedIcon === ICONS.checkmark,
|
|
251
247
|
[CSS_UTILITY.rtl]: rtl
|
|
252
248
|
})} .icon=${selectedIcon} .scale=${getIconScale(this.scale)}></calcite-icon>` : null;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { makeGenericController } from '@arcgis/lumina/controllers';
|
|
2
|
+
import { LitElement } from '@arcgis/lumina';
|
|
3
|
+
import { Ref } from 'lit/directives/ref.js';
|
|
4
|
+
export interface UseTopLayer {
|
|
5
|
+
/**
|
|
6
|
+
* Shows the target element on the top layer.
|
|
7
|
+
*/
|
|
8
|
+
show: () => Promise<void>;
|
|
9
|
+
/**
|
|
10
|
+
* Hides the target element from the top layer.
|
|
11
|
+
*/
|
|
12
|
+
hide: () => Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
export interface UseTopLayerOptions {
|
|
15
|
+
/**
|
|
16
|
+
* When true, the top-layer placement will be disabled regardless of `topLayerDisabled`.
|
|
17
|
+
*/
|
|
18
|
+
disabledOverride?: () => boolean;
|
|
19
|
+
/**
|
|
20
|
+
* The target element or a Ref to the target element to show on the top layer.
|
|
21
|
+
*/
|
|
22
|
+
target: (() => HTMLElement | undefined) | Ref<HTMLElement>;
|
|
23
|
+
}
|
|
24
|
+
export interface TopLayerComponent extends LitElement {
|
|
25
|
+
/**
|
|
26
|
+
* When true, disables top layer placement when the component is open.
|
|
27
|
+
*
|
|
28
|
+
* Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
|
|
29
|
+
*
|
|
30
|
+
* @mdn [Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
|
|
31
|
+
*/
|
|
32
|
+
topLayerDisabled?: boolean;
|
|
33
|
+
}
|
|
34
|
+
export declare const useTopLayer: <T extends TopLayerComponent>(options: UseTopLayerOptions) => ReturnType<typeof makeGenericController<UseTopLayer, T>>;
|