@esri/calcite-components 3.0.0 → 3.1.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (391) hide show
  1. package/dist/calcite/{45GA6INB.js → 23MOV6NG.js} +2 -2
  2. package/dist/calcite/{U725E4ID.js → 2OOLECPX.js} +2 -2
  3. package/dist/calcite/{GOOHYN3D.js → 34MV5U4O.js} +2 -2
  4. package/dist/calcite/{U3WK4DZT.js → 373CZCGO.js} +2 -2
  5. package/dist/calcite/{WWUBU6N5.js → 3AXOI2C3.js} +2 -2
  6. package/dist/calcite/{HFIRIAQA.js → 3B2PP7OF.js} +2 -2
  7. package/dist/calcite/{FNM4DZZH.js → 3SGAAJUZ.js} +1 -1
  8. package/dist/calcite/{6ZTWHW63.js → 3WJNCOPC.js} +2 -2
  9. package/dist/calcite/{2M4WCGKG.js → 4OCELM2X.js} +2 -2
  10. package/dist/calcite/{EOHVH6PN.js → 4UTJZXPD.js} +2 -2
  11. package/dist/calcite/{7PWETOIU.js → 4YQ5JTFA.js} +2 -2
  12. package/dist/calcite/{BRTESQOJ.js → 5FHBAB7Y.js} +2 -2
  13. package/dist/calcite/{T6HODD4B.js → 5M6HCNZZ.js} +2 -2
  14. package/dist/calcite/{V4JZRN7T.js → 5V63WOMD.js} +2 -2
  15. package/dist/calcite/{MPX2M2VX.js → 5WY3RA4V.js} +2 -2
  16. package/dist/calcite/{L5FDXQMT.js → 62IMSXF5.js} +1 -1
  17. package/dist/calcite/{RMGYRZXR.js → 6D6N2CCC.js} +2 -2
  18. package/dist/calcite/{KBDXI6DJ.js → 6I7N4DJM.js} +2 -2
  19. package/dist/calcite/{RLSQLIV6.js → 6IFDRSQV.js} +2 -2
  20. package/dist/calcite/{DBVNMM6Q.js → 6MMOWRSM.js} +2 -2
  21. package/dist/calcite/{DDJ75RTI.js → 6QGNNBZ5.js} +2 -2
  22. package/dist/calcite/{PZLVQQMT.js → 6R5C57P5.js} +2 -2
  23. package/dist/calcite/{GNUSLZWJ.js → 6T6UMXEG.js} +2 -2
  24. package/dist/calcite/{MIKGJ3NM.js → 6WT3NQTF.js} +2 -2
  25. package/dist/calcite/{LHSAAMYQ.js → 6XUNN5BD.js} +2 -2
  26. package/dist/calcite/{DH4ISGHV.js → 73JHMQAR.js} +2 -2
  27. package/dist/calcite/{XXZIOSXQ.js → 75U2CEI2.js} +2 -2
  28. package/dist/calcite/{GSXEMGSW.js → 77VX6TWS.js} +2 -2
  29. package/dist/calcite/{CWPRBG3T.js → 7A7OCUYH.js} +2 -2
  30. package/dist/calcite/{MQYH4ONZ.js → 7HBBL4ZM.js} +1 -1
  31. package/dist/calcite/{AXXJNFKZ.js → 7IHFMVXN.js} +2 -2
  32. package/dist/calcite/{I2OIH73C.js → 7LGBDOYP.js} +1 -1
  33. package/dist/calcite/{WPAMFFBY.js → 7OPWGOIH.js} +2 -2
  34. package/dist/calcite/{GN5CPLSJ.js → 7VOKVNOX.js} +2 -2
  35. package/dist/calcite/{RESHLE2Y.js → A3KUHAYH.js} +2 -2
  36. package/dist/calcite/{VJD4CRQ3.js → A77PTXQI.js} +2 -2
  37. package/dist/calcite/{US3PQV6O.js → A7BIZKUQ.js} +2 -2
  38. package/dist/calcite/{ECEZ4R6E.js → A7KPG75H.js} +2 -2
  39. package/dist/calcite/{4SEPDFCP.js → A7WWDVJQ.js} +2 -2
  40. package/dist/calcite/{YYJSHQR3.js → AFBGRNF3.js} +1 -1
  41. package/dist/calcite/{DNYBIAUI.js → AFI5OSXD.js} +2 -2
  42. package/dist/calcite/{7U7FF3Y4.js → AFQ7CFQT.js} +2 -2
  43. package/dist/calcite/{YA5A7PJR.js → AIRWHAUT.js} +2 -2
  44. package/dist/calcite/{TVDZM7WT.js → AM6UJWJO.js} +2 -2
  45. package/dist/calcite/{OLMX7G3J.js → ARAAYSPA.js} +1 -1
  46. package/dist/calcite/{GYQTRH4V.js → B22OHVZA.js} +2 -2
  47. package/dist/calcite/{6X2SD2PW.js → B5JXHWI4.js} +2 -2
  48. package/dist/calcite/{G3LH75CQ.js → BAWLIDLU.js} +2 -2
  49. package/dist/calcite/{R3HMG2D6.js → BB5G2FKE.js} +2 -2
  50. package/dist/calcite/{O4O3TSE5.js → BCUBPURC.js} +2 -2
  51. package/dist/calcite/{ZA76CHET.js → BECCYK7I.js} +2 -2
  52. package/dist/calcite/{QCGLMLKW.js → BGBHXXSC.js} +2 -2
  53. package/dist/calcite/{URM3R65T.js → BHOEIDXT.js} +2 -2
  54. package/dist/calcite/{QK2H5T7J.js → BOLBKIM3.js} +2 -2
  55. package/dist/calcite/{OTHVFLNW.js → BUB7E4GE.js} +2 -2
  56. package/dist/calcite/{2JKKAEPM.js → BUHVYEME.js} +2 -2
  57. package/dist/calcite/{YMRTHS5X.js → BY2VIVYE.js} +2 -2
  58. package/dist/calcite/{VCSXFNPO.js → CHQYILCK.js} +2 -2
  59. package/dist/calcite/{7SX3RD7P.js → CKLM3NH3.js} +2 -2
  60. package/dist/calcite/{KWOOGTG2.js → CPLZSNMW.js} +2 -2
  61. package/dist/calcite/{2YAXZHP2.js → CPWCVFVX.js} +2 -2
  62. package/dist/calcite/{CIV3PH3Z.js → CQ5FVCCX.js} +2 -2
  63. package/dist/calcite/{KSNEQFZX.js → CU6QKL4W.js} +2 -2
  64. package/dist/calcite/{PT2XMADA.js → CVPHYVRS.js} +1 -1
  65. package/dist/calcite/{4Z7JRTON.js → CYK3MWM4.js} +2 -2
  66. package/dist/calcite/{SMUXJLDL.js → D2PRGKAG.js} +2 -2
  67. package/dist/calcite/{LB5ATL5Q.js → D44V6PEO.js} +2 -2
  68. package/dist/calcite/{CBSMKHOY.js → DSNK4E4G.js} +2 -2
  69. package/dist/calcite/{QQ67AVDV.js → DUM56X2O.js} +2 -2
  70. package/dist/calcite/{ESBOJTBS.js → DXGYOB2C.js} +2 -2
  71. package/dist/calcite/{XBZLGRRI.js → DY75E5TM.js} +2 -2
  72. package/dist/calcite/{MBQZPRQ5.js → E7MBDJGE.js} +2 -2
  73. package/dist/calcite/{6XTYGXNG.js → EBHSG7RJ.js} +2 -2
  74. package/dist/calcite/{XT32TCZG.js → EEUCEFXG.js} +1 -1
  75. package/dist/calcite/{G3ZJ2KQT.js → EKQYW7GE.js} +2 -2
  76. package/dist/calcite/{NWVCPRVB.js → ERNMRUWX.js} +1 -1
  77. package/dist/calcite/{CY6C2FDZ.js → EY2PLOMF.js} +2 -2
  78. package/dist/calcite/{66B2H27W.js → F3Y2S6BF.js} +2 -2
  79. package/dist/calcite/{TQIVV2F7.js → F7CJI6MB.js} +2 -2
  80. package/dist/calcite/{CMO3X257.js → FE2QRVI7.js} +2 -2
  81. package/dist/calcite/{CFRBQXK4.js → FF4V4NT7.js} +2 -2
  82. package/dist/calcite/{JUNCR7R2.js → FSSFZBVO.js} +2 -2
  83. package/dist/calcite/{BSRMWMHQ.js → FZJ3BTYV.js} +2 -2
  84. package/dist/calcite/{IJCTXZQB.js → GK5DGLYC.js} +2 -2
  85. package/dist/calcite/{4BSCJ722.js → H4E2N4X2.js} +2 -2
  86. package/dist/calcite/{KI2NOBMU.js → H7E2HITF.js} +2 -2
  87. package/dist/calcite/{WKTGTKRJ.js → H7RTEVRM.js} +2 -2
  88. package/dist/calcite/{7WG5I3MP.js → HBNQRYUU.js} +2 -2
  89. package/dist/calcite/{LILDCWFX.js → HD5RZV7I.js} +2 -2
  90. package/dist/calcite/{JVNEJ36Z.js → HIRSIKVC.js} +2 -2
  91. package/dist/calcite/{VMRLYKNI.js → HLORIHBB.js} +1 -1
  92. package/dist/calcite/{MZRO54UT.js → HSU2J7U7.js} +2 -2
  93. package/dist/calcite/{N4MN6VQ7.js → HTI57FLV.js} +2 -2
  94. package/dist/calcite/{MUWK32IE.js → HU25GIR3.js} +2 -2
  95. package/dist/calcite/{CK6HQQX6.js → HX44FXR7.js} +1 -1
  96. package/dist/calcite/{XOVG6UH3.js → I2OX63UC.js} +2 -2
  97. package/dist/calcite/{D36VWSDW.js → I2YUGRNE.js} +2 -2
  98. package/dist/calcite/IJV4X7J7.js +4 -0
  99. package/dist/calcite/{4YZ27QWL.js → IOPDSOMP.js} +2 -2
  100. package/dist/calcite/{KVSCG5E3.js → IPEYLL4T.js} +2 -2
  101. package/dist/calcite/{JFYDLHH7.js → IRMEFP5V.js} +2 -2
  102. package/dist/calcite/{TSJJLMPA.js → ISKYJPVP.js} +1 -1
  103. package/dist/calcite/{A5GGYTUQ.js → IUOGAZKX.js} +2 -2
  104. package/dist/calcite/{GPUFLCIT.js → JAPR4FNO.js} +2 -2
  105. package/dist/calcite/{SJKTCGW6.js → JHE67SX5.js} +2 -2
  106. package/dist/calcite/{NODC2JA6.js → JM3OLLIG.js} +2 -2
  107. package/dist/calcite/{ZGXTLCGJ.js → JQIN4FNX.js} +2 -2
  108. package/dist/calcite/{QHASLHZN.js → K72IV53Z.js} +2 -2
  109. package/dist/calcite/{JEX42CPR.js → KFZDQQV4.js} +2 -2
  110. package/dist/calcite/{SBZ6VJ75.js → KLBMM5PO.js} +1 -1
  111. package/dist/calcite/{MCSX2S5T.js → KM6NLV33.js} +2 -2
  112. package/dist/calcite/{IYDN67SF.js → KQUGBIWA.js} +2 -2
  113. package/dist/calcite/{RVQMJBNS.js → LEH7GP3V.js} +2 -2
  114. package/dist/calcite/{GKKCWEZX.js → LN56JZD3.js} +2 -2
  115. package/dist/calcite/{KSVYAIHK.js → LONQYMAY.js} +2 -2
  116. package/dist/calcite/{N55N67N5.js → M2BP427U.js} +2 -2
  117. package/dist/calcite/{HMVKZP47.js → M7GV7Q4M.js} +2 -2
  118. package/dist/calcite/{BZKF5ZXQ.js → MBZP2G7S.js} +2 -2
  119. package/dist/calcite/{7KSGVDSR.js → MGMKRHPK.js} +2 -2
  120. package/dist/calcite/{BRTDMTZ3.js → MJPRNCRR.js} +2 -2
  121. package/dist/calcite/{3DGJ6ZQI.js → MKSN35K2.js} +2 -2
  122. package/dist/calcite/{WSGL37LB.js → MM3U5UFW.js} +2 -2
  123. package/dist/calcite/{R4RMVIKH.js → MNKK2ILQ.js} +2 -2
  124. package/dist/calcite/{I32TMNTO.js → MRYPQXG2.js} +1 -1
  125. package/dist/calcite/{SKDMJE3X.js → MW55GFZV.js} +1 -1
  126. package/dist/calcite/{ARHYATTG.js → MYKRE5QO.js} +2 -2
  127. package/dist/calcite/{BAHIPAHM.js → N6OZM4AJ.js} +2 -2
  128. package/dist/calcite/{IH4RXHJJ.js → NBCCD7Z4.js} +2 -2
  129. package/dist/calcite/{KBNS3CCT.js → NEZR6N4L.js} +2 -2
  130. package/dist/calcite/{QAYSDI3M.js → NKVV542U.js} +1 -1
  131. package/dist/calcite/{HGTV36FX.js → NTQTXOKH.js} +2 -2
  132. package/dist/calcite/{Z6GA347Y.js → NW2QKL4A.js} +2 -2
  133. package/dist/calcite/{GFC7NS6P.js → O6U5C56E.js} +2 -2
  134. package/dist/calcite/{I62DUDHI.js → OKSDNORT.js} +2 -2
  135. package/dist/calcite/{G7WFYVUC.js → OLXJRGIR.js} +2 -2
  136. package/dist/calcite/{AI3R3SU6.js → OQYQHRZJ.js} +2 -2
  137. package/dist/calcite/{PNHR5K2L.js → P2EJXRHM.js} +2 -2
  138. package/dist/calcite/{X2UHFJHG.js → P37UOGXI.js} +2 -2
  139. package/dist/calcite/PC7WLS5Q.js +4 -0
  140. package/dist/calcite/{5AVZLE2Q.js → PD3WNH5L.js} +2 -2
  141. package/dist/calcite/{YTRT5XZT.js → PER743YE.js} +2 -2
  142. package/dist/calcite/{OE2AH2NC.js → PMGM7JNH.js} +2 -2
  143. package/dist/calcite/{S76CXQTI.js → PUMTLS4E.js} +2 -2
  144. package/dist/calcite/{RJLKHCRB.js → Q3M6KGKZ.js} +2 -2
  145. package/dist/calcite/{VNQNKQ2J.js → Q4MKOMJK.js} +2 -2
  146. package/dist/calcite/{GAAXSGWK.js → Q52B4SR4.js} +2 -2
  147. package/dist/calcite/{Z7VNUC77.js → QC3KYLNZ.js} +2 -2
  148. package/dist/calcite/{EFI2G5WL.js → QFOLYCWD.js} +2 -2
  149. package/dist/calcite/{F6EGRKXW.js → QGOU2BEZ.js} +2 -2
  150. package/dist/calcite/{ZV442E6X.js → QI2ELYU3.js} +2 -2
  151. package/dist/calcite/{R6GNPMSV.js → QIZGHNZY.js} +2 -2
  152. package/dist/calcite/{D2HDFE7S.js → QJRMWXHQ.js} +2 -2
  153. package/dist/calcite/{OTUG3NVT.js → QQR6TKYE.js} +2 -2
  154. package/dist/calcite/{EAML4EDI.js → QR6G6AB2.js} +2 -2
  155. package/dist/calcite/{LH7KSBQC.js → QUUKOZWD.js} +2 -2
  156. package/dist/calcite/{KULDQOV2.js → R3EBVVN3.js} +2 -2
  157. package/dist/calcite/{CNO6NFH5.js → R3FLP5QS.js} +2 -2
  158. package/dist/calcite/{C46JYVUP.js → R6M6HES6.js} +2 -2
  159. package/dist/calcite/{LOZEGKG2.js → RAA7AM6M.js} +2 -2
  160. package/dist/calcite/{EHZCT5YZ.js → RDOVN276.js} +2 -2
  161. package/dist/calcite/{OGED6PPP.js → RFATQCOE.js} +2 -2
  162. package/dist/calcite/{QLKHJI4P.js → RHR5F4HO.js} +1 -1
  163. package/dist/calcite/{DT67ZFPX.js → RISOP66W.js} +2 -2
  164. package/dist/calcite/{KW57BHXD.js → RSMRASRN.js} +2 -2
  165. package/dist/calcite/{NVBNX55L.js → RTH7YVQR.js} +2 -2
  166. package/dist/calcite/{JCWM5Z43.js → RWRS2NU2.js} +2 -2
  167. package/dist/calcite/{AYZ73RWQ.js → S23GFP6K.js} +2 -2
  168. package/dist/calcite/{YXLQFMOA.js → S6HVF75Y.js} +2 -2
  169. package/dist/calcite/{GGO5TMB4.js → S74LMG36.js} +2 -2
  170. package/dist/calcite/{7QHUEK5R.js → SADM47KH.js} +2 -2
  171. package/dist/calcite/{OOSULFCY.js → SLKTWE3W.js} +2 -2
  172. package/dist/calcite/{ATHBUWBY.js → SLTDIENT.js} +2 -2
  173. package/dist/calcite/{K3ZBW4GY.js → SYGGMDPD.js} +2 -2
  174. package/dist/calcite/{VST65PDC.js → T4MBSEJN.js} +1 -1
  175. package/dist/calcite/{6LW27BEV.js → TCIPD6BI.js} +2 -2
  176. package/dist/calcite/{22RQB3WE.js → TD2M3HXH.js} +1 -1
  177. package/dist/calcite/{TNR5VZG2.js → TFDQPWTN.js} +2 -2
  178. package/dist/calcite/{GE63ETFI.js → TO5FCIUA.js} +2 -2
  179. package/dist/calcite/{VG7BJBFG.js → TX2VI5MW.js} +2 -2
  180. package/dist/calcite/{46U4MKUU.js → U3HEL4RD.js} +2 -2
  181. package/dist/calcite/{ZQO6E4FO.js → UELJS6PF.js} +2 -2
  182. package/dist/calcite/{N2BVYYYP.js → UFYDUU52.js} +2 -2
  183. package/dist/calcite/{IXRMDUEL.js → UP7SL3CK.js} +2 -2
  184. package/dist/calcite/{LLSB73WA.js → UT6FICQ3.js} +2 -2
  185. package/dist/calcite/{FHBFGCTR.js → V6AMPSCT.js} +2 -2
  186. package/dist/calcite/{G2KHDAZD.js → VEJRRMKU.js} +2 -2
  187. package/dist/calcite/{HKHPJJ34.js → VFVGGH4O.js} +2 -2
  188. package/dist/calcite/{36DMRAV2.js → VQ4LSZKF.js} +2 -2
  189. package/dist/calcite/{JLZYAYOL.js → VW4FPITC.js} +2 -2
  190. package/dist/calcite/{QU33PBBI.js → WACTC6C2.js} +2 -2
  191. package/dist/calcite/{RVMVJW6K.js → WFNPLZZD.js} +2 -2
  192. package/dist/calcite/{FE3A3YUN.js → WOZ3YSMM.js} +2 -2
  193. package/dist/calcite/{3IV6JSC2.js → WQI63ENU.js} +2 -2
  194. package/dist/calcite/{SYEQSDHG.js → WX25GXOJ.js} +2 -2
  195. package/dist/calcite/{E3R5SMVW.js → X2CKUJNY.js} +2 -2
  196. package/dist/calcite/{24SER2VV.js → X3XUDYZK.js} +2 -2
  197. package/dist/calcite/{3TOVZEQB.js → X4HIU64B.js} +2 -2
  198. package/dist/calcite/{RAQWKUOJ.js → X6MOGC7A.js} +2 -2
  199. package/dist/calcite/{345Q4UHX.js → XBMJE2HA.js} +2 -2
  200. package/dist/calcite/{RUTUU2EH.js → XEB3PVUL.js} +2 -2
  201. package/dist/calcite/{Y6VF7HSM.js → XENH6L4X.js} +2 -2
  202. package/dist/calcite/{5EPP4MG3.js → XJJ7H5YN.js} +2 -2
  203. package/dist/calcite/{C54C5E23.js → XPXLWH7X.js} +2 -2
  204. package/dist/calcite/{QYGED6CL.js → XRGQWCOT.js} +2 -2
  205. package/dist/calcite/{E4NMFIKN.js → XU4G32CA.js} +2 -2
  206. package/dist/calcite/{FDIM6DYL.js → XYTAOAJQ.js} +2 -2
  207. package/dist/calcite/{FNFWOOMR.js → XZVQKECK.js} +1 -1
  208. package/dist/calcite/{4TQLSUKH.js → YBPOJHA7.js} +1 -1
  209. package/dist/calcite/{3GICXOBQ.js → YCJABBGV.js} +2 -2
  210. package/dist/calcite/{OPBQNK7J.js → YDLXSG4W.js} +2 -2
  211. package/dist/calcite/{2BGMAPSV.js → YICY6VCM.js} +2 -2
  212. package/dist/calcite/{T3NRBBZP.js → YLJ43EVG.js} +2 -2
  213. package/dist/calcite/{OHOS32IT.js → YMHBAMWI.js} +2 -2
  214. package/dist/calcite/{UELGJSYH.js → YSGHAVSA.js} +1 -1
  215. package/dist/calcite/{7D3VEEUX.js → YUGL6WTS.js} +2 -2
  216. package/dist/calcite/{6OZRZ36X.js → YWEFWGI7.js} +2 -2
  217. package/dist/calcite/{DTL2LM6T.js → YYWIZXXK.js} +2 -2
  218. package/dist/calcite/{CJYTY62F.js → Z6W6VEP2.js} +2 -2
  219. package/dist/calcite/{RAFCSOOQ.js → Z7SGWG6G.js} +2 -2
  220. package/dist/calcite/{TQTAM3XB.js → ZBOL56TZ.js} +2 -2
  221. package/dist/calcite/{RSAEDAEX.js → ZCCUSDNB.js} +2 -2
  222. package/dist/calcite/{UJL3BWDH.js → ZFTPOTKI.js} +2 -2
  223. package/dist/calcite/{7E342YOK.js → ZTKKB3EW.js} +2 -2
  224. package/dist/calcite/{FCN5RMLA.js → ZUF4UFWX.js} +2 -2
  225. package/dist/calcite/calcite.esm.js +2 -2
  226. package/dist/chunks/ExpandToggle.js +1 -1
  227. package/dist/chunks/FloatingArrow.js +1 -1
  228. package/dist/chunks/Heading.js +1 -1
  229. package/dist/chunks/Validation.js +1 -1
  230. package/dist/chunks/_commonjsHelpers.js +1 -1
  231. package/dist/chunks/array.js +1 -1
  232. package/dist/chunks/component.js +1 -1
  233. package/dist/chunks/core.js +1 -1
  234. package/dist/chunks/date.js +1 -1
  235. package/dist/chunks/dom.js +1 -1
  236. package/dist/chunks/dynamicClasses.js +1 -1
  237. package/dist/chunks/filter.js +1 -1
  238. package/dist/chunks/floating-ui.js +1 -1
  239. package/dist/chunks/focusTrapComponent.js +1 -1
  240. package/dist/chunks/form.js +1 -1
  241. package/dist/chunks/global.js +1 -1
  242. package/dist/chunks/guid.js +1 -1
  243. package/dist/chunks/input.js +1 -1
  244. package/dist/chunks/interact.min.js +1 -1
  245. package/dist/chunks/interactive.js +1 -1
  246. package/dist/chunks/key.js +1 -1
  247. package/dist/chunks/label.js +1 -1
  248. package/dist/chunks/loadable.js +1 -1
  249. package/dist/chunks/locale.js +1 -1
  250. package/dist/chunks/logger.js +1 -1
  251. package/dist/chunks/math.js +1 -1
  252. package/dist/chunks/observers.js +1 -1
  253. package/dist/chunks/openCloseComponent.js +1 -1
  254. package/dist/chunks/resources.js +1 -1
  255. package/dist/chunks/resources2.js +1 -1
  256. package/dist/chunks/resources3.js +1 -1
  257. package/dist/chunks/resources4.js +1 -1
  258. package/dist/chunks/resources5.js +1 -1
  259. package/dist/chunks/resources6.js +1 -1
  260. package/dist/chunks/resources7.js +1 -1
  261. package/dist/chunks/responsive.js +1 -1
  262. package/dist/chunks/runtime.js +10 -10
  263. package/dist/chunks/sortableComponent.js +1 -1
  264. package/dist/chunks/text.js +1 -1
  265. package/dist/chunks/time.js +1 -1
  266. package/dist/chunks/useFocusTrap.js +1 -1
  267. package/dist/chunks/useT9n.js +1 -1
  268. package/dist/chunks/utils.js +1 -1
  269. package/dist/chunks/utils2.js +1 -1
  270. package/dist/chunks/utils3.js +1 -1
  271. package/dist/chunks/utils4.js +1 -1
  272. package/dist/components/calcite-accordion/customElement.js +1 -1
  273. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  274. package/dist/components/calcite-action/customElement.js +2 -2
  275. package/dist/components/calcite-action-bar/customElement.js +1 -1
  276. package/dist/components/calcite-action-group/customElement.js +1 -1
  277. package/dist/components/calcite-action-menu/customElement.js +1 -1
  278. package/dist/components/calcite-action-pad/customElement.js +1 -1
  279. package/dist/components/calcite-alert/customElement.js +1 -1
  280. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  281. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  282. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  283. package/dist/components/calcite-avatar/customElement.js +1 -1
  284. package/dist/components/calcite-block/customElement.js +1 -1
  285. package/dist/components/calcite-block-group/customElement.js +1 -1
  286. package/dist/components/calcite-block-section/customElement.js +1 -1
  287. package/dist/components/calcite-button/customElement.js +1 -1
  288. package/dist/components/calcite-card/customElement.js +1 -1
  289. package/dist/components/calcite-card-group/customElement.js +1 -1
  290. package/dist/components/calcite-carousel/customElement.js +1 -1
  291. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  292. package/dist/components/calcite-checkbox/customElement.js +1 -1
  293. package/dist/components/calcite-chip/customElement.js +1 -1
  294. package/dist/components/calcite-chip-group/customElement.js +1 -1
  295. package/dist/components/calcite-color-picker/customElement.js +1 -1
  296. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  297. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  298. package/dist/components/calcite-combobox/customElement.js +1 -1
  299. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  300. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  301. package/dist/components/calcite-date-picker/customElement.js +1 -1
  302. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  303. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  304. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  305. package/dist/components/calcite-dialog/customElement.js +1 -1
  306. package/dist/components/calcite-dropdown/customElement.js +1 -1
  307. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  308. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  309. package/dist/components/calcite-fab/customElement.js +1 -1
  310. package/dist/components/calcite-filter/customElement.js +1 -1
  311. package/dist/components/calcite-flow/customElement.js +1 -1
  312. package/dist/components/calcite-flow-item/customElement.js +1 -1
  313. package/dist/components/calcite-graph/customElement.js +1 -1
  314. package/dist/components/calcite-handle/customElement.js +1 -1
  315. package/dist/components/calcite-icon/customElement.js +1 -1
  316. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  317. package/dist/components/calcite-input/customElement.js +1 -1
  318. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  319. package/dist/components/calcite-input-message/customElement.js +1 -1
  320. package/dist/components/calcite-input-number/customElement.js +1 -1
  321. package/dist/components/calcite-input-text/customElement.js +1 -1
  322. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  323. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  324. package/dist/components/calcite-label/customElement.js +1 -1
  325. package/dist/components/calcite-link/customElement.js +1 -1
  326. package/dist/components/calcite-list/customElement.js +1 -1
  327. package/dist/components/calcite-list-item/customElement.js +1 -1
  328. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  329. package/dist/components/calcite-loader/customElement.js +1 -1
  330. package/dist/components/calcite-menu/customElement.js +1 -1
  331. package/dist/components/calcite-menu-item/customElement.js +1 -1
  332. package/dist/components/calcite-meter/customElement.js +1 -1
  333. package/dist/components/calcite-modal/customElement.js +1 -1
  334. package/dist/components/calcite-navigation/customElement.js +1 -1
  335. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  336. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  337. package/dist/components/calcite-notice/customElement.js +1 -1
  338. package/dist/components/calcite-option/customElement.js +1 -1
  339. package/dist/components/calcite-option-group/customElement.js +1 -1
  340. package/dist/components/calcite-pagination/customElement.js +1 -1
  341. package/dist/components/calcite-panel/customElement.js +1 -1
  342. package/dist/components/calcite-popover/customElement.js +1 -1
  343. package/dist/components/calcite-progress/customElement.js +1 -1
  344. package/dist/components/calcite-radio-button/customElement.js +1 -1
  345. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  346. package/dist/components/calcite-rating/customElement.js +1 -1
  347. package/dist/components/calcite-scrim/customElement.js +1 -1
  348. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  349. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  350. package/dist/components/calcite-select/customElement.js +1 -1
  351. package/dist/components/calcite-sheet/customElement.js +1 -1
  352. package/dist/components/calcite-shell/customElement.js +1 -1
  353. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  354. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  355. package/dist/components/calcite-slider/customElement.js +1 -1
  356. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  357. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  358. package/dist/components/calcite-split-button/customElement.js +1 -1
  359. package/dist/components/calcite-stack/customElement.js +1 -1
  360. package/dist/components/calcite-stepper/customElement.js +1 -1
  361. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  362. package/dist/components/calcite-switch/customElement.js +1 -1
  363. package/dist/components/calcite-tab/customElement.js +1 -1
  364. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  365. package/dist/components/calcite-tab-title/customElement.js +6 -6
  366. package/dist/components/calcite-table/customElement.js +1 -1
  367. package/dist/components/calcite-table-cell/customElement.js +1 -1
  368. package/dist/components/calcite-table-header/customElement.js +1 -1
  369. package/dist/components/calcite-table-row/customElement.js +1 -1
  370. package/dist/components/calcite-tabs/customElement.js +1 -1
  371. package/dist/components/calcite-text-area/customElement.js +1 -1
  372. package/dist/components/calcite-tile/customElement.js +1 -1
  373. package/dist/components/calcite-tile-group/customElement.js +1 -1
  374. package/dist/components/calcite-tile-select/customElement.js +1 -1
  375. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  376. package/dist/components/calcite-time-picker/customElement.js +1 -1
  377. package/dist/components/calcite-tip/customElement.js +1 -1
  378. package/dist/components/calcite-tip-group/customElement.js +1 -1
  379. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  380. package/dist/components/calcite-tooltip/customElement.js +1 -1
  381. package/dist/components/calcite-tree/customElement.js +1 -1
  382. package/dist/components/calcite-tree-item/customElement.js +1 -1
  383. package/dist/docs/api.json +1 -1
  384. package/dist/docs/docs.json +1 -1
  385. package/dist/docs/supported-browsers.json +1 -1
  386. package/dist/docs/web-types.json +1 -1
  387. package/dist/index.js +1 -1
  388. package/dist/loader.js +1 -1
  389. package/package.json +5 -5
  390. package/dist/calcite/MPAVJ7UH.js +0 -4
  391. package/dist/calcite/T5UPGHU3.js +0 -4
@@ -6,7 +6,7 @@ import { s as b, e as p } from "../../chunks/dom.js";
6
6
  import { css as m } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
8
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
9
- v3.0.0 */
9
+ v3.1.0-next.0 */
10
10
  const f = {
11
11
  titleGroup: "title-group"
12
12
  }, u = m`:host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1),inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:.75rem}:host([bordered][scale=m]) section{padding:.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}`;
@@ -19,7 +19,7 @@ import { u as j } from "../../chunks/useT9n.js";
19
19
  import { css as V } from "@lit/reactive-element/css-tag.js";
20
20
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
21
21
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
22
- v3.0.0 */
22
+ v3.1.0-next.0 */
23
23
  const a = {
24
24
  assistiveText: "assistive-text",
25
25
  characterLimit: "character-limit",
@@ -8,7 +8,7 @@ import { c as A } from "../../chunks/loadable.js";
8
8
  import { css as H } from "@lit/reactive-element/css-tag.js";
9
9
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
10
10
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
11
- v3.0.0 */
11
+ v3.1.0-next.0 */
12
12
  const t = {
13
13
  container: "container",
14
14
  contentContainer: "content-container",
@@ -8,7 +8,7 @@ import { d as i } from "../../chunks/dom.js";
8
8
  import { css as m } from "@lit/reactive-element/css-tag.js";
9
9
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
10
10
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
11
- v3.0.0 */
11
+ v3.1.0-next.0 */
12
12
  const u = {
13
13
  container: "container"
14
14
  }, f = m`: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{box-sizing:border-box;display:inline-block}:host ::slotted(calcite-tile){margin-block-end:var(--calcite-spacing-px);margin-inline-end:var(--calcite-spacing-px)}.container{display:grid;grid-auto-rows:minmax(auto,1fr)}:host([scale=s]) .container{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}:host([scale=m]) .container{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}:host([scale=l]) .container{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}:host([layout=vertical]) .container{display:flex;flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
@@ -8,7 +8,7 @@ import { l as w } from "../../chunks/logger.js";
8
8
  import { css as C } from "@lit/reactive-element/css-tag.js";
9
9
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
10
10
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
11
- v3.0.0 */
11
+ v3.1.0-next.0 */
12
12
  const i = {
13
13
  description: "description",
14
14
  descriptionOnly: "description-only",
@@ -6,7 +6,7 @@ import { l } from "../../chunks/logger.js";
6
6
  import { css as a } from "@lit/reactive-element/css-tag.js";
7
7
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
8
8
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
9
- v3.0.0 */
9
+ v3.1.0-next.0 */
10
10
  const d = a`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-wrap:wrap}:host ::slotted(calcite-tile-select){margin-block-end:1px;margin-inline-end:1px}:host([layout=vertical]){flex-direction:column}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
11
11
  class r extends s {
12
12
  constructor() {
@@ -13,7 +13,7 @@ import { u as _ } from "../../chunks/useT9n.js";
13
13
  import { css as B } from "@lit/reactive-element/css-tag.js";
14
14
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
15
15
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
16
- v3.0.0 */
16
+ v3.1.0-next.0 */
17
17
  const t = {
18
18
  button: "button",
19
19
  buttonBottomLeft: "button--bottom-left",
@@ -9,7 +9,7 @@ import { u as b } from "../../chunks/useT9n.js";
9
9
  import { css as v } from "@lit/reactive-element/css-tag.js";
10
10
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
11
11
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
12
- v3.0.0 */
12
+ v3.1.0-next.0 */
13
13
  const e = {
14
14
  container: "container",
15
15
  header: "header",
@@ -5,7 +5,7 @@ import { l as r } from "../../chunks/logger.js";
5
5
  import { css as i } from "@lit/reactive-element/css-tag.js";
6
6
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
7
7
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
8
- v3.0.0 */
8
+ v3.1.0-next.0 */
9
9
  const s = i`:host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}::slotted(calcite-tip){margin:0;border-style:none;max-inline-size:var(--calcite-tip-max-width)}:host([hidden]){display:none}[hidden]{display:none}`;
10
10
  class l extends t {
11
11
  static {
@@ -11,7 +11,7 @@ import { u as T } from "../../chunks/useT9n.js";
11
11
  import { css as k } from "@lit/reactive-element/css-tag.js";
12
12
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
13
13
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
14
- v3.0.0 */
14
+ v3.1.0-next.0 */
15
15
  const i = {
16
16
  header: "header",
17
17
  heading: "heading",
@@ -10,7 +10,7 @@ import { q as R, c as x } from "../../chunks/dom.js";
10
10
  import { css as A } from "@lit/reactive-element/css-tag.js";
11
11
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
12
12
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
13
- v3.0.0 */
13
+ v3.1.0-next.0 */
14
14
  const f = {
15
15
  positionContainer: "position-container",
16
16
  container: "container"
@@ -5,7 +5,7 @@ import { b, n as p, s as M, t as S } from "../../chunks/dom.js";
5
5
  import { css as C } from "@lit/reactive-element/css-tag.js";
6
6
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
7
7
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
8
- v3.0.0 */
8
+ v3.1.0-next.0 */
9
9
  function g(h) {
10
10
  return h?.tagName === "CALCITE-TREE-ITEM";
11
11
  }
@@ -9,7 +9,7 @@ import { g as h } from "../../chunks/component.js";
9
9
  import { css as F } from "@lit/reactive-element/css-tag.js";
10
10
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
11
11
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
12
- v3.0.0 */
12
+ v3.1.0-next.0 */
13
13
  const i = {
14
14
  actionsEnd: "actions-end",
15
15
  bulletPointIcon: "bullet-point",
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-02-08T04:16:25",
2
+ "timestamp": "2025-02-10T18:13:00",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
5
  "version": "4.32.0-next.129",
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-02-08T04:16:25",
2
+ "timestamp": "2025-02-10T18:13:00",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
5
  "version": "4.32.0-next.129",
@@ -1 +1 @@
1
- ["chrome 132","chrome 131","edge 132","edge 131","firefox 134","firefox 133","firefox 128","ios_saf 18.3","ios_saf 18.2","ios_saf 18.1","ios_saf 18.0","ios_saf 17.6-17.7","ios_saf 17.5","ios_saf 17.4","ios_saf 17.3","ios_saf 17.2","ios_saf 17.1","ios_saf 17.0","safari 18.3","safari 18.2","safari 18.1","safari 18.0","safari 17.6","safari 17.5","safari 17.4","safari 17.3","safari 17.2","safari 17.1","safari 17.0"]
1
+ ["chrome 133","chrome 132","edge 132","edge 131","firefox 135","firefox 134","firefox 128","ios_saf 18.3","ios_saf 18.2","ios_saf 18.1","ios_saf 18.0","ios_saf 17.6-17.7","ios_saf 17.5","ios_saf 17.4","ios_saf 17.3","ios_saf 17.2","ios_saf 17.1","ios_saf 17.0","safari 18.3","safari 18.2","safari 18.1","safari 18.0","safari 17.6","safari 17.5","safari 17.4","safari 17.3","safari 17.2","safari 17.1","safari 17.0"]
@@ -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": "3.0.0",
4
+ "version": "3.1.0-next.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { s } from "./chunks/runtime.js";
2
2
  import { g as P } from "./chunks/runtime.js";
3
3
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
4
4
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
5
- v3.0.0 */
5
+ v3.1.0-next.0 */
6
6
  let e = !1;
7
7
  const o = (t) => {
8
8
  e = !0, s(t);
package/dist/loader.js CHANGED
@@ -3,7 +3,7 @@ import { r as e } from "./chunks/runtime.js";
3
3
  import { makeDefineCustomElements as t } from "@arcgis/lumina";
4
4
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
5
5
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
6
- v3.0.0 */
6
+ v3.1.0-next.0 */
7
7
  const o = t(e, {
8
8
  "calcite-accordion": [() => import("./components/calcite-accordion/customElement.js"), "appearance,iconPosition,iconType,scale,selectionMode"],
9
9
  "calcite-accordion-item": [() => import("./components/calcite-accordion-item/customElement.js"), "accordionParent:,description,expanded,heading,iconEnd,iconFlipRtl,iconPosition,iconStart,iconType,scale;setFocus"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "3.0.0",
3
+ "version": "3.1.0-next.0",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "homepage": "https://developers.arcgis.com/calcite-design-system/",
6
6
  "repository": {
@@ -71,7 +71,7 @@
71
71
  "@arcgis/components-controllers": "^4.32.0-next.129",
72
72
  "@arcgis/components-utils": "^4.32.0-next.129",
73
73
  "@arcgis/lumina": "^4.32.0-next.129",
74
- "@esri/calcite-ui-icons": "4.0.0",
74
+ "@esri/calcite-ui-icons": "4.0.1-next.0",
75
75
  "@floating-ui/dom": "^1.6.12",
76
76
  "@floating-ui/utils": "^0.2.8",
77
77
  "@types/color": "^4.2.0",
@@ -87,8 +87,8 @@
87
87
  "type-fest": "^4.30.1"
88
88
  },
89
89
  "devDependencies": {
90
- "@esri/calcite-design-tokens": "3.0.0",
91
- "@esri/eslint-plugin-calcite-components": "2.0.0"
90
+ "@esri/calcite-design-tokens": "3.0.1-next.0",
91
+ "@esri/eslint-plugin-calcite-components": "2.0.1-next.0"
92
92
  },
93
93
  "volta": {
94
94
  "extends": "../../package.json"
@@ -101,5 +101,5 @@
101
101
  "dist/docs/vscode.html-custom-data.json"
102
102
  ],
103
103
  "web-types": "dist/docs/web-types.json",
104
- "gitHead": "e63242f9ee599ca587df864e4f85545746c1157c"
104
+ "gitHead": "5c6e12654854bd3185c9f798c3ae0ac878b08b51"
105
105
  }
@@ -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
- v3.0.0 */
4
- import{a as R,b as F}from"./LOZEGKG2.js";import{a as H}from"./3IV6JSC2.js";import"./KW57BHXD.js";import{a as b}from"./CIV3PH3Z.js";import{a as I}from"./CNO6NFH5.js";import{a as O}from"./ARHYATTG.js";import{a as E,b as m}from"./QU33PBBI.js";import{b as L}from"./GN5CPLSJ.js";import{a as T}from"./I2OIH73C.js";import{J as C,e as z,f as i,w,x as n,z as c}from"./KVSCG5E3.js";var e={button:"button",buttonTextVisible:"button--text-visible",buttonCompact:"button--compact",indicatorText:"indicator-text",iconContainer:"icon-container",slotContainer:"slot-container",slotContainerHidden:"slot-container--hidden",textContainer:"text-container",textContainerVisible:"text-container--visible",indicatorWithIcon:"indicator-with-icon",indicatorWithoutIcon:"indicator-without-icon"},B={tooltip:"tooltip"},V=z`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;cursor:pointer;background-color:transparent;--calcite-internal-action-text-color: var(--calcite-color-text-3)}:host([drag-handle]){cursor:move;--calcite-internal-action-text-color: var(--calcite-color-border-input);--calcite-internal-action-padding-inline: var(--calcite-spacing-xxs)}:host,.button{border-radius:var(--calcite-action-corner-radius, var(--calcite-action-corner-radius-start-start, var(--calcite-corner-radius)) var(--calcite-action-corner-radius-start-end, var(--calcite-corner-radius)) var(--calcite-action-corner-radius-end-end, var(--calcite-corner-radius)) var(--calcite-action-corner-radius-end-start, var(--calcite-corner-radius)))}.button{position:relative;margin:0;display:flex;inline-size:auto;align-items:center;justify-content:flex-start;border-style:none;font-family:var(--calcite-font-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);outline-color:transparent;background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1));color:var(--calcite-action-text-color, var(--calcite-internal-action-text-color));text-align:unset;flex:1 0 auto;cursor:inherit}.button:hover,.button:focus{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}.button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}.icon-container{pointer-events:none;margin:0;display:flex;align-items:center;justify-content:center;min-inline-size:1rem;min-block-size:1.5rem}.text-container{margin:0;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5rem;opacity:0;transition-property:opacity;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:margin;transition-property:inline-size}.text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus{color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)));background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}:host([active]) .button:active{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}:host([loading]) .text-container{opacity:var(--calcite-opacity-disabled)}:host([loading]) calcite-loader[inline]{margin-inline-end:0px}:host([appearance=transparent]):host([active]) .button{background-color:var(--calcite-color-transparent-hover)}:host([appearance=transparent]) .button{background-color:transparent;transition-property:box-shadow;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([appearance=transparent]) .button:hover,:host([appearance=transparent]) .button:focus{background-color:var(--calcite-color-transparent-hover)}:host([appearance=transparent]) .button:active{background-color:var(--calcite-color-transparent-press)}:host([data-active]) .button{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([scale=s]) .button{font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal);padding-inline:var(--calcite-internal-action-padding-inline, .5rem);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-spacing-xxs))}:host([scale=s]) .button--text-visible .icon-container{margin-inline-end:.5rem}:host([scale=m]) .button{font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal);padding-inline:var(--calcite-internal-action-padding-inline, 1rem);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-spacing-md))}:host([scale=m]) .button--text-visible .icon-container{margin-inline-end:.75rem}:host([scale=l]) .button{font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal);padding-inline:var(--calcite-internal-action-padding-inline, 1.25rem);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-spacing-xl))}:host([scale=l]) .button--text-visible .icon-container{margin-inline-end:1rem}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.button--text-visible{inline-size:100%}.indicator-with-icon{position:relative}.indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}.indicator-without-icon{margin-inline:.25rem;inline-size:1rem;position:relative}.indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}.indicator-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;opacity:var(--calcite-opacity-disabled);background-color:var(--calcite-action-background-color, var(--calcite-action-background-color, var(--calcite-color-foreground-1)))}:host([disabled]):host([active]) .button,:host([disabled]):host([active]) .button:hover,:host([disabled]):host([active]) .button:focus{opacity:var(--calcite-opacity-disabled);background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3))))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,f=class extends w{constructor(){super(...arguments),this.guid=`calcite-action-${T()}`,this.buttonEl=E(),this.buttonId=`${this.guid}-button`,this.indicatorId=`${this.guid}-indicator`,this.mutationObserver=I("mutation",()=>this.requestUpdate()),this.active=!1,this.appearance="solid",this.compact=!1,this.disabled=!1,this.dragHandle=!1,this.iconFlipRtl=!1,this.indicator=!1,this.loading=!1,this.messages=O({blocking:!0}),this.scale="m",this.textEnabled=!1}static{this.properties={active:7,alignment:3,appearance:3,compact:7,disabled:7,dragHandle:7,icon:3,iconFlipRtl:7,indicator:7,label:1,loading:7,messageOverrides:0,scale:3,text:1,textEnabled:7}}static{this.styles=V}async setFocus(){await L(this),this.buttonEl.value?.focus()}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async load(){}updated(){R(this)}loaded(){}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}handleTooltipSlotChange(t){let o=t.target.assignedElements({flatten:!0}).filter(a=>a?.matches("calcite-tooltip"))[0];o&&(o.referenceElement=this.buttonEl.value)}renderTextContainer(){let{text:t,textEnabled:o}=this,a={[e.textContainer]:!0,[e.textContainerVisible]:o};return t?b("text-container",i`<div class=${n(a)}>${t}</div>`):null}renderIndicatorText(){let{indicator:t,messages:o,indicatorId:a,buttonId:l}=this;return i`<div aria-labelledby=${l??c} aria-live=polite class=${n(e.indicatorText)} id=${a??c} role=region>${t?o.indicator:null}</div>`}renderIconContainer(){let{loading:t,icon:o,scale:a,el:l,iconFlipRtl:d,indicator:h}=this,p=a==="l"?"l":"m",v=t?i`<calcite-loader inline .label=${this.messages.loading} .scale=${p}></calcite-loader>`:null,r=o?i`<calcite-icon class=${n({[e.indicatorWithIcon]:h})} .flipRtl=${d} .icon=${o} .scale=${H(this.scale)}></calcite-icon>`:null,s=v||r,u=s||l.children?.length,g=i`<div class=${n({[e.slotContainer]:!0,[e.slotContainerHidden]:t})}><slot></slot></div>`;return u?b("icon-container",i`<div aria-hidden=true class=${n(e.iconContainer)}>${s}${g}</div>`):null}renderButton(){let{active:t,compact:o,disabled:a,icon:l,loading:d,textEnabled:h,label:p,text:v,indicator:r,indicatorId:s,buttonId:u,messages:g}=this,x=p||v||"",k=r?g.indicatorLabel.replace("{label}",x):x,$={[e.button]:!0,[e.buttonTextVisible]:h,[e.buttonCompact]:o},y=i`${this.renderIconContainer()}${this.renderTextContainer()}${!l&&r&&b("indicator-no-icon",i`<div class=${n(e.indicatorWithoutIcon)}></div>`)||""}`;return this.dragHandle?i`<span aria-controls=${(r?s:null)??c} .ariaBusy=${d} .ariaDisabled=${this.disabled?this.disabled:null} .ariaLabel=${k} .ariaPressed=${t} class=${n($)} id=${u??c} role=button tabindex=${(this.disabled?null:0)??c} ${m(this.buttonEl)}>${y}</span>`:i`<button aria-controls=${(r?s:null)??c} .ariaBusy=${d} .ariaLabel=${k} .ariaPressed=${t} class=${n($)} .disabled=${a} id=${u??c} ${m(this.buttonEl)}>${y}</button>`}render(){return F({disabled:this.disabled,children:i`${this.renderButton()}<slot name=${B.tooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${this.renderIndicatorText()}`})}};C("calcite-action",f);export{f as Action};
@@ -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
- v3.0.0 */
4
- import{a as I,b as w}from"./LOZEGKG2.js";import{a as s}from"./3IV6JSC2.js";import"./KW57BHXD.js";import{a as x}from"./CIV3PH3Z.js";import{a as r}from"./CNO6NFH5.js";import{a as C}from"./ARHYATTG.js";import{a as k,b as l}from"./QU33PBBI.js";import{c as T,e as d,r as z}from"./CMO3X257.js";import{a as y}from"./I2OIH73C.js";import{A as a,G as g,J as f,e as p,f as c,j as m,v as i,w as v,x as n}from"./KVSCG5E3.js";var e={closeButton:"close-button",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:h=>`scale-${h}`,selectedIndicator:"selected-indicator"},A={close:"x"},H=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 .content{padding-block:.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}.scale-s .close-button{inline-size:1.25rem}.scale-m .content{padding-block:.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}.scale-m .close-button{inline-size:1.75rem}.scale-l .content{padding-block:.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.scale-l .close-button{inline-size:2rem}: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--1);line-height:1rem;color:var(--calcite-color-text-3);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}.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%}.container--bottom .selected-indicator{inset-block-end:unset;inset-block-start:0}:host([bordered]) .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:not(.container--bottom){border-block-end:1px solid transparent}:host([bordered]:not([selected]):hover) .container:not(.container--bottom){border-block-end:1px solid var(--calcite-color-border-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([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%;background:var(--calcite-color-foreground-1);content:""}:host([bordered][selected]) .container.container--bottom:after{inset-block-start:-1px}:host([bordered][selected]:hover) .container:after{background:var(--calcite-color-foreground-2)}:host([bordered][selected]:focus) .container:after{background:transparent}:host([bordered]) .container--bottom .selected-indicator{inset-block-start:unset;inset-block-end:0}:host([selected]) .selected-indicator,:host([selected]:hover) .selected-indicator{background-color:var(--calcite-color-brand)}:host(:hover) .selected-indicator{background-color:var(--calcite-color-border-3)}:host(:focus) .selected-indicator,:host(:active) .selected-indicator{background-color:var(--calcite-color-brand)}@media (forced-colors: active){.selected-indicator{background-color:highlight}}:host([closed]){display:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-color-text-1)}:host(:focus) .container{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:focus) .container:focus-within{outline-color:transparent}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-color-border-2);color:var(--calcite-color-text-1);text-decoration-line: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}.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{padding:.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:var(--calcite-spacing-sm);color:var(--calcite-tab-icon-color-start, var(--calcite-icon-color))}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:var(--calcite-spacing-sm);color:var(--calcite-tab-icon-color-end, var(--calcite-icon-color))}.close-button{display:flex;block-size:100%;cursor:pointer;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);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;margin-inline-start:var(--calcite-spacing-sm);margin-inline-end:var(--calcite-spacing-px);block-size:calc(100% - var(--calcite-spacing-xxs))}.close-button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.close-button:focus,.close-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button:active{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button calcite-icon{color:inherit}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:var(--calcite-spacing-sm)}:host([bordered]) .container:not(.container--bottom) .close-button{block-size:calc(100% - var(--calcite-spacing-px));margin-block-start:-1px}:host([bordered]) .container .close-button calcite-icon{margin-block-start:var(--calcite-spacing-px)}:host([bordered]) .container .close-button:focus,:host([bordered]) .container .close-button:hover,:host([bordered]) .container .close-button:active{box-shadow:0 2px 0 0 var(--calcite-color-foreground-3)}:host([bordered]) .container.container--bottom .close-button{box-shadow:0 -2px 0 0 transparent}:host([bordered]) .container.container--bottom .close-button calcite-icon{margin-block-end:var(--calcite-spacing-px)}:host([bordered]) .container.container--bottom .close-button:focus,:host([bordered]) .container.container--bottom .close-button:hover,:host([bordered]) .container.container--bottom .close-button:active{box-shadow:0 -2px 0 0 var(--calcite-color-foreground-3)}:host([bordered][selected]){box-shadow:inset 0 -1px var(--calcite-color-foreground-1)}:host([bordered]:not([selected])) .container .close-button{box-shadow:0 2px 0 0 transparent}:host([bordered]:hover) .container{background-color:var(--calcite-color-foreground-2)}:host([bordered]) .container{border-inline:var(--calcite-spacing-px) solid transparent}:host([selected][bordered]) .container{border-inline-color:var(--calcite-color-border-1)}: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}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered]) .container{border-block-end-style:solid}:host([bordered]) .container--bottom{border-block-start-style:solid}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][selected]) .container--bottom{border-block-start-style:none}.close-button{z-index:var(--calcite-z-index)}}:host([hidden]){display:none}[hidden]{display:none}`,b=class extends v{constructor(){super(),this.closeButtonEl=k(),this.guid=`calcite-tab-title-${y()}`,this.mutationObserver=r("mutation",()=>this.updateHasText()),this.resizeObserver=r("resize",()=>{this.calciteInternalTabIconChanged.emit()}),this.hasText=!1,this.bordered=!1,this.closable=!1,this.closed=!1,this.disabled=!1,this.messages=C(),this.position="top",this.scale="m",this.selected=!1,this.calciteInternalTabIconChanged=i({cancelable:!1}),this.calciteInternalTabTitleRegister=i({cancelable:!1}),this.calciteInternalTabsActivate=i({cancelable:!1}),this.calciteInternalTabsClose=i({cancelable:!1}),this.calciteInternalTabsFocusFirst=i({cancelable:!1}),this.calciteInternalTabsFocusLast=i({cancelable:!1}),this.calciteInternalTabsFocusNext=i({cancelable:!1}),this.calciteInternalTabsFocusPrevious=i({cancelable:!1}),this.calciteTabsActivate=i({cancelable:!1}),this.calciteTabsClose=i({cancelable:!1}),this.listenOn(document.body,"calciteInternalTabChange",this.internalTabChangeHandler),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={controls:16,hasText:16,bordered:7,closable:7,closed:7,disabled:7,iconEnd:3,iconFlipRtl:3,iconStart:3,layout:3,messageOverrides:0,position:1,scale:1,selected:7,tab:3}}static{this.styles=H}async activateTab(t=!0){if(this.disabled||this.closed)return;let o={tab:this.tab};this.calciteInternalTabsActivate.emit(o),t&&requestAnimationFrame(()=>this.calciteTabsActivate.emit())}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async getTabIndex(){return Array.prototype.indexOf.call(T(this.el.parentElement.children).filter(t=>t.matches("calcite-tab-title")),this.el)}_updateAriaInfo(t=[],o=[]){this.controls=t[o.indexOf(this.el.id)]||null}connectedCallback(){super.connectedCallback(),this.setupTextContentObserver(),this.parentTabsEl=this.el.closest("calcite-tabs")}async load(){g()&&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)}updated(){I(this)}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(o=>o.tagName==="CALCITE-TABS")===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then(o=>{this.selected=o===t.detail.tab}),t.stopPropagation())}onClick(){this.activateTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":t.composedPath().includes(this.closeButtonEl.value)||(this.activateTab(),t.preventDefault());break;case"ArrowRight":t.preventDefault(),d(this.el)==="ltr"?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":t.preventDefault(),d(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}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}closeTabTitleAndNotify(){this.closed=!0,this.calciteInternalTabsClose.emit({tab:this.tab}),this.calciteTabsClose.emit()}render(){let{el:t,closed:o}=this,$=t.id||this.guid,E=c`<calcite-icon class=${n({[e.titleIcon]:!0,[e.iconStart]:!0})} .flipRtl=${this.iconFlipRtl==="start"||this.iconFlipRtl==="both"} .icon=${this.iconStart} .scale=${s(this.scale)}></calcite-icon>`,F=c`<calcite-icon class=${n({[e.titleIcon]:!0,[e.iconEnd]:!0})} .flipRtl=${this.iconFlipRtl==="end"||this.iconFlipRtl==="both"} .icon=${this.iconEnd} .scale=${s(this.scale)}></calcite-icon>`;return a(this.el,"aria-controls",this.controls),this.el.ariaSelected=z(this.selected),a(this.el,"id",$),this.el.role="tab",a(this.el,"tabIndex",this.selected&&!this.disabled?0:-1),w({disabled:this.disabled,children:c`<div class=${n({[e.container]:!0,[e.containerBottom]:this.position==="bottom",[e.iconPresent]:!!this.iconStart||!!this.iconEnd,[e.scale(this.scale)]:!0})} .hidden=${o} ${l(u=>u?this.resizeObserver?.observe(u):null)}><div class=${n({[e.content]:!0,[e.contentHasText]:this.hasText})}>${this.iconStart?E:null}<slot></slot>${this.iconEnd?F:null}</div>${this.renderCloseButton()}<div class=${n(e.selectedIndicator)}></div></div>`})}renderCloseButton(){let{closable:t,messages:o}=this;return t?x(e.closeButton,c`<button .ariaLabel=${o.close} class=${n(e.closeButton)} @click=${this.closeClickHandler} title=${o.close??m} type=button ${l(this.closeButtonEl)}><calcite-icon .icon=${A.close} .scale=${s(this.scale)}></calcite-icon></button>`):null}};f("calcite-tab-title",b);export{b as TabTitle};