@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
@@ -30,9 +30,15 @@ class TableCell extends LitElement {
30
30
  this.focused = false;
31
31
  this.selectionText = "";
32
32
  this.alignment = "start";
33
+ this.disabled = false;
33
34
  this.interactionMode = "interactive";
35
+ this.lastCell = false;
36
+ this.numberCell = false;
34
37
  this.parentRowAlignment = "start";
38
+ this.parentRowIsSelected = false;
39
+ this.readCellContentsToAT = false;
35
40
  this.scale = "m";
41
+ this.selectionCell = false;
36
42
  }
37
43
  static {
38
44
  this.properties = { contentsText: [16, {}, { state: true }], focused: [16, {}, { state: true }], selectionText: [16, {}, { state: true }], alignment: [3, {}, { reflect: true }], colSpan: [11, {}, { reflect: true, type: Number }], disabled: [5, {}, { type: Boolean }], interactionMode: 1, lastCell: [5, {}, { type: Boolean }], messageOverrides: [0, {}, { attribute: false }], numberCell: [5, {}, { type: Boolean }], parentRowAlignment: 1, parentRowIsSelected: [5, {}, { type: Boolean }], parentRowPositionLocalized: 1, parentRowType: 1, positionInRow: [9, {}, { type: Number }], readCellContentsToAT: [5, {}, { type: Boolean }], rowSpan: [11, {}, { reflect: true, type: Number }], scale: 1, selectionCell: [5, {}, { type: Boolean }] };
@@ -17,11 +17,11 @@ export abstract class TableHeader extends LitElement {
17
17
  */
18
18
  accessor alignment: Alignment;
19
19
  /** Specifies the number of columns the component should span. */
20
- accessor colSpan: number;
20
+ accessor colSpan: number | undefined;
21
21
  /** Specifies a description for the component. Displays below the `heading`. */
22
- accessor description: string;
22
+ accessor description: string | undefined;
23
23
  /** Specifies the component's heading text. Displays above the `description`. */
24
- accessor heading: string;
24
+ accessor heading: string | undefined;
25
25
  /** Overrides individual strings used by the component. */
26
26
  accessor messageOverrides: {
27
27
  all?: string;
@@ -32,7 +32,7 @@ export abstract class TableHeader extends LitElement {
32
32
  selectionColumn?: string;
33
33
  };
34
34
  /** Specifies the number of rows the component should span. */
35
- accessor rowSpan: number;
35
+ accessor rowSpan: number | undefined;
36
36
  /**
37
37
  * Sets focus on the component.
38
38
  *
@@ -37,8 +37,10 @@ class TableHeader extends LitElement {
37
37
  this.screenReaderText = "";
38
38
  this.alignment = "start";
39
39
  this.interactionMode = "interactive";
40
+ this.lastCell = false;
40
41
  this.numberCell = false;
41
42
  this.parentRowAlignment = "start";
43
+ this.parentRowIsSelected = false;
42
44
  this.selectionCell = false;
43
45
  }
44
46
  static {
@@ -40,6 +40,7 @@ class TableRow extends LitElement {
40
40
  this.itemHidden = false;
41
41
  this.disabled = false;
42
42
  this.interactionMode = "interactive";
43
+ this.lastVisibleRow = false;
43
44
  this.numbered = false;
44
45
  this.selectionMode = "none";
45
46
  this.calciteInternalTableRowFocusRequest = createEvent({ cancelable: false });
@@ -169,7 +170,7 @@ class TableRow extends LitElement {
169
170
  }
170
171
  }
171
172
  }
172
- emitTableRowFocusRequest(cellPosition, rowPosition, destination, lastCell) {
173
+ emitTableRowFocusRequest(cellPosition, rowPosition, destination, lastCell = false) {
173
174
  this.calciteInternalTableRowFocusRequest.emit({
174
175
  cellPosition,
175
176
  rowPosition,
@@ -179,8 +180,9 @@ class TableRow extends LitElement {
179
180
  }
180
181
  updateCells() {
181
182
  const alignment = this.alignment ? this.alignment : this.rowType !== "head" ? "center" : "start";
182
- const slottedCells = this.tableRowSlotRef.value?.assignedElements({ flatten: true })?.filter((el) => el.matches("calcite-table-cell") || el.matches("calcite-table-header"));
183
- const renderedCells = Array.from(this.tableRowEl?.querySelectorAll("calcite-table-header, calcite-table-cell"))?.filter((el) => el.numberCell || el.selectionCell);
183
+ const slottedCells = this.tableRowSlotRef.value?.assignedElements({ flatten: true })?.filter((el) => el.matches("calcite-table-cell") || el.matches("calcite-table-header")) ?? [];
184
+ const tableRowEls = this.tableRowEl?.querySelectorAll("calcite-table-header, calcite-table-cell");
185
+ const renderedCells = tableRowEls ? Array.from(tableRowEls).filter((el) => el.numberCell || el.selectionCell) : void 0;
184
186
  const cells = renderedCells ? renderedCells.concat(slottedCells) : slottedCells;
185
187
  if (cells.length > 0) {
186
188
  cells?.forEach((cell, index) => {
@@ -64,7 +64,7 @@ class Tabs extends LitElement {
64
64
  const tabs = getSlotAssignedElements(this.slotRef.value, "calcite-tab");
65
65
  await Promise.all([...tabs, ...this.titles].map((tabOrTitle) => tabOrTitle.componentOnReady()));
66
66
  if (tabs.some((el) => el.tab) || this.titles.some((el) => el.tab)) {
67
- tabIds = tabs.sort((a, b) => a.tab.localeCompare(b.tab)).map((el) => el.id);
67
+ tabIds = tabs.sort((a, b) => a.tab && b.tab ? a.tab.localeCompare(b.tab) : 0).map((el) => el.id);
68
68
  titleIds = this.titles.sort((a, b) => a.tab.localeCompare(b.tab)).map((el) => el.id);
69
69
  } else {
70
70
  const tabDomIndexes = await Promise.all(tabs.map((el) => el.getTabIndex()));
@@ -93,7 +93,8 @@ class Tabs extends LitElement {
93
93
  tab.scale = scale;
94
94
  }
95
95
  });
96
- Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach((title) => {
96
+ const tabTitleEls = this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title");
97
+ Array.from(tabTitleEls).forEach((title) => {
97
98
  title.position = position;
98
99
  title.scale = scale;
99
100
  });
@@ -30,7 +30,7 @@ export abstract class TextArea extends LitElement {
30
30
  *
31
31
  * @see [MDN - cols](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-cols)
32
32
  */
33
- accessor columns: number;
33
+ accessor columns: number | undefined;
34
34
  /**
35
35
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
36
36
  *
@@ -43,7 +43,7 @@ export abstract class TextArea extends LitElement {
43
43
  *
44
44
  * When not set, the component is associated with its ancestor form element, if one exists.
45
45
  */
46
- accessor form: string;
46
+ accessor form: string | undefined;
47
47
  /**
48
48
  * When `true`, number values are displayed with a group separator corresponding to the language and country format.
49
49
  *
@@ -51,9 +51,9 @@ export abstract class TextArea extends LitElement {
51
51
  */
52
52
  accessor groupSeparator: boolean;
53
53
  /** Specifies an accessible label for the component. */
54
- accessor label: string;
54
+ accessor label: string | undefined;
55
55
  /** Specifies the component's label text. */
56
- accessor labelText: string;
56
+ accessor labelText: string | undefined;
57
57
  /**
58
58
  * When `true`, prevents input beyond the `maxLength` value, mimicking native text area behavior.
59
59
  *
@@ -72,7 +72,7 @@ export abstract class TextArea extends LitElement {
72
72
  *
73
73
  * @see [MDN - maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-maxlength)
74
74
  */
75
- accessor maxLength: number;
75
+ accessor maxLength: number | undefined;
76
76
  /** Overrides individual strings used by the component. */
77
77
  accessor messageOverrides: {
78
78
  invalid?: string;
@@ -87,21 +87,21 @@ export abstract class TextArea extends LitElement {
87
87
  *
88
88
  * @see [MDN - minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-minlength)
89
89
  */
90
- accessor minLength: number;
90
+ accessor minLength: number | undefined;
91
91
  /**
92
92
  * Specifies the name of the component. Required to pass the component's value on form submission.
93
93
  *
94
94
  * @see [MDN - name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-name)
95
95
  */
96
- accessor name: string;
96
+ accessor name: string | undefined;
97
97
  /** Specifies the Unicode numeral system used by the component for localization. */
98
- accessor numberingSystem: NumberingSystem;
98
+ accessor numberingSystem: NumberingSystem | undefined;
99
99
  /**
100
100
  * Specifies the placeholder text for the component.
101
101
  *
102
102
  * @see [MDN - placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-placeholder)
103
103
  */
104
- accessor placeholder: string;
104
+ accessor placeholder: string | undefined;
105
105
  /**
106
106
  * When `true`, the component's `value` can be read, but cannot be modified.
107
107
  *
@@ -128,7 +128,7 @@ export abstract class TextArea extends LitElement {
128
128
  *
129
129
  * @see [MDN - rows](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-rows)
130
130
  */
131
- accessor rows: number;
131
+ accessor rows: number | undefined;
132
132
  /**
133
133
  * Specifies the size of the component.
134
134
  *
@@ -142,9 +142,9 @@ export abstract class TextArea extends LitElement {
142
142
  */
143
143
  accessor status: Status;
144
144
  /** Specifies the validation icon to display under the component. */
145
- accessor validationIcon: IconName | boolean;
145
+ accessor validationIcon: IconName | boolean | undefined;
146
146
  /** Specifies the validation message to display under the component. */
147
- accessor validationMessage: string;
147
+ accessor validationMessage: string | undefined;
148
148
  /**
149
149
  * The component's current validation state.
150
150
  *
@@ -79,6 +79,8 @@ class TextArea extends LitElement {
79
79
  this.messages = useT9n({ blocking: true });
80
80
  this.focusSetter = useSetFocus()(this);
81
81
  this.interactiveContainer = useInteractive(this);
82
+ this.endSlotHasElements = false;
83
+ this.startSlotHasElements = false;
82
84
  this.disabled = false;
83
85
  this.groupSeparator = false;
84
86
  this.limitText = false;
@@ -148,7 +150,7 @@ class TextArea extends LitElement {
148
150
  this.setFocus();
149
151
  }
150
152
  handleInput(event) {
151
- this.value = event.target["value"];
153
+ this.value = event.target.value;
152
154
  this.calciteTextAreaInput.emit();
153
155
  }
154
156
  handleChange() {
@@ -158,7 +160,7 @@ class TextArea extends LitElement {
158
160
  if (!this.value) {
159
161
  const nodes = this.el.childNodes;
160
162
  nodes.forEach((el) => {
161
- if (el.nodeName === "#text") {
163
+ if (el.nodeName === "#text" && el.nodeValue) {
162
164
  this.value = el.nodeValue.trim();
163
165
  }
164
166
  });
@@ -204,7 +206,7 @@ class TextArea extends LitElement {
204
206
  return this.messages.tooLong.replace("{maxLength}", this.localizedCharacterLengthObj.maxLength).replace("{currentLength}", this.localizedCharacterLengthObj.currentLength);
205
207
  }
206
208
  isCharacterLimitExceeded() {
207
- return this.value?.length > this.maxLength;
209
+ return this.maxLength !== void 0 && this.value?.length > this.maxLength || false;
208
210
  }
209
211
  setValidationRef(el) {
210
212
  if (!el) {
@@ -32,7 +32,7 @@ export abstract class Tile extends LitElement {
32
32
  */
33
33
  accessor alignment: Exclude<Alignment, "end">;
34
34
  /** Specifies a description for the component. Displays below the `heading`. */
35
- accessor description: string;
35
+ accessor description: string | undefined;
36
36
  /**
37
37
  * When `true`, interaction is prevented and the component is displayed with lower opacity.
38
38
  *
@@ -49,13 +49,13 @@ export abstract class Tile extends LitElement {
49
49
  */
50
50
  accessor embed: boolean;
51
51
  /** Specifies the component's heading text. displays between the `icon` and `description`. */
52
- accessor heading: string;
52
+ accessor heading: string | undefined;
53
53
  /** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
54
- accessor headingLevel: HeadingLevel;
54
+ accessor headingLevel: HeadingLevel | undefined;
55
55
  /** When embed is `false`, specifies the URL for the component. */
56
- accessor href: string;
56
+ accessor href: string | undefined;
57
57
  /** Specifies an icon to display. */
58
- accessor icon: IconName;
58
+ accessor icon: IconName | undefined;
59
59
  /**
60
60
  * When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`).
61
61
  *
@@ -63,7 +63,7 @@ export abstract class Tile extends LitElement {
63
63
  */
64
64
  accessor iconFlipRtl: boolean;
65
65
  /** Specifies an accessible label for the component. */
66
- accessor label: string;
66
+ accessor label: string | undefined;
67
67
  /**
68
68
  * Specifies the component's size.
69
69
  *
@@ -62,7 +62,7 @@ export abstract class TimePicker extends LitElement {
62
62
  /** @internal */
63
63
  accessor time: ReturnType<typeof useTime>;
64
64
  /** The component's value in UTC (always 24-hour format). */
65
- accessor value: string;
65
+ accessor value: string | null;
66
66
  /**
67
67
  * Sets focus on the component's first focusable element.
68
68
  *
@@ -62,6 +62,8 @@ class TimePicker extends LitElement {
62
62
  this.secondRef = createRef();
63
63
  this.messages = useT9n();
64
64
  this.focusSetter = useSetFocus()(this);
65
+ this.showFractionalSecond = false;
66
+ this.showSecond = false;
65
67
  this.time = useTime(this);
66
68
  this.hourFormat = "user";
67
69
  this.scale = "m";
@@ -195,22 +197,30 @@ class TimePicker extends LitElement {
195
197
  }
196
198
  fractionalSecondDownClickHandler() {
197
199
  this.activeEl = this.fractionalSecondRef.value;
198
- this.activeEl.focus();
200
+ if (this.activeEl) {
201
+ this.activeEl.focus();
202
+ }
199
203
  this.time.nudgeFractionalSecond("down");
200
204
  }
201
205
  fractionalSecondUpClickHandler() {
202
206
  this.activeEl = this.fractionalSecondRef.value;
203
- this.activeEl.focus();
207
+ if (this.activeEl) {
208
+ this.activeEl.focus();
209
+ }
204
210
  this.time.nudgeFractionalSecond("up");
205
211
  }
206
212
  hourDownClickHandler() {
207
213
  this.activeEl = this.hourRef.value;
208
- this.activeEl.focus();
214
+ if (this.activeEl) {
215
+ this.activeEl.focus();
216
+ }
209
217
  this.time.decrementHour();
210
218
  }
211
219
  hourUpClickHandler() {
212
220
  this.activeEl = this.hourRef.value;
213
- this.activeEl.focus();
221
+ if (this.activeEl) {
222
+ this.activeEl.focus();
223
+ }
214
224
  this.time.incrementHour();
215
225
  }
216
226
  inputClickHandler(event) {
@@ -218,32 +228,42 @@ class TimePicker extends LitElement {
218
228
  }
219
229
  meridiemUpClickHandler() {
220
230
  this.activeEl = this.meridiemRef.value;
221
- this.activeEl.focus();
231
+ if (this.activeEl) {
232
+ this.activeEl.focus();
233
+ }
222
234
  this.time.toggleMeridiem("up");
223
235
  }
224
236
  meridiemDownClickHandler() {
225
237
  this.activeEl = this.meridiemRef.value;
226
- this.activeEl.focus();
238
+ if (this.activeEl) {
239
+ this.activeEl.focus();
240
+ }
227
241
  this.time.toggleMeridiem("down");
228
242
  }
229
243
  minuteDownClickHandler() {
230
244
  this.activeEl = this.minuteRef.value;
231
- this.activeEl.focus();
245
+ if (this.activeEl) {
246
+ this.activeEl.focus();
247
+ }
232
248
  this.time.decrementMinute();
233
249
  }
234
250
  minuteUpClickHandler() {
235
251
  this.activeEl = this.minuteRef.value;
236
- this.activeEl.focus();
252
+ if (this.activeEl) {
253
+ this.activeEl.focus();
254
+ }
237
255
  this.time.incrementMinute();
238
256
  }
239
257
  secondDownClickHandler() {
240
258
  this.activeEl = this.secondRef.value;
241
- this.activeEl.focus();
259
+ if (this.activeEl) {
260
+ this.activeEl.focus();
261
+ }
242
262
  this.time.decrementSecond();
243
263
  }
244
264
  secondUpClickHandler() {
245
265
  this.activeEl = this.secondRef.value;
246
- this.activeEl.focus();
266
+ this.activeEl?.focus();
247
267
  this.time.incrementSecond();
248
268
  }
249
269
  timeChangeHandler(event) {
@@ -279,7 +299,7 @@ class TimePicker extends LitElement {
279
299
  [CSS.button]: true,
280
300
  [CSS.buttonHourUp]: true,
281
301
  [CSS.buttonTopLeft]: true
282
- })} @click=${this.hourUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.hour} aria-valuemax=23 aria-valuemin=1 .ariaValueNow=${hourIsNumber && parseInt(hour) || "0"} .ariaValueText=${hour} class=${safeClassMap({
302
+ })} @click=${this.hourUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.hour} aria-valuemax=23 aria-valuemin=1 .ariaValueNow=${hourIsNumber && parseInt(hour) || "0"} .ariaValueText=${hour ?? void 0} class=${safeClassMap({
283
303
  [CSS.input]: true,
284
304
  [CSS.hour]: true,
285
305
  [CSS.inputFocus]: activeEl && activeEl === this.hourRef.value
@@ -290,7 +310,7 @@ class TimePicker extends LitElement {
290
310
  })} @click=${this.hourDownClickHandler} role=button><calcite-icon .icon=${ICONS.chevronDown} .scale=${iconScale}></calcite-icon></span></div><span class=${safeClassMap({ [CSS.delimiter]: true, [CSS.hourSuffix]: true })}>${localizedHourSuffix}</span><div class=${safeClassMap(CSS.column)} role=group><span .ariaLabel=${messages.minuteUp} class=${safeClassMap({
291
311
  [CSS.button]: true,
292
312
  [CSS.buttonMinuteUp]: true
293
- })} @click=${this.minuteUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.minute} aria-valuemax=12 aria-valuemin=1 .ariaValueNow=${minuteIsNumber && parseInt(minute) || "0"} .ariaValueText=${minute} class=${safeClassMap({
313
+ })} @click=${this.minuteUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.minute} aria-valuemax=12 aria-valuemin=1 .ariaValueNow=${minuteIsNumber && parseInt(minute) || "0"} .ariaValueText=${minute ?? void 0} class=${safeClassMap({
294
314
  [CSS.input]: true,
295
315
  [CSS.minute]: true,
296
316
  [CSS.inputFocus]: activeEl && activeEl === this.minuteRef.value
@@ -300,7 +320,7 @@ class TimePicker extends LitElement {
300
320
  })} @click=${this.minuteDownClickHandler} role=button><calcite-icon .icon=${ICONS.chevronDown} .scale=${iconScale}></calcite-icon></span></div>${this.showSecond && html`<span class=${safeClassMap({ [CSS.delimiter]: true, [CSS.minuteSuffix]: true })}>${localizedMinuteSuffix}</span>` || ""}${this.showSecond && html`<div class=${safeClassMap(CSS.column)} role=group><span .ariaLabel=${messages.secondUp} class=${safeClassMap({
301
321
  [CSS.button]: true,
302
322
  [CSS.buttonSecondUp]: true
303
- })} @click=${this.secondUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.second} aria-valuemax=59 aria-valuemin=0 .ariaValueNow=${secondIsNumber && parseInt(second) || "0"} .ariaValueText=${second} class=${safeClassMap({
323
+ })} @click=${this.secondUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.second} aria-valuemax=59 aria-valuemin=0 .ariaValueNow=${secondIsNumber && parseInt(second) || "0"} .ariaValueText=${second ?? void 0} class=${safeClassMap({
304
324
  [CSS.input]: true,
305
325
  [CSS.second]: true,
306
326
  [CSS.inputFocus]: activeEl && activeEl === this.secondRef.value
@@ -310,7 +330,7 @@ class TimePicker extends LitElement {
310
330
  })} @click=${this.secondDownClickHandler} role=button><calcite-icon .icon=${ICONS.chevronDown} .scale=${iconScale}></calcite-icon></span></div>` || ""}${this.showFractionalSecond && html`<span class=${safeClassMap({ [CSS.delimiter]: true, [CSS.decimalSeparator]: true })}>${localizedDecimalSeparator}</span>` || ""}${this.showFractionalSecond && html`<div class=${safeClassMap(CSS.column)} role=group><span .ariaLabel=${messages.fractionalSecondUp} class=${safeClassMap({
311
331
  [CSS.button]: true,
312
332
  [CSS.buttonFractionalSecondUp]: true
313
- })} @click=${this.fractionalSecondUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.fractionalSecond} aria-valuemax=999 aria-valuemin=1 .ariaValueNow=${fractionalSecondIsNumber && parseInt(fractionalSecond) || "0"} .ariaValueText=${localizedFractionalSecond} class=${safeClassMap({
333
+ })} @click=${this.fractionalSecondUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.fractionalSecond} aria-valuemax=999 aria-valuemin=1 .ariaValueNow=${fractionalSecondIsNumber && parseInt(fractionalSecond) || "0"} .ariaValueText=${localizedFractionalSecond ?? void 0} class=${safeClassMap({
314
334
  [CSS.input]: true,
315
335
  [CSS.fractionalSecond]: true,
316
336
  [CSS.inputFocus]: activeEl && activeEl === this.fractionalSecondRef.value
@@ -324,7 +344,7 @@ class TimePicker extends LitElement {
324
344
  [CSS.button]: true,
325
345
  [CSS.buttonMeridiemUp]: true,
326
346
  [CSS.buttonTopRight]: true
327
- })} @click=${this.meridiemUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.meridiem} aria-valuemax=2 aria-valuemin=1 .ariaValueNow=${meridiem === "PM" && "2" || "1"} .ariaValueText=${meridiem} class=${safeClassMap({
347
+ })} @click=${this.meridiemUpClickHandler} role=button><calcite-icon .icon=${ICONS.chevronUp} .scale=${iconScale}></calcite-icon></span><span .ariaLabel=${messages.meridiem} aria-valuemax=2 aria-valuemin=1 .ariaValueNow=${meridiem === "PM" && "2" || "1"} .ariaValueText=${meridiem ?? void 0} class=${safeClassMap({
328
348
  [CSS.input]: true,
329
349
  [CSS.meridiem]: true,
330
350
  [CSS.inputFocus]: activeEl && activeEl === this.meridiemRef.value
@@ -23,7 +23,7 @@ export abstract class Tooltip extends LitElement {
23
23
  *
24
24
  * @deprecated in v1.5.0, removal target v6.0.0 - No longer necessary. Overrides the context of the component's text description, which could confuse assistive technology users.
25
25
  */
26
- accessor label: string;
26
+ accessor label: string | undefined;
27
27
  /** Specifies the distance to position the component away from the `referenceElement`. */
28
28
  accessor offsetDistance: number;
29
29
  /**
@@ -69,7 +69,7 @@ export abstract class Tooltip extends LitElement {
69
69
  *
70
70
  * The component should not be placed within its own `referenceElement` to avoid unintended behavior.
71
71
  */
72
- accessor referenceElement: ReferenceElement | string | null;
72
+ accessor referenceElement: ReferenceElement | string;
73
73
  /**
74
74
  * Specifies the size of the component.
75
75
  *
@@ -115,7 +115,7 @@ class Tooltip extends LitElement {
115
115
  const hidden = !displayed;
116
116
  const arrowNode = !pointerDisabled ? keyed("floating-arrow", FloatingArrow({ floatingLayout, ref: this.setArrowEl })) : null;
117
117
  this.el.inert = hidden;
118
- this.el.ariaLabel = label;
118
+ this.el.ariaLabel = label ?? null;
119
119
  this.el.ariaLive = "polite";
120
120
  this.el.role = "tooltip";
121
121
  return html`<div class=${safeClassMap(CSS.positionContainer)} popover=manual ${ref(this.setFloatingEl)}><div class=${safeClassMap({
@@ -11,8 +11,8 @@ function getTraversableItems(root) {
11
11
  return Array.from(root.querySelectorAll("calcite-tree-item:not([disabled])")).filter(
12
12
  (item) => {
13
13
  let currentItem = item;
14
- while (currentItem !== root && currentItem !== void 0) {
15
- const parent = currentItem.parentElement;
14
+ while (currentItem !== root && currentItem !== null) {
15
+ const parent = currentItem.parentElement ?? void 0;
16
16
  const traversable = !isTreeItem(parent) || !parent.hasChildren || parent.expanded;
17
17
  if (!traversable) {
18
18
  return false;
@@ -28,6 +28,7 @@ class Tree extends LitElement {
28
28
  constructor() {
29
29
  super();
30
30
  this.items = [];
31
+ this.child = false;
31
32
  this.lines = false;
32
33
  this.parentExpanded = false;
33
34
  this.scale = "m";
@@ -50,7 +51,7 @@ class Tree extends LitElement {
50
51
  if (changes.has("parentExpanded") && (this.hasUpdated || this.parentExpanded !== false)) {
51
52
  this.updateItems();
52
53
  }
53
- const parent = this.el.parentElement?.closest("calcite-tree");
54
+ const parent = this.el.parentElement?.closest("calcite-tree") ?? void 0;
54
55
  this.lines = parent ? parent.lines : this.lines;
55
56
  this.scale = parent ? parent.scale : this.scale;
56
57
  this.selectionMode = parent ? parent.selectionMode : this.selectionMode;
@@ -58,7 +59,7 @@ class Tree extends LitElement {
58
59
  }
59
60
  onFocus() {
60
61
  if (!this.child) {
61
- const focusTarget = this.el.querySelector("calcite-tree-item[selected]:not([disabled])") || this.el.querySelector("calcite-tree-item:not([disabled])");
62
+ const focusTarget = (this.el.querySelector("calcite-tree-item[selected]:not([disabled])") || this.el.querySelector("calcite-tree-item:not([disabled])")) ?? void 0;
62
63
  focusElement(focusTarget, true, "focusable");
63
64
  }
64
65
  }
@@ -279,8 +280,8 @@ class Tree extends LitElement {
279
280
  return !this.child ? 0 : -1;
280
281
  }
281
282
  render() {
282
- this.el.ariaMultiSelectable = this.child ? void 0 : toAriaBoolean(this.selectionMode === "multiple" || this.selectionMode === "multichildren");
283
- this.el.role = !this.child ? "tree" : void 0;
283
+ this.el.ariaMultiSelectable = this.child ? null : toAriaBoolean(this.selectionMode === "multiple" || this.selectionMode === "multichildren");
284
+ this.el.role = !this.child ? "tree" : null;
284
285
  setAttribute(this.el, "tabIndex", this.getRootTabIndex());
285
286
  return html`<slot @slotchange=${this.handleDefaultSlotChange}></slot>`;
286
287
  }
@@ -25,11 +25,11 @@ export abstract class TreeItem extends LitElement {
25
25
  */
26
26
  accessor expanded: boolean;
27
27
  /** When `true`, the icon will be flipped when the element direction is right-to-left (`"rtl"`). */
28
- accessor iconFlipRtl: FlipContext;
28
+ accessor iconFlipRtl: FlipContext | undefined;
29
29
  /** Specifies an icon to display at the start of the component. */
30
- accessor iconStart: IconName;
30
+ accessor iconStart: IconName | undefined;
31
31
  /** Specifies an accessible label for the component. */
32
- accessor label: string;
32
+ accessor label: string | undefined;
33
33
  /**
34
34
  * When `true`, the component is selected.
35
35
  *
@@ -40,7 +40,9 @@ class TreeItem extends LitElement {
40
40
  constructor() {
41
41
  super();
42
42
  this.actionSlotWrapperRef = createRef();
43
+ this.childTree = null;
43
44
  this.direction = useDirection();
45
+ this.isSelectionMultiLike = false;
44
46
  this.userChangedValue = false;
45
47
  this.interactiveContainer = useInteractive(this);
46
48
  this.hasEndActions = false;
@@ -49,6 +51,7 @@ class TreeItem extends LitElement {
49
51
  this.disabled = false;
50
52
  this.expanded = false;
51
53
  this.indeterminate = false;
54
+ this.lines = false;
52
55
  this.parentExpanded = false;
53
56
  this.selected = false;
54
57
  this.calciteInternalTreeItemSelect = createEvent({ cancelable: false });
@@ -69,7 +72,7 @@ class TreeItem extends LitElement {
69
72
  }
70
73
  connectedCallback() {
71
74
  super.connectedCallback();
72
- this.parentTreeItem = this.el.parentElement?.closest("calcite-tree-item");
75
+ this.parentTreeItem = this.el.parentElement?.closest("calcite-tree-item") ?? void 0;
73
76
  }
74
77
  load() {
75
78
  requestAnimationFrame(() => this.updateAfterInitialRender = true);
@@ -191,7 +194,10 @@ class TreeItem extends LitElement {
191
194
  }
192
195
  if (this.selected) {
193
196
  const parentTree = this.el.parentElement;
194
- const siblings = Array.from(parentTree?.children);
197
+ if (!parentTree) {
198
+ return;
199
+ }
200
+ const siblings = Array.from(parentTree.children);
195
201
  const selectedSiblings = siblings.filter((child) => child.selected);
196
202
  if (siblings.length === selectedSiblings.length) {
197
203
  parentItem.selected = true;
@@ -223,7 +229,7 @@ class TreeItem extends LitElement {
223
229
  this.lines = parentTree.lines;
224
230
  let nextParentTree;
225
231
  while (parentTree) {
226
- nextParentTree = parentTree.parentElement?.closest("calcite-tree");
232
+ nextParentTree = parentTree.parentElement?.closest("calcite-tree") ?? null;
227
233
  if (nextParentTree === parentTree) {
228
234
  break;
229
235
  } else {
@@ -262,11 +268,11 @@ class TreeItem extends LitElement {
262
268
  const { hasEndActions } = this;
263
269
  const slotNode = keyed("actionsEndSlot", html`<slot name=${SLOTS.actionsEnd} @slotchange=${this.actionsEndSlotChangeHandler}></slot>`);
264
270
  const iconStartEl = html`<calcite-icon class=${safeClassMap(CSS.iconStart)} .flipRtl=${this.iconFlipRtl === "start" || this.iconFlipRtl === "both"} .icon=${this.iconStart} .scale=${getIconScale(this.scale)}></calcite-icon>`;
265
- this.el.ariaChecked = this.selectionMode === "multiple" || this.selectionMode === "multichildren" || this.selectionMode === "ancestors" ? toAriaBoolean(this.selected) : void 0;
266
- this.el.ariaExpanded = this.hasChildren ? toAriaBoolean(isExpanded) : void 0;
271
+ this.el.ariaChecked = this.selectionMode === "multiple" || this.selectionMode === "multichildren" || this.selectionMode === "ancestors" ? toAriaBoolean(this.selected) : null;
272
+ this.el.ariaExpanded = this.hasChildren ? toAriaBoolean(isExpanded) : null;
267
273
  this.el.inert = hidden;
268
274
  this.el.ariaLive = "polite";
269
- this.el.ariaSelected = this.selectionMode === "single" || this.selectionMode === "children" || this.selectionMode === "single-persist" ? toAriaBoolean(this.selected) : void 0;
275
+ this.el.ariaSelected = this.selectionMode === "single" || this.selectionMode === "children" || this.selectionMode === "single-persist" ? toAriaBoolean(this.selected) : null;
270
276
  this.el.role = "treeitem";
271
277
  setAttribute(this.el, "tabIndex", this.disabled ? -1 : 0);
272
278
  return this.interactiveContainer({ disabled: this.disabled, children: html`<div class=${safeClassMap({ [CSS.itemExpanded]: isExpanded })}><div class=${safeClassMap(CSS.nodeAndActionsContainer)}><div class=${safeClassMap({
@@ -2,6 +2,6 @@ export interface DragDetail<To extends HTMLElement = HTMLElement, From extends H
2
2
  toEl: To;
3
3
  fromEl: From;
4
4
  dragEl: Drag;
5
- newIndex: number;
6
- oldIndex: number;
5
+ newIndex?: number;
6
+ oldIndex?: number;
7
7
  }
@@ -27,34 +27,34 @@ export interface TimeComponent extends LitElement {
27
27
  /** Specifies the granularity the component's `value` must adhere to (in seconds). */
28
28
  step: number;
29
29
  /** The component's time value in ISO (24-hour) format. */
30
- value: string;
30
+ value: string | null;
31
31
  }
32
32
 
33
33
  export class TimeController extends GenericController<TimeProperties, TimeComponent> {
34
34
  calciteTimeChange: EventEmitter<string>;
35
- fractionalSecond: string;
35
+ fractionalSecond?: string | null;
36
36
  handleFractionalSecondKeyDownEvent: (event: KeyboardEvent) => void;
37
37
  handleHourKeyDownEvent: (event: KeyboardEvent) => void;
38
38
  handleMeridiemKeyDownEvent: (event: KeyboardEvent) => void;
39
39
  handleMinuteKeyDownEvent: (event: KeyboardEvent) => void;
40
40
  handleSecondKeyDownEvent: (event: KeyboardEvent) => void;
41
- hour: string;
42
- hourFormat: EffectiveHourFormat;
43
- locale: Locale;
41
+ hour?: string | null;
42
+ hourFormat?: EffectiveHourFormat | null;
43
+ locale?: Locale | null;
44
44
  /** @default "." */
45
45
  localizedDecimalSeparator: string;
46
- localizedFractionalSecond: string;
47
- localizedHour: string;
48
- localizedHourSuffix: string;
49
- localizedMeridiem: string;
50
- localizedMinute: string;
51
- localizedMinuteSuffix: string;
52
- localizedSecond: string;
53
- localizedSecondSuffix: string;
54
- meridiem: Meridiem;
55
- meridiemOrder: number;
56
- minute: string;
57
- second: string;
46
+ localizedFractionalSecond?: string | null;
47
+ localizedHour?: string | null;
48
+ localizedHourSuffix?: string | null;
49
+ localizedMeridiem?: string | null;
50
+ localizedMinute?: string | null;
51
+ localizedMinuteSuffix?: string | null;
52
+ localizedSecond?: string | null;
53
+ localizedSecondSuffix?: string | null;
54
+ meridiem?: Meridiem | null;
55
+ meridiemOrder?: number | null;
56
+ minute?: string | null;
57
+ second?: string | null;
58
58
  /** @default false */
59
59
  userChangedValue: boolean;
60
60
  decrementHour(): void;
@@ -72,7 +72,7 @@ export class TimeController extends GenericController<TimeProperties, TimeCompon
72
72
  * @param value
73
73
  * @param userChangedValue
74
74
  */
75
- setValue(value: string, userChangedValue?: boolean): void;
75
+ setValue(value: string | null, userChangedValue?: boolean): void;
76
76
  /**
77
77
  * @param key
78
78
  * @param value
@@ -88,7 +88,7 @@ export type TimeProperties = {
88
88
  /** The fractional second portion of the time value. */
89
89
  fractionalSecond: string;
90
90
  /** The hour portion of the time value (in ISO 24-hour format). */
91
- hour: string;
91
+ hour?: string;
92
92
  /**
93
93
  * The effective hour format, calculated based on the component's hour-format property.
94
94
  * The component's hour-format of "user" will resolve to the locale's default hour format.
@@ -127,7 +127,7 @@ export type TimeProperties = {
127
127
  /** An integer representing the order in which the meridiem appears for the locale within an array of values returned by Intl.DateTimeFormat. */
128
128
  meridiemOrder: number;
129
129
  /** The minute portion of the time value. */
130
- minute: string;
130
+ minute?: string;
131
131
  /** The second portion of the time value. */
132
132
  second: string;
133
133
  };