@esri/calcite-components 5.1.1 → 5.1.2-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/dist/cdn/{WQCT4VLB.js → 22ZEEBHY.js} +1 -1
  2. package/dist/cdn/{Q56UST3A.js → 2E5VWP5F.js} +1 -1
  3. package/dist/cdn/{W57IL7KF.js → 2IH3A7XP.js} +1 -1
  4. package/dist/cdn/{G2G6FHMB.js → 35O6UEOL.js} +1 -1
  5. package/dist/cdn/{CM45J66U.js → 3DHLIYTZ.js} +1 -1
  6. package/dist/cdn/{Q4V5DVKS.js → 3LBQM6E5.js} +1 -1
  7. package/dist/cdn/{PM5MZR4Z.js → 3OUO73FE.js} +1 -1
  8. package/dist/cdn/3UQ52WEC.js +2 -0
  9. package/dist/cdn/{EQKCU4NC.js → 46QVRBZQ.js} +1 -1
  10. package/dist/cdn/{LKYA2H2B.js → 4DEE5DJG.js} +1 -1
  11. package/dist/cdn/{ID2LCYSN.js → 4ESXF6CD.js} +1 -1
  12. package/dist/cdn/4GINWH77.js +2 -0
  13. package/dist/cdn/{KJCVGOXF.js → 4GLWWIFB.js} +1 -1
  14. package/dist/cdn/55B3DHRL.js +2 -0
  15. package/dist/cdn/{TYQB2FN4.js → 5AIYVBUE.js} +1 -1
  16. package/dist/cdn/{KXD6O3ZI.js → 5GSQDOTM.js} +1 -1
  17. package/dist/cdn/{ECVX7SVS.js → 5JMEGSKG.js} +1 -1
  18. package/dist/cdn/{V3X47NBI.js → 5P6PZGTL.js} +1 -1
  19. package/dist/cdn/{TWVXE232.js → 5RKV22NY.js} +1 -1
  20. package/dist/cdn/{SW5TNX5V.js → 5XBX6MS4.js} +1 -1
  21. package/dist/cdn/{LOJBKHVF.js → 65AE3WDH.js} +1 -1
  22. package/dist/cdn/{ALLL4LZ4.js → 6DMJVTU7.js} +1 -1
  23. package/dist/cdn/7CPR7ZY6.js +2 -0
  24. package/dist/cdn/{U7OJQ4EC.js → 7LJPLUHO.js} +1 -1
  25. package/dist/cdn/{COXLBEPM.js → 7Q7ZAE37.js} +1 -1
  26. package/dist/cdn/{VDJMOKVP.js → 7S7I3ZX6.js} +1 -1
  27. package/dist/cdn/{47Q2AE5B.js → 7TIC7MWH.js} +1 -1
  28. package/dist/cdn/{ND7KY7GE.js → AE6WIDBA.js} +1 -1
  29. package/dist/cdn/ANR6MBC5.js +2 -0
  30. package/dist/cdn/AQZ7H27V.js +2 -0
  31. package/dist/cdn/AUY3K2CK.js +2 -0
  32. package/dist/cdn/B2ZOCHY5.js +2 -0
  33. package/dist/cdn/{KCN4PBFZ.js → B74ZW4VM.js} +1 -1
  34. package/dist/cdn/BSFLNK3G.js +2 -0
  35. package/dist/cdn/BX7JMSW4.js +2 -0
  36. package/dist/cdn/{TTCZVBEF.js → BXUDOEEY.js} +1 -1
  37. package/dist/cdn/{KLNQGCK2.js → BZW75APA.js} +1 -1
  38. package/dist/cdn/CCMLFJRX.js +2 -0
  39. package/dist/cdn/{TVYIJRI2.js → CHVYZBJP.js} +1 -1
  40. package/dist/cdn/{5X2CR2NN.js → CQMH7FNX.js} +1 -1
  41. package/dist/cdn/{MW5MGBT4.js → D5RB7ITG.js} +1 -1
  42. package/dist/cdn/{YHAJICJ2.js → D7WOEWO3.js} +1 -1
  43. package/dist/cdn/DAUDD3TU.js +2 -0
  44. package/dist/cdn/{PB3LTBSS.js → DH7CVA3S.js} +1 -1
  45. package/dist/cdn/{IEWVQCQW.js → DIVK7SUE.js} +1 -1
  46. package/dist/cdn/{4NUFBGFK.js → DUFMSJ4N.js} +1 -1
  47. package/dist/cdn/{CDNETLLO.js → DVG3NA3H.js} +1 -1
  48. package/dist/cdn/{34ENIUR5.js → DZ2ML6RL.js} +1 -1
  49. package/dist/cdn/{S2BIRHQ7.js → E274U5KY.js} +1 -1
  50. package/dist/cdn/{NBAYHB3K.js → E5KOELX6.js} +1 -1
  51. package/dist/cdn/{E7GXKIIO.js → EBDWLL34.js} +1 -1
  52. package/dist/cdn/{3KWJQXAT.js → EH5Y2TRK.js} +1 -1
  53. package/dist/cdn/{HA65OOQD.js → FA5NVFJF.js} +1 -1
  54. package/dist/cdn/{IMUM436K.js → FPSAFKXP.js} +1 -1
  55. package/dist/cdn/{NTD2BJWG.js → FQTCAXYA.js} +1 -1
  56. package/dist/cdn/{3RRY5HHA.js → FQZZCTBU.js} +1 -1
  57. package/dist/cdn/FR5GKBKS.js +2 -0
  58. package/dist/cdn/{GTH6QFMV.js → FTH3OHTR.js} +1 -1
  59. package/dist/cdn/{QEJBAQOY.js → GA2SRL7F.js} +1 -1
  60. package/dist/cdn/{SNY2QKQJ.js → GCCKUDLZ.js} +1 -1
  61. package/dist/cdn/{2J4U5E4U.js → GFJSIQAL.js} +1 -1
  62. package/dist/cdn/{WER7FADP.js → GQV6EPVW.js} +1 -1
  63. package/dist/cdn/{5O6YGOJE.js → GUYWR6OU.js} +1 -1
  64. package/dist/cdn/{4UHTWXNV.js → GVPG6GL6.js} +1 -1
  65. package/dist/cdn/{ST6WRTR2.js → H5OQUUCS.js} +1 -1
  66. package/dist/cdn/{JDVSVNSE.js → HNFN5XI4.js} +1 -1
  67. package/dist/cdn/{MHE72N53.js → HOZFU3MX.js} +1 -1
  68. package/dist/cdn/{OXCL3M4W.js → HS67EN4X.js} +1 -1
  69. package/dist/cdn/{QC5NB4VL.js → I5FHLUKC.js} +1 -1
  70. package/dist/cdn/{OWIJSXYV.js → IDT2SXTU.js} +1 -1
  71. package/dist/cdn/{2P3LOGHK.js → IIK67UVJ.js} +1 -1
  72. package/dist/cdn/J4NTIVMX.js +2 -0
  73. package/dist/cdn/{GCAYSD7G.js → JBJREVM7.js} +1 -1
  74. package/dist/cdn/{7B4FOF3S.js → JGIGYWX4.js} +1 -1
  75. package/dist/cdn/JKB2GJ3L.js +2 -0
  76. package/dist/cdn/{UTVGUMUM.js → KJ3CYYKH.js} +1 -1
  77. package/dist/cdn/{YYAYEKGB.js → KRJOJQ44.js} +1 -1
  78. package/dist/cdn/KZAI3CI3.js +2 -0
  79. package/dist/cdn/{ELXBBUY5.js → LBE47OKH.js} +1 -1
  80. package/dist/cdn/{7QS3Z4ZJ.js → LELOCWEB.js} +1 -1
  81. package/dist/cdn/{44VCOKJX.js → LWJGPTE6.js} +1 -1
  82. package/dist/cdn/{WCUO6JQN.js → M3FXEHEJ.js} +1 -1
  83. package/dist/cdn/{VEZBAZZG.js → MOFJZGJJ.js} +1 -1
  84. package/dist/cdn/{5D7IEY6J.js → MSMAWAGB.js} +1 -1
  85. package/dist/cdn/{V7YPIVAX.js → NFJSGECW.js} +1 -1
  86. package/dist/cdn/{QGF4JJQO.js → NFSJVK6S.js} +1 -1
  87. package/dist/cdn/NV73Q6Y3.js +2 -0
  88. package/dist/cdn/{ODGJXDZK.js → NWCJZZUP.js} +1 -1
  89. package/dist/cdn/{XRUJ4D7O.js → NXXNNPTZ.js} +1 -1
  90. package/dist/cdn/OAHYAUPC.js +2 -0
  91. package/dist/cdn/{CEWOZ7LP.js → OJOSD3I3.js} +1 -1
  92. package/dist/cdn/{3TYJSBP3.js → OKEUM3YZ.js} +1 -1
  93. package/dist/cdn/ON5SZ43I.js +2 -0
  94. package/dist/cdn/{XT4GLBAQ.js → OO4DL46D.js} +1 -1
  95. package/dist/cdn/{6V3FX2W2.js → OXAULX56.js} +1 -1
  96. package/dist/cdn/{E6X6BQLH.js → OYI5HS2H.js} +1 -1
  97. package/dist/cdn/{NCSMOKFP.js → PF2E72GP.js} +1 -1
  98. package/dist/cdn/{NG7BG3QY.js → PGOMURMZ.js} +1 -1
  99. package/dist/cdn/PTENM6H3.js +2 -0
  100. package/dist/cdn/PZBMDHWQ.js +2 -0
  101. package/dist/cdn/{GDYGEN45.js → QEET4SDM.js} +1 -1
  102. package/dist/cdn/QEJPO65G.js +2 -0
  103. package/dist/cdn/{ZRMTOZ3B.js → QU4Q7ONO.js} +1 -1
  104. package/dist/cdn/{Z3IP3JBL.js → QUBOBRBE.js} +1 -1
  105. package/dist/cdn/{GDFQSWZ7.js → QUFMR3GW.js} +1 -1
  106. package/dist/cdn/{6X3QWKZL.js → R6QHGRLY.js} +1 -1
  107. package/dist/cdn/{6VP3K6WL.js → RAPPDCJC.js} +1 -1
  108. package/dist/cdn/RCKGNXG5.js +2 -0
  109. package/dist/cdn/{ICGT7C6U.js → ROD7LNFF.js} +1 -1
  110. package/dist/cdn/{YKL7MIG5.js → RRG7YZBV.js} +1 -1
  111. package/dist/cdn/{VZ2YR2UG.js → RUFVN26P.js} +1 -1
  112. package/dist/cdn/SNI7EAIB.js +2 -0
  113. package/dist/cdn/{JGCJVDJA.js → T3FWIMHQ.js} +1 -1
  114. package/dist/cdn/{IRANNKJ2.js → THKF3UIU.js} +1 -1
  115. package/dist/cdn/{6XMUSNRS.js → TLYY3J5P.js} +1 -1
  116. package/dist/cdn/{BSMPD6VA.js → TMJJBLP6.js} +1 -1
  117. package/dist/cdn/{RUUD543Z.js → TNK2ZMWI.js} +1 -1
  118. package/dist/cdn/{L3D2OBOR.js → TO7Y5WZH.js} +1 -1
  119. package/dist/cdn/{PHEMAFCT.js → TPA4W766.js} +1 -1
  120. package/dist/cdn/{CENYPZ3Y.js → TPACOVOQ.js} +1 -1
  121. package/dist/cdn/{ETEMG44R.js → TQ5ZBZVK.js} +1 -1
  122. package/dist/cdn/{TKK3AWQJ.js → UANLRLKZ.js} +1 -1
  123. package/dist/cdn/{LI2CATYC.js → UILRTNAY.js} +1 -1
  124. package/dist/cdn/{DP2TY4KH.js → UJSGNQNS.js} +1 -1
  125. package/dist/cdn/{7SDGC2RW.js → UMNCTZMZ.js} +1 -1
  126. package/dist/cdn/{I4IDQ735.js → UQADROG7.js} +1 -1
  127. package/dist/cdn/{6HRHKHF5.js → UU6TKA7Y.js} +1 -1
  128. package/dist/cdn/{LJSR66HF.js → V7X5QMP5.js} +1 -1
  129. package/dist/cdn/{6VDGKXTH.js → VKOMYCKU.js} +1 -1
  130. package/dist/cdn/{JCVLN6XL.js → VL5MBQLU.js} +1 -1
  131. package/dist/cdn/VLTH6OI4.js +2 -0
  132. package/dist/cdn/{2JJ5YBBT.js → VTIIXIO2.js} +1 -1
  133. package/dist/cdn/VVLIBG27.js +2 -0
  134. package/dist/cdn/{SJCWFQNF.js → W776TYSB.js} +1 -1
  135. package/dist/cdn/WBG5KGIT.js +2 -0
  136. package/dist/cdn/{TVU7KEKM.js → WE6LDLUR.js} +1 -1
  137. package/dist/cdn/{ROJYTRK6.js → WJLDQOSL.js} +1 -1
  138. package/dist/cdn/{DK3SDSZL.js → WMAINNWS.js} +1 -1
  139. package/dist/cdn/{DDUIHGBF.js → WMRHH4QJ.js} +1 -1
  140. package/dist/cdn/{SNJLHXVG.js → WYWBO53V.js} +1 -1
  141. package/dist/cdn/XPV23QFC.js +2 -0
  142. package/dist/cdn/{NL77UDLL.js → XXOHZXFG.js} +1 -1
  143. package/dist/cdn/{V7PYDILT.js → Y7HCDFPY.js} +1 -1
  144. package/dist/cdn/{U4GRIQVY.js → YCBJZOJS.js} +1 -1
  145. package/dist/cdn/{IHYNJVS4.js → YETMUH7M.js} +1 -1
  146. package/dist/cdn/YPGTWYGF.js +2 -0
  147. package/dist/cdn/{PIR7PWBO.js → YVT2GP5U.js} +1 -1
  148. package/dist/cdn/{JPPCKAMD.js → ZAWIMU5V.js} +1 -1
  149. package/dist/cdn/{524MMG22.js → ZU6VN5T5.js} +1 -1
  150. package/dist/cdn/assets/icon/buildingIndex16.json +1 -0
  151. package/dist/cdn/assets/icon/buildingIndex24.json +1 -0
  152. package/dist/cdn/assets/icon/buildingIndex32.json +1 -0
  153. package/dist/cdn/assets/icon/fireIndex16.json +1 -0
  154. package/dist/cdn/assets/icon/fireIndex24.json +1 -0
  155. package/dist/cdn/assets/icon/fireIndex32.json +1 -0
  156. package/dist/cdn/assets/icon/geologyIndex16.json +1 -0
  157. package/dist/cdn/assets/icon/geologyIndex24.json +1 -0
  158. package/dist/cdn/assets/icon/geologyIndex32.json +1 -0
  159. package/dist/cdn/assets/icon/orientedImageryFullSuperimpose16.json +1 -0
  160. package/dist/cdn/assets/icon/orientedImageryFullSuperimpose24.json +1 -0
  161. package/dist/cdn/assets/icon/orientedImageryFullSuperimpose32.json +1 -0
  162. package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose16.json +1 -0
  163. package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose24.json +1 -0
  164. package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose32.json +1 -0
  165. package/dist/cdn/assets/icon/orientedImagerySceneOnly16.json +1 -0
  166. package/dist/cdn/assets/icon/orientedImagerySceneOnly24.json +1 -0
  167. package/dist/cdn/assets/icon/orientedImagerySceneOnly32.json +1 -0
  168. package/dist/cdn/assets/icon/parquetFeatureLayer16.json +1 -0
  169. package/dist/cdn/assets/icon/parquetFeatureLayer24.json +1 -0
  170. package/dist/cdn/assets/icon/parquetFeatureLayer32.json +1 -0
  171. package/dist/cdn/assets/icon/snowIndex16.json +1 -0
  172. package/dist/cdn/assets/icon/snowIndex24.json +1 -0
  173. package/dist/cdn/assets/icon/snowIndex32.json +1 -0
  174. package/dist/cdn/assets/icon/soilAdjustedVegetationIndex16.json +1 -0
  175. package/dist/cdn/assets/icon/soilAdjustedVegetationIndex24.json +1 -0
  176. package/dist/cdn/assets/icon/soilAdjustedVegetationIndex32.json +1 -0
  177. package/dist/cdn/assets/icon/vegetationIndex16.json +1 -0
  178. package/dist/cdn/assets/icon/vegetationIndex24.json +1 -0
  179. package/dist/cdn/assets/icon/vegetationIndex32.json +1 -0
  180. package/dist/cdn/index.js +1 -1
  181. package/dist/chunks/ExpandToggle.js +1 -1
  182. package/dist/chunks/date.js +3 -3
  183. package/dist/chunks/dom.js +15 -3
  184. package/dist/chunks/floating-ui.js +1 -1
  185. package/dist/chunks/label.js +6 -6
  186. package/dist/chunks/locale.js +3 -6
  187. package/dist/chunks/manager.js +5 -5
  188. package/dist/chunks/openCloseComponent.js +1 -1
  189. package/dist/chunks/resources10.js +4 -48
  190. package/dist/chunks/resources11.js +63 -0
  191. package/dist/chunks/resources5.js +37 -23
  192. package/dist/chunks/resources6.js +27 -52
  193. package/dist/chunks/resources7.js +48 -45
  194. package/dist/chunks/resources8.js +49 -7
  195. package/dist/chunks/resources9.js +9 -11
  196. package/dist/chunks/runtime.js +3 -3
  197. package/dist/chunks/useTime.js +40 -45
  198. package/dist/chunks/utils.js +9 -15
  199. package/dist/chunks/utils2.js +1 -1
  200. package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
  201. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  202. package/dist/components/calcite-alert/customElement.d.ts +2 -2
  203. package/dist/components/calcite-alert/customElement.js +6 -4
  204. package/dist/components/calcite-autocomplete/customElement.d.ts +16 -16
  205. package/dist/components/calcite-autocomplete/customElement.js +4 -4
  206. package/dist/components/calcite-autocomplete-item/customElement.d.ts +5 -5
  207. package/dist/components/calcite-avatar/customElement.d.ts +5 -5
  208. package/dist/components/calcite-block/customElement.d.ts +9 -9
  209. package/dist/components/calcite-block/customElement.js +8 -49
  210. package/dist/components/calcite-block-group/customElement.js +3 -5
  211. package/dist/components/calcite-block-section/customElement.d.ts +5 -5
  212. package/dist/components/calcite-block-section/customElement.js +1 -1
  213. package/dist/components/calcite-button/customElement.d.ts +8 -8
  214. package/dist/components/calcite-button/customElement.js +3 -3
  215. package/dist/components/calcite-card/customElement.d.ts +1 -1
  216. package/dist/components/calcite-carousel/customElement.js +5 -6
  217. package/dist/components/calcite-checkbox/customElement.d.ts +4 -4
  218. package/dist/components/calcite-chip/customElement.js +1 -1
  219. package/dist/components/calcite-chip-group/customElement.js +1 -1
  220. package/dist/components/calcite-color-picker/customElement.d.ts +3 -3
  221. package/dist/components/calcite-color-picker/customElement.js +24 -21
  222. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
  223. package/dist/components/calcite-color-picker-hex-input/customElement.js +5 -5
  224. package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
  225. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  226. package/dist/components/calcite-combobox/customElement.js +13 -8
  227. package/dist/components/calcite-date-picker/customElement.js +1 -1
  228. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  229. package/dist/components/calcite-date-picker-month/customElement.js +2 -11
  230. package/dist/components/calcite-dialog/customElement.js +8 -8
  231. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  232. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  233. package/dist/components/calcite-flow/customElement.d.ts +2 -2
  234. package/dist/components/calcite-flow/customElement.js +1 -1
  235. package/dist/components/calcite-flow-item/customElement.d.ts +7 -1
  236. package/dist/components/calcite-flow-item/customElement.js +2 -2
  237. package/dist/components/calcite-input/customElement.js +2 -5
  238. package/dist/components/calcite-input-number/customElement.js +1 -1
  239. package/dist/components/calcite-input-text/customElement.js +1 -1
  240. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  241. package/dist/components/calcite-list/customElement.d.ts +4 -4
  242. package/dist/components/calcite-list/customElement.js +5 -6
  243. package/dist/components/calcite-list-item/customElement.d.ts +6 -6
  244. package/dist/components/calcite-list-item/customElement.js +13 -16
  245. package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
  246. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  247. package/dist/components/calcite-loader/customElement.js +3 -3
  248. package/dist/components/calcite-menu-item/customElement.d.ts +7 -7
  249. package/dist/components/calcite-menu-item/customElement.js +3 -0
  250. package/dist/components/calcite-meter/customElement.d.ts +6 -6
  251. package/dist/components/calcite-meter/customElement.js +14 -7
  252. package/dist/components/calcite-pagination/customElement.d.ts +1 -1
  253. package/dist/components/calcite-pagination/customElement.js +3 -0
  254. package/dist/components/calcite-panel/customElement.d.ts +6 -6
  255. package/dist/components/calcite-panel/customElement.js +1 -1
  256. package/dist/components/calcite-popover/customElement.d.ts +4 -4
  257. package/dist/components/calcite-popover/customElement.js +1 -1
  258. package/dist/components/calcite-progress/customElement.d.ts +2 -2
  259. package/dist/components/calcite-radio-button/customElement.d.ts +5 -5
  260. package/dist/components/calcite-radio-button/customElement.js +1 -1
  261. package/dist/components/calcite-radio-button-group/customElement.d.ts +4 -4
  262. package/dist/components/calcite-radio-button-group/customElement.js +3 -3
  263. package/dist/components/calcite-rating/customElement.d.ts +7 -7
  264. package/dist/components/calcite-rating/customElement.js +13 -9
  265. package/dist/components/calcite-sheet/customElement.js +32 -27
  266. package/dist/components/calcite-stack/customElement.js +1 -1
  267. package/dist/components/calcite-tab/customElement.d.ts +1 -1
  268. package/dist/components/calcite-tab/customElement.js +2 -1
  269. package/dist/components/calcite-tab-nav/customElement.d.ts +3 -3
  270. package/dist/components/calcite-tab-nav/customElement.js +12 -7
  271. package/dist/components/calcite-tab-title/customElement.d.ts +3 -3
  272. package/dist/components/calcite-tab-title/customElement.js +2 -0
  273. package/dist/components/calcite-table/customElement.js +22 -14
  274. package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
  275. package/dist/components/calcite-table-cell/customElement.js +6 -0
  276. package/dist/components/calcite-table-header/customElement.d.ts +4 -4
  277. package/dist/components/calcite-table-header/customElement.js +2 -0
  278. package/dist/components/calcite-table-row/customElement.js +5 -3
  279. package/dist/components/calcite-tabs/customElement.js +3 -2
  280. package/dist/components/calcite-text-area/customElement.d.ts +12 -12
  281. package/dist/components/calcite-text-area/customElement.js +5 -3
  282. package/dist/components/calcite-tile/customElement.d.ts +6 -6
  283. package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
  284. package/dist/components/calcite-time-picker/customElement.js +35 -15
  285. package/dist/components/calcite-tooltip/customElement.d.ts +2 -2
  286. package/dist/components/calcite-tooltip/customElement.js +1 -1
  287. package/dist/components/calcite-tree/customElement.js +7 -6
  288. package/dist/components/calcite-tree-item/customElement.d.ts +3 -3
  289. package/dist/components/calcite-tree-item/customElement.js +12 -6
  290. package/dist/controllers/useSortable.d.ts +2 -2
  291. package/dist/controllers/useTime.d.ts +20 -20
  292. package/dist/docs/api.json +1 -1
  293. package/dist/docs/docs.json +1 -1
  294. package/dist/docs/supported-browsers.json +1 -1
  295. package/dist/docs/vscode.html-custom-data.json +1 -1
  296. package/dist/docs/web-types.json +1 -1
  297. package/dist/loader.js +2 -2
  298. package/dist/types/lumina.d.ts +1 -1
  299. package/dist/types/preact.d.ts +1 -1
  300. package/dist/types/react.d.ts +1 -1
  301. package/dist/types/stencil.d.ts +1 -1
  302. package/dist/utils/dom.d.ts +1 -1
  303. package/package.json +8 -9
  304. package/dist/cdn/25SUELBY.js +0 -2
  305. package/dist/cdn/44HFP2I6.js +0 -2
  306. package/dist/cdn/5VAPN2S2.js +0 -2
  307. package/dist/cdn/6S3G75WP.js +0 -2
  308. package/dist/cdn/6SZY5PY7.js +0 -2
  309. package/dist/cdn/A6V4I2J3.js +0 -2
  310. package/dist/cdn/BCRYMNH7.js +0 -2
  311. package/dist/cdn/C462ZIJD.js +0 -2
  312. package/dist/cdn/C4DW27AP.js +0 -2
  313. package/dist/cdn/C4OX3FC4.js +0 -2
  314. package/dist/cdn/CVJBK7K3.js +0 -2
  315. package/dist/cdn/DSQ47C3C.js +0 -2
  316. package/dist/cdn/HYIVUAZU.js +0 -2
  317. package/dist/cdn/JSXQ6NFN.js +0 -2
  318. package/dist/cdn/KOWFGIAY.js +0 -2
  319. package/dist/cdn/L5IKT3WY.js +0 -2
  320. package/dist/cdn/LGB6OAXT.js +0 -2
  321. package/dist/cdn/ORIGVFX7.js +0 -2
  322. package/dist/cdn/QZJ7GLQ3.js +0 -2
  323. package/dist/cdn/RK2LH73E.js +0 -2
  324. package/dist/cdn/RRKFBHMW.js +0 -2
  325. package/dist/cdn/SXXFODM6.js +0 -2
  326. package/dist/cdn/TV47CRME.js +0 -2
  327. package/dist/cdn/UCWB5EGV.js +0 -2
  328. package/dist/cdn/X3HV2NYH.js +0 -2
  329. package/dist/cdn/Y7O6UR4T.js +0 -2
  330. package/dist/cdn/ZK2W2KJX.js +0 -2
  331. package/dist/cdn/ZOEJDQXA.js +0 -2
  332. /package/dist/cdn/{72YUATHS.js → 2G2ZTAXT.js} +0 -0
  333. /package/dist/cdn/{MO64UYDH.js → 5ZULUIQ5.js} +0 -0
  334. /package/dist/cdn/{IIA2H2SU.js → EWIZKNXQ.js} +0 -0
  335. /package/dist/cdn/{LKL63VXR.js → EZQV6OUW.js} +0 -0
  336. /package/dist/cdn/{Q55YTOMB.js → SXELOWJI.js} +0 -0
  337. /package/dist/cdn/{VXBJOP6X.js → U5CB5AOH.js} +0 -0
@@ -2,7 +2,7 @@
2
2
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
3
3
  import type { HeadingLevel } from "../functional/Heading.js";
4
4
  import type { OverlayPositioning } from "../../utils/floating-ui.js";
5
- import type { Scale } from "../interfaces.js";
5
+ import type { CollapseDirection, Scale } from "../interfaces.js";
6
6
  import type { Panel } from "../calcite-panel/customElement.js";
7
7
  import type { IconName } from "../calcite-icon/interfaces.js";
8
8
 
@@ -73,6 +73,12 @@ export abstract class FlowItem extends LitElement {
73
73
  * @default false
74
74
  */
75
75
  accessor collapsed: boolean;
76
+ /**
77
+ * When `collapsible` is `true`, specifies the direction of the collapse icon.
78
+ *
79
+ * @default "down"
80
+ */
81
+ accessor collapseDirection: CollapseDirection;
76
82
  /**
77
83
  * When `true`, the component is collapsible.
78
84
  *
@@ -5,7 +5,7 @@ import { css, nothing, html } 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 { S as SLOTS$1 } from "../../chunks/resources7.js";
8
+ import { S as SLOTS$1 } from "../../chunks/resources8.js";
9
9
  import { u as useT9n } from "../../chunks/useT9n.js";
10
10
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
11
11
  import { u as useInteractive } from "../../chunks/useInteractive.js";
@@ -123,7 +123,7 @@ class FlowItem extends LitElement {
123
123
  }
124
124
  render() {
125
125
  const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messageOverrides, overlayPositioning, beforeClose, icon, iconFlipRtl } = this;
126
- return this.interactiveContainer({ disabled, children: html`<calcite-panel .beforeClose=${beforeClose} .closable=${closable} .closed=${closed} .collapseDirection=${collapseDirection} .collapsed=${collapsed} .collapsible=${collapsible} .description=${description} .disabled=${disabled} .heading=${heading} .headingLevel=${headingLevel} .icon=${icon} .iconFlipRtl=${iconFlipRtl} .loading=${loading} .menuOpen=${menuOpen} .messageOverrides=${messageOverrides} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${overlayPositioning} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.containerRef)}>${this.renderBackButton()}<slot name=${SLOTS.actionBar} slot=${SLOTS$1.actionBar}></slot><slot name=${SLOTS.alerts} slot=${SLOTS$1.alerts}></slot><slot name=${SLOTS.headerActionsStart} slot=${SLOTS$1.headerActionsStart}></slot><slot name=${SLOTS.headerActionsEnd} slot=${SLOTS$1.headerActionsEnd}></slot><slot name=${SLOTS.description} slot=${SLOTS$1.description}></slot><slot name=${SLOTS.heading} slot=${SLOTS$1.heading}></slot><slot name=${SLOTS.headerContent} slot=${SLOTS$1.headerContent}></slot><slot name=${SLOTS.headerMenuActions} slot=${SLOTS$1.headerMenuActions}></slot><slot name=${SLOTS.fab} slot=${SLOTS$1.fab}></slot><slot name=${SLOTS.contentTop} slot=${SLOTS$1.contentTop}></slot><slot name=${SLOTS.contentBottom} slot=${SLOTS$1.contentBottom}></slot><slot name=${SLOTS.footerStart} slot=${SLOTS$1.footerStart}></slot><slot name=${SLOTS.footer} slot=${SLOTS$1.footer}></slot><slot name=${SLOTS.footerEnd} slot=${SLOTS$1.footerEnd}></slot><slot></slot></calcite-panel>` });
126
+ return this.interactiveContainer({ disabled, children: html`<calcite-panel .beforeClose=${beforeClose} .closable=${closable} .closed=${closed} .collapsed=${collapsed} .collapseDirection=${collapseDirection} .collapsible=${collapsible} .description=${description} .disabled=${disabled} .heading=${heading} .headingLevel=${headingLevel} .icon=${icon} .iconFlipRtl=${iconFlipRtl} .loading=${loading} .menuOpen=${menuOpen} .messageOverrides=${messageOverrides} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${overlayPositioning} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.containerRef)}>${this.renderBackButton()}<slot name=${SLOTS.actionBar} slot=${SLOTS$1.actionBar}></slot><slot name=${SLOTS.alerts} slot=${SLOTS$1.alerts}></slot><slot name=${SLOTS.headerActionsStart} slot=${SLOTS$1.headerActionsStart}></slot><slot name=${SLOTS.headerActionsEnd} slot=${SLOTS$1.headerActionsEnd}></slot><slot name=${SLOTS.description} slot=${SLOTS$1.description}></slot><slot name=${SLOTS.heading} slot=${SLOTS$1.heading}></slot><slot name=${SLOTS.headerContent} slot=${SLOTS$1.headerContent}></slot><slot name=${SLOTS.headerMenuActions} slot=${SLOTS$1.headerMenuActions}></slot><slot name=${SLOTS.fab} slot=${SLOTS$1.fab}></slot><slot name=${SLOTS.contentTop} slot=${SLOTS$1.contentTop}></slot><slot name=${SLOTS.contentBottom} slot=${SLOTS$1.contentBottom}></slot><slot name=${SLOTS.footerStart} slot=${SLOTS$1.footerStart}></slot><slot name=${SLOTS.footer} slot=${SLOTS$1.footer}></slot><slot name=${SLOTS.footerEnd} slot=${SLOTS$1.footerEnd}></slot><slot></slot></calcite-panel>` });
127
127
  }
128
128
  }
129
129
  customElement("calcite-flow-item", FlowItem);
@@ -512,14 +512,11 @@ class Input extends LitElement {
512
512
  const autofocus = this.el.autofocus;
513
513
  const enterKeyHint = this.el.enterKeyHint;
514
514
  const inputMode = this.el.inputMode;
515
- const localeNumberInput = this.type === "number" ? keyed("localized-input", html`<input accept=${this.accept ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${autofocus} value=${this.defaultValue ?? nothing} .disabled=${this.disabled ? true : null} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} name=${nothing} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} type=text .value=${live(this.displayedValue ?? "")} ${ref(this.childNumberRef)}>`) : null;
515
+ const localeNumberInput = this.type === "number" ? keyed("localized-input", html`<input accept=${this.accept ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${autofocus} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} type=text .value=${live(this.displayedValue ?? "")} ${ref(this.childNumberRef)}>`) : null;
516
516
  const childEl = this.type !== "number" ? html`<input accept=${this.accept ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${autofocus} class=${safeClassMap({
517
517
  [CSS.editingEnabled]: this.editingEnabled,
518
518
  [CSS.inlineChild]: !!this.inlineEditableEl
519
- })} value=${this.defaultValue ?? nothing} .disabled=${this.disabled ? true : null} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} max=${this.maxString ?? nothing} maxlength=${this.maxLength ?? nothing} min=${this.minString ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} name=${this.name ?? nothing} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputInputHandler} @keydown=${this.inputKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required ? true : null} spellcheck=${this.el.spellcheck ?? nothing} step=${this.step ?? nothing} tabindex=${(this.disabled || this.inlineEditableEl && !this.editingEnabled ? -1 : null) ?? nothing} type=${this.type ?? nothing} .value=${live(this.value ?? "")} ${ref(
520
- this.childRef
521
- /* using unknown to workaround Lumina dynamic ref type issue */
522
- )}>` : null;
519
+ })} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} max=${this.maxString ?? nothing} maxlength=${this.maxLength ?? nothing} min=${this.minString ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} name=${this.name ?? nothing} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputInputHandler} @keydown=${this.inputKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} spellcheck=${this.el.spellcheck ?? nothing} step=${this.step ?? nothing} tabindex=${(this.disabled || this.inlineEditableEl && !this.editingEnabled ? -1 : null) ?? nothing} type=${this.type ?? nothing} .value=${live(this.value ?? "")} ${ref(this.childRef)}>` : null;
523
520
  return this.interactiveContainer({ disabled: this.disabled, children: html`${this.labelText && InternalLabel({ labelText: this.labelText, onClick: this.onLabelClick, required: this.required, tooltipText: this.messages.required }) || ""}<div class=${safeClassMap({
524
521
  [CSS.inputWrapper]: true,
525
522
  [CSS_UTILITY.rtl]: dir === "rtl",
@@ -504,7 +504,7 @@ class InputNumber extends LitElement {
504
504
  const numberButtonsVertical = html`<div class=${safeClassMap(CSS.numberButtonWrapper)}>${numberButtonsHorizontalUp}${numberButtonsHorizontalDown}</div>`;
505
505
  const prefixText = html`<div class=${safeClassMap(CSS.prefix)}>${this.prefixText}</div>`;
506
506
  const suffixText = html`<div class=${safeClassMap(CSS.suffix)}>${this.suffixText}</div>`;
507
- const childEl = keyed("localized-input", html`<input aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${this.el.autofocus} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${this.el.enterKeyHint ?? nothing} inputmode=${(this.el.inputMode || "decimal") ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} name=${nothing} @blur=${this.inputNumberBlurHandler} @focus=${this.inputNumberFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputNumberKeyUpHandler} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} type=text .value=${live(this.displayedValue ?? "")} ${ref(this.childNumberRef)}>`);
507
+ const childEl = keyed("localized-input", html`<input aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${this.el.autofocus} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${this.el.enterKeyHint ?? nothing} inputmode=${(this.el.inputMode || "decimal") ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} @blur=${this.inputNumberBlurHandler} @focus=${this.inputNumberFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputNumberKeyUpHandler} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} type=text .value=${live(this.displayedValue ?? "")} ${ref(this.childNumberRef)}>`);
508
508
  return this.interactiveContainer({ disabled: this.disabled, children: html`${this.labelText && InternalLabel({ labelText: this.labelText, onClick: this.onLabelClick, required: this.required, tooltipText: this.messages.required }) || ""}<div class=${safeClassMap({
509
509
  [CSS.inputWrapper]: true,
510
510
  [CSS_UTILITY.rtl]: dir === "rtl",
@@ -246,7 +246,7 @@ class InputText extends LitElement {
246
246
  const childEl = html`<input aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${this.el.autofocus} class=${safeClassMap({
247
247
  [CSS.editingEnabled]: this.editingEnabled,
248
248
  [CSS.inlineChild]: !!this.inlineEditableEl
249
- })} value=${this.defaultValue ?? nothing} .disabled=${this.disabled ? true : null} enterkeyhint=${this.el.enterKeyHint ?? nothing} inputmode=${this.el.inputMode ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} name=${this.name ?? nothing} @blur=${this.inputTextBlurHandler} @focus=${this.inputTextFocusHandler} @input=${this.inputTextInputHandler} @keydown=${this.inputTextKeyDownHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required ? true : null} spellcheck=${this.el.spellcheck ?? nothing} tabindex=${(this.disabled || this.inlineEditableEl && !this.editingEnabled ? -1 : null) ?? nothing} type=text .value=${live(this.value ?? "")} ${ref(this.childRef)}>`;
249
+ })} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${this.el.enterKeyHint ?? nothing} inputmode=${this.el.inputMode ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} name=${this.name ?? nothing} @blur=${this.inputTextBlurHandler} @focus=${this.inputTextFocusHandler} @input=${this.inputTextInputHandler} @keydown=${this.inputTextKeyDownHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} spellcheck=${this.el.spellcheck ?? nothing} tabindex=${(this.disabled || this.inlineEditableEl && !this.editingEnabled ? -1 : null) ?? nothing} type=text .value=${live(this.value ?? "")} ${ref(this.childRef)}>`;
250
250
  return this.interactiveContainer({ disabled: this.disabled, children: html`${this.labelText && InternalLabel({ labelText: this.labelText, onClick: this.onLabelClick, required: this.required, tooltipText: this.messages.required }) || ""}<div class=${safeClassMap({
251
251
  [CSS.inputWrapper]: true,
252
252
  [CSS_UTILITY.rtl]: dir === "rtl",
@@ -7,7 +7,7 @@ import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/
7
7
  import { createRef, ref } from "lit/directives/ref.js";
8
8
  import { c as connectLabel, d as disconnectLabel } from "../../chunks/label.js";
9
9
  import { u as useT9n } from "../../chunks/useT9n.js";
10
- import { S as SLOTS$1 } from "../../chunks/resources6.js";
10
+ import { S as SLOTS$1 } from "../../chunks/resources7.js";
11
11
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
12
12
  import { u as useInteractive } from "../../chunks/useInteractive.js";
13
13
  import { u as useForm } from "../../chunks/useForm.js";
@@ -57,9 +57,9 @@ export abstract class List extends LitElement {
57
57
  */
58
58
  accessor filterEnabled: boolean;
59
59
  /** Specifies an accessible name for the filter input field. */
60
- accessor filterLabel: string;
60
+ accessor filterLabel: string | undefined;
61
61
  /** Specifies placeholder text for the component's filter input field. */
62
- accessor filterPlaceholder: string;
62
+ accessor filterPlaceholder: string | undefined;
63
63
  /**
64
64
  * Specifies a function to handle filtering.
65
65
  *
@@ -71,7 +71,7 @@ export abstract class List extends LitElement {
71
71
  */
72
72
  accessor filterPredicate: ((item: ListItem) => boolean) | undefined;
73
73
  /** Specifies the properties to match against when filtering. If not set, all properties will be matched (`description`, `label`, `metadata`, and the `calcite-list-item-group`'s `heading`). */
74
- accessor filterProps: string[];
74
+ accessor filterProps: string[] | undefined;
75
75
  /**
76
76
  * Text for the component's filter input field.
77
77
  *
@@ -116,7 +116,7 @@ export abstract class List extends LitElement {
116
116
  total?: string;
117
117
  };
118
118
  /** Specifies the Unicode numeral system used by the component for localization. */
119
- accessor numberingSystem: NumberingSystem;
119
+ accessor numberingSystem: NumberingSystem | undefined;
120
120
  /**
121
121
  * Specifies the size of the component.
122
122
  *
@@ -8,7 +8,7 @@ import { LitElement, createEvent, safeClassMap, safeStyleMap } from "@arcgis/lum
8
8
  import { m as slotChangeHasContent, s as slotChangeHasAssignedElement, e as getRootNode } from "../../chunks/dom.js";
9
9
  import { c as createObserver } from "../../chunks/observers.js";
10
10
  import { l as listItemSelector, i as isListItem, a as listSelector, u as updateListItemChildren, b as listItemGroupSelector, e as expandedAncestors } from "../../chunks/utils4.js";
11
- import { S as SLOTS$1 } from "../../chunks/resources9.js";
11
+ import { S as SLOTS$1 } from "../../chunks/resources10.js";
12
12
  import { n as numberStringFormatter } from "../../chunks/locale.js";
13
13
  import { g as guid } from "../../chunks/guid.js";
14
14
  import { u as useT9n } from "../../chunks/useT9n.js";
@@ -111,13 +111,13 @@ class List extends LitElement {
111
111
  this.styles = styles;
112
112
  }
113
113
  get hasActiveFilter() {
114
- return this.filterEnabled && this.filterText && this.filteredItems.length !== this.visibleItems.length;
114
+ return !!(this.filterEnabled && this.filterText && this.filteredItems.length !== this.visibleItems.length);
115
115
  }
116
116
  get showEmptyContentContainer() {
117
117
  return !this.hasContent && this.hasEmptyContent;
118
118
  }
119
119
  get showNoResultsContainer() {
120
- return this.filterEnabled && this.filterText && this.hasFilterNoResults && this.visibleItems.length && !this.filteredItems.length;
120
+ return !!(this.filterEnabled && this.filterText && this.hasFilterNoResults && this.visibleItems.length && !this.filteredItems.length);
121
121
  }
122
122
  get effectiveFilterProps() {
123
123
  if (!this.filterProps) {
@@ -366,7 +366,7 @@ class List extends LitElement {
366
366
  this.calciteListOrderChange.emit(detail);
367
367
  }
368
368
  setParentList() {
369
- this.parentListEl = this.el.parentElement?.closest(listSelector);
369
+ this.parentListEl = this.el.parentElement?.closest(listSelector) || void 0;
370
370
  }
371
371
  handleDefaultSlotChange(event) {
372
372
  if (this.parentListEl) {
@@ -493,8 +493,7 @@ class List extends LitElement {
493
493
  }));
494
494
  }
495
495
  getGroupHeading(item) {
496
- const heading = this.listItemGroups.filter((group) => group.contains(item)).map((group) => group.heading);
497
- return heading;
496
+ return this.listItemGroups.filter((group) => group.contains(item) && group.heading).map((group) => group.heading);
498
497
  }
499
498
  updateGroupItems() {
500
499
  const { el, group, scale } = this;
@@ -35,7 +35,7 @@ export abstract class ListItem extends LitElement {
35
35
  */
36
36
  accessor closed: boolean;
37
37
  /** Specifies a description for the component. Displays below the `label`. */
38
- accessor description: string;
38
+ accessor description: string | undefined;
39
39
  /**
40
40
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
41
41
  *
@@ -55,13 +55,13 @@ export abstract class ListItem extends LitElement {
55
55
  */
56
56
  accessor expanded: boolean;
57
57
  /** Specifies an icon to display at the end of the component. */
58
- accessor iconEnd: IconName;
58
+ accessor iconEnd: IconName | undefined;
59
59
  /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */
60
- accessor iconFlipRtl: FlipContext;
60
+ accessor iconFlipRtl: FlipContext | undefined;
61
61
  /** Specifies an icon to display at the start of the component. */
62
- accessor iconStart: IconName;
62
+ accessor iconStart: IconName | undefined;
63
63
  /** Specifies an accessible label for the component, displays above the `description`. */
64
- accessor label: string;
64
+ accessor label: string | undefined;
65
65
  /** Overrides individual strings used by the component. */
66
66
  accessor messageOverrides: {
67
67
  close?: string;
@@ -69,7 +69,7 @@ export abstract class ListItem extends LitElement {
69
69
  collapse?: string;
70
70
  };
71
71
  /** Provides additional metadata to the component. Primary use is for a filter on the parent `calcite-list`. */
72
- accessor metadata: Record<string, unknown>;
72
+ accessor metadata: Record<string, unknown> | undefined;
73
73
  /**
74
74
  * When `true`, the item is open to show child components.
75
75
  *
@@ -14,7 +14,7 @@ import { s as styles$1 } from "../../chunks/sortable.js";
14
14
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
15
15
  import { u as useInteractive } from "../../chunks/useInteractive.js";
16
16
  import { a as listSelector, g as getDepth, c as getListItemChildren } from "../../chunks/utils4.js";
17
- import { a as activeCellTestAttribute, I as ICONS, C as CSS, S as SLOTS } from "../../chunks/resources10.js";
17
+ import { a as activeCellTestAttribute, I as ICONS, C as CSS, S as SLOTS } from "../../chunks/resources11.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{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}`;
19
19
  const focusMap = /* @__PURE__ */ new Map();
20
20
  class ListItem extends LitElement {
@@ -36,7 +36,6 @@ class ListItem extends LitElement {
36
36
  this.hasContentEnd = false;
37
37
  this.hasContentStart = false;
38
38
  this.hasCustomContent = false;
39
- this.level = null;
40
39
  this.expandable = false;
41
40
  this.active = false;
42
41
  this.bordered = false;
@@ -48,13 +47,11 @@ class ListItem extends LitElement {
48
47
  this.dragHandle = false;
49
48
  this.expanded = false;
50
49
  this.filterHidden = false;
51
- this.interactionMode = null;
52
50
  this.displayMode = "flat";
53
51
  this.addToItems = [];
54
52
  this.moveToItems = [];
55
53
  this.scale = "m";
56
54
  this.selected = false;
57
- this.selectionMode = null;
58
55
  this.sortHandleOpen = false;
59
56
  this.unavailable = false;
60
57
  this.topLayerDisabled = false;
@@ -111,7 +108,7 @@ class ListItem extends LitElement {
111
108
  connectedCallback() {
112
109
  super.connectedCallback();
113
110
  const { el } = this;
114
- this.parentListEl = el.closest(listSelector);
111
+ this.parentListEl = el.closest(listSelector) || void 0;
115
112
  this.level = getDepth(el) + 1;
116
113
  this.setSelectionDefaults();
117
114
  }
@@ -155,7 +152,7 @@ class ListItem extends LitElement {
155
152
  }
156
153
  activeHandler(active) {
157
154
  if (!active) {
158
- this.focusCell(null, false);
155
+ this.focusCell(void 0, false);
159
156
  }
160
157
  }
161
158
  handleClosedChange() {
@@ -293,7 +290,7 @@ class ListItem extends LitElement {
293
290
  this.actionsStartRef.value,
294
291
  this.contentRef.value,
295
292
  this.actionsEndRef.value
296
- ].filter((el) => el && !el.hidden);
293
+ ].filter((el) => !!(el && !el.hidden));
297
294
  }
298
295
  handleItemKeyDown(event) {
299
296
  if (event.defaultPrevented) {
@@ -304,7 +301,7 @@ class ListItem extends LitElement {
304
301
  const { containerRef, actionsStartRef: { value: actionsStartEl }, actionsEndRef: { value: actionsEndEl }, expanded, expandable } = this;
305
302
  const cells = this.getGridCells();
306
303
  const currentIndex = cells.findIndex((cell) => composedPath.includes(cell));
307
- if (key === "Enter" && !composedPath.includes(actionsStartEl) && !composedPath.includes(actionsEndEl)) {
304
+ if (key === "Enter" && actionsStartEl && !composedPath.includes(actionsStartEl) && actionsEndEl && !composedPath.includes(actionsEndEl)) {
308
305
  event.preventDefault();
309
306
  this.toggleSelected(event.shiftKey);
310
307
  } else if (key === "ArrowRight") {
@@ -313,7 +310,7 @@ class ListItem extends LitElement {
313
310
  if (currentIndex === -1) {
314
311
  if (!expanded && expandable) {
315
312
  this.toggle(true);
316
- this.focusCell(null);
313
+ this.focusCell();
317
314
  } else if (cells[0]) {
318
315
  this.focusCell(cells[0]);
319
316
  }
@@ -324,27 +321,27 @@ class ListItem extends LitElement {
324
321
  event.preventDefault();
325
322
  const prevIndex = currentIndex - 1;
326
323
  if (currentIndex === -1) {
327
- this.focusCell(null);
324
+ this.focusCell();
328
325
  if (expanded && expandable) {
329
326
  this.toggle(false);
330
327
  } else {
331
328
  this.calciteInternalFocusPreviousItem.emit();
332
329
  }
333
330
  } else if (currentIndex === 0) {
334
- this.focusCell(null);
331
+ this.focusCell();
335
332
  containerRef.value.focus();
336
333
  } else if (cells[currentIndex] && cells[prevIndex]) {
337
334
  this.focusCell(cells[prevIndex]);
338
335
  }
339
336
  }
340
337
  }
341
- focusCellNull() {
342
- this.focusCell(null);
338
+ clearCellFocus() {
339
+ this.focusCell();
343
340
  }
344
341
  setFocusCell(focusEl, focusedEl, saveFocusIndex) {
345
342
  const { parentListEl } = this;
346
343
  if (saveFocusIndex) {
347
- focusMap.set(parentListEl, null);
344
+ focusMap.set(parentListEl, void 0);
348
345
  }
349
346
  const gridCells = this.getGridCells();
350
347
  gridCells.forEach((tableCell) => {
@@ -463,14 +460,14 @@ class ListItem extends LitElement {
463
460
  const showSelectionBorder = selectionMode !== "none" && selectionAppearance === "border";
464
461
  const showSelectionHighlight = selectionMode !== "none" && selectionAppearance === "highlight";
465
462
  const containerInteractive = interactionMode === "interactive";
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({
463
+ 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({
467
464
  [CSS.row]: true,
468
465
  [CSS.container]: true,
469
466
  [CSS.containerHover]: containerInteractive,
470
467
  [CSS.containerBorder]: showSelectionBorder,
471
468
  [CSS.containerBorderSelected]: showSelectionBorder && selected,
472
469
  [CSS.containerHighlightSelected]: showSelectionHighlight && selected
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({
470
+ })} .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({
474
471
  [CSS.contentContainerWrapper]: true,
475
472
  [CSS.contentContainerWrapperBordered]: contentContainerWrapperBordered
476
473
  })}>${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;
18
+ accessor heading: string | undefined;
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/resources10.js";
5
+ import { M as MAX_COLUMNS } from "../../chunks/resources11.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" : void 0;
86
- this.el.ariaValueMin = isDeterminate ? "0" : void 0;
87
- this.el.ariaValueNow = isDeterminate ? valueNow.toString() : void 0;
85
+ this.el.ariaValueMax = isDeterminate ? "100" : null;
86
+ this.el.ariaValueMin = isDeterminate ? "0" : null;
87
+ this.el.ariaValueNow = isDeterminate ? valueNow.toString() : null;
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;
28
+ accessor href: string | undefined;
29
29
  /** Specifies an icon to display at the end of the component. */
30
- accessor iconEnd: IconName;
30
+ accessor iconEnd: IconName | undefined;
31
31
  /** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */
32
- accessor iconFlipRtl: FlipContext;
32
+ accessor iconFlipRtl: FlipContext | undefined;
33
33
  /** Specifies an icon to display at the start of the component. */
34
- accessor iconStart: IconName;
34
+ accessor iconStart: IconName | undefined;
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;
57
+ accessor rel: string | undefined;
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;
63
+ accessor target: string | undefined;
64
64
  /** Specifies the text to display. */
65
- accessor text: string;
65
+ accessor text: string | undefined;
66
66
  /**
67
67
  * Sets focus on the component.
68
68
  *
@@ -45,9 +45,12 @@ class MenuItem extends LitElement {
45
45
  this.anchorRef = createRef();
46
46
  this.direction = useDirection();
47
47
  this.dropdownActionRef = createRef();
48
+ this.isFocused = false;
48
49
  this.messages = useT9n();
49
50
  this.focusSetter = useSetFocus()(this);
50
51
  this.hasSubmenu = false;
52
+ this.active = false;
53
+ this.breadcrumb = false;
51
54
  this.isTopLevelItem = false;
52
55
  this.open = false;
53
56
  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;
45
+ accessor form: string | undefined;
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;
53
+ accessor high: number | undefined;
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;
61
+ accessor low: number | undefined;
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;
81
+ accessor name: string | undefined;
82
82
  /** Specifies the Unicode numeral system used by the component for localization. */
83
- accessor numberingSystem: NumberingSystem;
83
+ accessor numberingSystem: NumberingSystem | undefined;
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;
109
+ accessor value: number | undefined;
110
110
  /**
111
111
  * When `true`, displays the `value`.
112
112
  *
@@ -39,6 +39,11 @@ 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;
42
47
  this.appearance = "outline-fill";
43
48
  this.disabled = false;
44
49
  this.fillType = "range";
@@ -88,12 +93,8 @@ class Meter extends LitElement {
88
93
  this.updateLabels();
89
94
  }
90
95
  updateLabels() {
91
- if (this.valueLabelRef.value) {
92
- this.determineValueLabelPosition();
93
- }
94
- if (this.rangeLabels) {
95
- this.determineVisibleLabels();
96
- }
96
+ this.determineValueLabelPosition();
97
+ this.determineVisibleLabels();
97
98
  }
98
99
  calculateValues() {
99
100
  const { min, max, low, high, value } = this;
@@ -154,9 +155,12 @@ class Meter extends LitElement {
154
155
  }
155
156
  }
156
157
  intersects(el1, el2) {
157
- return el1 && el2 && intersects(el1.getBoundingClientRect(), el2.getBoundingClientRect());
158
+ return !!(el1 && el2 && intersects(el1.getBoundingClientRect(), el2.getBoundingClientRect()));
158
159
  }
159
160
  determineVisibleLabels() {
161
+ if (!this.rangeLabels) {
162
+ return;
163
+ }
160
164
  const { minLabelRef: { value: minLabelEl }, lowLabelRef: { value: lowLabelEl }, highLabelRef: { value: highLabelEl }, maxLabelRef: { value: maxLabelEl } } = this;
161
165
  const highMaxOverlap = this.intersects(highLabelEl, maxLabelEl);
162
166
  const lowHighOverlap = this.intersects(lowLabelEl, highLabelEl);
@@ -189,6 +193,9 @@ class Meter extends LitElement {
189
193
  }
190
194
  determineValueLabelPosition() {
191
195
  const { valueLabelRef: { value: valueLabelEl }, meterContainerRef: { value: meterContainerEl }, currentPercent } = this;
196
+ if (!valueLabelEl || !meterContainerEl) {
197
+ return;
198
+ }
192
199
  const valuePosition = currentPercent > 100 ? 100 : currentPercent > 0 ? currentPercent : 0;
193
200
  const valueLabelWidth = valueLabelEl.getBoundingClientRect().width;
194
201
  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;
29
+ accessor numberingSystem: NumberingSystem | undefined;
30
30
  /**
31
31
  * Specifies the number of items per page.
32
32
  *
@@ -42,7 +42,10 @@ 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;
45
47
  this.maxItems = maxItemBreakpoints.xxsmall;
48
+ this.totalPages = 1;
46
49
  this.groupSeparator = false;
47
50
  this.pageSize = 20;
48
51
  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>;
49
+ accessor beforeClose: (() => Promise<void>) | undefined;
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;
81
+ accessor description: string | undefined;
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;
89
+ accessor heading: string | undefined;
90
90
  /** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
91
- accessor headingLevel: HeadingLevel;
91
+ accessor headingLevel: HeadingLevel | undefined;
92
92
  /** Specifies an icon to display. */
93
- accessor icon: IconName;
93
+ accessor icon: IconName | undefined;
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[];
107
+ accessor menuFlipPlacements: FlipPlacement[] | undefined;
108
108
  /**
109
109
  * When `true`, the action menu items in the `header-menu-actions` slot are open.
110
110
  *