@esri/calcite-components 5.2.0-next.0 → 5.2.0-next.10

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 (487) hide show
  1. package/README.md +1 -1
  2. package/dist/cdn/23VCVGLR.js +2 -0
  3. package/dist/cdn/{HW3NCJAS.js → 24IFUIVY.js} +1 -1
  4. package/dist/cdn/{TR4SNSFR.js → 2BWHYQMD.js} +1 -1
  5. package/dist/cdn/{DPCEF3DX.js → 2NR7N254.js} +1 -1
  6. package/dist/cdn/2OKTIK5P.js +2 -0
  7. package/dist/cdn/{4NA5MGOB.js → 2XBG7AQW.js} +1 -1
  8. package/dist/cdn/{PKAEBI2S.js → 32V4MTBZ.js} +1 -1
  9. package/dist/cdn/{7JEYTQG4.js → 3B57SEKF.js} +1 -1
  10. package/dist/cdn/{U535IWWN.js → 3KFW6OD6.js} +1 -1
  11. package/dist/cdn/{2T5S2GZD.js → 3LWCBP7W.js} +1 -1
  12. package/dist/cdn/4D4NG376.js +2 -0
  13. package/dist/cdn/4ILBALOX.js +2 -0
  14. package/dist/cdn/4NS7O3WO.js +2 -0
  15. package/dist/cdn/{R7OIKART.js → 5LF7TQ7N.js} +1 -1
  16. package/dist/cdn/{XGZ4H27N.js → 5MI4LBOF.js} +1 -1
  17. package/dist/cdn/5MVD3F6G.js +2 -0
  18. package/dist/cdn/{DKVLMKQB.js → 5ZR6DDCR.js} +1 -1
  19. package/dist/cdn/{7VDKJ2SK.js → 623VYD6R.js} +1 -1
  20. package/dist/cdn/{6CBYZ6KQ.js → 62BATO6A.js} +1 -1
  21. package/dist/cdn/62DS7KDI.js +2 -0
  22. package/dist/cdn/{TAQOWFC4.js → 6EAKC3JX.js} +1 -1
  23. package/dist/cdn/{KSRIAA2B.js → 6XGFIG4A.js} +1 -1
  24. package/dist/cdn/{MWJWPSLW.js → 7OJ44OYE.js} +1 -1
  25. package/dist/cdn/{6DMMICVX.js → 7RU3CEXC.js} +1 -1
  26. package/dist/cdn/{IPLGO7L6.js → 7VRPMFQF.js} +1 -1
  27. package/dist/cdn/{6GL54USA.js → A5O37JHD.js} +1 -1
  28. package/dist/cdn/{4FJ5PQFY.js → A65ZFLA5.js} +1 -1
  29. package/dist/cdn/{62NJQWHM.js → AADSKWZE.js} +1 -1
  30. package/dist/cdn/{JHIGTRC5.js → ACJQRKUW.js} +1 -1
  31. package/dist/cdn/{W2NGW4D3.js → AF4KCLDZ.js} +1 -1
  32. package/dist/cdn/{D2YKWM6L.js → ASE5XDV4.js} +1 -1
  33. package/dist/cdn/{PBAUETVN.js → ATGPYSIN.js} +1 -1
  34. package/dist/cdn/AUFQLHKF.js +2 -0
  35. package/dist/cdn/B4OXM5EW.js +2 -0
  36. package/dist/cdn/{OD7JITPI.js → B57TN6IA.js} +1 -1
  37. package/dist/cdn/{PR4A5JHV.js → BFGNWZDN.js} +1 -1
  38. package/dist/cdn/{CFV4Q7K7.js → BFWNX5LC.js} +1 -1
  39. package/dist/cdn/{I72XT4W6.js → BLEDNRID.js} +1 -1
  40. package/dist/cdn/{KRX3Q4X3.js → BQTJOWZ3.js} +1 -1
  41. package/dist/cdn/{NOVMIJES.js → BX2A7TZF.js} +1 -1
  42. package/dist/cdn/{F5S74A6J.js → C2UEEF3A.js} +1 -1
  43. package/dist/cdn/{OSQJUMST.js → CAYYH2BZ.js} +1 -1
  44. package/dist/cdn/{WHTQZTLK.js → CDZP2WAZ.js} +1 -1
  45. package/dist/cdn/{2GX4D6HJ.js → CS4FUOM2.js} +1 -1
  46. package/dist/cdn/D2OHAZVJ.js +2 -0
  47. package/dist/cdn/{VH6Z5EP4.js → D5SMTOSV.js} +1 -1
  48. package/dist/cdn/{CRIHCMCZ.js → DDKQNHOD.js} +1 -1
  49. package/dist/cdn/{CHBJQ4J2.js → DS6L5K3I.js} +1 -1
  50. package/dist/cdn/{7VLVW6XG.js → DSKYNHS5.js} +1 -1
  51. package/dist/cdn/{6D5BQKYD.js → DYPOSBRY.js} +1 -1
  52. package/dist/cdn/{OVFYNDZQ.js → E2D5X3QE.js} +1 -1
  53. package/dist/cdn/{4YFA6UNT.js → EB4TOPVL.js} +1 -1
  54. package/dist/cdn/{FVR7AYMZ.js → EBNDBB6M.js} +1 -1
  55. package/dist/cdn/{2LEPTGBS.js → ECJOLDA7.js} +1 -1
  56. package/dist/cdn/{PFRUMG4W.js → EJDHS4O4.js} +1 -1
  57. package/dist/cdn/F2FESEN6.js +2 -0
  58. package/dist/cdn/{J5O57W2E.js → F3CASDS6.js} +1 -1
  59. package/dist/cdn/{7KVTCN6Q.js → FD4JYU3Z.js} +1 -1
  60. package/dist/cdn/{SKVVTJ4Y.js → G35IZGOS.js} +1 -1
  61. package/dist/cdn/{WKURA6GH.js → GA7TBRYI.js} +1 -1
  62. package/dist/cdn/{V6YUYE2A.js → GCPJFQZF.js} +1 -1
  63. package/dist/cdn/{WLBJ5BGK.js → GFNFEM62.js} +1 -1
  64. package/dist/cdn/{4MGZ6ADZ.js → GHDKS4TD.js} +1 -1
  65. package/dist/cdn/{V2YWSRNU.js → GS2Y3PBT.js} +1 -1
  66. package/dist/cdn/HDPZILRT.js +2 -0
  67. package/dist/cdn/{GQO5YIX6.js → HTU2PERJ.js} +1 -1
  68. package/dist/cdn/{PWWZP3KR.js → HU6DWJRC.js} +1 -1
  69. package/dist/cdn/I2P6NHEC.js +2 -0
  70. package/dist/cdn/I3B4HO2I.js +2 -0
  71. package/dist/cdn/{Q3S7NEGI.js → I5UVGD2T.js} +1 -1
  72. package/dist/cdn/I6SYKKXZ.js +2 -0
  73. package/dist/cdn/{E6SFDYKP.js → IAR4ISXM.js} +1 -1
  74. package/dist/cdn/IB5GGLYT.js +2 -0
  75. package/dist/cdn/{74ES23ZD.js → II45OKZO.js} +1 -1
  76. package/dist/cdn/{PVXQK5DA.js → IKWZUQVX.js} +1 -1
  77. package/dist/cdn/{R5K4A5LI.js → IOUY4CQP.js} +1 -1
  78. package/dist/cdn/{DEYOBQP4.js → IQNZOCQ5.js} +1 -1
  79. package/dist/cdn/IR3U674S.js +2 -0
  80. package/dist/cdn/{JFLHSOEG.js → IS3ZDW5X.js} +1 -1
  81. package/dist/cdn/{L6M7PQB2.js → IVC47QDM.js} +1 -1
  82. package/dist/cdn/J4H5KXXA.js +2 -0
  83. package/dist/cdn/{QFRMRDY4.js → J667RYKY.js} +1 -1
  84. package/dist/cdn/{LI5R65A7.js → J672TVUY.js} +1 -1
  85. package/dist/cdn/J6HUPBGJ.js +2 -0
  86. package/dist/cdn/JAJPR5ZA.js +2 -0
  87. package/dist/cdn/{A2EZHYSR.js → JRW3WDSZ.js} +1 -1
  88. package/dist/cdn/{4JIYUOBM.js → JSVI27VE.js} +1 -1
  89. package/dist/cdn/{FTR4BVVC.js → JSYBOIFM.js} +1 -1
  90. package/dist/cdn/{LKOXGPBU.js → K7PZZZ6K.js} +1 -1
  91. package/dist/cdn/{HMIXABNO.js → KI44TQK5.js} +1 -1
  92. package/dist/cdn/{EN6G2SPQ.js → KIJ2PAMT.js} +1 -1
  93. package/dist/cdn/{2IFHEXRA.js → KNBD5GM5.js} +1 -1
  94. package/dist/cdn/KRZT7UVD.js +2 -0
  95. package/dist/cdn/KTXKK7QW.js +2 -0
  96. package/dist/cdn/{URSFIR7X.js → KYXL4Q6Z.js} +1 -1
  97. package/dist/cdn/{ZCFV5NPR.js → KZPZO55C.js} +1 -1
  98. package/dist/cdn/LF33RPOG.js +2 -0
  99. package/dist/cdn/{A555ZEHW.js → LSCCXGYA.js} +1 -1
  100. package/dist/cdn/{HEWEVGQO.js → LSHFRLID.js} +1 -1
  101. package/dist/cdn/M4DT3YH7.js +2 -0
  102. package/dist/cdn/{XVKUIBXG.js → MDCWCWAM.js} +1 -1
  103. package/dist/cdn/{YHO7HK4V.js → NCB62BP6.js} +1 -1
  104. package/dist/cdn/{4PNNCVVV.js → NETUDVJE.js} +1 -1
  105. package/dist/cdn/{SDGSZMUK.js → NOWB7ME4.js} +1 -1
  106. package/dist/cdn/{JSYHBTNB.js → NQW3WH3Q.js} +1 -1
  107. package/dist/cdn/NZSAVAYK.js +2 -0
  108. package/dist/cdn/OIO5CL6R.js +2 -0
  109. package/dist/cdn/{QELU63EL.js → OPSPK4B3.js} +1 -1
  110. package/dist/cdn/P5E4K2YU.js +2 -0
  111. package/dist/cdn/{MWCNIRUV.js → PKJLXAOH.js} +1 -1
  112. package/dist/cdn/PUF2Z3VH.js +2 -0
  113. package/dist/cdn/{DRA725EP.js → PWDPNUIL.js} +1 -1
  114. package/dist/cdn/{D3IWPYIX.js → PWRAXZYG.js} +1 -1
  115. package/dist/cdn/QCGQ7ATZ.js +2 -0
  116. package/dist/cdn/{R4BGHODS.js → QGF4HKFB.js} +1 -1
  117. package/dist/cdn/{WBHR5HAI.js → QJMDDNP3.js} +1 -1
  118. package/dist/cdn/QQDQTFWB.js +2 -0
  119. package/dist/cdn/{3FN5WM5Q.js → QTPNQPO2.js} +2 -2
  120. package/dist/cdn/{EE5FG5WC.js → QWDKQYDJ.js} +1 -1
  121. package/dist/cdn/{EMAXP36D.js → R2OJ24AU.js} +1 -1
  122. package/dist/cdn/{QTXUDRNM.js → R5TLERHG.js} +1 -1
  123. package/dist/cdn/{XS5BOW2R.js → RRCZQZOO.js} +1 -1
  124. package/dist/cdn/{6YWZMFTP.js → RU76WLDJ.js} +1 -1
  125. package/dist/cdn/{YYHZXM6R.js → SCTJJN6F.js} +1 -1
  126. package/dist/cdn/{N7K3Z33V.js → SNAUVEQE.js} +1 -1
  127. package/dist/cdn/{JUR2QHXO.js → SUS2TW6Q.js} +1 -1
  128. package/dist/cdn/{V2OPNZPW.js → T6HXZ3H2.js} +1 -1
  129. package/dist/cdn/{BWJBSXDP.js → TGYPYCF4.js} +1 -1
  130. package/dist/cdn/{ZWKGNLYM.js → TGZ3QKJ4.js} +1 -1
  131. package/dist/cdn/TI24RDMW.js +2 -0
  132. package/dist/cdn/{QIGBMUD5.js → TQEGPC7M.js} +1 -1
  133. package/dist/cdn/{KH3SJOXF.js → TRD5VAXC.js} +1 -1
  134. package/dist/cdn/{Q3A3FJSL.js → UB3V636R.js} +1 -1
  135. package/dist/cdn/{3UC22UAK.js → UGQDFFBV.js} +1 -1
  136. package/dist/cdn/UWAER5W3.js +2 -0
  137. package/dist/cdn/VELYDHCO.js +20 -0
  138. package/dist/cdn/{WIJ5OVSP.js → VOWRCOLL.js} +1 -1
  139. package/dist/cdn/WDSPL6ZK.js +2 -0
  140. package/dist/cdn/{MSVOHYM2.js → WESLKQDB.js} +1 -1
  141. package/dist/cdn/WLHD45FG.js +2 -0
  142. package/dist/cdn/WLKA4SAY.js +2 -0
  143. package/dist/cdn/{HFTNYJO3.js → WYZKN22P.js} +1 -1
  144. package/dist/cdn/WZZAKFR4.js +2 -0
  145. package/dist/cdn/X6FCHMZG.js +2 -0
  146. package/dist/cdn/{YGSNC6W4.js → X6NRJK63.js} +1 -1
  147. package/dist/cdn/{OOF6IOO6.js → XASONDK4.js} +1 -1
  148. package/dist/cdn/{BMMQHDLU.js → XHHYMR4N.js} +1 -1
  149. package/dist/cdn/{CBLXJ7FA.js → XPBXVOOM.js} +1 -1
  150. package/dist/cdn/{TUW4KHTF.js → Y3IJ4QWR.js} +1 -1
  151. package/dist/cdn/YJPIZ6DX.js +2 -0
  152. package/dist/cdn/{YUWQQXGZ.js → YPAAYPPO.js} +1 -1
  153. package/dist/cdn/{27PXNVGA.js → Z2HYUNW6.js} +1 -1
  154. package/dist/cdn/ZV25GLCY.js +2 -0
  155. package/dist/cdn/assets/icon/buildingIndex16.json +1 -0
  156. package/dist/cdn/assets/icon/buildingIndex24.json +1 -0
  157. package/dist/cdn/assets/icon/buildingIndex32.json +1 -0
  158. package/dist/cdn/assets/icon/fireIndex16.json +1 -0
  159. package/dist/cdn/assets/icon/fireIndex24.json +1 -0
  160. package/dist/cdn/assets/icon/fireIndex32.json +1 -0
  161. package/dist/cdn/assets/icon/geologyIndex16.json +1 -0
  162. package/dist/cdn/assets/icon/geologyIndex24.json +1 -0
  163. package/dist/cdn/assets/icon/geologyIndex32.json +1 -0
  164. package/dist/cdn/assets/icon/returnToDefault16.json +1 -1
  165. package/dist/cdn/assets/icon/returnToDefault32.json +1 -1
  166. package/dist/cdn/assets/icon/smartSearch16.json +1 -0
  167. package/dist/cdn/assets/icon/smartSearch24.json +1 -0
  168. package/dist/cdn/assets/icon/smartSearch32.json +1 -0
  169. package/dist/cdn/assets/icon/snowIndex16.json +1 -0
  170. package/dist/cdn/assets/icon/snowIndex24.json +1 -0
  171. package/dist/cdn/assets/icon/snowIndex32.json +1 -0
  172. package/dist/cdn/assets/icon/soilAdjustedVegetationIndex16.json +1 -0
  173. package/dist/cdn/assets/icon/soilAdjustedVegetationIndex24.json +1 -0
  174. package/dist/cdn/assets/icon/soilAdjustedVegetationIndex32.json +1 -0
  175. package/dist/cdn/assets/icon/userSave16.json +1 -0
  176. package/dist/cdn/assets/icon/userSave24.json +1 -0
  177. package/dist/cdn/assets/icon/userSave32.json +1 -0
  178. package/dist/cdn/assets/icon/vegetationIndex16.json +1 -0
  179. package/dist/cdn/assets/icon/vegetationIndex24.json +1 -0
  180. package/dist/cdn/assets/icon/vegetationIndex32.json +1 -0
  181. package/dist/cdn/assets/icon/weatherRadar16.json +1 -0
  182. package/dist/cdn/assets/icon/weatherRadar24.json +1 -0
  183. package/dist/cdn/assets/icon/weatherRadar32.json +1 -0
  184. package/dist/cdn/assets/input/t9n/messages.ar.json +1 -1
  185. package/dist/cdn/assets/input/t9n/messages.bg.json +1 -1
  186. package/dist/cdn/assets/input/t9n/messages.bs.json +1 -1
  187. package/dist/cdn/assets/input/t9n/messages.ca.json +1 -1
  188. package/dist/cdn/assets/input/t9n/messages.cs.json +1 -1
  189. package/dist/cdn/assets/input/t9n/messages.da.json +1 -1
  190. package/dist/cdn/assets/input/t9n/messages.de.json +1 -1
  191. package/dist/cdn/assets/input/t9n/messages.el.json +1 -1
  192. package/dist/cdn/assets/input/t9n/messages.en.json +1 -1
  193. package/dist/cdn/assets/input/t9n/messages.es.json +1 -1
  194. package/dist/cdn/assets/input/t9n/messages.et.json +1 -1
  195. package/dist/cdn/assets/input/t9n/messages.fi.json +1 -1
  196. package/dist/cdn/assets/input/t9n/messages.fr.json +1 -1
  197. package/dist/cdn/assets/input/t9n/messages.he.json +1 -1
  198. package/dist/cdn/assets/input/t9n/messages.hr.json +1 -1
  199. package/dist/cdn/assets/input/t9n/messages.hu.json +1 -1
  200. package/dist/cdn/assets/input/t9n/messages.id.json +1 -1
  201. package/dist/cdn/assets/input/t9n/messages.it.json +1 -1
  202. package/dist/cdn/assets/input/t9n/messages.ja.json +1 -1
  203. package/dist/cdn/assets/input/t9n/messages.json +1 -1
  204. package/dist/cdn/assets/input/t9n/messages.ko.json +1 -1
  205. package/dist/cdn/assets/input/t9n/messages.lt.json +1 -1
  206. package/dist/cdn/assets/input/t9n/messages.lv.json +1 -1
  207. package/dist/cdn/assets/input/t9n/messages.nl.json +1 -1
  208. package/dist/cdn/assets/input/t9n/messages.no.json +1 -1
  209. package/dist/cdn/assets/input/t9n/messages.pl.json +1 -1
  210. package/dist/cdn/assets/input/t9n/messages.pt-BR.json +1 -1
  211. package/dist/cdn/assets/input/t9n/messages.pt-PT.json +1 -1
  212. package/dist/cdn/assets/input/t9n/messages.ro.json +1 -1
  213. package/dist/cdn/assets/input/t9n/messages.ru.json +1 -1
  214. package/dist/cdn/assets/input/t9n/messages.sk.json +1 -1
  215. package/dist/cdn/assets/input/t9n/messages.sl.json +1 -1
  216. package/dist/cdn/assets/input/t9n/messages.sr.json +1 -1
  217. package/dist/cdn/assets/input/t9n/messages.sv.json +1 -1
  218. package/dist/cdn/assets/input/t9n/messages.th.json +1 -1
  219. package/dist/cdn/assets/input/t9n/messages.tr.json +1 -1
  220. package/dist/cdn/assets/input/t9n/messages.uk.json +1 -1
  221. package/dist/cdn/assets/input/t9n/messages.vi.json +1 -1
  222. package/dist/cdn/assets/input/t9n/messages.zh-CN.json +1 -1
  223. package/dist/cdn/assets/input/t9n/messages.zh-HK.json +1 -1
  224. package/dist/cdn/assets/input/t9n/messages.zh-TW.json +1 -1
  225. package/dist/cdn/assets/input-number/t9n/messages.ar.json +1 -1
  226. package/dist/cdn/assets/input-number/t9n/messages.bg.json +1 -1
  227. package/dist/cdn/assets/input-number/t9n/messages.bs.json +1 -1
  228. package/dist/cdn/assets/input-number/t9n/messages.ca.json +1 -1
  229. package/dist/cdn/assets/input-number/t9n/messages.cs.json +1 -1
  230. package/dist/cdn/assets/input-number/t9n/messages.da.json +1 -1
  231. package/dist/cdn/assets/input-number/t9n/messages.de.json +1 -1
  232. package/dist/cdn/assets/input-number/t9n/messages.el.json +1 -1
  233. package/dist/cdn/assets/input-number/t9n/messages.en.json +1 -1
  234. package/dist/cdn/assets/input-number/t9n/messages.es.json +1 -1
  235. package/dist/cdn/assets/input-number/t9n/messages.et.json +1 -1
  236. package/dist/cdn/assets/input-number/t9n/messages.fi.json +1 -1
  237. package/dist/cdn/assets/input-number/t9n/messages.fr.json +1 -1
  238. package/dist/cdn/assets/input-number/t9n/messages.he.json +1 -1
  239. package/dist/cdn/assets/input-number/t9n/messages.hr.json +1 -1
  240. package/dist/cdn/assets/input-number/t9n/messages.hu.json +1 -1
  241. package/dist/cdn/assets/input-number/t9n/messages.id.json +1 -1
  242. package/dist/cdn/assets/input-number/t9n/messages.it.json +1 -1
  243. package/dist/cdn/assets/input-number/t9n/messages.ja.json +1 -1
  244. package/dist/cdn/assets/input-number/t9n/messages.json +1 -1
  245. package/dist/cdn/assets/input-number/t9n/messages.ko.json +1 -1
  246. package/dist/cdn/assets/input-number/t9n/messages.lt.json +1 -1
  247. package/dist/cdn/assets/input-number/t9n/messages.lv.json +1 -1
  248. package/dist/cdn/assets/input-number/t9n/messages.nl.json +1 -1
  249. package/dist/cdn/assets/input-number/t9n/messages.no.json +1 -1
  250. package/dist/cdn/assets/input-number/t9n/messages.pl.json +1 -1
  251. package/dist/cdn/assets/input-number/t9n/messages.pt-BR.json +1 -1
  252. package/dist/cdn/assets/input-number/t9n/messages.pt-PT.json +1 -1
  253. package/dist/cdn/assets/input-number/t9n/messages.ro.json +1 -1
  254. package/dist/cdn/assets/input-number/t9n/messages.ru.json +1 -1
  255. package/dist/cdn/assets/input-number/t9n/messages.sk.json +1 -1
  256. package/dist/cdn/assets/input-number/t9n/messages.sl.json +1 -1
  257. package/dist/cdn/assets/input-number/t9n/messages.sr.json +1 -1
  258. package/dist/cdn/assets/input-number/t9n/messages.sv.json +1 -1
  259. package/dist/cdn/assets/input-number/t9n/messages.th.json +1 -1
  260. package/dist/cdn/assets/input-number/t9n/messages.tr.json +1 -1
  261. package/dist/cdn/assets/input-number/t9n/messages.uk.json +1 -1
  262. package/dist/cdn/assets/input-number/t9n/messages.vi.json +1 -1
  263. package/dist/cdn/assets/input-number/t9n/messages.zh-CN.json +1 -1
  264. package/dist/cdn/assets/input-number/t9n/messages.zh-HK.json +1 -1
  265. package/dist/cdn/assets/input-number/t9n/messages.zh-TW.json +1 -1
  266. package/dist/cdn/assets/input-text/t9n/messages.ar.json +1 -1
  267. package/dist/cdn/assets/input-text/t9n/messages.bg.json +1 -1
  268. package/dist/cdn/assets/input-text/t9n/messages.bs.json +1 -1
  269. package/dist/cdn/assets/input-text/t9n/messages.ca.json +1 -1
  270. package/dist/cdn/assets/input-text/t9n/messages.cs.json +1 -1
  271. package/dist/cdn/assets/input-text/t9n/messages.da.json +1 -1
  272. package/dist/cdn/assets/input-text/t9n/messages.de.json +1 -1
  273. package/dist/cdn/assets/input-text/t9n/messages.el.json +1 -1
  274. package/dist/cdn/assets/input-text/t9n/messages.en.json +1 -1
  275. package/dist/cdn/assets/input-text/t9n/messages.es.json +1 -1
  276. package/dist/cdn/assets/input-text/t9n/messages.et.json +1 -1
  277. package/dist/cdn/assets/input-text/t9n/messages.fi.json +1 -1
  278. package/dist/cdn/assets/input-text/t9n/messages.fr.json +1 -1
  279. package/dist/cdn/assets/input-text/t9n/messages.he.json +1 -1
  280. package/dist/cdn/assets/input-text/t9n/messages.hr.json +1 -1
  281. package/dist/cdn/assets/input-text/t9n/messages.hu.json +1 -1
  282. package/dist/cdn/assets/input-text/t9n/messages.id.json +1 -1
  283. package/dist/cdn/assets/input-text/t9n/messages.it.json +1 -1
  284. package/dist/cdn/assets/input-text/t9n/messages.ja.json +1 -1
  285. package/dist/cdn/assets/input-text/t9n/messages.json +1 -1
  286. package/dist/cdn/assets/input-text/t9n/messages.ko.json +1 -1
  287. package/dist/cdn/assets/input-text/t9n/messages.lt.json +1 -1
  288. package/dist/cdn/assets/input-text/t9n/messages.lv.json +1 -1
  289. package/dist/cdn/assets/input-text/t9n/messages.nl.json +1 -1
  290. package/dist/cdn/assets/input-text/t9n/messages.no.json +1 -1
  291. package/dist/cdn/assets/input-text/t9n/messages.pl.json +1 -1
  292. package/dist/cdn/assets/input-text/t9n/messages.pt-BR.json +1 -1
  293. package/dist/cdn/assets/input-text/t9n/messages.pt-PT.json +1 -1
  294. package/dist/cdn/assets/input-text/t9n/messages.ro.json +1 -1
  295. package/dist/cdn/assets/input-text/t9n/messages.ru.json +1 -1
  296. package/dist/cdn/assets/input-text/t9n/messages.sk.json +1 -1
  297. package/dist/cdn/assets/input-text/t9n/messages.sl.json +1 -1
  298. package/dist/cdn/assets/input-text/t9n/messages.sr.json +1 -1
  299. package/dist/cdn/assets/input-text/t9n/messages.sv.json +1 -1
  300. package/dist/cdn/assets/input-text/t9n/messages.th.json +1 -1
  301. package/dist/cdn/assets/input-text/t9n/messages.tr.json +1 -1
  302. package/dist/cdn/assets/input-text/t9n/messages.uk.json +1 -1
  303. package/dist/cdn/assets/input-text/t9n/messages.vi.json +1 -1
  304. package/dist/cdn/assets/input-text/t9n/messages.zh-CN.json +1 -1
  305. package/dist/cdn/assets/input-text/t9n/messages.zh-HK.json +1 -1
  306. package/dist/cdn/assets/input-text/t9n/messages.zh-TW.json +1 -1
  307. package/dist/cdn/index.js +1 -1
  308. package/dist/chunks/ClearButton.js +1 -1
  309. package/dist/chunks/date.js +9 -6
  310. package/dist/chunks/dom.js +3 -2
  311. package/dist/chunks/math.js +1 -1
  312. package/dist/chunks/openCloseComponent.js +1 -1
  313. package/dist/chunks/resources10.js +19 -0
  314. package/dist/chunks/resources11.js +63 -0
  315. package/dist/chunks/resources12.js +27 -0
  316. package/dist/chunks/resources5.js +40 -51
  317. package/dist/chunks/resources6.js +24 -46
  318. package/dist/chunks/resources7.js +53 -8
  319. package/dist/chunks/resources8.js +50 -10
  320. package/dist/chunks/resources9.js +7 -53
  321. package/dist/chunks/responsive.js +1 -1
  322. package/dist/chunks/runtime.js +4 -4
  323. package/dist/chunks/useSizeOverride.js +1 -1
  324. package/dist/chunks/useTime.js +27 -24
  325. package/dist/chunks/utils.js +12 -18
  326. package/dist/chunks/utils2.js +59 -6
  327. package/dist/chunks/utils3.js +1 -1
  328. package/dist/components/calcite-action/customElement.d.ts +1 -5
  329. package/dist/components/calcite-action-group/customElement.d.ts +2 -4
  330. package/dist/components/calcite-action-menu/customElement.d.ts +2 -4
  331. package/dist/components/calcite-alert/customElement.d.ts +1 -3
  332. package/dist/components/calcite-autocomplete/customElement.d.ts +3 -9
  333. package/dist/components/calcite-autocomplete-item/customElement.d.ts +1 -1
  334. package/dist/components/calcite-block/customElement.d.ts +12 -14
  335. package/dist/components/calcite-block/customElement.js +8 -49
  336. package/dist/components/calcite-block-group/customElement.js +3 -5
  337. package/dist/components/calcite-block-section/customElement.d.ts +5 -5
  338. package/dist/components/calcite-block-section/customElement.js +1 -1
  339. package/dist/components/calcite-button/customElement.d.ts +9 -13
  340. package/dist/components/calcite-button/customElement.js +3 -3
  341. package/dist/components/calcite-carousel/customElement.js +1 -1
  342. package/dist/components/calcite-checkbox/customElement.d.ts +1 -5
  343. package/dist/components/calcite-checkbox/customElement.js +1 -1
  344. package/dist/components/calcite-chip/customElement.js +1 -27
  345. package/dist/components/calcite-color-picker/customElement.d.ts +3 -3
  346. package/dist/components/calcite-color-picker/customElement.js +23 -20
  347. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
  348. package/dist/components/calcite-color-picker-hex-input/customElement.js +4 -4
  349. package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
  350. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  351. package/dist/components/calcite-combobox/customElement.d.ts +13 -19
  352. package/dist/components/calcite-combobox/customElement.js +308 -150
  353. package/dist/components/calcite-combobox-item/customElement.d.ts +6 -6
  354. package/dist/components/calcite-combobox-item/customElement.js +2 -1
  355. package/dist/components/calcite-combobox-item-group/customElement.d.ts +1 -1
  356. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  357. package/dist/components/calcite-date-picker/customElement.d.ts +10 -10
  358. package/dist/components/calcite-date-picker/customElement.js +18 -18
  359. package/dist/components/calcite-date-picker-day/customElement.js +2 -2
  360. package/dist/components/calcite-date-picker-month/customElement.d.ts +4 -4
  361. package/dist/components/calcite-date-picker-month/customElement.js +19 -14
  362. package/dist/components/calcite-date-picker-month-header/customElement.js +14 -9
  363. package/dist/components/calcite-dialog/customElement.d.ts +9 -11
  364. package/dist/components/calcite-dialog/customElement.js +6 -7
  365. package/dist/components/calcite-dropdown/customElement.d.ts +6 -7
  366. package/dist/components/calcite-dropdown/customElement.js +10 -7
  367. package/dist/components/calcite-dropdown-group/customElement.d.ts +1 -1
  368. package/dist/components/calcite-dropdown-group/customElement.js +2 -2
  369. package/dist/components/calcite-dropdown-item/customElement.d.ts +7 -7
  370. package/dist/components/calcite-dropdown-item/customElement.js +4 -4
  371. package/dist/components/calcite-filter/customElement.js +1 -1
  372. package/dist/components/calcite-flow-item/customElement.d.ts +2 -4
  373. package/dist/components/calcite-flow-item/customElement.js +1 -1
  374. package/dist/components/calcite-graph/customElement.d.ts +3 -3
  375. package/dist/components/calcite-graph/customElement.js +11 -15
  376. package/dist/components/calcite-icon/customElement.d.ts +2 -2
  377. package/dist/components/calcite-icon/customElement.js +4 -4
  378. package/dist/components/calcite-icon/interfaces.d.ts +1 -1
  379. package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
  380. package/dist/components/calcite-inline-editable/customElement.js +4 -2
  381. package/dist/components/calcite-input/customElement.d.ts +23 -24
  382. package/dist/components/calcite-input/customElement.js +15 -13
  383. package/dist/components/calcite-input-date-picker/customElement.d.ts +17 -23
  384. package/dist/components/calcite-input-date-picker/customElement.js +19 -24
  385. package/dist/components/calcite-input-message/customElement.d.ts +1 -1
  386. package/dist/components/calcite-input-number/customElement.d.ts +22 -25
  387. package/dist/components/calcite-input-number/customElement.js +15 -13
  388. package/dist/components/calcite-input-text/customElement.d.ts +18 -19
  389. package/dist/components/calcite-input-text/customElement.js +3 -3
  390. package/dist/components/calcite-input-time-picker/customElement.d.ts +11 -13
  391. package/dist/components/calcite-input-time-picker/customElement.js +34 -10
  392. package/dist/components/calcite-input-time-zone/customElement.d.ts +9 -15
  393. package/dist/components/calcite-input-time-zone/customElement.js +14 -12
  394. package/dist/components/calcite-list/customElement.js +1 -1
  395. package/dist/components/calcite-list-item/customElement.d.ts +1 -3
  396. package/dist/components/calcite-list-item/customElement.js +1 -1
  397. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  398. package/dist/components/calcite-meter/customElement.d.ts +1 -3
  399. package/dist/components/calcite-pagination/customElement.js +2 -2
  400. package/dist/components/calcite-panel/customElement.d.ts +4 -6
  401. package/dist/components/calcite-panel/customElement.js +1 -1
  402. package/dist/components/calcite-popover/customElement.d.ts +2 -4
  403. package/dist/components/calcite-radio-button/customElement.d.ts +1 -5
  404. package/dist/components/calcite-rating/customElement.d.ts +1 -5
  405. package/dist/components/calcite-rating/customElement.js +1 -1
  406. package/dist/components/calcite-segmented-control/customElement.d.ts +1 -5
  407. package/dist/components/calcite-select/customElement.d.ts +1 -5
  408. package/dist/components/calcite-sheet/customElement.d.ts +1 -3
  409. package/dist/components/calcite-slider/customElement.d.ts +13 -17
  410. package/dist/components/calcite-slider/customElement.js +19 -20
  411. package/dist/components/calcite-sort-handle/customElement.d.ts +2 -4
  412. package/dist/components/calcite-split-button/customElement.d.ts +12 -14
  413. package/dist/components/calcite-split-button/customElement.js +1 -1
  414. package/dist/components/calcite-stack/customElement.js +1 -1
  415. package/dist/components/calcite-stepper/customElement.d.ts +1 -1
  416. package/dist/components/calcite-stepper/customElement.js +10 -10
  417. package/dist/components/calcite-stepper-item/customElement.d.ts +3 -3
  418. package/dist/components/calcite-stepper-item/customElement.js +8 -24
  419. package/dist/components/calcite-swatch/customElement.d.ts +1 -1
  420. package/dist/components/calcite-swatch/customElement.js +2 -2
  421. package/dist/components/calcite-swatch-group/customElement.js +8 -6
  422. package/dist/components/calcite-switch/customElement.d.ts +6 -10
  423. package/dist/components/calcite-tab-nav/customElement.js +64 -26
  424. package/dist/components/calcite-tab-title/customElement.js +4 -0
  425. package/dist/components/calcite-table-header/customElement.d.ts +1 -1
  426. package/dist/components/calcite-tabs/customElement.d.ts +6 -0
  427. package/dist/components/calcite-tabs/customElement.js +13 -7
  428. package/dist/components/calcite-text-area/customElement.d.ts +1 -5
  429. package/dist/components/calcite-tile/customElement.d.ts +1 -1
  430. package/dist/components/calcite-time-picker/customElement.js +4 -4
  431. package/dist/components/calcite-tooltip/customElement.d.ts +1 -3
  432. package/dist/controllers/useTime.d.ts +3 -0
  433. package/dist/docs/api.json +1 -1
  434. package/dist/docs/docs.json +1 -1
  435. package/dist/docs/translations.json +1 -1
  436. package/dist/docs/vscode.css-custom-data.json +1 -1
  437. package/dist/docs/vscode.html-custom-data.json +1 -1
  438. package/dist/docs/web-types.json +1 -1
  439. package/dist/loader.js +3 -3
  440. package/dist/types/lumina.d.ts +2 -2
  441. package/dist/types/preact.d.ts +2 -2
  442. package/dist/types/react.d.ts +2 -2
  443. package/dist/types/stencil.d.ts +2 -2
  444. package/dist/utils/date.d.ts +2 -2
  445. package/package.json +13 -10
  446. package/dist/cdn/2YACKK37.js +0 -2
  447. package/dist/cdn/436YQVXE.js +0 -2
  448. package/dist/cdn/4DBQ4ANV.js +0 -2
  449. package/dist/cdn/5NUVM2O5.js +0 -2
  450. package/dist/cdn/5SUANSC5.js +0 -2
  451. package/dist/cdn/6THNFXTV.js +0 -2
  452. package/dist/cdn/77K7O24O.js +0 -2
  453. package/dist/cdn/B77UXRFM.js +0 -2
  454. package/dist/cdn/BUM6WOSW.js +0 -2
  455. package/dist/cdn/DAZHMHCO.js +0 -2
  456. package/dist/cdn/EB7IYMTW.js +0 -2
  457. package/dist/cdn/FITMXYWO.js +0 -2
  458. package/dist/cdn/GHR4QESS.js +0 -2
  459. package/dist/cdn/GRHXNV32.js +0 -2
  460. package/dist/cdn/IJXQ6SIM.js +0 -2
  461. package/dist/cdn/JLRS6GUS.js +0 -2
  462. package/dist/cdn/KBON2CAX.js +0 -2
  463. package/dist/cdn/LF6HBGIK.js +0 -2
  464. package/dist/cdn/LKEGNPWV.js +0 -2
  465. package/dist/cdn/LRKNRPLM.js +0 -2
  466. package/dist/cdn/LUMYH5OP.js +0 -2
  467. package/dist/cdn/LYY7VO7C.js +0 -2
  468. package/dist/cdn/NI547XEE.js +0 -2
  469. package/dist/cdn/PVLU53NA.js +0 -2
  470. package/dist/cdn/PXCZRN5T.js +0 -2
  471. package/dist/cdn/Q6AT6CSF.js +0 -2
  472. package/dist/cdn/QCDNDFJF.js +0 -2
  473. package/dist/cdn/QMY55ROX.js +0 -2
  474. package/dist/cdn/SZG4WIY5.js +0 -2
  475. package/dist/cdn/T2B7YQBZ.js +0 -2
  476. package/dist/cdn/T4S5XNIM.js +0 -2
  477. package/dist/cdn/URGWXZVV.js +0 -2
  478. package/dist/cdn/URYJKH3O.js +0 -2
  479. package/dist/cdn/VKSNYALB.js +0 -2
  480. package/dist/cdn/XNIMPU7U.js +0 -2
  481. package/dist/cdn/ZDK7XU74.js +0 -20
  482. package/dist/cdn/ZLOVZ5ZX.js +0 -2
  483. /package/dist/cdn/{XJY76HZ5.js → 2QCI6TGY.js} +0 -0
  484. /package/dist/cdn/{O2A6CQZA.js → BLWTCPBG.js} +0 -0
  485. /package/dist/cdn/{5OPFL4DZ.js → KWIC32XQ.js} +0 -0
  486. /package/dist/cdn/{SG5FNFQO.js → Q24FQVQ4.js} +0 -0
  487. /package/dist/cdn/{DE7OTXX2.js → QBJZUEM2.js} +0 -0
@@ -7,6 +7,7 @@ import type { DropdownItem } from "../calcite-dropdown-item/customElement.js";
7
7
  /**
8
8
  * @cssproperty [--calcite-dropdown-width] - Specifies the width of the component's wrapper.
9
9
  * @cssproperty [--calcite-dropdown-background-color] - Specifies the component's background color.
10
+ * @cssproperty [--calcite-dropdown-max-height] - Specifies the maximum height of the component's wrapper.
10
11
  * @slot - A slot for adding `calcite-dropdown-group` elements. Every `calcite-dropdown-item` must have a parent `calcite-dropdown-group`, even if the `groupTitle` property is not set.
11
12
  * @slot [trigger] - [deprecated] in v5.1.0, removal target v7.0.0 - Use the `referenceElement` property instead. A slot for the element that triggers the component.
12
13
  */
@@ -25,8 +26,8 @@ export abstract class Dropdown extends LitElement {
25
26
  * @default false
26
27
  */
27
28
  accessor disabled: boolean;
28
- /** Specifies the component's fallback `placement` for slotted `calcite-dropdown-item`s when their initial or specified `placement` has insufficient space available. */
29
- accessor flipPlacements: FlipPlacement[];
29
+ /** Specifies the component's fallback `placement` for slotted `calcite-dropdown-item`s when its initial or specified `placement` has insufficient space available. */
30
+ accessor flipPlacements: FlipPlacement[] | undefined;
30
31
  /**
31
32
  * Specifies the maximum number of `calcite-dropdown-item`s to display before showing a scrollbar.
32
33
  * Value must be greater than `0`, and does not include `groupTitle`s from `calcite-dropdown-group`.
@@ -87,9 +88,7 @@ export abstract class Dropdown extends LitElement {
87
88
  /** The component's selected items. */
88
89
  get selectedItems(): DropdownItem[];
89
90
  /**
90
- * When `true` and the component is `open`, disables top layer placement.
91
- *
92
- * Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
91
+ * When `true` and the component is `open`, disables top layer placement. Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
93
92
  *
94
93
  * @default false
95
94
  * @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
@@ -102,13 +101,13 @@ export abstract class Dropdown extends LitElement {
102
101
  */
103
102
  accessor type: "hover" | "click";
104
103
  /** Specifies the component's width. */
105
- accessor width: Extract<Width, Scale>;
104
+ accessor width: Extract<Width, Scale> | undefined;
106
105
  /**
107
106
  * Specifies the component's width.
108
107
  *
109
108
  * @deprecated in v3.0.0, removal target v6.0.0 - Use the `width` property instead.
110
109
  */
111
- accessor widthScale: Scale;
110
+ accessor widthScale: Scale | undefined;
112
111
  /**
113
112
  * Updates the component's position.
114
113
  *
@@ -22,7 +22,7 @@ const CSS = {
22
22
  wrapper: "wrapper",
23
23
  triggerContainer: "trigger-container"
24
24
  };
25
- 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:inline-block}.wrapper{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}@starting-style{.wrapper{opacity:0;inset-block-start:0;left:0}}:host([top-layer-disabled]) .wrapper{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown)}.wrapper[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.wrapper:popover-open{display:block}.wrapper .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.wrapper[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.wrapper[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.wrapper[data-placement^=left] .calcite-floating-ui-anim{left:5px}.wrapper[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.wrapper .calcite-floating-ui-anim{box-shadow:var(--calcite-shadow-md)}.content{max-height:45vh;width:auto;overflow-y:auto;overflow-x:hidden;inline-size:var(--calcite-dropdown-width, var(--calcite-internal-dropdown-width));background-color:var(--calcite-dropdown-background-color, var(--calcite-color-foreground-1))}.trigger-container{position:relative;display:flex;height:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}.width-s{--calcite-internal-dropdown-width: 12rem}.width-m{--calcite-internal-dropdown-width: 14rem}.width-l{--calcite-internal-dropdown-width: 16rem}@media(forced-colors:active){:host([open]) .wrapper{border:var(--calcite-border-width-sm) solid canvasText}}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
25
+ 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:inline-block}.wrapper{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}@starting-style{.wrapper{opacity:0;inset-block-start:0;left:0}}:host([top-layer-disabled]) .wrapper{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown)}.wrapper[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.wrapper:popover-open{display:block}.wrapper .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.wrapper[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.wrapper[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.wrapper[data-placement^=left] .calcite-floating-ui-anim{left:5px}.wrapper[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.wrapper .calcite-floating-ui-anim{box-shadow:var(--calcite-shadow-md)}.content{width:auto;overflow-y:auto;overflow-x:hidden;inline-size:var(--calcite-dropdown-width, var(--calcite-internal-dropdown-width));background-color:var(--calcite-dropdown-background-color, var(--calcite-color-foreground-1));max-block-size:var(--calcite-dropdown-max-height, 45vh)}.trigger-container{position:relative;display:flex;height:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}.width-s{--calcite-internal-dropdown-width: 12rem}.width-m{--calcite-internal-dropdown-width: 14rem}.width-l{--calcite-internal-dropdown-width: 16rem}@media(forced-colors:active){:host([open]) .wrapper{border:var(--calcite-border-width-sm) solid canvasText}}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
26
26
  const manager = referenceElementManager({ click: true, hover: true });
27
27
  class Dropdown extends LitElement {
28
28
  constructor() {
@@ -75,7 +75,7 @@ class Dropdown extends LitElement {
75
75
  this.styles = styles;
76
76
  }
77
77
  get referenceElementType() {
78
- return this.referenceElement ? this.type : null;
78
+ return this.referenceElement ? this.type : void 0;
79
79
  }
80
80
  async reposition(delayed = false) {
81
81
  const { filteredFlipPlacements, floatingEl, offsetDistance, offsetSkidding, overlayPositioning, placement, referenceEl } = this;
@@ -198,7 +198,7 @@ class Dropdown extends LitElement {
198
198
  }
199
199
  setFilteredPlacements() {
200
200
  const { el, flipPlacements } = this;
201
- this.filteredFlipPlacements = flipPlacements ? filterValidFlipPlacements(flipPlacements, el) : null;
201
+ this.filteredFlipPlacements = flipPlacements ? filterValidFlipPlacements(flipPlacements, el) : void 0;
202
202
  }
203
203
  updateItems() {
204
204
  this.items = this.groups.map((group) => Array.from(group?.querySelectorAll("calcite-dropdown-item"))).reduce((previousValue, currentValue) => [...previousValue, ...currentValue], []);
@@ -266,8 +266,8 @@ class Dropdown extends LitElement {
266
266
  this.topLayer.hide();
267
267
  }
268
268
  setReferenceEl(el) {
269
- const previousReferenceEl = this.referenceEl instanceof HTMLElement ? this.referenceEl : null;
270
- const nextReferenceEl = el instanceof HTMLElement ? el : null;
269
+ const previousReferenceEl = this.referenceEl instanceof HTMLElement ? this.referenceEl : void 0;
270
+ const nextReferenceEl = el instanceof HTMLElement ? el : void 0;
271
271
  updateRefObserver(this.resizeObserver, previousReferenceEl, nextReferenceEl);
272
272
  if (this.referenceElementType || !nextReferenceEl) {
273
273
  return;
@@ -339,6 +339,9 @@ class Dropdown extends LitElement {
339
339
  this.selectedItems = this.items.filter((item) => item.selected);
340
340
  }
341
341
  getYDistanceFromScroller(last) {
342
+ if (!last) {
343
+ return NaN;
344
+ }
342
345
  const style = last.getBoundingClientRect();
343
346
  return last.offsetTop + style.height;
344
347
  }
@@ -380,7 +383,7 @@ class Dropdown extends LitElement {
380
383
  this.items.forEach((item) => {
381
384
  item.activeDescendant = item === activeItem;
382
385
  });
383
- this.activeDescendantElement = activeItem ?? null;
386
+ this.activeDescendantElement = activeItem ?? void 0;
384
387
  }
385
388
  navigateActiveItem(direction) {
386
389
  const traversableItems = this.getTraversableItems();
@@ -446,7 +449,7 @@ class Dropdown extends LitElement {
446
449
  }
447
450
  render() {
448
451
  const { open } = this;
449
- return this.interactiveContainer({ disabled: this.disabled, children: html`${!this.referenceElementType ? html`<div class=${safeClassMap(CSS.triggerContainer)} @click=${this.toggleClickDropdown} @focusin=${this.openHoverDropdown} @focusout=${this.closeHoverDropdown} @keydown=${this.keyDownHandler} ${ref(this.setReferenceEl)}><slot .ariaActiveDescendantElement=${this.activeDescendantElement ?? null} .ariaControlsElements=${this.scrollerEl ? [this.scrollerEl] : void 0} .ariaExpanded=${open} aria-haspopup=menu name=${SLOTS.trigger}></slot></div>` : null}<div class=${safeClassMap({
452
+ return this.interactiveContainer({ disabled: this.disabled, children: html`${!this.referenceElementType ? html`<div class=${safeClassMap(CSS.triggerContainer)} @click=${this.toggleClickDropdown} @focusin=${this.openHoverDropdown} @focusout=${this.closeHoverDropdown} @keydown=${this.keyDownHandler} ${ref(this.setReferenceEl)}><slot .ariaActiveDescendantElement=${this.activeDescendantElement ?? void 0} .ariaControlsElements=${this.scrollerEl ? [this.scrollerEl] : void 0} .ariaExpanded=${open} aria-haspopup=menu name=${SLOTS.trigger}></slot></div>` : null}<div class=${safeClassMap({
450
453
  [CSS.wrapper]: true,
451
454
  [getDimensionClass("width", this.width, this.widthScale)]: !!(this.width || this.widthScale)
452
455
  })} .inert=${!open} popover=manual ${ref(this.setFloatingEl)}><div .ariaLabelledByElements=${this.referenceEl instanceof HTMLElement ? [this.referenceEl] : void 0} class=${safeClassMap({
@@ -9,7 +9,7 @@ import type { SelectionMode } from "../interfaces.js";
9
9
  */
10
10
  export abstract class DropdownGroup extends LitElement {
11
11
  /** When specified, displays a group title. */
12
- accessor groupTitle: string;
12
+ accessor groupTitle: string | undefined;
13
13
  /**
14
14
  * The position of the group in the dropdown menu.
15
15
  *
@@ -3,7 +3,7 @@ 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
5
  import { c as createObserver } from "../../chunks/observers.js";
6
- import { C as CSS$1 } from "../../chunks/resources7.js";
6
+ import { C as CSS$1 } from "../../chunks/resources9.js";
7
7
  const CSS = {
8
8
  title: "title",
9
9
  firstTitle: "first-title",
@@ -57,7 +57,7 @@ class DropdownGroup extends LitElement {
57
57
  render() {
58
58
  const groupTitle = this.groupTitle ? html`<span aria-hidden=true class=${safeClassMap({ [CSS.title]: true, [CSS.firstTitle]: this.position === 0 })}>${this.groupTitle}</span>` : null;
59
59
  const dropdownSeparator = this.position > 0 ? html`<div class=${safeClassMap(CSS.separator)} role=separator></div>` : null;
60
- this.el.ariaLabel = this.groupTitle;
60
+ this.el.ariaLabel = this.groupTitle ?? null;
61
61
  this.el.role = "group";
62
62
  return html`<div class=${safeClassMap({
63
63
  [CSS$1.container]: true
@@ -24,17 +24,17 @@ export abstract class DropdownItem extends LitElement {
24
24
  *
25
25
  * Determines if the component will render as an anchor.
26
26
  */
27
- accessor href: string;
27
+ accessor href: string | undefined;
28
28
  /** Specifies an icon to display at the end of the component. */
29
- accessor iconEnd: IconName;
29
+ accessor iconEnd: IconName | undefined;
30
30
  /** When the element direction is right-to-left (`"rtl"`), flips the component's `iconStart` and/or `iconEnd`. */
31
- accessor iconFlipRtl: FlipContext;
31
+ accessor iconFlipRtl: FlipContext | undefined;
32
32
  /** Specifies an icon to display at the start of the component. */
33
- accessor iconStart: IconName;
33
+ accessor iconStart: IconName | undefined;
34
34
  /** Specifies an accessible label for the component. */
35
- accessor label: string;
35
+ accessor label: string | undefined;
36
36
  /** Specifies the relationship to the linked resource defined in `href`. */
37
- accessor rel: string;
37
+ accessor rel: string | undefined;
38
38
  /**
39
39
  * When `true`, the component is selected.
40
40
  *
@@ -42,7 +42,7 @@ export abstract class DropdownItem extends LitElement {
42
42
  */
43
43
  accessor selected: boolean;
44
44
  /** Specifies the frame or window to open the linked resource. */
45
- accessor target: string;
45
+ accessor target: string | undefined;
46
46
  /**
47
47
  * Sets focus on the component.
48
48
  *
@@ -7,7 +7,7 @@ import { t as toAriaBoolean } from "../../chunks/aria.js";
7
7
  import { g as getIconScale } from "../../chunks/component.js";
8
8
  import { u as useSetFocus } from "../../chunks/useSetFocus.js";
9
9
  import { u as useInteractive } from "../../chunks/useInteractive.js";
10
- import { C as CSS, I as ICONS } from "../../chunks/resources7.js";
10
+ import { C as CSS, I as ICONS } from "../../chunks/resources9.js";
11
11
  const styles = css`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;flex-grow:1;align-items:center;outline:2px solid transparent;outline-offset:2px}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1));text-align:start}.container a{outline:none;position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1))}.content{flex:1 1 auto}.icon{position:relative;opacity:0;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:scale(.9)}.icon--start,.icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color, var(--calcite-color-text-3))}:host([scale=s]) .container{padding-block:.25rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s]) .icon,:host([scale=s]) .icon--start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .icon--end{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-block:.5rem;padding-inline:.75rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) .icon,:host([scale=m]) .icon--start{padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .icon--end{padding-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-block:var(--calcite-space-sm-plus);padding-inline:1rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .icon,:host([scale=l]) .icon--start{padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .icon--end{padding-inline-start:var(--calcite-spacing-lg)}:host(:focus) .container,:host([active-descendant]) .container{text-decoration-line:none;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:hover:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-hover, var(--calcite-color-foreground-2))}:host(:active:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-press, var(--calcite-color-foreground-3))}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{text-decoration-line:none;color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .icon--start,:host(:hover:not([disabled])) .icon--end,:host(:active:not([disabled])) .icon--start,:host(:active:not([disabled])) .icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .link,:host(:active:not([disabled])) .link{color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host([selected]) .container:not(.container--none-selection),:host([selected]) .link{font-weight:var(--calcite-font-weight-medium);--calcite-internal-dropdown-item-text-color: var( --calcite-dropdown-item-text-color-press, var(--calcite-color-text-1) );color:var(--calcite-internal-dropdown-item-text-color)}:host([selected]) .container:not(.container--none-selection) .icon,:host([selected]) .link .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-press, var(--calcite-color-brand))}:host([selected]) .container:not(.container--none-selection) .icon--start,:host([selected]) .container:not(.container--none-selection) .icon--end,:host([selected]) .link .icon--start,:host([selected]) .link .icon--end{--calcite-icon-color: var(--calcite-internal-dropdown-item-text-color)}:host(:hover:not([disabled])) .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-hover)}:host([selected]) .icon{opacity:1}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
12
12
  class DropdownItem extends LitElement {
13
13
  constructor() {
@@ -55,7 +55,7 @@ class DropdownItem extends LitElement {
55
55
  this.emitRequestedItem();
56
56
  }
57
57
  updateActiveItemOnChange(event) {
58
- const parentEmittedChange = event.composedPath().includes(this.parentDropdownGroupEl);
58
+ const parentEmittedChange = this.parentDropdownGroupEl && event.composedPath().includes(this.parentDropdownGroupEl);
59
59
  if (parentEmittedChange) {
60
60
  this.requestedDropdownGroup = event.detail.requestedDropdownGroup;
61
61
  this.requestedDropdownItem = event.detail.requestedDropdownItem;
@@ -64,7 +64,7 @@ class DropdownItem extends LitElement {
64
64
  event.stopPropagation();
65
65
  }
66
66
  initialize() {
67
- this.parentDropdownGroupEl = this.el.closest("calcite-dropdown-group");
67
+ this.parentDropdownGroupEl = this.el.closest("calcite-dropdown-group") ?? void 0;
68
68
  if (this.selectionMode === "none") {
69
69
  this.selected = false;
70
70
  }
@@ -106,7 +106,7 @@ class DropdownItem extends LitElement {
106
106
  const itemAria = selectionMode !== "none" ? toAriaBoolean(this.selected) : null;
107
107
  const { disabled } = this;
108
108
  this.el.ariaChecked = itemAria;
109
- this.el.ariaLabel = !href ? label : "";
109
+ this.el.ariaLabel = !href ? label ?? null : "";
110
110
  this.el.role = itemRole;
111
111
  setAttribute(this.el, "tabIndex", -1);
112
112
  return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap({
@@ -108,7 +108,7 @@ class Filter extends LitElement {
108
108
  }
109
109
  render() {
110
110
  const { disabled, scale } = this;
111
- return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap(CSS.container)}><label><calcite-input clearable .disabled=${disabled} .icon=${ICONS.search} .label=${this.label ?? this.messages.label} .messageOverrides=${{ clear: this.messages.clear }} @keydown=${this.keyDownHandler} @calciteInputInput=${this.inputHandler} .placeholder=${this.placeholder} .scale=${scale} type=text .value=${this.value} ${ref(this.textInputRef)}></calcite-input></label></div>` });
111
+ return this.interactiveContainer({ disabled, children: html`<div class=${safeClassMap(CSS.container)}><label><calcite-input clearable .disabled=${disabled} .icon=${ICONS.search} .label=${this.label ?? this.messages.label} .messageOverrides=${{ clear: this.messages.clear }} @calciteInputInput=${this.inputHandler} @keydown=${this.keyDownHandler} .placeholder=${this.placeholder} .scale=${scale} type=text .value=${this.value} ${ref(this.textInputRef)}></calcite-input></label></div>` });
112
112
  }
113
113
  }
114
114
  customElement("calcite-filter", Filter);
@@ -85,7 +85,7 @@ export abstract class FlowItem extends LitElement {
85
85
  * @default false
86
86
  */
87
87
  accessor collapsible: boolean;
88
- /** Specifies a the component's description. */
88
+ /** Specifies a description for the component. */
89
89
  accessor description: string;
90
90
  /**
91
91
  * When `true`, prevents interaction and decreases the component's opacity.
@@ -153,9 +153,7 @@ export abstract class FlowItem extends LitElement {
153
153
  */
154
154
  accessor showBackButton: boolean;
155
155
  /**
156
- * When `true` and the component is `open`, disables top layer placement.
157
- *
158
- * Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
156
+ * When `true` and the component is `open`, disables top layer placement. Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components.
159
157
  *
160
158
  * @default false
161
159
  * @see [MDN - Top Layer](https://developer.mozilla.org/en-US/docs/Glossary/Top_layer)
@@ -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/resources6.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";
@@ -8,16 +8,16 @@ export abstract class Graph extends LitElement {
8
8
  * Array of values describing a single color stop ([offset, color, opacity])
9
9
  * These color stops should be sorted by offset value.
10
10
  */
11
- accessor colorStops: ColorStop[];
11
+ accessor colorStops: ColorStop[] | undefined;
12
12
  /**
13
13
  * Array of tuples describing a single data point ([x, y])
14
14
  * These data points should be sorted by x-axis value.
15
15
  */
16
16
  accessor data: DataSeries;
17
17
  /** End of highlight color if highlighting range. */
18
- accessor highlightMax: number;
18
+ accessor highlightMax: number | undefined;
19
19
  /** Start of highlight color if highlighting range. */
20
- accessor highlightMin: number;
20
+ accessor highlightMin: number | undefined;
21
21
  /**
22
22
  * Highest point of the range.
23
23
  *
@@ -9,8 +9,8 @@ function slope(p0, p1, p2) {
9
9
  const dx1 = p2[0] - p1[0];
10
10
  const dy = p1[1] - p0[1];
11
11
  const dy1 = p2[1] - p1[1];
12
- const m = dy / (dx || dx1 < 0 && 0);
13
- const m1 = dy1 / (dx1 || dx < 0 && 0);
12
+ const m = dy / Number(dx || dx1 < 0 && 0);
13
+ const m1 = dy1 / Number(dx1 || dx < 0 && 0);
14
14
  const p = (m * dx1 + m1 * dx) / (dx + dx1);
15
15
  return (Math.sign(m) + Math.sign(m1)) * Math.min(Math.abs(m), Math.abs(m1), 0.5 * Math.abs(p)) || 0;
16
16
  }
@@ -125,36 +125,32 @@ class Graph extends LitElement {
125
125
  currentMax = [max, rangeMax[1]];
126
126
  }
127
127
  const t = translate({ min: currentMin, max: currentMax, width, height });
128
- const [hMinX] = t([highlightMin, currentMax[1]]);
129
- const [hMaxX] = t([highlightMax, currentMax[1]]);
130
128
  const areaPath = area({ data, min: rangeMin, max: rangeMax, t });
131
129
  const fill = colorStops ? `url(#${IDS.linearGradient(id)})` : void 0;
132
- return html`<svg aria-hidden=true class=${safeClassMap(CSS.svg)} height=${height ?? nothing} preserveAspectRatio=none viewBox=${`0 0 ${width} ${height}`} width=${width ?? nothing}>${colorStops ? svg`<defs><linearGradient id=${IDS.linearGradient(id) ?? nothing} x1=0 x2=1 y1=0 y2=0>${colorStops.map(({ offset, color, opacity }) => svg`<stop offset=${`${offset * 100}%`} stop-color=${color ?? nothing} stop-opacity=${opacity ?? nothing} />`)}</linearGradient></defs>` : null}${highlightMin !== void 0 ? [
133
- svg`<mask height=100% id=${IDS.mask(id, 1) ?? nothing} width=100% x=0% y=0%><path d=${`
130
+ if (highlightMin !== void 0 && highlightMax !== void 0) {
131
+ const [hMinX] = t([highlightMin, currentMax[1]]);
132
+ const [hMaxX] = t([highlightMax, currentMax[1]]);
133
+ return html`<svg aria-hidden=true class=${safeClassMap(CSS.svg)} height=${height ?? nothing} preserveAspectRatio=none viewBox=${`0 0 ${width} ${height}`} width=${width ?? nothing}>${svg`${colorStops ? svg`<defs><linearGradient id=${IDS.linearGradient(id) ?? nothing} x1=0 x2=1 y1=0 y2=0>${colorStops.map(({ offset, color, opacity }) => svg`<stop offset=${`${offset * 100}%`} stop-color=${color ?? nothing} stop-opacity=${opacity ?? nothing} />`)}</linearGradient></defs>` : null}<mask height=100% id=${IDS.mask(id, 1) ?? nothing} width=100% x=0% y=0%><path d=${`
134
134
  M 0,0
135
135
  L ${hMinX - 1},0
136
136
  L ${hMinX - 1},${height}
137
137
  L 0,${height}
138
138
  Z
139
- `} fill=white /></mask>`,
140
- svg`<mask height=100% id=${IDS.mask(id, 2) ?? nothing} width=100% x=0% y=0%><path d=${`
139
+ `} fill=white /></mask><mask height=100% id=${IDS.mask(id, 2) ?? nothing} width=100% x=0% y=0%><path d=${`
141
140
  M ${hMinX + 1},0
142
141
  L ${hMaxX - 1},0
143
142
  L ${hMaxX - 1},${height}
144
143
  L ${hMinX + 1}, ${height}
145
144
  Z
146
- `} fill=white /></mask>`,
147
- svg`<mask height=100% id=${IDS.mask(id, 3) ?? nothing} width=100% x=0% y=0%><path d=${`
145
+ `} fill=white /></mask><mask height=100% id=${IDS.mask(id, 3) ?? nothing} width=100% x=0% y=0%><path d=${`
148
146
  M ${hMaxX + 1},0
149
147
  L ${width},0
150
148
  L ${width},${height}
151
149
  L ${hMaxX + 1}, ${height}
152
150
  Z
153
- `} fill=white /></mask>`,
154
- svg`<path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 1)})`} />`,
155
- svg`<path class=${safeClassMap(CSS.graphPathHighlight)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 2)})`} />`,
156
- svg`<path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 3)})`} />`
157
- ] : svg`<path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} />`}</svg>`;
151
+ `} fill=white /></mask><path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 1)})`} /><path class=${safeClassMap(CSS.graphPathHighlight)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 2)})`} /><path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} mask=${`url(#${IDS.mask(id, 3)})`} />`}</svg>`;
152
+ }
153
+ return html`<svg aria-hidden=true class=${safeClassMap(CSS.svg)} height=${height ?? nothing} preserveAspectRatio=none viewBox=${`0 0 ${width} ${height}`} width=${width ?? nothing}>${svg`${colorStops ? svg`<defs><linearGradient id=${IDS.linearGradient(id) ?? nothing} x1=0 x2=1 y1=0 y2=0>${colorStops.map(({ offset, color, opacity }) => svg`<stop offset=${`${offset * 100}%`} stop-color=${color ?? nothing} stop-opacity=${opacity ?? nothing} />`)}</linearGradient></defs>` : null}<path class=${safeClassMap(CSS.graphPath)} d=${areaPath ?? nothing} fill=${fill ?? nothing} />`}</svg>`;
158
154
  }
159
155
  }
160
156
  customElement("calcite-graph", Graph);
@@ -19,7 +19,7 @@ export abstract class Icon extends LitElement {
19
19
  *
20
20
  * @see [Calcite UI Icons](https://developers.arcgis.com/calcite-design-system/icons).
21
21
  */
22
- accessor icon: IconName;
22
+ accessor icon: IconName | null;
23
23
  /**
24
24
  * When `true`, preloads the `icon` data.
25
25
  *
@@ -37,5 +37,5 @@ export abstract class Icon extends LitElement {
37
37
  *
38
38
  * It is recommended to set this value if your icon is semantic.
39
39
  */
40
- accessor textLabel: string;
40
+ accessor textLabel: string | undefined;
41
41
  }
@@ -103,7 +103,7 @@ class Icon extends LitElement {
103
103
  disconnectedCallback() {
104
104
  super.disconnectedCallback();
105
105
  this.intersectionObserver?.disconnect();
106
- this.intersectionObserver = null;
106
+ this.intersectionObserver = void 0;
107
107
  }
108
108
  async loadIconPathData() {
109
109
  const { icon, scale, visible } = this;
@@ -121,8 +121,8 @@ class Icon extends LitElement {
121
121
  this.intersectionObserver = createObserver("intersection", (entries) => {
122
122
  entries.forEach((entry) => {
123
123
  if (entry.isIntersecting) {
124
- this.intersectionObserver.disconnect();
125
- this.intersectionObserver = null;
124
+ this.intersectionObserver?.disconnect();
125
+ this.intersectionObserver = void 0;
126
126
  callback();
127
127
  }
128
128
  });
@@ -138,7 +138,7 @@ class Icon extends LitElement {
138
138
  const dir = this.direction;
139
139
  const size = scaleToPx[scale];
140
140
  const semantic = !!textLabel;
141
- const paths = [].concat(pathData || "");
141
+ const paths = Array.isArray(pathData) ? pathData : [pathData ?? ""];
142
142
  this.el.ariaHidden = toAriaBoolean(!semantic);
143
143
  this.el.ariaLabel = semantic ? textLabel : null;
144
144
  this.el.role = semantic ? "img" : null;
@@ -5,6 +5,6 @@ export type IconName = KebabCaseIcons | CamelCaseIcons;
5
5
 
6
6
  export type CamelCaseIcons = ExtractBaseIcon<keyof typeof icons>;
7
7
 
8
- export type KebabCaseIcons = KebabCase<CamelCaseIcons>;
8
+ export type KebabCaseIcons = KebabCase<CamelCaseIcons, { splitOnNumbers: true; }>;
9
9
 
10
10
  export type ExtractBaseIcon<T> = T extends `${infer Base}${"16" | "24" | "32"}F` ? `${Base}F` : T extends `${infer Base}F` ? `${Base}F` : T extends `${infer Base}${"16" | "24" | "32"}` ? Base : never;
@@ -13,7 +13,7 @@ import type { Scale } from "../interfaces.js";
13
13
  */
14
14
  export abstract class InlineEditable extends LitElement {
15
15
  /** Specifies a callback to be executed prior to disabling editing via the controls. When provided, the component's loading state will be handled automatically. */
16
- accessor afterConfirm: () => Promise<void>;
16
+ accessor afterConfirm: (() => Promise<void>) | undefined;
17
17
  /**
18
18
  * When `true` and `editingEnabled` is `true`, displays save and cancel controls.
19
19
  *
@@ -30,6 +30,8 @@ class InlineEditable extends LitElement {
30
30
  this.cancelEditingButtonRef = createRef();
31
31
  this._editingEnabled = false;
32
32
  this.enableEditingButtonRef = createRef();
33
+ this.shouldEmitCancel = false;
34
+ this.valuePriorToEditing = "";
33
35
  this.messages = useT9n();
34
36
  this.focusSetter = useSetFocus()(this);
35
37
  this.interactiveContainer = useInteractive(this);
@@ -102,7 +104,7 @@ class InlineEditable extends LitElement {
102
104
  this.setFocus();
103
105
  }
104
106
  enableEditing() {
105
- this.valuePriorToEditing = this.inputEl?.value;
107
+ this.valuePriorToEditing = this.inputEl?.value ?? "";
106
108
  this.editingEnabled = true;
107
109
  this.inputEl?.setFocus();
108
110
  this.calciteInternalInlineEditableEnableEditingChange.emit();
@@ -131,7 +133,7 @@ class InlineEditable extends LitElement {
131
133
  if (event.key === "Tab" && this.shouldShowControls) {
132
134
  if (!event.shiftKey && event.target === this.inputEl) {
133
135
  event.preventDefault();
134
- this.cancelEditingButtonRef.value.setFocus();
136
+ this.cancelEditingButtonRef.value?.setFocus();
135
137
  }
136
138
  if (!!event.shiftKey && event.target === this.cancelEditingButtonRef.value) {
137
139
  event.preventDefault();
@@ -35,7 +35,7 @@ export abstract class Input extends LitElement {
35
35
  *
36
36
  * @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)
37
37
  */
38
- accessor accept: string;
38
+ accessor accept: string | undefined;
39
39
  /**
40
40
  * Specifies the text alignment of the component's `value`.
41
41
  *
@@ -48,7 +48,7 @@ export abstract class Input extends LitElement {
48
48
  *
49
49
  * @see [MDN - autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)
50
50
  */
51
- accessor autocomplete: AutoFill;
51
+ accessor autocomplete: AutoFill | undefined;
52
52
  /**
53
53
  * When `true` and the component has a `value`, a clear button is displayed. The clear button shows by default for `"search"`, `"time"`, and `"date"` types.
54
54
  *
@@ -68,12 +68,8 @@ export abstract class Input extends LitElement {
68
68
  * @see [MDN - files](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)
69
69
  */
70
70
  accessor files: FileList | undefined;
71
- /**
72
- * Specifies the `id` of the component's associated form.
73
- *
74
- * When not set, the component is associated with its ancestor form element, if one exists.
75
- */
76
- accessor form: string;
71
+ /** Specifies the `id` of the component's associated form. When not set, the component is associated with its ancestor form element, if one exists. */
72
+ accessor form: string | undefined;
77
73
  /**
78
74
  * When `true`, number values are displayed with a group separator corresponding to the language and country format.
79
75
  *
@@ -81,7 +77,7 @@ export abstract class Input extends LitElement {
81
77
  */
82
78
  accessor groupSeparator: boolean;
83
79
  /** When `true`, displays a default recommended icon. Alternatively, pass a Calcite UI Icon name to display a specific icon. */
84
- accessor icon: IconName | boolean;
80
+ accessor icon: IconName | boolean | undefined;
85
81
  /**
86
82
  * When `true` and the element direction is right-to-left (`"rtl"`), flips the component`s `icon`.
87
83
  *
@@ -89,9 +85,9 @@ export abstract class Input extends LitElement {
89
85
  */
90
86
  accessor iconFlipRtl: boolean;
91
87
  /** Specifies an accessible label for the component. */
92
- accessor label: string;
88
+ accessor label: string | undefined;
93
89
  /** Specifies the component's label text. */
94
- accessor labelText: string;
90
+ accessor labelText: string | undefined;
95
91
  /**
96
92
  * When `true`, a busy indicator is displayed.
97
93
  *
@@ -104,17 +100,20 @@ export abstract class Input extends LitElement {
104
100
  *
105
101
  * @see [MDN - max](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max)
106
102
  */
107
- accessor max: number;
103
+ accessor max: number | undefined;
108
104
  /**
109
105
  * When the component resides in a form,
110
106
  * specifies the maximum length of text for the component's `value`.
111
107
  *
112
108
  * @see [MDN - maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#maxlength)
113
109
  */
114
- accessor maxLength: number;
110
+ accessor maxLength: number | undefined;
115
111
  /** Overrides individual strings used by the component. */
116
112
  accessor messageOverrides: {
113
+ cancelInlineEditing?: string;
117
114
  clear?: string;
115
+ confirmInlineEditingChanges?: string;
116
+ enableInlineEditing?: string;
118
117
  loading?: string;
119
118
  required?: string;
120
119
  };
@@ -124,14 +123,14 @@ export abstract class Input extends LitElement {
124
123
  *
125
124
  * @see [MDN - min](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min)
126
125
  */
127
- accessor min: number;
126
+ accessor min: number | undefined;
128
127
  /**
129
128
  * When the component resides in a form,
130
129
  * specifies the minimum length of text for the component's `value`.
131
130
  *
132
131
  * @see [MDN - minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#minlength)
133
132
  */
134
- accessor minLength: number;
133
+ accessor minLength: number | undefined;
135
134
  /**
136
135
  * When `true` and `type` is `"email"` or `"file"`, the component can accept more than one value.
137
136
  * Read the native attribute's documentation on MDN for more info.
@@ -147,7 +146,7 @@ export abstract class Input extends LitElement {
147
146
  *
148
147
  * @see [MDN - name](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#name)
149
148
  */
150
- accessor name: string;
149
+ accessor name: string | undefined;
151
150
  /**
152
151
  * When `type="number"`, specifies the placement of the buttons.
153
152
  *
@@ -155,7 +154,7 @@ export abstract class Input extends LitElement {
155
154
  */
156
155
  accessor numberButtonType: InputPlacement;
157
156
  /** Specifies the Unicode numeral system used by the component for localization. */
158
- accessor numberingSystem: NumberingSystem;
157
+ accessor numberingSystem: NumberingSystem | undefined;
159
158
  /**
160
159
  * When the component resides in a form,
161
160
  * specifies a regular expression (regex) pattern the component's `value` must match for validation.
@@ -163,15 +162,15 @@ export abstract class Input extends LitElement {
163
162
  *
164
163
  * @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern)
165
164
  */
166
- accessor pattern: string;
165
+ accessor pattern: string | undefined;
167
166
  /**
168
167
  * Specifies the component's placeholder text.
169
168
  *
170
169
  * @see [MDN - placeholder](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#placeholder)
171
170
  */
172
- accessor placeholder: string;
171
+ accessor placeholder: string | undefined;
173
172
  /** Specifies text to display at the start of the component. */
174
- accessor prefixText: string;
173
+ accessor prefixText: string | undefined;
175
174
  /**
176
175
  * When `true`, the component's `value` can be read, but cannot be modified.
177
176
  *
@@ -203,9 +202,9 @@ export abstract class Input extends LitElement {
203
202
  *
204
203
  * @see [MDN - step](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step)
205
204
  */
206
- accessor step: number | "any";
205
+ accessor step: number | "any" | undefined;
207
206
  /** Specifies text to display at the end of the component. */
208
- accessor suffixText: string;
207
+ accessor suffixText: string | undefined;
209
208
  /**
210
209
  * Specifies the component type.
211
210
  *
@@ -215,9 +214,9 @@ export abstract class Input extends LitElement {
215
214
  */
216
215
  accessor type: "color" | "date" | "datetime-local" | "email" | "file" | "image" | "month" | "number" | "password" | "search" | "tel" | "text" | "time" | "url" | "week";
217
216
  /** Specifies the validation icon to display under the component. */
218
- accessor validationIcon: IconName | boolean;
217
+ accessor validationIcon: IconName | boolean | undefined;
219
218
  /** Specifies the validation message to display under the component. */
220
- accessor validationMessage: string;
219
+ accessor validationMessage: string | undefined;
221
220
  /**
222
221
  * The component's current validation state.
223
222
  *