@esri/calcite-components 5.2.0-next.50 → 5.2.0-next.51

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.
Files changed (391) hide show
  1. package/dist/cdn/2HDRYG3M.js +2 -0
  2. package/dist/cdn/2KVSVGPZ.js +2 -0
  3. package/dist/cdn/2MDR3YPU.js +2 -0
  4. package/dist/cdn/2TEBIGRG.js +2 -0
  5. package/dist/cdn/2XRXW5WJ.js +2 -0
  6. package/dist/cdn/2Y7HJHVP.js +2 -0
  7. package/dist/cdn/{2EC36AEV.js → 33XIUBFW.js} +1 -1
  8. package/dist/cdn/{2KCR4KAT.js → 3HRK4SIW.js} +1 -1
  9. package/dist/cdn/{L23MRJGL.js → 43M7T45H.js} +1 -1
  10. package/dist/cdn/4NTWEC4C.js +2 -0
  11. package/dist/cdn/4TO23BV4.js +2 -0
  12. package/dist/cdn/4XBQEF7L.js +2 -0
  13. package/dist/cdn/4YQPK6ES.js +2 -0
  14. package/dist/cdn/5J66CX7P.js +2 -0
  15. package/dist/cdn/{5UEOJ7CE.js → 5MDO2B37.js} +1 -1
  16. package/dist/cdn/5QLQZ3FN.js +2 -0
  17. package/dist/cdn/{MQQVHOAA.js → 5RNPDMF2.js} +1 -1
  18. package/dist/cdn/5WM2I45W.js +2 -0
  19. package/dist/cdn/{JLWRAUEC.js → 64YMJBZZ.js} +1 -1
  20. package/dist/cdn/66YMIVMC.js +2 -0
  21. package/dist/cdn/6HO77J6T.js +2 -0
  22. package/dist/cdn/73XTMYB6.js +2 -0
  23. package/dist/cdn/76KVX4B7.js +2 -0
  24. package/dist/cdn/76ZYXGRY.js +2 -0
  25. package/dist/cdn/7KM6PEAO.js +2 -0
  26. package/dist/cdn/7UFHHDWQ.js +2 -0
  27. package/dist/cdn/7XE2BKKY.js +2 -0
  28. package/dist/cdn/{KC6UFK5B.js → APLOAUMO.js} +1 -1
  29. package/dist/cdn/{5GOCBG5I.js → ATO5HGZN.js} +1 -1
  30. package/dist/cdn/AVPK5VBD.js +2 -0
  31. package/dist/cdn/{SXSJ7VBG.js → B2TNIEW3.js} +1 -1
  32. package/dist/cdn/B5DXUTFL.js +2 -0
  33. package/dist/cdn/{KJWTGU2V.js → BAUPYISA.js} +1 -1
  34. package/dist/cdn/BQ27S7LT.js +2 -0
  35. package/dist/cdn/{FISWQQA5.js → BWM5XLRY.js} +1 -1
  36. package/dist/cdn/CC5SFMPC.js +2 -0
  37. package/dist/cdn/CKA4MFHD.js +2 -0
  38. package/dist/cdn/CKSU2JN7.js +20 -0
  39. package/dist/cdn/{7JJLNXV6.js → CSKT2575.js} +1 -1
  40. package/dist/cdn/DACOJMJV.js +2 -0
  41. package/dist/cdn/DEM6WWUS.js +2 -0
  42. package/dist/cdn/{TG6QYVB5.js → DRKLOFZZ.js} +1 -1
  43. package/dist/cdn/{BJNJMAUA.js → DSF3U5QO.js} +1 -1
  44. package/dist/cdn/E4RJ4R3X.js +2 -0
  45. package/dist/cdn/ECLI2KIJ.js +2 -0
  46. package/dist/cdn/EF36O6P6.js +2 -0
  47. package/dist/cdn/EOSQONY2.js +2 -0
  48. package/dist/cdn/FNZSFQYE.js +2 -0
  49. package/dist/cdn/FVPB7L5J.js +2 -0
  50. package/dist/cdn/{WZGJADMP.js → G5PZE3RW.js} +1 -1
  51. package/dist/cdn/{GTGP7VOO.js → GKYUUELE.js} +1 -1
  52. package/dist/cdn/H7QC5AY6.js +2 -0
  53. package/dist/cdn/HNXICR4F.js +2 -0
  54. package/dist/cdn/HOS7YXPP.js +2 -0
  55. package/dist/cdn/HRSIX6SO.js +2 -0
  56. package/dist/cdn/{PD7SSDTT.js → HSO4KPOQ.js} +1 -1
  57. package/dist/cdn/HVNUBXM5.js +2 -0
  58. package/dist/cdn/{NHYH4CYQ.js → HZPKL6NY.js} +1 -1
  59. package/dist/cdn/{RYA2FB6F.js → IE5G6O52.js} +1 -1
  60. package/dist/cdn/IEIIWDML.js +2 -0
  61. package/dist/cdn/JYPFN53C.js +2 -0
  62. package/dist/cdn/K7NZHQL6.js +2 -0
  63. package/dist/cdn/{SMJCYMUC.js → KE25YOWC.js} +1 -1
  64. package/dist/cdn/KFSZBCPH.js +2 -0
  65. package/dist/cdn/{ZYL2QJAR.js → KHK7J6IE.js} +1 -1
  66. package/dist/cdn/KIJX4TLZ.js +2 -0
  67. package/dist/cdn/KLL4S456.js +2 -0
  68. package/dist/cdn/{UBH57JQW.js → KN6BH5QA.js} +1 -1
  69. package/dist/cdn/{HI5EKYQN.js → KNTIU7B6.js} +1 -1
  70. package/dist/cdn/KOPPGROZ.js +2 -0
  71. package/dist/cdn/KQTLHKRN.js +2 -0
  72. package/dist/cdn/KULTRKZL.js +2 -0
  73. package/dist/cdn/{3OORDQLB.js → L224KCOI.js} +1 -1
  74. package/dist/cdn/{L5Z6MAAX.js → L5S3O4ZK.js} +1 -1
  75. package/dist/cdn/LUYJUBP7.js +2 -0
  76. package/dist/cdn/{3HVLWAZV.js → M75NOFQP.js} +1 -1
  77. package/dist/cdn/M7KP26CY.js +2 -0
  78. package/dist/cdn/MFDA2OUR.js +2 -0
  79. package/dist/cdn/{5HAO4D5O.js → MIAPUEU4.js} +1 -1
  80. package/dist/cdn/MJ5ROJA4.js +2 -0
  81. package/dist/cdn/N7SQSMPQ.js +2 -0
  82. package/dist/cdn/{PXQQCIJ7.js → NAHIFA4F.js} +1 -1
  83. package/dist/cdn/NCUXUMBU.js +2 -0
  84. package/dist/cdn/NF7NM4EC.js +2 -0
  85. package/dist/cdn/{7FQB5OCK.js → NK2I57OA.js} +1 -1
  86. package/dist/cdn/NNRA34VX.js +2 -0
  87. package/dist/cdn/NRLB6IFE.js +2 -0
  88. package/dist/cdn/O46NANBE.js +2 -0
  89. package/dist/cdn/{LP44T5MQ.js → ODRFLVW5.js} +1 -1
  90. package/dist/cdn/OEREUZGO.js +2 -0
  91. package/dist/cdn/{KZUV22NQ.js → OGPS3PB3.js} +1 -1
  92. package/dist/cdn/OKN43VP5.js +2 -0
  93. package/dist/cdn/{UHQEY6DV.js → ORQRAMY3.js} +1 -1
  94. package/dist/cdn/{5IFVHGFF.js → OXBDGOJD.js} +1 -1
  95. package/dist/cdn/P5QVNOJV.js +2 -0
  96. package/dist/cdn/P7GRG22F.js +2 -0
  97. package/dist/cdn/{NI4S4JB4.js → PB3C664M.js} +1 -1
  98. package/dist/cdn/PCBDGQ4J.js +2 -0
  99. package/dist/cdn/PDC4QPCI.js +2 -0
  100. package/dist/cdn/{PNLWXRHA.js → PESUGKR3.js} +1 -1
  101. package/dist/cdn/Q6LKF7SP.js +2 -0
  102. package/dist/cdn/Q7B2QAPN.js +2 -0
  103. package/dist/cdn/QWHWRQBF.js +2 -0
  104. package/dist/cdn/{UZ6I3LG2.js → R36AFCES.js} +1 -1
  105. package/dist/cdn/RCYEVVYP.js +2 -0
  106. package/dist/cdn/RJLZ3CSA.js +2 -0
  107. package/dist/cdn/{Q5QY7RFF.js → RRA4RJOO.js} +1 -1
  108. package/dist/cdn/RROJOJFB.js +2 -0
  109. package/dist/cdn/RRPA7NB4.js +2 -0
  110. package/dist/cdn/{VXD6LR2D.js → S6WTOHBZ.js} +1 -1
  111. package/dist/cdn/{I4U2IHE2.js → S7XKI7YU.js} +1 -1
  112. package/dist/cdn/S7YMS5IN.js +2 -0
  113. package/dist/cdn/SQGA3UND.js +2 -0
  114. package/dist/cdn/{5ETX2W22.js → T3LSROZR.js} +1 -1
  115. package/dist/cdn/THNBYDTL.js +2 -0
  116. package/dist/cdn/THXSMECI.js +2 -0
  117. package/dist/cdn/{6KCIKPVG.js → TJG7VOM4.js} +1 -1
  118. package/dist/cdn/TJLKYFR6.js +2 -0
  119. package/dist/cdn/TSQHGSFP.js +2 -0
  120. package/dist/cdn/TXRTWBIB.js +2 -0
  121. package/dist/cdn/UBSPPXKG.js +2 -0
  122. package/dist/cdn/UZH6SGJE.js +2 -0
  123. package/dist/cdn/VOLJFPQE.js +2 -0
  124. package/dist/cdn/WH6UUJUP.js +2 -0
  125. package/dist/cdn/WOIATOWA.js +2 -0
  126. package/dist/cdn/{5ORNBTVF.js → WPMX4RRZ.js} +1 -1
  127. package/dist/cdn/{MLNMNLH3.js → WVILGTYY.js} +1 -1
  128. package/dist/cdn/{KILBV2AU.js → WXUNDUA5.js} +1 -1
  129. package/dist/cdn/{IAUJ5JCE.js → X5CTWRF2.js} +1 -1
  130. package/dist/cdn/XBBPDLMI.js +2 -0
  131. package/dist/cdn/{ALPKJ7TX.js → XBPQ64A6.js} +1 -1
  132. package/dist/cdn/XFISEQOY.js +2 -0
  133. package/dist/cdn/XG567JTC.js +2 -0
  134. package/dist/cdn/XIX56OS2.js +2 -0
  135. package/dist/cdn/{CPDRKFNF.js → XMCTANRY.js} +1 -1
  136. package/dist/cdn/XNLDUIVX.js +2 -0
  137. package/dist/cdn/XOYDFWCV.js +2 -0
  138. package/dist/cdn/YS7ZE6JF.js +2 -0
  139. package/dist/cdn/{Q4GDUCFL.js → YY4V6ORK.js} +1 -1
  140. package/dist/cdn/YYZW4JB2.js +2 -0
  141. package/dist/cdn/ZAJIXOE6.js +2 -0
  142. package/dist/cdn/ZEN5OHWM.js +2 -0
  143. package/dist/cdn/ZHFVBZK7.js +2 -0
  144. package/dist/cdn/ZNJ2XDGO.js +2 -0
  145. package/dist/cdn/ZR3LBIFK.js +2 -0
  146. package/dist/cdn/ZSAAJ4BI.js +2 -0
  147. package/dist/cdn/assets/icon/deleteAndReplaceFeatures16.json +1 -0
  148. package/dist/cdn/assets/icon/deleteAndReplaceFeatures24.json +1 -0
  149. package/dist/cdn/assets/icon/deleteAndReplaceFeatures32.json +1 -0
  150. package/dist/cdn/assets/icon/moveAndRotate16.json +1 -0
  151. package/dist/cdn/assets/icon/moveAndRotate24.json +1 -0
  152. package/dist/cdn/assets/icon/moveAndRotate32.json +1 -0
  153. package/dist/cdn/index.js +1 -1
  154. package/dist/chunks/resources12.js +29 -16
  155. package/dist/chunks/resources13.js +27 -0
  156. package/dist/chunks/resources14.js +39 -0
  157. package/dist/chunks/runtime.js +4 -4
  158. package/dist/components/calcite-accordion/customElement.d.ts +1 -1
  159. package/dist/components/calcite-accordion-item/customElement.d.ts +2 -2
  160. package/dist/components/calcite-action/customElement.d.ts +2 -2
  161. package/dist/components/calcite-action-bar/customElement.d.ts +1 -1
  162. package/dist/components/calcite-action-group/customElement.d.ts +2 -2
  163. package/dist/components/calcite-action-menu/customElement.d.ts +1 -1
  164. package/dist/components/calcite-action-pad/customElement.d.ts +1 -1
  165. package/dist/components/calcite-alert/customElement.d.ts +3 -3
  166. package/dist/components/calcite-autocomplete/customElement.d.ts +2 -2
  167. package/dist/components/calcite-autocomplete-item/customElement.d.ts +2 -2
  168. package/dist/components/calcite-avatar/customElement.d.ts +1 -1
  169. package/dist/components/calcite-block/customElement.d.ts +3 -3
  170. package/dist/components/calcite-block-group/customElement.d.ts +2 -2
  171. package/dist/components/calcite-block-section/customElement.d.ts +3 -3
  172. package/dist/components/calcite-button/customElement.d.ts +3 -3
  173. package/dist/components/calcite-card/customElement.d.ts +1 -1
  174. package/dist/components/calcite-card/customElement.js +0 -11
  175. package/dist/components/calcite-card-group/customElement.d.ts +1 -1
  176. package/dist/components/calcite-card-group/customElement.js +27 -18
  177. package/dist/components/calcite-carousel/customElement.d.ts +1 -1
  178. package/dist/components/calcite-checkbox/customElement.d.ts +1 -1
  179. package/dist/components/calcite-chip/customElement.d.ts +2 -2
  180. package/dist/components/calcite-chip/customElement.js +0 -8
  181. package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
  182. package/dist/components/calcite-chip-group/customElement.js +21 -18
  183. package/dist/components/calcite-color-picker/customElement.d.ts +3 -3
  184. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
  185. package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
  186. package/dist/components/calcite-combobox/customElement.d.ts +3 -3
  187. package/dist/components/calcite-combobox-item/customElement.d.ts +2 -2
  188. package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
  189. package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
  190. package/dist/components/calcite-date-picker-month/customElement.d.ts +1 -1
  191. package/dist/components/calcite-dialog/customElement.d.ts +3 -3
  192. package/dist/components/calcite-dropdown/customElement.d.ts +1 -1
  193. package/dist/components/calcite-dropdown-group/customElement.d.ts +1 -1
  194. package/dist/components/calcite-dropdown-item/customElement.d.ts +2 -2
  195. package/dist/components/calcite-fab/customElement.d.ts +2 -2
  196. package/dist/components/calcite-filter/customElement.d.ts +1 -1
  197. package/dist/components/calcite-flow/customElement.d.ts +1 -1
  198. package/dist/components/calcite-flow/types/index.d.ts +1 -1
  199. package/dist/components/calcite-flow-item/customElement.d.ts +2 -2
  200. package/dist/components/calcite-graph/customElement.d.ts +1 -1
  201. package/dist/components/calcite-graph/customElement.js +1 -1
  202. package/dist/components/calcite-handle/customElement.d.ts +1 -1
  203. package/dist/components/calcite-icon/customElement.d.ts +2 -2
  204. package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
  205. package/dist/components/calcite-input/customElement.d.ts +3 -3
  206. package/dist/components/calcite-input/customElement.js +1 -1
  207. package/dist/components/calcite-input-date-picker/customElement.d.ts +2 -2
  208. package/dist/components/calcite-input-message/customElement.d.ts +2 -2
  209. package/dist/components/calcite-input-number/customElement.d.ts +3 -3
  210. package/dist/components/calcite-input-text/customElement.d.ts +2 -2
  211. package/dist/components/calcite-input-time-picker/customElement.d.ts +2 -2
  212. package/dist/components/calcite-input-time-zone/customElement.d.ts +3 -3
  213. package/dist/components/calcite-label/customElement.d.ts +1 -1
  214. package/dist/components/calcite-link/customElement.d.ts +2 -2
  215. package/dist/components/calcite-list/customElement.d.ts +3 -3
  216. package/dist/components/calcite-list-item/customElement.d.ts +2 -2
  217. package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
  218. package/dist/components/calcite-loader/customElement.d.ts +1 -1
  219. package/dist/components/calcite-menu/customElement.js +43 -25
  220. package/dist/components/calcite-menu-item/customElement.d.ts +2 -2
  221. package/dist/components/calcite-menu-item/customElement.js +5 -53
  222. package/dist/components/calcite-meter/customElement.d.ts +2 -2
  223. package/dist/components/calcite-navigation/customElement.d.ts +1 -1
  224. package/dist/components/calcite-navigation-logo/customElement.d.ts +1 -1
  225. package/dist/components/calcite-notice/customElement.d.ts +2 -2
  226. package/dist/components/calcite-pagination/customElement.d.ts +1 -1
  227. package/dist/components/calcite-panel/customElement.d.ts +2 -2
  228. package/dist/components/calcite-popover/customElement.d.ts +1 -1
  229. package/dist/components/calcite-radio-button/customElement.d.ts +1 -1
  230. package/dist/components/calcite-radio-button-group/customElement.d.ts +2 -2
  231. package/dist/components/calcite-rating/customElement.d.ts +2 -2
  232. package/dist/components/calcite-segmented-control/customElement.d.ts +2 -2
  233. package/dist/components/calcite-segmented-control-item/customElement.d.ts +1 -1
  234. package/dist/components/calcite-select/customElement.d.ts +2 -2
  235. package/dist/components/calcite-sheet/customElement.d.ts +2 -2
  236. package/dist/components/calcite-shell-panel/customElement.d.ts +2 -2
  237. package/dist/components/calcite-slider/customElement.d.ts +4 -4
  238. package/dist/components/calcite-sort-handle/customElement.d.ts +2 -2
  239. package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
  240. package/dist/components/calcite-split-button/customElement.d.ts +3 -3
  241. package/dist/components/calcite-stepper/customElement.d.ts +2 -2
  242. package/dist/components/calcite-stepper/customElement.js +19 -11
  243. package/dist/components/calcite-stepper-item/customElement.js +5 -21
  244. package/dist/components/calcite-swatch/customElement.d.ts +1 -1
  245. package/dist/components/calcite-swatch/customElement.js +5 -44
  246. package/dist/components/calcite-swatch-group/customElement.d.ts +1 -1
  247. package/dist/components/calcite-swatch-group/customElement.js +30 -21
  248. package/dist/components/calcite-switch/customElement.d.ts +1 -1
  249. package/dist/components/calcite-tab-nav/customElement.d.ts +1 -1
  250. package/dist/components/calcite-tab-title/customElement.d.ts +3 -3
  251. package/dist/components/calcite-table/customElement.d.ts +2 -2
  252. package/dist/components/calcite-table-cell/customElement.d.ts +1 -1
  253. package/dist/components/calcite-table-header/customElement.d.ts +1 -1
  254. package/dist/components/calcite-table-row/customElement.d.ts +1 -1
  255. package/dist/components/calcite-tabs/customElement.d.ts +2 -2
  256. package/dist/components/calcite-text-area/customElement.d.ts +2 -2
  257. package/dist/components/calcite-tile/customElement.d.ts +2 -2
  258. package/dist/components/calcite-tile/customElement.js +4 -18
  259. package/dist/components/calcite-tile-group/customElement.d.ts +1 -1
  260. package/dist/components/calcite-tile-group/customElement.js +30 -22
  261. package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
  262. package/dist/components/calcite-tooltip/customElement.d.ts +1 -1
  263. package/dist/components/calcite-tree/customElement.d.ts +1 -1
  264. package/dist/components/calcite-tree-item/customElement.d.ts +2 -2
  265. package/dist/docs/api.json +1 -1
  266. package/dist/docs/docs.json +1 -1
  267. package/dist/docs/web-types.json +1 -1
  268. package/dist/types/stencil.d.ts +2 -2
  269. package/package.json +9 -9
  270. package/dist/cdn/2DMDZWL3.js +0 -2
  271. package/dist/cdn/2EVBOEFM.js +0 -2
  272. package/dist/cdn/2UM567AB.js +0 -2
  273. package/dist/cdn/2ZC2YCXV.js +0 -2
  274. package/dist/cdn/3A6ATXLP.js +0 -2
  275. package/dist/cdn/3A6EH3OR.js +0 -2
  276. package/dist/cdn/3HIDDBIZ.js +0 -2
  277. package/dist/cdn/3M4BZWEJ.js +0 -2
  278. package/dist/cdn/3WINLYDH.js +0 -2
  279. package/dist/cdn/3WVJHPQ7.js +0 -2
  280. package/dist/cdn/43NMCEUZ.js +0 -2
  281. package/dist/cdn/43PDLLWN.js +0 -2
  282. package/dist/cdn/4FNFUCSR.js +0 -2
  283. package/dist/cdn/4OTPLWNJ.js +0 -2
  284. package/dist/cdn/6TSK2MV3.js +0 -2
  285. package/dist/cdn/6XX2VM5Q.js +0 -2
  286. package/dist/cdn/772ACZGK.js +0 -2
  287. package/dist/cdn/7JSQJBNV.js +0 -2
  288. package/dist/cdn/AVA3DXJL.js +0 -2
  289. package/dist/cdn/B7DAQWVX.js +0 -2
  290. package/dist/cdn/BFCIBFWO.js +0 -2
  291. package/dist/cdn/BTSEO67A.js +0 -2
  292. package/dist/cdn/BZS35SJW.js +0 -2
  293. package/dist/cdn/C3774JMW.js +0 -2
  294. package/dist/cdn/C7LDO5UG.js +0 -2
  295. package/dist/cdn/CJ5PSD74.js +0 -2
  296. package/dist/cdn/CJWQMATP.js +0 -2
  297. package/dist/cdn/CNEOQSIZ.js +0 -2
  298. package/dist/cdn/CUINECEZ.js +0 -2
  299. package/dist/cdn/DOUX4HI4.js +0 -2
  300. package/dist/cdn/DOX7GIEG.js +0 -2
  301. package/dist/cdn/DVBW6ILF.js +0 -2
  302. package/dist/cdn/DYR4BHFQ.js +0 -2
  303. package/dist/cdn/E7ABKA4Y.js +0 -2
  304. package/dist/cdn/EPXQKIGK.js +0 -2
  305. package/dist/cdn/F6L574M5.js +0 -2
  306. package/dist/cdn/FPXHVBJU.js +0 -2
  307. package/dist/cdn/GGWYZTR3.js +0 -2
  308. package/dist/cdn/GVE5Q44M.js +0 -2
  309. package/dist/cdn/GXFKG3J2.js +0 -2
  310. package/dist/cdn/HBG35UAO.js +0 -2
  311. package/dist/cdn/HKCTKTPH.js +0 -2
  312. package/dist/cdn/IH4AFX47.js +0 -2
  313. package/dist/cdn/IK47NU6V.js +0 -2
  314. package/dist/cdn/JZRJ73IL.js +0 -2
  315. package/dist/cdn/KXQZZFCG.js +0 -2
  316. package/dist/cdn/L67GFQWH.js +0 -2
  317. package/dist/cdn/L6WT4QY7.js +0 -2
  318. package/dist/cdn/LKG6I456.js +0 -2
  319. package/dist/cdn/M55A64EI.js +0 -2
  320. package/dist/cdn/MBM7UIXE.js +0 -2
  321. package/dist/cdn/MIRC4NWN.js +0 -2
  322. package/dist/cdn/MKY3FIQZ.js +0 -2
  323. package/dist/cdn/MU2C75OO.js +0 -2
  324. package/dist/cdn/N3FH3JQP.js +0 -2
  325. package/dist/cdn/N3FVILQ3.js +0 -2
  326. package/dist/cdn/N6O54ZYE.js +0 -2
  327. package/dist/cdn/NN32CHJT.js +0 -2
  328. package/dist/cdn/NTIAAIWN.js +0 -2
  329. package/dist/cdn/NVIM4UBF.js +0 -2
  330. package/dist/cdn/O7ZKSCLE.js +0 -2
  331. package/dist/cdn/ORCBRUMC.js +0 -20
  332. package/dist/cdn/OY2U5XE7.js +0 -2
  333. package/dist/cdn/PSBUBWP7.js +0 -2
  334. package/dist/cdn/QAFYYBSV.js +0 -2
  335. package/dist/cdn/QASCAVW2.js +0 -2
  336. package/dist/cdn/QM2QF3WW.js +0 -2
  337. package/dist/cdn/QY25HYGM.js +0 -2
  338. package/dist/cdn/RBL22UBR.js +0 -2
  339. package/dist/cdn/RVTXEL2D.js +0 -2
  340. package/dist/cdn/S4PKT4JF.js +0 -2
  341. package/dist/cdn/S6Q7UTXC.js +0 -2
  342. package/dist/cdn/T2FKXZHF.js +0 -2
  343. package/dist/cdn/TFKKLWXW.js +0 -2
  344. package/dist/cdn/TLCOKJUW.js +0 -2
  345. package/dist/cdn/U3SAITDE.js +0 -2
  346. package/dist/cdn/UB7SBFVN.js +0 -2
  347. package/dist/cdn/UH4BKKNZ.js +0 -2
  348. package/dist/cdn/UZNN2TVD.js +0 -2
  349. package/dist/cdn/V457M6TG.js +0 -2
  350. package/dist/cdn/V7ZKXCD3.js +0 -2
  351. package/dist/cdn/VGG3BXDF.js +0 -2
  352. package/dist/cdn/VGNYRAIJ.js +0 -2
  353. package/dist/cdn/VRJ5C5DW.js +0 -2
  354. package/dist/cdn/WKFGHGFE.js +0 -2
  355. package/dist/cdn/XAX5FRW2.js +0 -2
  356. package/dist/cdn/XJRM7BP7.js +0 -2
  357. package/dist/cdn/XPKNIHVE.js +0 -2
  358. package/dist/cdn/YLGMHJG2.js +0 -2
  359. package/dist/cdn/YRFWQNQZ.js +0 -2
  360. package/dist/cdn/YYX7DAUH.js +0 -2
  361. package/dist/cdn/ZGN3OPON.js +0 -2
  362. package/dist/cdn/ZKVMLQKB.js +0 -2
  363. package/dist/cdn/ZOPDXPDR.js +0 -2
  364. package/dist/cdn/ZYM3J2WI.js +0 -2
  365. /package/dist/cdn/{2OKTIK5P.js → 7L4EZFYG.js} +0 -0
  366. /package/dist/components/calcite-action-group/{interfaces.d.ts → types.d.ts} +0 -0
  367. /package/dist/components/calcite-alert/{interfaces.d.ts → types.d.ts} +0 -0
  368. /package/dist/components/calcite-block/{interface.d.ts → types.d.ts} +0 -0
  369. /package/dist/components/calcite-block-group/{interfaces.d.ts → types.d.ts} +0 -0
  370. /package/dist/components/calcite-block-section/{interfaces.d.ts → types.d.ts} +0 -0
  371. /package/dist/components/calcite-button/{interfaces.d.ts → types.d.ts} +0 -0
  372. /package/dist/components/calcite-carousel/{interfaces.d.ts → types.d.ts} +0 -0
  373. /package/dist/components/calcite-color-picker/{interfaces.d.ts → types.d.ts} +0 -0
  374. /package/dist/components/calcite-combobox/{interfaces.d.ts → types.d.ts} +0 -0
  375. /package/dist/components/calcite-dialog/{interfaces.d.ts → types.d.ts} +0 -0
  376. /package/dist/components/calcite-flow/{interfaces.d.ts → types.d.ts} +0 -0
  377. /package/dist/components/calcite-graph/{interfaces.d.ts → types.d.ts} +0 -0
  378. /package/dist/components/calcite-handle/{interfaces.d.ts → types.d.ts} +0 -0
  379. /package/dist/components/calcite-icon/{interfaces.d.ts → types.d.ts} +0 -0
  380. /package/dist/components/calcite-input/{interfaces.d.ts → types.d.ts} +0 -0
  381. /package/dist/components/calcite-input-time-zone/{interfaces.d.ts → types.d.ts} +0 -0
  382. /package/dist/components/calcite-list/{interfaces.d.ts → types.d.ts} +0 -0
  383. /package/dist/components/calcite-list-item/{interfaces.d.ts → types.d.ts} +0 -0
  384. /package/dist/components/calcite-meter/{interfaces.d.ts → types.d.ts} +0 -0
  385. /package/dist/components/calcite-sheet/{interfaces.d.ts → types.d.ts} +0 -0
  386. /package/dist/components/calcite-shell-panel/{interfaces.d.ts → types.d.ts} +0 -0
  387. /package/dist/components/calcite-sort-handle/{interfaces.d.ts → types.d.ts} +0 -0
  388. /package/dist/components/calcite-stepper/{interfaces.d.ts → types.d.ts} +0 -0
  389. /package/dist/components/calcite-table/{interfaces.d.ts → types.d.ts} +0 -0
  390. /package/dist/components/calcite-tabs/{interfaces.d.ts → types.d.ts} +0 -0
  391. /package/dist/components/{interfaces.d.ts → types.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
- import type { Layout, Scale, Status } from "../interfaces.js";
4
- import type { IconName } from "../calcite-icon/interfaces.js";
3
+ import type { Layout, Scale, Status } from "../types.js";
4
+ import type { IconName } from "../calcite-icon/types.js";
5
5
  import type { RadioButton } from "../calcite-radio-button/customElement.js";
6
6
 
7
7
  /**
@@ -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, Status } from "../interfaces.js";
4
- import type { IconName } from "../calcite-icon/interfaces.js";
3
+ import type { Scale, Status } from "../types.js";
4
+ import type { IconName } from "../calcite-icon/types.js";
5
5
 
6
6
  /**
7
7
  * @cssproperty [--calcite-rating-spacing] - Specifies the amount of left and right margin spacing between each item.
@@ -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, Layout, Scale, Status, Width } from "../interfaces.js";
4
- import type { IconName } from "../calcite-icon/interfaces.js";
3
+ import type { Appearance, Layout, Scale, Status, Width } from "../types.js";
4
+ import type { IconName } from "../calcite-icon/types.js";
5
5
  import type { SegmentedControlItem } from "../calcite-segmented-control-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 { IconName } from "../calcite-icon/interfaces.js";
3
+ import type { IconName } from "../calcite-icon/types.js";
4
4
 
5
5
  /**
6
6
  * @cssproperty [--calcite-segmented-control-color] - Specifies the component's 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 { Scale, Status, Width } from "../interfaces.js";
4
- import type { IconName } from "../calcite-icon/interfaces.js";
3
+ import type { Scale, Status, Width } from "../types.js";
4
+ import type { IconName } from "../calcite-icon/types.js";
5
5
  import type { Option } from "../calcite-option/customElement.js";
6
6
 
7
7
  /**
@@ -1,8 +1,8 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
- import type { Height, LogicalFlowPosition, Scale, Width } from "../interfaces.js";
3
+ import type { Height, LogicalFlowPosition, Scale, Width } from "../types.js";
4
4
  import type { FocusTrapOptions } from "../../controllers/useFocusTrap.js";
5
- import type { DisplayMode } from "./interfaces.js";
5
+ import type { DisplayMode } from "./types.js";
6
6
  import type { T9nMeta } from "@arcgis/lumina/controllers";
7
7
 
8
8
  /**
@@ -1,7 +1,7 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
- import type { Height, Layout, Position, Scale, Width } from "../interfaces.js";
4
- import type { DisplayMode } from "./interfaces.js";
3
+ import type { Height, Layout, Position, Scale, Width } from "../types.js";
4
+ import type { DisplayMode } from "./types.js";
5
5
 
6
6
  /**
7
7
  * @cssproperty [--calcite-shell-panel-background-color] - Specifies the component's background color.
@@ -1,9 +1,9 @@
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 { ColorStop, DataSeries } from "../calcite-graph/interfaces.js";
5
- import type { Scale, Status } from "../interfaces.js";
6
- import type { IconName } from "../calcite-icon/interfaces.js";
4
+ import type { ColorStop, DataSeries } from "../calcite-graph/types.js";
5
+ import type { Scale, Status } from "../types.js";
6
+ import type { IconName } from "../calcite-icon/types.js";
7
7
 
8
8
  /**
9
9
  * @cssproperty [--calcite-slider-text-color] - Specifies the component's text color.
@@ -50,7 +50,7 @@ export abstract class Slider extends LitElement {
50
50
  /**
51
51
  * Specifies a list of the histogram's x,y coordinates within the component's `min` and `max`. Displays above the component's track.
52
52
  *
53
- * @see [DataSeries](https://github.com/Esri/calcite-design-system/blob/dev/packages/components/src/components/graph/interfaces.ts#L5).
53
+ * @see [DataSeries](https://github.com/Esri/calcite-design-system/blob/dev/packages/components/src/components/graph/types.ts#L5).
54
54
  */
55
55
  accessor histogram: DataSeries | undefined;
56
56
  /** Specifies a list of single color stops for a histogram, sorted by offset in ascending order. */
@@ -1,8 +1,8 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
- import type { Scale } from "../interfaces.js";
3
+ import type { Scale } from "../types.js";
4
4
  import type { FlipPlacement, LogicalPlacement, OverlayPositioning } from "../../utils/floating-ui.js";
5
- import type { MoveEventDetail, SortMenuItem, ReorderEventDetail, AddEventDetail } from "./interfaces.js";
5
+ import type { MoveEventDetail, SortMenuItem, ReorderEventDetail, AddEventDetail } from "./types.js";
6
6
 
7
7
  export abstract class SortHandle extends LitElement {
8
8
  /** Defines the "Add to" items. */
@@ -1,6 +1,6 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
- import type { Layout } from "../interfaces.js";
3
+ import type { Layout } from "../types.js";
4
4
  import type { DragDetail } from "../../controllers/useSortable.js";
5
5
 
6
6
  /**
@@ -1,9 +1,9 @@
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 { DropdownIconType } from "../calcite-button/interfaces.js";
5
- import type { Appearance, FlipContext, Kind, Scale, Width } from "../interfaces.js";
6
- import type { IconName } from "../calcite-icon/interfaces.js";
4
+ import type { DropdownIconType } from "../calcite-button/types.js";
5
+ import type { Appearance, FlipContext, Kind, Scale, Width } from "../types.js";
6
+ import type { IconName } from "../calcite-icon/types.js";
7
7
 
8
8
  /**
9
9
  * @cssproperty [--calcite-split-button-background-color] - Specifies the component's background color.
@@ -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 "../interfaces.js";
3
+ import type { Scale } from "../types.js";
4
4
  import type { NumberingSystem } from "../../utils/locale.js";
5
5
  import type { StepperItem } from "../calcite-stepper-item/customElement.js";
6
- import type { StepperLayout } from "./interfaces.js";
6
+ import type { StepperLayout } from "./types.js";
7
7
 
8
8
  /**
9
9
  * @cssproperty [--calcite-stepper-bar-gap] - Specifies the space between the component's `calcite-stepper-item`s.
@@ -7,7 +7,7 @@ import { d as focusElementInGroup, a as slotChangeGetAssignedElements } from "..
7
7
  import { c as createObserver } from "../../chunks/observers.js";
8
8
  import { g as guid } from "../../chunks/guid.js";
9
9
  import { u as useT9n } from "../../chunks/useT9n.js";
10
- import { i as isStepperItem } from "../../chunks/resources12.js";
10
+ import { i as isStepperItem } from "../../chunks/resources13.js";
11
11
  const CSS$1 = {
12
12
  actionIcon: "action-icon",
13
13
  actionContainer: "action-container",
@@ -61,7 +61,7 @@ class Stepper extends LitElement {
61
61
  cancelable: false
62
62
  });
63
63
  this.calciteStepperChange = createEvent({ cancelable: false });
64
- this.listen("calciteInternalStepperItemKeyEvent", this.calciteInternalStepperItemKeyEvent);
64
+ this.listen("keydown", this.keyDownHandler);
65
65
  this.listen("calciteInternalStepperItemUpdate", (event) => {
66
66
  event.stopPropagation();
67
67
  this.updateItems();
@@ -137,26 +137,34 @@ class Stepper extends LitElement {
137
137
  super.disconnectedCallback();
138
138
  this.mutationObserver?.disconnect();
139
139
  }
140
- calciteInternalStepperItemKeyEvent(event) {
141
- const item = event.detail.item;
142
- const itemToFocus = event.target;
143
- switch (item.key) {
140
+ keyDownHandler(event) {
141
+ if (event.defaultPrevented || !event.composedPath().includes(this.el)) {
142
+ return;
143
+ }
144
+ const item = this.items.find((item2) => item2 === event.target);
145
+ if (!item || item.disabled) {
146
+ return;
147
+ }
148
+ switch (event.key) {
144
149
  case "ArrowDown":
145
150
  case "ArrowRight":
146
- focusElementInGroup(this.focusableItems, itemToFocus, "next");
151
+ focusElementInGroup(this.focusableItems, item, "next");
152
+ event.preventDefault();
147
153
  break;
148
154
  case "ArrowUp":
149
155
  case "ArrowLeft":
150
- focusElementInGroup(this.focusableItems, itemToFocus, "previous");
156
+ focusElementInGroup(this.focusableItems, item, "previous");
157
+ event.preventDefault();
151
158
  break;
152
159
  case "Home":
153
- focusElementInGroup(this.focusableItems, itemToFocus, "first");
160
+ focusElementInGroup(this.focusableItems, item, "first");
161
+ event.preventDefault();
154
162
  break;
155
163
  case "End":
156
- focusElementInGroup(this.focusableItems, itemToFocus, "last");
164
+ focusElementInGroup(this.focusableItems, item, "last");
165
+ event.preventDefault();
157
166
  break;
158
167
  }
159
- event.stopPropagation();
160
168
  }
161
169
  updateItem(event) {
162
170
  const { position } = event.detail;
@@ -9,7 +9,8 @@ import { i as isHidden } from "../../chunks/component.js";
9
9
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
10
10
  import { o as slotChangeHasContent } from "../../chunks/dom.js";
11
11
  import { u as useInteractive } from "../../chunks/useInteractive.js";
12
- import { C as CSS, I as ICONS } from "../../chunks/resources12.js";
12
+ import { C as CSS, I as ICONS } from "../../chunks/resources13.js";
13
+ import { i as isActivationKey } from "../../chunks/key.js";
13
14
  const styles = css`:host([disabled]),:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) ::slotted(*),:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s: .25rem;--calcite-internal-stepper-item-spacing-unit-m: .75rem;--calcite-internal-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-md);--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size-relative-sm)}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s: .5rem;--calcite-internal-stepper-item-spacing-unit-m: 1rem;--calcite-internal-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-lg);--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size-relative-base)}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s: .75rem;--calcite-internal-stepper-item-spacing-unit-m: 1.25rem;--calcite-internal-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-xl);--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-lg);margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-relative-md)}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-bar-gap, var(--calcite-internal-stepper-item-spacing-unit-s))}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host{outline-color:transparent}:host(:focus){outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host .stepper-item-content,:host .stepper-item-header{box-sizing:border-box;padding-block:var(--calcite-internal-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start;padding-block:var(--calcite-internal-stepper-item-header-padding)}:host .stepper-item-header:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-icon{margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;margin-block-start:var(--calcite-spacing-base);color:var(--calcite-stepper-item-icon-color, var(--calcite-color-border-input))}:host([complete]) .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}.stepper-item-heading,.stepper-item-description,.stepper-item-number{line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-heading{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-1))}:host .stepper-item-description{color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-3))}:host .stepper-item-number{font-weight:var(--calcite-font-weight-normal);margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-stepper-item-complete-icon-color, var(--calcite-color-brand))}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color-hover, var(--calcite-color-text-1))}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-selected-header-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-l);border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=vertical][error]) .container{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=vertical][selected]) .container{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=vertical][selected]) .container .stepper-item-content.has-slotted-content{margin-block-end:var(--calcite-internal-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;outline-color:transparent;grid-row:items;border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}@media(forced-colors:active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-2))}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-text-3))}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`;
14
15
  class StepperItem extends LitElement {
15
16
  constructor() {
@@ -30,9 +31,6 @@ class StepperItem extends LitElement {
30
31
  this.numbered = false;
31
32
  this.scale = "m";
32
33
  this.selected = false;
33
- this.calciteInternalStepperItemKeyEvent = createEvent({
34
- cancelable: false
35
- });
36
34
  this.calciteInternalStepperItemUpdate = createEvent({ cancelable: false });
37
35
  this.calciteInternalStepperItemSelect = createEvent({ cancelable: false });
38
36
  this.calciteStepperItemSelect = createEvent({ cancelable: false });
@@ -89,23 +87,9 @@ class StepperItem extends LitElement {
89
87
  }
90
88
  }
91
89
  keyDownHandler(event) {
92
- if (!this.disabled && event.target === this.el) {
93
- switch (event.key) {
94
- case " ":
95
- case "Enter":
96
- this.emitUserRequestedItem();
97
- event.preventDefault();
98
- break;
99
- case "ArrowUp":
100
- case "ArrowDown":
101
- case "ArrowLeft":
102
- case "ArrowRight":
103
- case "Home":
104
- case "End":
105
- this.calciteInternalStepperItemKeyEvent.emit({ item: event });
106
- event.preventDefault();
107
- break;
108
- }
90
+ if (!this.disabled && event.target === this.el && isActivationKey(event.key)) {
91
+ this.emitUserRequestedItem();
92
+ event.preventDefault();
109
93
  }
110
94
  }
111
95
  determineSelectedItem() {
@@ -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 "../interfaces.js";
3
+ import type { Scale } from "../types.js";
4
4
 
5
5
  /**
6
6
  * @cssproperty [--calcite-swatch-corner-radius] - Specifies the component's corner radius.
@@ -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
- const CSS = {
13
- imageContainer: "image-container",
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
- switch (event.key) {
93
- case " ":
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 "../interfaces.js";
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("calciteInternalSwatchKeyEvent", this.calciteInternalSwatchKeyEventListener);
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
- calciteInternalSwatchKeyEventListener(event) {
45
- if (event.composedPath().includes(this.el)) {
46
- const interactiveItems = this.items?.filter((el) => !el.disabled);
47
- switch (event.detail.key) {
48
- case "ArrowRight":
49
- focusElementInGroup(interactiveItems, event.detail.target, "next");
50
- break;
51
- case "ArrowLeft":
52
- focusElementInGroup(interactiveItems, event.detail.target, "previous");
53
- break;
54
- case "Home":
55
- focusElementInGroup(interactiveItems, event.detail.target, "first");
56
- break;
57
- case "End":
58
- focusElementInGroup(interactiveItems, event.detail.target, "last");
59
- break;
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?.filter((el) => el.selected);
111
+ this.selectedItems = this.items.filter((el) => el.selected);
103
112
  }
104
113
  setSelectedItems(emit, elToMatch) {
105
114
  if (elToMatch) {
106
- this.items?.forEach((el) => {
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 "../interfaces.js";
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/interfaces.js";
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 "../interfaces.js";
4
- import type { TabPosition } from "../calcite-tabs/interfaces.js";
5
- import type { IconName } from "../calcite-icon/interfaces.js";
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 "../interfaces.js";
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 "./interfaces.js";
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 "../interfaces.js";
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 "../interfaces.js";
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 "../interfaces.js";
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 "../interfaces.js";
4
- import type { TabLayout, TabPosition } from "./interfaces.js";
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 "../interfaces.js";
5
- import type { IconName } from "../calcite-icon/interfaces.js";
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 "../interfaces.js";
4
- import type { IconName } from "../calcite-icon/interfaces.js";
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
- switch (event.key) {
90
- case " ":
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 "../interfaces.js";
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. */