@esri/calcite-components 5.0.0-next.64 → 5.0.0-next.66

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 (349) hide show
  1. package/dist/cdn/{GXUQYOAU.js → 27NGH3MJ.js} +2 -2
  2. package/dist/cdn/{CNFZEYVL.js → 2BUT5RGT.js} +2 -2
  3. package/dist/cdn/{ZKJPJYC5.js → 2ELVVOIS.js} +1 -1
  4. package/dist/cdn/{GKUUWQ5X.js → 2I2P7MKG.js} +2 -2
  5. package/dist/cdn/{JH2PGAV5.js → 2KGNABFZ.js} +1 -1
  6. package/dist/cdn/{6SIHWQVN.js → 2NTSNOHL.js} +1 -1
  7. package/dist/cdn/{STGXL54Z.js → 2TFH6QFI.js} +2 -2
  8. package/dist/cdn/{JXRBX6RQ.js → 3625K4C4.js} +2 -2
  9. package/dist/cdn/{5SVEHTY4.js → 3HTDTYR7.js} +2 -2
  10. package/dist/cdn/{LE6S6NTA.js → 3QXI5YXK.js} +2 -2
  11. package/dist/cdn/{JQTPZCAM.js → 3ROU57ZW.js} +2 -2
  12. package/dist/cdn/{7ESCMDAU.js → 3ZENMQIW.js} +2 -2
  13. package/dist/cdn/{OSIGYKM4.js → 4BRABEMN.js} +2 -2
  14. package/dist/cdn/{OKOCTZ6D.js → 4PGBULZ7.js} +2 -2
  15. package/dist/cdn/{SGPFK2DF.js → 4TPLX7SD.js} +2 -2
  16. package/dist/cdn/{DV36KTWQ.js → 4XRU4IWP.js} +2 -2
  17. package/dist/cdn/{NTJNB4QE.js → 4ZEXCGOB.js} +2 -2
  18. package/dist/cdn/{TGS4P73B.js → 54VWOTS6.js} +1 -1
  19. package/dist/cdn/{N3K3ADO4.js → 56ZZCMI5.js} +2 -2
  20. package/dist/cdn/{XD4OLGGD.js → 5FQ6DQWI.js} +2 -2
  21. package/dist/cdn/{RZXNLEDK.js → 5GESSYSB.js} +2 -2
  22. package/dist/cdn/{CHTFNPPW.js → 5S5O24V7.js} +2 -2
  23. package/dist/cdn/{HJNJFRYR.js → 5SVJ6FAT.js} +2 -2
  24. package/dist/cdn/{BS2JR6A7.js → 5TWRX7PY.js} +2 -2
  25. package/dist/cdn/{JZ5SFJOO.js → 5X7OOMK2.js} +2 -2
  26. package/dist/cdn/6HJFMJMS.js +4 -0
  27. package/dist/cdn/{2DIVO5ZO.js → 6OLW2HHO.js} +2 -2
  28. package/dist/cdn/{BNW7WT6N.js → 6ZIH3ZQN.js} +2 -2
  29. package/dist/cdn/{B4AAO2C6.js → 7CBMBOAI.js} +2 -2
  30. package/dist/cdn/{CUF5WGIS.js → 7GMFBEBI.js} +2 -2
  31. package/dist/cdn/{RBIDO2RO.js → 7T2G3VFG.js} +2 -2
  32. package/dist/cdn/{USUXDLNP.js → 7UR3NLZ5.js} +1 -1
  33. package/dist/cdn/{DK5X4XHP.js → AJZRISHQ.js} +1 -1
  34. package/dist/cdn/{4LWQNJWB.js → AND7IRTJ.js} +2 -2
  35. package/dist/cdn/{ZESLMJUU.js → ASGWBOJU.js} +2 -2
  36. package/dist/cdn/{U5HBECHC.js → AWBCWDW4.js} +1 -1
  37. package/dist/cdn/{BR7XAUXZ.js → AYQ7H7SD.js} +2 -2
  38. package/dist/cdn/{WBNBST56.js → AYUFA2QJ.js} +2 -2
  39. package/dist/cdn/{E7CHRLNE.js → B7BFI3O5.js} +2 -2
  40. package/dist/cdn/{75Z7ZFFV.js → BHQVFSBR.js} +2 -2
  41. package/dist/cdn/{IPI76TUX.js → BSO2MAQ3.js} +2 -2
  42. package/dist/cdn/{R75NSQ74.js → BSRWGKPZ.js} +2 -2
  43. package/dist/cdn/{OIYPVBHS.js → BWCDMKZO.js} +2 -2
  44. package/dist/cdn/{5WT2X5RQ.js → CAOLZCA4.js} +2 -2
  45. package/dist/cdn/{CRZB2RKC.js → CAPLUFLM.js} +2 -2
  46. package/dist/cdn/{OMVAD32R.js → CC3VRM5N.js} +1 -1
  47. package/dist/cdn/{GKSFXM7E.js → CGQWLPVU.js} +2 -2
  48. package/dist/cdn/{5TTCYL3A.js → CJW55GXG.js} +2 -2
  49. package/dist/cdn/CKS5M4NY.js +4 -0
  50. package/dist/cdn/{N4BYFZCZ.js → CYQVK5DW.js} +2 -2
  51. package/dist/cdn/{KMDRO4BW.js → CZEEVSH5.js} +2 -2
  52. package/dist/cdn/{GNHDFKKI.js → DNLO54OV.js} +2 -2
  53. package/dist/cdn/{WPZ7IBFV.js → DOLHBH4Y.js} +2 -2
  54. package/dist/cdn/{QVI2Z652.js → DWDZHEYU.js} +2 -2
  55. package/dist/cdn/{EJOA2VXI.js → E4AN2Z5G.js} +2 -2
  56. package/dist/cdn/{UMJXJLNE.js → EA3WUJAV.js} +1 -1
  57. package/dist/cdn/{VMTLGTMF.js → EKJNRGXW.js} +2 -2
  58. package/dist/cdn/{RAAHE47N.js → EVJ3O2PU.js} +2 -2
  59. package/dist/cdn/{YQCT3VZH.js → EXTWOWF7.js} +2 -2
  60. package/dist/cdn/{7UPK3HXY.js → EZHAFW7G.js} +2 -2
  61. package/dist/cdn/{Y4TN34S3.js → EZS22NTD.js} +2 -2
  62. package/dist/cdn/{CPZSBBR3.js → FAOBCDXD.js} +2 -2
  63. package/dist/cdn/{C3LYZ26F.js → FEK5LRVT.js} +2 -2
  64. package/dist/cdn/{SFBVQXID.js → FGZ4GE3Z.js} +2 -2
  65. package/dist/cdn/{43VXCGTC.js → FMNW7EAT.js} +2 -2
  66. package/dist/cdn/{ETEWO3HH.js → FRGOXADI.js} +2 -2
  67. package/dist/cdn/{IAIABHN7.js → G2FXLPE2.js} +1 -1
  68. package/dist/cdn/{CKG5JTVM.js → GDM5SASP.js} +2 -2
  69. package/dist/cdn/{LCIJJPLO.js → GGJTIZRK.js} +2 -2
  70. package/dist/cdn/{IFRUSYN5.js → GK2QAFA4.js} +2 -2
  71. package/dist/cdn/{VWYZMACB.js → GKCQCO4W.js} +2 -2
  72. package/dist/cdn/{ISTXOTYF.js → GOUJ545X.js} +2 -2
  73. package/dist/cdn/{JS3XLYGA.js → H6JE4LD3.js} +2 -2
  74. package/dist/cdn/{27D4SCCU.js → HDOE2OOS.js} +2 -2
  75. package/dist/cdn/{TBDLBXUA.js → HJJFQROY.js} +2 -2
  76. package/dist/cdn/{Z7AFR43N.js → HM3V53ES.js} +2 -2
  77. package/dist/cdn/{KFX7WHAQ.js → HRH5RWKM.js} +2 -2
  78. package/dist/cdn/{5Z43VBTH.js → HVU4RKFA.js} +2 -2
  79. package/dist/cdn/{DTPIH5YC.js → HWXJDH32.js} +2 -2
  80. package/dist/cdn/{EMHMC2A5.js → IFDJTSLM.js} +2 -2
  81. package/dist/cdn/{MPJSKFZM.js → IJ445SZ5.js} +2 -2
  82. package/dist/cdn/{AYNZQLC3.js → ILCWTLDR.js} +2 -2
  83. package/dist/cdn/{5WUAWUGJ.js → IMKKHJNW.js} +2 -2
  84. package/dist/cdn/{Z6QJPD33.js → INKE5VDF.js} +2 -2
  85. package/dist/cdn/{RLUUMRH6.js → INQSMSWP.js} +2 -2
  86. package/dist/cdn/{YONDXG6O.js → IWE7M733.js} +2 -2
  87. package/dist/cdn/{IENXDK27.js → IZD243AT.js} +2 -2
  88. package/dist/cdn/{ODCGAJJ7.js → IZIEQD2P.js} +2 -2
  89. package/dist/cdn/{FOJAOYMG.js → J2HOSFKY.js} +2 -2
  90. package/dist/cdn/{UEHYH66H.js → J64BDK7Y.js} +2 -2
  91. package/dist/cdn/{KF76D4CQ.js → J6ZNJGAI.js} +2 -2
  92. package/dist/cdn/{QZUYUKXK.js → JDRAIEOL.js} +2 -2
  93. package/dist/cdn/{G7KPOTKV.js → JNXC6IGA.js} +2 -2
  94. package/dist/cdn/{UUSSQPKD.js → JOAIMDSN.js} +2 -2
  95. package/dist/cdn/{XBK2HKVO.js → JOR2VFTZ.js} +2 -2
  96. package/dist/cdn/{27LZ4DVY.js → JWPOIPMM.js} +2 -2
  97. package/dist/cdn/{7U5GW4CM.js → KQ26TJMY.js} +2 -2
  98. package/dist/cdn/{OMFDNECG.js → KTKFTNGN.js} +2 -2
  99. package/dist/cdn/{D3ZQONCR.js → KU5UAE2A.js} +2 -2
  100. package/dist/cdn/{47CLTBGB.js → L6YB4SNV.js} +2 -2
  101. package/dist/cdn/{J4AK6SCI.js → LRCKPBRN.js} +2 -2
  102. package/dist/cdn/{X2UDCYAH.js → LWFAHU3C.js} +2 -2
  103. package/dist/cdn/{PDXI2FV2.js → LZWYYDTX.js} +2 -2
  104. package/dist/cdn/{SDFQMISV.js → M3YA6T4K.js} +1 -1
  105. package/dist/cdn/{QKYPG2EH.js → MA2CCEUQ.js} +2 -2
  106. package/dist/cdn/{A6BVNXFH.js → MB6VSA5O.js} +2 -2
  107. package/dist/cdn/{FWA4374Y.js → MB7MGYFB.js} +2 -2
  108. package/dist/cdn/{NSDR74M6.js → MC4RHIQI.js} +2 -2
  109. package/dist/cdn/{PMR4VDIK.js → MP6U6GP3.js} +1 -1
  110. package/dist/cdn/{6GIGQZHR.js → MP7F2P54.js} +2 -2
  111. package/dist/cdn/{6E2ZXCQB.js → MRVMNFGH.js} +2 -2
  112. package/dist/cdn/{5C2AYFA4.js → MVEHDGHM.js} +2 -2
  113. package/dist/cdn/{ZD3BNEAJ.js → MVO42FIG.js} +2 -2
  114. package/dist/cdn/{WWUIZNVW.js → MZNYMQ6P.js} +1 -1
  115. package/dist/cdn/{GOWQMBMQ.js → N23V6V5X.js} +2 -2
  116. package/dist/cdn/{73HYUMT7.js → N33J2AO6.js} +2 -2
  117. package/dist/cdn/{F23NRLDB.js → N7CPGSJ4.js} +2 -2
  118. package/dist/cdn/{JI7VZU6S.js → NJWF67AU.js} +2 -2
  119. package/dist/cdn/{7MMZP7GA.js → NMLGFFY6.js} +2 -2
  120. package/dist/cdn/{JDPXVUM7.js → NZLH24W2.js} +2 -2
  121. package/dist/cdn/{4IRKW6EZ.js → ODAZPS6U.js} +1 -1
  122. package/dist/cdn/{OXVZCNVW.js → OF5GAPM6.js} +1 -1
  123. package/dist/cdn/{V55H42LU.js → ONGQKTR3.js} +2 -2
  124. package/dist/cdn/{IID5CW46.js → OSIAOPB5.js} +2 -2
  125. package/dist/cdn/{WE6BFO3L.js → OSWBB4QM.js} +2 -2
  126. package/dist/cdn/{LIBZG3OA.js → P35SHWXQ.js} +2 -2
  127. package/dist/cdn/{RHJ4UZMP.js → PDNCTWDJ.js} +1 -1
  128. package/dist/cdn/{7PSHQYVZ.js → PJQJJO7Y.js} +2 -2
  129. package/dist/cdn/{UMEEYHQN.js → PJZMCYBB.js} +2 -2
  130. package/dist/cdn/{BC5HCGRZ.js → PKR5KEPJ.js} +1 -1
  131. package/dist/cdn/{AKPCZW25.js → POJJNM7Q.js} +2 -2
  132. package/dist/cdn/{SCE35YA5.js → PRYN4GDI.js} +2 -2
  133. package/dist/cdn/{KYG5SLPG.js → Q3DACHBY.js} +2 -2
  134. package/dist/cdn/{4TYXXVZN.js → QKG5YZEU.js} +2 -2
  135. package/dist/cdn/{D3CA7EQ3.js → QWCOMUEM.js} +1 -1
  136. package/dist/cdn/{D2JMSL5N.js → RJ6NSSBY.js} +2 -2
  137. package/dist/cdn/{OZIFCFNC.js → RMKFA474.js} +2 -2
  138. package/dist/cdn/{THX2ZRGC.js → RSJQKPDZ.js} +2 -2
  139. package/dist/cdn/{N5HDMM4B.js → RTL2G4IR.js} +2 -2
  140. package/dist/cdn/{LY2JQ624.js → SQ44YGXD.js} +1 -1
  141. package/dist/cdn/{GZP425U5.js → SRAGX4V4.js} +2 -2
  142. package/dist/cdn/{3UHHXNIU.js → TL3FSMRC.js} +2 -2
  143. package/dist/cdn/{DX2CQCAR.js → TOQJ3HKJ.js} +2 -2
  144. package/dist/cdn/{3GWACMHC.js → TORHPLCC.js} +1 -1
  145. package/dist/cdn/{46EWC6ZM.js → TOX7BXR3.js} +2 -2
  146. package/dist/cdn/{5LBXUTJL.js → TRSS4PDA.js} +2 -2
  147. package/dist/cdn/{5FIENARW.js → U3P4LJRG.js} +2 -2
  148. package/dist/cdn/{357J6Y3J.js → UBKPCFVI.js} +2 -2
  149. package/dist/cdn/{P5TVXUDG.js → UCC7BRCW.js} +2 -2
  150. package/dist/cdn/{FS2SPWJW.js → UCCVFWYD.js} +2 -2
  151. package/dist/cdn/{34X5TRGH.js → UXJNED3V.js} +2 -2
  152. package/dist/cdn/{QEHLXUXI.js → UXYQOYZY.js} +2 -2
  153. package/dist/cdn/{CFM24MMY.js → UZYERGKQ.js} +1 -1
  154. package/dist/cdn/{YIKQKTNW.js → V5YM45I3.js} +2 -2
  155. package/dist/cdn/{ZNPGQYLG.js → VQHYXLKQ.js} +1 -1
  156. package/dist/cdn/{4FWR6D65.js → VWIA65IX.js} +2 -2
  157. package/dist/cdn/{MVTEAHT4.js → W3WKWMTX.js} +1 -1
  158. package/dist/cdn/{J4PYZEOZ.js → W6YXEQOM.js} +2 -2
  159. package/dist/cdn/{OJYLWY5I.js → WENGGKEQ.js} +2 -2
  160. package/dist/cdn/{AETERLZL.js → WOPEKSK5.js} +2 -2
  161. package/dist/cdn/{E4RRRYEW.js → X2U4QWMO.js} +1 -1
  162. package/dist/cdn/{PXQSOCQX.js → X2VYDH3O.js} +2 -2
  163. package/dist/cdn/{WMDWFRTP.js → XFFTG2MZ.js} +2 -2
  164. package/dist/cdn/{UMNX6W7G.js → XKVZCOIU.js} +2 -2
  165. package/dist/cdn/{TDFEDVHL.js → XWMBG5ZH.js} +1 -1
  166. package/dist/cdn/{5BWPVWJD.js → Y6PD2RWZ.js} +2 -2
  167. package/dist/cdn/{HGGTNLUJ.js → YMFO3OU6.js} +2 -2
  168. package/dist/cdn/{COZENXQM.js → YN5WIEFO.js} +2 -2
  169. package/dist/cdn/{KR7YUDQH.js → ZCTOY775.js} +2 -2
  170. package/dist/cdn/{M7ADOXFB.js → ZISASVM3.js} +2 -2
  171. package/dist/cdn/{IFBILAOU.js → ZKQBKTV7.js} +2 -2
  172. package/dist/cdn/{2VFMM6P3.js → ZOUZPPQ3.js} +2 -2
  173. package/dist/cdn/{SFRVGZKL.js → ZQYAJNMT.js} +2 -2
  174. package/dist/cdn/index.js +2 -2
  175. package/dist/chunks/ExpandToggle.js +1 -1
  176. package/dist/chunks/FloatingArrow.js +1 -1
  177. package/dist/chunks/Heading.js +1 -1
  178. package/dist/chunks/InternalLabel.js +1 -1
  179. package/dist/chunks/Validation.js +1 -1
  180. package/dist/chunks/array.js +1 -1
  181. package/dist/chunks/component.js +1 -1
  182. package/dist/chunks/core.js +1 -1
  183. package/dist/chunks/date.js +1 -1
  184. package/dist/chunks/dom.js +1 -1
  185. package/dist/chunks/dynamicClasses.js +1 -1
  186. package/dist/chunks/filter.js +1 -1
  187. package/dist/chunks/floating-ui.js +1 -1
  188. package/dist/chunks/form.js +1 -1
  189. package/dist/chunks/global.js +1 -1
  190. package/dist/chunks/guid.js +1 -1
  191. package/dist/chunks/header.js +1 -1
  192. package/dist/chunks/input.js +1 -1
  193. package/dist/chunks/interact.min.js +1 -1
  194. package/dist/chunks/key.js +1 -1
  195. package/dist/chunks/label.js +1 -1
  196. package/dist/chunks/locale.js +1 -1
  197. package/dist/chunks/logger.js +1 -1
  198. package/dist/chunks/math.js +1 -1
  199. package/dist/chunks/observers.js +1 -1
  200. package/dist/chunks/openCloseComponent.js +1 -1
  201. package/dist/chunks/resources.js +1 -1
  202. package/dist/chunks/resources2.js +1 -1
  203. package/dist/chunks/resources3.js +1 -1
  204. package/dist/chunks/resources4.js +1 -1
  205. package/dist/chunks/resources5.js +1 -1
  206. package/dist/chunks/resources6.js +1 -1
  207. package/dist/chunks/resources7.js +1 -1
  208. package/dist/chunks/resources8.js +1 -1
  209. package/dist/chunks/responsive.js +1 -1
  210. package/dist/chunks/runtime.js +4 -4
  211. package/dist/chunks/sortable.js +1 -1
  212. package/dist/chunks/sortableComponent.js +1 -1
  213. package/dist/chunks/text.js +1 -1
  214. package/dist/chunks/useCancelable.js +1 -1
  215. package/dist/chunks/useFocusTrap.js +1 -1
  216. package/dist/chunks/useInteractive.js +1 -1
  217. package/dist/chunks/usePreventDocumentScroll.js +1 -1
  218. package/dist/chunks/useSetFocus.js +1 -1
  219. package/dist/chunks/useT9n.js +1 -1
  220. package/dist/chunks/useTime.js +1 -1
  221. package/dist/chunks/useTopLayer.js +1 -1
  222. package/dist/chunks/utils.js +1 -1
  223. package/dist/chunks/utils2.js +1 -1
  224. package/dist/chunks/utils3.js +1 -1
  225. package/dist/chunks/utils4.js +1 -1
  226. package/dist/components/calcite-accordion/customElement.js +1 -1
  227. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  228. package/dist/components/calcite-action/customElement.js +1 -1
  229. package/dist/components/calcite-action-bar/customElement.js +1 -1
  230. package/dist/components/calcite-action-group/customElement.js +1 -1
  231. package/dist/components/calcite-action-menu/customElement.js +1 -1
  232. package/dist/components/calcite-action-pad/customElement.js +1 -1
  233. package/dist/components/calcite-alert/customElement.js +1 -1
  234. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  235. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  236. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  237. package/dist/components/calcite-avatar/customElement.js +1 -1
  238. package/dist/components/calcite-block/customElement.js +1 -1
  239. package/dist/components/calcite-block-group/customElement.js +1 -1
  240. package/dist/components/calcite-block-section/customElement.js +1 -1
  241. package/dist/components/calcite-button/customElement.js +1 -1
  242. package/dist/components/calcite-card/customElement.js +1 -1
  243. package/dist/components/calcite-card-group/customElement.js +1 -1
  244. package/dist/components/calcite-carousel/customElement.js +1 -1
  245. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  246. package/dist/components/calcite-checkbox/customElement.js +1 -1
  247. package/dist/components/calcite-chip/customElement.js +1 -1
  248. package/dist/components/calcite-chip-group/customElement.js +1 -1
  249. package/dist/components/calcite-color-picker/customElement.js +1 -1
  250. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  251. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  252. package/dist/components/calcite-combobox/customElement.js +1 -1
  253. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  254. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  255. package/dist/components/calcite-date-picker/customElement.js +1 -1
  256. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  257. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  258. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  259. package/dist/components/calcite-dialog/customElement.js +1 -1
  260. package/dist/components/calcite-dropdown/customElement.js +1 -1
  261. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  262. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  263. package/dist/components/calcite-fab/customElement.js +1 -1
  264. package/dist/components/calcite-filter/customElement.js +1 -1
  265. package/dist/components/calcite-flow/customElement.js +1 -1
  266. package/dist/components/calcite-flow-item/customElement.js +1 -1
  267. package/dist/components/calcite-graph/customElement.js +1 -1
  268. package/dist/components/calcite-handle/customElement.js +1 -1
  269. package/dist/components/calcite-icon/customElement.js +1 -1
  270. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  271. package/dist/components/calcite-input/customElement.js +1 -1
  272. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  273. package/dist/components/calcite-input-message/customElement.js +1 -1
  274. package/dist/components/calcite-input-number/customElement.js +1 -1
  275. package/dist/components/calcite-input-text/customElement.js +1 -1
  276. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  277. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  278. package/dist/components/calcite-label/customElement.js +1 -1
  279. package/dist/components/calcite-link/customElement.js +1 -1
  280. package/dist/components/calcite-list/customElement.js +1 -1
  281. package/dist/components/calcite-list-item/customElement.js +1 -1
  282. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  283. package/dist/components/calcite-loader/customElement.js +1 -1
  284. package/dist/components/calcite-menu/customElement.js +1 -1
  285. package/dist/components/calcite-menu-item/customElement.js +1 -1
  286. package/dist/components/calcite-meter/customElement.js +1 -1
  287. package/dist/components/calcite-navigation/customElement.js +1 -1
  288. package/dist/components/calcite-navigation-logo/customElement.js +2 -2
  289. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  290. package/dist/components/calcite-notice/customElement.js +1 -1
  291. package/dist/components/calcite-option/customElement.js +1 -1
  292. package/dist/components/calcite-option-group/customElement.js +1 -1
  293. package/dist/components/calcite-pagination/customElement.js +1 -1
  294. package/dist/components/calcite-panel/customElement.js +1 -1
  295. package/dist/components/calcite-popover/customElement.js +1 -1
  296. package/dist/components/calcite-progress/customElement.js +1 -1
  297. package/dist/components/calcite-radio-button/customElement.js +1 -1
  298. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  299. package/dist/components/calcite-rating/customElement.js +1 -1
  300. package/dist/components/calcite-scrim/customElement.js +1 -1
  301. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  302. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  303. package/dist/components/calcite-select/customElement.js +1 -1
  304. package/dist/components/calcite-sheet/customElement.js +1 -1
  305. package/dist/components/calcite-shell/customElement.js +1 -1
  306. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  307. package/dist/components/calcite-slider/customElement.js +1 -1
  308. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  309. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  310. package/dist/components/calcite-split-button/customElement.js +1 -1
  311. package/dist/components/calcite-stack/customElement.js +1 -1
  312. package/dist/components/calcite-stepper/customElement.js +1 -1
  313. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  314. package/dist/components/calcite-swatch/customElement.js +1 -1
  315. package/dist/components/calcite-swatch-group/customElement.js +1 -1
  316. package/dist/components/calcite-switch/customElement.js +1 -1
  317. package/dist/components/calcite-tab/customElement.js +1 -1
  318. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  319. package/dist/components/calcite-tab-title/customElement.js +1 -1
  320. package/dist/components/calcite-table/customElement.js +1 -1
  321. package/dist/components/calcite-table-cell/customElement.js +1 -1
  322. package/dist/components/calcite-table-header/customElement.js +1 -1
  323. package/dist/components/calcite-table-row/customElement.js +1 -1
  324. package/dist/components/calcite-tabs/customElement.js +1 -1
  325. package/dist/components/calcite-text-area/customElement.d.ts +6 -0
  326. package/dist/components/calcite-text-area/customElement.js +11 -7
  327. package/dist/components/calcite-text-area/index.d.ts +1 -0
  328. package/dist/components/calcite-text-area/index.js +1 -0
  329. package/dist/components/calcite-text-area/resources.d.ts +2 -0
  330. package/dist/components/calcite-tile/customElement.js +1 -1
  331. package/dist/components/calcite-tile-group/customElement.js +1 -1
  332. package/dist/components/calcite-time-picker/customElement.js +1 -1
  333. package/dist/components/calcite-tooltip/customElement.js +1 -1
  334. package/dist/components/calcite-tree/customElement.js +1 -1
  335. package/dist/components/calcite-tree-item/customElement.js +1 -1
  336. package/dist/docs/api.json +31 -1
  337. package/dist/docs/docs.json +23 -1
  338. package/dist/docs/vscode.html-custom-data.json +5 -0
  339. package/dist/docs/web-types.json +14 -1
  340. package/dist/index.js +1 -1
  341. package/dist/loader.js +2 -2
  342. package/dist/types/lumina.d.ts +1 -1
  343. package/dist/types/preact.d.ts +1 -1
  344. package/dist/types/preact10.d.ts +1 -1
  345. package/dist/types/react.d.ts +1 -1
  346. package/dist/types/stencil.d.ts +1 -1
  347. package/package.json +2 -2
  348. package/dist/cdn/6I2LLPEJ.js +0 -4
  349. package/dist/cdn/KPLAHSMF.js +0 -4
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, nothing, html } from "lit";
6
6
  import { createRef, ref } from "lit-html/directives/ref.js";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { keyed } from "lit/directives/keyed.js";
6
6
  import { css, html, nothing, svg } from "lit";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { createRef, ref } from "lit-html/directives/ref.js";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, setAttribute, safeClassMap } from "@arcgis/lumina";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
5
5
  import { ref } from "lit/directives/ref.js";
6
6
  import { keyed } from "lit/directives/keyed.js";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { keyed } from "lit/directives/keyed.js";
6
6
  import { css, isServer, html } from "lit";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { isServer, css, nothing, html } from "lit";
6
6
  import { render } from "lit-html";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, nothing, html } from "lit";
6
6
  import { createRef, ref } from "lit-html/directives/ref.js";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, nothing, html } from "lit";
6
6
  import { createRef, ref } from "lit-html/directives/ref.js";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { keyed } from "lit/directives/keyed.js";
6
6
  import { css, html } from "lit";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, safeClassMap } from "@arcgis/lumina";
@@ -50,6 +50,12 @@ export declare class TextArea extends LitElement {
50
50
  * @default false
51
51
  */
52
52
  limitText: boolean;
53
+ /**
54
+ * When `true`, a busy indicator is displayed.
55
+ *
56
+ * @default false
57
+ */
58
+ loading: boolean;
53
59
  /**
54
60
  * When the component resides in a form,
55
61
  * specifies the maximum number of characters allowed.
@@ -1,9 +1,9 @@
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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
- import { live } from "lit/directives/live.js";
6
5
  import { css, html } from "lit";
6
+ import { live } from "lit/directives/live.js";
7
7
  import { throttle } from "es-toolkit";
8
8
  import { createRef, ref } from "lit-html/directives/ref.js";
9
9
  import { LitElement, createEvent, stringOrBoolean, safeClassMap, nothing } from "@arcgis/lumina";
@@ -35,7 +35,9 @@ const CSS = {
35
35
  footerEndSlotOnly: "footer--end-only",
36
36
  textArea: "text-area",
37
37
  textAreaOnly: "text-area--only",
38
- wrapper: "wrapper"
38
+ wrapper: "wrapper",
39
+ loaderContainer: "loader-container",
40
+ loader: "loader"
39
41
  };
40
42
  const IDS = {
41
43
  validationMessage: "textAreaValidationMessage"
@@ -46,7 +48,7 @@ const SLOTS = {
46
48
  };
47
49
  const RESIZE_TIMEOUT = 100;
48
50
  const NO_DIMENSIONS = Object.freeze({ height: 0, width: 0 });
49
- const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:inline-block;block-size:100%;inline-size:100%;--calcite-internal-text-area-border-color: var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color: var( --calcite-text-area-footer-border-color, var(--calcite-internal-text-area-border-color) );--calcite-internal-text-area-corner-radius: var( --calcite-text-area-corner-radius, var(--calcite-corner-radius-default) );--calcite-internal-text-area-shadow: var(--calcite-text-area-shadow, var(--calcite-shadow-none));--calcite-internal-text-area-footer-background-color: var( --calcite-text-area-footer-background-color, var(--calcite-text-area-background-color, var(--calcite-color-foreground-1)) );min-block-size:var(--calcite-text-area-min-height, calc(2 * var(--calcite-internal-text-area-padding-block) + 2 * var(--calcite-border-width-sm)));min-inline-size:var(--calcite-text-area-min-width, 12rem)}.wrapper{box-sizing:border-box;block-size:100%;inline-size:100%;box-shadow:var(--calcite-internal-text-area-shadow);border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area,.footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));padding-block:var(--calcite-internal-text-area-padding-block);padding-inline:var(--calcite-internal-text-area-padding-inline)}.footer{background-color:var(--calcite-internal-text-area-footer-background-color);border-radius:0 0 var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius)}.text-area{position:relative;margin:0;box-sizing:border-box;display:block;inline-size:100%;--calcite-internal-text-area-border-block-end-color: var(--calcite-internal-text-area-border-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-border-color);border-block-end-color:var(--calcite-internal-text-area-border-block-end-color);color:var(--calcite-text-area-text-color, var(--calcite-color-text-1));font-family:inherit;max-block-size:var(--calcite-text-area-max-height);min-block-size:calc(var(--calcite-text-area-min-height, 0px) - var(--calcite-internal-text-area-footer-min-height, 0px));max-inline-size:var(--calcite-text-area-max-width);min-inline-size:var(--calcite-text-area-min-width, 12rem);background-color:var(--calcite-text-area-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius) 0 0}.text-area::placeholder{font-weight:var(--calcite-font-weight-normal)}@media screen and (max-width:480px){.text-area{resize:none}}.text-area:focus{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))))}.text-area.text-area--invalid{--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}.text-area.text-area--invalid:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.footer--slotted{min-inline-size:18rem}.text-area.text-area--only{border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area:not(.text-area--only,.text-area--invalid){--calcite-internal-text-area-border-block-end-color: var( --calcite-text-area-divider-color, var(--calcite-color-border-3) )}.footer{box-sizing:border-box;display:flex;align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-footer-border-color);border-block-start:var(--calcite-border-width-none);min-block-size:var(--calcite-internal-text-area-footer-min-height)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));font-weight:var(--calcite-font-weight-regular);color:var(--calcite-text-area-character-limit-text-color, var(--calcite-color-text-2));padding-inline-start:var(--calcite-spacing-md)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}.readonly{background-color:var(--calcite-text-area-background-color, var(--calcite-color-background));font-weight:var(--calcite-font-weight-medium)}.footer.readonly{background-color:var(--calcite-internal-text-area-footer-background-color, var(--calcite-color-background))}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.text-area.text-area--only{block-size:100%;min-block-size:var(--calcite-text-area-min-height, 0)}:host([resize=none]) .text-area{resize:none}:host([resize=horizontal]) .text-area{resize:horizontal}:host([resize=vertical]) .text-area{resize:vertical}:host([scale=s]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-xxs);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-sm);--calcite-internal-text-area-footer-min-height: 1.75rem}:host([scale=s]) .text-area,:host([scale=s]) .footer,:host([scale=s]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--2))}:host([scale=s]) .character-limit{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-sm);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-md);--calcite-internal-text-area-footer-min-height: 2.25rem}:host([scale=l]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-md);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-lg);--calcite-internal-text-area-footer-min-height: 2.75rem}:host([scale=l]) .text-area,:host([scale=l]) .footer,:host([scale=l]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0))}:host([scale=l]) .character-limit{padding-inline-start:var(--calcite-spacing-lg)}:host([status=invalid]){--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}:host([status=invalid]) .text-area:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([disabled]) .text-area,:host([disabled]) .footer{opacity:var(--calcite-opacity-half)}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-placeholder-text-color, var(--calcite-color-text-3))}`;
51
+ const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:inline-block;block-size:100%;inline-size:100%;--calcite-internal-text-area-border-color: var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color: var( --calcite-text-area-footer-border-color, var(--calcite-internal-text-area-border-color) );--calcite-internal-text-area-corner-radius: var( --calcite-text-area-corner-radius, var(--calcite-corner-radius-default) );--calcite-internal-text-area-shadow: var(--calcite-text-area-shadow, var(--calcite-shadow-none));--calcite-internal-text-area-footer-background-color: var( --calcite-text-area-footer-background-color, var(--calcite-text-area-background-color, var(--calcite-color-foreground-1)) );min-block-size:var(--calcite-text-area-min-height, calc(2 * var(--calcite-internal-text-area-padding-block) + 2 * var(--calcite-border-width-sm)));min-inline-size:var(--calcite-text-area-min-width, 12rem)}.wrapper{box-sizing:border-box;block-size:100%;inline-size:100%;box-shadow:var(--calcite-internal-text-area-shadow);border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area,.footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));padding-block:var(--calcite-internal-text-area-padding-block);padding-inline:var(--calcite-internal-text-area-padding-inline)}.footer{background-color:var(--calcite-internal-text-area-footer-background-color);border-radius:0 0 var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius)}.text-area{position:relative;margin:0;box-sizing:border-box;display:block;inline-size:100%;--calcite-internal-text-area-border-block-end-color: var(--calcite-internal-text-area-border-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-border-color);border-block-end-color:var(--calcite-internal-text-area-border-block-end-color);color:var(--calcite-text-area-text-color, var(--calcite-color-text-1));font-family:inherit;max-block-size:var(--calcite-text-area-max-height);min-block-size:calc(var(--calcite-text-area-min-height, 0px) - var(--calcite-internal-text-area-footer-min-height, 0px));max-inline-size:var(--calcite-text-area-max-width);min-inline-size:var(--calcite-text-area-min-width, 12rem);background-color:var(--calcite-text-area-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius) 0 0}.text-area::placeholder{font-weight:var(--calcite-font-weight-normal)}@media screen and (max-width:480px){.text-area{resize:none}}.text-area:focus{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))))}.text-area.text-area--invalid{--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}.text-area.text-area--invalid:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.footer--slotted{min-inline-size:18rem}.text-area.text-area--only{border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area:not(.text-area--only,.text-area--invalid){--calcite-internal-text-area-border-block-end-color: var( --calcite-text-area-divider-color, var(--calcite-color-border-3) )}.loader-container{position:relative;block-size:inherit}.loader{position:absolute;inset-block-start:0;inset-block-start:var(--calcite-spacing-px);inset-inline:var(--calcite-spacing-px)}.footer{box-sizing:border-box;display:flex;align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-footer-border-color);border-block-start:var(--calcite-border-width-none);min-block-size:var(--calcite-internal-text-area-footer-min-height)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));font-weight:var(--calcite-font-weight-regular);color:var(--calcite-text-area-character-limit-text-color, var(--calcite-color-text-2));padding-inline-start:var(--calcite-spacing-md)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}.readonly{background-color:var(--calcite-text-area-background-color, var(--calcite-color-background));font-weight:var(--calcite-font-weight-medium)}.footer.readonly{background-color:var(--calcite-internal-text-area-footer-background-color, var(--calcite-color-background))}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.text-area.text-area--only{block-size:100%;min-block-size:var(--calcite-text-area-min-height, 0)}:host([resize=none]) .text-area{resize:none}:host([resize=horizontal]) .text-area{resize:horizontal}:host([resize=vertical]) .text-area{resize:vertical}:host([scale=s]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-xxs);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-sm);--calcite-internal-text-area-footer-min-height: 1.75rem}:host([scale=s]) .text-area,:host([scale=s]) .footer,:host([scale=s]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--2))}:host([scale=s]) .character-limit{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-sm);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-md);--calcite-internal-text-area-footer-min-height: 2.25rem}:host([scale=l]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-md);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-lg);--calcite-internal-text-area-footer-min-height: 2.75rem}:host([scale=l]) .text-area,:host([scale=l]) .footer,:host([scale=l]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0))}:host([scale=l]) .character-limit{padding-inline-start:var(--calcite-spacing-lg)}:host([status=invalid]){--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}:host([status=invalid]) .text-area:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([disabled]) .text-area,:host([disabled]) .footer{opacity:var(--calcite-opacity-half)}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-placeholder-text-color, var(--calcite-color-text-3))}`;
50
52
  class TextArea extends LitElement {
51
53
  constructor() {
52
54
  super(...arguments);
@@ -80,6 +82,7 @@ class TextArea extends LitElement {
80
82
  this.disabled = false;
81
83
  this.groupSeparator = false;
82
84
  this.limitText = false;
85
+ this.loading = false;
83
86
  this.readOnly = false;
84
87
  this.required = false;
85
88
  this.resize = "both";
@@ -104,7 +107,7 @@ class TextArea extends LitElement {
104
107
  this.calciteTextAreaInput = createEvent();
105
108
  }
106
109
  static {
107
- this.properties = { endSlotHasElements: [16, {}, { state: true }], startSlotHasElements: [16, {}, { state: true }], columns: [11, {}, { reflect: true, type: Number }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, limitText: [7, {}, { reflect: true, type: Boolean }], maxLength: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], minLength: [11, {}, { reflect: true, type: Number }], name: [3, {}, { reflect: true }], numberingSystem: 1, placeholder: 1, readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], resize: [3, {}, { reflect: true }], rows: [11, {}, { reflect: true, type: Number }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [0, {}, { attribute: false }], value: 1, wrap: [3, {}, { reflect: true }] };
110
+ this.properties = { endSlotHasElements: [16, {}, { state: true }], startSlotHasElements: [16, {}, { state: true }], columns: [11, {}, { reflect: true, type: Number }], disabled: [7, {}, { reflect: true, type: Boolean }], form: [3, {}, { reflect: true }], groupSeparator: [7, {}, { reflect: true, type: Boolean }], label: 1, labelText: 1, limitText: [7, {}, { reflect: true, type: Boolean }], loading: [7, {}, { reflect: true, type: Boolean }], maxLength: [11, {}, { reflect: true, type: Number }], messageOverrides: [0, {}, { attribute: false }], minLength: [11, {}, { reflect: true, type: Number }], name: [3, {}, { reflect: true }], numberingSystem: 1, placeholder: 1, readOnly: [7, {}, { reflect: true, type: Boolean }], required: [7, {}, { reflect: true, type: Boolean }], resize: [3, {}, { reflect: true }], rows: [11, {}, { reflect: true, type: Number }], scale: [3, {}, { reflect: true }], status: [3, {}, { reflect: true }], validationIcon: [3, { converter: stringOrBoolean, type: String }, { reflect: true }], validationMessage: 1, validity: [0, {}, { attribute: false }], value: 1, wrap: [3, {}, { reflect: true }] };
108
111
  }
109
112
  static {
110
113
  this.styles = styles;
@@ -217,7 +220,8 @@ class TextArea extends LitElement {
217
220
  }
218
221
  render() {
219
222
  const hasFooter = this.startSlotHasElements || this.endSlotHasElements || !!this.maxLength;
220
- return this.interactiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap(CSS.wrapper)}>${this.labelText && InternalLabel({ labelText: this.labelText, onClick: this.onLabelClick, required: this.required, tooltipText: this.messages.required }) || ""}<textarea aria-describedby=${this.guid ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid" || this.isCharacterLimitExceeded()} .ariaLabel=${getLabelText(this)} .autofocus=${this.el.autofocus} class=${safeClassMap({
223
+ const loader = html`<div class=${safeClassMap(CSS.loader)}><calcite-progress .label=${this.messages.loading} type=indeterminate></calcite-progress></div>`;
224
+ return this.interactiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap(CSS.wrapper)}>${this.labelText && InternalLabel({ labelText: this.labelText, onClick: this.onLabelClick, required: this.required, tooltipText: this.messages.required }) || ""}<div class=${safeClassMap(CSS.loaderContainer)}>${this.loading ? loader : null}<textarea aria-describedby=${this.guid ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid" || this.isCharacterLimitExceeded()} .ariaLabel=${getLabelText(this)} .autofocus=${this.el.autofocus} class=${safeClassMap({
221
225
  [CSS.textArea]: true,
222
226
  [CSS.readOnly]: this.readOnly,
223
227
  [CSS.textAreaInvalid]: this.isCharacterLimitExceeded(),
@@ -230,7 +234,7 @@ class TextArea extends LitElement {
230
234
  })} ${ref(this.footerRef)}><div class=${safeClassMap({
231
235
  [CSS.container]: true,
232
236
  [CSS.footerEndSlotOnly]: !this.startSlotHasElements && this.endSlotHasElements
233
- })}><slot name=${SLOTS.footerStart} @slotchange=${(event) => this.startSlotHasElements = slotChangeHasAssignedElement(event)}></slot><slot name=${SLOTS.footerEnd} @slotchange=${(event) => this.endSlotHasElements = slotChangeHasAssignedElement(event)}></slot></div>${this.renderCharacterLimit()}</footer>${HiddenFormInputSlot({ component: this })}${this.isCharacterLimitExceeded() && html`<span aria-live=polite class=${safeClassMap(CSS.assistiveText)} id=${this.guid ?? nothing}>${this.replacePlaceholdersInMessages()}</span>` || ""}${this.validationMessage && this.status === "invalid" ? Validation({ icon: this.validationIcon, id: IDS.validationMessage, message: this.validationMessage, ref: this.setValidationRef, scale: this.scale, status: this.status }) : null}</div>` });
237
+ })}><slot name=${SLOTS.footerStart} @slotchange=${(event) => this.startSlotHasElements = slotChangeHasAssignedElement(event)}></slot><slot name=${SLOTS.footerEnd} @slotchange=${(event) => this.endSlotHasElements = slotChangeHasAssignedElement(event)}></slot></div>${this.renderCharacterLimit()}</footer>${HiddenFormInputSlot({ component: this })}${this.isCharacterLimitExceeded() && html`<span aria-live=polite class=${safeClassMap(CSS.assistiveText)} id=${this.guid ?? nothing}>${this.replacePlaceholdersInMessages()}</span>` || ""}</div>${this.validationMessage && this.status === "invalid" ? Validation({ icon: this.validationIcon, id: IDS.validationMessage, message: this.validationMessage, ref: this.setValidationRef, scale: this.scale, status: this.status }) : null}</div>` });
234
238
  }
235
239
  renderCharacterLimit() {
236
240
  if (this.maxLength) {
@@ -1,2 +1,3 @@
1
1
  import "../calcite-input-message/index.js";
2
+ import "../calcite-progress/index.js";
2
3
  export * from "./customElement.js";
@@ -1,2 +1,3 @@
1
1
  import "../calcite-input-message/index.js";
2
+ import "../calcite-progress/index.js";
2
3
  export * from "./customElement.js";
@@ -16,6 +16,8 @@ export declare const CSS: {
16
16
  textArea: string;
17
17
  textAreaOnly: string;
18
18
  wrapper: string;
19
+ loaderContainer: string;
20
+ loader: string;
19
21
  };
20
22
  export declare const IDS: {
21
23
  validationMessage: string;
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { ref } from "lit/directives/ref.js";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { ref } from "lit/directives/ref.js";
6
6
  import { css, html } from "lit";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, createEvent, setAttribute, safeClassMap } from "@arcgis/lumina";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { c as customElement } from "../../chunks/runtime.js";
5
5
  import { css, html } from "lit";
6
6
  import { LitElement, createEvent, setAttribute } from "@arcgis/lumina";
@@ -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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { C as CSS_UTILITY, c as customElement } from "../../chunks/runtime.js";
5
5
  import { keyed } from "lit/directives/keyed.js";
6
6
  import { css, html, nothing } from "lit";
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-01-15T12:09:30",
2
+ "timestamp": "2026-01-15T17:42:57",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
5
  "version": "5.0.0-next.76",
@@ -52918,6 +52918,22 @@
52918
52918
  "attribute": "limit-text",
52919
52919
  "reflects": true
52920
52920
  },
52921
+ {
52922
+ "kind": "field",
52923
+ "name": "loading",
52924
+ "description": "When `true`, a busy indicator is displayed.",
52925
+ "type": {
52926
+ "text": "boolean",
52927
+ "values": [
52928
+ {
52929
+ "type": "boolean"
52930
+ }
52931
+ ]
52932
+ },
52933
+ "default": "false",
52934
+ "attribute": "loading",
52935
+ "reflects": true
52936
+ },
52921
52937
  {
52922
52938
  "kind": "field",
52923
52939
  "name": "maxLength",
@@ -53438,6 +53454,20 @@
53438
53454
  "default": "false",
53439
53455
  "fieldName": "limitText"
53440
53456
  },
53457
+ {
53458
+ "name": "loading",
53459
+ "description": "When `true`, a busy indicator is displayed.",
53460
+ "type": {
53461
+ "text": "boolean",
53462
+ "values": [
53463
+ {
53464
+ "type": "boolean"
53465
+ }
53466
+ ]
53467
+ },
53468
+ "default": "false",
53469
+ "fieldName": "loading"
53470
+ },
53441
53471
  {
53442
53472
  "name": "max-length",
53443
53473
  "description": "When the component resides in a form,\nspecifies the maximum number of characters allowed.",
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-01-15T12:09:30",
2
+ "timestamp": "2026-01-15T17:42:57",
3
3
  "compiler": {
4
4
  "name": "@arcgis/lumina-compiler",
5
5
  "version": "5.0.0-next.76",
@@ -44772,6 +44772,28 @@
44772
44772
  "optional": true,
44773
44773
  "required": false
44774
44774
  },
44775
+ {
44776
+ "name": "loading",
44777
+ "type": "boolean",
44778
+ "complexType": {
44779
+ "original": "boolean",
44780
+ "resolved": "boolean",
44781
+ "references": {}
44782
+ },
44783
+ "mutable": true,
44784
+ "attr": "loading",
44785
+ "reflectToAttr": true,
44786
+ "docs": "When `true`, a busy indicator is displayed.",
44787
+ "docsTags": [],
44788
+ "default": "false",
44789
+ "values": [
44790
+ {
44791
+ "type": "boolean"
44792
+ }
44793
+ ],
44794
+ "optional": true,
44795
+ "required": false
44796
+ },
44775
44797
  {
44776
44798
  "name": "maxLength",
44777
44799
  "type": "number",
@@ -8612,6 +8612,11 @@
8612
8612
  "description": "When `true`, prevents input beyond the `maxLength` value, mimicking native text area behavior.",
8613
8613
  "values": []
8614
8614
  },
8615
+ {
8616
+ "name": "loading",
8617
+ "description": "When `true`, a busy indicator is displayed.",
8618
+ "values": []
8619
+ },
8615
8620
  {
8616
8621
  "name": "max-length",
8617
8622
  "description": "When the component resides in a form,\nspecifies the maximum number of characters allowed.",
@@ -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.64",
4
+ "version": "5.0.0-next.66",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -17764,6 +17764,14 @@
17764
17764
  "type": "boolean"
17765
17765
  }
17766
17766
  },
17767
+ {
17768
+ "name": "loading",
17769
+ "description": "When `true`, a busy indicator is displayed.",
17770
+ "default": "false",
17771
+ "value": {
17772
+ "type": "boolean"
17773
+ }
17774
+ },
17767
17775
  {
17768
17776
  "name": "max-length",
17769
17777
  "description": "When the component resides in a form,\nspecifies the maximum number of characters allowed.",
@@ -17964,6 +17972,11 @@
17964
17972
  "description": "When `true`, prevents input beyond the `maxLength` value, mimicking native text area behavior.",
17965
17973
  "type": "boolean"
17966
17974
  },
17975
+ {
17976
+ "name": "loading",
17977
+ "description": "When `true`, a busy indicator is displayed.",
17978
+ "type": "boolean"
17979
+ },
17967
17980
  {
17968
17981
  "name": "maxLength",
17969
17982
  "description": "When the component resides in a form,\nspecifies the maximum number of characters allowed.",
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.64 */
3
+ v5.0.0-next.66 */
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.64 */
3
+ v5.0.0-next.66 */
4
4
  import { r as runtime } from "./chunks/runtime.js";
5
5
  import { makeDefineCustomElements } from "@arcgis/lumina";
6
6
  const defineCustomElements = makeDefineCustomElements(runtime, {
@@ -103,7 +103,7 @@ const defineCustomElements = makeDefineCustomElements(runtime, {
103
103
  "calcite-table-header": [() => import("./components/calcite-table-header/customElement.js"), "alignment,bodyRowCount,colSpan,description,heading,interactionMode,lastCell,messageOverrides:,numberCell,parentRowAlignment,parentRowIsSelected,parentRowType,positionInRow,rowSpan,scale,selectedRowCount,selectedRowCountLocalized,selectionCell,selectionMode;setFocus"],
104
104
  "calcite-table-row": [() => import("./components/calcite-table-row/customElement.js"), "alignment,bodyRowCount,cellCount,disabled,interactionMode,itemHidden,lastVisibleRow,numbered,positionAll,positionSection,positionSectionLocalized,readCellContentsToAT,rowType,scale,selected,selectedRowCount,selectedRowCountLocalized,selectionMode"],
105
105
  "calcite-tabs": [() => import("./components/calcite-tabs/customElement.js"), "bordered,layout,position,scale"],
106
- "calcite-text-area": [() => import("./components/calcite-text-area/customElement.js"), "columns,disabled,form,groupSeparator,label,labelText,limitText,maxLength,messageOverrides:,minLength,name,numberingSystem,placeholder,readOnly,required,resize,rows,scale,status,validationIcon,validationMessage,validity:,value,wrap;selectText,setFocus"],
106
+ "calcite-text-area": [() => import("./components/calcite-text-area/customElement.js"), "columns,disabled,form,groupSeparator,label,labelText,limitText,loading,maxLength,messageOverrides:,minLength,name,numberingSystem,placeholder,readOnly,required,resize,rows,scale,status,validationIcon,validationMessage,validity:,value,wrap;selectText,setFocus"],
107
107
  "calcite-tile": [() => import("./components/calcite-tile/customElement.js"), "active,alignment,description,disabled,embed,heading,headingLevel,href,icon,iconFlipRtl,interactive,label,layout,scale,selected,selectionAppearance,selectionMode;setFocus"],
108
108
  "calcite-tile-group": [() => import("./components/calcite-tile-group/customElement.js"), "alignment,disabled,label,layout,scale,selectedItems:,selectionAppearance,selectionMode"],
109
109
  "calcite-time-picker": [() => import("./components/calcite-time-picker/customElement.js"), "hourFormat,messageOverrides:,numberingSystem,scale,step,time:,value;setFocus"],
@@ -580,7 +580,7 @@ interface LuminaCalciteTableRow extends Partial<Pick<TableRow, 'alignment' | 'di
580
580
  interface LuminaCalciteTabs extends Partial<Pick<Tabs, 'bordered' | 'layout' | 'position' | 'scale'>>, h.JSX.HTMLAttributes<HTMLCalciteTabsElement> {
581
581
  }
582
582
 
583
- interface LuminaCalciteTextArea extends Partial<Pick<TextArea, 'columns' | 'disabled' | 'form' | 'groupSeparator' | 'label' | 'labelText' | 'limitText' | 'maxLength' | 'messageOverrides' | 'minLength' | 'name' | 'numberingSystem' | 'placeholder' | 'readOnly' | 'required' | 'resize' | 'rows' | 'scale' | 'status' | 'validationIcon' | 'validationMessage' | 'value' | 'wrap'>>, h.JSX.HTMLAttributes<HTMLCalciteTextAreaElement> {
583
+ interface LuminaCalciteTextArea extends Partial<Pick<TextArea, 'columns' | 'disabled' | 'form' | 'groupSeparator' | 'label' | 'labelText' | 'limitText' | 'loading' | 'maxLength' | 'messageOverrides' | 'minLength' | 'name' | 'numberingSystem' | 'placeholder' | 'readOnly' | 'required' | 'resize' | 'rows' | 'scale' | 'status' | 'validationIcon' | 'validationMessage' | 'value' | 'wrap'>>, h.JSX.HTMLAttributes<HTMLCalciteTextAreaElement> {
584
584
  oncalciteTextAreaChange?: EventHandler<HTMLCalciteTextAreaElement["calciteTextAreaChange"]>;
585
585
  oncalciteTextAreaInput?: EventHandler<HTMLCalciteTextAreaElement["calciteTextAreaInput"]>;
586
586
  }
@@ -581,7 +581,7 @@ interface PreactCalciteTableRow extends Partial<Pick<TableRow, 'alignment' | 'di
581
581
  interface PreactCalciteTabs extends Partial<Pick<Tabs, 'bordered' | 'layout' | 'position' | 'scale'>>, HTMLAttributes<HTMLCalciteTabsElement> {
582
582
  }
583
583
 
584
- interface PreactCalciteTextArea extends Partial<Pick<TextArea, 'columns' | 'disabled' | 'form' | 'groupSeparator' | 'label' | 'labelText' | 'limitText' | 'maxLength' | 'messageOverrides' | 'minLength' | 'name' | 'numberingSystem' | 'placeholder' | 'readOnly' | 'required' | 'resize' | 'rows' | 'scale' | 'status' | 'validationIcon' | 'validationMessage' | 'value' | 'wrap'>>, HTMLAttributes<HTMLCalciteTextAreaElement> {
584
+ interface PreactCalciteTextArea extends Partial<Pick<TextArea, 'columns' | 'disabled' | 'form' | 'groupSeparator' | 'label' | 'labelText' | 'limitText' | 'loading' | 'maxLength' | 'messageOverrides' | 'minLength' | 'name' | 'numberingSystem' | 'placeholder' | 'readOnly' | 'required' | 'resize' | 'rows' | 'scale' | 'status' | 'validationIcon' | 'validationMessage' | 'value' | 'wrap'>>, HTMLAttributes<HTMLCalciteTextAreaElement> {
585
585
  oncalciteTextAreaChange?: EventHandler<HTMLCalciteTextAreaElement["calciteTextAreaChange"]>;
586
586
  oncalciteTextAreaInput?: EventHandler<HTMLCalciteTextAreaElement["calciteTextAreaInput"]>;
587
587
  }
@@ -681,7 +681,7 @@ interface PreactCalciteTabs extends Partial<Pick<Tabs, 'bordered' | 'layout' | '
681
681
  }
682
682
 
683
683
  /** @deprecated Update to Preact 10.27.2+ or 11+ and consume types/preact file over types/preact10 */
684
- interface PreactCalciteTextArea extends Partial<Pick<TextArea, 'columns' | 'disabled' | 'form' | 'groupSeparator' | 'label' | 'labelText' | 'limitText' | 'maxLength' | 'messageOverrides' | 'minLength' | 'name' | 'numberingSystem' | 'placeholder' | 'readOnly' | 'required' | 'resize' | 'rows' | 'scale' | 'status' | 'validationIcon' | 'validationMessage' | 'value' | 'wrap'>>, PreactJsx.HTMLAttributes<HTMLCalciteTextAreaElement> {
684
+ interface PreactCalciteTextArea extends Partial<Pick<TextArea, 'columns' | 'disabled' | 'form' | 'groupSeparator' | 'label' | 'labelText' | 'limitText' | 'loading' | 'maxLength' | 'messageOverrides' | 'minLength' | 'name' | 'numberingSystem' | 'placeholder' | 'readOnly' | 'required' | 'resize' | 'rows' | 'scale' | 'status' | 'validationIcon' | 'validationMessage' | 'value' | 'wrap'>>, PreactJsx.HTMLAttributes<HTMLCalciteTextAreaElement> {
685
685
  oncalciteTextAreaChange?: EventHandler<HTMLCalciteTextAreaElement["calciteTextAreaChange"]>;
686
686
  oncalciteTextAreaInput?: EventHandler<HTMLCalciteTextAreaElement["calciteTextAreaInput"]>;
687
687
  }
@@ -581,7 +581,7 @@ interface ReactCalciteTableRow extends Partial<Pick<TableRow, 'alignment' | 'dis
581
581
  interface ReactCalciteTabs extends Partial<Pick<Tabs, 'bordered' | 'layout' | 'position' | 'scale'>>, HTMLProps<HTMLCalciteTabsElement> {
582
582
  }
583
583
 
584
- interface ReactCalciteTextArea extends Partial<Pick<TextArea, 'columns' | 'disabled' | 'form' | 'groupSeparator' | 'label' | 'labelText' | 'limitText' | 'maxLength' | 'messageOverrides' | 'minLength' | 'name' | 'numberingSystem' | 'placeholder' | 'readOnly' | 'required' | 'resize' | 'rows' | 'scale' | 'status' | 'validationIcon' | 'validationMessage' | 'value' | 'wrap'>>, HTMLProps<HTMLCalciteTextAreaElement> {
584
+ interface ReactCalciteTextArea extends Partial<Pick<TextArea, 'columns' | 'disabled' | 'form' | 'groupSeparator' | 'label' | 'labelText' | 'limitText' | 'loading' | 'maxLength' | 'messageOverrides' | 'minLength' | 'name' | 'numberingSystem' | 'placeholder' | 'readOnly' | 'required' | 'resize' | 'rows' | 'scale' | 'status' | 'validationIcon' | 'validationMessage' | 'value' | 'wrap'>>, HTMLProps<HTMLCalciteTextAreaElement> {
585
585
  oncalciteTextAreaChange?: EventHandler<HTMLCalciteTextAreaElement["calciteTextAreaChange"]>;
586
586
  oncalciteTextAreaInput?: EventHandler<HTMLCalciteTextAreaElement["calciteTextAreaInput"]>;
587
587
  }
@@ -581,7 +581,7 @@ interface StencilCalciteTableRow extends Partial<Pick<TableRow, 'alignment' | 'd
581
581
  interface StencilCalciteTabs extends Partial<Pick<Tabs, 'bordered' | 'layout' | 'position' | 'scale'>>, StencilJsx.HTMLAttributes<HTMLCalciteTabsElement> {
582
582
  }
583
583
 
584
- interface StencilCalciteTextArea extends Partial<Pick<TextArea, 'columns' | 'disabled' | 'form' | 'groupSeparator' | 'label' | 'labelText' | 'limitText' | 'maxLength' | 'messageOverrides' | 'minLength' | 'name' | 'numberingSystem' | 'placeholder' | 'readOnly' | 'required' | 'resize' | 'rows' | 'scale' | 'status' | 'validationIcon' | 'validationMessage' | 'value' | 'wrap'>>, StencilJsx.HTMLAttributes<HTMLCalciteTextAreaElement> {
584
+ interface StencilCalciteTextArea extends Partial<Pick<TextArea, 'columns' | 'disabled' | 'form' | 'groupSeparator' | 'label' | 'labelText' | 'limitText' | 'loading' | 'maxLength' | 'messageOverrides' | 'minLength' | 'name' | 'numberingSystem' | 'placeholder' | 'readOnly' | 'required' | 'resize' | 'rows' | 'scale' | 'status' | 'validationIcon' | 'validationMessage' | 'value' | 'wrap'>>, StencilJsx.HTMLAttributes<HTMLCalciteTextAreaElement> {
585
585
  onCalciteTextAreaChange?: EventHandler<HTMLCalciteTextAreaElement["calciteTextAreaChange"]>;
586
586
  onCalciteTextAreaInput?: EventHandler<HTMLCalciteTextAreaElement["calciteTextAreaInput"]>;
587
587
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/calcite-components",
3
- "version": "5.0.0-next.64",
3
+ "version": "5.0.0-next.66",
4
4
  "description": "Web Components for Esri's Calcite Design System.",
5
5
  "homepage": "https://developers.arcgis.com/calcite-design-system/",
6
6
  "repository": {
@@ -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": "66c1959209a5cab94b190facf8a25410a8cf1ac2"
113
+ "gitHead": "7e271c837cee637a7205c2ec4cb70c2e6259b5a6"
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.64 */
4
- import{a as B}from"./3GWACMHC.js";import{m as c}from"./GKSFXM7E.js";import{a as q}from"./E7CHRLNE.js";import{a as j}from"./KF76D4CQ.js";import{c as R,d as W,e as F}from"./34X5TRGH.js";import{c as O,e as A,h as H}from"./SFRVGZKL.js";import{a as T}from"./6E2ZXCQB.js";import{a as M}from"./47CLTBGB.js";import{c as I}from"./SDFQMISV.js";import"./CFM24MMY.js";import{a as k,b as L}from"./OMVAD32R.js";import{a as C}from"./XBK2HKVO.js";import{a as $}from"./YQCT3VZH.js";import"./RHJ4UZMP.js";import{c as E}from"./EJOA2VXI.js";import{t as u}from"./5BWPVWJD.js";import{a as S}from"./USUXDLNP.js";import{A as v,B as b,C as m,D as y,E as i,G as r,I as z,P as w,g as x,h as o,o as g}from"./DV36KTWQ.js";var a={assistiveText:"assistive-text",characterLimit:"character-limit",content:"content",container:"container",footer:"footer",characterOverLimit:"character--over-limit",readOnly:"readonly",textAreaInvalid:"text-area--invalid",footerSlotted:"footer--slotted",hide:"hide",footerEndSlotOnly:"footer--end-only",textArea:"text-area",textAreaOnly:"text-area--only",wrapper:"wrapper"},N={validationMessage:"textAreaValidationMessage"},V={footerStart:"footer-start",footerEnd:"footer-end"},P=100,f=Object.freeze({height:0,width:0}),U=x`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:inline-block;block-size:100%;inline-size:100%;--calcite-internal-text-area-border-color: var(--calcite-text-area-border-color, var(--calcite-color-border-input));--calcite-internal-text-area-footer-border-color: var( --calcite-text-area-footer-border-color, var(--calcite-internal-text-area-border-color) );--calcite-internal-text-area-corner-radius: var( --calcite-text-area-corner-radius, var(--calcite-corner-radius-default) );--calcite-internal-text-area-shadow: var(--calcite-text-area-shadow, var(--calcite-shadow-none));--calcite-internal-text-area-footer-background-color: var( --calcite-text-area-footer-background-color, var(--calcite-text-area-background-color, var(--calcite-color-foreground-1)) );min-block-size:var(--calcite-text-area-min-height, calc(2 * var(--calcite-internal-text-area-padding-block) + 2 * var(--calcite-border-width-sm)));min-inline-size:var(--calcite-text-area-min-width, 12rem)}.wrapper{box-sizing:border-box;block-size:100%;inline-size:100%;box-shadow:var(--calcite-internal-text-area-shadow);border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area,.footer{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));padding-block:var(--calcite-internal-text-area-padding-block);padding-inline:var(--calcite-internal-text-area-padding-inline)}.footer{background-color:var(--calcite-internal-text-area-footer-background-color);border-radius:0 0 var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius)}.text-area{position:relative;margin:0;box-sizing:border-box;display:block;inline-size:100%;--calcite-internal-text-area-border-block-end-color: var(--calcite-internal-text-area-border-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-border-color);border-block-end-color:var(--calcite-internal-text-area-border-block-end-color);color:var(--calcite-text-area-text-color, var(--calcite-color-text-1));font-family:inherit;max-block-size:var(--calcite-text-area-max-height);min-block-size:calc(var(--calcite-text-area-min-height, 0px) - var(--calcite-internal-text-area-footer-min-height, 0px));max-inline-size:var(--calcite-text-area-max-width);min-inline-size:var(--calcite-text-area-min-width, 12rem);background-color:var(--calcite-text-area-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-internal-text-area-corner-radius) var(--calcite-internal-text-area-corner-radius) 0 0}.text-area::placeholder{font-weight:var(--calcite-font-weight-normal)}@media screen and (max-width:480px){.text-area{resize:none}}.text-area:focus{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))))}.text-area.text-area--invalid{--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}.text-area.text-area--invalid:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.text-area.footer--slotted{min-inline-size:18rem}.text-area.text-area--only{border-radius:var(--calcite-internal-text-area-corner-radius)}.text-area:not(.text-area--only,.text-area--invalid){--calcite-internal-text-area-border-block-end-color: var( --calcite-text-area-divider-color, var(--calcite-color-border-3) )}.footer{box-sizing:border-box;display:flex;align-items:center;border:var(--calcite-border-width-sm) solid var(--calcite-internal-text-area-footer-border-color);border-block-start:var(--calcite-border-width-none);min-block-size:var(--calcite-internal-text-area-footer-min-height)}.character-limit{display:flex;align-items:center;justify-content:flex-end;white-space:nowrap;font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--1));font-weight:var(--calcite-font-weight-regular);color:var(--calcite-text-area-character-limit-text-color, var(--calcite-color-text-2));padding-inline-start:var(--calcite-spacing-md)}.character--over-limit{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-status-danger)}.readonly{background-color:var(--calcite-text-area-background-color, var(--calcite-color-background));font-weight:var(--calcite-font-weight-medium)}.footer.readonly{background-color:var(--calcite-internal-text-area-footer-background-color, var(--calcite-color-background))}.content,.hide{display:none}.container{display:flex;inline-size:100%;justify-content:space-between}.footer--end-only{justify-content:flex-end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.text-area.text-area--only{block-size:100%;min-block-size:var(--calcite-text-area-min-height, 0)}:host([resize=none]) .text-area{resize:none}:host([resize=horizontal]) .text-area{resize:horizontal}:host([resize=vertical]) .text-area{resize:vertical}:host([scale=s]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-xxs);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-sm);--calcite-internal-text-area-footer-min-height: 1.75rem}:host([scale=s]) .text-area,:host([scale=s]) .footer,:host([scale=s]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size--2))}:host([scale=s]) .character-limit{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-sm);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-md);--calcite-internal-text-area-footer-min-height: 2.25rem}:host([scale=l]){--calcite-internal-text-area-padding-block: var(--calcite-spacing-md);--calcite-internal-text-area-padding-inline: var(--calcite-spacing-lg);--calcite-internal-text-area-footer-min-height: 2.75rem}:host([scale=l]) .text-area,:host([scale=l]) .footer,:host([scale=l]) .character-limit{font-size:var(--calcite-text-area-font-size, var(--calcite-font-size-0))}:host([scale=l]) .character-limit{padding-inline-start:var(--calcite-spacing-lg)}:host([status=invalid]){--calcite-internal-text-area-border-color: var(--calcite-color-status-danger)}:host([status=invalid]) .text-area:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([disabled]) .text-area,:host([disabled]) .footer{opacity:var(--calcite-opacity-half)}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}::placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-placeholder-text-color, var(--calcite-color-text-3))}`,p=class extends y{constructor(){super(...arguments),this.attributeWatch=E(["autofocus","spellcheck"],this.handleGlobalAttributesChanged),this.footerRef=b(),this.guid=S(),this.resizeObserver=k("resize",async()=>{await this.componentOnReady();let{textAreaHeight:e,textAreaWidth:t,elHeight:l,elWidth:n,footerHeight:d,footerWidth:s,validationMessageHeight:h}=this.getHeightAndWidthOfElements();if(s>0&&s!==t&&(this.footerRef.value.style.width=`${t}px`),this.resize==="none")return;let{width:D,height:G}=getComputedStyle(this.el);n!==t&&D!=="auto"&&this.updateSizeToAuto("width"),l!==e+d+h&&G!=="auto"&&this.updateSizeToAuto("height")}),this.cancelable=M()(this),this.updateSizeToAuto=I(e=>{this.el.style[e]="auto"},P,{edges:["trailing"]}),this.messages=C({blocking:!0}),this.focusSetter=$()(this),this.interactiveContainer=T(this),this.disabled=!1,this.groupSeparator=!1,this.limitText=!1,this.readOnly=!1,this.required=!1,this.resize="both",this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value="",this.wrap="soft",this.calciteTextAreaChange=g(),this.calciteTextAreaInput=g()}static{this.properties={endSlotHasElements:[16,{},{state:!0}],startSlotHasElements:[16,{},{state:!0}],columns:[11,{},{reflect:!0,type:Number}],disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],groupSeparator:[7,{},{reflect:!0,type:Boolean}],label:1,labelText:1,limitText:[7,{},{reflect:!0,type:Boolean}],maxLength:[11,{},{reflect:!0,type:Number}],messageOverrides:[0,{},{attribute:!1}],minLength:[11,{},{reflect:!0,type:Number}],name:[3,{},{reflect:!0}],numberingSystem:1,placeholder:1,readOnly:[7,{},{reflect:!0,type:Boolean}],required:[7,{},{reflect:!0,type:Boolean}],resize:[3,{},{reflect:!0}],rows:[11,{},{reflect:!0,type:Number}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],validationIcon:[3,{converter:z,type:String},{reflect:!0}],validationMessage:1,validity:[0,{},{attribute:!1}],value:1,wrap:[3,{},{reflect:!0}]}}static{this.styles=U}async selectText(){await this.componentOnReady(),this.textAreaEl?.select()}async setFocus(e){return this.focusSetter(()=>this.textAreaEl,e)}connectedCallback(){super.connectedCallback(),R(this),O(this),this.cancelable.add(this.updateSizeToAuto)}updated(){this.setTextAreaHeight()}disconnectedCallback(){super.disconnectedCallback(),W(this),A(this),this.resizeObserver?.disconnect()}handleGlobalAttributesChanged(){this.requestUpdate()}onLabelClick(){this.setFocus()}handleInput(e){this.value=e.target.value,this.calciteTextAreaInput.emit()}handleChange(){this.calciteTextAreaChange.emit()}contentSlotChangeHandler(){this.value||this.el.childNodes.forEach(t=>{t.nodeName==="#text"&&(this.value=t.nodeValue.trim())})}getLocalizedCharacterLength(){let e=this.value?this.value.length.toString():"0",t=this.maxLength.toString();return this.numberingSystem==="latn"?{currentLength:e,maxLength:t}:(c.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,signDisplay:"never",useGrouping:this.groupSeparator},{currentLength:c.localize(e),maxLength:c.localize(t)})}syncHiddenFormInput(e){e.setCustomValidity(""),this.isCharacterLimitExceeded()&&e.setCustomValidity(this.replacePlaceholdersInMessages()),B("textarea",this,e)}setTextAreaEl(e){L(this.resizeObserver,this.textAreaEl,e),this.textAreaEl=e}setTextAreaHeight(){let{textAreaHeight:e,elHeight:t,footerHeight:l,validationMessageHeight:n}=this.getHeightAndWidthOfElements();l>0&&e+l+n!=t&&(this.textAreaEl.style.height=`${t-l}px`)}getHeightAndWidthOfElements(){let{height:e,width:t}=this.textAreaEl?this.textAreaEl.getBoundingClientRect():f,{height:l,width:n}=this.el.getBoundingClientRect(),{height:d,width:s}=this.footerRef.value?this.footerRef.value.getBoundingClientRect():f,{height:h}=this.validationMessageEl?this.validationMessageEl.getBoundingClientRect():f;return{textAreaHeight:e,textAreaWidth:t,elHeight:l,elWidth:n,footerHeight:d,footerWidth:s,validationMessageHeight:h}}replacePlaceholdersInMessages(){return this.messages.tooLong.replace("{maxLength}",this.localizedCharacterLengthObj.maxLength).replace("{currentLength}",this.localizedCharacterLengthObj.currentLength)}isCharacterLimitExceeded(){return this.value?.length>this.maxLength}setValidationRef(e){e&&(this.validationMessageEl=e)}render(){let e=this.startSlotHasElements||this.endSlotHasElements||!!this.maxLength;return this.interactiveContainer({disabled:this.disabled,children:o`<div class=${i(a.wrapper)}>${this.labelText&&j({labelText:this.labelText,onClick:this.onLabelClick,required:this.required,tooltipText:this.messages.required})||""}<textarea aria-describedby=${this.guid??r} aria-errormessage=${N.validationMessage} .ariaInvalid=${this.status==="invalid"||this.isCharacterLimitExceeded()} .ariaLabel=${F(this)} .autofocus=${this.el.autofocus} class=${i({[a.textArea]:!0,[a.readOnly]:this.readOnly,[a.textAreaInvalid]:this.isCharacterLimitExceeded(),[a.footerSlotted]:this.endSlotHasElements&&this.startSlotHasElements,[a.textAreaOnly]:!e})} .cols=${this.columns} .disabled=${this.disabled} maxlength=${(this.limitText?this.maxLength:void 0)??r} name=${this.name??r} @change=${this.handleChange} @input=${this.handleInput} placeholder=${this.placeholder??r} .readOnly=${this.readOnly} .required=${this.required} .rows=${this.rows} spellcheck=${this.el.spellcheck??r} .value=${v(this.value??"")} wrap=${this.wrap??r} ${m(this.setTextAreaEl)}></textarea><span class=${i({[a.content]:!0})}><slot @slotchange=${this.contentSlotChangeHandler}></slot></span><footer class=${i({[a.footer]:!0,[a.readOnly]:this.readOnly,[a.hide]:!e})} ${m(this.footerRef)}><div class=${i({[a.container]:!0,[a.footerEndSlotOnly]:!this.startSlotHasElements&&this.endSlotHasElements})}><slot name=${V.footerStart} @slotchange=${t=>this.startSlotHasElements=u(t)}></slot><slot name=${V.footerEnd} @slotchange=${t=>this.endSlotHasElements=u(t)}></slot></div>${this.renderCharacterLimit()}</footer>${H({component:this})}${this.isCharacterLimitExceeded()&&o`<span aria-live=polite class=${i(a.assistiveText)} id=${this.guid??r}>${this.replacePlaceholdersInMessages()}</span>`||""}${this.validationMessage&&this.status==="invalid"?q({icon:this.validationIcon,id:N.validationMessage,message:this.validationMessage,ref:this.setValidationRef,scale:this.scale,status:this.status}):null}</div>`})}renderCharacterLimit(){return this.maxLength?(this.localizedCharacterLengthObj=this.getLocalizedCharacterLength(),o`<span class=${i(a.characterLimit)}><span class=${i({[a.characterOverLimit]:this.isCharacterLimitExceeded()})}>${this.localizedCharacterLengthObj.currentLength}</span>/${this.localizedCharacterLengthObj.maxLength}</span>`):null}};w("calcite-text-area",p);export{p as TextArea};