@esri/calcite-components 5.2.0-next.60 → 5.2.0-next.62
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/23HDKDAI.js +2 -0
- package/dist/cdn/24ZPXFO2.js +2 -0
- package/dist/cdn/{2ARHNZAY.js → 2HPK3LAE.js} +1 -1
- package/dist/cdn/{RBEBWODD.js → 2RVXXWXK.js} +1 -1
- package/dist/cdn/{BNEP76EX.js → 3FOHNQKP.js} +1 -1
- package/dist/cdn/3RD6FPOP.js +2 -0
- package/dist/cdn/3TT3H2DC.js +2 -0
- package/dist/cdn/{ZPVFMZUH.js → 4FYTCYUK.js} +1 -1
- package/dist/cdn/{X2DWU333.js → 4LMXYULL.js} +3 -3
- package/dist/cdn/4MJQEGBF.js +2 -0
- package/dist/cdn/4RKMYYAL.js +2 -0
- package/dist/cdn/{LGSKYEBT.js → 53YUDUCN.js} +1 -1
- package/dist/cdn/5DJ4CKCP.js +2 -0
- package/dist/cdn/5IBOQL24.js +2 -0
- package/dist/cdn/{ACHOOOAZ.js → 5MYS7ZVM.js} +1 -1
- package/dist/cdn/5NWMGO4Y.js +2 -0
- package/dist/cdn/5Q6R6XLB.js +2 -0
- package/dist/cdn/{73DCL4EG.js → 5SNGDG25.js} +1 -1
- package/dist/cdn/66ADBSUG.js +2 -0
- package/dist/cdn/{YWJF7JUY.js → 6HUNEVQT.js} +1 -1
- package/dist/cdn/{UQFOOWZT.js → 6TYHSE52.js} +1 -1
- package/dist/cdn/{OSKBKN3N.js → 6WLVT7DS.js} +1 -1
- package/dist/cdn/{475RERZF.js → 74KBB6LH.js} +1 -1
- package/dist/cdn/77M5NVCW.js +2 -0
- package/dist/cdn/{WXRBIN4T.js → 7CZARVI4.js} +1 -1
- package/dist/cdn/7DZDSRLR.js +2 -0
- package/dist/cdn/7O43FY6X.js +2 -0
- package/dist/cdn/{LO2P3XQL.js → 7RAF4H2D.js} +1 -1
- package/dist/cdn/{D4HCATE5.js → 7TDIRY4J.js} +1 -1
- package/dist/cdn/7YCU2E3N.js +2 -0
- package/dist/cdn/{2LGV2LIH.js → 7ZPRWQGI.js} +1 -1
- package/dist/cdn/A7PK5BTB.js +2 -0
- package/dist/cdn/ABR4JGS6.js +2 -0
- package/dist/cdn/ADAMEB6V.js +2 -0
- package/dist/cdn/{MRXU2NCN.js → AGP7DPKN.js} +1 -1
- package/dist/cdn/{XURLGFDG.js → AM5HDLAS.js} +1 -1
- package/dist/cdn/{CUQN2MHW.js → AOCA3KFF.js} +1 -1
- package/dist/cdn/B26JHK23.js +2 -0
- package/dist/cdn/{F3NWTLHV.js → B4L2KEDE.js} +1 -1
- package/dist/cdn/B5TGMHUH.js +2 -0
- package/dist/cdn/{QUCBI2DK.js → B6L3NEYB.js} +1 -1
- package/dist/cdn/BBTNIUW2.js +2 -0
- package/dist/cdn/BDR42A3E.js +2 -0
- package/dist/cdn/C4WP5EBM.js +2 -0
- package/dist/cdn/{A6LKKOEC.js → CMWT2U6N.js} +1 -1
- package/dist/cdn/{L47MJPUD.js → CNIS3O63.js} +1 -1
- package/dist/cdn/{COOXR4KA.js → CYZUGX7K.js} +1 -1
- package/dist/cdn/D2EDJHY3.js +2 -0
- package/dist/cdn/DLPPHVJK.js +2 -0
- package/dist/cdn/{6MKIZYKA.js → DQVINPWR.js} +1 -1
- package/dist/cdn/DSVGFTLX.js +2 -0
- package/dist/cdn/{DWYPBWH7.js → E75D7ANJ.js} +1 -1
- package/dist/cdn/EA3CXBU3.js +2 -0
- package/dist/cdn/{WJNSGWHI.js → EDEBMMT6.js} +1 -1
- package/dist/cdn/EFKVMB36.js +2 -0
- package/dist/cdn/EHBE2PQL.js +2 -0
- package/dist/cdn/{R44SMF4M.js → EPE7MG62.js} +1 -1
- package/dist/cdn/{JQDPL76A.js → ERCYS72F.js} +1 -1
- package/dist/cdn/ESCNQWGH.js +2 -0
- package/dist/cdn/ESPMMYVP.js +2 -0
- package/dist/cdn/{KQ64XM4H.js → EW4E6W4H.js} +1 -1
- package/dist/cdn/EWR2MENT.js +2 -0
- package/dist/cdn/F4JFQNV4.js +2 -0
- package/dist/cdn/{6PUJMHS6.js → FAZOKA4U.js} +1 -1
- package/dist/cdn/FCCATXLE.js +2 -0
- package/dist/cdn/{G4LVXPLG.js → FIUZOVCS.js} +1 -1
- package/dist/cdn/FLR4OLXP.js +2 -0
- package/dist/cdn/{UH3VBILU.js → FMMROQB2.js} +1 -1
- package/dist/cdn/{UKHGKDAO.js → FRWSUYJ5.js} +1 -1
- package/dist/cdn/FXR7G326.js +2 -0
- package/dist/cdn/G5N5LP7C.js +2 -0
- package/dist/cdn/GENGQQ3E.js +2 -0
- package/dist/cdn/GKYCDJZS.js +2 -0
- package/dist/cdn/GRCGH7S7.js +2 -0
- package/dist/cdn/GV6LQKJ5.js +2 -0
- package/dist/cdn/{BBYH4VYJ.js → H6YE6FYK.js} +1 -1
- package/dist/cdn/HDNDTUJO.js +2 -0
- package/dist/cdn/{CUQRFILK.js → HHK6QXU6.js} +1 -1
- package/dist/cdn/I4LFSDKZ.js +2 -0
- package/dist/cdn/I4MV44ZF.js +2 -0
- package/dist/cdn/I77SJ3UN.js +2 -0
- package/dist/cdn/{CVTNS4ZW.js → IFOACTFJ.js} +1 -1
- package/dist/cdn/{VXPP5IWU.js → IHJAWQDP.js} +1 -1
- package/dist/cdn/IP7QMIWU.js +2 -0
- package/dist/cdn/{O3AFQFUF.js → ITSKKC7W.js} +1 -1
- package/dist/cdn/{EFRZQV4R.js → IUCOEPJG.js} +1 -1
- package/dist/cdn/J67LYBL5.js +2 -0
- package/dist/cdn/{RNZ5MJMR.js → JAZ5R36D.js} +1 -1
- package/dist/cdn/{JU5FEMV5.js → JFCRLKUS.js} +1 -1
- package/dist/cdn/JL43QOWW.js +2 -0
- package/dist/cdn/JLA3DKZP.js +2 -0
- package/dist/cdn/JOK7V4MS.js +2 -0
- package/dist/cdn/{6KHTU4WL.js → JTM6YJCI.js} +1 -1
- package/dist/cdn/{7B3O2EE3.js → JTUBWTUR.js} +1 -1
- package/dist/cdn/KDUZXP3Z.js +2 -0
- package/dist/cdn/KEVSA7QA.js +2 -0
- package/dist/cdn/KIZPZLPU.js +2 -0
- package/dist/cdn/{QG52PKXR.js → KKDSVCDI.js} +1 -1
- package/dist/cdn/KMQWZS7Y.js +2 -0
- package/dist/cdn/{PMT6RP6F.js → KQH5DKBU.js} +1 -1
- package/dist/cdn/KQHTBOH6.js +2 -0
- package/dist/cdn/{WX3MK3S3.js → KW7DFY2S.js} +1 -1
- package/dist/cdn/{KSWOOKHU.js → KWFE4DAU.js} +1 -1
- package/dist/cdn/{ZOJHKEKI.js → L7AAWH33.js} +1 -1
- package/dist/cdn/{VHTIGB7T.js → LBKDLCGS.js} +1 -1
- package/dist/cdn/{ZSBHMYFT.js → LBUT6VVH.js} +1 -1
- package/dist/cdn/{4PQZTDQS.js → LCO22QRK.js} +1 -1
- package/dist/cdn/{5TCFZJXA.js → LIP5H2L6.js} +1 -1
- package/dist/cdn/LUVDIV7Z.js +2 -0
- package/dist/cdn/MEMTVARL.js +2 -0
- package/dist/cdn/{B7MWEAQW.js → MGS6XKAR.js} +1 -1
- package/dist/cdn/{GQ4X2OQC.js → NA2ZTWW4.js} +1 -1
- package/dist/cdn/NEJF3TJF.js +2 -0
- package/dist/cdn/{M65UUX2N.js → NGDGVFFY.js} +1 -1
- package/dist/cdn/{IPNE6GDG.js → NQBHV5T4.js} +1 -1
- package/dist/cdn/{VG5XUVDY.js → NY3UKBFO.js} +1 -1
- package/dist/cdn/O3JX6E6E.js +2 -0
- package/dist/cdn/OXOUHOL7.js +2 -0
- package/dist/cdn/P34KSKSD.js +2 -0
- package/dist/cdn/{FMZ7VG53.js → PGVVBVAW.js} +1 -1
- package/dist/cdn/{HFQIDIEB.js → PJC3KHLU.js} +1 -1
- package/dist/cdn/{J7EXMBEP.js → PLCNTRPE.js} +1 -1
- package/dist/cdn/{UZEOHREL.js → Q2PXLJRW.js} +1 -1
- package/dist/cdn/{ZPSUPHPX.js → Q35TYOU3.js} +1 -1
- package/dist/cdn/QFLQKRZ2.js +2 -0
- package/dist/cdn/QIU2OYJY.js +2 -0
- package/dist/cdn/{5I7G6JLY.js → QQSO37WF.js} +1 -1
- package/dist/cdn/{ZLRHMY5Z.js → QVCA4Q3A.js} +1 -1
- package/dist/cdn/R2DIPZ3B.js +2 -0
- package/dist/cdn/{3QHHINS4.js → R33SHK7J.js} +1 -1
- package/dist/cdn/{HXXSSS5Y.js → R3SQDQXX.js} +1 -1
- package/dist/cdn/R6KFEYUV.js +2 -0
- package/dist/cdn/RLI632QM.js +2 -0
- package/dist/cdn/{HTH5EB4X.js → RXDYNL2X.js} +1 -1
- package/dist/cdn/{UR3BQTVO.js → RYGSERD6.js} +1 -1
- package/dist/cdn/{XU27LX4X.js → S34TKZAP.js} +1 -1
- package/dist/cdn/{NL25RJTH.js → SFR52MOU.js} +1 -1
- package/dist/cdn/SZUPQ4CX.js +2 -0
- package/dist/cdn/{FASMUSKO.js → TBB42H4B.js} +1 -1
- package/dist/cdn/{FWMG52AT.js → TFZI64RP.js} +1 -1
- package/dist/cdn/THIECYN6.js +2 -0
- package/dist/cdn/{2T3YF4F5.js → TOMLSGNW.js} +1 -1
- package/dist/cdn/U3Y3V2ZH.js +2 -0
- package/dist/cdn/{PMPJTYON.js → UBFONBKW.js} +1 -1
- package/dist/cdn/{DM7VOJLG.js → UCKWQ5LE.js} +1 -1
- package/dist/cdn/UCOHJ6HB.js +2 -0
- package/dist/cdn/UKNZDAOR.js +2 -0
- package/dist/cdn/{GGIMBRK5.js → ULEYWK3S.js} +1 -1
- package/dist/cdn/{J3MBWPYJ.js → UXNJ2I3X.js} +1 -1
- package/dist/cdn/{PMLCHLIE.js → V3HFGYU2.js} +1 -1
- package/dist/cdn/VEHFV22W.js +2 -0
- package/dist/cdn/{YBG5325Y.js → VFGWQVRF.js} +1 -1
- package/dist/cdn/VKNMXOGO.js +2 -0
- package/dist/cdn/VPFXLCEW.js +2 -0
- package/dist/cdn/VQ7D6WC2.js +2 -0
- package/dist/cdn/VUYX7MNO.js +2 -0
- package/dist/cdn/WK57DRIG.js +2 -0
- package/dist/cdn/WQPMPWU5.js +2 -0
- package/dist/cdn/WXUBPW4K.js +2 -0
- package/dist/cdn/{XG7NZDFJ.js → XAFFE75K.js} +1 -1
- package/dist/cdn/XDDOXJF4.js +2 -0
- package/dist/cdn/{42URAKLO.js → XI4PD2C6.js} +1 -1
- package/dist/cdn/XNB3ISIM.js +2 -0
- package/dist/cdn/XX43OXTK.js +2 -0
- package/dist/cdn/YCGTLTRR.js +2 -0
- package/dist/cdn/YEJ4DG6Z.js +2 -0
- package/dist/cdn/YGSLHDTB.js +2 -0
- package/dist/cdn/{FLYZR7QZ.js → YMLIZ6H5.js} +1 -1
- package/dist/cdn/{F6HWYMLX.js → YRGSOW7G.js} +1 -1
- package/dist/cdn/{CA7N26MN.js → YTJ3Q4D4.js} +1 -1
- package/dist/cdn/{LUB3SEVD.js → YXWA62OE.js} +1 -1
- package/dist/cdn/{DHYGUT4H.js → Z5BXSCXP.js} +1 -1
- package/dist/cdn/ZRTZSAU4.js +2 -0
- package/dist/cdn/{KYZ65ICN.js → ZTRUMW6A.js} +1 -1
- package/dist/cdn/{Z3JNHLOQ.js → ZW5SAEBQ.js} +1 -1
- package/dist/cdn/assets/icon/aiAgent16.json +1 -0
- package/dist/cdn/assets/icon/aiAgent24.json +1 -0
- package/dist/cdn/assets/icon/aiAgent32.json +1 -0
- package/dist/cdn/assets/icon/aiAgents16.json +1 -0
- package/dist/cdn/assets/icon/aiAgents24.json +1 -0
- package/dist/cdn/assets/icon/aiAgents32.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ExpandToggle.js +2 -2
- package/dist/chunks/dom.js +24 -24
- package/dist/chunks/floating-ui.js +3 -3
- package/dist/chunks/locale.js +2 -2
- package/dist/chunks/manager.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +13 -20
- package/dist/chunks/resources10.js +55 -12
- package/dist/chunks/resources11.js +5 -57
- package/dist/chunks/resources12.js +11 -30
- package/dist/chunks/resources13.js +26 -20
- package/dist/chunks/resources14.js +52 -28
- package/dist/chunks/resources15.js +39 -0
- package/dist/chunks/resources16.js +12 -0
- package/dist/chunks/resources17.js +17 -0
- package/dist/chunks/resources18.js +17 -0
- package/dist/chunks/resources19.js +19 -0
- package/dist/chunks/resources2.js +17 -10
- package/dist/chunks/resources20.js +39 -0
- package/dist/chunks/resources21.js +17 -0
- package/dist/chunks/resources22.js +14 -0
- package/dist/chunks/resources23.js +20 -0
- package/dist/chunks/resources24.js +26 -0
- package/dist/chunks/resources25.js +31 -0
- package/dist/chunks/resources26.js +26 -0
- package/dist/chunks/resources27.js +38 -0
- package/dist/chunks/resources28.js +14 -0
- package/dist/chunks/resources29.js +17 -0
- package/dist/chunks/resources3.js +17 -22
- package/dist/chunks/resources30.js +17 -0
- package/dist/chunks/resources31.js +28 -0
- package/dist/chunks/resources32.js +35 -0
- package/dist/chunks/resources33.js +35 -0
- package/dist/chunks/resources34.js +73 -0
- package/dist/chunks/resources4.js +20 -13
- package/dist/chunks/resources5.js +7 -45
- package/dist/chunks/resources6.js +16 -26
- package/dist/chunks/resources7.js +41 -51
- package/dist/chunks/resources8.js +19 -48
- package/dist/chunks/resources9.js +27 -8
- package/dist/chunks/runtime.js +13 -6
- package/dist/chunks/useFocusTrap.js +1 -1
- package/dist/chunks/useForm.js +1 -1
- package/dist/chunks/useLabel.js +1 -1
- package/dist/chunks/useSetFocus.js +1 -1
- package/dist/chunks/useTime.js +1 -1
- package/dist/chunks/utils.js +94 -298
- package/dist/chunks/utils2.js +62 -98
- package/dist/chunks/utils3.js +298 -58
- package/dist/chunks/utils4.js +25 -8
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action-bar/customElement.js +16 -27
- package/dist/components/calcite-action-group/customElement.js +5 -5
- package/dist/components/calcite-action-menu/customElement.js +6 -5
- package/dist/components/calcite-action-pad/customElement.js +4 -3
- package/dist/components/calcite-alert/customElement.js +3 -26
- package/dist/components/calcite-autocomplete/customElement.js +8 -6
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -18
- package/dist/components/calcite-autocomplete-item-group/customElement.js +4 -10
- package/dist/components/calcite-avatar/customElement.js +2 -2
- package/dist/components/calcite-block/customElement.js +3 -3
- package/dist/components/calcite-block-group/customElement.js +6 -3
- package/dist/components/calcite-button/customElement.js +3 -3
- package/dist/components/calcite-card/customElement.js +1 -25
- package/dist/components/calcite-card-group/customElement.js +2 -1
- package/dist/components/calcite-carousel/customElement.js +1 -1
- package/dist/components/calcite-checkbox/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +2 -2
- package/dist/components/calcite-chip-group/customElement.js +2 -2
- package/dist/components/calcite-color-picker/customElement.js +2 -2
- package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +2 -2
- package/dist/components/calcite-combobox/customElement.js +7 -7
- 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-month-header/customElement.js +1 -1
- package/dist/components/calcite-dialog/customElement.js +4 -32
- package/dist/components/calcite-dropdown/customElement.js +4 -3
- package/dist/components/calcite-dropdown-group/customElement.js +2 -6
- package/dist/components/calcite-dropdown-item/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-inline-editable/customElement.js +2 -2
- package/dist/components/calcite-input/customElement.js +3 -3
- package/dist/components/calcite-input-date-picker/customElement.js +6 -5
- package/dist/components/calcite-input-message/customElement.js +1 -1
- package/dist/components/calcite-input-number/customElement.js +3 -3
- package/dist/components/calcite-input-text/customElement.js +2 -2
- package/dist/components/calcite-input-time-picker/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.js +3 -3
- package/dist/components/calcite-list/customElement.js +4 -19
- package/dist/components/calcite-list-item/customElement.js +2 -2
- package/dist/components/calcite-list-item-group/customElement.js +1 -5
- package/dist/components/calcite-menu/customElement.js +4 -4
- package/dist/components/calcite-menu-item/customElement.js +2 -2
- package/dist/components/calcite-navigation/customElement.js +10 -6
- package/dist/components/calcite-navigation-logo/customElement.js +1 -10
- package/dist/components/calcite-navigation-user/customElement.js +1 -7
- package/dist/components/calcite-notice/customElement.js +2 -2
- package/dist/components/calcite-panel/customElement.js +6 -5
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.js +1 -1
- package/dist/components/calcite-segmented-control/customElement.js +5 -4
- package/dist/components/calcite-segmented-control-item/customElement.js +1 -12
- package/dist/components/calcite-select/customElement.js +6 -17
- package/dist/components/calcite-sheet/customElement.js +4 -20
- package/dist/components/calcite-shell/customElement.js +14 -10
- package/dist/components/calcite-shell-panel/customElement.js +5 -25
- package/dist/components/calcite-slider/customElement.js +2 -2
- package/dist/components/calcite-sort-handle/customElement.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.js +1 -1
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.js +2 -2
- package/dist/components/calcite-stepper-item/customElement.js +1 -1
- package/dist/components/calcite-swatch/customElement.js +2 -2
- package/dist/components/calcite-swatch-group/customElement.js +2 -2
- package/dist/components/calcite-switch/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.js +6 -3
- package/dist/components/calcite-tab-nav/customElement.js +44 -56
- package/dist/components/calcite-tab-title/customElement.js +6 -3
- package/dist/components/calcite-table/customElement.js +2 -1
- package/dist/components/calcite-table-cell/customElement.js +1 -10
- package/dist/components/calcite-table-header/customElement.js +1 -20
- package/dist/components/calcite-table-row/customElement.js +5 -11
- package/dist/components/calcite-tabs/customElement.js +2 -7
- package/dist/components/calcite-text-area/customElement.js +2 -2
- package/dist/components/calcite-tile/customElement.js +1 -26
- package/dist/components/calcite-tile-group/customElement.js +2 -1
- package/dist/components/calcite-tooltip/customElement.js +2 -5
- package/dist/components/calcite-tree/customElement.js +4 -6
- package/dist/components/calcite-tree-item/customElement.js +5 -28
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +7 -6
- package/dist/index.js +3 -9
- package/dist/runtime.d.ts +5 -0
- package/package.json +3 -3
- package/dist/cdn/23T3Y3GE.js +0 -2
- package/dist/cdn/2J4XUWYO.js +0 -2
- package/dist/cdn/2QCI6TGY.js +0 -2
- package/dist/cdn/34KZEKP6.js +0 -2
- package/dist/cdn/36CTZGVO.js +0 -2
- package/dist/cdn/3GFZCW2S.js +0 -2
- package/dist/cdn/3IN37UDC.js +0 -2
- package/dist/cdn/3NO7PELQ.js +0 -2
- package/dist/cdn/4PLXA7BH.js +0 -2
- package/dist/cdn/4XWM4DFD.js +0 -2
- package/dist/cdn/4Y4M7ARD.js +0 -2
- package/dist/cdn/4ZPZCAFM.js +0 -2
- package/dist/cdn/5IJ25RMA.js +0 -2
- package/dist/cdn/5J66CX7P.js +0 -2
- package/dist/cdn/6EXKM2ML.js +0 -2
- package/dist/cdn/6GIAYW5Y.js +0 -2
- package/dist/cdn/6JKGSMCW.js +0 -2
- package/dist/cdn/6XXNQZL3.js +0 -2
- package/dist/cdn/7KM6PEAO.js +0 -2
- package/dist/cdn/7L4EZFYG.js +0 -2
- package/dist/cdn/AQM2QT52.js +0 -2
- package/dist/cdn/B5YC7TWO.js +0 -2
- package/dist/cdn/BEE5ZZFY.js +0 -2
- package/dist/cdn/BYK32J57.js +0 -2
- package/dist/cdn/CU7WIQWZ.js +0 -2
- package/dist/cdn/DKLOOOBU.js +0 -2
- package/dist/cdn/DMK27J6W.js +0 -2
- package/dist/cdn/F5H4HXRA.js +0 -2
- package/dist/cdn/FD6VNHL5.js +0 -2
- package/dist/cdn/FJFIDF5X.js +0 -2
- package/dist/cdn/FKLTSNHW.js +0 -2
- package/dist/cdn/H6OMFL4C.js +0 -2
- package/dist/cdn/I54WYWFN.js +0 -2
- package/dist/cdn/IOP2EC5Y.js +0 -2
- package/dist/cdn/IUYFTZHO.js +0 -2
- package/dist/cdn/J65IBMKU.js +0 -2
- package/dist/cdn/K3KC5TPO.js +0 -2
- package/dist/cdn/KAOEUJGH.js +0 -2
- package/dist/cdn/KOR4DYKT.js +0 -2
- package/dist/cdn/KRZT7UVD.js +0 -2
- package/dist/cdn/M2UESRI2.js +0 -2
- package/dist/cdn/MFM5H6QD.js +0 -2
- package/dist/cdn/MH2UJM2V.js +0 -2
- package/dist/cdn/NQREOOD2.js +0 -2
- package/dist/cdn/NSQP35ZL.js +0 -2
- package/dist/cdn/NXWKWQ5V.js +0 -2
- package/dist/cdn/O4YJ665R.js +0 -2
- package/dist/cdn/O6ITH3QQ.js +0 -2
- package/dist/cdn/PAL5PWBK.js +0 -2
- package/dist/cdn/PXDYPEJ6.js +0 -2
- package/dist/cdn/QNRP4GC4.js +0 -2
- package/dist/cdn/RCVILOGX.js +0 -2
- package/dist/cdn/SRIC7E4A.js +0 -2
- package/dist/cdn/SWQCPUC2.js +0 -2
- package/dist/cdn/SX4QOMV2.js +0 -2
- package/dist/cdn/TIIHP3SW.js +0 -2
- package/dist/cdn/UHHRJXZZ.js +0 -2
- package/dist/cdn/VDIG2VCX.js +0 -2
- package/dist/cdn/W24BZ255.js +0 -2
- package/dist/cdn/W257N36J.js +0 -2
- package/dist/cdn/WUMVVIVR.js +0 -2
- package/dist/cdn/XCOABOUF.js +0 -2
- package/dist/cdn/XE2PPWZF.js +0 -2
- package/dist/cdn/XMLFJMMC.js +0 -2
- package/dist/cdn/XNYOZULC.js +0 -2
- package/dist/cdn/XRLXZHMJ.js +0 -2
- package/dist/cdn/ZRWKMT3E.js +0 -2
- /package/dist/cdn/{QBJZUEM2.js → 47B6Y2DM.js} +0 -0
- /package/dist/cdn/{TFGN3C6X.js → 5QN2KNKV.js} +0 -0
- /package/dist/cdn/{2YMRGSC2.js → CZERUG3F.js} +0 -0
- /package/dist/cdn/{KWIC32XQ.js → NH334SIF.js} +0 -0
- /package/dist/cdn/{Q24FQVQ4.js → V6MLAVPM.js} +0 -0
|
@@ -4,7 +4,11 @@ import { keyed } from "lit/directives/keyed.js";
|
|
|
4
4
|
import { css, html } from "lit";
|
|
5
5
|
import { LitElement, safeClassMap } from "@arcgis/lumina";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
7
|
-
import { s as slotChangeHasAssignedElement,
|
|
7
|
+
import { s as slotChangeHasAssignedElement, b as slotChangeGetAssignedElements, k as getStylePixelValue } from "../../chunks/dom.js";
|
|
8
|
+
import { i as isAlert } from "../../chunks/resources13.js";
|
|
9
|
+
import { b as isDialog } from "../../chunks/resources15.js";
|
|
10
|
+
import { i as isSheet } from "../../chunks/resources24.js";
|
|
11
|
+
import { i as isShellPanel } from "../../chunks/resources25.js";
|
|
8
12
|
const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:absolute;inset:0;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:var(--calcite-shell-corner-radius);box-shadow:var(--calcite-shell-shadow)}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto;justify-content:space-between}.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none;display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}::slotted(calcite-shell-panel){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);font-weight:var(--calcite-font-weight-normal)}slot[name=panel-start]::slotted(calcite-shell-panel),slot[name=panel-end]::slotted(calcite-shell-panel){position:relative;z-index:calc(var(--calcite-z-index) + 1)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:var(--calcite-border-width-sm);border-color:var(--calcite-shell-border-color, var(--calcite-color-border-3));border-inline-start-width:var(--calcite-border-width-none);border-inline-end-width:var(--calcite-border-width-none);border-style:solid}slot[name=panel-top]::slotted(calcite-shell-panel:not([display-mode^=float])),slot[name=panel-bottom]::slotted(calcite-shell-panel:not([display-mode^=float])){border-color:var(--calcite-shell-border-color, var(--calcite-color-border-3));border-inline-start-width:var(--calcite-border-width-sm);border-inline-end-width:var(--calcite-border-width-sm)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}.content-bottom{justify-content:flex-end}::slotted(calcite-shell-panel){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:.25rem;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);inset-block-end:.5rem;inset-inline:var(--calcite-shell-tip-spacing, 26vw)}slot[name=panel-bottom]::slotted(calcite-shell-panel){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-panel){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}.main.has-resizable-panel-top ::slotted(calcite-panel){border-block-start:none}.main.has-resizable-panel-bottom ::slotted(calcite-panel){border-block-end:none}.main.has-action-bar-position-panel ::slotted(calcite-panel){border:0}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
9
13
|
const CSS = {
|
|
10
14
|
main: "main",
|
|
@@ -75,14 +79,14 @@ class Shell extends LitElement {
|
|
|
75
79
|
}
|
|
76
80
|
}
|
|
77
81
|
handleCalciteInternalShellPanelResizableChange(event) {
|
|
78
|
-
const panel = event.composedPath().find(
|
|
82
|
+
const panel = event.composedPath().find(isShellPanel);
|
|
79
83
|
if (panel?.slot && panelSlots.includes(panel.slot)) {
|
|
80
84
|
this.updateResizableSlotState(panel.slot);
|
|
81
85
|
}
|
|
82
86
|
event.stopPropagation();
|
|
83
87
|
}
|
|
84
88
|
handleCalciteInternalShellPanelActionBarPositionChange(event) {
|
|
85
|
-
const panel = event.composedPath().find(
|
|
89
|
+
const panel = event.composedPath().find(isShellPanel);
|
|
86
90
|
if (panel?.slot && panelSlots.includes(panel.slot)) {
|
|
87
91
|
this.updateResizableSlotState(panel.slot);
|
|
88
92
|
}
|
|
@@ -104,13 +108,13 @@ class Shell extends LitElement {
|
|
|
104
108
|
}
|
|
105
109
|
handleAlertsSlotChange(event) {
|
|
106
110
|
this.hasAlerts = !!slotChangeHasAssignedElement(event);
|
|
107
|
-
slotChangeGetAssignedElements(event).filter(
|
|
111
|
+
slotChangeGetAssignedElements(event).filter(isAlert).forEach((el) => {
|
|
108
112
|
el.embedded = true;
|
|
109
113
|
});
|
|
110
114
|
}
|
|
111
115
|
handleSheetsSlotChange(event) {
|
|
112
116
|
this.hasSheets = !!slotChangeHasAssignedElement(event);
|
|
113
|
-
slotChangeGetAssignedElements(event).filter(
|
|
117
|
+
slotChangeGetAssignedElements(event).filter(isSheet).forEach((el) => {
|
|
114
118
|
el.embedded = true;
|
|
115
119
|
});
|
|
116
120
|
}
|
|
@@ -175,7 +179,7 @@ class Shell extends LitElement {
|
|
|
175
179
|
};
|
|
176
180
|
}
|
|
177
181
|
handlePanelTopChange(event) {
|
|
178
|
-
const panelElements = slotChangeGetAssignedElements(event).filter(
|
|
182
|
+
const panelElements = slotChangeGetAssignedElements(event).filter(isShellPanel);
|
|
179
183
|
this.hasPanelTop = slotChangeHasAssignedElement(event);
|
|
180
184
|
this.configurePanels(panelElements, "horizontal", "start");
|
|
181
185
|
panelElements.forEach((el) => {
|
|
@@ -185,7 +189,7 @@ class Shell extends LitElement {
|
|
|
185
189
|
this.updateResizableSlotState("panel-top", panelElements);
|
|
186
190
|
}
|
|
187
191
|
handlePanelBottomChange(event) {
|
|
188
|
-
const panelElements = slotChangeGetAssignedElements(event).filter(
|
|
192
|
+
const panelElements = slotChangeGetAssignedElements(event).filter(isShellPanel);
|
|
189
193
|
this.hasPanelBottom = slotChangeHasAssignedElement(event);
|
|
190
194
|
this.configurePanels(panelElements, "horizontal", "end");
|
|
191
195
|
panelElements.forEach((el) => {
|
|
@@ -195,7 +199,7 @@ class Shell extends LitElement {
|
|
|
195
199
|
this.updateResizableSlotState("panel-bottom", panelElements);
|
|
196
200
|
}
|
|
197
201
|
handlePanelStartChange(event) {
|
|
198
|
-
const panelElements = slotChangeGetAssignedElements(event).filter(
|
|
202
|
+
const panelElements = slotChangeGetAssignedElements(event).filter(isShellPanel);
|
|
199
203
|
this.configurePanels(panelElements, "vertical", "start");
|
|
200
204
|
panelElements.forEach((el) => {
|
|
201
205
|
el.layout = "vertical";
|
|
@@ -204,7 +208,7 @@ class Shell extends LitElement {
|
|
|
204
208
|
this.updateResizableSlotState("panel-start", panelElements);
|
|
205
209
|
}
|
|
206
210
|
handlePanelEndChange(event) {
|
|
207
|
-
const panelElements = slotChangeGetAssignedElements(event).filter(
|
|
211
|
+
const panelElements = slotChangeGetAssignedElements(event).filter(isShellPanel);
|
|
208
212
|
this.configurePanels(panelElements, "vertical", "end");
|
|
209
213
|
panelElements.forEach((el) => {
|
|
210
214
|
el.layout = "vertical";
|
|
@@ -214,7 +218,7 @@ class Shell extends LitElement {
|
|
|
214
218
|
}
|
|
215
219
|
handleDialogsSlotChange(event) {
|
|
216
220
|
this.hasDialogs = !!slotChangeHasAssignedElement(event);
|
|
217
|
-
slotChangeGetAssignedElements(event).filter(
|
|
221
|
+
slotChangeGetAssignedElements(event).filter(isDialog).forEach((el) => {
|
|
218
222
|
el.embedded = true;
|
|
219
223
|
});
|
|
220
224
|
}
|
|
@@ -1,39 +1,19 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { C as CSS_UTILITY,
|
|
2
|
+
import { C as CSS_UTILITY, d as resizeShiftStep, e as resizeStep, c as customElement } from "../../chunks/runtime.js";
|
|
3
3
|
import { keyed } from "lit/directives/keyed.js";
|
|
4
4
|
import { u as useSizeOverride, i as interact } from "../../chunks/useSizeOverride.js";
|
|
5
5
|
import { css, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
7
7
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
8
8
|
import { useDirection } from "@arcgis/lumina/controllers";
|
|
9
|
-
import {
|
|
9
|
+
import { k as getStylePixelValue, b as slotChangeGetAssignedElements, s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
10
10
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
11
11
|
import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
|
|
12
12
|
import { a as ariaValueFromSize } from "../../chunks/aria.js";
|
|
13
13
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
14
|
+
import { i as isActionBar } from "../../chunks/resources12.js";
|
|
15
|
+
import { I as ICONS, S as SLOTS, C as CSS } from "../../chunks/resources25.js";
|
|
14
16
|
const styles$1 = css`.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@keyframes in{0%{opacity:0}to{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0,-5px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(.95,.95,1)}to{opacity:1;transform:scaleZ(1)}}`;
|
|
15
|
-
const CSS = {
|
|
16
|
-
container: "container",
|
|
17
|
-
actionBarContainer: "action-bar-container",
|
|
18
|
-
contentContainer: "content-container",
|
|
19
|
-
content: "content",
|
|
20
|
-
contentActionBarExpanded: "content--action-bar-expanded",
|
|
21
|
-
contentHeader: "content__header",
|
|
22
|
-
contentBody: "content__body",
|
|
23
|
-
contentOverlay: "content--overlay",
|
|
24
|
-
floatAll: "float-all",
|
|
25
|
-
floatContent: "float--content",
|
|
26
|
-
resizeHandle: "resize-handle",
|
|
27
|
-
resizeHandleBar: "resize-handle-bar"
|
|
28
|
-
};
|
|
29
|
-
const SLOTS = {
|
|
30
|
-
actionBar: "action-bar",
|
|
31
|
-
header: "header"
|
|
32
|
-
};
|
|
33
|
-
const ICONS = {
|
|
34
|
-
dragVertical: "drag-resize-vertical",
|
|
35
|
-
dragHorizontal: "drag-resize-horizontal"
|
|
36
|
-
};
|
|
37
17
|
const styles = css`:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-border: var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3));--calcite-internal-shell-panel-resize-handle-thickness: var(--calcite-size-fixed-xxl);--calcite-internal-shell-panel-resize-handle-bar-thickness: var(--calcite-size-4xs);--calcite-internal-shell-panel-resize-handle-side-thickness: calc( var(--calcite-internal-shell-panel-resize-handle-thickness) - var( --calcite-internal-shell-panel-resize-handle-bar-thickness ) ) / 2}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 20vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 40vh)}:host([display-mode=float-all][height=s]),:host([display-mode=float-all][height-scale=s]) .content{min-block-size:var(--calcite-shell-panel-height, 20vh)}:host([display-mode=float-all][height=m]),:host([display-mode=float-all][height-scale=m]) .content{min-block-size:var(--calcite-shell-panel-height, 30vh)}:host([display-mode=float-all][height=l]),:host([display-mode=float-all][height-scale=l]) .content{min-block-size:var(--calcite-shell-panel-height, 40vh)}.container{pointer-events:none;box-sizing:border-box;display:flex;block-size:100%;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-shell-panel-text-color, var(--calcite-color-text-2))}.container *{box-sizing:border-box}.container.float-all{margin-block:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm)}:host([action-bar-position]) .container{flex-direction:var(--calcite-internal-shell-panel-container-flex-direction);padding-inline-start:var(--calcite-internal-shell-panel-container-padding-inline-start);padding-inline-end:var(--calcite-internal-shell-panel-container-padding-inline-end);padding-block-start:var(--calcite-internal-shell-panel-container-padding-block-start);padding-block-end:var(--calcite-internal-shell-panel-container-padding-block-end)}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .float-all{border-inline:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .container{block-size:auto;inline-size:100%;flex-direction:column}:host([layout=horizontal]):host([action-bar-position]) .container{flex-direction:var(--calcite-internal-shell-panel-container-flex-direction, column)}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-shell-panel-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-inset-inline-start);inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-inset-inline-end);inset-block-start:var(--calcite-internal-shell-panel-resize-handle-inset-block-start);inset-block-end:var(--calcite-internal-shell-panel-resize-handle-inset-block-end);z-index:var(--calcite-z-index-header);touch-action:none}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=start][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);block-size:100%;inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-inset-inline-end, var(--calcite-internal-shell-panel-resize-handle-offset))}:host([position=start][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-internal-shell-panel-border)}:host([position=start][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=start][layout=vertical]):host([action-bar-position]) .resize-handle{inline-size:var(--calcite-internal-shell-panel-resize-handle-inline-size, var(--calcite-size-fixed-sm-plus));block-size:var(--calcite-internal-shell-panel-resize-handle-block-size, 100%)}:host([position=start][layout=vertical]):host([action-bar-position]) .resize-handle-bar{border-inline-start:var(--calcite-internal-shell-panel-resize-handle-bar-border-inline-start, var(--calcite-internal-shell-panel-border))}:host([position=start][layout=vertical]):host([action-bar-position=top]){--calcite-internal-shell-panel-resize-handle-inset-block-start: calc( var(--calcite-internal-shell-panel-action-bar-height) * -1 )}:host([position=start][layout=vertical]):host([action-bar-position=top]) .resize-handle{block-size:calc(100% + var(--calcite-internal-shell-panel-action-bar-height))}:host([position=start][layout=vertical]):host([action-bar-position=bottom]) .resize-handle{block-size:calc(100% + var(--calcite-internal-shell-panel-action-bar-height))}:host([position=end][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=end][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-internal-shell-panel-border)}:host([position=end][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=vertical]):host([action-bar-position]) .resize-handle{inline-size:var(--calcite-internal-shell-panel-resize-handle-inline-size, var(--calcite-size-fixed-sm-plus));block-size:var(--calcite-internal-shell-panel-resize-handle-block-size, 100%);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-inset-inline-start, var(--calcite-internal-shell-panel-resize-handle-offset))}:host([position=end][layout=vertical]):host([action-bar-position=top]){--calcite-internal-shell-panel-resize-handle-inset-block-start: calc( var(--calcite-internal-shell-panel-action-bar-height) * -1 )}:host([position=end][layout=vertical]):host([action-bar-position=top]) .resize-handle{block-size:calc(100% + var(--calcite-internal-shell-panel-action-bar-height))}:host([position=end][layout=vertical]):host([action-bar-position=bottom]) .resize-handle{block-size:calc(100% + var(--calcite-internal-shell-panel-action-bar-height))}:host([position=start][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=start][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-internal-shell-panel-border)}:host([position=start][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=start][layout=horizontal]):host([action-bar-position]) .resize-handle{inline-size:var(--calcite-internal-shell-panel-resize-handle-inline-size, 100%);inset-block-end:var(--calcite-internal-shell-panel-resize-handle-inset-block-end, var(--calcite-internal-shell-panel-resize-handle-offset))}:host([position=end][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=end][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-internal-shell-panel-border)}:host([position=end][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=horizontal]):host([action-bar-position]) .resize-handle{inline-size:var(--calcite-internal-shell-panel-resize-handle-inline-size, 100%);block-size:var(--calcite-internal-shell-panel-resize-handle-block-size, var(--calcite-size-fixed-xxl));inset-block-start:var(--calcite-internal-shell-panel-resize-handle-inset-block-start, var(--calcite-internal-shell-panel-resize-handle-offset))}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}.action-bar-container{pointer-events:auto;box-sizing:border-box;display:flex;flex:1 1 auto}.content-container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:stretch;align-self:stretch}:host([layout=horizontal]) .action-bar-container,:host([layout=horizontal]) .content-container{flex-direction:column}.content{pointer-events:auto;position:relative;box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;padding:0;background-color:var(--calcite-shell-panel-background-color, var(--calcite-color-background));transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([action-bar-position]) .content{padding-inline-start:var(--calcite-internal-shell-panel-content-padding-inline-start);padding-inline-end:var(--calcite-internal-shell-panel-content-padding-inline-end);padding-block-start:var(--calcite-internal-shell-panel-content-padding-block-start);padding-block-end:var(--calcite-internal-shell-panel-content-padding-block-end)}.content--action-bar-expanded{--calcite-internal-shell-panel-max-width: 100%}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}:host([resizable][layout=vertical][position=start]) .content{padding-inline-end:var(--calcite-internal-shell-panel-content-padding-inline-end, var(--calcite-size-fixed-sm-plus))}:host([resizable][layout=vertical][position=end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=vertical][position=end]):host([action-bar-position]) .content{padding-inline-start:var(--calcite-internal-shell-panel-content-padding-inline-start, var(--calcite-size-fixed-sm-plus))}:host([resizable][layout=horizontal][position=start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=start]):host([action-bar-position]) .content{padding-block-end:var(--calcite-internal-shell-panel-content-padding-block-end, var(--calcite-size-fixed-sm-plus))}:host([resizable][layout=horizontal][position=end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=end]):host([action-bar-position]) .content{padding-block-start:var(--calcite-internal-shell-panel-content-padding-block-start, var(--calcite-size-fixed-sm-plus))}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm))}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-block-end:auto;block-size:auto;overflow:hidden;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));margin-inline:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:var(--calcite-spacing-sm)}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([action-bar-position]) .content ::slotted(calcite-flow),:host([action-bar-position]) .content ::slotted(calcite-panel:not([closed])){border-inline-start:var(--calcite-internal-shell-panel-slotted-panel-border-inline-start, var(--calcite-internal-shell-panel-border));border-inline-end:var(--calcite-internal-shell-panel-slotted-panel-border-inline-end, var(--calcite-internal-shell-panel-border));border-block-start:var(--calcite-internal-shell-panel-slotted-panel-border-block-start, var(--calcite-internal-shell-panel-border));border-block-end:var(--calcite-internal-shell-panel-slotted-panel-border-block-end, var(--calcite-internal-shell-panel-border))}:host([action-bar-position]) slot[name=action-bar]::slotted(calcite-action-bar){border-block-start:var(--calcite-internal-shell-panel-action-bar-border-block-start);border-block-end:var(--calcite-internal-shell-panel-action-bar-border-block-end)}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=start]:not([slot=panel-end])):host([action-bar-position]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]):host([action-bar-position]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline-start:var(--calcite-internal-shell-panel-action-bar-border-inline-start, none);border-inline-end:var(--calcite-internal-shell-panel-action-bar-border-inline-end);border-block-start:var(--calcite-internal-shell-panel-action-bar-border-block-start);border-block-end:var(--calcite-internal-shell-panel-action-bar-border-block-end)}:host([resizable][layout=vertical]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]) .content ::slotted(calcite-panel){border-inline-start:none;border-inline-end:none}:host([resizable][layout=vertical]):host([action-bar-position]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]):host([action-bar-position]) .content ::slotted(calcite-panel){border-inline-start:var(--calcite-internal-shell-panel-slotted-panel-border-inline-start, none);border-inline-end:var(--calcite-internal-shell-panel-slotted-panel-border-inline-end, none)}:host([resizable][layout=horizontal]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]) .content ::slotted(calcite-panel){border-block-start:none;border-block-end:none}:host([resizable][layout=horizontal]):host([action-bar-position]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]):host([action-bar-position]) .content ::slotted(calcite-panel){border-block-start:var(--calcite-internal-shell-panel-slotted-panel-border-block-start, none);border-block-end:var(--calcite-internal-shell-panel-slotted-panel-border-block-end, none)}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([position=end]:not([slot=panel-start])):host([action-bar-position]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]):host([action-bar-position]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline-start:var(--calcite-internal-shell-panel-action-bar-border-inline-start);border-inline-end:var(--calcite-internal-shell-panel-action-bar-border-inline-end, none)}:host([position=end]:not([slot=panel-start])):host([action-bar-position]) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])):host([action-bar-position]) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]):host([action-bar-position]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]):host([action-bar-position]) .content ::slotted(calcite-panel){border-inline-start:var(--calcite-internal-shell-panel-slotted-panel-border-inline-start);border-inline-end:var(--calcite-internal-shell-panel-slotted-panel-border-inline-end, none)}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([display-mode=dock]) .resize-handle-bar,:host([display-mode=float-all]) .resize-handle-bar,:host([display-mode=overlay]) .resize-handle-bar{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}:host([display-mode=dock]):host([action-bar-position]) .resize-handle-bar,:host([display-mode=float-all]):host([action-bar-position]) .resize-handle-bar,:host([display-mode=overlay]):host([action-bar-position]) .resize-handle-bar{border-inline-end:var(--calcite-internal-shell-panel-resize-handle-bar-border-inline-end, var(--calcite-border-width-sm) solid var(--calcite-color-border-3));border-block-start:var(--calcite-internal-shell-panel-resize-handle-bar-border-block-start, var(--calcite-border-width-sm) solid var(--calcite-color-border-3));border-block-end:var(--calcite-internal-shell-panel-resize-handle-bar-border-block-end, var(--calcite-border-width-sm) solid var(--calcite-color-border-3))}:host([action-bar-position]) ::slotted(calcite-action-bar){display:flex;flex:1 1 0}:host([action-bar-position=start][slot=panel-start]){--calcite-internal-shell-panel-action-bar-border-inline-start: 0;--calcite-internal-shell-panel-action-bar-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: 0;--calcite-internal-shell-panel-action-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-inset-inline-end: calc( var(--calcite-internal-shell-panel-resize-handle-side-thickness) * -1 );--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=start][slot=panel-end]){--calcite-internal-shell-panel-action-bar-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-inline-end: 0;--calcite-internal-shell-panel-slotted-panel-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-inset-inline-start: calc( calc( var(--calcite-internal-shell-panel-action-bar-width) + var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-resize-handle-inset-inline-end: auto;--calcite-internal-shell-panel-content-padding-inline-start: 0;--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=start][slot=panel-end]):host([resizable]){--calcite-internal-shell-panel-container-padding-inline-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=end][slot=panel-start]){--calcite-internal-shell-panel-action-bar-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-inset-inline-start: auto;--calcite-internal-shell-panel-resize-handle-inset-inline-end: calc( calc( var(--calcite-internal-shell-panel-action-bar-width) + var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-container-padding-inline-end: 0;--calcite-internal-shell-panel-content-padding-inline-end: 0;--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=end][slot=panel-start]):host([resizable]){--calcite-internal-shell-panel-container-padding-inline-end: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=end][slot=panel-end]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-resize-handle-inset-inline-start: calc( var(--calcite-internal-shell-panel-resize-handle-side-thickness) * -1 );--calcite-internal-shell-panel-content-padding-inline-start: 0;--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=end][slot=panel-end]):host([resizable]){--calcite-internal-shell-panel-content-padding-inline-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=top][slot=panel-start]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-container-flex-direction: column;--calcite-internal-shell-panel-resize-handle-inset-inline-end: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=top][slot=panel-start]):host([resizable]){--calcite-internal-shell-panel-container-padding-inline-end: var( --calcite-internal-shell-panel-resize-handle-bar-thickness );--calcite-internal-shell-panel-content-padding-inline-end: 0}:host([action-bar-position=top][slot=panel-end]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-container-flex-direction: column;--calcite-internal-shell-panel-resize-handle-inset-inline-start: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=top][slot=panel-end]):host([resizable]){--calcite-internal-shell-panel-container-padding-inline-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness );--calcite-internal-shell-panel-content-padding-inline-start: 0}:host([action-bar-position=bottom][slot=panel-start]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-container-flex-direction: column;--calcite-internal-shell-panel-resize-handle-inset-inline-end: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-content-padding-inline-end: 0;--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=bottom][slot=panel-start]):host([resizable]){--calcite-internal-shell-panel-container-padding-inline-end: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=bottom][slot=panel-end]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-container-flex-direction: column;--calcite-internal-shell-panel-resize-handle-inset-inline-start: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-resize-handle-inline-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=bottom][slot=panel-end]):host([resizable]){--calcite-internal-shell-panel-container-padding-inline-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness );--calcite-internal-shell-panel-content-padding-inline-start: 0}:host([action-bar-position=top][slot=panel-top]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-shell-panel-z-index: var(--calcite-z-index-sticky)}:host([action-bar-position=top][slot=panel-bottom]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-resize-handle-inset-block-start: calc( calc( var(--calcite-internal-shell-panel-action-bar-height) + var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 )}:host([action-bar-position=top][slot=panel-bottom]):host([resizable]){--calcite-internal-shell-panel-container-padding-block-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness );--calcite-internal-shell-panel-content-padding-block-start: 0}:host([action-bar-position=bottom][slot=panel-top]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-resize-handle-inset-block-end: calc( calc( var(--calcite-internal-shell-panel-action-bar-height) + var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-content-padding-block-end: 0;--calcite-shell-panel-z-index: var(--calcite-z-index-sticky)}:host([action-bar-position=bottom][slot=panel-top]):host([resizable]){--calcite-internal-shell-panel-container-padding-block-end: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=bottom][slot=panel-bottom]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: var(--calcite-internal-shell-panel-border)}:host([action-bar-position=start][slot=panel-top]){--calcite-internal-shell-panel-action-bar-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-resize-handle-inset-inline-start: calc( var(--calcite-internal-shell-panel-action-bar-width) * -1 );--calcite-internal-shell-panel-resize-handle-inset-inline-end: 0;--calcite-internal-shell-panel-resize-handle-inset-block-end: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-container-flex-direction: row;--calcite-internal-shell-panel-content-padding-block-end: 0;--calcite-internal-shell-panel-resize-handle-inline-size: auto;--calcite-shell-panel-z-index: var(--calcite-z-index-sticky)}:host([action-bar-position=start][slot=panel-top]):host([resizable]){--calcite-internal-shell-panel-container-padding-block-end: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=end][slot=panel-top]){--calcite-internal-shell-panel-action-bar-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-slotted-panel-border-block-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-container-flex-direction: row;--calcite-internal-shell-panel-resize-handle-inset-inline-start: 0;--calcite-internal-shell-panel-resize-handle-inset-inline-end: calc( var(--calcite-internal-shell-panel-action-bar-width) * -1 );--calcite-internal-shell-panel-resize-handle-inset-block-end: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-content-padding-block-end: 0;--calcite-internal-shell-panel-resize-handle-inline-size: auto;--calcite-shell-panel-z-index: var(--calcite-z-index-sticky)}:host([action-bar-position=end][slot=panel-top]):host([resizable]){--calcite-internal-shell-panel-container-padding-block-end: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=start][slot=panel-bottom]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-end: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-container-flex-direction: row;--calcite-internal-shell-panel-resize-handle-inset-inline-start: calc( var(--calcite-internal-shell-panel-action-bar-width) * -1 );--calcite-internal-shell-panel-resize-handle-inset-inline-end: 0;--calcite-internal-shell-panel-resize-handle-inset-block-start: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-resize-handle-inline-size: auto;--calcite-internal-shell-panel-resize-handle-block-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=start][slot=panel-bottom]):host([resizable]){--calcite-internal-shell-panel-content-padding-block-start: 0;--calcite-internal-shell-panel-container-padding-block-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([action-bar-position=end][slot=panel-bottom]){--calcite-internal-shell-panel-resize-handle-bar-border-inline-end: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-start: 0;--calcite-internal-shell-panel-resize-handle-bar-border-block-end: 0;--calcite-internal-shell-panel-action-bar-border-inline-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-action-bar-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-slotted-panel-border-block-start: var(--calcite-internal-shell-panel-border);--calcite-internal-shell-panel-container-flex-direction: row;--calcite-internal-shell-panel-resize-handle-inset-inline-start: 0;--calcite-internal-shell-panel-resize-handle-inset-inline-end: calc( var(--calcite-internal-shell-panel-action-bar-width) * -1 );--calcite-internal-shell-panel-resize-handle-inset-block-start: calc( calc( var(--calcite-internal-shell-panel-resize-handle-bar-thickness) + var(--calcite-internal-shell-panel-resize-handle-side-thickness) ) * -1 );--calcite-internal-shell-panel-resize-handle-inline-size: auto;--calcite-internal-shell-panel-resize-handle-block-size: var(--calcite-size-fixed-xxl)}:host([action-bar-position=end][slot=panel-bottom]):host([resizable]){--calcite-internal-shell-panel-content-padding-block-start: 0;--calcite-internal-shell-panel-container-padding-block-start: var( --calcite-internal-shell-panel-resize-handle-bar-thickness )}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
38
18
|
class ShellPanel extends LitElement {
|
|
39
19
|
constructor() {
|
|
@@ -350,7 +330,7 @@ class ShellPanel extends LitElement {
|
|
|
350
330
|
actionBar.layout = this.layout;
|
|
351
331
|
}
|
|
352
332
|
handleActionBarSlotChange(event) {
|
|
353
|
-
const actionBar = slotChangeGetAssignedElements(event).find(
|
|
333
|
+
const actionBar = slotChangeGetAssignedElements(event).find(isActionBar);
|
|
354
334
|
this.actionBar = actionBar;
|
|
355
335
|
this.setActionBarLayout(actionBar);
|
|
356
336
|
this.syncActionBarExpandedState(actionBar);
|
|
@@ -5,7 +5,7 @@ import { css, html, nothing } from "lit";
|
|
|
5
5
|
import { LitElement, createEvent, stringOrBoolean, setAttribute, safeClassMap, safeStyleMap } from "@arcgis/lumina";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
7
7
|
import { g as guid } from "../../chunks/guid.js";
|
|
8
|
-
import {
|
|
8
|
+
import { e as isPrimaryPointerButton, B as intersects } from "../../chunks/dom.js";
|
|
9
9
|
import { I as InternalLabel } from "../../chunks/InternalLabel.js";
|
|
10
10
|
import { V as Validation } from "../../chunks/Validation.js";
|
|
11
11
|
import { i as isActivationKey } from "../../chunks/key.js";
|
|
@@ -132,7 +132,6 @@ class Slider extends LitElement {
|
|
|
132
132
|
this.trackRef = createRef();
|
|
133
133
|
this.focusSetter = useSetFocus()(this);
|
|
134
134
|
this.interactiveContainer = useInteractive(this);
|
|
135
|
-
this.labelable = useLabel(this);
|
|
136
135
|
this._value = defaultValue;
|
|
137
136
|
this.activeProp = "value";
|
|
138
137
|
this.tickValues = [];
|
|
@@ -153,6 +152,7 @@ class Slider extends LitElement {
|
|
|
153
152
|
this.step = 1;
|
|
154
153
|
this.calciteSliderChange = createEvent({ cancelable: false });
|
|
155
154
|
this.calciteSliderInput = createEvent({ cancelable: false });
|
|
155
|
+
useLabel(this);
|
|
156
156
|
this.listen("pointerdown", this.pointerDownHandler);
|
|
157
157
|
this.listen("keydown", this.handleKeyDown);
|
|
158
158
|
this.listen("touchstart", this.handleTouchStart);
|
|
@@ -4,7 +4,7 @@ import { ref } from "lit/directives/ref.js";
|
|
|
4
4
|
import { keyed } from "lit/directives/keyed.js";
|
|
5
5
|
import { css, nothing, html } from "lit";
|
|
6
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
7
|
-
import {
|
|
7
|
+
import { a as defaultMenuPlacement } from "../../chunks/floating-ui.js";
|
|
8
8
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
9
9
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
10
10
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
@@ -3,7 +3,7 @@ import { l as logger, c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
5
5
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
6
|
-
import {
|
|
6
|
+
import { f as focusElement } from "../../chunks/dom.js";
|
|
7
7
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
8
8
|
import { u as useSortable } from "../../chunks/useSortable.js";
|
|
9
9
|
const CSS = {
|
|
@@ -4,7 +4,7 @@ import { css, html } from "lit";
|
|
|
4
4
|
import { keyed } from "lit/directives/keyed.js";
|
|
5
5
|
import { LitElement, safeClassMap } from "@arcgis/lumina";
|
|
6
6
|
import { s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
7
|
-
import { S as SLOTS, C as CSS } from "../../chunks/
|
|
7
|
+
import { S as SLOTS, C as CSS } from "../../chunks/resources19.js";
|
|
8
8
|
const styles = css`:host([disabled]) .content{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);padding-inline:var(--calcite-stack-padding-inline, .75rem);padding-block:var(--calcite-stack-padding-block, .5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:.75rem;align-self:center}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
9
9
|
class Stack extends LitElement {
|
|
10
10
|
constructor() {
|
|
@@ -3,11 +3,11 @@ import { c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { svg, html, css, nothing } from "lit";
|
|
4
4
|
import { safeClassMap, LitElement, createEvent } from "@arcgis/lumina";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
|
-
import { d as focusElementInGroup,
|
|
6
|
+
import { d as focusElementInGroup, b as slotChangeGetAssignedElements } from "../../chunks/dom.js";
|
|
7
7
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
8
8
|
import { g as guid } from "../../chunks/guid.js";
|
|
9
9
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
|
-
import { i as isStepperItem } from "../../chunks/
|
|
10
|
+
import { i as isStepperItem } from "../../chunks/resources26.js";
|
|
11
11
|
const CSS$1 = {
|
|
12
12
|
actionIcon: "action-icon",
|
|
13
13
|
actionContainer: "action-container",
|
|
@@ -9,7 +9,7 @@ import { i as isHidden } from "../../chunks/component.js";
|
|
|
9
9
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
10
10
|
import { o as slotChangeHasContent } from "../../chunks/dom.js";
|
|
11
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
12
|
-
import { C as CSS, I as ICONS } from "../../chunks/
|
|
12
|
+
import { C as CSS, I as ICONS } from "../../chunks/resources26.js";
|
|
13
13
|
import { i as isActivationKey } from "../../chunks/key.js";
|
|
14
14
|
const styles = css`:host([disabled]),:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) ::slotted(*),:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s: .25rem;--calcite-internal-stepper-item-spacing-unit-m: .75rem;--calcite-internal-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-md);--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size-relative-sm)}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s: .5rem;--calcite-internal-stepper-item-spacing-unit-m: 1rem;--calcite-internal-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-lg);--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size-relative-base)}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s: .75rem;--calcite-internal-stepper-item-spacing-unit-m: 1.25rem;--calcite-internal-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-xl);--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-lg);margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-relative-md)}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-bar-gap, var(--calcite-internal-stepper-item-spacing-unit-s))}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host{outline-color:transparent}:host(:focus){outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host .stepper-item-content,:host .stepper-item-header{box-sizing:border-box;padding-block:var(--calcite-internal-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start;padding-block:var(--calcite-internal-stepper-item-header-padding)}:host .stepper-item-header:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-icon{margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;margin-block-start:var(--calcite-spacing-base);color:var(--calcite-stepper-item-icon-color, var(--calcite-color-border-input))}:host([complete]) .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}.stepper-item-heading,.stepper-item-description,.stepper-item-number{line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-heading{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-1))}:host .stepper-item-description{color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-3))}:host .stepper-item-number{font-weight:var(--calcite-font-weight-normal);margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-stepper-item-complete-icon-color, var(--calcite-color-brand))}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color-hover, var(--calcite-color-text-1))}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-selected-header-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-l);border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=vertical][error]) .container{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=vertical][selected]) .container{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=vertical][selected]) .container .stepper-item-content.has-slotted-content{margin-block-end:var(--calcite-internal-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;outline-color:transparent;grid-row:items;border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}@media(forced-colors:active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-2))}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-text-3))}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`;
|
|
15
15
|
class StepperItem extends LitElement {
|
|
@@ -7,9 +7,9 @@ import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
|
7
7
|
import Color from "color";
|
|
8
8
|
import { s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
9
9
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
10
|
-
import {
|
|
10
|
+
import { h as hexify } from "../../chunks/utils3.js";
|
|
11
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
12
|
-
import { S as SLOTS, C as CSS, I as IDS, a as CHECKER_DIMENSIONS } from "../../chunks/
|
|
12
|
+
import { S as SLOTS, C as CSS, I as IDS, a as CHECKER_DIMENSIONS } from "../../chunks/resources27.js";
|
|
13
13
|
import { i as isActivationKey } from "../../chunks/key.js";
|
|
14
14
|
const styles = css`:host{display:block;--calcite-internal-swatch-inset: var(--calcite-spacing-xxs)}:host([scale=s]) .container{--calcite-internal-swatch-size: var(--calcite-spacing-xl)}:host([scale=m]) .container{--calcite-internal-swatch-size: var(--calcite-spacing-xxl)}:host([scale=l]) .container{--calcite-internal-swatch-size: var(--calcite-spacing-xxxl)}.container{position:relative;box-sizing:border-box;justify-content:center;overflow:hidden;outline-color:transparent;font-size:var(--calcite-internal-swatch-font-size, var(--calcite-font-size));block-size:var(--calcite-internal-swatch-size, auto);inline-size:var(--calcite-internal-swatch-size, auto);min-inline-size:var(--calcite-internal-swatch-size, auto);border-radius:var(--calcite-swatch-corner-radius, 0)}.container:not(.non-interactive):hover{cursor:pointer;box-shadow:0 0 0 var(--calcite-border-width-md) var(--calcite-color-border-1)}.container.selectable{cursor:pointer}.container:not(.non-interactive):focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.swatch{position:absolute;display:inline-flex;overflow:hidden;z-index:calc(var(--calcite-z-index) + 1);block-size:var(--calcite-internal-swatch-size, auto);inline-size:var(--calcite-internal-swatch-size, auto);min-inline-size:var(--calcite-internal-swatch-size, auto);border-radius:var(--calcite-swatch-corner-radius, 0)}:host([selected]) .swatch{inset:var(--calcite-internal-swatch-inset);block-size:calc(var(--calcite-internal-swatch-size, auto) - 2 * var(--calcite-internal-swatch-inset));inline-size:calc(var(--calcite-internal-swatch-size, auto) - 2 * var(--calcite-internal-swatch-inset));min-inline-size:calc(var(--calcite-internal-swatch-size, auto) - 2 * var(--calcite-internal-swatch-inset))}:host([selected]) .container{box-shadow:inset 0 0 0 var(--calcite-border-width-md) var(--calcite-color-text-1),inset 0 0 0 var(--calcite-border-width-lg) var(--calcite-color-foreground-1)}:host([selected]) .image-container{inset:var(--calcite-internal-swatch-inset)}.image-container{position:absolute;display:inline-flex;overflow:hidden;z-index:calc(var(--calcite-z-index) + 2);inset:var(--calcite-spacing-px);display:flex;align-items:center;justify-content:center;pointer-events:none;border-radius:var(--calcite-swatch-corner-radius, 0)}.internal-svg-container{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:calc(var(--calcite-z-index) + 2)}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch--no-color rect{fill:var(--calcite-color-foreground-1)}:host([selected]) #swatch-rect,:host([selected]) #swatch-solid,:host([selected]) #swatch-transparent{stroke-width:0}#swatch-rect,#swatch-solid,#swatch-transparent{stroke:var(--calcite-color-text-1);stroke-width:var(--calcite-border-width-md);stroke-opacity:.3;rx:var(--calcite-swatch-corner-radius)}.internal-svg-disabled{stroke:#6a6a6a;fill:#fff}.internal-svg-empty{stroke:var(--calcite-color-status-danger);stroke-width:3}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
15
15
|
class Swatch extends LitElement {
|
|
@@ -3,10 +3,10 @@ import { c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
5
5
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
6
|
-
import { d as focusElementInGroup,
|
|
6
|
+
import { d as focusElementInGroup, b as slotChangeGetAssignedElements } from "../../chunks/dom.js";
|
|
7
7
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
8
8
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
9
|
-
import { i as isSwatch } from "../../chunks/
|
|
9
|
+
import { i as isSwatch } from "../../chunks/resources27.js";
|
|
10
10
|
const CSS = {
|
|
11
11
|
container: "container"
|
|
12
12
|
};
|
|
@@ -25,12 +25,12 @@ class Switch extends LitElement {
|
|
|
25
25
|
this.switchRef = createRef();
|
|
26
26
|
this.focusSetter = useSetFocus()(this);
|
|
27
27
|
this.interactiveContainer = useInteractive(this);
|
|
28
|
-
this.labelable = useLabel(this);
|
|
29
28
|
this.checked = false;
|
|
30
29
|
this.disabled = false;
|
|
31
30
|
this.required = false;
|
|
32
31
|
this.scale = "m";
|
|
33
32
|
this.calciteSwitchChange = createEvent({ cancelable: false });
|
|
33
|
+
useLabel(this);
|
|
34
34
|
this.listen("click", this.clickHandler);
|
|
35
35
|
this.listen("keydown", this.keyDownHandler);
|
|
36
36
|
}
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
import { c as customElement } from "../../chunks/runtime.js";
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { LitElement, setAttribute, safeClassMap } from "@arcgis/lumina";
|
|
5
|
-
import {
|
|
5
|
+
import { n as nodeListToArray } from "../../chunks/dom.js";
|
|
6
6
|
import { g as guid } from "../../chunks/guid.js";
|
|
7
|
+
import { i as isTabs } from "../../chunks/resources28.js";
|
|
8
|
+
import { i as isTag } from "../../chunks/resources3.js";
|
|
7
9
|
const CSS = {
|
|
8
10
|
container: "container",
|
|
9
11
|
content: "content",
|
|
@@ -12,6 +14,7 @@ const CSS = {
|
|
|
12
14
|
const IDS = {
|
|
13
15
|
tabTitleId: (id) => `calcite-tab-title-${id}`
|
|
14
16
|
};
|
|
17
|
+
const isTab = isTag("calcite-tab");
|
|
15
18
|
const styles = css`:host{display:none}:host,.container,.content{block-size:100%;inline-size:100%}:host([selected]),:host([selected]) .container{display:flex;flex-direction:column}.content{box-sizing:border-box;padding-block:var(--calcite-tab-content-space-y, var(--calcite-tab-content-block-padding, var(--calcite-internal-tab-content-space-y)))}.scale-s{--calcite-internal-tab-content-space-y: .25rem;font-size:var(--calcite-font-size-sm);line-height:1rem}.scale-m{--calcite-internal-tab-content-space-y: .5rem;font-size:var(--calcite-font-size);line-height:1rem}.scale-l{--calcite-internal-tab-content-space-y: var(--calcite-space-sm-plus);font-size:var(--calcite-font-size-md);line-height:1.25rem}.container{display:none;block-size:100%;inline-size:100%;overflow:auto;outline-color:transparent}.container:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
16
19
|
class Tab extends LitElement {
|
|
17
20
|
constructor() {
|
|
@@ -29,7 +32,7 @@ class Tab extends LitElement {
|
|
|
29
32
|
this.styles = styles;
|
|
30
33
|
}
|
|
31
34
|
async getTabIndex() {
|
|
32
|
-
return Array.prototype.indexOf.call(nodeListToArray(this.el.parentElement.children).filter(
|
|
35
|
+
return Array.prototype.indexOf.call(nodeListToArray(this.el.parentElement.children).filter(isTab), this.el);
|
|
33
36
|
}
|
|
34
37
|
_updateAriaInfo(tabIds = [], titleIds = []) {
|
|
35
38
|
this.labeledBy = titleIds[tabIds.indexOf(this.el.id)] || void 0;
|
|
@@ -45,7 +48,7 @@ class Tab extends LitElement {
|
|
|
45
48
|
}));
|
|
46
49
|
}
|
|
47
50
|
internalTabChangeHandler(event) {
|
|
48
|
-
const targetTabsEl = event.composedPath().find(
|
|
51
|
+
const targetTabsEl = event.composedPath().find(isTabs);
|
|
49
52
|
if (targetTabsEl !== this.parentTabsEl) {
|
|
50
53
|
return;
|
|
51
54
|
}
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
|
|
3
3
|
import { ref } from "lit/directives/ref.js";
|
|
4
4
|
import { keyed } from "lit/directives/keyed.js";
|
|
5
|
-
import { calciteSize24, calciteSize32, calciteSize44 } from "@esri/calcite-design-tokens/dist/es6/core.js";
|
|
6
5
|
import { css, html } from "lit";
|
|
7
6
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
8
7
|
import { useDirection } from "@arcgis/lumina/controllers";
|
|
9
|
-
import {
|
|
8
|
+
import { C as filterDirectChildren, d as focusElementInGroup, f as focusElement } from "../../chunks/dom.js";
|
|
10
9
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
11
10
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
12
11
|
const ICON = {
|
|
@@ -23,6 +22,7 @@ const CSS = {
|
|
|
23
22
|
scale: (scale) => `scale-${scale}`,
|
|
24
23
|
position: (position) => `position-${position}`
|
|
25
24
|
};
|
|
25
|
+
const SCROLL_THRESHOLD = 1;
|
|
26
26
|
const styles = css`:host{position:relative;display:flex}:host([bordered]) .scroll-button--forward calcite-button{--calcite-internal-button-border-inline-end-color: var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .scroll-button--backward calcite-button{--calcite-internal-button-border-inline-start-color: var( --calcite-tab-border-color, var(--calcite-color-border-1) )}.scale-s{--calcite-internal-tab-nav-button-width: 24px;min-block-size:1.5rem}.scale-m{--calcite-internal-tab-nav-button-width: 32px;min-block-size:2rem}.scale-l{--calcite-internal-tab-nav-button-width: 44px;min-block-size:2.75rem}.container::-webkit-scrollbar{display:none;-ms-overflow-style:none;scrollbar-width:none}:host([layout=center]) ::slotted(calcite-tab-title){display:flex;flex-grow:1;flex-shrink:0;min-inline-size:auto;white-space:nowrap}:host([layout=center]) ::slotted(calcite-tab-title[selected]){overflow:unset}:host(:not([bordered])) .scale-l{--calcite-internal-tab-nav-gap: var(--calcite-spacing-xxl)}:host(:not([bordered])) .scale-m{--calcite-internal-tab-nav-gap: var(--calcite-spacing-xl)}:host(:not([bordered])) .scale-s{--calcite-internal-tab-nav-gap: var(--calcite-spacing-lg)}:host(:not([bordered])) .tab-titles-slot-wrapper{gap:var(--calcite-internal-tab-nav-gap)}:host([layout=center]:not([bordered])) .tab-titles-slot-wrapper{padding-inline:var(--calcite-spacing-xl)}.tab-titles-slot-wrapper{flex:1 1 0%}.container,.tab-titles-slot-wrapper{display:flex;inline-size:100%;justify-content:flex-start;overflow:hidden;white-space:nowrap}.scroll-button{position:absolute;inset-block:0px}.scroll-button calcite-button{--calcite-button-text-color: var(--calcite-tab-text-color, var(--calcite-color-text-3));--calcite-button-background-color: var(--calcite-color-transparent);--calcite-offset-invert-focus: 1;block-size:var(--calcite-container-size-content-fluid)}.scroll-button-container{display:flex;inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);inset-inline-end:0;inline-size:calc(2 * var(--calcite-internal-tab-nav-button-width))}.scroll-button--forward{inset-inline-end:0;z-index:var(--calcite-z-index)}.scroll-button--backward{inset-inline-end:var(--calcite-internal-tab-nav-button-width);z-index:var(--calcite-z-index)}:host(:not([bordered])) .scroll-button--backward:before{background-color:var(--calcite-tab-border-color, var(--calcite-color-border-3));content:"";inline-size:var(--calcite-border-width-sm);inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);position:absolute;inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
27
27
|
class TabNav extends LitElement {
|
|
28
28
|
constructor() {
|
|
@@ -113,10 +113,6 @@ class TabNav extends LitElement {
|
|
|
113
113
|
get enabledTabTitles() {
|
|
114
114
|
return filterDirectChildren(this.el, "calcite-tab-title:not([disabled])").filter((tabTitle) => !tabTitle.closed);
|
|
115
115
|
}
|
|
116
|
-
get scrollerButtonWidth() {
|
|
117
|
-
const { scale } = this;
|
|
118
|
-
return parseInt(scale === "s" ? calciteSize24 : scale === "m" ? calciteSize32 : calciteSize44, 10);
|
|
119
|
-
}
|
|
120
116
|
get tabTitles() {
|
|
121
117
|
return filterDirectChildren(this.el, "calcite-tab-title");
|
|
122
118
|
}
|
|
@@ -155,11 +151,12 @@ class TabNav extends LitElement {
|
|
|
155
151
|
const containerBounds = tabTitleContainer.getBoundingClientRect();
|
|
156
152
|
const tabTitleBounds = activatedTabTitle.getBoundingClientRect();
|
|
157
153
|
const scrollPosition = tabTitleContainer.scrollLeft;
|
|
158
|
-
|
|
159
|
-
|
|
154
|
+
const offsetLeft = tabTitleBounds.left - containerBounds.left;
|
|
155
|
+
if (offsetLeft < 0) {
|
|
156
|
+
const left = scrollPosition + offsetLeft;
|
|
160
157
|
tabTitleContainer.scrollTo({ left, behavior });
|
|
161
158
|
} else if (tabTitleBounds.right > containerBounds.right) {
|
|
162
|
-
const left = scrollPosition + (tabTitleBounds.right - containerBounds.right);
|
|
159
|
+
const left = scrollPosition + Math.min(tabTitleBounds.right - containerBounds.right, offsetLeft);
|
|
163
160
|
tabTitleContainer.scrollTo({ left, behavior });
|
|
164
161
|
}
|
|
165
162
|
});
|
|
@@ -267,11 +264,11 @@ class TabNav extends LitElement {
|
|
|
267
264
|
const visibleWidth = tabTitleContainer.clientWidth;
|
|
268
265
|
const totalContentWidth = tabTitleContainer.scrollWidth;
|
|
269
266
|
if (this.effectiveDir === "ltr") {
|
|
270
|
-
isOverflowStart = scrollPosition >
|
|
271
|
-
isOverflowEnd = scrollPosition + visibleWidth
|
|
267
|
+
isOverflowStart = scrollPosition > SCROLL_THRESHOLD;
|
|
268
|
+
isOverflowEnd = totalContentWidth - (scrollPosition + visibleWidth) > SCROLL_THRESHOLD;
|
|
272
269
|
} else {
|
|
273
|
-
isOverflowStart = scrollPosition <
|
|
274
|
-
isOverflowEnd =
|
|
270
|
+
isOverflowStart = scrollPosition < -SCROLL_THRESHOLD;
|
|
271
|
+
isOverflowEnd = totalContentWidth - visibleWidth + scrollPosition > SCROLL_THRESHOLD;
|
|
275
272
|
}
|
|
276
273
|
this.hasOverflowingStartTabTitle = isOverflowStart;
|
|
277
274
|
this.hasOverflowingEndTabTitle = isOverflowEnd;
|
|
@@ -283,55 +280,46 @@ class TabNav extends LitElement {
|
|
|
283
280
|
return;
|
|
284
281
|
}
|
|
285
282
|
const containerBounds = tabTitleContainer.getBoundingClientRect();
|
|
286
|
-
const tabTitles = Array.from(this.el.querySelectorAll("calcite-tab-title"));
|
|
287
283
|
const { effectiveDir } = this;
|
|
288
|
-
|
|
289
|
-
|
|
284
|
+
const scrollToRightTabTiles = direction === "forward" && effectiveDir === "ltr" || direction === "backward" && effectiveDir === "rtl";
|
|
285
|
+
let tabTitleToScroll;
|
|
286
|
+
const tabTitles = direction === "forward" ? [...this.tabTitles].reverse() : this.tabTitles;
|
|
287
|
+
if (!tabTitles.length) {
|
|
288
|
+
return;
|
|
290
289
|
}
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
const
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
closestToEdge = tabTitle;
|
|
300
|
-
} else {
|
|
301
|
-
const crossingContainerEnd = tabTitleEndX > containerEndX && tabTitleBounds.x > containerBounds.x;
|
|
302
|
-
if (crossingContainerEnd) {
|
|
303
|
-
closestToEdge = tabTitle;
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
} else {
|
|
307
|
-
const beforeContainerStart = tabTitleEndX < containerBounds.x;
|
|
308
|
-
if (beforeContainerStart) {
|
|
309
|
-
closestToEdge = tabTitle;
|
|
310
|
-
} else {
|
|
311
|
-
const crossingContainerStart = tabTitleBounds.x < containerBounds.x && tabTitleEndX > containerBounds.x;
|
|
312
|
-
if (crossingContainerStart) {
|
|
313
|
-
closestToEdge = tabTitle;
|
|
314
|
-
}
|
|
290
|
+
if (scrollToRightTabTiles) {
|
|
291
|
+
let closestTabTitleAfterContainerEnd;
|
|
292
|
+
const closestTabTitleCrossingContainerEnd = tabTitles.find((tabTitle) => {
|
|
293
|
+
const tabTitleBounds2 = tabTitle.getBoundingClientRect();
|
|
294
|
+
const isAfterContainerEnd = tabTitleBounds2.left >= containerBounds.right;
|
|
295
|
+
const isClippingContainerEnd = tabTitleBounds2.left < containerBounds.right && tabTitleBounds2.right > containerBounds.right && tabTitleBounds2.right - containerBounds.right > SCROLL_THRESHOLD;
|
|
296
|
+
if (isAfterContainerEnd) {
|
|
297
|
+
closestTabTitleAfterContainerEnd = tabTitle;
|
|
315
298
|
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
if (closestToEdge) {
|
|
320
|
-
const scrollerButtonContainerWidth = 2 * this.scrollerButtonWidth;
|
|
321
|
-
const offsetAdjustment = direction === "forward" && effectiveDir === "ltr" || direction === "backward" && effectiveDir === "rtl" ? -scrollerButtonContainerWidth : closestToEdge.offsetWidth - (tabTitleContainer.clientWidth + scrollerButtonContainerWidth);
|
|
322
|
-
scrollTo = closestToEdge.offsetLeft + offsetAdjustment;
|
|
299
|
+
return isClippingContainerEnd;
|
|
300
|
+
});
|
|
301
|
+
tabTitleToScroll = closestTabTitleCrossingContainerEnd ?? closestTabTitleAfterContainerEnd;
|
|
323
302
|
} else {
|
|
324
|
-
|
|
325
|
-
const
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
303
|
+
let closestTabTitleBeforeContainerStart;
|
|
304
|
+
const closestTabTitleCrossingContainerStart = tabTitles.find((tabTitle) => {
|
|
305
|
+
const tabTitleBounds2 = tabTitle.getBoundingClientRect();
|
|
306
|
+
const isBeforeContainerStart = tabTitleBounds2.right <= containerBounds.left;
|
|
307
|
+
const isClippingContainerStart = tabTitleBounds2.left < containerBounds.left && tabTitleBounds2.right > containerBounds.left && containerBounds.left - tabTitleBounds2.left > SCROLL_THRESHOLD;
|
|
308
|
+
if (isBeforeContainerStart) {
|
|
309
|
+
closestTabTitleBeforeContainerStart = tabTitle;
|
|
310
|
+
}
|
|
311
|
+
return isClippingContainerStart;
|
|
312
|
+
});
|
|
313
|
+
tabTitleToScroll = closestTabTitleCrossingContainerStart ?? closestTabTitleBeforeContainerStart;
|
|
314
|
+
}
|
|
315
|
+
if (!tabTitleToScroll) {
|
|
316
|
+
return;
|
|
332
317
|
}
|
|
318
|
+
const tabTitleBounds = tabTitleToScroll.getBoundingClientRect();
|
|
319
|
+
const containerScrollPosition = tabTitleContainer.scrollLeft;
|
|
320
|
+
const scrollLeft = scrollToRightTabTiles ? containerScrollPosition + (tabTitleBounds.right - containerBounds.right) : containerScrollPosition + (tabTitleBounds.left - containerBounds.left);
|
|
333
321
|
tabTitleContainer.scrollTo({
|
|
334
|
-
left:
|
|
322
|
+
left: Math.round(scrollLeft),
|
|
335
323
|
behavior: "smooth"
|
|
336
324
|
});
|
|
337
325
|
});
|