@esri/calcite-components 5.0.0-next.71 → 5.0.0-next.73

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 (345) hide show
  1. package/dist/cdn/{2ALCGFJK.js → 244N3PBI.js} +2 -2
  2. package/dist/cdn/{4IPLLH34.js → 25L4DJT3.js} +2 -2
  3. package/dist/cdn/{AZIUCX6O.js → 2YAG4QEZ.js} +1 -1
  4. package/dist/cdn/{H5A5XMZV.js → 2YIFHJHY.js} +2 -2
  5. package/dist/cdn/{Q4NBKJVQ.js → 32UUCGYB.js} +2 -2
  6. package/dist/cdn/{MAYO2T42.js → 35FOGTIY.js} +2 -2
  7. package/dist/cdn/{SRHKQRL3.js → 3GUVPQJR.js} +2 -2
  8. package/dist/cdn/{D23ZA25Z.js → 3WWFIUAH.js} +2 -2
  9. package/dist/cdn/{LEEDOHGX.js → 3YOKKJPY.js} +2 -2
  10. package/dist/cdn/{32I5N3CW.js → 47IA7U5X.js} +2 -2
  11. package/dist/cdn/{4CFPH72E.js → 4CN7H6RM.js} +2 -2
  12. package/dist/cdn/{OZ2UQW3D.js → 4F4H6EMI.js} +2 -2
  13. package/dist/cdn/{D3HSH46I.js → 4N2PB4I4.js} +2 -2
  14. package/dist/cdn/{NXRSJ3BQ.js → 4S74L7UT.js} +2 -2
  15. package/dist/cdn/{SW75V6MZ.js → 4WKWHRPZ.js} +2 -2
  16. package/dist/cdn/{23RLBNAO.js → 54OU63RL.js} +1 -1
  17. package/dist/cdn/{VYXWFV7L.js → 5Q57CQI3.js} +2 -2
  18. package/dist/cdn/{LVLW3VOA.js → 5TUOSEA2.js} +2 -2
  19. package/dist/cdn/{ESREXMJO.js → 62TOKSP7.js} +2 -2
  20. package/dist/cdn/{7CBVRQ4K.js → 63WE2NFB.js} +1 -1
  21. package/dist/cdn/{ZIXX7A4B.js → 67H54DL3.js} +1 -1
  22. package/dist/cdn/{VDKXUBRP.js → 6MA6WZ3C.js} +1 -1
  23. package/dist/cdn/{2JFSAKP4.js → 6Z76MN3O.js} +2 -2
  24. package/dist/cdn/{GXPTABJM.js → 72K54LJ3.js} +2 -2
  25. package/dist/cdn/{GLBFRSOI.js → 73HK4JTP.js} +2 -2
  26. package/dist/cdn/{JYOW2OIK.js → 7UBY56YB.js} +2 -2
  27. package/dist/cdn/{OVKXZS6L.js → 7YRLVLEU.js} +2 -2
  28. package/dist/cdn/{IJV5MCHY.js → AGSZXLFZ.js} +2 -2
  29. package/dist/cdn/{UFME2IQO.js → ATLOMO4U.js} +2 -2
  30. package/dist/cdn/{ONBI2SUW.js → AVYY537F.js} +2 -2
  31. package/dist/cdn/{VWFUMB6N.js → AYJMHRHA.js} +2 -2
  32. package/dist/cdn/{LEKNAAHZ.js → BCNA5QGW.js} +2 -2
  33. package/dist/cdn/{3B7LR3QJ.js → BCQ43LG2.js} +2 -2
  34. package/dist/cdn/{2U3VZ4E6.js → BNNVKIXE.js} +1 -1
  35. package/dist/cdn/{LOWR6NOF.js → BO3SFQAC.js} +2 -2
  36. package/dist/cdn/{5OAX2FSA.js → BRGAUXEE.js} +2 -2
  37. package/dist/cdn/{VZ2DALLN.js → BTHTTICE.js} +2 -2
  38. package/dist/cdn/{LRIJTLPF.js → BXRG3QG3.js} +2 -2
  39. package/dist/cdn/{SMQ3NGOK.js → C5GW3QGU.js} +2 -2
  40. package/dist/cdn/{G7SJZD32.js → C5MRBVVJ.js} +2 -2
  41. package/dist/cdn/{U5533WPP.js → CALTMDSP.js} +2 -2
  42. package/dist/cdn/{ZK4ZAAP2.js → CEJWPGKG.js} +2 -2
  43. package/dist/cdn/{YW4CHORC.js → CGIXKXVI.js} +2 -2
  44. package/dist/cdn/{XJ6ERID4.js → CP6TRAY3.js} +2 -2
  45. package/dist/cdn/{CSVJ2GWQ.js → CZGN7OOG.js} +2 -2
  46. package/dist/cdn/{627RSAJN.js → D5NGRS5T.js} +2 -2
  47. package/dist/cdn/{TUOTDLHB.js → DUXQNCWQ.js} +1 -1
  48. package/dist/cdn/{KTRLKMZM.js → DZOWQTOA.js} +1 -1
  49. package/dist/cdn/{6CZJKMGH.js → E4ESSYYH.js} +2 -2
  50. package/dist/cdn/{WZZTNRBJ.js → F3F7ILT4.js} +2 -2
  51. package/dist/cdn/{HB6AM344.js → FAQ7PNPN.js} +2 -2
  52. package/dist/cdn/{DAON3MZH.js → FITJOEW5.js} +2 -2
  53. package/dist/cdn/{FZQTIDAE.js → FTB7STHD.js} +2 -2
  54. package/dist/cdn/{MHSI3VXZ.js → FUKA2TDW.js} +2 -2
  55. package/dist/cdn/{6CVC4PQV.js → FYW3U7RY.js} +2 -2
  56. package/dist/cdn/{XVE4UUNA.js → G26E4Y5F.js} +2 -2
  57. package/dist/cdn/{PY3PJYM6.js → G3GJSEUW.js} +2 -2
  58. package/dist/cdn/{MU4CJQT3.js → G5DIWPQB.js} +1 -1
  59. package/dist/cdn/{LZY3OCRR.js → GE55TSZO.js} +2 -2
  60. package/dist/cdn/{TXZNS2UF.js → GG3RFBYR.js} +2 -2
  61. package/dist/cdn/{TMII7GKI.js → GKKMRD2R.js} +2 -2
  62. package/dist/cdn/{ZEDQXHW4.js → GLK7OIKI.js} +2 -2
  63. package/dist/cdn/{JG3BQFN2.js → GSW4MFZA.js} +2 -2
  64. package/dist/cdn/{2PR7CU3M.js → GULEBIC3.js} +2 -2
  65. package/dist/cdn/{LZMLEYDQ.js → GUODPHFC.js} +2 -2
  66. package/dist/cdn/{A6KOZQNM.js → GZ56Z6X5.js} +2 -2
  67. package/dist/cdn/{NESMTS7W.js → HEMAFFKJ.js} +2 -2
  68. package/dist/cdn/{RGREBHDJ.js → HI3342AL.js} +1 -1
  69. package/dist/cdn/{NXBNDGHC.js → HZ3OY527.js} +2 -2
  70. package/dist/cdn/{EDQHDRTP.js → I7X4UW64.js} +2 -2
  71. package/dist/cdn/{NWDLGSGH.js → IGN2CLPE.js} +2 -2
  72. package/dist/cdn/{ODOFAOHP.js → IONHIAOK.js} +1 -1
  73. package/dist/cdn/{IU5OUMAT.js → IVJAMT6Z.js} +2 -2
  74. package/dist/cdn/{VTOXGQJF.js → JUU2XNXW.js} +2 -2
  75. package/dist/cdn/{XW3S7F6P.js → K7JNISRP.js} +2 -2
  76. package/dist/cdn/{24RR4VEW.js → KCQCPFUL.js} +2 -2
  77. package/dist/cdn/{ICLD35JV.js → KGIEHKQM.js} +2 -2
  78. package/dist/cdn/{US6KAFAR.js → KP4IRRVS.js} +2 -2
  79. package/dist/cdn/{B2JZCASC.js → KVOJRATR.js} +1 -1
  80. package/dist/cdn/{3J5DCWGR.js → KWEJGNCA.js} +2 -2
  81. package/dist/cdn/{57HZN2CU.js → KWXD7AJG.js} +2 -2
  82. package/dist/cdn/{CTE6VIU6.js → L5T4SBUE.js} +2 -2
  83. package/dist/cdn/{6WUAINGP.js → LC6ANU6L.js} +2 -2
  84. package/dist/cdn/{MWLTOW5B.js → LCZIHGJW.js} +2 -2
  85. package/dist/cdn/{5PTGAWUM.js → LKM7KOBV.js} +1 -1
  86. package/dist/cdn/{HTFH424E.js → LLWIVY2P.js} +1 -1
  87. package/dist/cdn/{V56A3FOL.js → LOFLLUD5.js} +2 -2
  88. package/dist/cdn/{67ADXPBE.js → LQ4REGZY.js} +2 -2
  89. package/dist/cdn/{BCJNCUP3.js → LQTEOC43.js} +2 -2
  90. package/dist/cdn/{LYZNFF3Q.js → LTGRBE63.js} +2 -2
  91. package/dist/cdn/{6424VB4G.js → LXUTSB4Q.js} +2 -2
  92. package/dist/cdn/{WNY4ICAN.js → MB65J5HZ.js} +2 -2
  93. package/dist/cdn/{XKVLFF5U.js → MEDNJ37J.js} +2 -2
  94. package/dist/cdn/{2LWIO67A.js → MGB75KTC.js} +2 -2
  95. package/dist/cdn/{2GOTP54Y.js → MI73YDXI.js} +2 -2
  96. package/dist/cdn/{44A6G2RB.js → MR6K64GL.js} +1 -1
  97. package/dist/cdn/{XFNA7VCR.js → MW4DB6ZR.js} +2 -2
  98. package/dist/cdn/{YQRD6BNA.js → N4CST3ZJ.js} +2 -2
  99. package/dist/cdn/{46M26JHT.js → N4O6BCQN.js} +2 -2
  100. package/dist/cdn/{QGPMT7GE.js → NAQRKSUT.js} +2 -2
  101. package/dist/cdn/{UBXEGID4.js → NCBA3WEJ.js} +2 -2
  102. package/dist/cdn/{QINRMTAW.js → NGBJTO5U.js} +2 -2
  103. package/dist/cdn/{CC4UPXHO.js → NKRXC6HO.js} +1 -1
  104. package/dist/cdn/{6B3ERFL6.js → NNNQA5CE.js} +2 -2
  105. package/dist/cdn/{N5GSGR37.js → NXZRNXVO.js} +2 -2
  106. package/dist/cdn/{GUEK4SIE.js → NYT6HEMU.js} +1 -1
  107. package/dist/cdn/{B232R3EY.js → NZ47QELO.js} +2 -2
  108. package/dist/cdn/{C4HH6OO3.js → O3AECT7T.js} +2 -2
  109. package/dist/cdn/O3PUG7UN.js +4 -0
  110. package/dist/cdn/{5232XGGM.js → OAYEKVMX.js} +2 -2
  111. package/dist/cdn/{OPCWBW6I.js → ODIQ6T3A.js} +2 -2
  112. package/dist/cdn/{USAKTNNN.js → ODNDTR7J.js} +1 -1
  113. package/dist/cdn/{OMMYZUOP.js → OHO4ZJBF.js} +2 -2
  114. package/dist/cdn/{YXN4S32T.js → OJIDM65V.js} +2 -2
  115. package/dist/cdn/{TVH7R4KY.js → ONIGI3PC.js} +2 -2
  116. package/dist/cdn/{KIPPAIIL.js → OPZJVDXL.js} +2 -2
  117. package/dist/cdn/{UI3IKEFG.js → OQXRA4A6.js} +2 -2
  118. package/dist/cdn/{SK2N4UCW.js → ORD3PCIH.js} +2 -2
  119. package/dist/cdn/{EAOYHESQ.js → OTAJMSGN.js} +2 -2
  120. package/dist/cdn/{WF7JDITQ.js → OYICAOXN.js} +2 -2
  121. package/dist/cdn/{OIJKLC34.js → P5QORSCN.js} +2 -2
  122. package/dist/cdn/{WGO6PJVS.js → P6HCTFQW.js} +2 -2
  123. package/dist/cdn/{IJNL6O63.js → PFI4X5H3.js} +2 -2
  124. package/dist/cdn/{DYTO2PU5.js → PLHINUVF.js} +1 -1
  125. package/dist/cdn/{YAYILWB3.js → PPVZ46SY.js} +2 -2
  126. package/dist/cdn/{SD4TQPXA.js → PZARUO5I.js} +2 -2
  127. package/dist/cdn/{BCEXYEY4.js → QBLVZKXO.js} +2 -2
  128. package/dist/cdn/{LUYMG2MA.js → QYN4DVKB.js} +2 -2
  129. package/dist/cdn/{SGNYXFYD.js → QYUB4GS6.js} +2 -2
  130. package/dist/cdn/{ND2V6XCL.js → R3WR5YVD.js} +2 -2
  131. package/dist/cdn/{OCRRNNF4.js → RA23P7VX.js} +2 -2
  132. package/dist/cdn/{FNASCLPT.js → RQDMOJBD.js} +2 -2
  133. package/dist/cdn/{HU6IRB74.js → RVG7GGAT.js} +2 -2
  134. package/dist/cdn/{BF2E45YE.js → SGXRT32J.js} +2 -2
  135. package/dist/cdn/{EK6PST5F.js → SJZJHII4.js} +2 -2
  136. package/dist/cdn/{W6ZYA252.js → SO4N4LH5.js} +2 -2
  137. package/dist/cdn/{N2G6VYTF.js → SQSDWY2G.js} +2 -2
  138. package/dist/cdn/{LCQTD67U.js → STXK5HL7.js} +2 -2
  139. package/dist/cdn/{3MHX5A77.js → SYRUJUF5.js} +2 -2
  140. package/dist/cdn/{OD35FXMB.js → T4MJNTVW.js} +2 -2
  141. package/dist/cdn/{JBCYMVXA.js → TFXNZU62.js} +1 -1
  142. package/dist/cdn/{MFBENTVH.js → TNMDZQTU.js} +2 -2
  143. package/dist/cdn/{6GM7EI6B.js → TRMYYWAL.js} +1 -1
  144. package/dist/cdn/{V2KMWV34.js → U2FT6ETL.js} +2 -2
  145. package/dist/cdn/{YM7TVIJ4.js → U6DP5U33.js} +1 -1
  146. package/dist/cdn/{FUC2BWRO.js → U6VTRKGF.js} +2 -2
  147. package/dist/cdn/{M5ULW7UC.js → UBIPAQXU.js} +2 -2
  148. package/dist/cdn/{ZNZINNLN.js → UKPGCL4O.js} +2 -2
  149. package/dist/cdn/{JYISCCCU.js → UTC3ZWPM.js} +1 -1
  150. package/dist/cdn/{6CSIA6UV.js → UVG2Y6I3.js} +2 -2
  151. package/dist/cdn/{IOBPRVJU.js → UXPM4JEV.js} +2 -2
  152. package/dist/cdn/{AKZ5LKPE.js → UYNJ4AXL.js} +2 -2
  153. package/dist/cdn/{GVRXND2G.js → VCVSUC25.js} +2 -2
  154. package/dist/cdn/{G7FN5CC7.js → VDAHEY6D.js} +2 -2
  155. package/dist/cdn/{QOWB36TL.js → VVQEPIHY.js} +1 -1
  156. package/dist/cdn/{OCMYL7RV.js → VZ3NO6C5.js} +1 -1
  157. package/dist/cdn/{ZEKQVZQS.js → W2YNGVZA.js} +2 -2
  158. package/dist/cdn/{CQSAFN6H.js → WBZMX3LF.js} +2 -2
  159. package/dist/cdn/{PYGT4T67.js → WDPE2ZYY.js} +2 -2
  160. package/dist/cdn/{SELGT3Y5.js → WXIS6FMR.js} +2 -2
  161. package/dist/cdn/{N7P25ODP.js → WZM6JDEL.js} +2 -2
  162. package/dist/cdn/{RLKDDBHA.js → XCDZXWY5.js} +2 -2
  163. package/dist/cdn/{NYT3BQLQ.js → XI6BCQ6Y.js} +2 -2
  164. package/dist/cdn/{HPSXJ545.js → XIIJDTVR.js} +2 -2
  165. package/dist/cdn/XPX3JPRJ.js +4 -0
  166. package/dist/cdn/{ZAA25PA3.js → XX45SDX4.js} +2 -2
  167. package/dist/cdn/{3K5QATVW.js → Y5M5WVDC.js} +2 -2
  168. package/dist/cdn/{BVE2BJN6.js → YB6POHXI.js} +2 -2
  169. package/dist/cdn/{GACYXJD5.js → YHZQR6SB.js} +2 -2
  170. package/dist/cdn/{RTAKKQOI.js → YJ52HWWQ.js} +2 -2
  171. package/dist/cdn/{OI6FA57L.js → YP2WT2LS.js} +2 -2
  172. package/dist/cdn/{5QKBJLNI.js → ZQNOL767.js} +2 -2
  173. package/dist/cdn/{R55FUH7D.js → ZSLXO2SR.js} +2 -2
  174. package/dist/cdn/index.js +3 -3
  175. package/dist/cdn/main.css +1 -1
  176. package/dist/chunks/ExpandToggle.js +1 -1
  177. package/dist/chunks/FloatingArrow.js +1 -1
  178. package/dist/chunks/Heading.js +1 -1
  179. package/dist/chunks/InternalLabel.js +1 -1
  180. package/dist/chunks/Validation.js +1 -1
  181. package/dist/chunks/array.js +1 -1
  182. package/dist/chunks/component.js +1 -1
  183. package/dist/chunks/core.js +1 -1
  184. package/dist/chunks/date.js +1 -1
  185. package/dist/chunks/dom.js +1 -1
  186. package/dist/chunks/dynamicClasses.js +1 -1
  187. package/dist/chunks/filter.js +1 -1
  188. package/dist/chunks/floating-ui.js +1 -1
  189. package/dist/chunks/form.js +1 -1
  190. package/dist/chunks/global.js +1 -1
  191. package/dist/chunks/guid.js +1 -1
  192. package/dist/chunks/header.js +1 -1
  193. package/dist/chunks/input.js +1 -1
  194. package/dist/chunks/interact.min.js +1 -1
  195. package/dist/chunks/key.js +1 -1
  196. package/dist/chunks/label.js +1 -1
  197. package/dist/chunks/locale.js +1 -1
  198. package/dist/chunks/logger.js +1 -1
  199. package/dist/chunks/math.js +1 -1
  200. package/dist/chunks/observers.js +1 -1
  201. package/dist/chunks/openCloseComponent.js +1 -1
  202. package/dist/chunks/resources.js +1 -1
  203. package/dist/chunks/resources2.js +1 -1
  204. package/dist/chunks/resources3.js +1 -1
  205. package/dist/chunks/resources4.js +1 -1
  206. package/dist/chunks/resources5.js +1 -1
  207. package/dist/chunks/resources6.js +1 -1
  208. package/dist/chunks/resources7.js +1 -1
  209. package/dist/chunks/resources8.js +1 -1
  210. package/dist/chunks/responsive.js +1 -1
  211. package/dist/chunks/runtime.js +5 -5
  212. package/dist/chunks/sortable.js +1 -1
  213. package/dist/chunks/sortableComponent.js +1 -1
  214. package/dist/chunks/text.js +1 -1
  215. package/dist/chunks/useCancelable.js +1 -1
  216. package/dist/chunks/useFocusTrap.js +1 -1
  217. package/dist/chunks/useInteractive.js +1 -1
  218. package/dist/chunks/usePreventDocumentScroll.js +1 -1
  219. package/dist/chunks/useSetFocus.js +1 -1
  220. package/dist/chunks/useT9n.js +1 -1
  221. package/dist/chunks/useTime.js +1 -1
  222. package/dist/chunks/useTopLayer.js +1 -1
  223. package/dist/chunks/utils.js +1 -1
  224. package/dist/chunks/utils2.js +1 -1
  225. package/dist/chunks/utils3.js +1 -1
  226. package/dist/chunks/utils4.js +1 -1
  227. package/dist/components/calcite-accordion/customElement.js +1 -1
  228. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  229. package/dist/components/calcite-action/customElement.js +1 -1
  230. package/dist/components/calcite-action-bar/customElement.js +1 -1
  231. package/dist/components/calcite-action-group/customElement.js +1 -1
  232. package/dist/components/calcite-action-menu/customElement.js +2 -4
  233. package/dist/components/calcite-action-pad/customElement.js +1 -1
  234. package/dist/components/calcite-alert/customElement.js +1 -1
  235. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  236. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  237. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  238. package/dist/components/calcite-avatar/customElement.js +1 -1
  239. package/dist/components/calcite-block/customElement.js +1 -1
  240. package/dist/components/calcite-block-group/customElement.js +1 -1
  241. package/dist/components/calcite-block-section/customElement.js +1 -1
  242. package/dist/components/calcite-button/customElement.js +1 -1
  243. package/dist/components/calcite-card/customElement.js +1 -1
  244. package/dist/components/calcite-card-group/customElement.js +1 -1
  245. package/dist/components/calcite-carousel/customElement.js +1 -1
  246. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  247. package/dist/components/calcite-checkbox/customElement.js +1 -1
  248. package/dist/components/calcite-chip/customElement.js +1 -1
  249. package/dist/components/calcite-chip-group/customElement.js +1 -1
  250. package/dist/components/calcite-color-picker/customElement.js +1 -1
  251. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  252. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  253. package/dist/components/calcite-combobox/customElement.js +1 -1
  254. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  255. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  256. package/dist/components/calcite-date-picker/customElement.js +1 -1
  257. package/dist/components/calcite-date-picker/utils.d.ts +1 -1
  258. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  259. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  260. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  261. package/dist/components/calcite-dialog/customElement.js +1 -1
  262. package/dist/components/calcite-dropdown/customElement.js +1 -1
  263. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  264. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  265. package/dist/components/calcite-fab/customElement.js +1 -1
  266. package/dist/components/calcite-filter/customElement.js +1 -1
  267. package/dist/components/calcite-flow/customElement.js +1 -1
  268. package/dist/components/calcite-flow/types/index.d.ts +1 -0
  269. package/dist/components/calcite-flow-item/customElement.js +1 -1
  270. package/dist/components/calcite-graph/customElement.js +1 -1
  271. package/dist/components/calcite-handle/customElement.js +1 -1
  272. package/dist/components/calcite-icon/customElement.js +1 -1
  273. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  274. package/dist/components/calcite-input/customElement.js +1 -1
  275. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  276. package/dist/components/calcite-input-message/customElement.js +1 -1
  277. package/dist/components/calcite-input-number/customElement.js +1 -1
  278. package/dist/components/calcite-input-text/customElement.js +1 -1
  279. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  280. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  281. package/dist/components/calcite-label/customElement.js +1 -1
  282. package/dist/components/calcite-link/customElement.js +1 -1
  283. package/dist/components/calcite-list/customElement.js +1 -1
  284. package/dist/components/calcite-list-item/customElement.js +1 -1
  285. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  286. package/dist/components/calcite-loader/customElement.js +1 -1
  287. package/dist/components/calcite-menu/customElement.js +1 -1
  288. package/dist/components/calcite-menu-item/customElement.js +1 -1
  289. package/dist/components/calcite-meter/customElement.js +1 -1
  290. package/dist/components/calcite-navigation/customElement.js +1 -1
  291. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  292. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  293. package/dist/components/calcite-notice/customElement.js +1 -1
  294. package/dist/components/calcite-option/customElement.js +1 -1
  295. package/dist/components/calcite-option-group/customElement.js +1 -1
  296. package/dist/components/calcite-pagination/customElement.js +1 -1
  297. package/dist/components/calcite-panel/customElement.js +1 -1
  298. package/dist/components/calcite-popover/customElement.js +1 -1
  299. package/dist/components/calcite-progress/customElement.js +1 -1
  300. package/dist/components/calcite-radio-button/customElement.js +1 -1
  301. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  302. package/dist/components/calcite-rating/customElement.js +1 -1
  303. package/dist/components/calcite-scrim/customElement.js +1 -1
  304. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  305. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  306. package/dist/components/calcite-select/customElement.js +1 -1
  307. package/dist/components/calcite-sheet/customElement.js +1 -1
  308. package/dist/components/calcite-shell/customElement.js +1 -1
  309. package/dist/components/calcite-shell-panel/customElement.js +2 -2
  310. package/dist/components/calcite-slider/customElement.js +1 -1
  311. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  312. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  313. package/dist/components/calcite-split-button/customElement.js +1 -1
  314. package/dist/components/calcite-stack/customElement.js +1 -1
  315. package/dist/components/calcite-stepper/customElement.js +1 -1
  316. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  317. package/dist/components/calcite-swatch/customElement.js +1 -1
  318. package/dist/components/calcite-swatch-group/customElement.js +1 -1
  319. package/dist/components/calcite-switch/customElement.js +1 -1
  320. package/dist/components/calcite-tab/customElement.js +1 -1
  321. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  322. package/dist/components/calcite-tab-title/customElement.js +2 -2
  323. package/dist/components/calcite-table/customElement.js +1 -1
  324. package/dist/components/calcite-table-cell/customElement.js +1 -1
  325. package/dist/components/calcite-table-header/customElement.js +1 -1
  326. package/dist/components/calcite-table-row/customElement.js +1 -1
  327. package/dist/components/calcite-tabs/customElement.js +1 -1
  328. package/dist/components/calcite-text-area/customElement.js +1 -1
  329. package/dist/components/calcite-tile/customElement.js +1 -1
  330. package/dist/components/calcite-tile-group/customElement.js +1 -1
  331. package/dist/components/calcite-time-picker/customElement.js +1 -1
  332. package/dist/components/calcite-tooltip/customElement.js +1 -1
  333. package/dist/components/calcite-tree/customElement.js +1 -1
  334. package/dist/components/calcite-tree-item/customElement.js +1 -1
  335. package/dist/docs/api.json +23 -7
  336. package/dist/docs/docs.json +31 -11
  337. package/dist/docs/vscode.css-custom-data.json +20 -4
  338. package/dist/docs/vscode.html-custom-data.json +1 -1
  339. package/dist/docs/web-types.json +24 -8
  340. package/dist/index.js +1 -1
  341. package/dist/loader.js +1 -1
  342. package/dist/utils/config.d.ts +1 -1
  343. package/package.json +4 -4
  344. package/dist/cdn/FNZMTOXM.js +0 -4
  345. package/dist/cdn/IFS2FLMJ.js +0 -4
@@ -2502,6 +2502,10 @@
2502
2502
  "name": "--calcite-tab-text-color",
2503
2503
  "description": "Specifies the component's text color."
2504
2504
  },
2505
+ {
2506
+ "name": "--calcite-tab-text-color-press",
2507
+ "description": "Specifies the component's text color when hovered, pressed, or selected."
2508
+ },
2505
2509
  {
2506
2510
  "name": "--calcite-tab-border-color",
2507
2511
  "description": "Specifies the component's border color."
@@ -2518,13 +2522,21 @@
2518
2522
  "name": "--calcite-tab-accent-color-press",
2519
2523
  "description": "Specifies the component's accent color when selected or active."
2520
2524
  },
2525
+ {
2526
+ "name": "--calcite-tab-icon-color-start",
2527
+ "description": "Specifies the component's `iconStart` color."
2528
+ },
2529
+ {
2530
+ "name": "--calcite-tab-icon-color-start-press",
2531
+ "description": "Specifies the component's `iconStart` color when hovered, pressed, or selected."
2532
+ },
2521
2533
  {
2522
2534
  "name": "--calcite-tab-icon-color-end",
2523
- "description": "Specifies the component's `iconEnd` color. Fallback to `--calcite-icon-color`."
2535
+ "description": "Specifies the component's `iconEnd` color."
2524
2536
  },
2525
2537
  {
2526
- "name": "--calcite-tab-icon-color-start",
2527
- "description": "Specifies the component's `iconStart` color. Fallback to `--calcite-icon-color`."
2538
+ "name": "--calcite-tab-icon-color-end-press",
2539
+ "description": "Specifies the component's `iconEnd` color when hovered, pressed, or selected."
2528
2540
  },
2529
2541
  {
2530
2542
  "name": "--calcite-tab-close-icon-color",
@@ -2540,7 +2552,11 @@
2540
2552
  },
2541
2553
  {
2542
2554
  "name": "--calcite-tab-close-icon-background-color-press",
2543
- "description": "Specifies the component's close element icon background color when hovered, focused, and active."
2555
+ "description": "Specifies the component's close element icon background color when pressed."
2556
+ },
2557
+ {
2558
+ "name": "--calcite-tab-close-icon-background-color-hover",
2559
+ "description": "Specifies the component's close element icon background color when hovered."
2544
2560
  },
2545
2561
  {
2546
2562
  "name": "--calcite-table-border-color",
@@ -8173,7 +8173,7 @@
8173
8173
  },
8174
8174
  {
8175
8175
  "name": "calcite-tab-title",
8176
- "description": "Tab-titles are optionally individually closable.\n--\n\n### Events\n- **calciteTabsActivate** - Fires when a `calcite-tab` is selected.\n- **calciteTabsClose** - Fires when a `calcite-tab` is closed.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `getTabIndex(): Promise<number>` - Returns the index of the title within the `calcite-tab-nav`.\n\n### Slots\n- _default_ - A slot for adding text.\n\n### CSS Properties\n- **--calcite-tab-text-color** - Specifies the component's text color. \n- **--calcite-tab-border-color** - Specifies the component's border color. \n- **--calcite-tab-background-color** - Specifies the component's background color. \n- **--calcite-tab-background-color-hover** - When `calcite-tabs` is `bordered`, specifies the component's background color when hovered. \n- **--calcite-tab-accent-color-press** - Specifies the component's accent color when selected or active. \n- **--calcite-tab-icon-color-end** - Specifies the component's `iconEnd` color. Fallback to `--calcite-icon-color`. \n- **--calcite-tab-icon-color-start** - Specifies the component's `iconStart` color. Fallback to `--calcite-icon-color`. \n- **--calcite-tab-close-icon-color** - Specifies the component's close element icon color. \n- **--calcite-tab-close-icon-color-press** - Specifies the component's close element icon color when hovered, focused, and active. \n- **--calcite-tab-close-icon-background-color** - Specifies the component's close element icon background color. \n- **--calcite-tab-close-icon-background-color-press** - Specifies the component's close element icon background color when hovered, focused, and active. ",
8176
+ "description": "Tab-titles are optionally individually closable.\n--\n\n### Events\n- **calciteTabsActivate** - Fires when a `calcite-tab` is selected.\n- **calciteTabsClose** - Fires when a `calcite-tab` is closed.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `getTabIndex(): Promise<number>` - Returns the index of the title within the `calcite-tab-nav`.\n\n### Slots\n- _default_ - A slot for adding text.\n\n### CSS Properties\n- **--calcite-tab-text-color** - Specifies the component's text color. \n- **--calcite-tab-text-color-press** - Specifies the component's text color when hovered, pressed, or selected. \n- **--calcite-tab-border-color** - Specifies the component's border color. \n- **--calcite-tab-background-color** - Specifies the component's background color. \n- **--calcite-tab-background-color-hover** - When `calcite-tabs` is `bordered`, specifies the component's background color when hovered. \n- **--calcite-tab-accent-color-press** - Specifies the component's accent color when selected or active. \n- **--calcite-tab-icon-color-start** - Specifies the component's `iconStart` color. \n- **--calcite-tab-icon-color-start-press** - Specifies the component's `iconStart` color when hovered, pressed, or selected. \n- **--calcite-tab-icon-color-end** - Specifies the component's `iconEnd` color. \n- **--calcite-tab-icon-color-end-press** - Specifies the component's `iconEnd` color when hovered, pressed, or selected. \n- **--calcite-tab-close-icon-color** - Specifies the component's close element icon color. \n- **--calcite-tab-close-icon-color-press** - Specifies the component's close element icon color when hovered, focused, and active. \n- **--calcite-tab-close-icon-background-color** - Specifies the component's close element icon background color. \n- **--calcite-tab-close-icon-background-color-press** - Specifies the component's close element icon background color when pressed. \n- **--calcite-tab-close-icon-background-color-hover** - Specifies the component's close element icon background color when hovered. ",
8177
8177
  "attributes": [
8178
8178
  {
8179
8179
  "name": "closable",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@esri/calcite-components",
4
- "version": "5.0.0-next.71",
4
+ "version": "5.0.0-next.73",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -426,7 +426,7 @@
426
426
  {
427
427
  "name": "aria",
428
428
  "description": "Use this property to override or extend ARIA properties and attributes on the component's button.",
429
- "type": "{\n checked?: boolean | \"true\" | \"false\" | \"mixed\";\n controlsElements?: Array<Element>;\n describedByElements?: Array<Element>;\n expanded?: boolean | \"true\" | \"false\";\n hasPopup?: boolean | \"grid\" | \"tree\" | \"dialog\" | \"menu\" | \"true\" | \"false\" | \"listbox\";\n labelledByElements?: Array<Element>;\n ownsElements?: Array<Element>;\n pressed?: boolean | \"true\" | \"false\" | \"mixed\";\n role?: \"grid\" | \"none\" | \"search\" | \"link\" | \"article\" | \"button\" | \"group\" | \"heading\" | \"list\" | \"presentation\" | \"separator\" | \"switch\" | \"table\" | \"timer\" | \"tree\" | \"meter\" | \"alert\" | \"application\" | \"log\" | \"main\" | \"figure\" | \"document\" | \"form\" | \"note\" | \"slider\" | \"row\" | \"tab\" | \"term\" | \"dialog\" | \"img\" | \"menu\" | \"option\" | \"math\" | \"marquee\" | \"menuitem\" | \"status\" | \"combobox\" | \"tooltip\" | \"checkbox\" | \"navigation\" | \"gridcell\" | \"menuitemcheckbox\" | \"menuitemradio\" | \"progressbar\" | \"radio\" | \"scrollbar\" | \"searchbox\" | \"spinbutton\" | \"tabpanel\" | \"textbox\" | \"treeitem\" | \"listbox\" | \"menubar\" | \"radiogroup\" | \"tablist\" | \"treegrid\" | \"cell\" | \"columnheader\" | \"definition\" | \"directory\" | \"feed\" | \"listitem\" | \"rowgroup\" | \"rowheader\" | \"toolbar\" | \"banner\" | \"complementary\" | \"contentinfo\" | \"region\" | \"alertdialog\";\n}"
429
+ "type": "{\n checked?: boolean | \"true\" | \"false\" | \"mixed\";\n controlsElements?: Array<Element>;\n describedByElements?: Array<Element>;\n expanded?: boolean | \"true\" | \"false\";\n hasPopup?: boolean | \"grid\" | \"dialog\" | \"menu\" | \"tree\" | \"true\" | \"false\" | \"listbox\";\n labelledByElements?: Array<Element>;\n ownsElements?: Array<Element>;\n pressed?: boolean | \"true\" | \"false\" | \"mixed\";\n role?: \"grid\" | \"none\" | \"search\" | \"link\" | \"article\" | \"button\" | \"dialog\" | \"figure\" | \"form\" | \"img\" | \"main\" | \"menu\" | \"meter\" | \"option\" | \"table\" | \"math\" | \"switch\" | \"combobox\" | \"tooltip\" | \"alert\" | \"checkbox\" | \"list\" | \"navigation\" | \"slider\" | \"tab\" | \"tree\" | \"heading\" | \"status\" | \"group\" | \"marquee\" | \"menuitem\" | \"presentation\" | \"separator\" | \"timer\" | \"application\" | \"log\" | \"document\" | \"note\" | \"row\" | \"term\" | \"gridcell\" | \"menuitemcheckbox\" | \"menuitemradio\" | \"progressbar\" | \"radio\" | \"scrollbar\" | \"searchbox\" | \"spinbutton\" | \"tabpanel\" | \"textbox\" | \"treeitem\" | \"listbox\" | \"menubar\" | \"radiogroup\" | \"tablist\" | \"treegrid\" | \"cell\" | \"columnheader\" | \"definition\" | \"directory\" | \"feed\" | \"listitem\" | \"rowgroup\" | \"rowheader\" | \"toolbar\" | \"banner\" | \"complementary\" | \"contentinfo\" | \"region\" | \"alertdialog\";\n}"
430
430
  },
431
431
  {
432
432
  "name": "compact",
@@ -15341,7 +15341,7 @@
15341
15341
  {
15342
15342
  "name": "labelFormatter",
15343
15343
  "description": "When specified, allows users to customize handle labels.",
15344
- "type": "(value: number, type: \"max\" | \"min\" | \"value\" | \"tick\", defaultFormatter: (value: number) => string) => string"
15344
+ "type": "(value: number, type: \"value\" | \"max\" | \"min\" | \"tick\", defaultFormatter: (value: number) => string) => string"
15345
15345
  },
15346
15346
  {
15347
15347
  "name": "labelHandles",
@@ -16925,7 +16925,7 @@
16925
16925
  },
16926
16926
  {
16927
16927
  "name": "calcite-tab-title",
16928
- "description": "Tab-titles are optionally individually closable.\n--\n\n### Events\n- **calciteTabsActivate** - Fires when a `calcite-tab` is selected.\n- **calciteTabsClose** - Fires when a `calcite-tab` is closed.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `getTabIndex(): Promise<number>` - Returns the index of the title within the `calcite-tab-nav`.\n\n### Slots\n- _default_ - A slot for adding text.\n\n### CSS Properties\n- **--calcite-tab-text-color** - Specifies the component's text color. \n- **--calcite-tab-border-color** - Specifies the component's border color. \n- **--calcite-tab-background-color** - Specifies the component's background color. \n- **--calcite-tab-background-color-hover** - When `calcite-tabs` is `bordered`, specifies the component's background color when hovered. \n- **--calcite-tab-accent-color-press** - Specifies the component's accent color when selected or active. \n- **--calcite-tab-icon-color-end** - Specifies the component's `iconEnd` color. Fallback to `--calcite-icon-color`. \n- **--calcite-tab-icon-color-start** - Specifies the component's `iconStart` color. Fallback to `--calcite-icon-color`. \n- **--calcite-tab-close-icon-color** - Specifies the component's close element icon color. \n- **--calcite-tab-close-icon-color-press** - Specifies the component's close element icon color when hovered, focused, and active. \n- **--calcite-tab-close-icon-background-color** - Specifies the component's close element icon background color. \n- **--calcite-tab-close-icon-background-color-press** - Specifies the component's close element icon background color when hovered, focused, and active. ",
16928
+ "description": "Tab-titles are optionally individually closable.\n--\n\n### Events\n- **calciteTabsActivate** - Fires when a `calcite-tab` is selected.\n- **calciteTabsClose** - Fires when a `calcite-tab` is closed.\n\n### Methods\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `getTabIndex(): Promise<number>` - Returns the index of the title within the `calcite-tab-nav`.\n\n### Slots\n- _default_ - A slot for adding text.\n\n### CSS Properties\n- **--calcite-tab-text-color** - Specifies the component's text color. \n- **--calcite-tab-text-color-press** - Specifies the component's text color when hovered, pressed, or selected. \n- **--calcite-tab-border-color** - Specifies the component's border color. \n- **--calcite-tab-background-color** - Specifies the component's background color. \n- **--calcite-tab-background-color-hover** - When `calcite-tabs` is `bordered`, specifies the component's background color when hovered. \n- **--calcite-tab-accent-color-press** - Specifies the component's accent color when selected or active. \n- **--calcite-tab-icon-color-start** - Specifies the component's `iconStart` color. \n- **--calcite-tab-icon-color-start-press** - Specifies the component's `iconStart` color when hovered, pressed, or selected. \n- **--calcite-tab-icon-color-end** - Specifies the component's `iconEnd` color. \n- **--calcite-tab-icon-color-end-press** - Specifies the component's `iconEnd` color when hovered, pressed, or selected. \n- **--calcite-tab-close-icon-color** - Specifies the component's close element icon color. \n- **--calcite-tab-close-icon-color-press** - Specifies the component's close element icon color when hovered, focused, and active. \n- **--calcite-tab-close-icon-background-color** - Specifies the component's close element icon background color. \n- **--calcite-tab-close-icon-background-color-press** - Specifies the component's close element icon background color when pressed. \n- **--calcite-tab-close-icon-background-color-hover** - Specifies the component's close element icon background color when hovered. ",
16929
16929
  "attributes": [
16930
16930
  {
16931
16931
  "name": "closable",
@@ -21391,6 +21391,10 @@
21391
21391
  "name": "--calcite-tab-text-color",
21392
21392
  "description": "Specifies the component's text color."
21393
21393
  },
21394
+ {
21395
+ "name": "--calcite-tab-text-color-press",
21396
+ "description": "Specifies the component's text color when hovered, pressed, or selected."
21397
+ },
21394
21398
  {
21395
21399
  "name": "--calcite-tab-border-color",
21396
21400
  "description": "Specifies the component's border color."
@@ -21407,13 +21411,21 @@
21407
21411
  "name": "--calcite-tab-accent-color-press",
21408
21412
  "description": "Specifies the component's accent color when selected or active."
21409
21413
  },
21414
+ {
21415
+ "name": "--calcite-tab-icon-color-start",
21416
+ "description": "Specifies the component's `iconStart` color."
21417
+ },
21418
+ {
21419
+ "name": "--calcite-tab-icon-color-start-press",
21420
+ "description": "Specifies the component's `iconStart` color when hovered, pressed, or selected."
21421
+ },
21410
21422
  {
21411
21423
  "name": "--calcite-tab-icon-color-end",
21412
- "description": "Specifies the component's `iconEnd` color. Fallback to `--calcite-icon-color`."
21424
+ "description": "Specifies the component's `iconEnd` color."
21413
21425
  },
21414
21426
  {
21415
- "name": "--calcite-tab-icon-color-start",
21416
- "description": "Specifies the component's `iconStart` color. Fallback to `--calcite-icon-color`."
21427
+ "name": "--calcite-tab-icon-color-end-press",
21428
+ "description": "Specifies the component's `iconEnd` color when hovered, pressed, or selected."
21417
21429
  },
21418
21430
  {
21419
21431
  "name": "--calcite-tab-close-icon-color",
@@ -21429,7 +21441,11 @@
21429
21441
  },
21430
21442
  {
21431
21443
  "name": "--calcite-tab-close-icon-background-color-press",
21432
- "description": "Specifies the component's close element icon background color when hovered, focused, and active."
21444
+ "description": "Specifies the component's close element icon background color when pressed."
21445
+ },
21446
+ {
21447
+ "name": "--calcite-tab-close-icon-background-color-hover",
21448
+ "description": "Specifies the component's close element icon background color when hovered."
21433
21449
  },
21434
21450
  {
21435
21451
  "name": "--calcite-table-border-color",
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.71 */
3
+ v5.0.0-next.73 */
4
4
  import { s as setAssetPath$1 } from "./chunks/runtime.js";
5
5
  import { g } from "./chunks/runtime.js";
6
6
  let assetPathChanged = false;
package/dist/loader.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.71 */
3
+ v5.0.0-next.73 */
4
4
  import { r as runtime } from "./chunks/runtime.js";
5
5
  import { makeDefineCustomElements } from "@arcgis/lumina";
6
6
  const defineCustomElements = makeDefineCustomElements(runtime, {
@@ -1,4 +1,4 @@
1
- import { FocusTrap } from '../controllers/useFocusTrap';
1
+ import { FocusTrap } from 'focus-trap';
2
2
  import { LogLevel } from './logger';
3
3
  export interface CalciteConfig {
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "5.0.0-next.71",
3
+ "version": "5.0.0-next.73",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "homepage": "https://developers.arcgis.com/calcite-design-system/",
6
6
  "repository": {
@@ -92,8 +92,8 @@
92
92
  },
93
93
  "devDependencies": {
94
94
  "@arcgis/lumina-compiler": ">=5.0.0-next.75 <6.0.0",
95
- "@esri/calcite-design-tokens": "4.0.0-next.16",
96
- "@esri/calcite-tailwind-preset": "1.1.0-next.6",
95
+ "@esri/calcite-design-tokens": "4.0.0-next.17",
96
+ "@esri/calcite-tailwind-preset": "1.1.0-next.7",
97
97
  "@esri/eslint-plugin-calcite-components": "2.0.4-next.8",
98
98
  "playwright": "1.57.0",
99
99
  "sass-embedded": "1.97.1",
@@ -110,5 +110,5 @@
110
110
  "dist/docs/vscode.html-custom-data.json"
111
111
  ],
112
112
  "web-types": "dist/docs/web-types.json",
113
- "gitHead": "2728a3e89e63ec4bd85076f7f17f3513c9e0b51e"
113
+ "gitHead": "063dde69c93493bed07dd01c957e1b9d8f7dab3b"
114
114
  }
@@ -1,4 +0,0 @@
1
- /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
- See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.71 */
4
- import{a as m}from"./ZIXX7A4B.js";import{a as B}from"./TUOTDLHB.js";import{a as p,b as r,c as h,d as b}from"./VDKXUBRP.js";import{a as M}from"./SD4TQPXA.js";import"./7CBVRQ4K.js";import"./67ADXPBE.js";import{q as I}from"./FNASCLPT.js";import{a as x}from"./MU4CJQT3.js";import{C as u,D as v,E as d,P as E,g,h as s,l,o as c}from"./MWLTOW5B.js";var C=g`:host([scale=s]){--calcite-internal-action-menu-gap: var(--calcite-action-menu-items-space, var(--calcite-spacing-xxs));--calcite-internal-action-menu-padding: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-menu-gap: var(--calcite-action-menu-items-space, var(--calcite-spacing-sm));--calcite-internal-action-menu-padding: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-menu-gap: var(--calcite-action-menu-items-space, var(--calcite-spacing-sm-plus));--calcite-internal-action-menu-padding: var(--calcite-spacing-sm-plus)}:host{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-relative-lg)}::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm);padding-block-end:var(--calcite-internal-action-menu-padding)}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{display:flex;max-block-size:45vh;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;outline:2px solid transparent;outline-offset:2px;gap:var(--calcite-internal-action-menu-gap);padding:var(--calcite-internal-action-menu-padding)}:host([hidden]){display:none}[hidden]{display:none}`,D=["ArrowUp","ArrowDown","End","Home"],f=class extends v{constructor(){super(...arguments),this.guid=x(),this.actionElements=[],this.menuButtonClick=()=>{this.toggleOpen()},this.menuButtonId=r.button(this.guid),this.menuButtonKeyDown=e=>{let{key:t}=e,{actionElements:n,activeMenuItemIndex:i,open:a}=this;if(n.length){if(B(t)){if(e.preventDefault(),!a){this.toggleOpen();return}let o=n[i];o?o.click():this.toggleOpen(!1)}if(t==="Tab"){this.open=!1;return}if(t==="Escape"){this.toggleOpen(!1),e.preventDefault();return}this.handleActionNavigation(e,t,n)}},this.menuId=r.menu(this.guid),this._open=!1,this.updateAction=(e,t)=>{let{guid:n,activeMenuItemIndex:i}=this,a=r.action(n,t);e.tabIndex=-1,e.setAttribute("role","menuitem"),e.id||(e.id=a),e.activeDescendant=t===i},this.focusSetter=M()(this),this.actionMouseDownHandler=e=>{e.stopPropagation(),this.activeMenuItemIndex=this.actionElements?.findIndex(t=>{e.target})},this.activeMenuItemIndex=-1,this.appearance="solid",this.expanded=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale="m",this.calciteActionMenuCollapse=c({cancelable:!1}),this.calciteActionMenuExpand=c({cancelable:!1}),this.calciteActionMenuOpen=c({cancelable:!1})}static{this.properties={activeMenuItemIndex:[16,{},{state:!0}],menuButtonEl:[16,{},{state:!0}],appearance:[3,{},{reflect:!0}],expanded:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],label:1,open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=C}get open(){return this._open}set open(e){let t=this._open;e!==t&&(this._open=e,this.openHandler(e))}async setFocus(e){return this.focusSetter(()=>this.menuButtonEl,e)}connectedCallback(){super.connectedCallback(),this.connectMenuButtonEl(),this.el.addEventListener("calciteInternalActionMouseDown",this.actionMouseDownHandler)}willUpdate(e){e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&this.expandedHandler(),e.has("activeMenuItemIndex")&&(this.hasUpdated||this.activeMenuItemIndex!==-1)&&this.updateActions(this.actionElements),e.has("expanded")&&this.hasUpdated&&(this.expanded?this.calciteActionMenuExpand.emit():this.calciteActionMenuCollapse.emit())}disconnectedCallback(){super.disconnectedCallback(),this.disconnectMenuButtonEl(),this.el.removeEventListener("calciteInternalActionMouseDown",this.actionMouseDownHandler)}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(e){this.menuButtonEl&&(this.menuButtonEl.active=e,this.menuButtonEl.aria={expanded:e}),this.popoverEl&&(this.popoverEl.open=e),this.activeMenuItemIndex=this.open?0:-1,this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}connectMenuButtonEl(){let{menuButtonId:e,menuId:t,open:n,label:i}=this,a=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==a&&(this.disconnectMenuButtonEl(),this.menuButtonEl=a,this.setTooltipReferenceElement(),a&&(a.active=n,a.setAttribute("aria-controls",t),a.setAttribute("aria-expanded",I(n)),a.setAttribute("aria-haspopup","true"),a.id||(a.id=e),a.label||(a.label=i),a.text||(a.text=i),a.addEventListener("click",this.menuButtonClick),a.addEventListener("keydown",this.menuButtonKeyDown)))}disconnectMenuButtonEl(){let{menuButtonEl:e}=this;e&&(e.removeEventListener("click",this.menuButtonClick),e.removeEventListener("keydown",this.menuButtonKeyDown),this.menuButtonEl=null)}setMenuButtonEl(e){let t=e.target.assignedElements({flatten:!0}).filter(n=>n?.matches("calcite-action"));this.slottedMenuButtonEl=t[0],this.connectMenuButtonEl()}setDefaultMenuButtonEl(e){this.defaultMenuButtonEl=e,this.connectMenuButtonEl()}setPopoverEl(e){e&&(this.popoverEl=e,e.open=this.open)}handleCalciteActionClick(e){this.actionElements?.some(t=>e.composedPath().includes(t))&&(this.open=!1,this.setFocus())}updateTooltip(e){let t=e.target.assignedElements({flatten:!0}).filter(n=>n?.matches("calcite-tooltip"));this.tooltipEl=t[0],this.setTooltipReferenceElement()}setTooltipReferenceElement(){let{tooltipEl:e,expanded:t,menuButtonEl:n,open:i}=this;e&&(e.referenceElement=!t&&!i?n:null)}updateActions(e){e?.forEach(this.updateAction)}async handleDefaultSlotChange(e){let t=e.target.assignedElements({flatten:!0}).reduce((n,i)=>i?.matches("calcite-action")?(n.push(i),n):i?.matches("calcite-action-group")?n.concat(Array.from(i.querySelectorAll("calcite-action"))):n,[]);await this.componentOnReady(),this.actionElements=t.filter(n=>!n.disabled&&!n.hidden)}isValidKey(e,t){return!!t.find(n=>n===e)}handleActionNavigation(e,t,n){if(!this.isValidKey(t,D))return;if(e.preventDefault(),!this.open){this.toggleOpen(),(t==="Home"||t==="ArrowDown")&&(this.activeMenuItemIndex=0),(t==="End"||t==="ArrowUp")&&(this.activeMenuItemIndex=n.length-1);return}t==="Home"&&(this.activeMenuItemIndex=0),t==="End"&&(this.activeMenuItemIndex=n.length-1);let i=this.activeMenuItemIndex;t==="ArrowUp"&&(this.activeMenuItemIndex=m(Math.max(i-1,-1),n.length)),t==="ArrowDown"&&(this.activeMenuItemIndex=m(i+1,n.length))}toggleOpen(e=!this.open){this.open=e}handlePopoverOpen(e){e.stopPropagation(),this.open=!0,this.setFocus()}handlePopoverClose(e){e.stopPropagation(),this.open=!1}renderMenuButton(){let{appearance:e,label:t,scale:n,expanded:i}=this;return s`<slot name=${h.trigger} @slotchange=${this.setMenuButtonEl}><calcite-action .appearance=${e} .aria=${{expanded:i}} class=${d(p.defaultTrigger)} .icon=${b.menu} .scale=${n} .text=${t} .textEnabled=${i} ${u(this.setDefaultMenuButtonEl)}></calcite-action></slot>`}renderMenuItems(){let{actionElements:e,activeMenuItemIndex:t,menuId:n,menuButtonEl:i,label:a,placement:o,overlayPositioning:A,flipPlacements:$}=this,w=e[t]?.id||null;return s`<calcite-popover auto-close .flipPlacements=${$} focus-trap-disabled .label=${a} offset-distance=0 @calcitePopoverClose=${this.handlePopoverClose} @calcitePopoverOpen=${this.handlePopoverOpen} .overlayPositioning=${A} .placement=${o} pointer-disabled .referenceElement=${i} trigger-disabled ${u(this.setPopoverEl)}><div aria-activedescendant=${w??l} aria-labelledby=${i?.id??l} class=${d(p.menu)} id=${n??l} @click=${this.handleCalciteActionClick} role=menu tabindex=-1><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></calcite-popover>`}render(){return s`${this.renderMenuButton()}${this.renderMenuItems()}<slot name=${h.tooltip} @slotchange=${this.updateTooltip}></slot>`}};E("calcite-action-menu",f);export{f as ActionMenu};
@@ -1,4 +0,0 @@
1
- /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
- See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v5.0.0-next.71 */
4
- import{a as w}from"./4IPLLH34.js";import{a as x}from"./ZNZINNLN.js";import{a as d,b as g}from"./GUEK4SIE.js";import{a as I}from"./OZ2UQW3D.js";import{a as h}from"./7CBVRQ4K.js";import"./67ADXPBE.js";import{c as y,e as b,q as T}from"./FNASCLPT.js";import{a as k}from"./MU4CJQT3.js";import{B as f,C as l,D as m,E as n,H as r,P as v,g as p,h as a,o}from"./MWLTOW5B.js";var e={close:"close",container:"container",containerBottom:"container--bottom",content:"content",contentHasText:"content--has-text",iconEnd:"icon-end",iconPresent:"icon-present",iconStart:"icon-start",titleIcon:"calcite-tab-title--icon",scale:s=>`scale-${s}`,selectedIndicator:"selected-indicator"},$="calcite-tab-title",F={host:s=>`${$}-${s}`},A=p`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}.content{position:relative;margin-block-end:.125rem;box-sizing:border-box;display:flex;block-size:100%;align-items:center;justify-content:center}.scale-s{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-none);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xxs)}.scale-s .content{padding-block:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}.scale-m{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-xxs);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xxs)}.scale-m .content{padding-block:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}.scale-l{--calcite-internal-tab-title-close-padding: var(--calcite-spacing-xxs);--calcite-internal-tab-title-close-margin-start: var(--calcite-spacing-xs)}.scale-l .content{padding-block:.625rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([closable]) .content{border-block-end-color:transparent}:host([layout=inline]) .content,:host([layout=center]) .content{padding-inline:.25rem}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;justify-content:center;text-align:center}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{flex:1 1 auto;flex-grow:1}.container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;padding-inline:0px;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;color:var(--calcite-tab-text-color, var(--calcite-color-text-3));background-color:var(--calcite-tab-background-color, transparent)}.selected-indicator{position:absolute;display:block;block-size:.125rem;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;inline-size:100%}:host([bordered][selected]) .container:after{position:absolute;display:block;block-size:.125rem;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;inset-block-end:-1px;inset-inline-start:0;inset-inline-end:0;inline-size:100%;content:""}:host([bordered][selected]) .container.container--bottom:after{inset-block-start:-1px}:host([bordered][selected]:focus) .container:after{background:transparent}.container--bottom .selected-indicator{inset-block-end:unset;inset-block-start:0}:host(:not([bordered])) .container:hover,:host(:not([bordered])) .container:active{color:var(--calcite-color-text-1)}:host([bordered]:not([selected]):hover:not(:focus)) .selected-indicator{background-color:var(--calcite-color-foreground-2)}:host([bordered]:not([selected]):hover:not(:focus)) .container:not(.container--bottom) .selected-indicator{box-shadow:inset 0 1px var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .container.container--bottom .selected-indicator{box-shadow:inset 0 -1px var(--calcite-color-border-1)}:host([selected]:focus) .selected-indicator{block-size:4px}.calcite-tab-title--icon{position:relative;margin:0;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.content--has-text .icon-start,.content--has-text .calcite-tab-title--icon.icon-start{color:var(--calcite-tab-icon-color-start, var(--calcite-icon-color))}.content--has-text .calcite-tab-title--icon.icon-start .icon-end,.content--has-text .calcite-tab-title--icon.icon-end{color:var(--calcite-tab-icon-color-end, var(--calcite-icon-color))}.content--has-text{padding:.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:var(--calcite-spacing-sm)}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:var(--calcite-spacing-sm)}:host([bordered]) .container{border-color:transparent;border-inline-width:var(--calcite-spacing-px);border-inline-style:solid}:host([bordered]) .container:hover,:host([bordered]) .container:active{color:var(--calcite-color-text-1)}:host([bordered]) .container .x-button calcite-icon{margin-block-start:var(--calcite-spacing-px)}:host([bordered]) .container .x-button:focus,:host([bordered]) .container .x-button:hover,:host([bordered]) .container .x-button:active{box-shadow:0 2px 0 0 var(--calcite-tab-close-icon-background-color-press, var(--calcite-color-foreground-3))}:host([bordered]) .container.container--bottom{border-block-start-style:solid;border-block-start-width:1px}:host([bordered]) .container.container--bottom .selected-indicator{inset-block-start:unset;inset-block-end:0}:host([bordered]) .container.container--bottom .x-button{box-shadow:0 -2px 0 0 var(--calcite-tab-close-icon-background-color, var(--calcite-color-transparent))}:host([bordered]) .container.container--bottom .x-button:focus,:host([bordered]) .container.container--bottom .x-button:hover,:host([bordered]) .container.container--bottom .x-button:active{box-shadow:0 -2px 0 0 var(--calcite-tab-close-icon-background-color-press, var(--calcite-color-foreground-3))}:host([bordered]) .container.container--bottom .x-button calcite-icon{margin-block-end:var(--calcite-spacing-px)}:host([bordered]) .container:not(.container--bottom){border-block-end-style:solid;border-block-end-width:1px}:host([bordered]) .container:not(.container--bottom) .x-button{block-size:calc(100% - var(--calcite-spacing-px));margin-block-start:-1px}:host([bordered]) .container .selected-indicator{inset-block-start:0;inset-block-end:unset;inset-inline-start:-1px;inset-inline-end:0;inline-size:calc(100% + var(--calcite-spacing-base))}:host([bordered]) .container:host(:not([selected])) .container .x-button{box-shadow:0 2px 0 0 transparent}:host([bordered]) .container:host(:not([selected])):host(:hover) .container:not(.container--bottom){border-block-end-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) .selected-indicator{box-shadow:inset 0 var(--calcite-internal-tab-shadow-length) var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) :not(.container--bottom){--calcite-internal-tab-shadow-length: 1px}:host([bordered]) .container:host(:not([selected])):host(:hover):host(:not(:focus)) .container--bottom{--calcite-internal-tab-shadow-length: -1px}:host([bordered]) .container:hover{background-color:var(--calcite-tab-background-color-hover, var(--calcite-color-foreground-2));border-block-end-color:var(--calcite-color-border-1)}:host(:hover) .selected-indicator{background-color:var(--calcite-color-border-3)}:host([selected]) .selected-indicator,:host([selected]:hover) .selected-indicator,:host(:focus) .selected-indicator,:host(:active) .selected-indicator{background-color:var(--calcite-tab-accent-color-press, var(--calcite-color-brand))}:host([closed]){display:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-tab-text-color, var(--calcite-color-text-1))}:host([selected][bordered]) .container{border-inline-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([selected][bordered]) .container:after{background-color:var(--calcite-tab-background-color, var(--calcite-color-foreground-1))}:host([selected][bordered]) .container:hover,:host([selected][bordered]) .container:active{background:transparent}:host(:focus) .container{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus) .container:focus-within{outline-color:transparent}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:var(--calcite-spacing-sm)}:host([layout=inline][bordered]) .scale-m .content,:host([layout=center][bordered]) .scale-m .content{padding-inline:.75rem}:host([layout=inline][bordered]) .scale-s .content,:host([layout=center][bordered]) .scale-s .content{padding-inline:.5rem}:host([layout=inline][bordered]) .scale-l .content,:host([layout=center][bordered]) .scale-l .content{padding-inline:1rem}:host([layout=inline][closable]) .scale-s .content,:host([layout=inline][closable]) .scale-m .content,:host([layout=inline][closable]) .scale-l .content{padding-inline-end:0}.close{--calcite-internal-action-spacing: var(--calcite-internal-tab-title-close-padding);--calcite-internal-action-height: unset;--calcite-action-text-color: var(--calcite-tab-close-icon-color);--calcite-action-text-color-press: var(--calcite-tab-close-icon-color-press);--calcite-action-background-color: var(--calcite-tab-close-icon-background-color);--calcite-action-background-color-press: var(--calcite-tab-close-icon-background-color-press);margin:auto;margin-inline:var(--calcite-spacing-sm) var(--calcite-internal-tab-title-close-margin-start)}@media(forced-colors:active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][selected]) .container--bottom{border-block-start-style:none}.selected-indicator{background-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) .container{pointer-events:none;opacity:.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,u=class extends m{constructor(){super(),this.closeButtonRef=f(),this.guid=F.host(k()),this.mutationObserver=d("mutation",()=>this.updateHasText()),this.resizeObserver=d("resize",()=>{this.calciteInternalTabIconChanged.emit()}),this.messages=I(),this.interactiveContainer=w(this),this.hasText=!1,this.bordered=!1,this.closable=!1,this.closed=!1,this.disabled=!1,this.position="top",this.scale="m",this.selected=!1,this.calciteInternalTabIconChanged=o({cancelable:!1}),this.calciteInternalTabTitleRegister=o({cancelable:!1}),this.calciteInternalTabsActivate=o({cancelable:!1}),this.calciteInternalTabsClose=o({cancelable:!1}),this.calciteInternalTabsFocusFirst=o({cancelable:!1}),this.calciteInternalTabsFocusLast=o({cancelable:!1}),this.calciteInternalTabsFocusNext=o({cancelable:!1}),this.calciteInternalTabsFocusPrevious=o({cancelable:!1}),this.calciteTabsActivate=o({cancelable:!1}),this.calciteTabsClose=o({cancelable:!1}),this.listenOn(document.body,"calciteInternalTabChange",this.internalTabChangeHandler),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={controls:[16,{},{state:!0}],hasText:[16,{},{state:!0}],bordered:[7,{},{reflect:!0,type:Boolean}],closable:[7,{},{reflect:!0,type:Boolean}],closed:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],iconEnd:[3,{type:String},{reflect:!0}],iconFlipRtl:[3,{},{reflect:!0}],iconStart:[3,{type:String},{reflect:!0}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],position:1,scale:1,selected:[7,{},{reflect:!0,type:Boolean}],tab:[3,{},{reflect:!0}]}}static{this.styles=A}async activateTab(t=!0){if(this.disabled||this.closed)return;let i={tab:this.tab,userTriggered:t};this.calciteInternalTabsActivate.emit(i),t&&requestAnimationFrame(()=>this.calciteTabsActivate.emit())}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async getTabIndex(){return Array.prototype.indexOf.call(y(this.el.parentElement.children).filter(t=>t.matches("calcite-tab-title")),this.el)}_updateAriaInfo(t=[],i=[]){this.controls=t[i.indexOf(this.el.id)]||null}connectedCallback(){super.connectedCallback(),this.setupTextContentObserver(),this.parentTabsEl=this.el.closest("calcite-tabs")}async load(){this.updateHasText(),this.tab&&this.selected&&this.activateTab(!1)}willUpdate(t){t.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.selectedHandler(),this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.bordered=this.parentTabsEl.bordered)}async loaded(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),document.body?.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el})),this.resizeObserver?.disconnect()}selectedHandler(){this.selected&&this.activateTab(!1)}internalTabChangeHandler(t){t.composedPath().find(c=>c.tagName==="CALCITE-TABS")===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then(c=>{this.selected=c===t.detail.tab}),t.stopPropagation())}onClick(){this.activateTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":t.composedPath().includes(this.closeButtonRef.value)||(this.activateTab(),t.preventDefault());break;case"ArrowRight":t.preventDefault(),b(this.el)==="ltr"?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":t.preventDefault(),b(this.el)==="ltr"?this.calciteInternalTabsFocusPrevious.emit():this.calciteInternalTabsFocusNext.emit();break;case"Home":t.preventDefault(),this.calciteInternalTabsFocusFirst.emit();break;case"End":t.preventDefault(),this.calciteInternalTabsFocusLast.emit();break}}closeClickHandler(){this.closeTabTitleAndNotify()}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setContainerRef(t){g(this.resizeObserver,this.containerEl,t),this.containerEl=t}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}closeTabTitleAndNotify(){this.closed=!0,this.calciteInternalTabsClose.emit({tab:this.tab}),requestAnimationFrame(()=>this.calciteTabsClose.emit())}render(){let{el:t,closed:i}=this,c=t.id||this.guid,z=a`<calcite-icon class=${n({[e.titleIcon]:!0,[e.iconStart]:!0})} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} .scale=${h(this.scale)}></calcite-icon>`,C=a`<calcite-icon class=${n({[e.titleIcon]:!0,[e.iconEnd]:!0})} .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} .scale=${h(this.scale)}></calcite-icon>`;return r(this.el,"aria-controls",this.controls),this.el.ariaSelected=T(this.selected),r(this.el,"id",c),this.el.role="tab",r(this.el,"tabIndex",this.selected&&!this.disabled?0:-1),this.interactiveContainer({disabled:this.disabled,children:a`<div class=${n({[e.container]:!0,[e.containerBottom]:this.position==="bottom",[e.iconPresent]:!!this.iconStart||!!this.iconEnd,[e.scale(this.scale)]:!0})} .hidden=${i} ${l(this.setContainerRef)}><div class=${n({[e.content]:!0,[e.contentHasText]:this.hasText})}>${this.iconStart?z:null}<slot></slot>${this.iconEnd?C:null}</div>${this.renderCloseButton()}<div class=${n(e.selectedIndicator)}></div></div>`})}renderCloseButton(){let{closable:t,messages:i}=this;return t?x("close-button",a`<calcite-action class=${n(e.close)} icon=x @click=${this.closeClickHandler} .scale=${this.scale} .text=${i.close} ${l(this.closeButtonRef)}></calcite-action>`):null}};v("calcite-tab-title",u);export{u as TabTitle};