@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
|
@@ -9,34 +9,8 @@ import { s as slotChangeHasAssignedElement } from "../../chunks/dom.js";
|
|
|
9
9
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
10
10
|
import { b as hexify } from "../../chunks/utils.js";
|
|
11
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
container: "container",
|
|
15
|
-
selectable: "selectable",
|
|
16
|
-
nonInteractive: "non-interactive",
|
|
17
|
-
selected: "selected",
|
|
18
|
-
internalSvgContainer: "internal-svg-container",
|
|
19
|
-
internalSvgDisabled: "internal-svg-disabled",
|
|
20
|
-
internalSvgEmpty: "internal-svg-empty",
|
|
21
|
-
swatch: "swatch",
|
|
22
|
-
checker: "checker",
|
|
23
|
-
noColorSwatch: "swatch--no-color"
|
|
24
|
-
};
|
|
25
|
-
const SLOTS = {
|
|
26
|
-
image: "image"
|
|
27
|
-
};
|
|
28
|
-
const checkerSquareSize = 4;
|
|
29
|
-
const CHECKER_DIMENSIONS = {
|
|
30
|
-
squareSize: checkerSquareSize,
|
|
31
|
-
size: checkerSquareSize * 2
|
|
32
|
-
};
|
|
33
|
-
const IDS = {
|
|
34
|
-
checker: "checker",
|
|
35
|
-
shape: "shape",
|
|
36
|
-
swatchRect: "swatch-rect",
|
|
37
|
-
swatchSolid: "swatch-solid",
|
|
38
|
-
swatchTransparent: "swatch-transparent"
|
|
39
|
-
};
|
|
12
|
+
import { S as SLOTS, C as CSS, I as IDS, a as CHECKER_DIMENSIONS } from "../../chunks/resources14.js";
|
|
13
|
+
import { i as isActivationKey } from "../../chunks/key.js";
|
|
40
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}`;
|
|
41
15
|
class Swatch extends LitElement {
|
|
42
16
|
constructor() {
|
|
@@ -50,7 +24,6 @@ class Swatch extends LitElement {
|
|
|
50
24
|
this.scale = "m";
|
|
51
25
|
this.selected = false;
|
|
52
26
|
this.selectionMode = "none";
|
|
53
|
-
this.calciteInternalSwatchKeyEvent = createEvent({ cancelable: false });
|
|
54
27
|
this.calciteInternalSwatchSelect = createEvent({ cancelable: false });
|
|
55
28
|
this.calciteInternalSyncSelectedSwatches = createEvent({ cancelable: false });
|
|
56
29
|
this.calciteSwatchSelect = createEvent({ cancelable: false });
|
|
@@ -88,21 +61,9 @@ class Swatch extends LitElement {
|
|
|
88
61
|
this.handleSelectionPropertyChange(selected);
|
|
89
62
|
}
|
|
90
63
|
keyDownHandler(event) {
|
|
91
|
-
if (event.target === this.el) {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
case "Enter":
|
|
95
|
-
this.handleEmittingEvent();
|
|
96
|
-
event.preventDefault();
|
|
97
|
-
break;
|
|
98
|
-
case "ArrowRight":
|
|
99
|
-
case "ArrowLeft":
|
|
100
|
-
case "Home":
|
|
101
|
-
case "End":
|
|
102
|
-
this.calciteInternalSwatchKeyEvent.emit(event);
|
|
103
|
-
event.preventDefault();
|
|
104
|
-
break;
|
|
105
|
-
}
|
|
64
|
+
if (event.target === this.el && isActivationKey(event.key)) {
|
|
65
|
+
this.handleEmittingEvent();
|
|
66
|
+
event.preventDefault();
|
|
106
67
|
}
|
|
107
68
|
}
|
|
108
69
|
handleSlotImageChange(event) {
|
|
@@ -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 { Swatch } from "../calcite-swatch/customElement.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -6,6 +6,7 @@ import { LitElement, createEvent, safeClassMap } 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 isSwatch } from "../../chunks/resources14.js";
|
|
9
10
|
const CSS = {
|
|
10
11
|
container: "container"
|
|
11
12
|
};
|
|
@@ -22,7 +23,7 @@ class SwatchGroup extends LitElement {
|
|
|
22
23
|
this.selectedItems = [];
|
|
23
24
|
this.selectionMode = "none";
|
|
24
25
|
this.calciteSwatchGroupSelect = createEvent({ cancelable: false });
|
|
25
|
-
this.listen("
|
|
26
|
+
this.listen("keydown", this.keyDownHandler);
|
|
26
27
|
this.listen("calciteSwatchSelect", this.calciteSwatchSelectListener);
|
|
27
28
|
this.listen("calciteInternalSwatchSelect", this.calciteInternalSwatchSelectListener);
|
|
28
29
|
this.listen("calciteInternalSyncSelectedSwatches", this.calciteInternalSyncSelectedSwatches);
|
|
@@ -41,25 +42,33 @@ class SwatchGroup extends LitElement {
|
|
|
41
42
|
this.updateItems();
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
45
|
+
keyDownHandler(event) {
|
|
46
|
+
const target = event.composedPath().find(isSwatch);
|
|
47
|
+
if (event.defaultPrevented || !target || !this.el.contains(target)) {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
const interactiveItems = this.items.filter((el) => !el.disabled);
|
|
51
|
+
if (!interactiveItems.includes(target)) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
switch (event.key) {
|
|
55
|
+
case "ArrowRight":
|
|
56
|
+
focusElementInGroup(interactiveItems, target, "next");
|
|
57
|
+
event.preventDefault();
|
|
58
|
+
break;
|
|
59
|
+
case "ArrowLeft":
|
|
60
|
+
focusElementInGroup(interactiveItems, target, "previous");
|
|
61
|
+
event.preventDefault();
|
|
62
|
+
break;
|
|
63
|
+
case "Home":
|
|
64
|
+
focusElementInGroup(interactiveItems, target, "first");
|
|
65
|
+
event.preventDefault();
|
|
66
|
+
break;
|
|
67
|
+
case "End":
|
|
68
|
+
focusElementInGroup(interactiveItems, target, "last");
|
|
69
|
+
event.preventDefault();
|
|
70
|
+
break;
|
|
61
71
|
}
|
|
62
|
-
event.stopPropagation();
|
|
63
72
|
}
|
|
64
73
|
calciteSwatchSelectListener(event) {
|
|
65
74
|
if (event.composedPath().includes(this.el)) {
|
|
@@ -99,11 +108,11 @@ class SwatchGroup extends LitElement {
|
|
|
99
108
|
this.setSelectedItems(false);
|
|
100
109
|
}
|
|
101
110
|
updateSelectedItems() {
|
|
102
|
-
this.selectedItems = this.items
|
|
111
|
+
this.selectedItems = this.items.filter((el) => el.selected);
|
|
103
112
|
}
|
|
104
113
|
setSelectedItems(emit, elToMatch) {
|
|
105
114
|
if (elToMatch) {
|
|
106
|
-
this.items
|
|
115
|
+
this.items.forEach((el) => {
|
|
107
116
|
const matchingEl = elToMatch === el;
|
|
108
117
|
switch (this.selectionMode) {
|
|
109
118
|
case "multiple":
|
|
@@ -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-switch-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 { TabPosition } from "../calcite-tabs/
|
|
3
|
+
import type { TabPosition } from "../calcite-tabs/types.js";
|
|
4
4
|
import type { TabTitle } from "../calcite-tab-title/customElement.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
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 { TabPosition } from "../calcite-tabs/
|
|
5
|
-
import type { IconName } from "../calcite-icon/
|
|
3
|
+
import type { FlipContext } from "../types.js";
|
|
4
|
+
import type { TabPosition } from "../calcite-tabs/types.js";
|
|
5
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Tab-titles are optionally individually closable.
|
|
@@ -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, SelectionMode } from "../
|
|
3
|
+
import type { Scale, SelectionMode } from "../types.js";
|
|
4
4
|
import type { NumberingSystem } from "../../utils/locale.js";
|
|
5
5
|
import type { TableRow } from "../calcite-table-row/customElement.js";
|
|
6
|
-
import type { TableInteractionMode, TableLayout, TableSelectionDisplay } from "./
|
|
6
|
+
import type { TableInteractionMode, TableLayout, TableSelectionDisplay } from "./types.js";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @cssproperty [--calcite-table-border-color] - 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 { Alignment } from "../
|
|
3
|
+
import type { Alignment } from "../types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @cssproperty [--calcite-table-cell-background] - [Deprecated] in v3.3.0, removal target v6.0.0 - Use `--calcite-table-cell-background-color` instead. 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 { Alignment } from "../
|
|
3
|
+
import type { Alignment } from "../types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @cssproperty [--calcite-table-header-background] - [Deprecated] in v3.3.0, removal target v6.0.0 - Use `--calcite-table-header-background-color` instead. 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 { Alignment } from "../
|
|
3
|
+
import type { Alignment } from "../types.js";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @cssproperty [--calcite-table-row-background] - [Deprecated] in v3.3.0, removal target v6.0.0 - Use `--calcite-table-row-background-color` instead. Specifies the background color of the component.
|
|
@@ -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 { TabLayout, TabPosition } from "./
|
|
3
|
+
import type { Scale } from "../types.js";
|
|
4
|
+
import type { TabLayout, TabPosition } from "./types.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @cssproperty [--calcite-tab-background-color] - Specifies the component's background color.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { NumberingSystem } from "../../utils/locale.js";
|
|
4
|
-
import type { Status } from "../
|
|
5
|
-
import type { IconName } from "../calcite-icon/
|
|
4
|
+
import type { Status } from "../types.js";
|
|
5
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @cssproperty [--calcite-text-area-background-color] - Specifies the component's background 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 { Alignment, Scale } from "../
|
|
4
|
-
import type { IconName } from "../calcite-icon/
|
|
3
|
+
import type { Alignment, Scale } from "../types.js";
|
|
4
|
+
import type { IconName } from "../calcite-icon/types.js";
|
|
5
5
|
import type { HeadingLevel } from "../functional/Heading.js";
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -7,6 +7,7 @@ import { s as slotChangeHasAssignedElement } 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
9
|
import { H as Heading } from "../../chunks/Heading.js";
|
|
10
|
+
import { i as isActivationKey } from "../../chunks/key.js";
|
|
10
11
|
const CSS = {
|
|
11
12
|
container: "container",
|
|
12
13
|
contentContainer: "content-container",
|
|
@@ -52,7 +53,6 @@ class Tile extends LitElement {
|
|
|
52
53
|
this.selected = false;
|
|
53
54
|
this.selectionAppearance = "icon";
|
|
54
55
|
this.selectionMode = "none";
|
|
55
|
-
this.calciteInternalTileKeyEvent = createEvent({ cancelable: false });
|
|
56
56
|
this.calciteTileSelect = createEvent();
|
|
57
57
|
this.listen("keydown", this.keyDownHandler);
|
|
58
58
|
}
|
|
@@ -85,23 +85,9 @@ class Tile extends LitElement {
|
|
|
85
85
|
this.containerEl = el;
|
|
86
86
|
}
|
|
87
87
|
keyDownHandler(event) {
|
|
88
|
-
if (event.target === this.el) {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
case "Enter":
|
|
92
|
-
this.handleSelectEvent();
|
|
93
|
-
event.preventDefault();
|
|
94
|
-
break;
|
|
95
|
-
case "ArrowDown":
|
|
96
|
-
case "ArrowLeft":
|
|
97
|
-
case "ArrowRight":
|
|
98
|
-
case "ArrowUp":
|
|
99
|
-
case "Home":
|
|
100
|
-
case "End":
|
|
101
|
-
this.calciteInternalTileKeyEvent.emit(event);
|
|
102
|
-
event.preventDefault();
|
|
103
|
-
break;
|
|
104
|
-
}
|
|
88
|
+
if (event.target === this.el && isActivationKey(event.key)) {
|
|
89
|
+
this.handleSelectEvent();
|
|
90
|
+
event.preventDefault();
|
|
105
91
|
}
|
|
106
92
|
}
|
|
107
93
|
renderSelectionIcon() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
|
-
import type { Alignment, Layout, Scale, SelectionAppearance, SelectionMode } from "../
|
|
3
|
+
import type { Alignment, Layout, Scale, SelectionAppearance, SelectionMode } from "../types.js";
|
|
4
4
|
import type { Tile } from "../calcite-tile/customElement.js";
|
|
5
5
|
|
|
6
6
|
/** @slot - A slot for adding `calcite-tile` elements. */
|
|
@@ -24,7 +24,7 @@ class TileGroup extends LitElement {
|
|
|
24
24
|
this.selectionAppearance = "icon";
|
|
25
25
|
this.selectionMode = "none";
|
|
26
26
|
this.calciteTileGroupSelect = createEvent({ cancelable: false });
|
|
27
|
-
this.listen("
|
|
27
|
+
this.listen("keydown", this.keyDownHandler);
|
|
28
28
|
this.listen("calciteTileSelect", this.calciteTileSelectHandler);
|
|
29
29
|
}
|
|
30
30
|
static {
|
|
@@ -104,27 +104,35 @@ class TileGroup extends LitElement {
|
|
|
104
104
|
});
|
|
105
105
|
this.updateSelectedItems();
|
|
106
106
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
107
|
+
keyDownHandler(event) {
|
|
108
|
+
const composedPath = event.composedPath();
|
|
109
|
+
if (event.defaultPrevented || this.disabled || !composedPath.includes(this.el)) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
const target = this.items.find((item) => item === event.target);
|
|
113
|
+
if (!target || target.disabled) {
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
const interactiveItems = this.items?.filter((el) => !el.disabled);
|
|
117
|
+
switch (event.key) {
|
|
118
|
+
case "ArrowDown":
|
|
119
|
+
case "ArrowRight":
|
|
120
|
+
event.preventDefault();
|
|
121
|
+
focusElementInGroup(interactiveItems, target, "next", true, false);
|
|
122
|
+
break;
|
|
123
|
+
case "ArrowUp":
|
|
124
|
+
case "ArrowLeft":
|
|
125
|
+
event.preventDefault();
|
|
126
|
+
focusElementInGroup(interactiveItems, target, "previous", true, false);
|
|
127
|
+
break;
|
|
128
|
+
case "Home":
|
|
129
|
+
event.preventDefault();
|
|
130
|
+
focusElementInGroup(interactiveItems, target, "first", true, false);
|
|
131
|
+
break;
|
|
132
|
+
case "End":
|
|
133
|
+
event.preventDefault();
|
|
134
|
+
focusElementInGroup(interactiveItems, target, "last", true, false);
|
|
135
|
+
break;
|
|
128
136
|
}
|
|
129
137
|
}
|
|
130
138
|
calciteTileSelectHandler(event) {
|
|
@@ -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
|
import type { HourFormat } from "../../utils/time.js";
|
|
6
6
|
import type { useTime } from "../../controllers/useTime.js";
|
|
@@ -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 { LogicalPlacement, OverlayPositioning, ReferenceElement } from "../../utils/floating-ui.js";
|
|
4
|
-
import type { Scale } from "../
|
|
4
|
+
import type { Scale } from "../types.js";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @cssproperty [--calcite-tooltip-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, SelectionMode } from "../
|
|
3
|
+
import type { Scale, SelectionMode } from "../types.js";
|
|
4
4
|
import type { TreeItem } from "../calcite-tree-item/customElement.js";
|
|
5
5
|
|
|
6
6
|
/** @slot - A slot for `calcite-tree-item` elements. */
|
|
@@ -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-tree-text-color] - Specifies the component's text color.
|