@esri/calcite-components 5.1.1-next.5 → 5.1.1

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 (268) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/{6URRYJJC.js → 25SUELBY.js} +1 -1
  3. package/dist/cdn/{QKYRWKTU.js → 2J4U5E4U.js} +1 -1
  4. package/dist/cdn/{5UM2PD3Y.js → 2JJ5YBBT.js} +1 -1
  5. package/dist/cdn/{6JJSMJ5O.js → 2P3LOGHK.js} +1 -1
  6. package/dist/cdn/{6OQ7N7VS.js → 34ENIUR5.js} +1 -1
  7. package/dist/cdn/{V4PO6GRD.js → 3KWJQXAT.js} +1 -1
  8. package/dist/cdn/{MUUP34X3.js → 3RRY5HHA.js} +1 -1
  9. package/dist/cdn/{HHH7H3RQ.js → 3TYJSBP3.js} +1 -1
  10. package/dist/cdn/{7UQ4BXIA.js → 44HFP2I6.js} +1 -1
  11. package/dist/cdn/44VCOKJX.js +2 -0
  12. package/dist/cdn/{SY4OTCR3.js → 47Q2AE5B.js} +1 -1
  13. package/dist/cdn/{GLRM5ZT5.js → 4NUFBGFK.js} +1 -1
  14. package/dist/cdn/{7MDIWERA.js → 4UHTWXNV.js} +1 -1
  15. package/dist/cdn/{VG7NP4T6.js → 524MMG22.js} +1 -1
  16. package/dist/cdn/{5VR5L3IN.js → 5D7IEY6J.js} +1 -1
  17. package/dist/cdn/{EV4D2B4G.js → 5O6YGOJE.js} +1 -1
  18. package/dist/cdn/{ZD2AZI2C.js → 5VAPN2S2.js} +1 -1
  19. package/dist/cdn/5X2CR2NN.js +2 -0
  20. package/dist/cdn/{ZRMUXK2V.js → 6HRHKHF5.js} +1 -1
  21. package/dist/cdn/{IPV6SRQB.js → 6S3G75WP.js} +1 -1
  22. package/dist/cdn/6SZY5PY7.js +2 -0
  23. package/dist/cdn/{BJ4ABCUP.js → 6V3FX2W2.js} +1 -1
  24. package/dist/cdn/{6PNEL3GY.js → 6VDGKXTH.js} +1 -1
  25. package/dist/cdn/{L3DV3PDZ.js → 6VP3K6WL.js} +1 -1
  26. package/dist/cdn/{VPAYQE3N.js → 6X3QWKZL.js} +1 -1
  27. package/dist/cdn/{KLK5B7QV.js → 6XMUSNRS.js} +1 -1
  28. package/dist/cdn/{ZYP2R6KW.js → 7B4FOF3S.js} +1 -1
  29. package/dist/cdn/{ACHU3T7F.js → 7QS3Z4ZJ.js} +1 -1
  30. package/dist/cdn/{V4P7PWKU.js → 7SDGC2RW.js} +1 -1
  31. package/dist/cdn/A6V4I2J3.js +2 -0
  32. package/dist/cdn/{TR3GWZR3.js → ALLL4LZ4.js} +1 -1
  33. package/dist/cdn/{LW32DABQ.js → BCRYMNH7.js} +1 -1
  34. package/dist/cdn/{ZCF63ZNP.js → BSMPD6VA.js} +1 -1
  35. package/dist/cdn/{V7UCH3LL.js → C462ZIJD.js} +1 -1
  36. package/dist/cdn/{QJNZ4DGE.js → C4DW27AP.js} +1 -1
  37. package/dist/cdn/C4OX3FC4.js +2 -0
  38. package/dist/cdn/{QGJMSJYV.js → CDNETLLO.js} +1 -1
  39. package/dist/cdn/{5X5GP5QD.js → CENYPZ3Y.js} +1 -1
  40. package/dist/cdn/{YENIJIGH.js → CEWOZ7LP.js} +1 -1
  41. package/dist/cdn/{AQ3IFEKN.js → CM45J66U.js} +1 -1
  42. package/dist/cdn/{MUEVO64B.js → COXLBEPM.js} +1 -1
  43. package/dist/cdn/CVJBK7K3.js +2 -0
  44. package/dist/cdn/{LBC3QOSD.js → DDUIHGBF.js} +1 -1
  45. package/dist/cdn/{56OUAFHZ.js → DK3SDSZL.js} +1 -1
  46. package/dist/cdn/{U54ZTDU5.js → DP2TY4KH.js} +1 -1
  47. package/dist/cdn/{GKHYTKRX.js → E6X6BQLH.js} +1 -1
  48. package/dist/cdn/{7TWNW2BD.js → E7GXKIIO.js} +1 -1
  49. package/dist/cdn/{5KHTOS43.js → ECVX7SVS.js} +1 -1
  50. package/dist/cdn/{CY2QEKCK.js → ELXBBUY5.js} +1 -1
  51. package/dist/cdn/{GATVDTCX.js → EQKCU4NC.js} +1 -1
  52. package/dist/cdn/{7YW5YF3W.js → ETEMG44R.js} +1 -1
  53. package/dist/cdn/{JCCTCJBT.js → G2G6FHMB.js} +1 -1
  54. package/dist/cdn/{26TKJ45G.js → GCAYSD7G.js} +1 -1
  55. package/dist/cdn/{K3J3HP3C.js → GDFQSWZ7.js} +1 -1
  56. package/dist/cdn/{ZFON2VHB.js → GDYGEN45.js} +1 -1
  57. package/dist/cdn/{CISWZLPM.js → GTH6QFMV.js} +1 -1
  58. package/dist/cdn/{6HZDBIQR.js → HA65OOQD.js} +1 -1
  59. package/dist/cdn/HYIVUAZU.js +2 -0
  60. package/dist/cdn/{VOJ3FHN7.js → I4IDQ735.js} +1 -1
  61. package/dist/cdn/{YL72ZNRG.js → ICGT7C6U.js} +1 -1
  62. package/dist/cdn/{3WWVPHTN.js → ID2LCYSN.js} +1 -1
  63. package/dist/cdn/{M3IE6HID.js → IEWVQCQW.js} +1 -1
  64. package/dist/cdn/{FIDNERXC.js → IHYNJVS4.js} +1 -1
  65. package/dist/cdn/{SKUVMTOE.js → IMUM436K.js} +1 -1
  66. package/dist/cdn/{QAQYS3BO.js → IRANNKJ2.js} +1 -1
  67. package/dist/cdn/{4OKNI2ME.js → JCVLN6XL.js} +1 -1
  68. package/dist/cdn/{TQ74DQDG.js → JDVSVNSE.js} +1 -1
  69. package/dist/cdn/{HETBUMGG.js → JGCJVDJA.js} +1 -1
  70. package/dist/cdn/{UWMTXTYU.js → JPPCKAMD.js} +1 -1
  71. package/dist/cdn/{EOXVTTON.js → JSXQ6NFN.js} +1 -1
  72. package/dist/cdn/KCN4PBFZ.js +2 -0
  73. package/dist/cdn/{APBFB6S3.js → KJCVGOXF.js} +1 -1
  74. package/dist/cdn/{6PA56XE3.js → KLNQGCK2.js} +1 -1
  75. package/dist/cdn/KOWFGIAY.js +2 -0
  76. package/dist/cdn/{MKMBDYHE.js → KXD6O3ZI.js} +1 -1
  77. package/dist/cdn/{BZ2ZKLD7.js → L3D2OBOR.js} +1 -1
  78. package/dist/cdn/L5IKT3WY.js +2 -0
  79. package/dist/cdn/LGB6OAXT.js +2 -0
  80. package/dist/cdn/{KC4N5X3R.js → LI2CATYC.js} +1 -1
  81. package/dist/cdn/{5CZT7ZF2.js → LJSR66HF.js} +1 -1
  82. package/dist/cdn/{FMGMUK7H.js → LKYA2H2B.js} +1 -1
  83. package/dist/cdn/{GLODC255.js → LOJBKHVF.js} +1 -1
  84. package/dist/cdn/{4ZARBNVE.js → MHE72N53.js} +1 -1
  85. package/dist/cdn/{2UXB22NZ.js → MW5MGBT4.js} +1 -1
  86. package/dist/cdn/{ANS7V4RO.js → NBAYHB3K.js} +1 -1
  87. package/dist/cdn/{YHXTGLCG.js → NCSMOKFP.js} +1 -1
  88. package/dist/cdn/{ISATMK3J.js → ND7KY7GE.js} +1 -1
  89. package/dist/cdn/{4U2T5QCF.js → NG7BG3QY.js} +1 -1
  90. package/dist/cdn/NL77UDLL.js +2 -0
  91. package/dist/cdn/{WY23ABPE.js → NTD2BJWG.js} +1 -1
  92. package/dist/cdn/{2B22J6N7.js → ODGJXDZK.js} +1 -1
  93. package/dist/cdn/{YIUURHN4.js → ORIGVFX7.js} +1 -1
  94. package/dist/cdn/{AXVF2756.js → OWIJSXYV.js} +1 -1
  95. package/dist/cdn/{HWD5HVPG.js → OXCL3M4W.js} +1 -1
  96. package/dist/cdn/{FNQJGIT5.js → PB3LTBSS.js} +1 -1
  97. package/dist/cdn/{BTFUTGOB.js → PHEMAFCT.js} +1 -1
  98. package/dist/cdn/{ARP32LFE.js → PIR7PWBO.js} +1 -1
  99. package/dist/cdn/PM5MZR4Z.js +2 -0
  100. package/dist/cdn/{D5H6K3NA.js → Q4V5DVKS.js} +1 -1
  101. package/dist/cdn/{VWXOBCBN.js → Q56UST3A.js} +1 -1
  102. package/dist/cdn/{ZD5WXZ5Y.js → QC5NB4VL.js} +1 -1
  103. package/dist/cdn/{W3FK3ZCB.js → QEJBAQOY.js} +1 -1
  104. package/dist/cdn/{7P74AKWI.js → QGF4JJQO.js} +1 -1
  105. package/dist/cdn/{F7DJCE7J.js → QZJ7GLQ3.js} +1 -1
  106. package/dist/cdn/RK2LH73E.js +2 -0
  107. package/dist/cdn/{YDF4DHQ3.js → ROJYTRK6.js} +1 -1
  108. package/dist/cdn/{HIUFMP4S.js → RRKFBHMW.js} +1 -1
  109. package/dist/cdn/{H4DJFHRD.js → RUUD543Z.js} +1 -1
  110. package/dist/cdn/{J4CNKBKA.js → S2BIRHQ7.js} +1 -1
  111. package/dist/cdn/{T6AQWGKD.js → SJCWFQNF.js} +1 -1
  112. package/dist/cdn/SNJLHXVG.js +2 -0
  113. package/dist/cdn/{G2GTTVSE.js → SNY2QKQJ.js} +1 -1
  114. package/dist/cdn/{ZACTCZNT.js → ST6WRTR2.js} +1 -1
  115. package/dist/cdn/{FIIPI4TO.js → SW5TNX5V.js} +1 -1
  116. package/dist/cdn/SXXFODM6.js +2 -0
  117. package/dist/cdn/{ONJA74QA.js → TKK3AWQJ.js} +1 -1
  118. package/dist/cdn/{ZG5BEBIM.js → TTCZVBEF.js} +1 -1
  119. package/dist/cdn/{A7T3VN2V.js → TV47CRME.js} +1 -1
  120. package/dist/cdn/{KU7JKZKM.js → TVU7KEKM.js} +1 -1
  121. package/dist/cdn/{3BFO4M6M.js → TVYIJRI2.js} +1 -1
  122. package/dist/cdn/{KOB2L5OF.js → TWVXE232.js} +1 -1
  123. package/dist/cdn/{LYU2H6SF.js → TYQB2FN4.js} +1 -1
  124. package/dist/cdn/{RQWRV3MX.js → U4GRIQVY.js} +1 -1
  125. package/dist/cdn/{YWOGIBVU.js → U7OJQ4EC.js} +1 -1
  126. package/dist/cdn/{FGLX24UP.js → UCWB5EGV.js} +1 -1
  127. package/dist/cdn/{ODZLYUK3.js → UTVGUMUM.js} +1 -1
  128. package/dist/cdn/{WA2S45EI.js → V3X47NBI.js} +1 -1
  129. package/dist/cdn/{L4PX2B5Q.js → V7PYDILT.js} +1 -1
  130. package/dist/cdn/{27CKMD4S.js → V7YPIVAX.js} +1 -1
  131. package/dist/cdn/{WCQV2FD5.js → VDJMOKVP.js} +1 -1
  132. package/dist/cdn/{VOXGCDBD.js → VEZBAZZG.js} +1 -1
  133. package/dist/cdn/VXBJOP6X.js +2 -0
  134. package/dist/cdn/{OORT75JS.js → VZ2YR2UG.js} +1 -1
  135. package/dist/cdn/{WTNLCUMG.js → W57IL7KF.js} +1 -1
  136. package/dist/cdn/{F5LUOXQA.js → WCUO6JQN.js} +1 -1
  137. package/dist/cdn/{DBQJQXU6.js → WER7FADP.js} +1 -1
  138. package/dist/cdn/{3NAS4Q4X.js → WQCT4VLB.js} +1 -1
  139. package/dist/cdn/X3HV2NYH.js +2 -0
  140. package/dist/cdn/{JZQC7UCN.js → XRUJ4D7O.js} +1 -1
  141. package/dist/cdn/{LTTOM2CS.js → XT4GLBAQ.js} +1 -1
  142. package/dist/cdn/{D2VTJOPM.js → Y7O6UR4T.js} +1 -1
  143. package/dist/cdn/{LLESMANM.js → YHAJICJ2.js} +1 -1
  144. package/dist/cdn/{PWME5N37.js → YKL7MIG5.js} +1 -1
  145. package/dist/cdn/YYAYEKGB.js +2 -0
  146. package/dist/cdn/{2TUMH7BJ.js → Z3IP3JBL.js} +1 -1
  147. package/dist/cdn/ZK2W2KJX.js +2 -0
  148. package/dist/cdn/{QER5D477.js → ZOEJDQXA.js} +1 -1
  149. package/dist/cdn/{D2NNUCFT.js → ZRMTOZ3B.js} +1 -1
  150. package/dist/cdn/index.js +1 -1
  151. package/dist/chunks/ExpandToggle.js +1 -1
  152. package/dist/chunks/date.js +3 -3
  153. package/dist/chunks/dom.js +3 -15
  154. package/dist/chunks/floating-ui.js +1 -1
  155. package/dist/chunks/label.js +6 -6
  156. package/dist/chunks/locale.js +6 -3
  157. package/dist/chunks/manager.js +5 -5
  158. package/dist/chunks/resources10.js +63 -0
  159. package/dist/chunks/resources5.js +27 -52
  160. package/dist/chunks/resources6.js +48 -45
  161. package/dist/chunks/resources7.js +49 -7
  162. package/dist/chunks/resources8.js +9 -11
  163. package/dist/chunks/resources9.js +4 -48
  164. package/dist/chunks/runtime.js +4 -4
  165. package/dist/chunks/utils2.js +59 -6
  166. package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
  167. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  168. package/dist/components/calcite-alert/customElement.d.ts +2 -2
  169. package/dist/components/calcite-alert/customElement.js +4 -6
  170. package/dist/components/calcite-autocomplete/customElement.d.ts +16 -16
  171. package/dist/components/calcite-autocomplete/customElement.js +4 -4
  172. package/dist/components/calcite-autocomplete-item/customElement.d.ts +5 -5
  173. package/dist/components/calcite-avatar/customElement.d.ts +5 -5
  174. package/dist/components/calcite-card/customElement.d.ts +1 -1
  175. package/dist/components/calcite-carousel/customElement.js +6 -5
  176. package/dist/components/calcite-checkbox/customElement.d.ts +4 -4
  177. package/dist/components/calcite-checkbox/customElement.js +1 -1
  178. package/dist/components/calcite-chip/customElement.js +1 -27
  179. package/dist/components/calcite-chip-group/customElement.js +1 -1
  180. package/dist/components/calcite-color-picker/customElement.js +1 -1
  181. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  182. package/dist/components/calcite-combobox/customElement.js +286 -132
  183. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  184. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  185. package/dist/components/calcite-date-picker/customElement.js +1 -1
  186. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  187. package/dist/components/calcite-date-picker-month/customElement.js +11 -2
  188. package/dist/components/calcite-dialog/customElement.js +8 -8
  189. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  190. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  191. package/dist/components/calcite-flow/customElement.d.ts +2 -2
  192. package/dist/components/calcite-flow/customElement.js +1 -1
  193. package/dist/components/calcite-flow-item/customElement.js +2 -2
  194. package/dist/components/calcite-input/customElement.js +5 -2
  195. package/dist/components/calcite-input-date-picker/customElement.js +5 -10
  196. package/dist/components/calcite-input-text/customElement.js +2 -2
  197. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  198. package/dist/components/calcite-list/customElement.d.ts +4 -4
  199. package/dist/components/calcite-list/customElement.js +6 -5
  200. package/dist/components/calcite-list-item/customElement.d.ts +6 -6
  201. package/dist/components/calcite-list-item/customElement.js +21 -14
  202. package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
  203. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  204. package/dist/components/calcite-loader/customElement.js +3 -3
  205. package/dist/components/calcite-menu-item/customElement.d.ts +7 -7
  206. package/dist/components/calcite-menu-item/customElement.js +0 -3
  207. package/dist/components/calcite-meter/customElement.d.ts +6 -6
  208. package/dist/components/calcite-meter/customElement.js +7 -14
  209. package/dist/components/calcite-pagination/customElement.d.ts +1 -1
  210. package/dist/components/calcite-pagination/customElement.js +0 -3
  211. package/dist/components/calcite-panel/customElement.d.ts +6 -6
  212. package/dist/components/calcite-panel/customElement.js +1 -1
  213. package/dist/components/calcite-popover/customElement.d.ts +4 -4
  214. package/dist/components/calcite-popover/customElement.js +1 -1
  215. package/dist/components/calcite-progress/customElement.d.ts +2 -2
  216. package/dist/components/calcite-radio-button/customElement.d.ts +5 -5
  217. package/dist/components/calcite-radio-button/customElement.js +1 -1
  218. package/dist/components/calcite-radio-button-group/customElement.d.ts +4 -4
  219. package/dist/components/calcite-radio-button-group/customElement.js +3 -3
  220. package/dist/components/calcite-rating/customElement.d.ts +7 -7
  221. package/dist/components/calcite-rating/customElement.js +9 -13
  222. package/dist/components/calcite-sheet/customElement.js +27 -32
  223. package/dist/components/calcite-stack/customElement.js +1 -1
  224. package/dist/controllers/useSortable.d.ts +2 -2
  225. package/dist/docs/api.json +1 -1
  226. package/dist/docs/docs.json +1 -1
  227. package/dist/docs/supported-browsers.json +1 -1
  228. package/dist/docs/vscode.html-custom-data.json +1 -1
  229. package/dist/docs/web-types.json +1 -1
  230. package/dist/loader.js +2 -2
  231. package/dist/utils/dom.d.ts +1 -1
  232. package/package.json +9 -8
  233. package/dist/cdn/4YU7KVLN.js +0 -2
  234. package/dist/cdn/AJKRULVQ.js +0 -2
  235. package/dist/cdn/AP2LDRUV.js +0 -2
  236. package/dist/cdn/BDZQSO2J.js +0 -2
  237. package/dist/cdn/BQES6LWB.js +0 -2
  238. package/dist/cdn/DYWNKQ25.js +0 -2
  239. package/dist/cdn/ECNYDS76.js +0 -2
  240. package/dist/cdn/H4MCSFNA.js +0 -2
  241. package/dist/cdn/H4QDWLO2.js +0 -2
  242. package/dist/cdn/KNKMPJAL.js +0 -2
  243. package/dist/cdn/M47XC6PF.js +0 -2
  244. package/dist/cdn/MR5GODA3.js +0 -2
  245. package/dist/cdn/P3CJF65O.js +0 -2
  246. package/dist/cdn/RX6W4SRU.js +0 -2
  247. package/dist/cdn/SB5RUV2I.js +0 -2
  248. package/dist/cdn/SSDV2Z4W.js +0 -2
  249. package/dist/cdn/TL7FQYNH.js +0 -2
  250. package/dist/cdn/VNLB6ONW.js +0 -2
  251. package/dist/cdn/VPGSTQTT.js +0 -2
  252. package/dist/cdn/assets/icon/orientedImageryFullSuperimpose16.json +0 -1
  253. package/dist/cdn/assets/icon/orientedImageryFullSuperimpose24.json +0 -1
  254. package/dist/cdn/assets/icon/orientedImageryFullSuperimpose32.json +0 -1
  255. package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose16.json +0 -1
  256. package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose24.json +0 -1
  257. package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose32.json +0 -1
  258. package/dist/cdn/assets/icon/orientedImagerySceneOnly16.json +0 -1
  259. package/dist/cdn/assets/icon/orientedImagerySceneOnly24.json +0 -1
  260. package/dist/cdn/assets/icon/orientedImagerySceneOnly32.json +0 -1
  261. package/dist/cdn/assets/icon/parquetFeatureLayer16.json +0 -1
  262. package/dist/cdn/assets/icon/parquetFeatureLayer24.json +0 -1
  263. package/dist/cdn/assets/icon/parquetFeatureLayer32.json +0 -1
  264. /package/dist/cdn/{IYGANVDT.js → 72YUATHS.js} +0 -0
  265. /package/dist/cdn/{MYDCGCGV.js → IIA2H2SU.js} +0 -0
  266. /package/dist/cdn/{DCWL5FUH.js → LKL63VXR.js} +0 -0
  267. /package/dist/cdn/{UM6KICQF.js → MO64UYDH.js} +0 -0
  268. /package/dist/cdn/{R6HABYRV.js → Q55YTOMB.js} +0 -0
@@ -1,6 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { keyed } from "lit/directives/keyed.js";
4
+ import { isEqual } from "es-toolkit";
4
5
  import { css, html, nothing } from "lit";
5
6
  import { createRef, ref } from "lit/directives/ref.js";
6
7
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
@@ -13,7 +14,7 @@ import { s as styles$1 } from "../../chunks/sortable.js";
13
14
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
14
15
  import { u as useInteractive } from "../../chunks/useInteractive.js";
15
16
  import { a as listSelector, g as getDepth, c as getListItemChildren } from "../../chunks/utils4.js";
16
- import { a as activeCellTestAttribute, I as ICONS, C as CSS, S as SLOTS } from "../../chunks/resources9.js";
17
+ import { a as activeCellTestAttribute, I as ICONS, C as CSS, S as SLOTS } from "../../chunks/resources10.js";
17
18
  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{display:flex;flex-direction:column}:host([scale=s]){--calcite-internal-list-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-list-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-list-action-spacing: var(--calcite-spacing-xs)}:host([filter-hidden]),:host([closed]){display:none}.wrapper--bordered{border-block-end:1px solid var(--calcite-list-border-color, var(--calcite-color-border-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{box-sizing:border-box;display:flex;flex:1 1 0%;overflow:hidden;background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1))}.container *{box-sizing:border-box}.container--border{position:relative}.container--border:before{position:absolute;inline-size:var(--calcite-border-width-lg);inset-block:0;inset-inline-start:0;background-color:transparent;content:""}.container--border-selected:before{background-color:var(--calcite-list-selection-border-color, var(--calcite-color-brand))}.container--border-selected:focus{box-shadow:inset var(--calcite-border-width-lg) 0 0 0 var(--calcite-list-selection-border-color, var(--calcite-color-brand))}.container--highlight-selected{background-color:var(--calcite-color-surface-highlight)}.nested-container{display:none;flex-direction:column;border-width:0px;border-style:solid;border-color:1px solid var(--calcite-list-border-color, var(--calcite-color-border-3));margin-inline-start:var(--calcite-list-spacing-indent, 1.5rem)}.nested-container--expanded{display:flex}.selection-container{display:flex;padding-block:0px;color:var(--calcite-list-icon-color, var(--calcite-color-border-input))}:host([selected]) .selection-container{color:var(--calcite-list-icon-color, var(--calcite-color-brand))}.content-container-wrapper{display:flex;flex:1 1 auto}.content-container-wrapper--bordered{border-block-end:1px solid var(--calcite-list-border-color, var(--calcite-color-border-3))}.content-container{display:flex;flex:1 1 auto;align-items:stretch;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-list-content-text-color, var(--calcite-color-text-2))}.content-container--unavailable{opacity:var(--calcite-opacity-disabled)}:host(:not([interaction-mode=static])):not([disabled]):not([selected]) .container:hover .selection-container--single{color:var(--calcite-list-icon-color, var(--calcite-color-border-input))}:host(:not([interaction-mode=static])):not([disabled]) .expanded-container:hover{color:var(--calcite-list-icon-color, var(--calcite-color-text-1))}:host(:not([interaction-mode=static]))[selected]:hover .selection-container,:host(:not([interaction-mode=static]))[selected]:hover .selection-container--single{color:var(--calcite-list-icon-color, var(--calcite-color-brand))}:host(:not([interaction-mode=static])) .content-container{-webkit-user-select:none;user-select:none}:host(:not([interaction-mode=static])) .container--hover:hover{cursor:pointer;background-color:var(--calcite-list-background-color-hover, var(--calcite-color-foreground-2))}:host(:not([interaction-mode=static])) .container:active{background-color:var(--calcite-list-background-color-press, var(--calcite-color-foreground-3))}:host(:not([interaction-mode=static])) .icon:hover,:host(:not([interaction-mode=static])) .icon:active{color:var(--calcite-color-text-1)}.row,.grid-cell{outline-color:transparent}.row{position:relative}.row:focus,.grid-cell: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))))}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:var(--calcite-font-line-height-relative-snug)}.label{color:var(--calcite-list-label-text-color, var(--calcite-color-text-1))}.description{color:var(--calcite-list-description-text-color, var(--calcite-color-text-3))}.icon{align-self:center;color:var(--calcite-list-icon-color, var(--calcite-color-text-3))}.actions-start,.actions-end{margin-inline-end:var(--calcite-internal-list-action-spacing);gap:var(--calcite-internal-list-action-spacing)}:host([scale=s]) .content-container{gap:var(--calcite-spacing-sm);min-block-size:32px;padding-block:var(--calcite-spacing-xxs);padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .content,:host([scale=s]) .custom-content,:host([scale=s]) .label{font-size:var(--calcite-font-size--2)}:host([scale=s]) .description{font-size:var(--calcite-font-size--3)}:host([scale=s][display-mode=flat]:not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=s][display-mode=flat]:not([drag-handle])) .selection-container{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s][display-mode=flat][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs) var(--calcite-spacing-sm)}:host([scale=s][display-mode=nested]) .selection-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=s][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .selection-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s][display-mode=nested][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs)}:host([scale=m]) .content-container{gap:var(--calcite-spacing-sm);min-block-size:40px;padding-block:var(--calcite-spacing-sm);padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .content,:host([scale=m]) .custom-content{font-size:var(--calcite-font-size--2)}:host([scale=m]) .label{font-size:var(--calcite-font-size--1)}:host([scale=m]) .description{font-size:var(--calcite-font-size--2)}:host([scale=m][display-mode=flat]) .container{padding-inline-start:var(--calcite-spacing-md)}:host([scale=m][display-mode=flat]) .selection-container{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=m][display-mode=flat][drag-handle]) .container{padding-inline-start:0}:host([scale=m][display-mode=flat][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs) var(--calcite-spacing-sm)}:host([scale=m][display-mode=nested]) .container{padding-inline-start:var(--calcite-spacing-xxs)}:host([scale=m][display-mode=nested]) .selection-container{padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=m][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-md)}:host([scale=m][display-mode=nested][drag-handle]) .container{padding-inline-start:0}:host([scale=m][display-mode=nested][drag-handle]) .selection-container{padding-inline:var(--calcite-spacing-xxs)}:host([scale=l]) .content-container{gap:var(--calcite-spacing-md);min-block-size:56px;padding-block:var(--calcite-space-sm-plus);padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .content,:host([scale=l]) .custom-content,:host([scale=l]) .label{font-size:var(--calcite-font-size-0)}:host([scale=l]) .description{font-size:var(--calcite-font-size--1)}:host([scale=l]) .nested-container{margin-inline-start:1.75rem}:host([scale=l][display-mode=flat]) .container{padding-inline-start:var(--calcite-spacing-lg)}:host([scale=l][display-mode=flat]) .selection-container{padding-inline-end:var(--calcite-spacing-md)}:host([scale=l][display-mode=flat][drag-handle]) .container{padding-inline-start:0}:host([scale=l][display-mode=flat][drag-handle]) .selection-container{padding-inline-end:var(--calcite-spacing-md)}:host([scale=l][display-mode=nested]) .container{padding-inline-start:var(--calcite-spacing-xxs)}:host([scale=l][display-mode=nested][drag-handle]) .container{padding-inline-start:0}:host([scale=l][display-mode=nested][selection-appearance=icon]:not([selection-mode=none]):not([drag-handle])) .container{padding-inline-start:var(--calcite-spacing-lg)}.label,.description,.content-bottom{font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}:host([selected]) .label{font-weight:var(--calcite-font-weight-medium)}:host([selected]) .icon{color:var(--calcite-list-icon-color, var(--calcite-color-text-1))}:host([selected]) .description{color:var(--calcite-list-description-text-color, var(--calcite-color-text-2))}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){align-self:center}.content-bottom{display:flex;flex-direction:column}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.expanded-container{color:var(--calcite-list-icon-color, var(--calcite-color-text-3));padding-inline:var(--calcite-spacing-xxs)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.expanded-container,.close{display:flex;align-items:center}.drag-container,.selection-container,.expanded-container{padding-block-end:var(--calcite-spacing-px)}.expanded-container,.selection-container{cursor:pointer}.actions-start,.actions-end{position:relative;padding:0}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-sort-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-sort-handle),.actions-end ::slotted(calcite-dropdown){color:inherit}.row:focus:after,.row:focus:before{position:absolute;content:"";inline-size:.125rem;z-index:var(--calcite-z-index-header);background-color:var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));inset-block:0}.row:focus:before{inset-inline-start:0}.row:focus:after{inset-inline-end:0}.container--border:focus:before{display:none}::slotted(calcite-list:empty){border-block-start-width:0px}.drag-container calcite-action,.drag-container ::slotted(calcite-action),.actions-start calcite-action,.actions-start ::slotted(calcite-action),.actions-end calcite-action,.actions-end ::slotted(calcite-action),.close calcite-action,.close ::slotted(calcite-action){align-items:center}.drag-container{margin-inline:var(--calcite-spacing-xxs)}:host([display-mode=nested]) .drag-container,:host([selection-appearance=icon]:not([selection-mode=none])) .drag-container{margin-inline:var(--calcite-spacing-xxs) 0}:host([hidden]){display:none}[hidden]{display:none}`;
18
19
  const focusMap = /* @__PURE__ */ new Map();
19
20
  class ListItem extends LitElement {
@@ -35,6 +36,7 @@ class ListItem extends LitElement {
35
36
  this.hasContentEnd = false;
36
37
  this.hasContentStart = false;
37
38
  this.hasCustomContent = false;
39
+ this.level = null;
38
40
  this.expandable = false;
39
41
  this.active = false;
40
42
  this.bordered = false;
@@ -46,11 +48,13 @@ class ListItem extends LitElement {
46
48
  this.dragHandle = false;
47
49
  this.expanded = false;
48
50
  this.filterHidden = false;
51
+ this.interactionMode = null;
49
52
  this.displayMode = "flat";
50
53
  this.addToItems = [];
51
54
  this.moveToItems = [];
52
55
  this.scale = "m";
53
56
  this.selected = false;
57
+ this.selectionMode = null;
54
58
  this.sortHandleOpen = false;
55
59
  this.unavailable = false;
56
60
  this.topLayerDisabled = false;
@@ -107,7 +111,7 @@ class ListItem extends LitElement {
107
111
  connectedCallback() {
108
112
  super.connectedCallback();
109
113
  const { el } = this;
110
- this.parentListEl = el.closest(listSelector) || void 0;
114
+ this.parentListEl = el.closest(listSelector);
111
115
  this.level = getDepth(el) + 1;
112
116
  this.setSelectionDefaults();
113
117
  }
@@ -130,7 +134,10 @@ class ListItem extends LitElement {
130
134
  if (changes.has("displayMode") && this.hasUpdated) {
131
135
  this.handleExpandableChange(this.defaultSlotRef.value);
132
136
  }
133
- if (changes.has("label") || changes.has("description") || changes.has("metadata")) {
137
+ const metadataChanged = changes.has("metadata");
138
+ const previousMetadata = changes.get("metadata");
139
+ const shouldEmitMetadataChange = metadataChanged && !isEqual(this.metadata, previousMetadata);
140
+ if ((changes.has("label") || changes.has("description") || shouldEmitMetadataChange) && this.hasUpdated) {
134
141
  this.emitCalciteInternalListItemChange();
135
142
  }
136
143
  if (changes.has("expanded") && this.hasUpdated) {
@@ -148,7 +155,7 @@ class ListItem extends LitElement {
148
155
  }
149
156
  activeHandler(active) {
150
157
  if (!active) {
151
- this.focusCell(void 0, false);
158
+ this.focusCell(null, false);
152
159
  }
153
160
  }
154
161
  handleClosedChange() {
@@ -286,7 +293,7 @@ class ListItem extends LitElement {
286
293
  this.actionsStartRef.value,
287
294
  this.contentRef.value,
288
295
  this.actionsEndRef.value
289
- ].filter((el) => !!(el && !el.hidden));
296
+ ].filter((el) => el && !el.hidden);
290
297
  }
291
298
  handleItemKeyDown(event) {
292
299
  if (event.defaultPrevented) {
@@ -297,7 +304,7 @@ class ListItem extends LitElement {
297
304
  const { containerRef, actionsStartRef: { value: actionsStartEl }, actionsEndRef: { value: actionsEndEl }, expanded, expandable } = this;
298
305
  const cells = this.getGridCells();
299
306
  const currentIndex = cells.findIndex((cell) => composedPath.includes(cell));
300
- if (key === "Enter" && actionsStartEl && !composedPath.includes(actionsStartEl) && actionsEndEl && !composedPath.includes(actionsEndEl)) {
307
+ if (key === "Enter" && !composedPath.includes(actionsStartEl) && !composedPath.includes(actionsEndEl)) {
301
308
  event.preventDefault();
302
309
  this.toggleSelected(event.shiftKey);
303
310
  } else if (key === "ArrowRight") {
@@ -306,7 +313,7 @@ class ListItem extends LitElement {
306
313
  if (currentIndex === -1) {
307
314
  if (!expanded && expandable) {
308
315
  this.toggle(true);
309
- this.focusCell();
316
+ this.focusCell(null);
310
317
  } else if (cells[0]) {
311
318
  this.focusCell(cells[0]);
312
319
  }
@@ -317,27 +324,27 @@ class ListItem extends LitElement {
317
324
  event.preventDefault();
318
325
  const prevIndex = currentIndex - 1;
319
326
  if (currentIndex === -1) {
320
- this.focusCell();
327
+ this.focusCell(null);
321
328
  if (expanded && expandable) {
322
329
  this.toggle(false);
323
330
  } else {
324
331
  this.calciteInternalFocusPreviousItem.emit();
325
332
  }
326
333
  } else if (currentIndex === 0) {
327
- this.focusCell();
334
+ this.focusCell(null);
328
335
  containerRef.value.focus();
329
336
  } else if (cells[currentIndex] && cells[prevIndex]) {
330
337
  this.focusCell(cells[prevIndex]);
331
338
  }
332
339
  }
333
340
  }
334
- clearCellFocus() {
335
- this.focusCell();
341
+ focusCellNull() {
342
+ this.focusCell(null);
336
343
  }
337
344
  setFocusCell(focusEl, focusedEl, saveFocusIndex) {
338
345
  const { parentListEl } = this;
339
346
  if (saveFocusIndex) {
340
- focusMap.set(parentListEl, void 0);
347
+ focusMap.set(parentListEl, null);
341
348
  }
342
349
  const gridCells = this.getGridCells();
343
350
  gridCells.forEach((tableCell) => {
@@ -456,14 +463,14 @@ class ListItem extends LitElement {
456
463
  const showSelectionBorder = selectionMode !== "none" && selectionAppearance === "border";
457
464
  const showSelectionHighlight = selectionMode !== "none" && selectionAppearance === "highlight";
458
465
  const containerInteractive = interactionMode === "interactive";
459
- return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap({ [CSS.wrapper]: true, [CSS.wrapperBordered]: wrapperBordered })}><div .ariaExpanded=${expandable ? expanded : void 0} .ariaLabel=${label} .ariaLevel=${level} .ariaSelected=${selected} class=${safeClassMap({
466
+ return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap({ [CSS.wrapper]: true, [CSS.wrapperBordered]: wrapperBordered })}><div .ariaExpanded=${expandable ? expanded : null} .ariaLabel=${label} .ariaLevel=${level} .ariaSelected=${selected} class=${safeClassMap({
460
467
  [CSS.row]: true,
461
468
  [CSS.container]: true,
462
469
  [CSS.containerHover]: containerInteractive,
463
470
  [CSS.containerBorder]: showSelectionBorder,
464
471
  [CSS.containerBorderSelected]: showSelectionBorder && selected,
465
472
  [CSS.containerHighlightSelected]: showSelectionHighlight && selected
466
- })} .hidden=${closed || filterHidden} @focus=${this.clearCellFocus} @focusin=${this.emitInternalListItemActive} @keydown=${this.handleItemKeyDown} role=row .tabIndex=${active ? 0 : -1} ${ref(this.containerRef)}>${this.renderDragHandle()}${this.renderSelected()}${this.renderExpanded()}<div class=${safeClassMap({
473
+ })} .hidden=${closed || filterHidden} @focus=${this.focusCellNull} @focusin=${this.emitInternalListItemActive} @keydown=${this.handleItemKeyDown} role=row .tabIndex=${active ? 0 : -1} ${ref(this.containerRef)}>${this.renderDragHandle()}${this.renderSelected()}${this.renderExpanded()}<div class=${safeClassMap({
467
474
  [CSS.contentContainerWrapper]: true,
468
475
  [CSS.contentContainerWrapperBordered]: contentContainerWrapperBordered
469
476
  })}>${this.renderActionsStart()}${this.renderContentContainer()}${this.renderActionsEnd()}</div></div>${this.renderContentBottom()}</div>${this.renderDefaultContainer()}` });
@@ -15,7 +15,7 @@ export abstract class ListItemGroup extends LitElement {
15
15
  */
16
16
  accessor disabled: boolean;
17
17
  /** Specifies the heading text for the nested `calcite-list-item` rows. */
18
- accessor heading: string | undefined;
18
+ accessor heading: string;
19
19
  /**
20
20
  * Specifies the size of the component.
21
21
  *
@@ -2,7 +2,7 @@
2
2
  import { c as customElement } from "../../chunks/runtime.js";
3
3
  import { css, html } from "lit";
4
4
  import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
5
- import { M as MAX_COLUMNS } from "../../chunks/resources9.js";
5
+ import { M as MAX_COLUMNS } from "../../chunks/resources10.js";
6
6
  import { u as useInteractive } from "../../chunks/useInteractive.js";
7
7
  const CSS = {
8
8
  container: "container",
@@ -82,9 +82,9 @@ class Loader extends LitElement {
82
82
  const isDeterminate = type !== "indeterminate";
83
83
  const valueNow = Math.floor(value);
84
84
  this.el.ariaLabel = label;
85
- this.el.ariaValueMax = isDeterminate ? "100" : null;
86
- this.el.ariaValueMin = isDeterminate ? "0" : null;
87
- this.el.ariaValueNow = isDeterminate ? valueNow.toString() : null;
85
+ this.el.ariaValueMax = isDeterminate ? "100" : void 0;
86
+ this.el.ariaValueMin = isDeterminate ? "0" : void 0;
87
+ this.el.ariaValueNow = isDeterminate ? valueNow.toString() : void 0;
88
88
  setAttribute(this.el, "id", id);
89
89
  this.el.role = "progressbar";
90
90
  return html`<div class=${safeClassMap(CSS.rings)}>${this.renderRing("track")}${this.renderRing("progress")}${!inline && isDeterminate && html`<div class=${safeClassMap(CSS.percentage)}>${this.formatValue()}</div>` || ""}</div>${!inline && text && html`<div class=${safeClassMap(CSS.text)}>${text}</div>` || ""}`;
@@ -25,13 +25,13 @@ export abstract class MenuItem extends LitElement {
25
25
  */
26
26
  accessor breadcrumb: boolean;
27
27
  /** Specifies the URL destination of the component, which can be set as an absolute or relative path. */
28
- accessor href: string | undefined;
28
+ accessor href: string;
29
29
  /** Specifies an icon to display at the end of the component. */
30
- accessor iconEnd: IconName | undefined;
30
+ accessor iconEnd: IconName;
31
31
  /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */
32
- accessor iconFlipRtl: FlipContext | undefined;
32
+ accessor iconFlipRtl: FlipContext;
33
33
  /** Specifies an icon to display at the start of the component. */
34
- accessor iconStart: IconName | undefined;
34
+ accessor iconStart: IconName;
35
35
  /**
36
36
  * Specifies an accessible label for the component.
37
37
  *
@@ -54,15 +54,15 @@ export abstract class MenuItem extends LitElement {
54
54
  *
55
55
  * @see [MDN - rel](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel)
56
56
  */
57
- accessor rel: string | undefined;
57
+ accessor rel: string;
58
58
  /**
59
59
  * Specifies where to open the linked document defined in the `href` property.
60
60
  *
61
61
  * @see [MDN - target](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#attr-target)
62
62
  */
63
- accessor target: string | undefined;
63
+ accessor target: string;
64
64
  /** Specifies the text to display. */
65
- accessor text: string | undefined;
65
+ accessor text: string;
66
66
  /**
67
67
  * Sets focus on the component.
68
68
  *
@@ -45,12 +45,9 @@ class MenuItem extends LitElement {
45
45
  this.anchorRef = createRef();
46
46
  this.direction = useDirection();
47
47
  this.dropdownActionRef = createRef();
48
- this.isFocused = false;
49
48
  this.messages = useT9n();
50
49
  this.focusSetter = useSetFocus()(this);
51
50
  this.hasSubmenu = false;
52
- this.active = false;
53
- this.breadcrumb = false;
54
51
  this.isTopLevelItem = false;
55
52
  this.open = false;
56
53
  this.calciteInternalMenuItemKeyEvent = createEvent();
@@ -42,7 +42,7 @@ export abstract class Meter extends LitElement {
42
42
  *
43
43
  * @deprecated in v5.1.0, removal target v6.0.0 - This property has no effect on the component.
44
44
  */
45
- accessor form: string | undefined;
45
+ accessor form: string;
46
46
  /**
47
47
  * When `true`, number values are displayed with a group separator corresponding to the language and country format.
48
48
  *
@@ -50,7 +50,7 @@ export abstract class Meter extends LitElement {
50
50
  */
51
51
  accessor groupSeparator: boolean;
52
52
  /** Specifies a high value. When `fillType` is `"range"`, displays a different color when above the specified threshold. */
53
- accessor high: number | undefined;
53
+ accessor high: number;
54
54
  /**
55
55
  * Specifies an accessible label for the component.
56
56
  *
@@ -58,7 +58,7 @@ export abstract class Meter extends LitElement {
58
58
  */
59
59
  accessor label: string;
60
60
  /** Specifies a low value. When `fillType` is `"range"`, displays a different color when above the specified threshold. */
61
- accessor low: number | undefined;
61
+ accessor low: number;
62
62
  /**
63
63
  * Specifies the component's highest allowed value.
64
64
  *
@@ -78,9 +78,9 @@ export abstract class Meter extends LitElement {
78
78
  *
79
79
  * @deprecated in v5.1.0, removal target v6.0.0 - This property has no effect on the component.
80
80
  */
81
- accessor name: string | undefined;
81
+ accessor name: string;
82
82
  /** Specifies the Unicode numeral system used by the component for localization. */
83
- accessor numberingSystem: NumberingSystem | undefined;
83
+ accessor numberingSystem: NumberingSystem;
84
84
  /**
85
85
  * When `true`, displays the values of `high`, `low`, `min`, and `max`.
86
86
  *
@@ -106,7 +106,7 @@ export abstract class Meter extends LitElement {
106
106
  */
107
107
  accessor unitLabel: string;
108
108
  /** Specifies the component's value. */
109
- accessor value: number | undefined;
109
+ accessor value: number;
110
110
  /**
111
111
  * When `true`, displays the `value`.
112
112
  *
@@ -39,11 +39,6 @@ class Meter extends LitElement {
39
39
  this.minPercent = 0;
40
40
  this.resizeObserver = createObserver("resize", () => this.resizeHandler());
41
41
  this.valueLabelRef = createRef();
42
- this.currentPercent = 0;
43
- this.highActive = false;
44
- this.highPercent = 100;
45
- this.lowActive = false;
46
- this.lowPercent = 0;
47
42
  this.appearance = "outline-fill";
48
43
  this.disabled = false;
49
44
  this.fillType = "range";
@@ -93,8 +88,12 @@ class Meter extends LitElement {
93
88
  this.updateLabels();
94
89
  }
95
90
  updateLabels() {
96
- this.determineValueLabelPosition();
97
- this.determineVisibleLabels();
91
+ if (this.valueLabelRef.value) {
92
+ this.determineValueLabelPosition();
93
+ }
94
+ if (this.rangeLabels) {
95
+ this.determineVisibleLabels();
96
+ }
98
97
  }
99
98
  calculateValues() {
100
99
  const { min, max, low, high, value } = this;
@@ -155,12 +154,9 @@ class Meter extends LitElement {
155
154
  }
156
155
  }
157
156
  intersects(el1, el2) {
158
- return !!(el1 && el2 && intersects(el1.getBoundingClientRect(), el2.getBoundingClientRect()));
157
+ return el1 && el2 && intersects(el1.getBoundingClientRect(), el2.getBoundingClientRect());
159
158
  }
160
159
  determineVisibleLabels() {
161
- if (!this.rangeLabels) {
162
- return;
163
- }
164
160
  const { minLabelRef: { value: minLabelEl }, lowLabelRef: { value: lowLabelEl }, highLabelRef: { value: highLabelEl }, maxLabelRef: { value: maxLabelEl } } = this;
165
161
  const highMaxOverlap = this.intersects(highLabelEl, maxLabelEl);
166
162
  const lowHighOverlap = this.intersects(lowLabelEl, highLabelEl);
@@ -193,9 +189,6 @@ class Meter extends LitElement {
193
189
  }
194
190
  determineValueLabelPosition() {
195
191
  const { valueLabelRef: { value: valueLabelEl }, meterContainerRef: { value: meterContainerEl }, currentPercent } = this;
196
- if (!valueLabelEl || !meterContainerEl) {
197
- return;
198
- }
199
192
  const valuePosition = currentPercent > 100 ? 100 : currentPercent > 0 ? currentPercent : 0;
200
193
  const valueLabelWidth = valueLabelEl.getBoundingClientRect().width;
201
194
  const containerWidth = meterContainerEl.getBoundingClientRect().width;
@@ -26,7 +26,7 @@ export abstract class Pagination extends LitElement {
26
26
  last?: string;
27
27
  };
28
28
  /** Specifies the Unicode numeral system used by the component for localization. */
29
- accessor numberingSystem: NumberingSystem | undefined;
29
+ accessor numberingSystem: NumberingSystem;
30
30
  /**
31
31
  * Specifies the number of items per page.
32
32
  *
@@ -42,10 +42,7 @@ class Pagination extends LitElement {
42
42
  this.resizeObserver = createObserver("resize", (entries) => entries.forEach(this.resizeHandler));
43
43
  this.messages = useT9n();
44
44
  this.focusSetter = useSetFocus()(this);
45
- this.isXXSmall = false;
46
- this.lastStartItem = 1;
47
45
  this.maxItems = maxItemBreakpoints.xxsmall;
48
- this.totalPages = 1;
49
46
  this.groupSeparator = false;
50
47
  this.pageSize = 20;
51
48
  this.scale = "m";
@@ -46,7 +46,7 @@ import type { IconName } from "../calcite-icon/interfaces.js";
46
46
  */
47
47
  export abstract class Panel extends LitElement {
48
48
  /** Passes a function to run before the component closes. */
49
- accessor beforeClose: (() => Promise<void>) | undefined;
49
+ accessor beforeClose: () => Promise<void>;
50
50
  /**
51
51
  * When `true`, displays a close button in the component.
52
52
  *
@@ -78,7 +78,7 @@ export abstract class Panel extends LitElement {
78
78
  */
79
79
  accessor collapsible: boolean;
80
80
  /** Specifies a description for the component. */
81
- accessor description: string | undefined;
81
+ accessor description: string;
82
82
  /**
83
83
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
84
84
  *
@@ -86,11 +86,11 @@ export abstract class Panel extends LitElement {
86
86
  */
87
87
  accessor disabled: boolean;
88
88
  /** Specifies the component's heading text. */
89
- accessor heading: string | undefined;
89
+ accessor heading: string;
90
90
  /** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
91
- accessor headingLevel: HeadingLevel | undefined;
91
+ accessor headingLevel: HeadingLevel;
92
92
  /** Specifies an icon to display. */
93
- accessor icon: IconName | undefined;
93
+ accessor icon: IconName;
94
94
  /**
95
95
  * When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
96
96
  *
@@ -104,7 +104,7 @@ export abstract class Panel extends LitElement {
104
104
  */
105
105
  accessor loading: boolean;
106
106
  /** Specifies the component's fallback `menuPlacement` when it's initial or specified `menuPlacement` has insufficient space available. */
107
- accessor menuFlipPlacements: FlipPlacement[] | undefined;
107
+ accessor menuFlipPlacements: FlipPlacement[];
108
108
  /**
109
109
  * When `true`, the action menu items in the `header-menu-actions` slot are open.
110
110
  *
@@ -14,7 +14,7 @@ import { u as useT9n } from "../../chunks/useT9n.js";
14
14
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
15
15
  import { s as styles$1 } from "../../chunks/header.js";
16
16
  import { u as useInteractive } from "../../chunks/useInteractive.js";
17
- import { C as CSS, S as SLOTS, I as ICONS, a as IDS } from "../../chunks/resources6.js";
17
+ import { C as CSS, S as SLOTS, I as ICONS, a as IDS } from "../../chunks/resources7.js";
18
18
  const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;border-radius:var(--calcite-panel-corner-radius, var(--calcite-corner-radius-sharp))}slot[name=alerts]::slotted(calcite-alert){block-size:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-panel-default-space: var(--calcite-spacing-sm);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-sm-plus)}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1)}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2)}:host([scale=s]) .header-content .icon{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]){--calcite-internal-panel-default-space: var(--calcite-spacing-md);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-md-plus)}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0)}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1)}:host([scale=m]) .header-content .icon{margin-inline-end:var(--calcite-spacing-md)}:host(:is([scale=s],[scale=m])){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-panel-action-spacing: var(--calcite-spacing-xs);--calcite-internal-panel-default-space: var(--calcite-spacing-lg);--calcite-internal-panel-header-vertical-padding: var(--calcite-spacing-xl)}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1)}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0)}:host([scale=l]) .header-content .icon{margin-inline-end:var(--calcite-spacing-lg)}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));background-color:var(--calcite-panel-background-color, var(--calcite-color-foreground-1))}.content-top{padding:var(--calcite-panel-content-top-space, var(--calcite-internal-panel-default-space))}.content-bottom{padding:var(--calcite-panel-content-bottom-space, var(--calcite-internal-panel-default-space))}.container{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;overflow:hidden;background-color:var(--calcite-color-background);padding:0;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-color-text-2);transition:max-block-size var(--calcite-animation-timing),inline-size var(--calcite-animation-timing);box-sizing:border-box;font-size:var(--calcite-font-size--1)}.container *{box-sizing:border-box}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-panel-header-background-color, var(--calcite-color-foreground-1));border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-panel-header-border-block-end, var(--calcite-color-border-3)))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3))}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:.75rem;padding-block:.875rem;margin-inline-end:auto;justify-content:center}.header-content .heading-text-content{flex:1 1 auto;overflow:hidden}.header-content .heading,.header-content .description{display:block;flex:none;overflow-wrap:break-word;padding:0;line-height:var(--calcite-font-line-height-relative-snug)}.header-content .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{color:var(--calcite-panel-description-text-color, var(--calcite-color-text-2))}#close,#collapse,calcite-action-menu{--calcite-action-background-color: var(--calcite-panel-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-panel-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-panel-header-action-background-color-press);--calcite-action-text-color: var(--calcite-panel-header-action-text-color);--calcite-action-text-color-press: var(--calcite-panel-header-action-text-color-press)}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;margin:auto;gap:var(--calcite-internal-panel-action-spacing)}.header-actions--start{margin-inline-start:var(--calcite-internal-panel-action-spacing)}.header-actions--end{margin-inline-end:var(--calcite-internal-panel-action-spacing)}.content-wrapper{position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;color:var(--calcite-color-text-2);outline-color:transparent;padding:var(--calcite-panel-space, var(--calcite-panel-content-space, 0));background:var(--calcite-panel-background-color, var(--calcite-color-background))}.content-wrapper:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.header-content{flex:1 1 auto;justify-content:center;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-space)}.header-content.header--slotted-content{padding:var(--calcite-panel-header-content-space, var(--calcite-internal-panel-header-vertical-padding) var(--calcite-internal-panel-default-space))}.header-content.header--non-slotted-content{align-items:center;flex-direction:row}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;align-items:center;justify-content:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-footer-space, var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-space)));background-color:var(--calcite-panel-footer-background-color, var(--calcite-color-foreground-1))}.footer-content{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:center}.footer-start{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-start;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-space)}.footer-end{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-end;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-space)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:.5rem;inset-inline:0;inline-size:fit-content}calcite-icon{--calcite-icon-color: var(--calcite-panel-icon-color, var(--calcite-ui-icon-color, var(--calcite-color-text-1)))}:host([hidden]){display:none}[hidden]{display:none}`;
19
19
  class Panel extends LitElement {
20
20
  constructor() {
@@ -33,7 +33,7 @@ export abstract class Popover extends LitElement {
33
33
  */
34
34
  accessor flipDisabled: boolean;
35
35
  /** Specifies the component's fallback `placement` for slotted content when it's initial or specified `placement` has insufficient space available. */
36
- accessor flipPlacements: FlipPlacement[] | undefined;
36
+ accessor flipPlacements: FlipPlacement[];
37
37
  /**
38
38
  * When `true`, prevents focus trapping.
39
39
  *
@@ -49,11 +49,11 @@ export abstract class Popover extends LitElement {
49
49
  * `"extraContainers"` specifies additional focusable elements external to the trap, such as 3rd-party components appending elements to the document body, and
50
50
  * `"setReturnFocus"` customizes the element to which focus is returned when the trap is deactivated. Return `false` to prevent focus return, or `undefined` to use the default behavior (returning focus to the element focused before activation).
51
51
  */
52
- accessor focusTrapOptions: Partial<FocusTrapOptions> | undefined;
52
+ accessor focusTrapOptions: Partial<FocusTrapOptions>;
53
53
  /** Specifies the component's heading text. */
54
- accessor heading: string | undefined;
54
+ accessor heading: string;
55
55
  /** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
56
- accessor headingLevel: HeadingLevel | undefined;
56
+ accessor headingLevel: HeadingLevel;
57
57
  /**
58
58
  * Specifies an accessible label for the component.
59
59
  *
@@ -147,7 +147,7 @@ class Popover extends LitElement {
147
147
  }
148
148
  setFilteredPlacements() {
149
149
  const { el, flipPlacements } = this;
150
- this.filteredFlipPlacements = flipPlacements ? filterValidFlipPlacements(flipPlacements, el) : void 0;
150
+ this.filteredFlipPlacements = flipPlacements ? filterValidFlipPlacements(flipPlacements, el) : null;
151
151
  }
152
152
  hide() {
153
153
  this.open = false;
@@ -8,7 +8,7 @@ import type { PublicLitElement as LitElement } from "@arcgis/lumina";
8
8
  */
9
9
  export abstract class Progress extends LitElement {
10
10
  /** Specifies an accessible label for the component. */
11
- accessor label: string | undefined;
11
+ accessor label: string;
12
12
  /**
13
13
  * When `true` and type is `"indeterminate"`, reverses the animation direction.
14
14
  *
@@ -16,7 +16,7 @@ export abstract class Progress extends LitElement {
16
16
  */
17
17
  accessor reversed: boolean;
18
18
  /** Text that displays under the component's indicator. */
19
- accessor text: string | undefined;
19
+ accessor text: string;
20
20
  /**
21
21
  * Specifies the component type.
22
22
  *
@@ -26,11 +26,11 @@ export abstract class RadioButton extends LitElement {
26
26
  *
27
27
  * When not set, the component is associated with its ancestor form element, if one exists.
28
28
  */
29
- accessor form: string | undefined;
29
+ accessor form: string;
30
30
  /** Specifies the component's label text. */
31
- accessor labelText: string | undefined;
31
+ accessor labelText: string;
32
32
  /** Specifies the name of the component. Required to pass the component's `value` on form submission. */
33
- accessor name: string | undefined;
33
+ accessor name: string;
34
34
  /**
35
35
  * When `true` and the component resides in a form,
36
36
  * the component must have a value selected from the `calcite-radio-button-group` in order for the form to submit.
@@ -56,7 +56,7 @@ export abstract class RadioButton extends LitElement {
56
56
  * @internal
57
57
  * @mdn [validationMessage](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/validationMessage)
58
58
  */
59
- accessor validationMessage: string | undefined;
59
+ accessor validationMessage: string;
60
60
  /**
61
61
  * The component's current validation state.
62
62
  *
@@ -84,7 +84,7 @@ export abstract class RadioButton extends LitElement {
84
84
  * @param validationMessage
85
85
  * @internal
86
86
  */
87
- setValidity(validity: ValidityStateFlags, validationMessage?: string | undefined): Promise<void>;
87
+ setValidity(validity: ValidityStateFlags, validationMessage?: string): Promise<void>;
88
88
  /**
89
89
  * Fires only when the radio button is checked. This behavior is identical to the native HTML input element.
90
90
  * Since this event does not fire when the radio button is unchecked, it's not recommended to attach a listener for this event
@@ -55,7 +55,7 @@ class RadioButton extends LitElement {
55
55
  return this.focusSetter(() => this.containerRef.value, options);
56
56
  }
57
57
  async setValidity(validity, validationMessage = this.validationMessage) {
58
- this.elementInternals.setValidity(validity, validationMessage || "");
58
+ this.elementInternals.setValidity(validity, validationMessage);
59
59
  }
60
60
  connectedCallback() {
61
61
  this.rootNode = this.el.getRootNode();
@@ -18,7 +18,7 @@ export abstract class RadioButtonGroup extends LitElement {
18
18
  */
19
19
  accessor disabled: boolean;
20
20
  /** Specifies the component's label text. */
21
- accessor labelText: string | undefined;
21
+ accessor labelText: string;
22
22
  /**
23
23
  * Specifies the layout of the component.
24
24
  *
@@ -47,7 +47,7 @@ export abstract class RadioButtonGroup extends LitElement {
47
47
  */
48
48
  accessor scale: Scale;
49
49
  /** Specifies the component's selected item. */
50
- get selectedItem(): RadioButton | null;
50
+ get selectedItem(): RadioButton;
51
51
  /**
52
52
  * Specifies the status of the validation message.
53
53
  *
@@ -55,9 +55,9 @@ export abstract class RadioButtonGroup extends LitElement {
55
55
  */
56
56
  accessor status: Status;
57
57
  /** Specifies the validation icon to display under the component. */
58
- accessor validationIcon: IconName | boolean | undefined;
58
+ accessor validationIcon: IconName | boolean;
59
59
  /** Specifies the validation message to display under the component. */
60
- accessor validationMessage: string | undefined;
60
+ accessor validationMessage: string;
61
61
  /**
62
62
  * Sets focus on the fist focusable `calcite-radio-button` element in the component.
63
63
  *
@@ -64,7 +64,7 @@ class RadioButtonGroup extends LitElement {
64
64
  this.mutationObserver?.disconnect();
65
65
  }
66
66
  handleInvalidFormEvent(event) {
67
- const message = this.validationMessage || event.target.validationMessage || "";
67
+ const message = this.validationMessage || event.target.validationMessage;
68
68
  displayValidationMessage(this, {
69
69
  message,
70
70
  icon: true,
@@ -73,7 +73,7 @@ class RadioButtonGroup extends LitElement {
73
73
  }
74
74
  passPropsToRadioButtons() {
75
75
  this.radioButtons = Array.from(this.el.querySelectorAll("calcite-radio-button"));
76
- this.selectedItem = Array.from(this.radioButtons).reverse().find((radioButton) => radioButton.checked) ?? null;
76
+ this.selectedItem = Array.from(this.radioButtons).reverse().find((radioButton) => radioButton.checked) || null;
77
77
  if (this.radioButtons.length > 0) {
78
78
  this.radioButtons.forEach((radioButton) => {
79
79
  if (this.hasUpdated) {
@@ -87,7 +87,7 @@ class RadioButtonGroup extends LitElement {
87
87
  }
88
88
  }
89
89
  getFocusableRadioButton() {
90
- return this.radioButtons.find((radiobutton) => !radiobutton.disabled);
90
+ return this.radioButtons.find((radiobutton) => !radiobutton.disabled) ?? null;
91
91
  }
92
92
  radioButtonChangeHandler(event) {
93
93
  this.selectedItem = event.target;
@@ -15,9 +15,9 @@ import type { IconName } from "../calcite-icon/interfaces.js";
15
15
  */
16
16
  export abstract class Rating extends LitElement {
17
17
  /** Specifies a cumulative average from previous ratings to display. */
18
- accessor average: number | undefined;
18
+ accessor average: number;
19
19
  /** Specifies the number of previous ratings to display. */
20
- accessor count: number | undefined;
20
+ accessor count: number;
21
21
  /**
22
22
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
23
23
  *
@@ -29,9 +29,9 @@ export abstract class Rating extends LitElement {
29
29
  *
30
30
  * When not set, the component is associated with its ancestor form element, if one exists.
31
31
  */
32
- accessor form: string | undefined;
32
+ accessor form: string;
33
33
  /** Specifies the component's label text. */
34
- accessor labelText: string | undefined;
34
+ accessor labelText: string;
35
35
  /** Overrides individual strings used by the component. */
36
36
  accessor messageOverrides: {
37
37
  rating?: string;
@@ -39,7 +39,7 @@ export abstract class Rating extends LitElement {
39
39
  stars?: string;
40
40
  };
41
41
  /** Specifies the name of the component. Required to pass the component's `value` on form submission. */
42
- accessor name: string | undefined;
42
+ accessor name: string;
43
43
  /**
44
44
  * When `true`, the component's value can be read, but cannot be modified.
45
45
  *
@@ -65,9 +65,9 @@ export abstract class Rating extends LitElement {
65
65
  */
66
66
  accessor status: Status;
67
67
  /** Specifies the validation icon to display under the component. */
68
- accessor validationIcon: IconName | boolean | undefined;
68
+ accessor validationIcon: IconName | boolean;
69
69
  /** Specifies the validation message to display under the component. */
70
- accessor validationMessage: string | undefined;
70
+ accessor validationMessage: string;
71
71
  /**
72
72
  * The component's current validation state.
73
73
  *