@esri/calcite-components 5.2.0-next.70 → 5.2.0-next.71

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 (437) hide show
  1. package/dist/cdn/{UVW4ZA5Z.js → 26AMW3Y7.js} +1 -1
  2. package/dist/cdn/27M7QZOQ.js +2 -0
  3. package/dist/cdn/2BGZIFWC.js +2 -0
  4. package/dist/cdn/2LI2WSK2.js +2 -0
  5. package/dist/cdn/3TQTME3A.js +2 -0
  6. package/dist/cdn/{J5D56KAD.js → 3YXOYXQS.js} +1 -1
  7. package/dist/cdn/42R3WB34.js +2 -0
  8. package/dist/cdn/44URJSF6.js +2 -0
  9. package/dist/cdn/{AWGDXOB3.js → 4CKVNNVA.js} +1 -1
  10. package/dist/cdn/{5QN2KNKV.js → 4IEGHLUB.js} +1 -1
  11. package/dist/cdn/{VOCKM3G2.js → 4QWJ3PQW.js} +1 -1
  12. package/dist/cdn/55ZCEBXQ.js +2 -0
  13. package/dist/cdn/5EJJABY3.js +2 -0
  14. package/dist/cdn/5FHVRT5W.js +2 -0
  15. package/dist/cdn/5HAUXCLD.js +2 -0
  16. package/dist/cdn/{EC72OBDA.js → 5ZMTYU2S.js} +1 -1
  17. package/dist/cdn/{JQGAEFTP.js → 5ZP6DGQ5.js} +1 -1
  18. package/dist/cdn/65S4QXHI.js +2 -0
  19. package/dist/cdn/{LB2J5RLA.js → 6DNUL7AZ.js} +1 -1
  20. package/dist/cdn/{Q4VBFB6I.js → 6FTRN7VT.js} +1 -1
  21. package/dist/cdn/6ICHPOGP.js +2 -0
  22. package/dist/cdn/6ZJKBLIQ.js +2 -0
  23. package/dist/cdn/72YBU4O3.js +2 -0
  24. package/dist/cdn/74ECAFQJ.js +2 -0
  25. package/dist/cdn/7645KAWI.js +2 -0
  26. package/dist/cdn/7GEWW5US.js +2 -0
  27. package/dist/cdn/{LOUNVBIX.js → 7GLDU7HD.js} +1 -1
  28. package/dist/cdn/7MZBWZ7Q.js +2 -0
  29. package/dist/cdn/7NEKAOMD.js +2 -0
  30. package/dist/cdn/7VTO7SRW.js +2 -0
  31. package/dist/cdn/{TT5M5MYP.js → A4YY4UHP.js} +1 -1
  32. package/dist/cdn/A73HMGSK.js +2 -0
  33. package/dist/cdn/ABYUSTW3.js +2 -0
  34. package/dist/cdn/ADGTS2OK.js +2 -0
  35. package/dist/cdn/AGANMGGB.js +2 -0
  36. package/dist/cdn/{2C6EYXK7.js → AIMW7YN4.js} +1 -1
  37. package/dist/cdn/AJNKXK7Y.js +2 -0
  38. package/dist/cdn/{LZYVRSSC.js → AUNANDW7.js} +1 -1
  39. package/dist/cdn/{3BY6Q466.js → AVMDD4IV.js} +1 -1
  40. package/dist/cdn/B74JVUT5.js +2 -0
  41. package/dist/cdn/BANFSOZ2.js +2 -0
  42. package/dist/cdn/BAUIDYLP.js +2 -0
  43. package/dist/cdn/BGH3DF3F.js +2 -0
  44. package/dist/cdn/C2GIRCJE.js +2 -0
  45. package/dist/cdn/{D2M2O7D4.js → C3KDW2S3.js} +1 -1
  46. package/dist/cdn/C443MHF5.js +2 -0
  47. package/dist/cdn/CF4DNSBK.js +2 -0
  48. package/dist/cdn/CFAA6OEU.js +2 -0
  49. package/dist/cdn/CPIMZVBK.js +2 -0
  50. package/dist/cdn/CRKP35SW.js +2 -0
  51. package/dist/cdn/CS7AUEUH.js +2 -0
  52. package/dist/cdn/CWSCEXQ6.js +2 -0
  53. package/dist/cdn/D7L4R6ZM.js +2 -0
  54. package/dist/cdn/{EGB22AEH.js → DNTT6BU7.js} +1 -1
  55. package/dist/cdn/{VGB4JQR6.js → ELLHZ4H7.js} +1 -1
  56. package/dist/cdn/FIJYQ2BL.js +2 -0
  57. package/dist/cdn/{DZNQR26P.js → G5K3AVNG.js} +1 -1
  58. package/dist/cdn/{CNWFFIWK.js → GM7YKO3X.js} +1 -1
  59. package/dist/cdn/H72VMNF6.js +2 -0
  60. package/dist/cdn/{LV4KM6PC.js → HDRGPUZI.js} +1 -1
  61. package/dist/cdn/HXZZFGWS.js +2 -0
  62. package/dist/cdn/{4HLHOCHN.js → HZOV2FGD.js} +1 -1
  63. package/dist/cdn/ICU37I45.js +2 -0
  64. package/dist/cdn/IPBDTAL2.js +2 -0
  65. package/dist/cdn/IQ3WDI4D.js +2 -0
  66. package/dist/cdn/JAIH6OQY.js +2 -0
  67. package/dist/cdn/JE5FXCYF.js +2 -0
  68. package/dist/cdn/JL5DKMY6.js +2 -0
  69. package/dist/cdn/JS2HNNQ2.js +2 -0
  70. package/dist/cdn/{QEDVJK2B.js → JSYPP2YZ.js} +1 -1
  71. package/dist/cdn/JUZV5V77.js +2 -0
  72. package/dist/cdn/{M6Q3EIP6.js → K457S3R5.js} +1 -1
  73. package/dist/cdn/{F3UYZQJA.js → KJELNAUK.js} +1 -1
  74. package/dist/cdn/KKLSNN7K.js +2 -0
  75. package/dist/cdn/KPH4M6CH.js +2 -0
  76. package/dist/cdn/KUEZYDPX.js +2 -0
  77. package/dist/cdn/KY3QEJ2Z.js +2 -0
  78. package/dist/cdn/{HRRQ35FT.js → L7YRM6C7.js} +1 -1
  79. package/dist/cdn/LA7DTAAL.js +2 -0
  80. package/dist/cdn/LBWKM5DO.js +2 -0
  81. package/dist/cdn/LHHMILEZ.js +2 -0
  82. package/dist/cdn/LMHVWLLI.js +2 -0
  83. package/dist/cdn/{RESHNLJ6.js → LRBCKG22.js} +1 -1
  84. package/dist/cdn/M4I63PLV.js +2 -0
  85. package/dist/cdn/MBM7UIXE.js +2 -0
  86. package/dist/cdn/{HP6NC7YO.js → MDSZIF4O.js} +1 -1
  87. package/dist/cdn/{6KXM5OYZ.js → MPK7TRJR.js} +1 -1
  88. package/dist/cdn/{ZBS7TLZA.js → MV36JBLJ.js} +1 -1
  89. package/dist/cdn/N2WS4NPT.js +2 -0
  90. package/dist/cdn/NBRFWWCX.js +2 -0
  91. package/dist/cdn/NDXGLOPW.js +2 -0
  92. package/dist/cdn/NFOLLCAP.js +2 -0
  93. package/dist/cdn/NHTEHEQC.js +2 -0
  94. package/dist/cdn/NZI5P3FN.js +2 -0
  95. package/dist/cdn/O4HDOYJE.js +2 -0
  96. package/dist/cdn/O4TMHJJV.js +2 -0
  97. package/dist/cdn/O6ODDVDJ.js +2 -0
  98. package/dist/cdn/OASZUNHJ.js +2 -0
  99. package/dist/cdn/{STQ4T6ZL.js → OECZJ37N.js} +1 -1
  100. package/dist/cdn/OIP6YZ43.js +2 -0
  101. package/dist/cdn/{46RKFFGQ.js → ON2EBXUS.js} +1 -1
  102. package/dist/cdn/OPCI4HUN.js +2 -0
  103. package/dist/cdn/{M3AX6WGK.js → OSHD2OVR.js} +1 -1
  104. package/dist/cdn/OV47XRRL.js +2 -0
  105. package/dist/cdn/OWD4LPJX.js +2 -0
  106. package/dist/cdn/{IXNQ44YK.js → PE4BIUIM.js} +1 -1
  107. package/dist/cdn/PE6P2BSU.js +2 -0
  108. package/dist/cdn/PJWW7DUF.js +2 -0
  109. package/dist/cdn/{ORWRLRPO.js → PQVUAQNB.js} +1 -1
  110. package/dist/cdn/QMBYFIC4.js +2 -0
  111. package/dist/cdn/QXE27O5K.js +2 -0
  112. package/dist/cdn/{HCK7PO6R.js → RCJTNWLP.js} +1 -1
  113. package/dist/cdn/{BWX66GU4.js → RCTTVEAS.js} +1 -1
  114. package/dist/cdn/REEVKJJM.js +2 -0
  115. package/dist/cdn/{CLCNGAIT.js → RKHOOIJD.js} +1 -1
  116. package/dist/cdn/RKQQY7ES.js +2 -0
  117. package/dist/cdn/{37XKEBCL.js → RYA2FB6F.js} +1 -1
  118. package/dist/cdn/RYKHNS2Q.js +2 -0
  119. package/dist/cdn/S2365CIT.js +2 -0
  120. package/dist/cdn/SIR3ANXS.js +2 -0
  121. package/dist/cdn/T7AY5CYY.js +2 -0
  122. package/dist/cdn/T7NUADTF.js +2 -0
  123. package/dist/cdn/{LP6IKK7J.js → TCK454NG.js} +1 -1
  124. package/dist/cdn/TV356GMI.js +2 -0
  125. package/dist/cdn/{EJKJVQ73.js → TXA24Q3V.js} +1 -1
  126. package/dist/cdn/TXLH7EA7.js +2 -0
  127. package/dist/cdn/UKKA2HKT.js +2 -0
  128. package/dist/cdn/UN6EMDIE.js +2 -0
  129. package/dist/cdn/{2DKBRL6T.js → UYWIT3WT.js} +1 -1
  130. package/dist/cdn/{ZJ3XEIZR.js → V2SRURDO.js} +1 -1
  131. package/dist/cdn/VB5LUXWP.js +2 -0
  132. package/dist/cdn/VD4TVAGI.js +2 -0
  133. package/dist/cdn/{3FTLZWQG.js → VN5QSG2O.js} +1 -1
  134. package/dist/cdn/VRWDLOPE.js +2 -0
  135. package/dist/cdn/VXDPJESZ.js +2 -0
  136. package/dist/cdn/W2GRIMIN.js +2 -0
  137. package/dist/cdn/W5HUOA2R.js +2 -0
  138. package/dist/cdn/{S65BOXP4.js → X3QEZA6M.js} +1 -1
  139. package/dist/cdn/{O6WABKEC.js → XC3HATO3.js} +1 -1
  140. package/dist/cdn/{X2RWKE4D.js → XEMKZBRU.js} +1 -1
  141. package/dist/cdn/Y2CAKZRK.js +2 -0
  142. package/dist/cdn/YLRTPOX4.js +2 -0
  143. package/dist/cdn/YP43PNIU.js +2 -0
  144. package/dist/cdn/YR334B5W.js +4 -0
  145. package/dist/cdn/{DDV4NKQS.js → YUUVF6K4.js} +1 -1
  146. package/dist/cdn/Z75254E4.js +2 -0
  147. package/dist/cdn/ZS4XXKIF.js +2 -0
  148. package/dist/cdn/{5GK33MMO.js → ZSSEYFD6.js} +1 -1
  149. package/dist/cdn/assets/icon/alignBottom16.json +1 -0
  150. package/dist/cdn/assets/icon/alignBottom24.json +1 -0
  151. package/dist/cdn/assets/icon/alignBottom32.json +1 -0
  152. package/dist/cdn/assets/icon/alignCenterHorizontal16.json +1 -0
  153. package/dist/cdn/assets/icon/alignCenterHorizontal24.json +1 -0
  154. package/dist/cdn/assets/icon/alignCenterHorizontal32.json +1 -0
  155. package/dist/cdn/assets/icon/alignCenterVertical16.json +1 -0
  156. package/dist/cdn/assets/icon/alignCenterVertical24.json +1 -0
  157. package/dist/cdn/assets/icon/alignCenterVertical32.json +1 -0
  158. package/dist/cdn/assets/icon/alignLeft16.json +1 -0
  159. package/dist/cdn/assets/icon/alignLeft24.json +1 -0
  160. package/dist/cdn/assets/icon/alignLeft32.json +1 -0
  161. package/dist/cdn/assets/icon/alignRight16.json +1 -0
  162. package/dist/cdn/assets/icon/alignRight24.json +1 -0
  163. package/dist/cdn/assets/icon/alignRight32.json +1 -0
  164. package/dist/cdn/assets/icon/alignTop16.json +1 -0
  165. package/dist/cdn/assets/icon/alignTop24.json +1 -0
  166. package/dist/cdn/assets/icon/alignTop32.json +1 -0
  167. package/dist/cdn/assets/icon/spaceAroundHorizontal16.json +1 -0
  168. package/dist/cdn/assets/icon/spaceAroundHorizontal24.json +1 -0
  169. package/dist/cdn/assets/icon/spaceAroundHorizontal32.json +1 -0
  170. package/dist/cdn/assets/icon/spaceAroundVertical16.json +1 -0
  171. package/dist/cdn/assets/icon/spaceAroundVertical24.json +1 -0
  172. package/dist/cdn/assets/icon/spaceAroundVertical32.json +1 -0
  173. package/dist/cdn/assets/icon/spaceBetweenHorizontal16.json +1 -0
  174. package/dist/cdn/assets/icon/spaceBetweenHorizontal24.json +1 -0
  175. package/dist/cdn/assets/icon/spaceBetweenHorizontal32.json +1 -0
  176. package/dist/cdn/assets/icon/spaceBetweenVertical16.json +1 -0
  177. package/dist/cdn/assets/icon/spaceBetweenVertical24.json +1 -0
  178. package/dist/cdn/assets/icon/spaceBetweenVertical32.json +1 -0
  179. package/dist/cdn/assets/icon/spacedEvenlyHorizontal16.json +1 -0
  180. package/dist/cdn/assets/icon/spacedEvenlyHorizontal24.json +1 -0
  181. package/dist/cdn/assets/icon/spacedEvenlyHorizontal32.json +1 -0
  182. package/dist/cdn/assets/icon/spacedEvenlyVertical16.json +1 -0
  183. package/dist/cdn/assets/icon/spacedEvenlyVertical24.json +1 -0
  184. package/dist/cdn/assets/icon/spacedEvenlyVertical32.json +1 -0
  185. package/dist/cdn/assets/icon/stretchHorizontal16.json +1 -0
  186. package/dist/cdn/assets/icon/stretchHorizontal24.json +1 -0
  187. package/dist/cdn/assets/icon/stretchHorizontal32.json +1 -0
  188. package/dist/cdn/assets/icon/stretchVertical16.json +1 -0
  189. package/dist/cdn/assets/icon/stretchVertical24.json +1 -0
  190. package/dist/cdn/assets/icon/stretchVertical32.json +1 -0
  191. package/dist/cdn/index.js +1 -1
  192. package/dist/chunks/aria.js +3 -2
  193. package/dist/chunks/dom.js +10 -10
  194. package/dist/chunks/manager.js +50 -25
  195. package/dist/chunks/runtime.js +4 -4
  196. package/dist/chunks/useInlineEdit.js +65 -0
  197. package/dist/components/calcite-accordion/customElement.d.ts +0 -5
  198. package/dist/components/calcite-accordion-item/customElement.d.ts +0 -18
  199. package/dist/components/calcite-action/customElement.d.ts +1 -17
  200. package/dist/components/calcite-action/customElement.js +3 -2
  201. package/dist/components/calcite-action-bar/customElement.d.ts +0 -5
  202. package/dist/components/calcite-action-bar/customElement.js +1 -1
  203. package/dist/components/calcite-action-group/customElement.d.ts +0 -4
  204. package/dist/components/calcite-action-menu/customElement.d.ts +0 -1
  205. package/dist/components/calcite-action-pad/customElement.d.ts +0 -3
  206. package/dist/components/calcite-action-pad/customElement.js +1 -1
  207. package/dist/components/calcite-alert/customElement.d.ts +0 -5
  208. package/dist/components/calcite-autocomplete/customElement.d.ts +0 -23
  209. package/dist/components/calcite-autocomplete-item/customElement.d.ts +0 -4
  210. package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +1 -6
  211. package/dist/components/calcite-avatar/customElement.d.ts +0 -5
  212. package/dist/components/calcite-block/customElement.d.ts +0 -17
  213. package/dist/components/calcite-block/customElement.js +4 -3
  214. package/dist/components/calcite-block-group/customElement.js +2 -1
  215. package/dist/components/calcite-block-section/customElement.d.ts +0 -6
  216. package/dist/components/calcite-button/customElement.d.ts +0 -7
  217. package/dist/components/calcite-button/customElement.js +3 -2
  218. package/dist/components/calcite-card/customElement.d.ts +0 -12
  219. package/dist/components/calcite-card/customElement.js +2 -1
  220. package/dist/components/calcite-card-group/customElement.d.ts +1 -5
  221. package/dist/components/calcite-card-group/customElement.js +1 -1
  222. package/dist/components/calcite-carousel/customElement.d.ts +1 -14
  223. package/dist/components/calcite-carousel/customElement.js +1 -1
  224. package/dist/components/calcite-checkbox/customElement.d.ts +0 -7
  225. package/dist/components/calcite-chip/customElement.d.ts +0 -9
  226. package/dist/components/calcite-chip-group/customElement.js +1 -1
  227. package/dist/components/calcite-color-picker/customElement.d.ts +0 -19
  228. package/dist/components/calcite-color-picker/customElement.js +1 -1
  229. package/dist/components/calcite-combobox/customElement.d.ts +0 -9
  230. package/dist/components/calcite-combobox/customElement.js +1 -1
  231. package/dist/components/calcite-combobox-item/customElement.d.ts +0 -10
  232. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  233. package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -5
  234. package/dist/components/calcite-date-picker/customElement.d.ts +0 -27
  235. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  236. package/dist/components/calcite-dialog/customElement.d.ts +0 -31
  237. package/dist/components/calcite-dialog/customElement.js +1 -1
  238. package/dist/components/calcite-dropdown/customElement.d.ts +0 -3
  239. package/dist/components/calcite-dropdown-group/customElement.d.ts +1 -5
  240. package/dist/components/calcite-dropdown-item/customElement.d.ts +1 -9
  241. package/dist/components/calcite-fab/customElement.d.ts +0 -8
  242. package/dist/components/calcite-filter/customElement.d.ts +0 -16
  243. package/dist/components/calcite-flow/customElement.d.ts +1 -4
  244. package/dist/components/calcite-flow-item/customElement.d.ts +0 -28
  245. package/dist/components/calcite-graph/customElement.d.ts +0 -1
  246. package/dist/components/calcite-handle/customElement.d.ts +1 -9
  247. package/dist/components/calcite-icon/customElement.d.ts +0 -4
  248. package/dist/components/calcite-inline-editable/customElement.d.ts +1 -10
  249. package/dist/components/calcite-inline-editable/customElement.js +2 -2
  250. package/dist/components/calcite-input/customElement.d.ts +15 -42
  251. package/dist/components/calcite-input/customElement.js +149 -62
  252. package/dist/components/calcite-input-date-picker/customElement.d.ts +1 -44
  253. package/dist/components/calcite-input-message/customElement.d.ts +0 -3
  254. package/dist/components/calcite-input-number/customElement.d.ts +15 -43
  255. package/dist/components/calcite-input-number/customElement.js +130 -59
  256. package/dist/components/calcite-input-text/customElement.d.ts +15 -42
  257. package/dist/components/calcite-input-text/customElement.js +127 -56
  258. package/dist/components/calcite-input-time-picker/customElement.d.ts +1 -26
  259. package/dist/components/calcite-input-time-picker/customElement.js +2 -1
  260. package/dist/components/calcite-input-time-zone/customElement.d.ts +1 -4
  261. package/dist/components/calcite-label/customElement.d.ts +1 -5
  262. package/dist/components/calcite-link/customElement.d.ts +0 -1
  263. package/dist/components/calcite-list/customElement.d.ts +0 -1
  264. package/dist/components/calcite-list/customElement.js +3 -2
  265. package/dist/components/calcite-list-item/customElement.d.ts +0 -9
  266. package/dist/components/calcite-list-item/customElement.js +1 -1
  267. package/dist/components/calcite-list-item-group/customElement.d.ts +1 -5
  268. package/dist/components/calcite-loader/customElement.d.ts +0 -12
  269. package/dist/components/calcite-menu/customElement.js +1 -1
  270. package/dist/components/calcite-menu-item/customElement.d.ts +1 -8
  271. package/dist/components/calcite-meter/customElement.d.ts +0 -9
  272. package/dist/components/calcite-navigation/customElement.d.ts +0 -4
  273. package/dist/components/calcite-navigation-logo/customElement.d.ts +0 -6
  274. package/dist/components/calcite-navigation-user/customElement.d.ts +0 -8
  275. package/dist/components/calcite-notice/customElement.d.ts +0 -13
  276. package/dist/components/calcite-pagination/customElement.d.ts +0 -8
  277. package/dist/components/calcite-panel/customElement.d.ts +0 -23
  278. package/dist/components/calcite-panel/customElement.js +3 -2
  279. package/dist/components/calcite-popover/customElement.d.ts +1 -8
  280. package/dist/components/calcite-progress/customElement.d.ts +0 -5
  281. package/dist/components/calcite-radio-button/customElement.d.ts +0 -6
  282. package/dist/components/calcite-radio-button-group/customElement.d.ts +0 -2
  283. package/dist/components/calcite-rating/customElement.d.ts +1 -10
  284. package/dist/components/calcite-scrim/customElement.d.ts +1 -4
  285. package/dist/components/calcite-scrim/customElement.js +1 -1
  286. package/dist/components/calcite-segmented-control/customElement.d.ts +0 -2
  287. package/dist/components/calcite-segmented-control-item/customElement.d.ts +0 -6
  288. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  289. package/dist/components/calcite-select/customElement.d.ts +0 -8
  290. package/dist/components/calcite-sheet/customElement.d.ts +1 -16
  291. package/dist/components/calcite-sheet/customElement.js +1 -1
  292. package/dist/components/calcite-shell/customElement.d.ts +0 -3
  293. package/dist/components/calcite-shell/customElement.js +1 -1
  294. package/dist/components/calcite-shell-panel/customElement.d.ts +0 -12
  295. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  296. package/dist/components/calcite-slider/customElement.d.ts +1 -13
  297. package/dist/components/calcite-slider/customElement.js +1 -1
  298. package/dist/components/calcite-split-button/customElement.d.ts +1 -19
  299. package/dist/components/calcite-stack/customElement.d.ts +0 -2
  300. package/dist/components/calcite-stepper/customElement.d.ts +1 -8
  301. package/dist/components/calcite-stepper/customElement.js +1 -1
  302. package/dist/components/calcite-stepper-item/customElement.d.ts +1 -21
  303. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  304. package/dist/components/calcite-swatch/customElement.d.ts +1 -4
  305. package/dist/components/calcite-swatch-group/customElement.d.ts +1 -4
  306. package/dist/components/calcite-swatch-group/customElement.js +1 -1
  307. package/dist/components/calcite-switch/customElement.d.ts +0 -9
  308. package/dist/components/calcite-tab/customElement.d.ts +1 -5
  309. package/dist/components/calcite-tab-nav/customElement.d.ts +1 -6
  310. package/dist/components/calcite-tab-nav/customElement.js +6 -2
  311. package/dist/components/calcite-tab-title/customElement.d.ts +0 -15
  312. package/dist/components/calcite-table/customElement.d.ts +0 -40
  313. package/dist/components/calcite-table-cell/customElement.d.ts +1 -7
  314. package/dist/components/calcite-table-header/customElement.d.ts +0 -7
  315. package/dist/components/calcite-table-row/customElement.d.ts +1 -9
  316. package/dist/components/calcite-table-row/customElement.js +1 -1
  317. package/dist/components/calcite-tabs/customElement.d.ts +0 -2
  318. package/dist/components/calcite-text-area/customElement.d.ts +0 -14
  319. package/dist/components/calcite-tile/customElement.d.ts +0 -9
  320. package/dist/components/calcite-tile/customElement.js +1 -1
  321. package/dist/components/calcite-tile-group/customElement.js +1 -1
  322. package/dist/components/calcite-time-picker/customElement.d.ts +0 -11
  323. package/dist/components/calcite-tooltip/customElement.d.ts +1 -8
  324. package/dist/components/calcite-tree-item/customElement.d.ts +0 -3
  325. package/dist/docs/api.json +1 -1
  326. package/dist/docs/docs.json +1 -1
  327. package/dist/docs/vscode.css-custom-data.json +1 -1
  328. package/dist/docs/vscode.html-custom-data.json +1 -1
  329. package/dist/docs/web-types.json +1 -1
  330. package/dist/loader.js +3 -3
  331. package/dist/types/lumina.d.ts +12 -12
  332. package/dist/types/preact.d.ts +12 -12
  333. package/dist/types/react.d.ts +12 -12
  334. package/dist/types/stencil.d.ts +12 -12
  335. package/package.json +14 -14
  336. package/dist/cdn/2DRYAXZA.js +0 -2
  337. package/dist/cdn/2QDPBMR5.js +0 -2
  338. package/dist/cdn/36ZI4OE2.js +0 -2
  339. package/dist/cdn/3EOXNRWH.js +0 -2
  340. package/dist/cdn/3PBE34WL.js +0 -2
  341. package/dist/cdn/3PHJ4VKR.js +0 -2
  342. package/dist/cdn/4OTRU7PP.js +0 -2
  343. package/dist/cdn/4V54EQG7.js +0 -2
  344. package/dist/cdn/4XYNB6JA.js +0 -2
  345. package/dist/cdn/5EBGPCB7.js +0 -2
  346. package/dist/cdn/5JGGEI4T.js +0 -2
  347. package/dist/cdn/5NUKMHTR.js +0 -2
  348. package/dist/cdn/6IIOOLNW.js +0 -2
  349. package/dist/cdn/6OAHARTN.js +0 -2
  350. package/dist/cdn/6SIMRTTJ.js +0 -2
  351. package/dist/cdn/6XZUNSYJ.js +0 -2
  352. package/dist/cdn/74LD6VQE.js +0 -2
  353. package/dist/cdn/7AX3VWZ2.js +0 -2
  354. package/dist/cdn/7LCQLCGJ.js +0 -2
  355. package/dist/cdn/7PDQJVYI.js +0 -2
  356. package/dist/cdn/A2PZZ6XZ.js +0 -2
  357. package/dist/cdn/AI34WFC4.js +0 -2
  358. package/dist/cdn/AR46CHOI.js +0 -2
  359. package/dist/cdn/BK6IFOPJ.js +0 -2
  360. package/dist/cdn/BLOHG5AH.js +0 -2
  361. package/dist/cdn/BQYRK6UJ.js +0 -2
  362. package/dist/cdn/C5SVC6AT.js +0 -2
  363. package/dist/cdn/CIYJDFL7.js +0 -2
  364. package/dist/cdn/CJLLJ7EG.js +0 -2
  365. package/dist/cdn/CLMLN73K.js +0 -2
  366. package/dist/cdn/CLQONTJ4.js +0 -2
  367. package/dist/cdn/D32AN634.js +0 -2
  368. package/dist/cdn/DBIXUUDH.js +0 -2
  369. package/dist/cdn/DJZ3PU4G.js +0 -2
  370. package/dist/cdn/DMH6GECA.js +0 -2
  371. package/dist/cdn/EWRXYHQ6.js +0 -2
  372. package/dist/cdn/FFIEWYUD.js +0 -2
  373. package/dist/cdn/FVYTBWWQ.js +0 -2
  374. package/dist/cdn/GGXZDUOD.js +0 -2
  375. package/dist/cdn/GJHAOR7O.js +0 -2
  376. package/dist/cdn/GVHT4OW3.js +0 -4
  377. package/dist/cdn/GZZYSINJ.js +0 -2
  378. package/dist/cdn/H4DWCZQH.js +0 -2
  379. package/dist/cdn/HK2ZPYSD.js +0 -2
  380. package/dist/cdn/HT7GHA35.js +0 -2
  381. package/dist/cdn/KADLGWSD.js +0 -2
  382. package/dist/cdn/KKZPWWJD.js +0 -2
  383. package/dist/cdn/L2GTZQR3.js +0 -2
  384. package/dist/cdn/LDJTNSDV.js +0 -2
  385. package/dist/cdn/LGEWD2WR.js +0 -2
  386. package/dist/cdn/LJ3OYEQH.js +0 -2
  387. package/dist/cdn/MA5ALGCB.js +0 -2
  388. package/dist/cdn/MJKFS4XN.js +0 -2
  389. package/dist/cdn/MKWABJD3.js +0 -2
  390. package/dist/cdn/MORH2SWC.js +0 -2
  391. package/dist/cdn/MTK3KBNV.js +0 -2
  392. package/dist/cdn/N4RZJQ3K.js +0 -2
  393. package/dist/cdn/NBWSLO2X.js +0 -2
  394. package/dist/cdn/NFZOHLUU.js +0 -2
  395. package/dist/cdn/NIPZWXTK.js +0 -2
  396. package/dist/cdn/NRDDB52R.js +0 -2
  397. package/dist/cdn/OATJDDUN.js +0 -2
  398. package/dist/cdn/OCAIF5AO.js +0 -2
  399. package/dist/cdn/ONPVEYDF.js +0 -2
  400. package/dist/cdn/OURWUBEA.js +0 -2
  401. package/dist/cdn/OV4LG7YB.js +0 -2
  402. package/dist/cdn/P6E54S7I.js +0 -2
  403. package/dist/cdn/PFBFXLY5.js +0 -2
  404. package/dist/cdn/PGJ33WXW.js +0 -2
  405. package/dist/cdn/PJ7JGCOT.js +0 -2
  406. package/dist/cdn/PM5LDKID.js +0 -2
  407. package/dist/cdn/PPCTIFU7.js +0 -2
  408. package/dist/cdn/Q2L6GYNG.js +0 -2
  409. package/dist/cdn/Q2NLDLBD.js +0 -2
  410. package/dist/cdn/Q44CAISJ.js +0 -2
  411. package/dist/cdn/QCTIQQGR.js +0 -2
  412. package/dist/cdn/QEGNJX47.js +0 -2
  413. package/dist/cdn/QIOX3N62.js +0 -2
  414. package/dist/cdn/QM2EZYTR.js +0 -2
  415. package/dist/cdn/QWGRJXMJ.js +0 -2
  416. package/dist/cdn/RHUYTUBN.js +0 -2
  417. package/dist/cdn/RKRK4RZK.js +0 -2
  418. package/dist/cdn/RXVSZC7X.js +0 -2
  419. package/dist/cdn/SO222KR7.js +0 -2
  420. package/dist/cdn/SY7A27CA.js +0 -2
  421. package/dist/cdn/T2VHRNVK.js +0 -2
  422. package/dist/cdn/T4CQISFL.js +0 -2
  423. package/dist/cdn/TFY4AZ4H.js +0 -2
  424. package/dist/cdn/TODF5AAG.js +0 -2
  425. package/dist/cdn/UFTNE4L5.js +0 -2
  426. package/dist/cdn/UQWE2VAF.js +0 -2
  427. package/dist/cdn/URPDRW7E.js +0 -2
  428. package/dist/cdn/VDJS5HED.js +0 -2
  429. package/dist/cdn/VZ2WOVER.js +0 -2
  430. package/dist/cdn/WSJB5HRN.js +0 -2
  431. package/dist/cdn/XK5X6LPF.js +0 -2
  432. package/dist/cdn/XWM3FFCD.js +0 -2
  433. package/dist/cdn/YCKXSWRC.js +0 -2
  434. package/dist/cdn/YKGEHWMP.js +0 -2
  435. package/dist/cdn/ZM42WAYM.js +0 -2
  436. package/dist/cdn/ZTRZLDAL.js +0 -2
  437. package/dist/chunks/useInlineEditable.js +0 -53
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  import { makeGenericController } from "@arcgis/lumina/controllers";
3
- import { q as queryElementRoots, l as getShadowRootNode, e as isPrimaryPointerButton, m as isKeyboardTriggeredClick } from "./dom.js";
3
+ import { q as queryElementRoots, m as getShadowRootNode, h as isPrimaryPointerButton, o as isKeyboardTriggeredClick } from "./dom.js";
4
4
  import { l as logger } from "./runtime.js";
5
5
  import { i as isActivationKey } from "./key.js";
6
6
  import { t as toAriaBoolean } from "./aria.js";
@@ -68,7 +68,7 @@ const useReferenceElement = (options) => {
68
68
  if (changes.has("referenceEl")) {
69
69
  unregisterReferenceElement(changes.get("referenceEl"));
70
70
  registerReferenceElement(component.referenceEl);
71
- } else if (changes.has("open")) {
71
+ } else if (changes.has("open") || changes.has("triggerDisabled")) {
72
72
  manager.updateElement(component, component.referenceEl);
73
73
  }
74
74
  });
@@ -115,6 +115,8 @@ function isDrag({
115
115
  }
116
116
  const referenceElementManager = (options) => {
117
117
  const registeredElements = /* @__PURE__ */ new Map();
118
+ const registeredAriaControls = /* @__PURE__ */ new WeakMap();
119
+ const registeredAriaExpanded = /* @__PURE__ */ new WeakSet();
118
120
  const registeredShadowRootCounts = /* @__PURE__ */ new WeakMap();
119
121
  let activeComponents = null;
120
122
  let clickedComponents = null;
@@ -381,14 +383,53 @@ const referenceElementManager = (options) => {
381
383
  }
382
384
  toggleFocusedComponents(components, true);
383
385
  };
386
+ const updateAriaExpanded = (referenceEl, components) => {
387
+ if (!("ariaExpanded" in referenceEl)) {
388
+ return;
389
+ }
390
+ const enabledComponents = components.filter((component) => !component.triggerDisabled);
391
+ if (enabledComponents.length) {
392
+ referenceEl.ariaExpanded = toAriaBoolean(enabledComponents.some((component) => component.open));
393
+ registeredAriaExpanded.add(referenceEl);
394
+ return;
395
+ }
396
+ if (registeredAriaExpanded.has(referenceEl)) {
397
+ referenceEl.ariaExpanded = null;
398
+ registeredAriaExpanded.delete(referenceEl);
399
+ }
400
+ };
401
+ const updateAriaControls = (referenceEl, component, registerComponent = !component.triggerDisabled) => {
402
+ if (!("ariaControlsElements" in referenceEl)) {
403
+ return;
404
+ }
405
+ const currentElements = referenceEl.ariaControlsElements ?? [];
406
+ const componentIsRegistered = currentElements.includes(component.el);
407
+ const registeredComponents = registeredAriaControls.get(referenceEl);
408
+ if (!registerComponent) {
409
+ if (!registeredComponents?.has(component)) {
410
+ return;
411
+ }
412
+ const updatedElements = currentElements.filter((element) => element !== component.el);
413
+ referenceEl.ariaControlsElements = updatedElements.length > 0 ? updatedElements : null;
414
+ registeredComponents?.delete(component);
415
+ return;
416
+ }
417
+ if (!componentIsRegistered) {
418
+ referenceEl.ariaControlsElements = [...currentElements, component.el];
419
+ if (!registeredComponents) {
420
+ registeredAriaControls.set(referenceEl, new WeakSet([component]));
421
+ } else {
422
+ registeredComponents.add(component);
423
+ }
424
+ }
425
+ };
384
426
  const updateElement = (component, referenceEl) => {
385
427
  if (!referenceEl || !component.referenceElementType) {
386
428
  return;
387
429
  }
388
- if (options.click && "ariaExpanded" in referenceEl) {
389
- const existingComponents = registeredElements.get(referenceEl) ?? [];
390
- const existingComponentOpen = existingComponents?.some((component2) => component2.open) ?? false;
391
- referenceEl.ariaExpanded = toAriaBoolean(component.open || existingComponentOpen);
430
+ if (options.click) {
431
+ updateAriaControls(referenceEl, component);
432
+ updateAriaExpanded(referenceEl, registeredElements.get(referenceEl) ?? []);
392
433
  }
393
434
  };
394
435
  const addShadowListeners = (shadowRoot) => {
@@ -426,13 +467,6 @@ const referenceElementManager = (options) => {
426
467
  if (existingComponents.includes(component)) {
427
468
  return;
428
469
  }
429
- if (options.click && "ariaControlsElements" in referenceEl) {
430
- const currentElements = referenceEl.ariaControlsElements ?? [];
431
- if (!currentElements.includes(component.el)) {
432
- const updatedElements = [...currentElements, component.el];
433
- referenceEl.ariaControlsElements = updatedElements;
434
- }
435
- }
436
470
  if (options.hover && "ariaDescribedByElements" in referenceEl) {
437
471
  const currentElements = referenceEl.ariaDescribedByElements ?? [];
438
472
  if (!currentElements.includes(component.el)) {
@@ -476,18 +510,9 @@ const referenceElementManager = (options) => {
476
510
  removeListeners();
477
511
  clearHoverTimeout();
478
512
  }
479
- if (options.click && "ariaControlsElements" in referenceEl) {
480
- const newElements = (referenceEl.ariaControlsElements ?? []).filter((element) => element !== component.el);
481
- referenceEl.ariaControlsElements = newElements.length > 0 ? newElements : null;
482
- }
483
- if (options.click && "ariaExpanded" in referenceEl) {
484
- const hasRegisteredComponents = (updatedComponents?.length ?? 0) > 0;
485
- if (hasRegisteredComponents) {
486
- const existingComponentOpen = updatedComponents?.some((component2) => component2.open) ?? false;
487
- referenceEl.ariaExpanded = toAriaBoolean(existingComponentOpen);
488
- } else {
489
- referenceEl.ariaExpanded = null;
490
- }
513
+ if (options.click) {
514
+ updateAriaControls(referenceEl, component, false);
515
+ updateAriaExpanded(referenceEl, updatedComponents);
491
516
  }
492
517
  if (options.hover && "ariaDescribedByElements" in referenceEl) {
493
518
  const newElements = (referenceEl.ariaDescribedByElements ?? []).filter((element) => element !== component.el);
@@ -106,9 +106,9 @@ function getConfig() {
106
106
  }
107
107
  return effectiveConfig;
108
108
  }
109
- const version = "5.2.0-next.70";
110
- const buildDate = "2026-09-03";
111
- const revision = "81dd56c3c";
109
+ const version = "5.2.0-next.71";
110
+ const buildDate = "2026-09-10";
111
+ const revision = "738a228ce";
112
112
  function stampVersion() {
113
113
  const config = getConfig();
114
114
  if (config && config.version) {
@@ -131,7 +131,7 @@ if (!isServer) {
131
131
  if (process.env.NODE_ENV !== "test") {
132
132
  queueMicrotask(stampVersion);
133
133
  }
134
- const runtime = makeRuntime({ defaultAssetPath: "https://cdn.jsdelivr.net/npm/@esri/calcite-components@5.2.0-next.70/dist/cdn/", hydratedAttribute: "calcite-hydrated" });
134
+ const runtime = makeRuntime({ defaultAssetPath: "https://cdn.jsdelivr.net/npm/@esri/calcite-components@5.2.0-next.71/dist/cdn/", hydratedAttribute: "calcite-hydrated" });
135
135
  const originalSetAssetPath = runtime.setAssetPath;
136
136
  runtime.setAssetPath = (path) => {
137
137
  assetPathChanged = true;
@@ -0,0 +1,65 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import { safeClassMap } from "@arcgis/lumina";
3
+ import { nothing, html } from "lit";
4
+ import { ref } from "lit/directives/ref.js";
5
+ const CSS = {
6
+ container: "inline-edit--container",
7
+ enableEditing: "enable-editing",
8
+ confirmChanges: "confirm-changes",
9
+ cancelEditing: "cancel-editing"
10
+ };
11
+ const InlineEditControls = ({ cancelEditingLabel, confirmChangesLabel, inlineEditing, enableEditingLabel, enableEditingButtonRef, loading, onCancelEditing, onConfirmChanges, onEnableEditing, scale, showControls }) => html`<div class=${safeClassMap(CSS.container)}>${!inlineEditing && html`<calcite-action .ariaLabel=${enableEditingLabel} class=${safeClassMap(CSS.enableEditing)} icon=pencil @click=${onEnableEditing} .scale=${scale} .text=${enableEditingLabel} title=${enableEditingLabel ?? nothing} type=button ${ref(enableEditingButtonRef)}></calcite-action>` || ""}${showControls && [
12
+ html`<calcite-action .ariaLabel=${confirmChangesLabel} class=${safeClassMap(CSS.confirmChanges)} .disabled=${loading} icon=check .loading=${loading} @click=${onConfirmChanges} .scale=${scale} .text=${confirmChangesLabel} title=${confirmChangesLabel ?? nothing} type=button></calcite-action>`,
13
+ html`<calcite-action .ariaLabel=${cancelEditingLabel} class=${safeClassMap(CSS.cancelEditing)} .disabled=${loading} icon=x @click=${onCancelEditing} .scale=${scale} .text=${cancelEditingLabel} title=${cancelEditingLabel ?? nothing} type=button></calcite-action>`
14
+ ] || ""}</div>`;
15
+ class UseInlineEdit {
16
+ constructor(options) {
17
+ this.options = options;
18
+ this.valuePriorToEditing = "";
19
+ }
20
+ enable() {
21
+ this.valuePriorToEditing = this.options.getValue();
22
+ this.options.setInlineEditing(true);
23
+ requestAnimationFrame(() => {
24
+ this.options.setFocus();
25
+ });
26
+ this.options.emitEnableEditingChange();
27
+ }
28
+ disable() {
29
+ this.options.setInlineEditing(false);
30
+ }
31
+ cancelEditing() {
32
+ this.options.restoreValue(this.valuePriorToEditing);
33
+ this.disable();
34
+ this.options.emitCancel();
35
+ this.options.emitEnableEditingChange();
36
+ }
37
+ async confirm(confirm, setLoading) {
38
+ if (confirm) {
39
+ setLoading?.(true);
40
+ try {
41
+ await confirm();
42
+ } finally {
43
+ setLoading?.(false);
44
+ }
45
+ }
46
+ this.options.commitValue();
47
+ this.disable();
48
+ this.options.emitConfirm();
49
+ this.options.emitEnableEditingChange();
50
+ }
51
+ }
52
+ const inlineEditConverter = {
53
+ fromAttribute(value) {
54
+ return value === null ? false : value === "controls-disabled" ? value : true;
55
+ },
56
+ toAttribute(value) {
57
+ return value === false ? null : value === true ? "" : value;
58
+ }
59
+ };
60
+ export {
61
+ CSS as C,
62
+ InlineEditControls as I,
63
+ UseInlineEdit as U,
64
+ inlineEditConverter as i
65
+ };
@@ -4,11 +4,6 @@ import type { Appearance, Position, IconType, Scale, SelectionMode } from "../ty
4
4
 
5
5
  /**
6
6
  * @deprecated in v5.2.0, removal target v7.0.0 - Use the `calcite-block-group` component instead.
7
- * @cssproperty [--calcite-accordion-border-color] - Specifies the component's border color.
8
- * @cssproperty [--calcite-accordion-background-color] - Specifies the component's background color.
9
- * @cssproperty [--calcite-accordion-text-color] - Specifies the component's text color.
10
- * @cssproperty [--calcite-accordion-text-color-hover] - Specifies the component's main text color on hover.
11
- * @cssproperty [--calcite-accordion-text-color-press] - Specifies the component's main text color when pressed.
12
7
  * @slot - A slot for adding `calcite-accordion-item`s. `calcite-accordion` cannot be nested, however `calcite-accordion-item`s can.
13
8
  */
14
9
  export abstract class Accordion extends LitElement {
@@ -6,24 +6,6 @@ import type { HeadingLevel } from "../functional/Heading.js";
6
6
 
7
7
  /**
8
8
  * @deprecated in v5.2.0, removal target v7.0.0 - Use the `calcite-block` component instead.
9
- * @cssproperty [--calcite-accordion-border-color] - Specifies the component's border color.
10
- * @cssproperty [--calcite-accordion-background-color] - Specifies the component's background color.
11
- * @cssproperty [--calcite-accordion-text-color] - Specifies the component's text color.
12
- * @cssproperty [--calcite-accordion-text-color-hover] - Specifies the component's main text color on hover.
13
- * @cssproperty [--calcite-accordion-text-color-press] - Specifies the component's main text color when pressed.
14
- * @cssproperty [--calcite-accordion-item-background-color] - [Deprecated] in v3.1.0, removal target v6.0.0 - Use `--calcite-accordion-background-color` instead. Specifies the component's background color.
15
- * @cssproperty [--calcite-accordion-item-border-color] - [Deprecated] in v3.1.0, removal target v6.0.0 - Use `--calcite-accordion-border-color` instead. Specifies the component's border color.
16
- * @cssproperty [--calcite-accordion-item-content-space] - Specifies the component's padding.
17
- * @cssproperty [--calcite-accordion-item-end-icon-color] - Specifies the component's `iconEnd` color. Falls back to `--calcite-accordion-item-icon-color` or current color.
18
- * @cssproperty [--calcite-accordion-item-expand-icon-color] - Specifies the component's expand icon color.
19
- * @cssproperty [--calcite-accordion-item-header-background-color] - Specifies the component's `heading` background color.
20
- * @cssproperty [--calcite-accordion-item-header-background-color-hover] - Specifies the component's `heading` background color when hovered.
21
- * @cssproperty [--calcite-accordion-item-header-background-color-press] - Specifies the component's `heading` background color when pressed.
22
- * @cssproperty [--calcite-accordion-item-heading-text-color] - Specifies the component's `heading` text color.
23
- * @cssproperty [--calcite-accordion-item-icon-color] - [Deprecated] in v3.1.0, removal target v6.0.0 - Use `--calcite-icon-color` instead. Specifies the component's default icon color.
24
- * @cssproperty [--calcite-accordion-item-start-icon-color] - Specifies the component's `iconStart` color. Falls back to `--calcite-accordion-item-icon-color` or current color.
25
- * @cssproperty [--calcite-accordion-item-text-color] - [Deprecated] in v3.1.0, removal target v6.0.0 - Use `--calcite-accordion-text-color` instead. Specifies the component's text color.
26
- * @cssproperty [--calcite-accordion-item-text-color-hover] - [Deprecated] in v3.1.0, removal target v6.0.0 - Use `--calcite-accordion-text-color-hover` instead. Specifies the component's text color on hover.
27
9
  * @slot - A slot for adding custom content, including nested `calcite-accordion-item`s.
28
10
  * @slot [actions-end] - A slot for adding `calcite-action`s or content to the end side of the component's header.
29
11
  * @slot [actions-start] - A slot for adding `calcite-action`s or content to the start side of the component's header.
@@ -3,23 +3,7 @@ import type { PublicLitElement as LitElement, LuminaJsx } from "@arcgis/lumina";
3
3
  import type { Alignment, Appearance, AriaAttributesCamelCased, Scale } from "../types.js";
4
4
  import type { IconName } from "../calcite-icon/types.js";
5
5
 
6
- /**
7
- * @cssproperty [--calcite-action-background-color-hover] - Specifies the component's background color when hovered.
8
- * @cssproperty [--calcite-action-background-color-press] - Specifies the component's background color when active.
9
- * @cssproperty [--calcite-action-background-color-pressed] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-action-background-color-press` instead. Specifies the component's background color when active.
10
- * @cssproperty [--calcite-action-background-color] - Specifies the component's background color.
11
- * @cssproperty [--calcite-action-corner-radius-end-end] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-action-corner-radius` instead. Specifies the component's corner radius end end.
12
- * @cssproperty [--calcite-action-corner-radius-end-start] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-action-corner-radius` instead. Specifies the component's corner radius end start.
13
- * @cssproperty [--calcite-action-corner-radius-start-end] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-action-corner-radius` instead. Specifies the component's corner radius start end.
14
- * @cssproperty [--calcite-action-corner-radius-start-start] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-action-corner-radius` instead. Specifies the component's corner radius start start.
15
- * @cssproperty [--calcite-action-corner-radius] - Specifies the component's corner radius.
16
- * @cssproperty [--calcite-action-indicator-color] - Specifies the component's indicator color.
17
- * @cssproperty [--calcite-action-text-color-press] - Specifies the component's text color when pressed or hovered.
18
- * @cssproperty [--calcite-action-text-color-pressed] - [Deprecated] in v3.0.0, removal target v6.0.0 - Use `--calcite-action-text-color-press` instead. Specifies the component's text color when hovered.
19
- * @cssproperty [--calcite-action-text-color] - Specifies the component's text color.
20
- * @cssproperty [--calcite-action-loader-color] - Specifies the component's loader color.
21
- * @slot - A slot for adding non-interactive content, such as a `calcite-icon`.
22
- */
6
+ /** @slot - A slot for adding non-interactive content, such as a `calcite-icon`. */
23
7
  export abstract class Action extends LitElement {
24
8
  /**
25
9
  * When `true`, the component is highlighted.
@@ -12,6 +12,7 @@ import { u as useSetFocus } from "../../chunks/useSetFocus.js";
12
12
  import { u as useInteractive } from "../../chunks/useInteractive.js";
13
13
  import { u as useFormTrigger } from "../../chunks/useFormTrigger.js";
14
14
  import { I as IDS, C as CSS } from "../../chunks/resources4.js";
15
+ import { t as toAriaBoolean } from "../../chunks/aria.js";
15
16
  const styles$1 = css`: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([scale=s]){--calcite-internal-action-font-size: var(--calcite-font-size--2);--calcite-internal-action-min-height: var(--calcite-size-sm);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-font-size: var(--calcite-font-size--1);--calcite-internal-action-min-height: var(--calcite-size-md);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-font-size: var(--calcite-font-size-0);--calcite-internal-action-min-height: var(--calcite-size-lg);--calcite-internal-action-line-height: 1.25rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm-plus)}:host{display:flex;cursor:pointer;background-color:transparent;--calcite-internal-action-text-color: var(--calcite-color-text-3);border-radius:var(--calcite-action-corner-radius, var(--calcite-action-corner-radius-start-start, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-start-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-start, var(--calcite-corner-radius-xs)))}.interaction-container{border-radius:inherit}:host([width=full]){flex:1 0 auto}:host([width=full]) .button{justify-content:center}:host([width=full]) .button .text-container--visible{flex:none}:host([drag-handle]){cursor:move;--calcite-internal-action-text-color: var(--calcite-color-border-input);--calcite-internal-action-padding-inline: var(--calcite-spacing-xxs)}.button{position:relative;margin:0;display:flex;inline-size:auto;align-items:center;justify-content:flex-start;border-style:none;outline-color:transparent;box-sizing:border-box;background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1));border-radius:inherit;color:var(--calcite-action-text-color, var(--calcite-internal-action-text-color));cursor:inherit;flex:1 0 auto;font-family:inherit;font-size:var(--calcite-internal-action-font-size);font-weight:var(--calcite-font-weight-normal);line-height:var(--calcite-internal-action-line-height);min-block-size:var(--calcite-internal-action-height, var(--calcite-internal-action-min-height));max-block-size:var(--calcite-internal-action-height, none);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-internal-action-spacing));padding-inline:var(--calcite-internal-action-padding-inline, var(--calcite-internal-action-spacing));text-align:start}.button:hover{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: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))))}.button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}.button--text-visible{gap:var(--calcite-internal-action-spacing);inline-size:100%}.icon-container{pointer-events:none;margin:0;display:flex;align-items:center;justify-content:center}.text-container{margin:0;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0;transition-property:opacity;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:inline-size}.text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([active]) .button{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-3));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}:host([active]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-3))}:host([active]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}:host([loading]) calcite-loader[inline]{margin-inline-end:0px;--calcite-loader-progress-color-inline: var(--calcite-action-loader-color)}:host([appearance=transparent]):host([active]) .button{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([appearance=transparent]) .button{transition-property:box-shadow;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);background-color:var(--calcite-action-background-color, var(--calcite-color-transparent))}:host([appearance=transparent]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-transparent-hover))}:host([appearance=transparent]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([selection-appearance=highlight]):host([active]) .button{background-color:var(--calcite-color-surface-highlight);color:var(--calcite-color-text-highlight)}:host([active-descendant]) .button{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([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}.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))}:host([scale=s]) .indicator-with-icon{position:relative}:host([scale=s]) .indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.125rem;inset-inline-end:-.125rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([scale=s]) .indicator-without-icon{position:relative}:host([scale=s]) .indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.175rem;inset-inline-end:-.175rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
16
17
  const styles = css`.screen-reader-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}`;
17
18
  class Action extends LitElement {
@@ -117,9 +118,9 @@ class Action extends LitElement {
117
118
  ...internalControlsElements
118
119
  ];
119
120
  if (this.dragHandle) {
120
- return html`<span .ariaBusy=${loading} .ariaControlsElements=${ariaControlsElements} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabelledByElements=${ariaLabelledByElements} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${safeClassMap(buttonClasses)} id=${buttonId ?? nothing} role=button tabindex=${(this.disabled ? void 0 : 0) ?? nothing} ${ref(this.buttonRef)}>${buttonContent}</span>`;
121
+ return html`<span .ariaBusy=${toAriaBoolean(loading, void 0)} .ariaControlsElements=${ariaControlsElements} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabelledByElements=${ariaLabelledByElements} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${safeClassMap(buttonClasses)} id=${buttonId ?? nothing} role=button tabindex=${(this.disabled ? void 0 : 0) ?? nothing} ${ref(this.buttonRef)}>${buttonContent}</span>`;
121
122
  }
122
- return html`<button .ariaBusy=${loading} .ariaChecked=${this.aria?.checked} .ariaControlsElements=${ariaControlsElements} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabelledByElements=${ariaLabelledByElements} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${safeClassMap(buttonClasses)} .disabled=${disabled} id=${buttonId ?? nothing} .role=${this.aria?.role} type=${this.type ?? nothing} ${ref(this.buttonRef)}>${buttonContent}</button>`;
123
+ return html`<button .ariaBusy=${toAriaBoolean(loading, void 0)} .ariaChecked=${this.aria?.checked} .ariaControlsElements=${ariaControlsElements} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabelledByElements=${ariaLabelledByElements} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${safeClassMap(buttonClasses)} .disabled=${disabled} id=${buttonId ?? nothing} .role=${this.aria?.role} type=${this.type ?? nothing} ${ref(this.buttonRef)}>${buttonContent}</button>`;
123
124
  }
124
125
  render() {
125
126
  return this.interactiveContainer({ disabled: this.disabled, children: html`${this.renderButton()}${this.renderIndicatorText()}` });
@@ -4,11 +4,6 @@ import type { Layout, Position, Scale, SelectionAppearance } from "../types.js";
4
4
  import type { OverlayPositioning } from "../../utils/floating-ui.js";
5
5
 
6
6
  /**
7
- * @cssproperty [--calcite-action-bar-background-color] - Specifies the component's background color.
8
- * @cssproperty [--calcite-action-bar-corner-radius] - Specifies the component's border radius when `floating` is `true`.
9
- * @cssproperty [--calcite-action-bar-expanded-max-width] - When `layout` is `"vertical"`, specifies the component's maximum width.
10
- * @cssproperty [--calcite-action-bar-items-space] - Specifies the space between slotted components in the component.
11
- * @cssproperty [--calcite-action-bar-shadow] - Specifies the component's shadow when `floating` is `true`.
12
7
  * @slot - A slot for adding `calcite-action`s that will appear at the top of the component.
13
8
  * @slot [actions-end] - A slot for adding `calcite-action`s that will appear at the end of the component, prior to the collapse/expand button.
14
9
  * @slot [actions-start] - A slot for adding `calcite-action`s that will appear at the start of the component. When `expandPosition` is `"start"`, actions in this slot will render after the collapse/expand button.
@@ -5,7 +5,7 @@ import { css, html, nothing } from "lit";
5
5
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
6
6
  import { createRef, ref } from "lit/directives/ref.js";
7
7
  import { useDirection } from "@arcgis/lumina/controllers";
8
- import { k as getStylePixelValue, C as filterDirectChildren, b as slotChangeGetAssignedElements, a as getSlotAssignedElements, d as focusElementInGroup } from "../../chunks/dom.js";
8
+ import { l as getStylePixelValue, C as filterDirectChildren, b as slotChangeGetAssignedElements, a as getSlotAssignedElements, e as focusElementInGroup } from "../../chunks/dom.js";
9
9
  import { c as createObserver } from "../../chunks/observers.js";
10
10
  import { t as toggleActionBarChildActionText, E as ExpandToggle } from "../../chunks/ExpandToggle.js";
11
11
  import { u as useT9n } from "../../chunks/useT9n.js";
@@ -6,10 +6,6 @@ import type { Action } from "../calcite-action/customElement.js";
6
6
  import type { Columns } from "./types.js";
7
7
 
8
8
  /**
9
- * @cssproperty [--calcite-action-background-color] - Specifies the component's background color.
10
- * @cssproperty [--calcite-action-group-border-color] - Specifies the component's border color when used in a `calcite-action-bar` or `calcite-action-menu`.
11
- * @cssproperty [--calcite-action-group-columns] - When `layout` is `"grid"`, specifies the component's `grid-template-columns`.
12
- * @cssproperty [--calcite-action-group-gap] - When `layout` is `"grid"`, specifies the component's gap.
13
9
  * @slot - A slot for adding `calcite-action`s.
14
10
  * @slot [menu-actions] - A slot for adding an overflow menu with `calcite-action`s inside a `calcite-dropdown`.
15
11
  * @slot [menu-tooltip] - A slot for adding a `calcite-tooltip` for the menu.
@@ -5,7 +5,6 @@ import type { Appearance, Scale } from "../types.js";
5
5
  import type { Action } from "../calcite-action/customElement.js";
6
6
 
7
7
  /**
8
- * @cssproperty [--calcite-action-menu-items-space] - Specifies the space between actions in the menu.
9
8
  * @slot - A slot for adding `calcite-action`s.
10
9
  * @slot [trigger] - A slot for adding a `calcite-action` to trigger opening the menu.
11
10
  * @slot [tooltip] - A slot for adding a tooltip for the menu.
@@ -5,9 +5,6 @@ import type { OverlayPositioning } from "../../utils/floating-ui.js";
5
5
 
6
6
  /**
7
7
  * @deprecated in v5.0.0, removal target v6.0.0 - Use the `calcite-action-bar` component instead.
8
- * @cssproperty [--calcite-action-pad-corner-radius] - Specifies the component's border radius.
9
- * @cssproperty [--calcite-action-pad-expanded-max-width] - When `expanded` and `layout` is `"vertical"`, specifies the component's maximum width.
10
- * @cssproperty [--calcite-action-pad-items-space] - Specifies the component's space between slotted components.
11
8
  * @slot - A slot for adding `calcite-action`s to the component.
12
9
  * @slot [expand-tooltip] - A slot to set the `calcite-tooltip` for the expand toggle.
13
10
  */
@@ -3,7 +3,7 @@ import { l as logger, c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, html } from "lit";
4
4
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
5
5
  import { useDirection } from "@arcgis/lumina/controllers";
6
- import { b as slotChangeGetAssignedElements, d as focusElementInGroup } from "../../chunks/dom.js";
6
+ import { b as slotChangeGetAssignedElements, e as focusElementInGroup } from "../../chunks/dom.js";
7
7
  import { l as legacyToggleChildActionText, E as ExpandToggle } from "../../chunks/ExpandToggle.js";
8
8
  import { c as createObserver } from "../../chunks/observers.js";
9
9
  import { u as useT9n } from "../../chunks/useT9n.js";
@@ -10,11 +10,6 @@ import type { AlertDuration, AlertQueue } from "./types.js";
10
10
  * Alerts are meant to provide a way to communicate urgent or important information to users, frequently as a result of an action they took in your app. Alerts are positioned
11
11
  * at the bottom of the page. Multiple opened alerts will be added to a queue, allowing users to dismiss them in the order they are provided.
12
12
  *
13
- * @cssproperty [--calcite-alert-width] - Specifies the component's width.
14
- * @cssproperty [--calcite-alert-background-color] - Specifies the component's background color.
15
- * @cssproperty [--calcite-alert-corner-radius] - Specifies the component's corner radius.
16
- * @cssproperty [--calcite-alert-shadow] - Specifies the component's shadow.
17
- * @cssproperty [--calcite-alert-offset-size] - Specifies the component's `placement` offset.
18
13
  * @slot [title] - A slot for adding a title to the component.
19
14
  * @slot [message] - A slot for adding main text to the component.
20
15
  * @slot [link] - A slot for adding a `calcite-action` to take from the component such as: "undo", "try again", "link to page", etc.
@@ -5,29 +5,6 @@ import type { Alignment, Scale, Status } from "../types.js";
5
5
  import type { IconName } from "../calcite-icon/types.js";
6
6
 
7
7
  /**
8
- * @cssproperty [--calcite-autocomplete-background-color] - Specifies the component's background color.
9
- * @cssproperty [--calcite-autocomplete-corner-radius] - Specifies the component's corner radius.
10
- * @cssproperty [--calcite-autocomplete-text-color] - Specifies the component's text color.
11
- * @cssproperty [--calcite-autocomplete-menu-max-size-y] - Specifies the maximum height of the component's menu.
12
- * @cssproperty [--calcite-autocomplete-input-prefix-size] - Specifies the input's prefix width, when present.
13
- * @cssproperty [--calcite-autocomplete-input-suffix-size] - Specifies the input's suffix width, when present.
14
- * @cssproperty [--calcite-autocomplete-input-background-color] - Specifies the background color of the component's input.
15
- * @cssproperty [--calcite-autocomplete-input-border-color] - Specifies the border color of the component's input.
16
- * @cssproperty [--calcite-autocomplete-input-corner-radius] - Specifies the corner radius of the component's input.
17
- * @cssproperty [--calcite-autocomplete-input-shadow] - Specifies the shadow of the component's input.
18
- * @cssproperty [--calcite-autocomplete-input-icon-color] - Specifies the icon color of the component's input.
19
- * @cssproperty [--calcite-autocomplete-input-text-color] - Specifies the text color of the component's input.
20
- * @cssproperty [--calcite-autocomplete-input-placeholder-text-color] - Specifies the placeholder text color of the component's input.
21
- * @cssproperty [--calcite-autocomplete-input-actions-background-color] - Specifies the background color of the input's `clearable` element.
22
- * @cssproperty [--calcite-autocomplete-input-actions-background-color-hover] - Specifies the background color of the input's `clearable` element when hovered.
23
- * @cssproperty [--calcite-autocomplete-input-actions-background-color-press] - Specifies the background color of the input's `clearable` element when pressed.
24
- * @cssproperty [--calcite-autocomplete-input-actions-icon-color] - Specifies the icon color of the input's `clearable` element.
25
- * @cssproperty [--calcite-autocomplete-input-actions-icon-color-hover] - Specifies the icon color of the input's `clearable` element when hovered.
26
- * @cssproperty [--calcite-autocomplete-input-actions-icon-color-press] - Specifies the icon color of the input's `clearable` element when pressed.
27
- * @cssproperty [--calcite-autocomplete-input-loading-background-color] - Specifies the background color of the Input's `loading` element, when present.
28
- * @cssproperty [--calcite-autocomplete-input-loading-fill-color] - Specifies the fill color of the Input's `loading` element, when present.
29
- * @cssproperty [--calcite-autocomplete-input-prefix-text-color] - Specifies the text color of the Input's prefix, when present.
30
- * @cssproperty [--calcite-autocomplete-input-suffix-text-color] - Specifies the text color of the Input's suffix, when present.
31
8
  * @slot - A slot for adding `calcite-autocomplete-item` elements.
32
9
  * @slot [content-bottom] - A slot for adding content below `calcite-autocomplete-item` elements.
33
10
  * @slot [content-top] - A slot for adding content above `calcite-autocomplete-item` elements.
@@ -4,10 +4,6 @@ import type { FlipContext } from "../types.js";
4
4
  import type { IconName } from "../calcite-icon/types.js";
5
5
 
6
6
  /**
7
- * @cssproperty [--calcite-autocomplete-background-color] - Specifies the component's background color.
8
- * @cssproperty [--calcite-autocomplete-description-text-color] - Specifies the text color of the component's `description`.
9
- * @cssproperty [--calcite-autocomplete-heading-text-color] - Specifies the text color of the component's `heading`.
10
- * @cssproperty [--calcite-autocomplete-text-color] - Specifies the component's text color.
11
7
  * @slot [content-end] - A slot for adding non-actionable elements after content of the component.
12
8
  * @slot [content-start] - A slot for adding non-actionable elements before content of the component.
13
9
  */
@@ -2,12 +2,7 @@
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { AutocompleteItem } from "../calcite-autocomplete-item/customElement.js";
4
4
 
5
- /**
6
- * @cssproperty [--calcite-autocomplete-background-color] - Specifies the component's background color.
7
- * @cssproperty [--calcite-autocomplete-border-color] - Specifies the component's border color.
8
- * @cssproperty [--calcite-autocomplete-text-color] - Specifies the component's text color.
9
- * @slot - A slot for adding `calcite-autocomplete-item`s.
10
- */
5
+ /** @slot - A slot for adding `calcite-autocomplete-item`s. */
11
6
  export abstract class AutocompleteItemGroup extends LitElement {
12
7
  /**
13
8
  * Specifies the component's heading text.
@@ -2,11 +2,6 @@
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { Scale } from "../types.js";
4
4
 
5
- /**
6
- * @cssproperty [--calcite-avatar-corner-radius] - Specifies the component's corner radius.
7
- * @cssproperty [--calcite-avatar-color] - Specifies the component's icon or initial color.
8
- * @cssproperty [--calcite-avatar-background-color] - Specifies the component's background color.
9
- */
10
5
  export abstract class Avatar extends LitElement {
11
6
  /** Specifies the full name of the user. When `label` and `thumbnail` are not defined, specifies the accessible name for the component. */
12
7
  accessor fullName: string | undefined;
@@ -7,23 +7,6 @@ import type { IconName } from "../calcite-icon/types.js";
7
7
  import type { BlockToggleDisplay } from "./types.js";
8
8
 
9
9
  /**
10
- * @cssproperty [--calcite-block-border-color] - Specifies the component's border color.
11
- * @cssproperty [--calcite-block-content-space] - Specifies the space of the component's `default` slot.
12
- * @cssproperty [--calcite-block-background-color] - Specifies the component's background color.
13
- * @cssproperty [--calcite-block-header-background-color] - [Deprecated] in v5.2.0, removal target v7.0.0 - Use `--calcite-block-background-color` instead. Specifies the component's `heading` background color.
14
- * @cssproperty [--calcite-block-header-background-color-hover] - Specifies the component's `heading` background color when hovered.
15
- * @cssproperty [--calcite-block-header-background-color-press] - Specifies the component's `heading` background color when pressed.
16
- * @cssproperty [--calcite-block-heading-text-color] - Specifies the component's `heading` text color.
17
- * @cssproperty [--calcite-block-heading-text-color-press] - [Deprecated] in v3.3.0, removal target v6.0.0 - Use `--calcite-block-heading-text-color` instead. When the component is `expanded`, specifies the `heading` text color.
18
- * @cssproperty [--calcite-block-padding] - [Deprecated] in v3.3.0, removal target v6.0.0 - Use `--calcite-block-content-space` instead. Specifies the padding of the component's `default` slot.
19
- * @cssproperty [--calcite-block-text-color] - [Deprecated] in v3.3.0, removal target v6.0.0 - Specifies the component's text color.
20
- * @cssproperty [--calcite-block-description-text-color] - Specifies the component's `description` text color.
21
- * @cssproperty [--calcite-block-icon-color] - [Deprecated] in v5.1.0, removal target v7.0.0 - Use `--calcite-block-collapsible-icon-color`, `--calcite-block-icon-start-color` and `--calcite-block-icon-end-color` instead. Specifies the component's `collapsible` icon, `iconStart` and `iconEnd` color.
22
- * @cssproperty [--calcite-block-icon-color-hover] - [Deprecated] in v5.1.0, removal target v7.0.0 - Use `--calcite-block-collapsible-icon-color-hover` instead. Specifies the component's `collapsible` icon color when hovered.
23
- * @cssproperty [--calcite-block-icon-start-color] - Specifies the component's `iconStart` color.
24
- * @cssproperty [--calcite-block-icon-end-color] - Specifies the component's `iconEnd` color.
25
- * @cssproperty [--calcite-block-collapsible-icon-color] - Specifies the component's `collapsible` icon color.
26
- * @cssproperty [--calcite-block-collapsible-icon-color-hover] - Specifies the component's `collapsible` icon color when hovered.
27
10
  * @slot - A slot for adding custom content.
28
11
  * @slot [actions-end] - A slot for adding actionable `calcite-action` elements after the content of the component. It is recommended to use two or fewer actions.
29
12
  * @slot [content-end] - A slot for adding non-actionable elements after the component's header text.
@@ -4,7 +4,7 @@ import { keyed } from "lit/directives/keyed.js";
4
4
  import { ref } from "lit/directives/ref.js";
5
5
  import { css, html, nothing } from "lit";
6
6
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
7
- import { s as slotChangeHasAssignedElement, b as slotChangeGetAssignedElements } from "../../chunks/dom.js";
7
+ import { s as slotChangeHasAssignedElement, b as slotChangeGetAssignedElements, d as slotChangeHasTextContent } from "../../chunks/dom.js";
8
8
  import { H as Heading } from "../../chunks/Heading.js";
9
9
  import { g as getIconScale } from "../../chunks/component.js";
10
10
  import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
@@ -15,6 +15,7 @@ import { s as styles$2 } from "../../chunks/sortable.js";
15
15
  import { s as styles$1 } from "../../chunks/header.js";
16
16
  import { u as useInteractive } from "../../chunks/useInteractive.js";
17
17
  import { C as CSS, I as ICONS, S as SLOTS, a as IDS } from "../../chunks/resources7.js";
18
+ import { t as toAriaBoolean } from "../../chunks/aria.js";
18
19
  const styles = css`: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([scale=s]) .header{gap:var(--calcite-spacing-sm)}:host([scale=s]) .icon-end-container{gap:var(--calcite-spacing-sm);padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .heading{font-size:var(--calcite-font-size-sm)}:host([scale=s]) .description{font-size:var(--calcite-font-size-xs)}:host([scale=s]){--calcite-internal-block-actions-spacing: var(--calcite-spacing-xxs);--calcite-internal-block-header-content-padding: var(--calcite-spacing-sm);--calcite-internal-block-padding-block: var( --calcite-block-content-space, var(--calcite-block-padding, var(--calcite-spacing-xxs)) );--calcite-internal-block-padding-inline: var( --calcite-block-content-space, var(--calcite-block-padding, var(--calcite-spacing-sm)) )}:host([scale=m]) .header{gap:var(--calcite-spacing-md)}:host([scale=m]) .icon-end-container{gap:var(--calcite-spacing-md);padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .heading{font-size:var(--calcite-font-size)}:host([scale=m]) .description{font-size:var(--calcite-font-size-sm)}:host([scale=m]){--calcite-internal-block-actions-spacing: var(--calcite-spacing-xxs);--calcite-internal-block-header-content-padding: var(--calcite-spacing-md);--calcite-internal-block-padding-block: var( --calcite-block-content-space, var(--calcite-block-padding, var(--calcite-spacing-sm)) );--calcite-internal-block-padding-inline: var( --calcite-block-content-space, var(--calcite-block-padding, var(--calcite-spacing-md)) )}:host([scale=l]) .header{gap:var(--calcite-spacing-lg)}:host([scale=l]) .icon-end-container{gap:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .heading{font-size:var(--calcite-font-size-md)}:host([scale=l]) .description{font-size:var(--calcite-font-size)}:host([scale=l]){--calcite-internal-block-actions-spacing: var(--calcite-spacing-xs);--calcite-internal-block-header-content-padding: var(--calcite-spacing-lg);--calcite-internal-block-padding-block: var( --calcite-block-content-space, var(--calcite-block-padding, var(--calcite-spacing-md)) );--calcite-internal-block-padding-inline: var( --calcite-block-content-space, var(--calcite-block-padding, var(--calcite-spacing-lg)) )}:host{display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;padding:0;transition-property:margin;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.215,.44,.42,.88);flex-basis:auto;border-color:var(--calcite-block-border-color, var(--calcite-color-border-3));background-color:var(--calcite-block-background-color, var(--calcite-color-foreground-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{justify-content:flex-start}.header--has-content{padding:var(--calcite-internal-block-header-content-padding)}.header--draggable{padding-inline-start:var(--calcite-spacing-xxs)}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto auto auto;grid-template-areas:"handle header icon-end menu actions-end"}.icon--start{color:var(--calcite-block-icon-start-color, var(--calcite-block-icon-color, var(--calcite-color-text-3)))}.icon--end{color:var(--calcite-block-icon-end-color, var(--calcite-block-icon-color, var(--calcite-color-text-3)))}.actions-end{align-items:center;display:flex;gap:var(--calcite-internal-block-actions-spacing);grid-area:actions-end;padding-block:var(--calcite-internal-block-actions-spacing);padding-inline-end:var(--calcite-internal-block-actions-spacing)}.toggle{margin:0;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0;outline-color:transparent;font-family:inherit;text-align:initial;background-color:var(--calcite-block-header-background-color, transparent)}.toggle:hover{background-color:var(--calcite-block-header-background-color-hover, var(--calcite-color-foreground-2))}.toggle: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))))}.toggle:active{background-color:var(--calcite-block-header-background-color-press, var(--calcite-color-foreground-3))}calcite-loader[inline]{align-self:center}calcite-sort-handle{align-self:center;grid-area:handle;margin-block:var(--calcite-internal-block-actions-spacing);padding-inline-start:var(--calcite-spacing-xxs)}.title{display:flex;flex-direction:column}.header .title .heading{padding:0;word-wrap:break-word;word-break:break-word;color:var(--calcite-block-heading-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-normal);line-height:var(--calcite-font-line-height-relative-snug)}.description{padding:0;word-wrap:break-word;word-break:break-word;color:var(--calcite-block-description-text-color, var(--calcite-color-text-3));font-weight:var(--calcite-font-weight-regular);line-height:var(--calcite-font-line-height-relative-snug)}.icon{display:flex}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}@keyframes spin{0%{transform:rotate(0)}50%{transform:rotate(180deg)}to{transform:rotate(360deg)}}.icon-end-container{display:flex;align-items:center;grid-area:icon-end}.toggle-icon{align-self:center;justify-self:end;transition-property:color;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);color:var(--calcite-block-collapsible-icon-color, var(--calcite-block-icon-color, var(--calcite-color-text-3)))}.toggle:hover .toggle-icon{color:var(--calcite-block-collapsible-icon-color-hover, var(--calcite-block-icon-color-hover, var(--calcite-color-text-1)))}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%;opacity:0;transition:opacity var(--calcite-internal-animation-timing-slow) ease-in-out}.has-slotted-content{padding-block:var(--calcite-internal-block-padding-block);padding-inline:var(--calcite-internal-block-padding-inline)}.content-end,.content-start{display:flex;align-items:center;color:var(--calcite-block-text-color, var(--calcite-color-text-3))}calcite-action-menu{align-self:center;grid-area:menu;margin-inline-end:var(--calcite-internal-block-actions-spacing)}:host([expanded]){margin-block:.5rem}:host([expanded]) .header .title .heading{color:var(--calcite-block-heading-text-color, var(--calcite-block-heading-text-color-press, var(--calcite-color-text-1)));font-weight:var(--calcite-font-weight-medium)}:host([expanded]) .description{color:var(--calcite-block-description-text-color, var(--calcite-color-text-2))}:host([expanded]) .icon--start{color:var(--calcite-block-icon-start-color, var(--calcite-block-icon-color, var(--calcite-color-text-1)))}:host([expanded]) .icon--end{color:var(--calcite-block-icon-end-color, var(--calcite-block-icon-color, var(--calcite-color-text-1)))}:host([expanded]) .content{opacity:1}@starting-style{:host([expanded]){margin-block-start:0;opacity:0}}:host([expanded][scale=s]){margin-block:var(--calcite-spacing-xxs)}:host([expanded][scale=l]){margin-block:var(--calcite-spacing-md)}:host([hidden]){display:none}[hidden]{display:none}slot[name=children]::slotted(calcite-block){border-block-end-width:0}`;
19
20
  class Block extends LitElement {
20
21
  constructor() {
@@ -189,7 +190,7 @@ class Block extends LitElement {
189
190
  }
190
191
  handleDefaultSlotChange(event) {
191
192
  this.blockSectionChildren = slotChangeGetAssignedElements(event, "calcite-block-section");
192
- this.hasContent = slotChangeHasAssignedElement(event);
193
+ this.hasContent = slotChangeHasTextContent(event) || slotChangeHasAssignedElement(event);
193
194
  this.updateBlockSectionScale();
194
195
  }
195
196
  updateBlockSectionScale() {
@@ -247,7 +248,7 @@ class Block extends LitElement {
247
248
  })} id=${IDS.header}>${this.renderIcon("start")}${this.renderContentStart()}${this.renderLoaderStatusIcon()}${this.renderTitle()}</header>`;
248
249
  const collapseIcon = expanded ? ICONS.expanded : ICONS.collapsed;
249
250
  const headerNode = html`<div class=${safeClassMap(CSS.headerContainer)}>${this.dragHandle ? html`<calcite-sort-handle .addToItems=${addToItems} .disabled=${dragDisabled} .label=${heading || label} .moveToItems=${moveToItems} @calciteSortHandleBeforeClose=${this.handleSortHandleBeforeClose} @calciteSortHandleBeforeOpen=${this.handleSortHandleBeforeOpen} @calciteSortHandleClose=${this.handleSortHandleClose} @calciteSortHandleOpen=${this.handleSortHandleOpen} overlay-positioning=fixed .scale=${this.scale} .setPosition=${setPosition} .setSize=${setSize} .sortDisabled=${sortDisabled} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.setSortHandleEl)}></calcite-sort-handle>` : null}${expandable ? html`<button aria-controls=${IDS.content} aria-describedby=${IDS.header} .ariaExpanded=${expandable ? expanded : void 0} class=${safeClassMap(CSS.toggle)} id=${IDS.toggle} @click=${this.onHeaderClick} title=${toggleLabel ?? nothing} type=button>${headerContent}<div class=${safeClassMap(CSS.iconEndContainer)}>${this.renderContentEnd()}${this.renderIcon("end")}${this.toggleDisplay === "switch" ? html`<calcite-switch .checked=${expanded} .disabled=${this.disabled} inert .label=${toggleLabel} .scale=${this.scale}></calcite-switch>` : html`<calcite-icon class=${safeClassMap(CSS.toggleIcon)} .icon=${collapseIcon} .scale=${getIconScale(this.scale)}></calcite-icon>`}</div></button>` : headerContent}${iconEnd && !expandable ? html`<div class=${safeClassMap(CSS.iconEndContainer)}>${this.renderContentEnd()}${this.renderIcon("end")}</div>` : !iconEnd && !expandable ? this.renderContentEnd() : null}<calcite-action-menu .flipPlacements=${menuFlipPlacements ?? ["top", "bottom"]} .hidden=${!this.hasMenuActions} .label=${messages.options} .overlayPositioning=${this.overlayPositioning} .placement=${menuPlacement} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled}><slot name=${SLOTS.headerMenuActions} @slotchange=${this.menuActionsSlotChangeHandler}></slot></calcite-action-menu>${this.renderActionsEnd()}</div>`;
250
- return this.interactiveContainer({ disabled: this.disabled, children: html`<article aria-label=${label ?? nothing} .ariaBusy=${loading} class=${safeClassMap({
251
+ return this.interactiveContainer({ disabled: this.disabled, children: html`<article aria-label=${label ?? nothing} .ariaBusy=${toAriaBoolean(loading, void 0)} class=${safeClassMap({
251
252
  [CSS.container]: true
252
253
  })}>${headerNode}<section aria-labelledby=${IDS.toggle} class=${safeClassMap({
253
254
  [CSS.content]: true,
@@ -12,6 +12,7 @@ import { u as useInteractive } from "../../chunks/useInteractive.js";
12
12
  import { u as useSortable } from "../../chunks/useSortable.js";
13
13
  import { i as isTag } from "../../chunks/resources3.js";
14
14
  import { i as isBlock } from "../../chunks/resources7.js";
15
+ import { t as toAriaBoolean } from "../../chunks/aria.js";
15
16
  const CSS = {
16
17
  container: "container",
17
18
  groupContainer: "group-container",
@@ -350,7 +351,7 @@ class BlockGroup extends LitElement {
350
351
  }
351
352
  render() {
352
353
  const { loading, label } = this;
353
- return this.interactiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap(CSS.container)}>${this.dragEnabled ? html`<span aria-live=assertive class=${safeClassMap(CSS.assistiveText)}>${this.assistiveText}</span>` : null}${loading ? html`<calcite-scrim class=${safeClassMap(CSS.scrim)} .loading=${loading}></calcite-scrim>` : null}<div .ariaBusy=${loading} .ariaLabel=${label || ""} class=${safeClassMap(CSS.groupContainer)} role=group><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></div>` });
354
+ return this.interactiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap(CSS.container)}>${this.dragEnabled ? html`<span aria-live=assertive class=${safeClassMap(CSS.assistiveText)}>${this.assistiveText}</span>` : null}${loading ? html`<calcite-scrim class=${safeClassMap(CSS.scrim)} .loading=${loading}></calcite-scrim>` : null}<div .ariaBusy=${toAriaBoolean(loading, void 0)} .ariaLabel=${label || ""} class=${safeClassMap(CSS.groupContainer)} role=group><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></div>` });
354
355
  }
355
356
  }
356
357
  customElement("calcite-block-group", BlockGroup);
@@ -6,12 +6,6 @@ import type { BlockSectionToggleDisplay } from "./types.js";
6
6
 
7
7
  /**
8
8
  * @deprecated in v5.2.0, removal target v7.0.0 - Use the `calcite-block` component instead.
9
- * @cssproperty [--calcite-block-section-background-color] - Specifies the component's background color.
10
- * @cssproperty [--calcite-block-section-border-color] - Specifies the component's border color. When `expanded`, applies to the component's bottom border.
11
- * @cssproperty [--calcite-block-section-header-text-color] - Specifies the component's header text color.
12
- * @cssproperty [--calcite-block-section-text-color] - Specifies the component's text color.
13
- * @cssproperty [--calcite-block-section-text-color-hover] - Specifies the component's text color on hover.
14
- * @cssproperty [--calcite-block-section-content-space] - Specifies the padding of the component's content in `default` slot.
15
9
  * @slot - A slot for adding custom content.
16
10
  */
17
11
  export abstract class BlockSection extends LitElement {
@@ -9,13 +9,6 @@ import type { ButtonAlignment } from "./types.js";
9
9
  *
10
10
  * It is the consumers responsibility to add aria information, rel, target, for links, and any button attributes for form submission
11
11
  *
12
- * @cssproperty [--calcite-button-background-color] - Specifies the component's background color.
13
- * @cssproperty [--calcite-button-border-color] - Specifies the component's border color.
14
- * @cssproperty [--calcite-button-corner-radius] - Specifies the component's corner radius.
15
- * @cssproperty [--calcite-button-icon-color] - Specifies the component's `iconStart` and `iconEnd` color.
16
- * @cssproperty [--calcite-button-loader-color] - Specifies the component's loader color.
17
- * @cssproperty [--calcite-button-text-color] - Specifies the component's text color.
18
- * @cssproperty [--calcite-button-shadow] - Specifies the component's shadow.
19
12
  * @slot - A slot for adding text.
20
13
  */
21
14
  export abstract class Button extends LitElement {