@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.
Files changed (404) hide show
  1. package/dist/cdn/2BXLNQIZ.js +2 -0
  2. package/dist/cdn/2MV25LR7.js +2 -0
  3. package/dist/cdn/2UU4GC6J.js +2 -0
  4. package/dist/cdn/2WG5KCNC.js +2 -0
  5. package/dist/cdn/2YMRGSC2.js +2 -0
  6. package/dist/cdn/{RYA2FB6F.js → 3FLYIPBS.js} +1 -1
  7. package/dist/cdn/3NIXPUL3.js +2 -0
  8. package/dist/cdn/{SXSJ7VBG.js → 3XC5LAPA.js} +1 -1
  9. package/dist/cdn/4PY4DYLG.js +2 -0
  10. package/dist/cdn/4QRSP54L.js +2 -0
  11. package/dist/cdn/{ZYL2QJAR.js → 52QBBLJO.js} +1 -1
  12. package/dist/cdn/{5UEOJ7CE.js → 5H2UKO4C.js} +1 -1
  13. package/dist/cdn/5IY5AZID.js +2 -0
  14. package/dist/cdn/5J66CX7P.js +2 -0
  15. package/dist/cdn/5KVPN6ZK.js +2 -0
  16. package/dist/cdn/5MWWANTK.js +2 -0
  17. package/dist/cdn/{MLNMNLH3.js → 66A37SAT.js} +1 -1
  18. package/dist/cdn/{I4U2IHE2.js → 6C45YMSU.js} +1 -1
  19. package/dist/cdn/6CAVJUNQ.js +2 -0
  20. package/dist/cdn/6DSDZW5H.js +2 -0
  21. package/dist/cdn/6IGGHQTQ.js +2 -0
  22. package/dist/cdn/6JD2UITH.js +2 -0
  23. package/dist/cdn/{LP44T5MQ.js → 6RAAG5YR.js} +1 -1
  24. package/dist/cdn/6RY5N3R3.js +2 -0
  25. package/dist/cdn/{NHYH4CYQ.js → 6ZYKELKO.js} +1 -1
  26. package/dist/cdn/{5ETX2W22.js → 7DJSWIUP.js} +1 -1
  27. package/dist/cdn/7EPA3JVK.js +2 -0
  28. package/dist/cdn/7KM6PEAO.js +2 -0
  29. package/dist/cdn/7MF3YSBV.js +2 -0
  30. package/dist/cdn/7VDY6654.js +2 -0
  31. package/dist/cdn/{Q5QY7RFF.js → A43H4ACK.js} +1 -1
  32. package/dist/cdn/{KILBV2AU.js → AI3JLLET.js} +1 -1
  33. package/dist/cdn/{KJWTGU2V.js → ANAJQLWU.js} +1 -1
  34. package/dist/cdn/ANJDXEZQ.js +2 -0
  35. package/dist/cdn/ATKBKIJQ.js +2 -0
  36. package/dist/cdn/{7FQB5OCK.js → AUPHVCL5.js} +1 -1
  37. package/dist/cdn/AWNYLXEL.js +2 -0
  38. package/dist/cdn/{SMJCYMUC.js → BKUQTED6.js} +1 -1
  39. package/dist/cdn/{3OORDQLB.js → BM4FIX25.js} +1 -1
  40. package/dist/cdn/BOHDV2WG.js +2 -0
  41. package/dist/cdn/{KC6UFK5B.js → BYDMHOHU.js} +1 -1
  42. package/dist/cdn/D3KUIDF2.js +2 -0
  43. package/dist/cdn/{FISWQQA5.js → DEAZPR3O.js} +1 -1
  44. package/dist/cdn/{PD7SSDTT.js → DFS62MDO.js} +1 -1
  45. package/dist/cdn/DGCYSGCP.js +2 -0
  46. package/dist/cdn/DTVZ6D4T.js +2 -0
  47. package/dist/cdn/E67ZD3GJ.js +2 -0
  48. package/dist/cdn/E7FBXTLX.js +2 -0
  49. package/dist/cdn/EAXTNNI7.js +2 -0
  50. package/dist/cdn/EFDH2OAA.js +2 -0
  51. package/dist/cdn/EFTPKAD4.js +2 -0
  52. package/dist/cdn/EHTNWRA6.js +2 -0
  53. package/dist/cdn/EVRI2FZL.js +2 -0
  54. package/dist/cdn/{NI4S4JB4.js → F6BRM2Q3.js} +1 -1
  55. package/dist/cdn/{WZGJADMP.js → F6KQ2PW5.js} +1 -1
  56. package/dist/cdn/FA4PIP7T.js +2 -0
  57. package/dist/cdn/FDLVSPXR.js +2 -0
  58. package/dist/cdn/FJEFDFTK.js +2 -0
  59. package/dist/cdn/FSWRPJLY.js +2 -0
  60. package/dist/cdn/{VXD6LR2D.js → FU7PP7EZ.js} +1 -1
  61. package/dist/cdn/{3HVLWAZV.js → FZH24ECO.js} +1 -1
  62. package/dist/cdn/{5HAO4D5O.js → G5TMRI7H.js} +1 -1
  63. package/dist/cdn/{L5Z6MAAX.js → GBVEV7ZN.js} +1 -1
  64. package/dist/cdn/GFDADXBN.js +2 -0
  65. package/dist/cdn/GFITUMVO.js +2 -0
  66. package/dist/cdn/GGDUHGLC.js +2 -0
  67. package/dist/cdn/GLWU3SXR.js +2 -0
  68. package/dist/cdn/GNJXEF4J.js +2 -0
  69. package/dist/cdn/GTE72X6T.js +2 -0
  70. package/dist/cdn/GVBK444B.js +2 -0
  71. package/dist/cdn/{KZUV22NQ.js → HDG74ORI.js} +1 -1
  72. package/dist/cdn/HH2EQQZ3.js +2 -0
  73. package/dist/cdn/HLH6INWE.js +2 -0
  74. package/dist/cdn/HZLJJMO4.js +2 -0
  75. package/dist/cdn/{5IFVHGFF.js → I7SS2H7N.js} +1 -1
  76. package/dist/cdn/IMX2HMIC.js +2 -0
  77. package/dist/cdn/IOHLPB7D.js +2 -0
  78. package/dist/cdn/IPJTEYGY.js +2 -0
  79. package/dist/cdn/JCZBUECQ.js +2 -0
  80. package/dist/cdn/JCZBYNA2.js +2 -0
  81. package/dist/cdn/JHM3CANJ.js +2 -0
  82. package/dist/cdn/JIK5ZQVP.js +2 -0
  83. package/dist/cdn/JZYK465F.js +2 -0
  84. package/dist/cdn/{PNLWXRHA.js → KE26D5WZ.js} +1 -1
  85. package/dist/cdn/{L23MRJGL.js → KHKFNVS4.js} +1 -1
  86. package/dist/cdn/KINMWU7P.js +2 -0
  87. package/dist/cdn/LA7TZ3RU.js +2 -0
  88. package/dist/cdn/{Q4GDUCFL.js → LKIC5Q3A.js} +1 -1
  89. package/dist/cdn/LTBVUWRD.js +2 -0
  90. package/dist/cdn/M6KSWL4Z.js +2 -0
  91. package/dist/cdn/MJB7R5GQ.js +2 -0
  92. package/dist/cdn/MJQQAIHL.js +2 -0
  93. package/dist/cdn/{HI5EKYQN.js → MOKVR42W.js} +1 -1
  94. package/dist/cdn/MSW5F7EK.js +2 -0
  95. package/dist/cdn/MTCCNI5K.js +2 -0
  96. package/dist/cdn/{PXQQCIJ7.js → N3ZBO7ID.js} +1 -1
  97. package/dist/cdn/{UHQEY6DV.js → NBWVAOQC.js} +1 -1
  98. package/dist/cdn/NJVWU7BY.js +2 -0
  99. package/dist/cdn/NMX5HV2Q.js +2 -0
  100. package/dist/cdn/NPCJUFMM.js +2 -0
  101. package/dist/cdn/NPZ4RBQN.js +2 -0
  102. package/dist/cdn/{UBH57JQW.js → NV6PJ5SV.js} +1 -1
  103. package/dist/cdn/{6KCIKPVG.js → O22MTMZA.js} +1 -1
  104. package/dist/cdn/OBTZFN2X.js +2 -0
  105. package/dist/cdn/{MQQVHOAA.js → OH4FTT72.js} +1 -1
  106. package/dist/cdn/OJZ4M3GG.js +2 -0
  107. package/dist/cdn/OOXKVN2X.js +2 -0
  108. package/dist/cdn/OTBZJFX2.js +2 -0
  109. package/dist/cdn/PBPDN3PE.js +2 -0
  110. package/dist/cdn/{5GOCBG5I.js → PJVOJMGT.js} +1 -1
  111. package/dist/cdn/PNZLYX3G.js +2 -0
  112. package/dist/cdn/PVV3MFQP.js +2 -0
  113. package/dist/cdn/{CPDRKFNF.js → PYKCOD27.js} +1 -1
  114. package/dist/cdn/PZL4DLCQ.js +2 -0
  115. package/dist/cdn/Q5YHMXUJ.js +2 -0
  116. package/dist/cdn/{GTGP7VOO.js → QABJPTQU.js} +1 -1
  117. package/dist/cdn/QCWY5N73.js +2 -0
  118. package/dist/cdn/QE32LPWF.js +2 -0
  119. package/dist/cdn/QHQH5PTR.js +2 -0
  120. package/dist/cdn/R4T7XG7V.js +20 -0
  121. package/dist/cdn/R73HR5QE.js +2 -0
  122. package/dist/cdn/RI3HBI3T.js +2 -0
  123. package/dist/cdn/{ALPKJ7TX.js → RIUBPUMD.js} +1 -1
  124. package/dist/cdn/RMUDLUVA.js +2 -0
  125. package/dist/cdn/RSRMZD4B.js +2 -0
  126. package/dist/cdn/RVS2N4SY.js +2 -0
  127. package/dist/cdn/S6DWZD7K.js +2 -0
  128. package/dist/cdn/SUJVRYGQ.js +2 -0
  129. package/dist/cdn/{TG6QYVB5.js → TTXTXN6Q.js} +1 -1
  130. package/dist/cdn/U75LEECI.js +2 -0
  131. package/dist/cdn/{5ORNBTVF.js → UMXV3POK.js} +1 -1
  132. package/dist/cdn/V55BNPIA.js +2 -0
  133. package/dist/cdn/VQYLTV7G.js +2 -0
  134. package/dist/cdn/VSITSV3K.js +2 -0
  135. package/dist/cdn/WAAXC3ZO.js +2 -0
  136. package/dist/cdn/{JLWRAUEC.js → WJ6NLHUK.js} +1 -1
  137. package/dist/cdn/WK6TX2CC.js +2 -0
  138. package/dist/cdn/{BJNJMAUA.js → WP7GA5R2.js} +1 -1
  139. package/dist/cdn/WT2YX74I.js +2 -0
  140. package/dist/cdn/{UZ6I3LG2.js → WUCXAHMP.js} +1 -1
  141. package/dist/cdn/WYHZBJSW.js +2 -0
  142. package/dist/cdn/XMEW42ZT.js +2 -0
  143. package/dist/cdn/{2EC36AEV.js → XSSANQHT.js} +1 -1
  144. package/dist/cdn/{7JJLNXV6.js → XZNL6EO5.js} +1 -1
  145. package/dist/cdn/{IAUJ5JCE.js → YJKBYNMB.js} +1 -1
  146. package/dist/cdn/{2KCR4KAT.js → YQG3K7RY.js} +1 -1
  147. package/dist/cdn/ZIBTU3RD.js +2 -0
  148. package/dist/cdn/assets/icon/deleteAndReplaceFeatures16.json +1 -0
  149. package/dist/cdn/assets/icon/deleteAndReplaceFeatures24.json +1 -0
  150. package/dist/cdn/assets/icon/deleteAndReplaceFeatures32.json +1 -0
  151. package/dist/cdn/assets/icon/moveAndRotate16.json +1 -0
  152. package/dist/cdn/assets/icon/moveAndRotate24.json +1 -0
  153. package/dist/cdn/assets/icon/moveAndRotate32.json +1 -0
  154. package/dist/cdn/index.js +1 -1
  155. package/dist/chunks/resources12.js +29 -16
  156. package/dist/chunks/resources13.js +27 -0
  157. package/dist/chunks/resources14.js +39 -0
  158. package/dist/chunks/resources8.js +4 -0
  159. package/dist/chunks/runtime.js +4 -4
  160. package/dist/components/calcite-accordion/customElement.d.ts +1 -1
  161. package/dist/components/calcite-accordion-item/customElement.d.ts +2 -2
  162. package/dist/components/calcite-action/customElement.d.ts +2 -2
  163. package/dist/components/calcite-action-bar/customElement.d.ts +1 -1
  164. package/dist/components/calcite-action-group/customElement.d.ts +2 -2
  165. package/dist/components/calcite-action-menu/customElement.d.ts +1 -1
  166. package/dist/components/calcite-action-pad/customElement.d.ts +1 -1
  167. package/dist/components/calcite-alert/customElement.d.ts +3 -3
  168. package/dist/components/calcite-autocomplete/customElement.d.ts +2 -2
  169. package/dist/components/calcite-autocomplete-item/customElement.d.ts +2 -2
  170. package/dist/components/calcite-avatar/customElement.d.ts +1 -1
  171. package/dist/components/calcite-block/customElement.d.ts +3 -3
  172. package/dist/components/calcite-block-group/customElement.d.ts +2 -2
  173. package/dist/components/calcite-block-section/customElement.d.ts +3 -3
  174. package/dist/components/calcite-button/customElement.d.ts +3 -3
  175. package/dist/components/calcite-card/customElement.d.ts +1 -1
  176. package/dist/components/calcite-card/customElement.js +0 -11
  177. package/dist/components/calcite-card-group/customElement.d.ts +1 -1
  178. package/dist/components/calcite-card-group/customElement.js +27 -18
  179. package/dist/components/calcite-carousel/customElement.d.ts +1 -1
  180. package/dist/components/calcite-checkbox/customElement.d.ts +1 -1
  181. package/dist/components/calcite-chip/customElement.d.ts +2 -2
  182. package/dist/components/calcite-chip/customElement.js +0 -8
  183. package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
  184. package/dist/components/calcite-chip-group/customElement.js +21 -18
  185. package/dist/components/calcite-color-picker/customElement.d.ts +3 -3
  186. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
  187. package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
  188. package/dist/components/calcite-combobox/customElement.d.ts +3 -3
  189. package/dist/components/calcite-combobox-item/customElement.d.ts +2 -2
  190. package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
  191. package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
  192. package/dist/components/calcite-date-picker-month/customElement.d.ts +1 -1
  193. package/dist/components/calcite-dialog/customElement.d.ts +5 -3
  194. package/dist/components/calcite-dialog/customElement.js +3 -2
  195. package/dist/components/calcite-dropdown/customElement.d.ts +1 -1
  196. package/dist/components/calcite-dropdown-group/customElement.d.ts +1 -1
  197. package/dist/components/calcite-dropdown-item/customElement.d.ts +2 -2
  198. package/dist/components/calcite-fab/customElement.d.ts +2 -2
  199. package/dist/components/calcite-filter/customElement.d.ts +1 -1
  200. package/dist/components/calcite-flow/customElement.d.ts +1 -1
  201. package/dist/components/calcite-flow/types/index.d.ts +1 -1
  202. package/dist/components/calcite-flow-item/customElement.d.ts +4 -2
  203. package/dist/components/calcite-flow-item/customElement.js +3 -2
  204. package/dist/components/calcite-graph/customElement.d.ts +1 -1
  205. package/dist/components/calcite-graph/customElement.js +1 -1
  206. package/dist/components/calcite-handle/customElement.d.ts +1 -1
  207. package/dist/components/calcite-icon/customElement.d.ts +2 -2
  208. package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
  209. package/dist/components/calcite-input/customElement.d.ts +3 -3
  210. package/dist/components/calcite-input/customElement.js +1 -1
  211. package/dist/components/calcite-input-date-picker/customElement.d.ts +2 -2
  212. package/dist/components/calcite-input-message/customElement.d.ts +2 -2
  213. package/dist/components/calcite-input-number/customElement.d.ts +3 -3
  214. package/dist/components/calcite-input-text/customElement.d.ts +2 -2
  215. package/dist/components/calcite-input-time-picker/customElement.d.ts +2 -2
  216. package/dist/components/calcite-input-time-zone/customElement.d.ts +3 -3
  217. package/dist/components/calcite-label/customElement.d.ts +1 -1
  218. package/dist/components/calcite-link/customElement.d.ts +2 -2
  219. package/dist/components/calcite-list/customElement.d.ts +3 -3
  220. package/dist/components/calcite-list-item/customElement.d.ts +2 -2
  221. package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
  222. package/dist/components/calcite-loader/customElement.d.ts +1 -1
  223. package/dist/components/calcite-menu/customElement.js +43 -25
  224. package/dist/components/calcite-menu-item/customElement.d.ts +2 -2
  225. package/dist/components/calcite-menu-item/customElement.js +5 -53
  226. package/dist/components/calcite-meter/customElement.d.ts +2 -2
  227. package/dist/components/calcite-navigation/customElement.d.ts +1 -1
  228. package/dist/components/calcite-navigation-logo/customElement.d.ts +1 -1
  229. package/dist/components/calcite-notice/customElement.d.ts +2 -2
  230. package/dist/components/calcite-pagination/customElement.d.ts +1 -1
  231. package/dist/components/calcite-panel/customElement.d.ts +4 -2
  232. package/dist/components/calcite-panel/customElement.js +25 -6
  233. package/dist/components/calcite-popover/customElement.d.ts +1 -1
  234. package/dist/components/calcite-radio-button/customElement.d.ts +1 -1
  235. package/dist/components/calcite-radio-button-group/customElement.d.ts +2 -2
  236. package/dist/components/calcite-rating/customElement.d.ts +2 -2
  237. package/dist/components/calcite-segmented-control/customElement.d.ts +2 -2
  238. package/dist/components/calcite-segmented-control-item/customElement.d.ts +1 -1
  239. package/dist/components/calcite-select/customElement.d.ts +2 -2
  240. package/dist/components/calcite-sheet/customElement.d.ts +10 -4
  241. package/dist/components/calcite-sheet/customElement.js +21 -6
  242. package/dist/components/calcite-shell-panel/customElement.d.ts +2 -2
  243. package/dist/components/calcite-slider/customElement.d.ts +4 -4
  244. package/dist/components/calcite-sort-handle/customElement.d.ts +2 -2
  245. package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
  246. package/dist/components/calcite-split-button/customElement.d.ts +3 -3
  247. package/dist/components/calcite-stepper/customElement.d.ts +2 -2
  248. package/dist/components/calcite-stepper/customElement.js +19 -11
  249. package/dist/components/calcite-stepper-item/customElement.js +5 -21
  250. package/dist/components/calcite-swatch/customElement.d.ts +1 -1
  251. package/dist/components/calcite-swatch/customElement.js +5 -44
  252. package/dist/components/calcite-swatch-group/customElement.d.ts +1 -1
  253. package/dist/components/calcite-swatch-group/customElement.js +30 -21
  254. package/dist/components/calcite-switch/customElement.d.ts +1 -1
  255. package/dist/components/calcite-tab-nav/customElement.d.ts +1 -1
  256. package/dist/components/calcite-tab-title/customElement.d.ts +3 -3
  257. package/dist/components/calcite-table/customElement.d.ts +2 -2
  258. package/dist/components/calcite-table-cell/customElement.d.ts +1 -1
  259. package/dist/components/calcite-table-header/customElement.d.ts +1 -1
  260. package/dist/components/calcite-table-row/customElement.d.ts +1 -1
  261. package/dist/components/calcite-tabs/customElement.d.ts +2 -2
  262. package/dist/components/calcite-text-area/customElement.d.ts +2 -2
  263. package/dist/components/calcite-tile/customElement.d.ts +2 -2
  264. package/dist/components/calcite-tile/customElement.js +4 -18
  265. package/dist/components/calcite-tile-group/customElement.d.ts +1 -1
  266. package/dist/components/calcite-tile-group/customElement.js +30 -22
  267. package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
  268. package/dist/components/calcite-tooltip/customElement.d.ts +1 -1
  269. package/dist/components/calcite-tree/customElement.d.ts +1 -1
  270. package/dist/components/calcite-tree-item/customElement.d.ts +2 -2
  271. package/dist/docs/api.json +1 -1
  272. package/dist/docs/docs.json +1 -1
  273. package/dist/docs/vscode.css-custom-data.json +1 -1
  274. package/dist/docs/vscode.html-custom-data.json +1 -1
  275. package/dist/docs/web-types.json +1 -1
  276. package/dist/loader.js +1 -1
  277. package/dist/types/lumina.d.ts +1 -1
  278. package/dist/types/preact.d.ts +1 -1
  279. package/dist/types/react.d.ts +1 -1
  280. package/dist/types/stencil.d.ts +3 -3
  281. package/package.json +9 -9
  282. package/dist/cdn/2DMDZWL3.js +0 -2
  283. package/dist/cdn/2EVBOEFM.js +0 -2
  284. package/dist/cdn/2UM567AB.js +0 -2
  285. package/dist/cdn/2ZC2YCXV.js +0 -2
  286. package/dist/cdn/3A6ATXLP.js +0 -2
  287. package/dist/cdn/3A6EH3OR.js +0 -2
  288. package/dist/cdn/3HIDDBIZ.js +0 -2
  289. package/dist/cdn/3M4BZWEJ.js +0 -2
  290. package/dist/cdn/3WINLYDH.js +0 -2
  291. package/dist/cdn/3WVJHPQ7.js +0 -2
  292. package/dist/cdn/43NMCEUZ.js +0 -2
  293. package/dist/cdn/43PDLLWN.js +0 -2
  294. package/dist/cdn/4FNFUCSR.js +0 -2
  295. package/dist/cdn/4OTPLWNJ.js +0 -2
  296. package/dist/cdn/6TSK2MV3.js +0 -2
  297. package/dist/cdn/6XX2VM5Q.js +0 -2
  298. package/dist/cdn/772ACZGK.js +0 -2
  299. package/dist/cdn/7JSQJBNV.js +0 -2
  300. package/dist/cdn/AVA3DXJL.js +0 -2
  301. package/dist/cdn/B7DAQWVX.js +0 -2
  302. package/dist/cdn/BFCIBFWO.js +0 -2
  303. package/dist/cdn/BLWTCPBG.js +0 -2
  304. package/dist/cdn/BTSEO67A.js +0 -2
  305. package/dist/cdn/BZS35SJW.js +0 -2
  306. package/dist/cdn/C3774JMW.js +0 -2
  307. package/dist/cdn/C7LDO5UG.js +0 -2
  308. package/dist/cdn/CJ5PSD74.js +0 -2
  309. package/dist/cdn/CJWQMATP.js +0 -2
  310. package/dist/cdn/CNEOQSIZ.js +0 -2
  311. package/dist/cdn/CUINECEZ.js +0 -2
  312. package/dist/cdn/DOUX4HI4.js +0 -2
  313. package/dist/cdn/DOX7GIEG.js +0 -2
  314. package/dist/cdn/DVBW6ILF.js +0 -2
  315. package/dist/cdn/DYR4BHFQ.js +0 -2
  316. package/dist/cdn/E7ABKA4Y.js +0 -2
  317. package/dist/cdn/EPXQKIGK.js +0 -2
  318. package/dist/cdn/F6L574M5.js +0 -2
  319. package/dist/cdn/FPXHVBJU.js +0 -2
  320. package/dist/cdn/GGWYZTR3.js +0 -2
  321. package/dist/cdn/GVE5Q44M.js +0 -2
  322. package/dist/cdn/GXFKG3J2.js +0 -2
  323. package/dist/cdn/HBG35UAO.js +0 -2
  324. package/dist/cdn/HKCTKTPH.js +0 -2
  325. package/dist/cdn/IH4AFX47.js +0 -2
  326. package/dist/cdn/IK47NU6V.js +0 -2
  327. package/dist/cdn/JZRJ73IL.js +0 -2
  328. package/dist/cdn/KXQZZFCG.js +0 -2
  329. package/dist/cdn/L67GFQWH.js +0 -2
  330. package/dist/cdn/L6WT4QY7.js +0 -2
  331. package/dist/cdn/LKG6I456.js +0 -2
  332. package/dist/cdn/M55A64EI.js +0 -2
  333. package/dist/cdn/MBM7UIXE.js +0 -2
  334. package/dist/cdn/MIRC4NWN.js +0 -2
  335. package/dist/cdn/MKY3FIQZ.js +0 -2
  336. package/dist/cdn/MU2C75OO.js +0 -2
  337. package/dist/cdn/N3FH3JQP.js +0 -2
  338. package/dist/cdn/N3FVILQ3.js +0 -2
  339. package/dist/cdn/N6O54ZYE.js +0 -2
  340. package/dist/cdn/NN32CHJT.js +0 -2
  341. package/dist/cdn/NTIAAIWN.js +0 -2
  342. package/dist/cdn/NVIM4UBF.js +0 -2
  343. package/dist/cdn/O7ZKSCLE.js +0 -2
  344. package/dist/cdn/ORCBRUMC.js +0 -20
  345. package/dist/cdn/OY2U5XE7.js +0 -2
  346. package/dist/cdn/PSBUBWP7.js +0 -2
  347. package/dist/cdn/QAFYYBSV.js +0 -2
  348. package/dist/cdn/QASCAVW2.js +0 -2
  349. package/dist/cdn/QM2QF3WW.js +0 -2
  350. package/dist/cdn/QY25HYGM.js +0 -2
  351. package/dist/cdn/RBL22UBR.js +0 -2
  352. package/dist/cdn/RVTXEL2D.js +0 -2
  353. package/dist/cdn/S4PKT4JF.js +0 -2
  354. package/dist/cdn/S6Q7UTXC.js +0 -2
  355. package/dist/cdn/T2FKXZHF.js +0 -2
  356. package/dist/cdn/TFKKLWXW.js +0 -2
  357. package/dist/cdn/TLCOKJUW.js +0 -2
  358. package/dist/cdn/U3SAITDE.js +0 -2
  359. package/dist/cdn/UB7SBFVN.js +0 -2
  360. package/dist/cdn/UH4BKKNZ.js +0 -2
  361. package/dist/cdn/UZNN2TVD.js +0 -2
  362. package/dist/cdn/V457M6TG.js +0 -2
  363. package/dist/cdn/V7ZKXCD3.js +0 -2
  364. package/dist/cdn/VGG3BXDF.js +0 -2
  365. package/dist/cdn/VGNYRAIJ.js +0 -2
  366. package/dist/cdn/VRJ5C5DW.js +0 -2
  367. package/dist/cdn/WKFGHGFE.js +0 -2
  368. package/dist/cdn/XAX5FRW2.js +0 -2
  369. package/dist/cdn/XJRM7BP7.js +0 -2
  370. package/dist/cdn/XPKNIHVE.js +0 -2
  371. package/dist/cdn/YLGMHJG2.js +0 -2
  372. package/dist/cdn/YRFWQNQZ.js +0 -2
  373. package/dist/cdn/YYX7DAUH.js +0 -2
  374. package/dist/cdn/ZGN3OPON.js +0 -2
  375. package/dist/cdn/ZKVMLQKB.js +0 -2
  376. package/dist/cdn/ZOPDXPDR.js +0 -2
  377. package/dist/cdn/ZYM3J2WI.js +0 -2
  378. /package/dist/cdn/{2OKTIK5P.js → 7L4EZFYG.js} +0 -0
  379. /package/dist/components/calcite-action-group/{interfaces.d.ts → types.d.ts} +0 -0
  380. /package/dist/components/calcite-alert/{interfaces.d.ts → types.d.ts} +0 -0
  381. /package/dist/components/calcite-block/{interface.d.ts → types.d.ts} +0 -0
  382. /package/dist/components/calcite-block-group/{interfaces.d.ts → types.d.ts} +0 -0
  383. /package/dist/components/calcite-block-section/{interfaces.d.ts → types.d.ts} +0 -0
  384. /package/dist/components/calcite-button/{interfaces.d.ts → types.d.ts} +0 -0
  385. /package/dist/components/calcite-carousel/{interfaces.d.ts → types.d.ts} +0 -0
  386. /package/dist/components/calcite-color-picker/{interfaces.d.ts → types.d.ts} +0 -0
  387. /package/dist/components/calcite-combobox/{interfaces.d.ts → types.d.ts} +0 -0
  388. /package/dist/components/calcite-dialog/{interfaces.d.ts → types.d.ts} +0 -0
  389. /package/dist/components/calcite-flow/{interfaces.d.ts → types.d.ts} +0 -0
  390. /package/dist/components/calcite-graph/{interfaces.d.ts → types.d.ts} +0 -0
  391. /package/dist/components/calcite-handle/{interfaces.d.ts → types.d.ts} +0 -0
  392. /package/dist/components/calcite-icon/{interfaces.d.ts → types.d.ts} +0 -0
  393. /package/dist/components/calcite-input/{interfaces.d.ts → types.d.ts} +0 -0
  394. /package/dist/components/calcite-input-time-zone/{interfaces.d.ts → types.d.ts} +0 -0
  395. /package/dist/components/calcite-list/{interfaces.d.ts → types.d.ts} +0 -0
  396. /package/dist/components/calcite-list-item/{interfaces.d.ts → types.d.ts} +0 -0
  397. /package/dist/components/calcite-meter/{interfaces.d.ts → types.d.ts} +0 -0
  398. /package/dist/components/calcite-sheet/{interfaces.d.ts → types.d.ts} +0 -0
  399. /package/dist/components/calcite-shell-panel/{interfaces.d.ts → types.d.ts} +0 -0
  400. /package/dist/components/calcite-sort-handle/{interfaces.d.ts → types.d.ts} +0 -0
  401. /package/dist/components/calcite-stepper/{interfaces.d.ts → types.d.ts} +0 -0
  402. /package/dist/components/calcite-table/{interfaces.d.ts → types.d.ts} +0 -0
  403. /package/dist/components/calcite-tabs/{interfaces.d.ts → types.d.ts} +0 -0
  404. /package/dist/components/{interfaces.d.ts → types.d.ts} +0 -0
@@ -16,7 +16,7 @@ import { s as styles$1 } from "../../chunks/header.js";
16
16
  import { u as useInteractive } from "../../chunks/useInteractive.js";
17
17
  import { u as useFocusTrap } from "../../chunks/useFocusTrap.js";
18
18
  import { C as CSS, S as SLOTS, I as ICONS, a as IDS } from "../../chunks/resources8.js";
19
- const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;border-radius:var(--calcite-panel-corner-radius, var(--calcite-corner-radius-sharp))}slot[name=alerts]::slotted(calcite-alert){block-size:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-panel-default-space: var(--calcite-spacing-sm);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-sm-plus)}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1)}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2)}:host([scale=s]) .header-content .icon{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-panel-default-space: var(--calcite-spacing-md);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-md-plus)}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0)}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1)}:host([scale=m]) .header-content .icon{margin-inline-end:var(--calcite-spacing-md)}:host(:is([scale=s],[scale=m])){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xs);--calcite-internal-panel-default-space: var(--calcite-spacing-lg);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-xl)}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1)}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0)}:host([scale=l]) .header-content .icon{margin-inline-end:var(--calcite-spacing-lg)}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));background-color:var(--calcite-panel-background-color, var(--calcite-color-foreground-1))}.content-top{padding:var(--calcite-panel-content-top-space, var(--calcite-internal-panel-default-space))}.content-bottom{padding:var(--calcite-panel-content-bottom-space, var(--calcite-internal-panel-default-space))}.container{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;overflow:hidden;background-color:var(--calcite-color-background);padding:0;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-color-text-2);transition:max-block-size var(--calcite-animation-timing),inline-size var(--calcite-animation-timing);box-sizing:border-box;font-size:var(--calcite-font-size--1)}.container *{box-sizing:border-box}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-panel-header-background-color, var(--calcite-color-foreground-1));border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-panel-header-border-block-end, var(--calcite-color-border-3)))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3))}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:.75rem;padding-block:.875rem;margin-inline-end:auto;justify-content:center}.header-content .heading-text-content{flex:1 1 auto;overflow:hidden}.header-content .heading,.header-content .description{display:block;flex:none;overflow-wrap:break-word;padding:0;line-height:var(--calcite-font-line-height-relative-snug)}.header-content .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{color:var(--calcite-panel-description-text-color, var(--calcite-color-text-2))}#close,#collapse,calcite-action-menu{--calcite-action-background-color: var(--calcite-panel-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-panel-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-panel-header-action-background-color-press);--calcite-action-text-color: var(--calcite-panel-header-action-text-color);--calcite-action-text-color-press: var(--calcite-panel-header-action-text-color-press)}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;margin:auto;gap:var(--calcite-internal-panel-action-spacing)}.header-actions--start{margin-inline-start:var(--calcite-internal-panel-action-spacing)}.header-actions--end{margin-inline-end:var(--calcite-internal-panel-action-spacing)}.content-wrapper{position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;color:var(--calcite-color-text-2);outline-color:transparent;padding:var(--calcite-panel-space, var(--calcite-panel-content-space, 0));background:var(--calcite-panel-background-color, var(--calcite-color-background))}.content-wrapper:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.header-content{flex:1 1 auto;justify-content:center;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-space)}.header-content.header--slotted-content{padding:var(--calcite-panel-header-content-space, var(--calcite-internal-panel-header-vertical-padding) var(--calcite-internal-panel-default-space))}.header-content.header--non-slotted-content{align-items:center;flex-direction:row}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;align-items:center;justify-content:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-footer-space, var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-space)));background-color:var(--calcite-panel-footer-background-color, var(--calcite-color-foreground-1))}.footer-content{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:center}.footer-start{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-start;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-space)}.footer-end{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-end;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-space)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:.5rem;inset-inline:0;inline-size:fit-content}calcite-icon{--calcite-icon-color: var(--calcite-panel-icon-color, var(--calcite-ui-icon-color, var(--calcite-color-text-1)))}:host([hidden]){display:none}[hidden]{display:none}`;
19
+ const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;border-radius:var(--calcite-panel-corner-radius, var(--calcite-corner-radius-sharp))}slot[name=alerts]::slotted(calcite-alert){block-size:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-panel-default-space: var(--calcite-spacing-sm);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-sm-plus)}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1)}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2)}:host([scale=s]) .header-content .icon{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-panel-default-space: var(--calcite-spacing-md);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-md-plus)}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0)}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1)}:host([scale=m]) .header-content .icon{margin-inline-end:var(--calcite-spacing-md)}:host(:is([scale=s],[scale=m])){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xs);--calcite-internal-panel-default-space: var(--calcite-spacing-lg);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-xl)}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1)}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0)}:host([scale=l]) .header-content .icon{margin-inline-end:var(--calcite-spacing-lg)}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));background-color:var(--calcite-panel-background-color, var(--calcite-color-foreground-1))}.content-top{padding:var(--calcite-panel-content-top-space, var(--calcite-internal-panel-default-space))}.content-bottom{padding:var(--calcite-panel-content-bottom-space, var(--calcite-internal-panel-default-space))}.container{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;overflow:hidden;background-color:var(--calcite-color-background);padding:0;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-color-text-2);transition:max-block-size var(--calcite-animation-timing),inline-size var(--calcite-animation-timing);box-sizing:border-box;font-size:var(--calcite-font-size--1)}.container *{box-sizing:border-box}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-panel-header-background-color, var(--calcite-color-foreground-1));border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-panel-header-border-block-end, var(--calcite-color-border-3)))}.header--no-row{border-block-end:0}.content-top--no-border{border-block-start:0}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3))}.header-top{inline-size:100%;border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-header-top-space, var(--calcite-internal-panel-default-space))}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:.75rem;padding-block:.875rem;margin-inline-end:auto;justify-content:center}.header-content .heading-text-content{flex:1 1 auto;overflow:hidden}.header-content .heading,.header-content .description{display:block;flex:none;overflow-wrap:break-word;padding:0;line-height:var(--calcite-font-line-height-relative-snug)}.header-content .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{color:var(--calcite-panel-description-text-color, var(--calcite-color-text-2))}#close,#collapse,calcite-action-menu{--calcite-action-background-color: var(--calcite-panel-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-panel-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-panel-header-action-background-color-press);--calcite-action-text-color: var(--calcite-panel-header-action-text-color);--calcite-action-text-color-press: var(--calcite-panel-header-action-text-color-press)}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;margin:auto;gap:var(--calcite-internal-panel-action-spacing)}.header-actions--start{margin-inline-start:var(--calcite-internal-panel-action-spacing)}.header-actions--end{margin-inline-end:var(--calcite-internal-panel-action-spacing)}.content-wrapper{position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;color:var(--calcite-color-text-2);outline-color:transparent;padding:var(--calcite-panel-space, var(--calcite-panel-content-space, 0));background:var(--calcite-panel-background-color, var(--calcite-color-background))}.content-wrapper:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.header-content{flex:1 1 auto;justify-content:center;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-space)}.header-content.header--slotted-content{padding:var(--calcite-panel-header-content-space, var(--calcite-internal-panel-header-vertical-padding) var(--calcite-internal-panel-default-space))}.header-content.header--non-slotted-content{align-items:center;flex-direction:row}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;align-items:center;justify-content:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-footer-space, var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-space)));background-color:var(--calcite-panel-footer-background-color, var(--calcite-color-foreground-1))}.footer-content{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:center}.footer-start{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-start;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-space)}.footer-end{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-end;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-space)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:.5rem;inset-inline:0;inline-size:fit-content}calcite-icon{--calcite-icon-color: var(--calcite-panel-icon-color, var(--calcite-ui-icon-color, var(--calcite-color-text-1)))}:host([hidden]){display:none}[hidden]{display:none}`;
20
20
  class Panel extends LitElement {
21
21
  constructor() {
22
22
  super();
@@ -49,6 +49,7 @@ class Panel extends LitElement {
49
49
  this.hasHeaderContent = false;
50
50
  this.hasHeaderDescription = false;
51
51
  this.hasHeaderHeading = false;
52
+ this.hasHeaderTop = false;
52
53
  this.hasMenuItems = false;
53
54
  this.hasStartActions = false;
54
55
  this.showHeaderContent = false;
@@ -74,7 +75,7 @@ class Panel extends LitElement {
74
75
  this.listen("calcitePanelClose", this.panelCloseHandler);
75
76
  }
76
77
  static {
77
- this.properties = { hasActionBar: [16, {}, { state: true }], hasContentBottom: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], hasEndActions: [16, {}, { state: true }], hasFab: [16, {}, { state: true }], hasFooterContent: [16, {}, { state: true }], hasFooterEndContent: [16, {}, { state: true }], hasFooterStartContent: [16, {}, { state: true }], hasHeaderContent: [16, {}, { state: true }], hasHeaderDescription: [16, {}, { state: true }], hasHeaderHeading: [16, {}, { state: true }], hasMenuItems: [16, {}, { state: true }], hasStartActions: [16, {}, { state: true }], showHeaderContent: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], collapseDirection: 1, collapsed: [7, {}, { reflect: true, type: Boolean }], collapsible: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], icon: [3, {}, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], focusTrapEnabled: [7, {}, { reflect: true, type: Boolean }], focusTrapOptions: [0, {}, { attribute: false }], menuFlipPlacements: [0, {}, { attribute: false }], menuOpen: [7, {}, { reflect: true, type: Boolean }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
78
+ this.properties = { hasActionBar: [16, {}, { state: true }], hasContentBottom: [16, {}, { state: true }], hasContentTop: [16, {}, { state: true }], hasEndActions: [16, {}, { state: true }], hasFab: [16, {}, { state: true }], hasFooterContent: [16, {}, { state: true }], hasFooterEndContent: [16, {}, { state: true }], hasFooterStartContent: [16, {}, { state: true }], hasHeaderContent: [16, {}, { state: true }], hasHeaderDescription: [16, {}, { state: true }], hasHeaderHeading: [16, {}, { state: true }], hasHeaderTop: [16, {}, { state: true }], hasMenuItems: [16, {}, { state: true }], hasStartActions: [16, {}, { state: true }], showHeaderContent: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], closable: [7, {}, { reflect: true, type: Boolean }], closed: [7, {}, { reflect: true, type: Boolean }], collapseDirection: 1, collapsed: [7, {}, { reflect: true, type: Boolean }], collapsible: [7, {}, { reflect: true, type: Boolean }], description: 1, disabled: [7, {}, { reflect: true, type: Boolean }], heading: 1, headingLevel: [11, {}, { type: Number, reflect: true }], icon: [3, {}, { reflect: true }], iconFlipRtl: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], focusTrapEnabled: [7, {}, { reflect: true, type: Boolean }], focusTrapOptions: [0, {}, { attribute: false }], menuFlipPlacements: [0, {}, { attribute: false }], menuOpen: [7, {}, { reflect: true, type: Boolean }], menuPlacement: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }] };
78
79
  }
79
80
  static {
80
81
  this.styles = [styles$1, styles];
@@ -188,6 +189,9 @@ class Panel extends LitElement {
188
189
  handleHeaderContentSlotChange(event) {
189
190
  this.hasHeaderContent = slotChangeHasAssignedElement(event);
190
191
  }
192
+ handleHeaderTopSlotChange(event) {
193
+ this.hasHeaderTop = slotChangeHasAssignedElement(event);
194
+ }
191
195
  handleHeaderDescriptionSlotChange(event) {
192
196
  this.hasHeaderDescription = slotChangeHasTextContent(event) || slotChangeGetAssignedElements(event).some(hasVisibleContent);
193
197
  }
@@ -223,6 +227,9 @@ class Panel extends LitElement {
223
227
  }
224
228
  });
225
229
  }
230
+ get hasHeaderRow() {
231
+ return this.hasHeaderContent || !!this.heading || !!this.description || this.hasHeaderHeading || this.hasHeaderDescription || this.hasStartActions || this.hasEndActions || this.collapsible || this.closable || this.hasMenuItems;
232
+ }
226
233
  renderHeaderContent() {
227
234
  const { heading, headingLevel, description, hasHeaderContent, hasHeaderDescription, hasHeaderHeading, icon, scale } = this;
228
235
  const showHeaderHeading = !!heading || hasHeaderHeading;
@@ -239,6 +246,9 @@ class Panel extends LitElement {
239
246
  renderHeaderSlottedContent() {
240
247
  return keyed("slotted-header-content", html`<div class=${safeClassMap({ [CSS.headerContent]: true, [CSS.headerSlottedContent]: true })} .hidden=${!this.hasHeaderContent}><slot name=${SLOTS.headerContent} @slotchange=${this.handleHeaderContentSlotChange}></slot></div>`);
241
248
  }
249
+ renderHeaderTop() {
250
+ return html`<div class=${safeClassMap(CSS.headerTop)} .hidden=${!this.hasHeaderTop}><slot name=${SLOTS.headerTop} @slotchange=${this.handleHeaderTopSlotChange}></slot></div>`;
251
+ }
242
252
  renderHeaderStartActions() {
243
253
  const { hasStartActions } = this;
244
254
  return keyed("header-actions-start", html`<div class=${safeClassMap({ [CSS.headerActionsStart]: true, [CSS.headerActions]: true })} .hidden=${!hasStartActions}><slot name=${SLOTS.headerActionsStart} @slotchange=${this.handleHeaderActionsStartSlotChange}></slot></div>`);
@@ -261,12 +271,18 @@ class Panel extends LitElement {
261
271
  return keyed("menu", html`<calcite-action-menu .flipPlacements=${menuFlipPlacements ?? ["top", "bottom"]} .hidden=${!hasMenuItems} .label=${messages.options} .open=${menuOpen} .overlayPositioning=${this.overlayPositioning} .placement=${menuPlacement} .scale=${scale} .topLayerDisabled=${this.topLayerDisabled}><calcite-action class=${safeClassMap(CSS.menuAction)} .icon=${ICONS.menu} .scale=${scale} slot=${SLOTS$1.trigger} .text=${messages.options}></calcite-action><slot name=${SLOTS.headerMenuActions} @slotchange=${this.handleHeaderMenuActionsSlotChange}></slot></calcite-action-menu>`);
262
272
  }
263
273
  renderHeaderNode() {
264
- const { hasHeaderContent, hasHeaderDescription, hasHeaderHeading, hasStartActions, hasEndActions, closable, collapsible, hasMenuItems, hasActionBar, hasContentTop, heading, description } = this;
274
+ const { hasHeaderContent, hasHeaderDescription, hasHeaderHeading, hasHeaderTop, hasStartActions, hasEndActions, closable, collapsible, hasMenuItems, hasActionBar, hasContentTop, heading, description } = this;
265
275
  const headerContentNode = this.renderHeaderContent();
266
276
  const hasDefaultHeaderContent = !!heading || !!description || hasHeaderHeading || hasHeaderDescription;
267
- const showHeaderContent = hasHeaderContent || hasDefaultHeaderContent || hasStartActions || hasEndActions || collapsible || closable || hasMenuItems || hasActionBar || hasContentTop;
277
+ const showHeaderContent = hasHeaderContent || hasDefaultHeaderContent || hasHeaderTop || hasStartActions || hasEndActions || collapsible || closable || hasMenuItems || hasActionBar || hasContentTop;
268
278
  this.showHeaderContent = showHeaderContent;
269
- return html`<header class=${safeClassMap(CSS.header)} .hidden=${!(showHeaderContent || hasActionBar || hasContentTop)}><div class=${safeClassMap({ [CSS.headerContainer]: true, [CSS.headerContainerBorderEnd]: hasActionBar })} .hidden=${!showHeaderContent}>${this.renderHeaderStartActions()}${this.renderHeaderSlottedContent()}${headerContentNode}${this.renderHeaderActionsEnd()}</div>${this.renderActionBar()}${this.renderContentTop()}</header>`;
279
+ return html`<header class=${safeClassMap({
280
+ [CSS.header]: true,
281
+ [CSS.headerNoRow]: hasHeaderTop && !this.hasHeaderRow && !hasActionBar && !hasContentTop
282
+ })} .hidden=${!(showHeaderContent || hasActionBar || hasContentTop)}>${this.renderHeaderTop()}<div class=${safeClassMap({
283
+ [CSS.headerContainer]: true,
284
+ [CSS.headerContainerBorderEnd]: hasActionBar && this.hasHeaderRow
285
+ })} .hidden=${!showHeaderContent}>${this.renderHeaderStartActions()}${this.renderHeaderSlottedContent()}${headerContentNode}${this.renderHeaderActionsEnd()}</div>${this.renderActionBar()}${this.renderContentTop()}</header>`;
270
286
  }
271
287
  renderFooterNode() {
272
288
  const { hasFooterEndContent, hasFooterStartContent, hasFooterContent } = this;
@@ -280,7 +296,10 @@ class Panel extends LitElement {
280
296
  return html`<div class=${safeClassMap(CSS.contentBottom)} .hidden=${!this.hasContentBottom}><slot name=${SLOTS.contentBottom} @slotchange=${this.contentBottomSlotChangeHandler}></slot></div>`;
281
297
  }
282
298
  renderContentTop() {
283
- return html`<div class=${safeClassMap(CSS.contentTop)} .hidden=${!this.hasContentTop}><slot name=${SLOTS.contentTop} @slotchange=${this.contentTopSlotChangeHandler}></slot></div>`;
299
+ return html`<div class=${safeClassMap({
300
+ [CSS.contentTop]: true,
301
+ [CSS.contentTopNoBorder]: this.hasHeaderTop && !this.hasHeaderRow && !this.hasActionBar
302
+ })} .hidden=${!this.hasContentTop}><slot name=${SLOTS.contentTop} @slotchange=${this.contentTopSlotChangeHandler}></slot></div>`;
284
303
  }
285
304
  renderFab() {
286
305
  return html`<div class=${safeClassMap(CSS.fabContainer)} .hidden=${!this.hasFab}><slot name=${SLOTS.fab} @slotchange=${this.handleFabSlotChange}></slot></div>`;
@@ -2,7 +2,7 @@
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { FlipPlacement, LogicalPlacement, OverlayPositioning, ReferenceElement } from "../../utils/floating-ui.js";
4
4
  import type { HeadingLevel } from "../functional/Heading.js";
5
- import type { Scale } from "../interfaces.js";
5
+ import type { Scale } from "../types.js";
6
6
  import type { FocusTrapOptions } from "../../controllers/useFocusTrap.js";
7
7
 
8
8
  /**
@@ -1,6 +1,6 @@
1
1
  /// <reference path="../../index.d.ts" />
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
- import type { Scale, Status } from "../interfaces.js";
3
+ import type { Scale, Status } from "../types.js";
4
4
 
5
5
  /**
6
6
  * @cssproperty [--calcite-radio-button-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 { 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
  /**
@@ -38,7 +38,7 @@ export abstract class Sheet extends LitElement {
38
38
  */
39
39
  accessor escapeDisabled: boolean;
40
40
  /**
41
- * When `true`, prevents focus trapping.
41
+ * When `true` and `modalDisabled` is `true`, prevents focus trapping.
42
42
  *
43
43
  * @default false
44
44
  */
@@ -76,6 +76,12 @@ export abstract class Sheet extends LitElement {
76
76
  accessor messageOverrides: { resizeEnabled?: string | undefined; };
77
77
  /** @internal */
78
78
  protected messages: Partial<{ resizeEnabled: string; }> & T9nMeta<{ resizeEnabled: string; }>;
79
+ /**
80
+ * When `true`, disables the default modal behavior, allowing interaction with content outside the component.
81
+ *
82
+ * @default false
83
+ */
84
+ accessor modalDisabled: boolean;
79
85
  /**
80
86
  * When `true`, displays and positions the component.
81
87
  *
@@ -83,7 +89,7 @@ export abstract class Sheet extends LitElement {
83
89
  */
84
90
  accessor open: boolean;
85
91
  /**
86
- * When `true`, disables closing the component when the area outside of the component is clicked.
92
+ * When `true` and `modalDisabled` is `false`, disables the closing of the component when clicked outside.
87
93
  *
88
94
  * @default false
89
95
  */
@@ -33,7 +33,7 @@ const ICONS = {
33
33
  dragVertical: "drag-resize-vertical",
34
34
  dragHorizontal: "drag-resize-horizontal"
35
35
  };
36
- const styles = css`:host{position:absolute;inset:0;display:flex;visibility:hidden!important;--calcite-sheet-scrim-background-internal: rgba(0, 0, 0, .85);--calcite-scrim-shadow-block-start-internal: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-block-end-internal: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-start-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}:host([embedded]){z-index:var(--calcite-z-index-overlay)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.container{visibility:hidden;position:fixed;box-sizing:border-box;display:flex;opacity:0;color:var(--calcite-sheet-text-color, var(--calcite-color-text-2));transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) ease-in-out}:host([top-layer-disabled]) .container,:host([embedded]) .container{z-index:var(--calcite-z-index-overlay)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal: translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal: translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{box-shadow:var(--calcite-sheet-shadow, var(--calcite-shadow-sm))}:host([display-mode=overlay][position=inline-start]) .content{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .content{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .content{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .content{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([position^=inline]) .width-s{--calcite-sheet-width-internal: var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 260px)}:host([position^=inline]) .width-m{--calcite-sheet-width-internal: var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 300px)}:host([position^=inline]) .width-l{--calcite-sheet-width-internal: var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 340px)}:host([position^=block]) .height-s{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 30vh)}:host([position^=block]) .height-m{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 50vh)}:host([position^=block]) .height-l{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background: var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0;display:flex;overflow:hidden;z-index:calc(var(--calcite-z-index) * -1)}:host([top-layer-disabled]) .scrim{z-index:unset}[popover]{padding:0;margin:0;border:none;background-color:transparent;position:fixed;display:flex;inline-size:100%;block-size:100%}[popover]:popover-open{display:flex}:host([opened]){visibility:visible!important}.content{position:relative;box-sizing:border-box;display:flex;max-inline-size:100%;padding:0;background-color:var(--calcite-sheet-background-color, var(--calcite-color-foreground-1));max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) ease-in-out,visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) ease-in-out;transform:var(--calcite-sheet-hidden-position-internal)}:host([top-layer-disabled]),:host([top-layer-disabled]) .content,:host([embedded]) .content{z-index:var(--calcite-z-index-modal)}.content-container{position:relative;display:flex;max-block-size:100%;max-inline-size:100%;flex:1 1 0%;overflow:hidden}.content-container ::slotted(*){block-size:auto}.container--open .content{transform:translateZ(0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container,:host([display-mode=float]) .content-container{border-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([display-mode=float]) .container{padding:var(--calcite-spacing-md)}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) ease-in-out,visibility 0ms linear,opacity var(--calcite-internal-animation-timing-medium) ease-in-out,max-inline-size var(--calcite-internal-animation-timing-medium) ease-in-out,max-block-size var(--calcite-internal-animation-timing-medium) ease-in-out;transition-delay:0ms}@starting-style{.container--open{opacity:0;visibility:hidden}}:host([position=inline-start]) .content,:host([position=inline-end]) .content{block-size:100%}:host([position=inline-start]) .content{flex-direction:row}:host([position=inline-end]) .content{flex-direction:row-reverse}:host([position=block-start]) .content,:host([position=block-end]) .content{inline-size:100%}:host([position=block-start]) .content{flex-direction:column}:host([position=block-end]) .content{flex-direction:column-reverse}:host([resizable][position=inline-start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=inline-end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-sheet-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-sheet-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-sheet-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-sheet-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-sheet-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=inline-start]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-start]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=inline-start]):host([display-mode=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([position=inline-end]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-end]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=inline-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-start]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-start]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=block-start]):host([display-mode=float]) .resize-handle-bar{border-end-end-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-end]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-end]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=block-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([position]) .container--embedded{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}`;
36
+ const styles = css`:host{position:absolute;inset:0;display:flex;visibility:hidden!important;--calcite-sheet-scrim-background-internal: rgba(0, 0, 0, .85);--calcite-scrim-shadow-block-start-internal: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-block-end-internal: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-start-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}:host([embedded]){z-index:var(--calcite-z-index-overlay)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-scrim-shadow-inline-end-internal: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.container{visibility:hidden;position:fixed;box-sizing:border-box;display:flex;opacity:0;color:var(--calcite-sheet-text-color, var(--calcite-color-text-2));transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) ease-in-out}:host([top-layer-disabled]) .container,:host([embedded]) .container{z-index:var(--calcite-z-index-overlay)}:host([modal-disabled]),:host([modal-disabled]) .container{pointer-events:none}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal: translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal: translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal: translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{box-shadow:var(--calcite-sheet-shadow, var(--calcite-shadow-sm))}:host([display-mode=overlay][position=inline-start]) .content{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .content{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .content{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .content{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([position^=inline]) .width-s{--calcite-sheet-width-internal: var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 260px)}:host([position^=inline]) .width-m{--calcite-sheet-width-internal: var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 300px)}:host([position^=inline]) .width-l{--calcite-sheet-width-internal: var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal: var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal: var(--calcite-sheet-min-width, 340px)}:host([position^=block]) .height-s{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 30vh)}:host([position^=block]) .height-m{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 50vh)}:host([position^=block]) .height-l{--calcite-sheet-min-height-internal: var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal: var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal: var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background: var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0;display:flex;overflow:hidden;z-index:calc(var(--calcite-z-index) * -1)}:host([top-layer-disabled]) .scrim{z-index:unset}[popover]{padding:0;margin:0;border:none;background-color:transparent;position:fixed;display:flex;inline-size:100%;block-size:100%}[popover]:popover-open{display:flex}:host([opened]){visibility:visible!important}.content{position:relative;box-sizing:border-box;display:flex;max-inline-size:100%;padding:0;background-color:var(--calcite-sheet-background-color, var(--calcite-color-foreground-1));max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) ease-in-out,visibility 0ms linear var(--calcite-internal-animation-timing-medium),opacity var(--calcite-internal-animation-timing-medium) ease-in-out;transform:var(--calcite-sheet-hidden-position-internal)}:host([top-layer-disabled]),:host([top-layer-disabled]) .content,:host([embedded]) .content{z-index:var(--calcite-z-index-modal)}.content-container{position:relative;display:flex;max-block-size:100%;max-inline-size:100%;flex:1 1 0%;overflow:hidden}.content-container ::slotted(*){block-size:auto}.container--open .content{transform:translateZ(0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container,:host([display-mode=float]) .content-container{border-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([display-mode=float]) .container{padding:var(--calcite-spacing-md)}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) ease-in-out,visibility 0ms linear,opacity var(--calcite-internal-animation-timing-medium) ease-in-out,max-inline-size var(--calcite-internal-animation-timing-medium) ease-in-out,max-block-size var(--calcite-internal-animation-timing-medium) ease-in-out;transition-delay:0ms}@starting-style{.container--open{opacity:0;visibility:hidden}}:host([position=inline-start]) .content,:host([position=inline-end]) .content{block-size:100%}:host([position=inline-start]) .content{flex-direction:row}:host([position=inline-end]) .content{flex-direction:row-reverse}:host([position=block-start]) .content,:host([position=block-end]) .content{inline-size:100%}:host([position=block-start]) .content{flex-direction:column}:host([position=block-end]) .content{flex-direction:column-reverse}:host([resizable][position=inline-start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=inline-end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][position=block-end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-sheet-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-sheet-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-sheet-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-sheet-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-sheet-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=inline-start]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-start]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=inline-start]):host([display-mode=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([position=inline-end]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-sheet-resize-handle-offset);block-size:100%}:host([position=inline-end]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=inline-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-start]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-start]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=block-start]):host([display-mode=float]) .resize-handle-bar{border-end-end-radius:.25rem;border-end-start-radius:.25rem}:host([position=block-end]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-sheet-resize-handle-offset)}:host([position=block-end]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-sheet-border-color, var(--calcite-color-border-3))}:host([position=block-end]):host([display-mode=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-sheet-corner-radius, var(--calcite-corner-radius-round))}:host([position]) .container--embedded{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}`;
37
37
  class Sheet extends LitElement {
38
38
  constructor() {
39
39
  super();
@@ -43,7 +43,7 @@ class Sheet extends LitElement {
43
43
  triggerProp: "open",
44
44
  focusTrapOptions: {
45
45
  // scrim closes on click, so we let it take over
46
- clickOutsideDeactivates: () => this.embedded,
46
+ clickOutsideDeactivates: () => this.modalDisabled || this.embedded,
47
47
  escapeDeactivates: (event) => {
48
48
  if (!event.defaultPrevented && !this.escapeDisabled) {
49
49
  this.open = false;
@@ -56,6 +56,7 @@ class Sheet extends LitElement {
56
56
  this.usePreventDocumentScroll = usePreventDocumentScroll()(this);
57
57
  this.messages = useT9n();
58
58
  this.mutationObserver = createObserver("mutation", () => this.handleMutationObserver());
59
+ this._modalDisabled = false;
59
60
  this._open = false;
60
61
  this.openProp = "opened";
61
62
  this.transitionProp = "opacity";
@@ -108,13 +109,24 @@ class Sheet extends LitElement {
108
109
  this.listen("keydown", this.keyDownHandler);
109
110
  }
110
111
  static {
111
- this.properties = { resizeValues: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], displayMode: [3, {}, { reflect: true }], embedded: [7, {}, { reflect: true, type: Boolean }], escapeDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapOptions: [0, {}, { attribute: false }], heightScale: [3, {}, { reflect: true }], height: [3, {}, { reflect: true }], label: 1, messageOverrides: [0, {}, { attribute: false }], open: [7, {}, { reflect: true, type: Boolean }], opened: [7, {}, { reflect: true, type: Boolean }], outsideCloseDisabled: [7, {}, { reflect: true, type: Boolean }], position: [3, {}, { reflect: true }], resizable: [7, {}, { reflect: true, type: Boolean }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], widthScale: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }] };
112
+ this.properties = { resizeValues: [16, {}, { state: true }], beforeClose: [0, {}, { attribute: false }], displayMode: [3, {}, { reflect: true }], embedded: [7, {}, { reflect: true, type: Boolean }], escapeDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapDisabled: [7, {}, { reflect: true, type: Boolean }], focusTrapOptions: [0, {}, { attribute: false }], heightScale: [3, {}, { reflect: true }], height: [3, {}, { reflect: true }], label: 1, messageOverrides: [0, {}, { attribute: false }], modalDisabled: [7, {}, { reflect: true, type: Boolean }], open: [7, {}, { reflect: true, type: Boolean }], opened: [7, {}, { reflect: true, type: Boolean }], outsideCloseDisabled: [7, {}, { reflect: true, type: Boolean }], position: [3, {}, { reflect: true }], resizable: [7, {}, { reflect: true, type: Boolean }], topLayerDisabled: [7, {}, { reflect: true, type: Boolean }], widthScale: [3, {}, { reflect: true }], width: [3, {}, { reflect: true }] };
112
113
  }
113
114
  static {
114
115
  this.styles = styles;
115
116
  }
116
117
  get preventDocumentScroll() {
117
- return !this.embedded;
118
+ return !this.embedded && !this.modalDisabled;
119
+ }
120
+ get modalDisabled() {
121
+ return this._modalDisabled;
122
+ }
123
+ set modalDisabled(value) {
124
+ if (value === this._modalDisabled) {
125
+ return;
126
+ }
127
+ const oldPreventDocumentScroll = this.preventDocumentScroll;
128
+ this._modalDisabled = value;
129
+ this.requestUpdate("preventDocumentScroll", oldPreventDocumentScroll);
118
130
  }
119
131
  get open() {
120
132
  return this._open;
@@ -156,6 +168,9 @@ class Sheet extends LitElement {
156
168
  this.embedded = false;
157
169
  this.cleanUpInteractions();
158
170
  }
171
+ focusTrapDisabledOverride() {
172
+ return this.modalDisabled && this.focusTrapDisabled;
173
+ }
159
174
  async setOpenState(value) {
160
175
  if (this.beforeClose && !value) {
161
176
  try {
@@ -311,7 +326,7 @@ class Sheet extends LitElement {
311
326
  const isBlockPosition = position === "block-start" || position === "block-end";
312
327
  setAttribute(this.el, "aria-describedby", IDS.sheetContent);
313
328
  this.el.ariaLabel = this.label;
314
- this.el.ariaModal = "true";
329
+ this.el.ariaModal = this.modalDisabled ? "false" : "true";
315
330
  this.el.role = "dialog";
316
331
  return html`<div class=${safeClassMap({
317
332
  [CSS.container]: true,
@@ -320,7 +335,7 @@ class Sheet extends LitElement {
320
335
  [CSS_UTILITY.rtl]: dir === "rtl",
321
336
  [getDimensionClass("width", this.width, this.widthScale)]: !!(this.width || this.widthScale),
322
337
  [getDimensionClass("height", this.height, this.heightScale)]: !!(this.height || this.heightScale)
323
- })} .popover=${!this.embedded ? "manual" : void 0} ${ref(this.transitionRef)}><calcite-scrim class=${safeClassMap(CSS.scrim)} @click=${this.handleOutsideClose}></calcite-scrim><div class=${safeClassMap(CSS.content)} id=${IDS.sheetContent} ${ref(this.contentRef)}><div class=${safeClassMap(CSS.contentContainer)}><slot></slot></div>${resizable ? keyed("resize-handle", html`<div .ariaLabel=${this.messages.resizeEnabled} .ariaOrientation=${isBlockPosition ? "vertical" : "horizontal"} .ariaValueMax=${ariaValueFromSize(isBlockPosition ? "block" : "inline", resizeValues.maxBlockSize, resizeValues.maxInlineSize)} .ariaValueMin=${ariaValueFromSize(isBlockPosition ? "block" : "inline", resizeValues.minBlockSize, resizeValues.minInlineSize)} .ariaValueNow=${ariaValueFromSize(isBlockPosition ? "block" : "inline", resizeValues.blockSize, resizeValues.inlineSize)} class=${safeClassMap(CSS.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${ref(this.setResizeHandleEl)}><div class=${safeClassMap(CSS.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`) : null}</div></div>`;
338
+ })} .popover=${!this.embedded ? "manual" : void 0} ${ref(this.transitionRef)}>${this.modalDisabled ? null : html`<calcite-scrim class=${safeClassMap(CSS.scrim)} @click=${this.handleOutsideClose}></calcite-scrim>`}<div class=${safeClassMap(CSS.content)} id=${IDS.sheetContent} ${ref(this.contentRef)}><div class=${safeClassMap(CSS.contentContainer)}><slot></slot></div>${resizable ? keyed("resize-handle", html`<div .ariaLabel=${this.messages.resizeEnabled} .ariaOrientation=${isBlockPosition ? "vertical" : "horizontal"} .ariaValueMax=${ariaValueFromSize(isBlockPosition ? "block" : "inline", resizeValues.maxBlockSize, resizeValues.maxInlineSize)} .ariaValueMin=${ariaValueFromSize(isBlockPosition ? "block" : "inline", resizeValues.minBlockSize, resizeValues.minInlineSize)} .ariaValueNow=${ariaValueFromSize(isBlockPosition ? "block" : "inline", resizeValues.blockSize, resizeValues.inlineSize)} class=${safeClassMap(CSS.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${ref(this.setResizeHandleEl)}><div class=${safeClassMap(CSS.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`) : null}</div></div>`;
324
339
  }
325
340
  }
326
341
  customElement("calcite-sheet", Sheet);
@@ -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.