@esri/calcite-components 5.2.0-next.50 → 5.2.0-next.52
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/2BXLNQIZ.js +2 -0
- package/dist/cdn/2MV25LR7.js +2 -0
- package/dist/cdn/2UU4GC6J.js +2 -0
- package/dist/cdn/2WG5KCNC.js +2 -0
- package/dist/cdn/2YMRGSC2.js +2 -0
- package/dist/cdn/{RYA2FB6F.js → 3FLYIPBS.js} +1 -1
- package/dist/cdn/3NIXPUL3.js +2 -0
- package/dist/cdn/{SXSJ7VBG.js → 3XC5LAPA.js} +1 -1
- package/dist/cdn/4PY4DYLG.js +2 -0
- package/dist/cdn/4QRSP54L.js +2 -0
- package/dist/cdn/{ZYL2QJAR.js → 52QBBLJO.js} +1 -1
- package/dist/cdn/{5UEOJ7CE.js → 5H2UKO4C.js} +1 -1
- package/dist/cdn/5IY5AZID.js +2 -0
- package/dist/cdn/5J66CX7P.js +2 -0
- package/dist/cdn/5KVPN6ZK.js +2 -0
- package/dist/cdn/5MWWANTK.js +2 -0
- package/dist/cdn/{MLNMNLH3.js → 66A37SAT.js} +1 -1
- package/dist/cdn/{I4U2IHE2.js → 6C45YMSU.js} +1 -1
- package/dist/cdn/6CAVJUNQ.js +2 -0
- package/dist/cdn/6DSDZW5H.js +2 -0
- package/dist/cdn/6IGGHQTQ.js +2 -0
- package/dist/cdn/6JD2UITH.js +2 -0
- package/dist/cdn/{LP44T5MQ.js → 6RAAG5YR.js} +1 -1
- package/dist/cdn/6RY5N3R3.js +2 -0
- package/dist/cdn/{NHYH4CYQ.js → 6ZYKELKO.js} +1 -1
- package/dist/cdn/{5ETX2W22.js → 7DJSWIUP.js} +1 -1
- package/dist/cdn/7EPA3JVK.js +2 -0
- package/dist/cdn/7KM6PEAO.js +2 -0
- package/dist/cdn/7MF3YSBV.js +2 -0
- package/dist/cdn/7VDY6654.js +2 -0
- package/dist/cdn/{Q5QY7RFF.js → A43H4ACK.js} +1 -1
- package/dist/cdn/{KILBV2AU.js → AI3JLLET.js} +1 -1
- package/dist/cdn/{KJWTGU2V.js → ANAJQLWU.js} +1 -1
- package/dist/cdn/ANJDXEZQ.js +2 -0
- package/dist/cdn/ATKBKIJQ.js +2 -0
- package/dist/cdn/{7FQB5OCK.js → AUPHVCL5.js} +1 -1
- package/dist/cdn/AWNYLXEL.js +2 -0
- package/dist/cdn/{SMJCYMUC.js → BKUQTED6.js} +1 -1
- package/dist/cdn/{3OORDQLB.js → BM4FIX25.js} +1 -1
- package/dist/cdn/BOHDV2WG.js +2 -0
- package/dist/cdn/{KC6UFK5B.js → BYDMHOHU.js} +1 -1
- package/dist/cdn/D3KUIDF2.js +2 -0
- package/dist/cdn/{FISWQQA5.js → DEAZPR3O.js} +1 -1
- package/dist/cdn/{PD7SSDTT.js → DFS62MDO.js} +1 -1
- package/dist/cdn/DGCYSGCP.js +2 -0
- package/dist/cdn/DTVZ6D4T.js +2 -0
- package/dist/cdn/E67ZD3GJ.js +2 -0
- package/dist/cdn/E7FBXTLX.js +2 -0
- package/dist/cdn/EAXTNNI7.js +2 -0
- package/dist/cdn/EFDH2OAA.js +2 -0
- package/dist/cdn/EFTPKAD4.js +2 -0
- package/dist/cdn/EHTNWRA6.js +2 -0
- package/dist/cdn/EVRI2FZL.js +2 -0
- package/dist/cdn/{NI4S4JB4.js → F6BRM2Q3.js} +1 -1
- package/dist/cdn/{WZGJADMP.js → F6KQ2PW5.js} +1 -1
- package/dist/cdn/FA4PIP7T.js +2 -0
- package/dist/cdn/FDLVSPXR.js +2 -0
- package/dist/cdn/FJEFDFTK.js +2 -0
- package/dist/cdn/FSWRPJLY.js +2 -0
- package/dist/cdn/{VXD6LR2D.js → FU7PP7EZ.js} +1 -1
- package/dist/cdn/{3HVLWAZV.js → FZH24ECO.js} +1 -1
- package/dist/cdn/{5HAO4D5O.js → G5TMRI7H.js} +1 -1
- package/dist/cdn/{L5Z6MAAX.js → GBVEV7ZN.js} +1 -1
- package/dist/cdn/GFDADXBN.js +2 -0
- package/dist/cdn/GFITUMVO.js +2 -0
- package/dist/cdn/GGDUHGLC.js +2 -0
- package/dist/cdn/GLWU3SXR.js +2 -0
- package/dist/cdn/GNJXEF4J.js +2 -0
- package/dist/cdn/GTE72X6T.js +2 -0
- package/dist/cdn/GVBK444B.js +2 -0
- package/dist/cdn/{KZUV22NQ.js → HDG74ORI.js} +1 -1
- package/dist/cdn/HH2EQQZ3.js +2 -0
- package/dist/cdn/HLH6INWE.js +2 -0
- package/dist/cdn/HZLJJMO4.js +2 -0
- package/dist/cdn/{5IFVHGFF.js → I7SS2H7N.js} +1 -1
- package/dist/cdn/IMX2HMIC.js +2 -0
- package/dist/cdn/IOHLPB7D.js +2 -0
- package/dist/cdn/IPJTEYGY.js +2 -0
- package/dist/cdn/JCZBUECQ.js +2 -0
- package/dist/cdn/JCZBYNA2.js +2 -0
- package/dist/cdn/JHM3CANJ.js +2 -0
- package/dist/cdn/JIK5ZQVP.js +2 -0
- package/dist/cdn/JZYK465F.js +2 -0
- package/dist/cdn/{PNLWXRHA.js → KE26D5WZ.js} +1 -1
- package/dist/cdn/{L23MRJGL.js → KHKFNVS4.js} +1 -1
- package/dist/cdn/KINMWU7P.js +2 -0
- package/dist/cdn/LA7TZ3RU.js +2 -0
- package/dist/cdn/{Q4GDUCFL.js → LKIC5Q3A.js} +1 -1
- package/dist/cdn/LTBVUWRD.js +2 -0
- package/dist/cdn/M6KSWL4Z.js +2 -0
- package/dist/cdn/MJB7R5GQ.js +2 -0
- package/dist/cdn/MJQQAIHL.js +2 -0
- package/dist/cdn/{HI5EKYQN.js → MOKVR42W.js} +1 -1
- package/dist/cdn/MSW5F7EK.js +2 -0
- package/dist/cdn/MTCCNI5K.js +2 -0
- package/dist/cdn/{PXQQCIJ7.js → N3ZBO7ID.js} +1 -1
- package/dist/cdn/{UHQEY6DV.js → NBWVAOQC.js} +1 -1
- package/dist/cdn/NJVWU7BY.js +2 -0
- package/dist/cdn/NMX5HV2Q.js +2 -0
- package/dist/cdn/NPCJUFMM.js +2 -0
- package/dist/cdn/NPZ4RBQN.js +2 -0
- package/dist/cdn/{UBH57JQW.js → NV6PJ5SV.js} +1 -1
- package/dist/cdn/{6KCIKPVG.js → O22MTMZA.js} +1 -1
- package/dist/cdn/OBTZFN2X.js +2 -0
- package/dist/cdn/{MQQVHOAA.js → OH4FTT72.js} +1 -1
- package/dist/cdn/OJZ4M3GG.js +2 -0
- package/dist/cdn/OOXKVN2X.js +2 -0
- package/dist/cdn/OTBZJFX2.js +2 -0
- package/dist/cdn/PBPDN3PE.js +2 -0
- package/dist/cdn/{5GOCBG5I.js → PJVOJMGT.js} +1 -1
- package/dist/cdn/PNZLYX3G.js +2 -0
- package/dist/cdn/PVV3MFQP.js +2 -0
- package/dist/cdn/{CPDRKFNF.js → PYKCOD27.js} +1 -1
- package/dist/cdn/PZL4DLCQ.js +2 -0
- package/dist/cdn/Q5YHMXUJ.js +2 -0
- package/dist/cdn/{GTGP7VOO.js → QABJPTQU.js} +1 -1
- package/dist/cdn/QCWY5N73.js +2 -0
- package/dist/cdn/QE32LPWF.js +2 -0
- package/dist/cdn/QHQH5PTR.js +2 -0
- package/dist/cdn/R4T7XG7V.js +20 -0
- package/dist/cdn/R73HR5QE.js +2 -0
- package/dist/cdn/RI3HBI3T.js +2 -0
- package/dist/cdn/{ALPKJ7TX.js → RIUBPUMD.js} +1 -1
- package/dist/cdn/RMUDLUVA.js +2 -0
- package/dist/cdn/RSRMZD4B.js +2 -0
- package/dist/cdn/RVS2N4SY.js +2 -0
- package/dist/cdn/S6DWZD7K.js +2 -0
- package/dist/cdn/SUJVRYGQ.js +2 -0
- package/dist/cdn/{TG6QYVB5.js → TTXTXN6Q.js} +1 -1
- package/dist/cdn/U75LEECI.js +2 -0
- package/dist/cdn/{5ORNBTVF.js → UMXV3POK.js} +1 -1
- package/dist/cdn/V55BNPIA.js +2 -0
- package/dist/cdn/VQYLTV7G.js +2 -0
- package/dist/cdn/VSITSV3K.js +2 -0
- package/dist/cdn/WAAXC3ZO.js +2 -0
- package/dist/cdn/{JLWRAUEC.js → WJ6NLHUK.js} +1 -1
- package/dist/cdn/WK6TX2CC.js +2 -0
- package/dist/cdn/{BJNJMAUA.js → WP7GA5R2.js} +1 -1
- package/dist/cdn/WT2YX74I.js +2 -0
- package/dist/cdn/{UZ6I3LG2.js → WUCXAHMP.js} +1 -1
- package/dist/cdn/WYHZBJSW.js +2 -0
- package/dist/cdn/XMEW42ZT.js +2 -0
- package/dist/cdn/{2EC36AEV.js → XSSANQHT.js} +1 -1
- package/dist/cdn/{7JJLNXV6.js → XZNL6EO5.js} +1 -1
- package/dist/cdn/{IAUJ5JCE.js → YJKBYNMB.js} +1 -1
- package/dist/cdn/{2KCR4KAT.js → YQG3K7RY.js} +1 -1
- package/dist/cdn/ZIBTU3RD.js +2 -0
- package/dist/cdn/assets/icon/deleteAndReplaceFeatures16.json +1 -0
- package/dist/cdn/assets/icon/deleteAndReplaceFeatures24.json +1 -0
- package/dist/cdn/assets/icon/deleteAndReplaceFeatures32.json +1 -0
- package/dist/cdn/assets/icon/moveAndRotate16.json +1 -0
- package/dist/cdn/assets/icon/moveAndRotate24.json +1 -0
- package/dist/cdn/assets/icon/moveAndRotate32.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/resources12.js +29 -16
- package/dist/chunks/resources13.js +27 -0
- package/dist/chunks/resources14.js +39 -0
- package/dist/chunks/resources8.js +4 -0
- package/dist/chunks/runtime.js +4 -4
- package/dist/components/calcite-accordion/customElement.d.ts +1 -1
- package/dist/components/calcite-accordion-item/customElement.d.ts +2 -2
- package/dist/components/calcite-action/customElement.d.ts +2 -2
- package/dist/components/calcite-action-bar/customElement.d.ts +1 -1
- package/dist/components/calcite-action-group/customElement.d.ts +2 -2
- package/dist/components/calcite-action-menu/customElement.d.ts +1 -1
- package/dist/components/calcite-action-pad/customElement.d.ts +1 -1
- package/dist/components/calcite-alert/customElement.d.ts +3 -3
- package/dist/components/calcite-autocomplete/customElement.d.ts +2 -2
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +2 -2
- package/dist/components/calcite-avatar/customElement.d.ts +1 -1
- package/dist/components/calcite-block/customElement.d.ts +3 -3
- package/dist/components/calcite-block-group/customElement.d.ts +2 -2
- package/dist/components/calcite-block-section/customElement.d.ts +3 -3
- package/dist/components/calcite-button/customElement.d.ts +3 -3
- package/dist/components/calcite-card/customElement.d.ts +1 -1
- package/dist/components/calcite-card/customElement.js +0 -11
- package/dist/components/calcite-card-group/customElement.d.ts +1 -1
- package/dist/components/calcite-card-group/customElement.js +27 -18
- package/dist/components/calcite-carousel/customElement.d.ts +1 -1
- package/dist/components/calcite-checkbox/customElement.d.ts +1 -1
- package/dist/components/calcite-chip/customElement.d.ts +2 -2
- package/dist/components/calcite-chip/customElement.js +0 -8
- package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
- package/dist/components/calcite-chip-group/customElement.js +21 -18
- package/dist/components/calcite-color-picker/customElement.d.ts +3 -3
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox/customElement.d.ts +3 -3
- package/dist/components/calcite-combobox-item/customElement.d.ts +2 -2
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
- package/dist/components/calcite-date-picker-month/customElement.d.ts +1 -1
- package/dist/components/calcite-dialog/customElement.d.ts +5 -3
- package/dist/components/calcite-dialog/customElement.js +3 -2
- package/dist/components/calcite-dropdown/customElement.d.ts +1 -1
- package/dist/components/calcite-dropdown-group/customElement.d.ts +1 -1
- package/dist/components/calcite-dropdown-item/customElement.d.ts +2 -2
- package/dist/components/calcite-fab/customElement.d.ts +2 -2
- package/dist/components/calcite-filter/customElement.d.ts +1 -1
- package/dist/components/calcite-flow/customElement.d.ts +1 -1
- package/dist/components/calcite-flow/types/index.d.ts +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +4 -2
- package/dist/components/calcite-flow-item/customElement.js +3 -2
- package/dist/components/calcite-graph/customElement.d.ts +1 -1
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-handle/customElement.d.ts +1 -1
- package/dist/components/calcite-icon/customElement.d.ts +2 -2
- package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
- package/dist/components/calcite-input/customElement.d.ts +3 -3
- package/dist/components/calcite-input/customElement.js +1 -1
- package/dist/components/calcite-input-date-picker/customElement.d.ts +2 -2
- package/dist/components/calcite-input-message/customElement.d.ts +2 -2
- package/dist/components/calcite-input-number/customElement.d.ts +3 -3
- package/dist/components/calcite-input-text/customElement.d.ts +2 -2
- package/dist/components/calcite-input-time-picker/customElement.d.ts +2 -2
- package/dist/components/calcite-input-time-zone/customElement.d.ts +3 -3
- package/dist/components/calcite-label/customElement.d.ts +1 -1
- package/dist/components/calcite-link/customElement.d.ts +2 -2
- package/dist/components/calcite-list/customElement.d.ts +3 -3
- package/dist/components/calcite-list-item/customElement.d.ts +2 -2
- package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-loader/customElement.d.ts +1 -1
- package/dist/components/calcite-menu/customElement.js +43 -25
- package/dist/components/calcite-menu-item/customElement.d.ts +2 -2
- package/dist/components/calcite-menu-item/customElement.js +5 -53
- package/dist/components/calcite-meter/customElement.d.ts +2 -2
- package/dist/components/calcite-navigation/customElement.d.ts +1 -1
- package/dist/components/calcite-navigation-logo/customElement.d.ts +1 -1
- package/dist/components/calcite-notice/customElement.d.ts +2 -2
- package/dist/components/calcite-pagination/customElement.d.ts +1 -1
- package/dist/components/calcite-panel/customElement.d.ts +4 -2
- package/dist/components/calcite-panel/customElement.js +25 -6
- package/dist/components/calcite-popover/customElement.d.ts +1 -1
- package/dist/components/calcite-radio-button/customElement.d.ts +1 -1
- package/dist/components/calcite-radio-button-group/customElement.d.ts +2 -2
- package/dist/components/calcite-rating/customElement.d.ts +2 -2
- package/dist/components/calcite-segmented-control/customElement.d.ts +2 -2
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +1 -1
- package/dist/components/calcite-select/customElement.d.ts +2 -2
- package/dist/components/calcite-sheet/customElement.d.ts +10 -4
- package/dist/components/calcite-sheet/customElement.js +21 -6
- package/dist/components/calcite-shell-panel/customElement.d.ts +2 -2
- package/dist/components/calcite-slider/customElement.d.ts +4 -4
- package/dist/components/calcite-sort-handle/customElement.d.ts +2 -2
- package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
- package/dist/components/calcite-split-button/customElement.d.ts +3 -3
- package/dist/components/calcite-stepper/customElement.d.ts +2 -2
- package/dist/components/calcite-stepper/customElement.js +19 -11
- package/dist/components/calcite-stepper-item/customElement.js +5 -21
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch/customElement.js +5 -44
- package/dist/components/calcite-swatch-group/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch-group/customElement.js +30 -21
- package/dist/components/calcite-switch/customElement.d.ts +1 -1
- package/dist/components/calcite-tab-nav/customElement.d.ts +1 -1
- package/dist/components/calcite-tab-title/customElement.d.ts +3 -3
- package/dist/components/calcite-table/customElement.d.ts +2 -2
- package/dist/components/calcite-table-cell/customElement.d.ts +1 -1
- package/dist/components/calcite-table-header/customElement.d.ts +1 -1
- package/dist/components/calcite-table-row/customElement.d.ts +1 -1
- package/dist/components/calcite-tabs/customElement.d.ts +2 -2
- package/dist/components/calcite-text-area/customElement.d.ts +2 -2
- package/dist/components/calcite-tile/customElement.d.ts +2 -2
- package/dist/components/calcite-tile/customElement.js +4 -18
- package/dist/components/calcite-tile-group/customElement.d.ts +1 -1
- package/dist/components/calcite-tile-group/customElement.js +30 -22
- package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-tooltip/customElement.d.ts +1 -1
- package/dist/components/calcite-tree/customElement.d.ts +1 -1
- package/dist/components/calcite-tree-item/customElement.d.ts +2 -2
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +3 -3
- package/package.json +9 -9
- package/dist/cdn/2DMDZWL3.js +0 -2
- package/dist/cdn/2EVBOEFM.js +0 -2
- package/dist/cdn/2UM567AB.js +0 -2
- package/dist/cdn/2ZC2YCXV.js +0 -2
- package/dist/cdn/3A6ATXLP.js +0 -2
- package/dist/cdn/3A6EH3OR.js +0 -2
- package/dist/cdn/3HIDDBIZ.js +0 -2
- package/dist/cdn/3M4BZWEJ.js +0 -2
- package/dist/cdn/3WINLYDH.js +0 -2
- package/dist/cdn/3WVJHPQ7.js +0 -2
- package/dist/cdn/43NMCEUZ.js +0 -2
- package/dist/cdn/43PDLLWN.js +0 -2
- package/dist/cdn/4FNFUCSR.js +0 -2
- package/dist/cdn/4OTPLWNJ.js +0 -2
- package/dist/cdn/6TSK2MV3.js +0 -2
- package/dist/cdn/6XX2VM5Q.js +0 -2
- package/dist/cdn/772ACZGK.js +0 -2
- package/dist/cdn/7JSQJBNV.js +0 -2
- package/dist/cdn/AVA3DXJL.js +0 -2
- package/dist/cdn/B7DAQWVX.js +0 -2
- package/dist/cdn/BFCIBFWO.js +0 -2
- package/dist/cdn/BLWTCPBG.js +0 -2
- package/dist/cdn/BTSEO67A.js +0 -2
- package/dist/cdn/BZS35SJW.js +0 -2
- package/dist/cdn/C3774JMW.js +0 -2
- package/dist/cdn/C7LDO5UG.js +0 -2
- package/dist/cdn/CJ5PSD74.js +0 -2
- package/dist/cdn/CJWQMATP.js +0 -2
- package/dist/cdn/CNEOQSIZ.js +0 -2
- package/dist/cdn/CUINECEZ.js +0 -2
- package/dist/cdn/DOUX4HI4.js +0 -2
- package/dist/cdn/DOX7GIEG.js +0 -2
- package/dist/cdn/DVBW6ILF.js +0 -2
- package/dist/cdn/DYR4BHFQ.js +0 -2
- package/dist/cdn/E7ABKA4Y.js +0 -2
- package/dist/cdn/EPXQKIGK.js +0 -2
- package/dist/cdn/F6L574M5.js +0 -2
- package/dist/cdn/FPXHVBJU.js +0 -2
- package/dist/cdn/GGWYZTR3.js +0 -2
- package/dist/cdn/GVE5Q44M.js +0 -2
- package/dist/cdn/GXFKG3J2.js +0 -2
- package/dist/cdn/HBG35UAO.js +0 -2
- package/dist/cdn/HKCTKTPH.js +0 -2
- package/dist/cdn/IH4AFX47.js +0 -2
- package/dist/cdn/IK47NU6V.js +0 -2
- package/dist/cdn/JZRJ73IL.js +0 -2
- package/dist/cdn/KXQZZFCG.js +0 -2
- package/dist/cdn/L67GFQWH.js +0 -2
- package/dist/cdn/L6WT4QY7.js +0 -2
- package/dist/cdn/LKG6I456.js +0 -2
- package/dist/cdn/M55A64EI.js +0 -2
- package/dist/cdn/MBM7UIXE.js +0 -2
- package/dist/cdn/MIRC4NWN.js +0 -2
- package/dist/cdn/MKY3FIQZ.js +0 -2
- package/dist/cdn/MU2C75OO.js +0 -2
- package/dist/cdn/N3FH3JQP.js +0 -2
- package/dist/cdn/N3FVILQ3.js +0 -2
- package/dist/cdn/N6O54ZYE.js +0 -2
- package/dist/cdn/NN32CHJT.js +0 -2
- package/dist/cdn/NTIAAIWN.js +0 -2
- package/dist/cdn/NVIM4UBF.js +0 -2
- package/dist/cdn/O7ZKSCLE.js +0 -2
- package/dist/cdn/ORCBRUMC.js +0 -20
- package/dist/cdn/OY2U5XE7.js +0 -2
- package/dist/cdn/PSBUBWP7.js +0 -2
- package/dist/cdn/QAFYYBSV.js +0 -2
- package/dist/cdn/QASCAVW2.js +0 -2
- package/dist/cdn/QM2QF3WW.js +0 -2
- package/dist/cdn/QY25HYGM.js +0 -2
- package/dist/cdn/RBL22UBR.js +0 -2
- package/dist/cdn/RVTXEL2D.js +0 -2
- package/dist/cdn/S4PKT4JF.js +0 -2
- package/dist/cdn/S6Q7UTXC.js +0 -2
- package/dist/cdn/T2FKXZHF.js +0 -2
- package/dist/cdn/TFKKLWXW.js +0 -2
- package/dist/cdn/TLCOKJUW.js +0 -2
- package/dist/cdn/U3SAITDE.js +0 -2
- package/dist/cdn/UB7SBFVN.js +0 -2
- package/dist/cdn/UH4BKKNZ.js +0 -2
- package/dist/cdn/UZNN2TVD.js +0 -2
- package/dist/cdn/V457M6TG.js +0 -2
- package/dist/cdn/V7ZKXCD3.js +0 -2
- package/dist/cdn/VGG3BXDF.js +0 -2
- package/dist/cdn/VGNYRAIJ.js +0 -2
- package/dist/cdn/VRJ5C5DW.js +0 -2
- package/dist/cdn/WKFGHGFE.js +0 -2
- package/dist/cdn/XAX5FRW2.js +0 -2
- package/dist/cdn/XJRM7BP7.js +0 -2
- package/dist/cdn/XPKNIHVE.js +0 -2
- package/dist/cdn/YLGMHJG2.js +0 -2
- package/dist/cdn/YRFWQNQZ.js +0 -2
- package/dist/cdn/YYX7DAUH.js +0 -2
- package/dist/cdn/ZGN3OPON.js +0 -2
- package/dist/cdn/ZKVMLQKB.js +0 -2
- package/dist/cdn/ZOPDXPDR.js +0 -2
- package/dist/cdn/ZYM3J2WI.js +0 -2
- /package/dist/cdn/{2OKTIK5P.js → 7L4EZFYG.js} +0 -0
- /package/dist/components/calcite-action-group/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-alert/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-block/{interface.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-block-group/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-block-section/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-button/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-carousel/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-color-picker/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-combobox/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-dialog/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-flow/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-graph/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-handle/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-icon/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-input/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-input-time-zone/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-list/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-list-item/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-meter/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-sheet/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-shell-panel/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-sort-handle/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-stepper/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-table/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/calcite-tabs/{interfaces.d.ts → types.d.ts} +0 -0
- /package/dist/components/{interfaces.d.ts → types.d.ts} +0 -0
|
@@ -22,7 +22,7 @@ class CardGroup extends LitElement {
|
|
|
22
22
|
this.selectedItems = [];
|
|
23
23
|
this.selectionMode = "none";
|
|
24
24
|
this.calciteCardGroupSelect = createEvent({ cancelable: false });
|
|
25
|
-
this.listen("
|
|
25
|
+
this.listen("keydown", this.keyDownHandler);
|
|
26
26
|
this.listen("calciteCardSelect", this.calciteCardSelectListener);
|
|
27
27
|
}
|
|
28
28
|
static {
|
|
@@ -45,23 +45,32 @@ class CardGroup extends LitElement {
|
|
|
45
45
|
loaded() {
|
|
46
46
|
this.updateSelectedItems();
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
if (event.composedPath().includes(this.el)) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
48
|
+
keyDownHandler(event) {
|
|
49
|
+
if (event.defaultPrevented || this.disabled || !event.composedPath().includes(this.el)) {
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
const card = this.items.find((item) => item === event.target);
|
|
53
|
+
if (!card || card.disabled || card.selectable) {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
const interactiveItems = this.items.filter((el) => !el.disabled);
|
|
57
|
+
switch (event.key) {
|
|
58
|
+
case "ArrowRight":
|
|
59
|
+
focusElementInGroup(interactiveItems, card, "next", true, false);
|
|
60
|
+
event.preventDefault();
|
|
61
|
+
break;
|
|
62
|
+
case "ArrowLeft":
|
|
63
|
+
focusElementInGroup(interactiveItems, card, "previous", true, false);
|
|
64
|
+
event.preventDefault();
|
|
65
|
+
break;
|
|
66
|
+
case "Home":
|
|
67
|
+
focusElementInGroup(interactiveItems, card, "first", true, false);
|
|
68
|
+
event.preventDefault();
|
|
69
|
+
break;
|
|
70
|
+
case "End":
|
|
71
|
+
focusElementInGroup(interactiveItems, card, "last", true, false);
|
|
72
|
+
event.preventDefault();
|
|
73
|
+
break;
|
|
65
74
|
}
|
|
66
75
|
}
|
|
67
76
|
calciteCardSelectListener(event) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { CarouselItem } from "../calcite-carousel-item/customElement.js";
|
|
4
|
-
import type { ArrowType, AutoplayType, PaginationPosition } from "./
|
|
4
|
+
import type { ArrowType, AutoplayType, PaginationPosition } from "./types.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @cssproperty [--calcite-carousel-pagination-background-color] - Specifies the background color of the component's pagination items, navigation arrows, and autoplay controls.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale, Status } from "../
|
|
3
|
+
import type { Scale, Status } from "../types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @cssproperty [--calcite-checkbox-size] - Specifies the component's height and width.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Appearance, Kind, Scale } from "../
|
|
4
|
-
import type { IconName } from "../calcite-icon/
|
|
3
|
+
import type { Appearance, Kind, Scale } from "../types.js";
|
|
4
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @cssproperty [--calcite-chip-background-color] - Specifies the component's background color.
|
|
@@ -34,7 +34,6 @@ class Chip extends LitElement {
|
|
|
34
34
|
this.selectionMode = "none";
|
|
35
35
|
this.calciteChipClose = createEvent({ cancelable: false });
|
|
36
36
|
this.calciteChipSelect = createEvent({ cancelable: false });
|
|
37
|
-
this.calciteInternalChipKeyEvent = createEvent({ cancelable: false });
|
|
38
37
|
this.calciteInternalChipSelect = createEvent({ cancelable: false });
|
|
39
38
|
this.calciteInternalSyncSelectedChips = createEvent({ cancelable: false });
|
|
40
39
|
this.listen("keydown", this.keyDownHandler);
|
|
@@ -92,13 +91,6 @@ class Chip extends LitElement {
|
|
|
92
91
|
this.close();
|
|
93
92
|
}
|
|
94
93
|
break;
|
|
95
|
-
case "ArrowRight":
|
|
96
|
-
case "ArrowLeft":
|
|
97
|
-
case "Home":
|
|
98
|
-
case "End":
|
|
99
|
-
this.calciteInternalChipKeyEvent.emit(event);
|
|
100
|
-
event.preventDefault();
|
|
101
|
-
break;
|
|
102
94
|
}
|
|
103
95
|
}
|
|
104
96
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale, SelectionMode } from "../
|
|
3
|
+
import type { Scale, SelectionMode } from "../types.js";
|
|
4
4
|
import type { Chip } from "../calcite-chip/customElement.js";
|
|
5
5
|
|
|
6
6
|
/** @slot - A slot for adding one or more `calcite-chip`s. */
|
|
@@ -6,6 +6,7 @@ import { LitElement, createEvent } from "@arcgis/lumina";
|
|
|
6
6
|
import { d as focusElementInGroup, a 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 isChip } from "../../chunks/resources6.js";
|
|
9
10
|
const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:.25rem}:host([scale=l]) .container{gap:.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
10
11
|
class ChipGroup extends LitElement {
|
|
11
12
|
constructor() {
|
|
@@ -19,7 +20,7 @@ class ChipGroup extends LitElement {
|
|
|
19
20
|
this.selectedItems = [];
|
|
20
21
|
this.selectionMode = "none";
|
|
21
22
|
this.calciteChipGroupSelect = createEvent({ cancelable: false });
|
|
22
|
-
this.listen("
|
|
23
|
+
this.listen("keydown", this.keyDownHandler);
|
|
23
24
|
this.listen("calciteChipClose", this.calciteChipCloseListener);
|
|
24
25
|
this.listen("calciteChipSelect", this.calciteChipSelectListener);
|
|
25
26
|
this.listen("calciteInternalChipSelect", this.calciteInternalChipSelectListener);
|
|
@@ -39,21 +40,23 @@ class ChipGroup extends LitElement {
|
|
|
39
40
|
this.updateItems();
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
const interactiveItems = this.items?.filter((el) => !el.disabled);
|
|
53
|
-
focusElementInGroup(interactiveItems, event.detail.target, destination, true, true, true);
|
|
54
|
-
}
|
|
43
|
+
keyDownHandler(event) {
|
|
44
|
+
const destinationFromKey = {
|
|
45
|
+
ArrowRight: "next",
|
|
46
|
+
ArrowLeft: "previous",
|
|
47
|
+
Home: "first",
|
|
48
|
+
End: "last"
|
|
49
|
+
};
|
|
50
|
+
const destination = destinationFromKey[event.key];
|
|
51
|
+
if (event.defaultPrevented || !destination) {
|
|
52
|
+
return;
|
|
55
53
|
}
|
|
56
|
-
event.
|
|
54
|
+
const chip = event.composedPath().find(isChip);
|
|
55
|
+
if (!chip || !this.items.includes(chip)) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const interactiveItems = this.items.filter((el) => !el.disabled);
|
|
59
|
+
focusElementInGroup(interactiveItems, chip, destination, true, true, true);
|
|
57
60
|
}
|
|
58
61
|
calciteChipCloseListener(event) {
|
|
59
62
|
const item = event.target;
|
|
@@ -66,7 +69,7 @@ class ChipGroup extends LitElement {
|
|
|
66
69
|
focusElementInGroup(this.items, item, "first", false, false);
|
|
67
70
|
}
|
|
68
71
|
}
|
|
69
|
-
this.items = this.items
|
|
72
|
+
this.items = this.items.filter((el) => el !== item);
|
|
70
73
|
event.stopPropagation();
|
|
71
74
|
}
|
|
72
75
|
calciteChipSelectListener(event) {
|
|
@@ -91,7 +94,7 @@ class ChipGroup extends LitElement {
|
|
|
91
94
|
event.stopPropagation();
|
|
92
95
|
}
|
|
93
96
|
updateItems(event) {
|
|
94
|
-
const itemsFromSlot = this.slotRef.value?.assignedElements({ flatten: true }).filter(
|
|
97
|
+
const itemsFromSlot = this.slotRef.value?.assignedElements({ flatten: true }).filter(isChip) || [];
|
|
95
98
|
this.items = !event ? itemsFromSlot : slotChangeGetAssignedElements(event);
|
|
96
99
|
if (this.items?.length < 1) {
|
|
97
100
|
return;
|
|
@@ -105,7 +108,7 @@ class ChipGroup extends LitElement {
|
|
|
105
108
|
this.setSelectedItems(false);
|
|
106
109
|
}
|
|
107
110
|
updateSelectedItems() {
|
|
108
|
-
this.selectedItems = this.items
|
|
111
|
+
this.selectedItems = this.items.filter((el) => el.selected);
|
|
109
112
|
}
|
|
110
113
|
setSelectedItems(emit, elToMatch) {
|
|
111
114
|
if (elToMatch) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale } from "../
|
|
3
|
+
import type { Scale } from "../types.js";
|
|
4
4
|
import type { NumberingSystem } from "../../utils/locale.js";
|
|
5
5
|
import type { Format } from "./utils.js";
|
|
6
|
-
import type { ColorValue } from "./
|
|
6
|
+
import type { ColorValue } from "./types.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @cssproperty [--calcite-color-picker-background-color] - Specifies the component's background color.
|
|
@@ -120,7 +120,7 @@ export abstract class ColorPicker extends LitElement {
|
|
|
120
120
|
* The type will be preserved as the color is updated.
|
|
121
121
|
*
|
|
122
122
|
* @see [MDN - CSS Color](https://developer.mozilla.org/en-US/docs/Web/CSS/color),
|
|
123
|
-
* @see [ColorValue](https://github.com/Esri/calcite-design-system/blob/dev/packages/components/src/components/color-picker/
|
|
123
|
+
* @see [ColorValue](https://github.com/Esri/calcite-design-system/blob/dev/packages/components/src/components/color-picker/types.ts#L10).
|
|
124
124
|
*/
|
|
125
125
|
accessor value: ColorValue | null | undefined;
|
|
126
126
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale } from "../
|
|
3
|
+
import type { Scale } from "../types.js";
|
|
4
4
|
import type { NumberingSystem } from "../../utils/locale.js";
|
|
5
5
|
|
|
6
6
|
export abstract class ColorPickerHexInput extends LitElement {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale } from "../
|
|
3
|
+
import type { Scale } from "../types.js";
|
|
4
4
|
|
|
5
5
|
/** @deprecated Use the `calcite-swatch-group` and `calcite-swatch` components instead. */
|
|
6
6
|
export abstract class ColorPickerSwatch extends LitElement {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { FlipPlacement, LogicalPlacement, OverlayPositioning } from "../../utils/floating-ui.js";
|
|
4
|
-
import type { Scale, SelectionAppearance, SelectionMode, Status } from "../
|
|
5
|
-
import type { IconName } from "../calcite-icon/
|
|
4
|
+
import type { Scale, SelectionAppearance, SelectionMode, Status } from "../types.js";
|
|
5
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
6
6
|
import type { ComboboxItem as HTMLCalciteComboboxItemElement } from "../calcite-combobox-item/customElement.js";
|
|
7
|
-
import type { SelectionDisplay } from "./
|
|
7
|
+
import type { SelectionDisplay } from "./types.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @cssproperty [--calcite-combobox-divider-color] - Specifies the component's divider color.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { ComboboxChildElement } from "../calcite-combobox/
|
|
4
|
-
import type { IconName } from "../calcite-icon/
|
|
3
|
+
import type { ComboboxChildElement } from "../calcite-combobox/types.js";
|
|
4
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @cssproperty [--calcite-combobox-item-border-color] - [Deprecated] in v3.3.0, removal target v6.0.0 - Specifies the component's border color.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { ComboboxChildElement } from "../calcite-combobox/
|
|
3
|
+
import type { ComboboxChildElement } from "../calcite-combobox/types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @cssproperty [--calcite-combobox-item-group-text-color] - Specifies the component's text color.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale } from "../
|
|
3
|
+
import type { Scale } from "../types.js";
|
|
4
4
|
|
|
5
5
|
export abstract class DatePickerDay extends LitElement {
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { HoverRange } from "../../utils/date.js";
|
|
4
|
-
import type { Scale } from "../
|
|
4
|
+
import type { Scale } from "../types.js";
|
|
5
5
|
import type { HeadingLevel } from "../functional/Heading.js";
|
|
6
6
|
|
|
7
7
|
export abstract class DatePickerMonth extends LitElement {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Kind, Scale, Width } from "../
|
|
3
|
+
import type { Kind, Scale, Width } from "../types.js";
|
|
4
4
|
import type { HeadingLevel } from "../functional/Heading.js";
|
|
5
5
|
import type { OverlayPositioning } from "../../utils/floating-ui.js";
|
|
6
6
|
import type { FocusTrapOptions } from "../../controllers/useFocusTrap.js";
|
|
7
|
-
import type { IconName } from "../calcite-icon/
|
|
8
|
-
import type { DialogPlacement } from "./
|
|
7
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
8
|
+
import type { DialogPlacement } from "./types.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @cssproperty [--calcite-dialog-scrim-background-color] - Specifies the background color of the component's scrim.
|
|
@@ -18,6 +18,7 @@ import type { DialogPlacement } from "./interfaces.js";
|
|
|
18
18
|
* @cssproperty [--calcite-dialog-content-space] - Specifies the padding of the component's content.
|
|
19
19
|
* @cssproperty [--calcite-dialog-content-top-space] - Specifies the padding of the component's `content-top` slot.
|
|
20
20
|
* @cssproperty [--calcite-dialog-content-bottom-space] - Specifies the padding of the component's `content-bottom` slot.
|
|
21
|
+
* @cssproperty [--calcite-dialog-header-top-space] - Specifies the padding of the component's `header-top` slot.
|
|
21
22
|
* @cssproperty [--calcite-dialog-footer-space] - Specifies the padding of the component's footer.
|
|
22
23
|
* @cssproperty [--calcite-dialog-border-color] - Specifies the component's border color.
|
|
23
24
|
* @cssproperty [--calcite-dialog-offset-x] - Specifies the component's horizontal offset.
|
|
@@ -47,6 +48,7 @@ import type { DialogPlacement } from "./interfaces.js";
|
|
|
47
48
|
* @slot [header-actions-start] - A slot for adding actions or content to the starting side of the component's header.
|
|
48
49
|
* @slot [header-actions-end] - A slot for adding actions or content to the ending side of the component's header.
|
|
49
50
|
* @slot [header-content] - A slot for adding custom content to the component's header.
|
|
51
|
+
* @slot [header-top] - A slot for adding custom content above the header actions and content.
|
|
50
52
|
* @slot [header-menu-actions] - A slot for adding an overflow menu with actions inside a `calcite-dropdown`.
|
|
51
53
|
* @slot [heading] - A slot for adding content to the heading area of the default header. Takes precedence over the `heading` property.
|
|
52
54
|
* @slot [description] - A slot for adding content to the description area of the default header. Takes precedence over the `description` property.
|
|
@@ -36,6 +36,7 @@ const SLOTS = {
|
|
|
36
36
|
heading: "heading",
|
|
37
37
|
headerMenuActions: "header-menu-actions",
|
|
38
38
|
headerContent: "header-content",
|
|
39
|
+
headerTop: "header-top",
|
|
39
40
|
fab: "fab",
|
|
40
41
|
footer: "footer",
|
|
41
42
|
footerStart: "footer-start",
|
|
@@ -43,7 +44,7 @@ const SLOTS = {
|
|
|
43
44
|
};
|
|
44
45
|
const initialDragPosition = { x: 0, y: 0 };
|
|
45
46
|
const initialResizePosition = { top: 0, right: 0, bottom: 0, left: 0 };
|
|
46
|
-
const styles = css`:host{--calcite-dialog-scrim-background-color: rgba(0, 0, 0, .85);pointer-events:none;inset:0;display:flex;--calcite-internal-dialog-animation-offset: 20px}:host([top-layer-disabled]),:host([top-layer-disabled]) .container,:host([embedded]),.container--embedded{z-index:var(--calcite-z-index-overlay)}:host([embedded][modal]){position:absolute}.container{pointer-events:auto;position:fixed;inset:0;display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;overflow:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) ease-in-out}:host([placement=top]) .container{align-items:flex-start;justify-content:center}:host([placement=top-start]) .container{align-items:flex-start;justify-content:flex-start}:host([placement=top-end]) .container{align-items:flex-start;justify-content:flex-end}:host([placement=bottom]) .container{align-items:flex-end;justify-content:center}:host([placement=bottom-start]) .container{align-items:flex-end;justify-content:flex-start}:host([placement=bottom-end]) .container{align-items:flex-end;justify-content:flex-end}:host(:not([modal])) .container{pointer-events:none}:host([scale=s]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-sm));--calcite-internal-dialog-min-size-x: 198px;--calcite-internal-dialog-min-size-y: 140px}:host([scale=m]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-md));--calcite-internal-dialog-min-size-x: 288px;--calcite-internal-dialog-min-size-y: 180px}:host([scale=l]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-md-plus));--calcite-internal-dialog-min-size-x: 388px;--calcite-internal-dialog-min-size-y: 220px}.scrim{--calcite-scrim-background: var(--calcite-dialog-scrim-background-color, var(--calcite-color-transparent-scrim));--calcite-scrim-background-color: var( --calcite-dialog-scrim-background-color, var(--calcite-color-transparent-scrim) );position:fixed;inset:0;display:flex;overflow-y:hidden;z-index:calc(var(--calcite-z-index) * -1)}:host([top-layer-disabled]) .scrim{z-index:unset}calcite-panel{--calcite-panel-content-space: var(--calcite-dialog-content-space, var(--calcite-internal-dialog-content-padding));--calcite-panel-content-top-space: var( --calcite-dialog-content-top-space, var(--calcite-internal-dialog-content-padding) );--calcite-panel-content-bottom-space: var( --calcite-dialog-content-bottom-space, var(--calcite-internal-dialog-content-padding) );--calcite-panel-footer-space: var(--calcite-dialog-footer-space);--calcite-panel-border-color: var(--calcite-dialog-border-color);--calcite-panel-background-color: var(--calcite-dialog-background-color, var(--calcite-color-foreground-1));--calcite-panel-icon-color: var(--calcite-dialog-icon-color);--calcite-panel-heading-text-color: var(--calcite-dialog-heading-text-color);--calcite-panel-description-text-color: var(--calcite-dialog-description-text-color);--calcite-panel-header-background-color: var(--calcite-dialog-header-background-color);--calcite-panel-header-action-background-color: var(--calcite-dialog-header-action-background-color);--calcite-panel-header-action-background-color-hover: var(--calcite-dialog-header-action-background-color-hover);--calcite-panel-header-action-background-color-press: var(--calcite-dialog-header-action-background-color-press);--calcite-panel-header-action-text-color: var(--calcite-dialog-header-action-text-color);--calcite-panel-header-action-text-color-press: var(--calcite-dialog-header-action-text-color-press);--calcite-panel-footer-background-color: var(--calcite-dialog-footer-background-color);--calcite-panel-space: var(--calcite-dialog-space, var(--calcite-internal-dialog-content-padding));--calcite-panel-header-content-space: var(--calcite-dialog-header-content-space, var(--calcite-dialog-content-space));--calcite-popover-border-color: var(--calcite-dialog-action-menu-border-color, var(--calcite-color-border-1));--calcite-panel-corner-radius: var(--calcite-dialog-corner-radius)}:host([kind=brand]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-brand))}:host([kind=danger]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-status-danger))}:host([kind=info]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-status-info))}:host([kind=success]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-status-success))}:host([kind=warning]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-status-warning))}::slotted(*){--calcite-panel-background-color: initial}[popover]{padding:0;border:none;background-color:transparent;position:fixed;display:flex}[popover]:popover-open{display:flex}.dialog{pointer-events:none;position:relative;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;opacity:0;box-shadow:var(--calcite-shadow-md);-webkit-overflow-scrolling:touch;visibility:hidden;transition:inset-block-start var(--calcite-internal-animation-timing-slow) ease-in-out allow-discrete,opacity var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:var(--calcite-dialog-corner-radius, var(--calcite-corner-radius-sm));min-inline-size:var(--calcite-dialog-min-size-x, var(--calcite-internal-dialog-min-size-x));max-inline-size:var(--calcite-dialog-max-size-x, 100%);min-block-size:var(--calcite-dialog-min-size-y, var(--calcite-internal-dialog-min-size-y));max-block-size:var(--calcite-dialog-max-size-y, 100%);--calcite-internal-dialog-hidden-position: calc( var(--calcite-dialog-offset-y, 0px) + var(--calcite-internal-dialog-animation-offset) );--calcite-internal-dialog-shown-position: var(--calcite-dialog-offset-y, 0);inset-inline-start:var(--calcite-dialog-offset-x, 0);inset-block-start:var(--calcite-internal-dialog-hidden-position)}:host([top-layer-disabled]) .dialog,:host([embedded]) .dialog{z-index:var(--calcite-z-index-modal)}:host([menu-open]) .dialog{transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) ease-in-out}.panel{visibility:hidden;opacity:0;border-radius:var(--calcite-dialog-corner-radius, var(--calcite-corner-radius-sm));transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) ease-in-out}.container--open .panel{visibility:visible;opacity:1;transition:visibility 0ms linear,opacity var(--calcite-internal-animation-timing-slow) ease-in-out}.container--open{opacity:1;visibility:visible;transition-delay:0ms}.container--open .dialog{pointer-events:auto;visibility:visible;opacity:1;transition:inset-block-start var(--calcite-internal-animation-timing-slow) ease-in-out allow-discrete,opacity var(--calcite-internal-animation-timing-slow) ease-in-out;transition-delay:0ms}.width-s{inline-size:auto;inline-size:var(--calcite-dialog-size-x, 32rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width:35rem){:host(:not([fullscreen-disabled])) .width-s{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}}.width-m{inline-size:var(--calcite-dialog-size-x, 48rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width:51rem){:host(:not([fullscreen-disabled])) .width-m{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}}.width-l{inline-size:var(--calcite-dialog-size-x, 94rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width:97rem){:host(:not([fullscreen-disabled])) .width-l{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}}:host([placement=cover]) .dialog{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0}:host([placement=cover]) .panel{border-radius:0}:host([kind]) .panel{border-start-start-radius:0px;border-start-end-radius:0px}:host([kind]) .dialog{overflow:hidden}:host([kind=brand]) .dialog{border-color:var(--calcite-color-brand)}:host([kind=danger]) .dialog{border-color:var(--calcite-dialog-accent-color, var(--calcite-color-status-danger))}:host([kind=info]) .dialog{border-color:var(--calcite-dialog-accent-color, var(--calcite-color-status-info))}:host([kind=success]) .dialog{border-color:var(--calcite-dialog-accent-color, var(--calcite-color-status-success))}:host([kind=warning]) .dialog{border-color:var(--calcite-dialog-accent-color, var(--calcite-color-status-warning))}:host([open]) .dialog{inset-block-start:var(--calcite-internal-dialog-shown-position)}@starting-style{:host([open]) .dialog{inset-block-start:var(--calcite-internal-dialog-hidden-position);opacity:0}}:host([kind=brand][open]) .dialog,:host([kind=danger][open]) .dialog,:host([kind=info][open]) .dialog,:host([kind=success][open]) .dialog,:host([kind=warning][open]) .dialog{border-width:0px;border-block-start-width:4px;border-style:solid}.container--embedded{position:absolute;pointer-events:auto}.container--embedded calcite-scrim{position:absolute}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
47
|
+
const styles = css`:host{--calcite-dialog-scrim-background-color: rgba(0, 0, 0, .85);pointer-events:none;inset:0;display:flex;--calcite-internal-dialog-animation-offset: 20px}:host([top-layer-disabled]),:host([top-layer-disabled]) .container,:host([embedded]),.container--embedded{z-index:var(--calcite-z-index-overlay)}:host([embedded][modal]){position:absolute}.container{pointer-events:auto;position:fixed;inset:0;display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;overflow:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) ease-in-out}:host([placement=top]) .container{align-items:flex-start;justify-content:center}:host([placement=top-start]) .container{align-items:flex-start;justify-content:flex-start}:host([placement=top-end]) .container{align-items:flex-start;justify-content:flex-end}:host([placement=bottom]) .container{align-items:flex-end;justify-content:center}:host([placement=bottom-start]) .container{align-items:flex-end;justify-content:flex-start}:host([placement=bottom-end]) .container{align-items:flex-end;justify-content:flex-end}:host(:not([modal])) .container{pointer-events:none}:host([scale=s]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-sm));--calcite-internal-dialog-min-size-x: 198px;--calcite-internal-dialog-min-size-y: 140px}:host([scale=m]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-md));--calcite-internal-dialog-min-size-x: 288px;--calcite-internal-dialog-min-size-y: 180px}:host([scale=l]){--calcite-internal-dialog-content-padding: var(--calcite-dialog-content-space, var(--calcite-spacing-md-plus));--calcite-internal-dialog-min-size-x: 388px;--calcite-internal-dialog-min-size-y: 220px}.scrim{--calcite-scrim-background: var(--calcite-dialog-scrim-background-color, var(--calcite-color-transparent-scrim));--calcite-scrim-background-color: var( --calcite-dialog-scrim-background-color, var(--calcite-color-transparent-scrim) );position:fixed;inset:0;display:flex;overflow-y:hidden;z-index:calc(var(--calcite-z-index) * -1)}:host([top-layer-disabled]) .scrim{z-index:unset}calcite-panel{--calcite-panel-content-space: var(--calcite-dialog-content-space, var(--calcite-internal-dialog-content-padding));--calcite-panel-content-top-space: var( --calcite-dialog-content-top-space, var(--calcite-internal-dialog-content-padding) );--calcite-panel-content-bottom-space: var( --calcite-dialog-content-bottom-space, var(--calcite-internal-dialog-content-padding) );--calcite-panel-footer-space: var(--calcite-dialog-footer-space);--calcite-panel-border-color: var(--calcite-dialog-border-color);--calcite-panel-background-color: var(--calcite-dialog-background-color, var(--calcite-color-foreground-1));--calcite-panel-icon-color: var(--calcite-dialog-icon-color);--calcite-panel-heading-text-color: var(--calcite-dialog-heading-text-color);--calcite-panel-description-text-color: var(--calcite-dialog-description-text-color);--calcite-panel-header-background-color: var(--calcite-dialog-header-background-color);--calcite-panel-header-action-background-color: var(--calcite-dialog-header-action-background-color);--calcite-panel-header-action-background-color-hover: var(--calcite-dialog-header-action-background-color-hover);--calcite-panel-header-action-background-color-press: var(--calcite-dialog-header-action-background-color-press);--calcite-panel-header-action-text-color: var(--calcite-dialog-header-action-text-color);--calcite-panel-header-action-text-color-press: var(--calcite-dialog-header-action-text-color-press);--calcite-panel-footer-background-color: var(--calcite-dialog-footer-background-color);--calcite-panel-space: var(--calcite-dialog-space, var(--calcite-internal-dialog-content-padding));--calcite-panel-header-content-space: var(--calcite-dialog-header-content-space, var(--calcite-dialog-content-space));--calcite-panel-header-top-space: var(--calcite-dialog-header-top-space);--calcite-popover-border-color: var(--calcite-dialog-action-menu-border-color, var(--calcite-color-border-1));--calcite-panel-corner-radius: var(--calcite-dialog-corner-radius)}:host([kind=brand]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-brand))}:host([kind=danger]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-status-danger))}:host([kind=info]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-status-info))}:host([kind=success]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-status-success))}:host([kind=warning]) calcite-panel{--calcite-panel-icon-color: var(--calcite-dialog-icon-color, var(--calcite-color-status-warning))}::slotted(*){--calcite-panel-background-color: initial}[popover]{padding:0;border:none;background-color:transparent;position:fixed;display:flex}[popover]:popover-open{display:flex}.dialog{pointer-events:none;position:relative;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;opacity:0;box-shadow:var(--calcite-shadow-md);-webkit-overflow-scrolling:touch;visibility:hidden;transition:inset-block-start var(--calcite-internal-animation-timing-slow) ease-in-out allow-discrete,opacity var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:var(--calcite-dialog-corner-radius, var(--calcite-corner-radius-sm));min-inline-size:var(--calcite-dialog-min-size-x, var(--calcite-internal-dialog-min-size-x));max-inline-size:var(--calcite-dialog-max-size-x, 100%);min-block-size:var(--calcite-dialog-min-size-y, var(--calcite-internal-dialog-min-size-y));max-block-size:var(--calcite-dialog-max-size-y, 100%);--calcite-internal-dialog-hidden-position: calc( var(--calcite-dialog-offset-y, 0px) + var(--calcite-internal-dialog-animation-offset) );--calcite-internal-dialog-shown-position: var(--calcite-dialog-offset-y, 0);inset-inline-start:var(--calcite-dialog-offset-x, 0);inset-block-start:var(--calcite-internal-dialog-hidden-position)}:host([top-layer-disabled]) .dialog,:host([embedded]) .dialog{z-index:var(--calcite-z-index-modal)}:host([menu-open]) .dialog{transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) ease-in-out}.panel{visibility:hidden;opacity:0;border-radius:var(--calcite-dialog-corner-radius, var(--calcite-corner-radius-sm));transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow),opacity var(--calcite-internal-animation-timing-slow) ease-in-out}.container--open .panel{visibility:visible;opacity:1;transition:visibility 0ms linear,opacity var(--calcite-internal-animation-timing-slow) ease-in-out}.container--open{opacity:1;visibility:visible;transition-delay:0ms}.container--open .dialog{pointer-events:auto;visibility:visible;opacity:1;transition:inset-block-start var(--calcite-internal-animation-timing-slow) ease-in-out allow-discrete,opacity var(--calcite-internal-animation-timing-slow) ease-in-out;transition-delay:0ms}.width-s{inline-size:auto;inline-size:var(--calcite-dialog-size-x, 32rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width:35rem){:host(:not([fullscreen-disabled])) .width-s{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}}.width-m{inline-size:var(--calcite-dialog-size-x, 48rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width:51rem){:host(:not([fullscreen-disabled])) .width-m{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}}.width-l{inline-size:var(--calcite-dialog-size-x, 94rem);block-size:var(--calcite-dialog-size-y, auto)}@media screen and (max-width:97rem){:host(:not([fullscreen-disabled])) .width-l{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;inset-inline-start:0;inset-block-start:var(--calcite-internal-dialog-animation-offset)}}:host([placement=cover]) .dialog{margin:0;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0}:host([placement=cover]) .panel{border-radius:0}:host([kind]) .panel{border-start-start-radius:0px;border-start-end-radius:0px}:host([kind]) .dialog{overflow:hidden}:host([kind=brand]) .dialog{border-color:var(--calcite-color-brand)}:host([kind=danger]) .dialog{border-color:var(--calcite-dialog-accent-color, var(--calcite-color-status-danger))}:host([kind=info]) .dialog{border-color:var(--calcite-dialog-accent-color, var(--calcite-color-status-info))}:host([kind=success]) .dialog{border-color:var(--calcite-dialog-accent-color, var(--calcite-color-status-success))}:host([kind=warning]) .dialog{border-color:var(--calcite-dialog-accent-color, var(--calcite-color-status-warning))}:host([open]) .dialog{inset-block-start:var(--calcite-internal-dialog-shown-position)}@starting-style{:host([open]) .dialog{inset-block-start:var(--calcite-internal-dialog-hidden-position);opacity:0}}:host([kind=brand][open]) .dialog,:host([kind=danger][open]) .dialog,:host([kind=info][open]) .dialog,:host([kind=success][open]) .dialog,:host([kind=warning][open]) .dialog{border-width:0px;border-block-start-width:4px;border-style:solid}.container--embedded{position:absolute;pointer-events:auto}.container--embedded calcite-scrim{position:absolute}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
47
48
|
class Dialog extends LitElement {
|
|
48
49
|
constructor() {
|
|
49
50
|
super(...arguments);
|
|
@@ -493,7 +494,7 @@ class Dialog extends LitElement {
|
|
|
493
494
|
})} .popover=${!this.embedded ? "manual" : void 0} role=dialog ${ref(this.popoverRef)}>${this.modal ? html`<calcite-scrim class=${safeClassMap(CSS.scrim)} @click=${this.handleOutsideClose}></calcite-scrim>` : null}<div class=${safeClassMap({
|
|
494
495
|
[CSS.dialog]: true,
|
|
495
496
|
[getDimensionClass("width", this.width, this.widthScale)]: !!(this.width || this.widthScale)
|
|
496
|
-
})} @keydown=${this.handleKeyDown} ${ref(this.setTransitionEl)}>${assistiveText ? keyed("assistive-text", html`<div aria-live=polite class=${safeClassMap(CSS.assistiveText)}>${assistiveText}</div>`) : null}<slot name=${SLOTS.customContent}><calcite-panel class=${safeClassMap(CSS.panel)} .closable=${!this.closeDisabled} .description=${description} .heading=${heading} .headingLevel=${this.headingLevel} .hidden=${!this.opened} .icon=${icon} .iconFlipRtl=${iconFlipRtl} .loading=${this.loading} .menuOpen=${this.menuOpen} .messageOverrides=${this.messageOverrides} @calcitePanelClose=${this.handleInternalPanelCloseClick} @calcitePanelScroll=${this.handleInternalPanelScroll} @keydown=${this.handlePanelKeyDown} .overlayPositioning=${this.overlayPositioning} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.panelRef)}><slot name=${SLOTS.actionBar} slot=${SLOTS$1.actionBar}></slot><slot name=${SLOTS.alerts} slot=${SLOTS$1.alerts}></slot><slot name=${SLOTS.headerActionsStart} slot=${SLOTS$1.headerActionsStart}></slot><slot name=${SLOTS.headerActionsEnd} slot=${SLOTS$1.headerActionsEnd}></slot><slot name=${SLOTS.description} slot=${SLOTS$1.description}></slot><slot name=${SLOTS.heading} slot=${SLOTS$1.heading}></slot><slot name=${SLOTS.headerContent} slot=${SLOTS$1.headerContent}></slot><slot name=${SLOTS.headerMenuActions} slot=${SLOTS$1.headerMenuActions}></slot><slot name=${SLOTS.fab} slot=${SLOTS$1.fab}></slot><slot name=${SLOTS.contentTop} slot=${SLOTS$1.contentTop}></slot><slot name=${SLOTS.contentBottom} slot=${SLOTS$1.contentBottom}></slot><slot name=${SLOTS.footerStart} slot=${SLOTS$1.footerStart}></slot><slot name=${SLOTS.footer} slot=${SLOTS$1.footer}></slot><slot name=${SLOTS.footerEnd} slot=${SLOTS$1.footerEnd}></slot><slot></slot></calcite-panel></slot></div></div>`;
|
|
497
|
+
})} @keydown=${this.handleKeyDown} ${ref(this.setTransitionEl)}>${assistiveText ? keyed("assistive-text", html`<div aria-live=polite class=${safeClassMap(CSS.assistiveText)}>${assistiveText}</div>`) : null}<slot name=${SLOTS.customContent}><calcite-panel class=${safeClassMap(CSS.panel)} .closable=${!this.closeDisabled} .description=${description} .heading=${heading} .headingLevel=${this.headingLevel} .hidden=${!this.opened} .icon=${icon} .iconFlipRtl=${iconFlipRtl} .loading=${this.loading} .menuOpen=${this.menuOpen} .messageOverrides=${this.messageOverrides} @calcitePanelClose=${this.handleInternalPanelCloseClick} @calcitePanelScroll=${this.handleInternalPanelScroll} @keydown=${this.handlePanelKeyDown} .overlayPositioning=${this.overlayPositioning} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.panelRef)}><slot name=${SLOTS.actionBar} slot=${SLOTS$1.actionBar}></slot><slot name=${SLOTS.alerts} slot=${SLOTS$1.alerts}></slot><slot name=${SLOTS.headerActionsStart} slot=${SLOTS$1.headerActionsStart}></slot><slot name=${SLOTS.headerActionsEnd} slot=${SLOTS$1.headerActionsEnd}></slot><slot name=${SLOTS.description} slot=${SLOTS$1.description}></slot><slot name=${SLOTS.heading} slot=${SLOTS$1.heading}></slot><slot name=${SLOTS.headerContent} slot=${SLOTS$1.headerContent}></slot><slot name=${SLOTS.headerTop} slot=${SLOTS$1.headerTop}></slot><slot name=${SLOTS.headerMenuActions} slot=${SLOTS$1.headerMenuActions}></slot><slot name=${SLOTS.fab} slot=${SLOTS$1.fab}></slot><slot name=${SLOTS.contentTop} slot=${SLOTS$1.contentTop}></slot><slot name=${SLOTS.contentBottom} slot=${SLOTS$1.contentBottom}></slot><slot name=${SLOTS.footerStart} slot=${SLOTS$1.footerStart}></slot><slot name=${SLOTS.footer} slot=${SLOTS$1.footer}></slot><slot name=${SLOTS.footerEnd} slot=${SLOTS$1.footerEnd}></slot><slot></slot></calcite-panel></slot></div></div>`;
|
|
497
498
|
}
|
|
498
499
|
}
|
|
499
500
|
customElement("calcite-dialog", Dialog);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { FlipPlacement, LogicalPlacement, OverlayPositioning, ReferenceElement } from "../../utils/floating-ui.js";
|
|
4
|
-
import type { Scale, Width } from "../
|
|
4
|
+
import type { Scale, Width } from "../types.js";
|
|
5
5
|
import type { DropdownItem } from "../calcite-dropdown-item/customElement.js";
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { SelectionMode } from "../
|
|
3
|
+
import type { SelectionMode } from "../types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @cssproperty [--calcite-dropdown-group-border-color] - Specifies the component's border color.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { FlipContext } from "../
|
|
4
|
-
import type { IconName } from "../calcite-icon/
|
|
3
|
+
import type { FlipContext } from "../types.js";
|
|
4
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @cssproperty [--calcite-dropdown-item-background-color-hover] - Specifies the component's background color when hovered.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Appearance, Kind, Scale } from "../
|
|
4
|
-
import type { IconName } from "../calcite-icon/
|
|
3
|
+
import type { Appearance, Kind, Scale } from "../types.js";
|
|
4
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @cssproperty [--calcite-fab-background-color] - Specifies the component's background color.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale } from "../
|
|
3
|
+
import type { Scale } from "../types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @cssproperty [--calcite-filter-content-space] - Specifies the padding of the component's content.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { FlowItem } from "../calcite-flow-item/customElement.js";
|
|
4
|
-
import type { FlowItemLikeElement } from "./
|
|
4
|
+
import type { FlowItemLikeElement } from "./types.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @cssproperty [--calcite-flow-background-color] - Specifies the component's background color.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { type FlowItemLike } from "../
|
|
1
|
+
export { type FlowItemLike } from "../types.js";
|
|
2
2
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { HeadingLevel } from "../functional/Heading.js";
|
|
4
4
|
import type { OverlayPositioning } from "../../utils/floating-ui.js";
|
|
5
|
-
import type { CollapseDirection, Scale } from "../
|
|
5
|
+
import type { CollapseDirection, Scale } from "../types.js";
|
|
6
6
|
import type { Panel } from "../calcite-panel/customElement.js";
|
|
7
|
-
import type { IconName } from "../calcite-icon/
|
|
7
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @cssproperty [--calcite-flow-item-footer-padding] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-flow-footer-space` instead. Specifies the padding of the component's footer.
|
|
@@ -17,6 +17,7 @@ import type { IconName } from "../calcite-icon/interfaces.js";
|
|
|
17
17
|
* @cssproperty [--calcite-flow-background-color] - Specifies the component's background color.
|
|
18
18
|
* @cssproperty [--calcite-flow-content-top-space] - Specifies the padding of the component's `content-top` slot.
|
|
19
19
|
* @cssproperty [--calcite-flow-content-bottom-space] - Specifies the padding of the component's `content-bottom` slot.
|
|
20
|
+
* @cssproperty [--calcite-flow-header-top-space] - Specifies the padding of the component's `header-top` slot.
|
|
20
21
|
* @cssproperty [--calcite-flow-header-background-color] - Specifies the background color of the component's header.
|
|
21
22
|
* @cssproperty [--calcite-flow-footer-background-color] - Specifies the background color of the component's footer.
|
|
22
23
|
* @cssproperty [--calcite-flow-space] - Specifies the padding of the component's `unnamed (default)` slot.
|
|
@@ -39,6 +40,7 @@ import type { IconName } from "../calcite-icon/interfaces.js";
|
|
|
39
40
|
* @slot [alerts] - A slot for adding `calcite-alert`s to the component.
|
|
40
41
|
* @slot [content-top] - A slot for adding content above the unnamed (default) slot and below the action-bar slot (if populated).
|
|
41
42
|
* @slot [content-bottom] - A slot for adding content below the unnamed (default) slot and above the footer slot (if populated)
|
|
43
|
+
* @slot [header-top] - A slot for adding custom content above the header actions and content.
|
|
42
44
|
* @slot [header-actions-start] - A slot for adding `calcite-action`s or content to the start side of the component's header.
|
|
43
45
|
* @slot [header-actions-end] - A slot for adding `calcite-action`s or content to the end side of the component's header.
|
|
44
46
|
* @slot [header-content] - A slot for adding custom content to the component's header.
|
|
@@ -20,6 +20,7 @@ const SLOTS = {
|
|
|
20
20
|
alerts: "alerts",
|
|
21
21
|
contentTop: "content-top",
|
|
22
22
|
contentBottom: "content-bottom",
|
|
23
|
+
headerTop: "header-top",
|
|
23
24
|
headerActionsStart: "header-actions-start",
|
|
24
25
|
headerActionsEnd: "header-actions-end",
|
|
25
26
|
description: "description",
|
|
@@ -31,7 +32,7 @@ const SLOTS = {
|
|
|
31
32
|
footerEnd: "footer-end",
|
|
32
33
|
footerStart: "footer-start"
|
|
33
34
|
};
|
|
34
|
-
const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:none;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([selected]){display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}calcite-panel{--calcite-panel-background-color: var(--calcite-flow-background-color);--calcite-panel-border-color: var(--calcite-flow-border-color, var(--calcite-flow-item-header-border-block-end));--calcite-panel-corner-radius: var(--calcite-flow-corner-radius);--calcite-panel-description-text-color: var(--calcite-flow-description-text-color);--calcite-panel-footer-background-color: var(--calcite-flow-footer-background-color);--calcite-panel-footer-space: var(--calcite-flow-footer-space, var(--calcite-flow-item-footer-padding));--calcite-panel-header-action-background-color-hover: var(--calcite-flow-header-action-background-color-hover);--calcite-panel-header-action-background-color-press: var(--calcite-flow-header-action-background-color-press);--calcite-panel-header-action-background-color: var(--calcite-flow-header-action-background-color);--calcite-panel-header-action-indicator-color: var(--calcite-flow-header-action-indicator-color);--calcite-panel-header-action-text-color-press: var(--calcite-flow-header-action-text-color-press);--calcite-panel-header-action-text-color: var(--calcite-flow-header-action-text-color);--calcite-panel-header-background-color: var(--calcite-flow-header-background-color);--calcite-panel-header-content-space: var(--calcite-flow-header-content-space);--calcite-panel-heading-text-color: var(--calcite-flow-heading-text-color);--calcite-panel-icon-color: var(--calcite-flow-icon-color);--calcite-panel-space: var(--calcite-flow-space);--calcite-panel-content-top-space: var(--calcite-flow-content-top-space);--calcite-panel-content-bottom-space: var(--calcite-flow-content-bottom-space)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
35
|
+
const styles = css`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:none;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([selected]){display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}calcite-panel{--calcite-panel-background-color: var(--calcite-flow-background-color);--calcite-panel-border-color: var(--calcite-flow-border-color, var(--calcite-flow-item-header-border-block-end));--calcite-panel-corner-radius: var(--calcite-flow-corner-radius);--calcite-panel-description-text-color: var(--calcite-flow-description-text-color);--calcite-panel-footer-background-color: var(--calcite-flow-footer-background-color);--calcite-panel-footer-space: var(--calcite-flow-footer-space, var(--calcite-flow-item-footer-padding));--calcite-panel-header-action-background-color-hover: var(--calcite-flow-header-action-background-color-hover);--calcite-panel-header-action-background-color-press: var(--calcite-flow-header-action-background-color-press);--calcite-panel-header-action-background-color: var(--calcite-flow-header-action-background-color);--calcite-panel-header-action-indicator-color: var(--calcite-flow-header-action-indicator-color);--calcite-panel-header-action-text-color-press: var(--calcite-flow-header-action-text-color-press);--calcite-panel-header-action-text-color: var(--calcite-flow-header-action-text-color);--calcite-panel-header-background-color: var(--calcite-flow-header-background-color);--calcite-panel-header-content-space: var(--calcite-flow-header-content-space);--calcite-panel-header-top-space: var(--calcite-flow-header-top-space);--calcite-panel-heading-text-color: var(--calcite-flow-heading-text-color);--calcite-panel-icon-color: var(--calcite-flow-icon-color);--calcite-panel-space: var(--calcite-flow-space);--calcite-panel-content-top-space: var(--calcite-flow-content-top-space);--calcite-panel-content-bottom-space: var(--calcite-flow-content-bottom-space)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
35
36
|
class FlowItem extends LitElement {
|
|
36
37
|
constructor() {
|
|
37
38
|
super(...arguments);
|
|
@@ -125,7 +126,7 @@ class FlowItem extends LitElement {
|
|
|
125
126
|
}
|
|
126
127
|
render() {
|
|
127
128
|
const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messageOverrides, overlayPositioning, beforeClose, icon, iconFlipRtl, focusTrapEnabled, focusTrapOptions } = this;
|
|
128
|
-
return this.interactiveContainer({ disabled, children: html`<calcite-panel .beforeClose=${beforeClose} .closable=${closable} .closed=${closed} .collapsed=${collapsed} .collapseDirection=${collapseDirection} .collapsible=${collapsible} .description=${description} .disabled=${disabled} .focusTrapEnabled=${focusTrapEnabled} .focusTrapOptions=${focusTrapOptions} .heading=${heading} .headingLevel=${headingLevel} .icon=${icon} .iconFlipRtl=${iconFlipRtl} .loading=${loading} .menuOpen=${menuOpen} .messageOverrides=${messageOverrides} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${overlayPositioning} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.containerRef)}>${this.renderBackButton()}<slot name=${SLOTS.actionBar} slot=${SLOTS$1.actionBar}></slot><slot name=${SLOTS.alerts} slot=${SLOTS$1.alerts}></slot><slot name=${SLOTS.headerActionsStart} slot=${SLOTS$1.headerActionsStart}></slot><slot name=${SLOTS.headerActionsEnd} slot=${SLOTS$1.headerActionsEnd}></slot><slot name=${SLOTS.description} slot=${SLOTS$1.description}></slot><slot name=${SLOTS.heading} slot=${SLOTS$1.heading}></slot><slot name=${SLOTS.headerContent} slot=${SLOTS$1.headerContent}></slot><slot name=${SLOTS.headerMenuActions} slot=${SLOTS$1.headerMenuActions}></slot><slot name=${SLOTS.fab} slot=${SLOTS$1.fab}></slot><slot name=${SLOTS.contentTop} slot=${SLOTS$1.contentTop}></slot><slot name=${SLOTS.contentBottom} slot=${SLOTS$1.contentBottom}></slot><slot name=${SLOTS.footerStart} slot=${SLOTS$1.footerStart}></slot><slot name=${SLOTS.footer} slot=${SLOTS$1.footer}></slot><slot name=${SLOTS.footerEnd} slot=${SLOTS$1.footerEnd}></slot><slot></slot></calcite-panel>` });
|
|
129
|
+
return this.interactiveContainer({ disabled, children: html`<calcite-panel .beforeClose=${beforeClose} .closable=${closable} .closed=${closed} .collapsed=${collapsed} .collapseDirection=${collapseDirection} .collapsible=${collapsible} .description=${description} .disabled=${disabled} .focusTrapEnabled=${focusTrapEnabled} .focusTrapOptions=${focusTrapOptions} .heading=${heading} .headingLevel=${headingLevel} .icon=${icon} .iconFlipRtl=${iconFlipRtl} .loading=${loading} .menuOpen=${menuOpen} .messageOverrides=${messageOverrides} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${overlayPositioning} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.containerRef)}>${this.renderBackButton()}<slot name=${SLOTS.actionBar} slot=${SLOTS$1.actionBar}></slot><slot name=${SLOTS.alerts} slot=${SLOTS$1.alerts}></slot><slot name=${SLOTS.headerActionsStart} slot=${SLOTS$1.headerActionsStart}></slot><slot name=${SLOTS.headerActionsEnd} slot=${SLOTS$1.headerActionsEnd}></slot><slot name=${SLOTS.headerTop} slot=${SLOTS$1.headerTop}></slot><slot name=${SLOTS.description} slot=${SLOTS$1.description}></slot><slot name=${SLOTS.heading} slot=${SLOTS$1.heading}></slot><slot name=${SLOTS.headerContent} slot=${SLOTS$1.headerContent}></slot><slot name=${SLOTS.headerMenuActions} slot=${SLOTS$1.headerMenuActions}></slot><slot name=${SLOTS.fab} slot=${SLOTS$1.fab}></slot><slot name=${SLOTS.contentTop} slot=${SLOTS$1.contentTop}></slot><slot name=${SLOTS.contentBottom} slot=${SLOTS$1.contentBottom}></slot><slot name=${SLOTS.footerStart} slot=${SLOTS$1.footerStart}></slot><slot name=${SLOTS.footer} slot=${SLOTS$1.footer}></slot><slot name=${SLOTS.footerEnd} slot=${SLOTS$1.footerEnd}></slot><slot></slot></calcite-panel>` });
|
|
129
130
|
}
|
|
130
131
|
}
|
|
131
132
|
customElement("calcite-flow-item", FlowItem);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { ColorStop, DataSeries } from "./
|
|
3
|
+
import type { ColorStop, DataSeries } from "./types.js";
|
|
4
4
|
|
|
5
5
|
/** @cssproperty [--calcite-graph-highlight-fill-color] - Specifies the fill color of the `highlight` element, when present. */
|
|
6
6
|
export abstract class Graph extends LitElement {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { HandleNudge } from "./
|
|
3
|
+
import type { HandleNudge } from "./types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Use the `calcite-sort-handle` component instead.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale } from "../
|
|
4
|
-
import type { IconName } from "./
|
|
3
|
+
import type { Scale } from "../types.js";
|
|
4
|
+
import type { IconName } from "./types.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @cssproperty [--calcite-ui-icon-color] - [Deprecated] in v2.13.0, removal target v6.0.0 - Use `--calcite-icon-color` instead. Specifies the component's color. Defaults to current color.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Scale } from "../
|
|
3
|
+
import type { Scale } from "../types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated in v5.2.0, removal target v7.0.0 - Use `calcite-input`, `calcite-input-number`, or `calcite-input-text` with built-in inline editable (`inline-editable` and `inline-editable-controls` props) instead.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Alignment, Scale, Status } from "../
|
|
3
|
+
import type { Alignment, Scale, Status } from "../types.js";
|
|
4
4
|
import type { NumberingSystem } from "../../utils/locale.js";
|
|
5
|
-
import type { IconName } from "../calcite-icon/
|
|
6
|
-
import type { InputPlacement } from "./
|
|
5
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
6
|
+
import type { InputPlacement } from "./types.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @cssproperty [--calcite-input-prefix-size] - When `prefixText` is provided, specifies the width of the component's prefix element.
|