@esri/calcite-components 5.1.0-next.5 → 5.1.0-next.51

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 (481) hide show
  1. package/dist/cdn/2I23BJUK.js +2 -0
  2. package/dist/cdn/2MK42DZ4.js +2 -0
  3. package/dist/cdn/2RVF53XU.js +2 -0
  4. package/dist/cdn/{25YVFVC7.js → 2VEIQ62E.js} +1 -1
  5. package/dist/cdn/36JLOHBC.js +2 -0
  6. package/dist/cdn/{HHOMMC4H.js → 3B5PYTVX.js} +1 -1
  7. package/dist/cdn/3BZBBTUA.js +2 -0
  8. package/dist/cdn/3FXX3SBS.js +2 -0
  9. package/dist/cdn/3JTJC2PS.js +2 -0
  10. package/dist/cdn/3N3O22QG.js +2 -0
  11. package/dist/cdn/3ZXALV6G.js +2 -0
  12. package/dist/cdn/43E5QBXB.js +2 -0
  13. package/dist/cdn/{IJP6ZKHZ.js → 456IFPIW.js} +1 -1
  14. package/dist/cdn/{GNDNKP2Q.js → 4F5KQIRB.js} +1 -1
  15. package/dist/cdn/4HQ5QYH2.js +2 -0
  16. package/dist/cdn/{ZKPCUAN2.js → 4J3DARRE.js} +1 -1
  17. package/dist/cdn/4R54D2BX.js +2 -0
  18. package/dist/cdn/4RTJFM5B.js +2 -0
  19. package/dist/cdn/4TA4AAFT.js +2 -0
  20. package/dist/cdn/52IJCUEV.js +2 -0
  21. package/dist/cdn/5EOFDLJO.js +2 -0
  22. package/dist/cdn/{2QARK4VJ.js → 5M27WGKA.js} +1 -1
  23. package/dist/cdn/5WVRAQRW.js +2 -0
  24. package/dist/cdn/6BFJTIPA.js +2 -0
  25. package/dist/cdn/{5TCLHXAD.js → 6D5PCSHS.js} +1 -1
  26. package/dist/cdn/6TSA7FLB.js +2 -0
  27. package/dist/cdn/{HUNZU2OF.js → 73ORJJZS.js} +1 -1
  28. package/dist/cdn/{5SU52VYR.js → 75SY2WE4.js} +1 -1
  29. package/dist/cdn/{VB7GHJWK.js → 7ECSU3T3.js} +1 -1
  30. package/dist/cdn/{RGKOGN5W.js → 7GZ4RW44.js} +1 -1
  31. package/dist/cdn/{NAFJ5ZYO.js → 7NDXWX7R.js} +1 -1
  32. package/dist/cdn/{5L7CGWWD.js → 7RZYNANK.js} +1 -1
  33. package/dist/cdn/{DY6SXW3X.js → A2KNWLOL.js} +1 -1
  34. package/dist/cdn/{BPSXK66S.js → AEPM5SJO.js} +1 -1
  35. package/dist/cdn/{ZVFZSDLX.js → AEZOU5JE.js} +1 -1
  36. package/dist/cdn/{NIBBUVHR.js → AK66BMBC.js} +1 -1
  37. package/dist/cdn/{RRNEZXM4.js → AR7ZPQQG.js} +1 -1
  38. package/dist/cdn/B6R2YN2X.js +2 -0
  39. package/dist/cdn/{NNSUCRNU.js → BF7DR726.js} +1 -1
  40. package/dist/cdn/BHS72XYT.js +2 -0
  41. package/dist/cdn/{UUHRTJGO.js → C42SNF33.js} +1 -1
  42. package/dist/cdn/C53YAAVC.js +2 -0
  43. package/dist/cdn/CDSIG642.js +2 -0
  44. package/dist/cdn/CJGERVGF.js +4 -0
  45. package/dist/cdn/{3NNVHOGK.js → CRL6VQWS.js} +1 -1
  46. package/dist/cdn/{KVPLQQ75.js → DAQX6BT3.js} +1 -1
  47. package/dist/cdn/{EHIAXJAL.js → DCWL5FUH.js} +1 -1
  48. package/dist/cdn/{AJKEEG2Z.js → DUAPF33E.js} +1 -1
  49. package/dist/cdn/DWPX74WA.js +2 -0
  50. package/dist/cdn/{YQOYGBGD.js → EBGVT22W.js} +1 -1
  51. package/dist/cdn/EW3UPJT7.js +2 -0
  52. package/dist/cdn/FB545PKU.js +2 -0
  53. package/dist/cdn/GFPWU57X.js +2 -0
  54. package/dist/cdn/{O75ZRZLS.js → GTALENKO.js} +1 -1
  55. package/dist/cdn/H5UVCR64.js +2 -0
  56. package/dist/cdn/{ODOOWGRW.js → H6UBX3WZ.js} +1 -1
  57. package/dist/cdn/HGRS2NBC.js +2 -0
  58. package/dist/cdn/{QVTLP2LK.js → HM2E526S.js} +1 -1
  59. package/dist/cdn/HPVBLELP.js +2 -0
  60. package/dist/cdn/{FWEFFYYZ.js → HPWLGQL6.js} +1 -1
  61. package/dist/cdn/{752PQ7IA.js → HULUX4S6.js} +1 -1
  62. package/dist/cdn/{MQMNX7AM.js → I24CZVLP.js} +1 -1
  63. package/dist/cdn/{2GS6R2BX.js → IHLWJXZV.js} +1 -1
  64. package/dist/cdn/{NMIBGEIB.js → IIBZXYLU.js} +1 -1
  65. package/dist/cdn/{SVHI2LRC.js → IRVWWA2A.js} +1 -1
  66. package/dist/cdn/{DR7JKZAI.js → ISMO77VP.js} +1 -1
  67. package/dist/cdn/{2Z4Z3NMS.js → IZEFSP2C.js} +1 -1
  68. package/dist/cdn/JA5TE633.js +2 -0
  69. package/dist/cdn/JKAB4LS7.js +2 -0
  70. package/dist/cdn/{42NQN6DY.js → JLGDNYBI.js} +1 -1
  71. package/dist/cdn/{PNXNTD3R.js → JOTX7MS6.js} +1 -1
  72. package/dist/cdn/{3LOKHBAB.js → K43SJYRB.js} +1 -1
  73. package/dist/cdn/{ALC6PGDZ.js → K7UPFMP3.js} +1 -1
  74. package/dist/cdn/{X53XDNBL.js → KC5UAIPG.js} +1 -1
  75. package/dist/cdn/{6XJYCX76.js → KDMQ3W3P.js} +1 -1
  76. package/dist/cdn/{HGRVTRR3.js → KIIYDDSF.js} +1 -1
  77. package/dist/cdn/KJUZSP7X.js +2 -0
  78. package/dist/cdn/KVNTMFIR.js +2 -0
  79. package/dist/cdn/{OGOI7JTF.js → KWNGJXWC.js} +1 -1
  80. package/dist/cdn/{K4R3HUW3.js → KXSIX7V7.js} +1 -1
  81. package/dist/cdn/LA3AJSXV.js +2 -0
  82. package/dist/cdn/LSOSPUDS.js +2 -0
  83. package/dist/cdn/M4BORA6H.js +2 -0
  84. package/dist/cdn/{3L2WKJUB.js → M77EYDBR.js} +1 -1
  85. package/dist/cdn/{D7UER3G6.js → MAH7GW3L.js} +1 -1
  86. package/dist/cdn/{UYYGQ6AY.js → MFLXU5FA.js} +1 -1
  87. package/dist/cdn/{C25VFIND.js → MRXZATZZ.js} +1 -1
  88. package/dist/cdn/MU5LNKS7.js +2 -0
  89. package/dist/cdn/MUMG74E5.js +2 -0
  90. package/dist/cdn/MVK6LWK5.js +2 -0
  91. package/dist/cdn/{3GV45XL7.js → MYDCGCGV.js} +1 -1
  92. package/dist/cdn/MYKZPZDR.js +2 -0
  93. package/dist/cdn/{CWQZDXHH.js → NIASU3O6.js} +1 -1
  94. package/dist/cdn/{22IPJDDL.js → NKBT2QG4.js} +1 -1
  95. package/dist/cdn/NL6QGGPB.js +2 -0
  96. package/dist/cdn/NPKYZEEF.js +2 -0
  97. package/dist/cdn/{ZPJ4FGXO.js → OFR37WBK.js} +1 -1
  98. package/dist/cdn/{SP22KLIK.js → OL7ZYBX6.js} +1 -1
  99. package/dist/cdn/P6VMV62Z.js +2 -0
  100. package/dist/cdn/{B55VO4LW.js → PDXU6HPZ.js} +1 -1
  101. package/dist/cdn/PIKLS5KR.js +2 -0
  102. package/dist/cdn/PJ4SD5FY.js +2 -0
  103. package/dist/cdn/PLG6IIYK.js +3 -0
  104. package/dist/cdn/{NT6RQTF7.js → PPBHKZJI.js} +1 -1
  105. package/dist/cdn/{H77SNVVI.js → Q75PWKQ3.js} +1 -1
  106. package/dist/cdn/QJBPXLTP.js +2 -0
  107. package/dist/cdn/{Q52IY7SS.js → QLOR2RB5.js} +1 -1
  108. package/dist/cdn/QTHYRIFY.js +2 -0
  109. package/dist/cdn/QVXAQXDL.js +2 -0
  110. package/dist/cdn/R2ZRQO3L.js +2 -0
  111. package/dist/cdn/RGLUZ76B.js +2 -0
  112. package/dist/cdn/{EY4MG3NU.js → RPAL2ENA.js} +1 -1
  113. package/dist/cdn/{ZKCFISUX.js → RRJKRT7F.js} +1 -1
  114. package/dist/cdn/S7EIG7Q5.js +2 -0
  115. package/dist/cdn/{5J2UYJYX.js → SCXKWH7Z.js} +1 -1
  116. package/dist/cdn/{PYD5GHXA.js → SKAIHX6Z.js} +1 -1
  117. package/dist/cdn/{IU4TJIME.js → SXV7WCPS.js} +1 -1
  118. package/dist/cdn/T4Q6C4CT.js +2 -0
  119. package/dist/cdn/TGQJUML7.js +2 -0
  120. package/dist/cdn/TSNOYPVI.js +2 -0
  121. package/dist/cdn/{MM6LZCYO.js → TZ7BLX2N.js} +1 -1
  122. package/dist/cdn/{TZFOTRCX.js → U63LB523.js} +1 -1
  123. package/dist/cdn/U6HPCAAW.js +2 -0
  124. package/dist/cdn/{UVJ3XYK5.js → UPTGE4WC.js} +1 -1
  125. package/dist/cdn/USOHYTXD.js +2 -0
  126. package/dist/cdn/{T2MUZ4UN.js → UY7QVK74.js} +1 -1
  127. package/dist/cdn/VFLSIH3H.js +2 -0
  128. package/dist/cdn/{Y5FMVLYP.js → VHLCDJKY.js} +1 -1
  129. package/dist/cdn/{G4QI7VSJ.js → VRI5YMPE.js} +1 -1
  130. package/dist/cdn/{Z6LSD6MR.js → WBP7WHU4.js} +1 -1
  131. package/dist/cdn/WCTTX5WL.js +2 -0
  132. package/dist/cdn/{RH6ZIP65.js → WGGFNK4Z.js} +1 -1
  133. package/dist/cdn/WXDRYIO2.js +2 -0
  134. package/dist/cdn/WZ6F5SCK.js +2 -0
  135. package/dist/cdn/X2NBQO5I.js +2 -0
  136. package/dist/cdn/{IFLPCKYL.js → X44HUYME.js} +1 -1
  137. package/dist/cdn/XKYXT27V.js +2 -0
  138. package/dist/cdn/XUU2MRGP.js +2 -0
  139. package/dist/cdn/XUYLYALV.js +2 -0
  140. package/dist/cdn/XYFV7S74.js +2 -0
  141. package/dist/cdn/ZEUCKTPG.js +2 -0
  142. package/dist/cdn/ZKHWMGW5.js +2 -0
  143. package/dist/cdn/ZMX2MKUW.js +2 -0
  144. package/dist/cdn/ZOQOJDXL.js +2 -0
  145. package/dist/cdn/ZQCRV5XI.js +2 -0
  146. package/dist/cdn/ZRXGDZZT.js +4 -0
  147. package/dist/cdn/assets/combobox/t9n/messages.ar.json +1 -1
  148. package/dist/cdn/assets/combobox/t9n/messages.bg.json +1 -1
  149. package/dist/cdn/assets/combobox/t9n/messages.bs.json +1 -1
  150. package/dist/cdn/assets/combobox/t9n/messages.ca.json +1 -1
  151. package/dist/cdn/assets/combobox/t9n/messages.cs.json +1 -1
  152. package/dist/cdn/assets/combobox/t9n/messages.da.json +1 -1
  153. package/dist/cdn/assets/combobox/t9n/messages.de.json +1 -1
  154. package/dist/cdn/assets/combobox/t9n/messages.el.json +1 -1
  155. package/dist/cdn/assets/combobox/t9n/messages.en.json +1 -1
  156. package/dist/cdn/assets/combobox/t9n/messages.es.json +1 -1
  157. package/dist/cdn/assets/combobox/t9n/messages.et.json +1 -1
  158. package/dist/cdn/assets/combobox/t9n/messages.fi.json +1 -1
  159. package/dist/cdn/assets/combobox/t9n/messages.fr.json +1 -1
  160. package/dist/cdn/assets/combobox/t9n/messages.he.json +1 -1
  161. package/dist/cdn/assets/combobox/t9n/messages.hr.json +1 -1
  162. package/dist/cdn/assets/combobox/t9n/messages.hu.json +1 -1
  163. package/dist/cdn/assets/combobox/t9n/messages.id.json +1 -1
  164. package/dist/cdn/assets/combobox/t9n/messages.it.json +1 -1
  165. package/dist/cdn/assets/combobox/t9n/messages.ja.json +1 -1
  166. package/dist/cdn/assets/combobox/t9n/messages.json +1 -1
  167. package/dist/cdn/assets/combobox/t9n/messages.ko.json +1 -1
  168. package/dist/cdn/assets/combobox/t9n/messages.lt.json +1 -1
  169. package/dist/cdn/assets/combobox/t9n/messages.lv.json +1 -1
  170. package/dist/cdn/assets/combobox/t9n/messages.nl.json +1 -1
  171. package/dist/cdn/assets/combobox/t9n/messages.no.json +1 -1
  172. package/dist/cdn/assets/combobox/t9n/messages.pl.json +1 -1
  173. package/dist/cdn/assets/combobox/t9n/messages.pt-BR.json +1 -1
  174. package/dist/cdn/assets/combobox/t9n/messages.pt-PT.json +1 -1
  175. package/dist/cdn/assets/combobox/t9n/messages.ro.json +1 -1
  176. package/dist/cdn/assets/combobox/t9n/messages.ru.json +1 -1
  177. package/dist/cdn/assets/combobox/t9n/messages.sk.json +1 -1
  178. package/dist/cdn/assets/combobox/t9n/messages.sl.json +1 -1
  179. package/dist/cdn/assets/combobox/t9n/messages.sr.json +1 -1
  180. package/dist/cdn/assets/combobox/t9n/messages.sv.json +1 -1
  181. package/dist/cdn/assets/combobox/t9n/messages.th.json +1 -1
  182. package/dist/cdn/assets/combobox/t9n/messages.tr.json +1 -1
  183. package/dist/cdn/assets/combobox/t9n/messages.uk.json +1 -1
  184. package/dist/cdn/assets/combobox/t9n/messages.vi.json +1 -1
  185. package/dist/cdn/assets/combobox/t9n/messages.zh-CN.json +1 -1
  186. package/dist/cdn/assets/combobox/t9n/messages.zh-HK.json +1 -1
  187. package/dist/cdn/assets/combobox/t9n/messages.zh-TW.json +1 -1
  188. package/dist/cdn/assets/icon/arcgisQuickcapture16.json +1 -0
  189. package/dist/cdn/assets/icon/arcgisQuickcapture24.json +1 -0
  190. package/dist/cdn/assets/icon/arcgisQuickcapture32.json +1 -0
  191. package/dist/cdn/assets/icon/arcgisSurvey12316.json +1 -0
  192. package/dist/cdn/assets/icon/arcgisSurvey12324.json +1 -0
  193. package/dist/cdn/assets/icon/arcgisSurvey12332.json +1 -0
  194. package/dist/cdn/assets/icon/buttons16.json +1 -0
  195. package/dist/cdn/assets/icon/buttons24.json +1 -0
  196. package/dist/cdn/assets/icon/buttons32.json +1 -0
  197. package/dist/cdn/assets/icon/entityTypes16.json +1 -0
  198. package/dist/cdn/assets/icon/entityTypes24.json +1 -0
  199. package/dist/cdn/assets/icon/entityTypes32.json +1 -0
  200. package/dist/cdn/assets/icon/gpsReceiver16.json +1 -0
  201. package/dist/cdn/assets/icon/gpsReceiver24.json +1 -0
  202. package/dist/cdn/assets/icon/gpsReceiver32.json +1 -0
  203. package/dist/cdn/assets/icon/layerStreamSetting16.json +1 -0
  204. package/dist/cdn/assets/icon/layerStreamSetting24.json +1 -0
  205. package/dist/cdn/assets/icon/layerStreamSetting32.json +1 -0
  206. package/dist/cdn/assets/icon/publish16.json +1 -0
  207. package/dist/cdn/assets/icon/publish24.json +1 -0
  208. package/dist/cdn/assets/icon/publish32.json +1 -0
  209. package/dist/cdn/assets/icon/totalStation16.json +1 -0
  210. package/dist/cdn/assets/icon/totalStation24.json +1 -0
  211. package/dist/cdn/assets/icon/totalStation32.json +1 -0
  212. package/dist/cdn/assets/icon/velocityServer16.json +1 -0
  213. package/dist/cdn/assets/icon/velocityServer24.json +1 -0
  214. package/dist/cdn/assets/icon/velocityServer32.json +1 -0
  215. package/dist/cdn/index.js +2 -2
  216. package/dist/cdn/main.css +1 -1
  217. package/dist/chunks/ClearButton.js +16 -0
  218. package/dist/chunks/ExpandToggle.js +3 -3
  219. package/dist/chunks/Heading.js +3 -3
  220. package/dist/chunks/component.js +1 -1
  221. package/dist/chunks/dom.js +49 -28
  222. package/dist/chunks/floating-ui.js +2 -5
  223. package/dist/chunks/locale.js +29 -12
  224. package/dist/chunks/manager.js +505 -0
  225. package/dist/chunks/resources5.js +2 -1
  226. package/dist/chunks/resources6.js +2 -0
  227. package/dist/chunks/runtime.js +4 -4
  228. package/dist/chunks/useFocusTrap.js +25 -0
  229. package/dist/chunks/useForm.js +327 -0
  230. package/dist/chunks/useFormTrigger.js +25 -0
  231. package/dist/chunks/{sortableComponent.js → useSortable.js} +70 -44
  232. package/dist/chunks/utils.js +6 -6
  233. package/dist/chunks/utils3.js +18 -3
  234. package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
  235. package/dist/components/calcite-action/customElement.d.ts +14 -12
  236. package/dist/components/calcite-action/customElement.js +8 -14
  237. package/dist/components/calcite-action-bar/customElement.d.ts +12 -3
  238. package/dist/components/calcite-action-bar/customElement.js +47 -16
  239. package/dist/components/calcite-action-group/customElement.d.ts +12 -6
  240. package/dist/components/calcite-action-group/customElement.js +2 -1
  241. package/dist/components/calcite-action-menu/customElement.d.ts +2 -2
  242. package/dist/components/calcite-action-pad/customElement.d.ts +3 -3
  243. package/dist/components/calcite-action-pad/customElement.js +11 -6
  244. package/dist/components/calcite-alert/customElement.d.ts +2 -2
  245. package/dist/components/calcite-alert/customElement.js +1 -1
  246. package/dist/components/calcite-autocomplete/customElement.d.ts +16 -13
  247. package/dist/components/calcite-autocomplete/customElement.js +20 -31
  248. package/dist/components/calcite-autocomplete-item/customElement.d.ts +6 -0
  249. package/dist/components/calcite-autocomplete-item/customElement.js +9 -4
  250. package/dist/components/calcite-block/customElement.d.ts +5 -5
  251. package/dist/components/calcite-block/customElement.js +1 -1
  252. package/dist/components/calcite-block-group/customElement.d.ts +1 -1
  253. package/dist/components/calcite-block-group/customElement.js +4 -11
  254. package/dist/components/calcite-block-group/interfaces.d.ts +2 -6
  255. package/dist/components/calcite-block-section/customElement.d.ts +1 -1
  256. package/dist/components/calcite-button/customElement.d.ts +6 -6
  257. package/dist/components/calcite-button/customElement.js +10 -22
  258. package/dist/components/calcite-card/customElement.d.ts +11 -5
  259. package/dist/components/calcite-card/customElement.js +5 -3
  260. package/dist/components/calcite-card-group/customElement.d.ts +9 -3
  261. package/dist/components/calcite-card-group/customElement.js +11 -1
  262. package/dist/components/calcite-carousel/customElement.d.ts +1 -1
  263. package/dist/components/calcite-checkbox/customElement.d.ts +4 -5
  264. package/dist/components/calcite-checkbox/customElement.js +8 -22
  265. package/dist/components/calcite-chip/customElement.d.ts +2 -2
  266. package/dist/components/calcite-chip/customElement.js +1 -1
  267. package/dist/components/calcite-chip-group/customElement.d.ts +1 -1
  268. package/dist/components/calcite-color-picker/customElement.d.ts +2 -2
  269. package/dist/components/calcite-color-picker/customElement.js +2 -2
  270. package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
  271. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  272. package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
  273. package/dist/components/calcite-combobox/customElement.d.ts +5 -5
  274. package/dist/components/calcite-combobox/customElement.js +195 -108
  275. package/dist/components/calcite-combobox/index.js +2 -1
  276. package/dist/components/calcite-combobox-item/customElement.d.ts +1 -1
  277. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  278. package/dist/components/calcite-date-picker/customElement.d.ts +1 -1
  279. package/dist/components/calcite-date-picker/customElement.js +4 -14
  280. package/dist/components/calcite-date-picker-day/customElement.d.ts +1 -1
  281. package/dist/components/calcite-date-picker-month/customElement.js +2 -2
  282. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  283. package/dist/components/calcite-dialog/customElement.d.ts +7 -5
  284. package/dist/components/calcite-dialog/customElement.js +4 -2
  285. package/dist/components/calcite-dropdown/customElement.d.ts +15 -5
  286. package/dist/components/calcite-dropdown/customElement.js +165 -90
  287. package/dist/components/calcite-dropdown-item/customElement.d.ts +2 -2
  288. package/dist/components/calcite-dropdown-item/customElement.js +14 -32
  289. package/dist/components/calcite-fab/customElement.d.ts +1 -1
  290. package/dist/components/calcite-fab/customElement.js +1 -1
  291. package/dist/components/calcite-filter/customElement.d.ts +1 -1
  292. package/dist/components/calcite-flow/customElement.d.ts +1 -1
  293. package/dist/components/calcite-flow-item/customElement.d.ts +8 -5
  294. package/dist/components/calcite-flow-item/customElement.js +4 -2
  295. package/dist/components/calcite-graph/customElement.js +1 -1
  296. package/dist/components/calcite-handle/customElement.d.ts +1 -1
  297. package/dist/components/calcite-icon/customElement.d.ts +1 -1
  298. package/dist/components/calcite-inline-editable/customElement.d.ts +2 -2
  299. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  300. package/dist/components/calcite-input/customElement.d.ts +17 -18
  301. package/dist/components/calcite-input/customElement.js +26 -49
  302. package/dist/components/calcite-input/index.js +1 -0
  303. package/dist/components/calcite-input-date-picker/customElement.d.ts +6 -7
  304. package/dist/components/calcite-input-date-picker/customElement.js +66 -75
  305. package/dist/components/calcite-input-message/customElement.d.ts +1 -1
  306. package/dist/components/calcite-input-number/customElement.d.ts +13 -14
  307. package/dist/components/calcite-input-number/customElement.js +22 -48
  308. package/dist/components/calcite-input-number/index.js +1 -0
  309. package/dist/components/calcite-input-text/customElement.d.ts +11 -12
  310. package/dist/components/calcite-input-text/customElement.js +8 -179
  311. package/dist/components/calcite-input-text/index.js +1 -0
  312. package/dist/components/calcite-input-time-picker/customElement.d.ts +6 -7
  313. package/dist/components/calcite-input-time-picker/customElement.js +11 -23
  314. package/dist/components/calcite-input-time-zone/customElement.d.ts +5 -6
  315. package/dist/components/calcite-input-time-zone/customElement.js +21 -19
  316. package/dist/components/calcite-label/customElement.js +1 -1
  317. package/dist/components/calcite-link/customElement.d.ts +9 -9
  318. package/dist/components/calcite-link/customElement.js +28 -23
  319. package/dist/components/calcite-list/customElement.d.ts +1 -1
  320. package/dist/components/calcite-list/customElement.js +33 -14
  321. package/dist/components/calcite-list/interfaces.d.ts +2 -6
  322. package/dist/components/calcite-list-item/customElement.d.ts +2 -2
  323. package/dist/components/calcite-list-item/customElement.js +4 -4
  324. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  325. package/dist/components/calcite-loader/customElement.d.ts +1 -1
  326. package/dist/components/calcite-menu/customElement.d.ts +1 -1
  327. package/dist/components/calcite-menu/customElement.js +1 -1
  328. package/dist/components/calcite-menu-item/customElement.d.ts +3 -3
  329. package/dist/components/calcite-meter/customElement.d.ts +7 -1
  330. package/dist/components/calcite-meter/customElement.js +4 -8
  331. package/dist/components/calcite-navigation/customElement.d.ts +9 -2
  332. package/dist/components/calcite-navigation/customElement.js +42 -3
  333. package/dist/components/calcite-navigation-logo/customElement.d.ts +3 -3
  334. package/dist/components/calcite-navigation-logo/customElement.js +4 -3
  335. package/dist/components/calcite-navigation-user/customElement.d.ts +2 -2
  336. package/dist/components/calcite-navigation-user/customElement.js +11 -6
  337. package/dist/components/calcite-notice/customElement.d.ts +3 -3
  338. package/dist/components/calcite-notice/customElement.js +1 -1
  339. package/dist/components/calcite-pagination/customElement.d.ts +1 -1
  340. package/dist/components/calcite-pagination/customElement.js +1 -1
  341. package/dist/components/calcite-panel/customElement.d.ts +7 -5
  342. package/dist/components/calcite-panel/customElement.js +20 -8
  343. package/dist/components/calcite-popover/customElement.d.ts +2 -2
  344. package/dist/components/calcite-popover/customElement.js +11 -175
  345. package/dist/components/calcite-radio-button/customElement.d.ts +16 -1
  346. package/dist/components/calcite-radio-button/customElement.js +10 -18
  347. package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -1
  348. package/dist/components/calcite-rating/customElement.d.ts +3 -4
  349. package/dist/components/calcite-rating/customElement.js +12 -18
  350. package/dist/components/calcite-segmented-control/customElement.d.ts +3 -4
  351. package/dist/components/calcite-segmented-control/customElement.js +8 -19
  352. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  353. package/dist/components/calcite-select/customElement.d.ts +3 -4
  354. package/dist/components/calcite-select/customElement.js +9 -20
  355. package/dist/components/calcite-sheet/customElement.d.ts +3 -3
  356. package/dist/components/calcite-sheet/customElement.js +3 -7
  357. package/dist/components/calcite-shell-panel/customElement.d.ts +3 -3
  358. package/dist/components/calcite-shell-panel/customElement.js +4 -0
  359. package/dist/components/calcite-slider/customElement.d.ts +3 -4
  360. package/dist/components/calcite-slider/customElement.js +12 -22
  361. package/dist/components/calcite-sort-handle/customElement.d.ts +4 -4
  362. package/dist/components/calcite-sort-handle/customElement.js +44 -17
  363. package/dist/components/calcite-sortable-list/customElement.d.ts +1 -1
  364. package/dist/components/calcite-sortable-list/customElement.js +3 -3
  365. package/dist/components/calcite-split-button/customElement.d.ts +8 -8
  366. package/dist/components/calcite-stepper/customElement.d.ts +2 -2
  367. package/dist/components/calcite-stepper/customElement.js +29 -42
  368. package/dist/components/calcite-stepper-item/customElement.d.ts +1 -1
  369. package/dist/components/calcite-stepper-item/customElement.js +2 -8
  370. package/dist/components/calcite-swatch/customElement.d.ts +1 -1
  371. package/dist/components/calcite-switch/customElement.d.ts +4 -4
  372. package/dist/components/calcite-switch/customElement.js +9 -8
  373. package/dist/components/calcite-tab/customElement.d.ts +1 -1
  374. package/dist/components/calcite-tab/customElement.js +1 -1
  375. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  376. package/dist/components/calcite-tab-title/customElement.js +1 -1
  377. package/dist/components/calcite-table/customElement.js +1 -1
  378. package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
  379. package/dist/components/calcite-table-header/customElement.d.ts +2 -2
  380. package/dist/components/calcite-table-row/customElement.d.ts +1 -1
  381. package/dist/components/calcite-tabs/customElement.js +1 -1
  382. package/dist/components/calcite-text-area/customElement.d.ts +13 -14
  383. package/dist/components/calcite-text-area/customElement.js +32 -37
  384. package/dist/components/calcite-tile/customElement.d.ts +1 -1
  385. package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
  386. package/dist/components/calcite-time-picker/customElement.js +2 -2
  387. package/dist/components/calcite-tooltip/customElement.d.ts +15 -2
  388. package/dist/components/calcite-tooltip/customElement.js +24 -315
  389. package/dist/components/calcite-tree-item/customElement.js +2 -3
  390. package/dist/controllers/useSortable.d.ts +7 -0
  391. package/dist/docs/api.json +1 -1
  392. package/dist/docs/docs.json +1 -1
  393. package/dist/docs/supported-browsers.json +1 -1
  394. package/dist/docs/translations.json +1 -1
  395. package/dist/docs/vscode.css-custom-data.json +1 -1
  396. package/dist/docs/vscode.html-custom-data.json +1 -1
  397. package/dist/docs/web-types.json +1 -1
  398. package/dist/loader.js +28 -28
  399. package/dist/types/lumina.d.ts +8 -8
  400. package/dist/types/preact.d.ts +8 -8
  401. package/dist/types/react.d.ts +8 -8
  402. package/dist/types/stencil.d.ts +8 -8
  403. package/package.json +15 -16
  404. package/dist/cdn/25CWB6HX.js +0 -2
  405. package/dist/cdn/3KLZFJXW.js +0 -2
  406. package/dist/cdn/3WLFK4RW.js +0 -2
  407. package/dist/cdn/462JN5WF.js +0 -2
  408. package/dist/cdn/464S36UH.js +0 -2
  409. package/dist/cdn/4ALKCXNH.js +0 -2
  410. package/dist/cdn/4GQPJFUJ.js +0 -2
  411. package/dist/cdn/4GVH7HTQ.js +0 -2
  412. package/dist/cdn/4J6YW6EK.js +0 -2
  413. package/dist/cdn/52ZOO5HQ.js +0 -2
  414. package/dist/cdn/5HTRQR7F.js +0 -2
  415. package/dist/cdn/6NEHFZMJ.js +0 -2
  416. package/dist/cdn/6VRXKEA7.js +0 -2
  417. package/dist/cdn/7RSGSW76.js +0 -2
  418. package/dist/cdn/7UOYXJ3K.js +0 -2
  419. package/dist/cdn/A2UZRUUF.js +0 -2
  420. package/dist/cdn/A7IQIXR3.js +0 -2
  421. package/dist/cdn/AEUCGVU4.js +0 -2
  422. package/dist/cdn/BIEIKUB2.js +0 -2
  423. package/dist/cdn/BS22M3WT.js +0 -2
  424. package/dist/cdn/BWDCDFXW.js +0 -2
  425. package/dist/cdn/CXVISA7Y.js +0 -2
  426. package/dist/cdn/ED7SQQHM.js +0 -3
  427. package/dist/cdn/EFNE45MK.js +0 -2
  428. package/dist/cdn/EGK4PSW5.js +0 -2
  429. package/dist/cdn/EJCQCHH7.js +0 -2
  430. package/dist/cdn/ENCYKNKN.js +0 -4
  431. package/dist/cdn/EZW5GK73.js +0 -2
  432. package/dist/cdn/GEQ3EBJO.js +0 -2
  433. package/dist/cdn/GLJVCFQW.js +0 -2
  434. package/dist/cdn/HAUWZRL4.js +0 -2
  435. package/dist/cdn/HBUNMGZ3.js +0 -2
  436. package/dist/cdn/HFGDCX3I.js +0 -2
  437. package/dist/cdn/J42TNDHM.js +0 -2
  438. package/dist/cdn/J4J65DN5.js +0 -2
  439. package/dist/cdn/KBHLSIAR.js +0 -2
  440. package/dist/cdn/KKMGV3S6.js +0 -2
  441. package/dist/cdn/KUC6KV4R.js +0 -2
  442. package/dist/cdn/KVRUYI63.js +0 -2
  443. package/dist/cdn/MLQDQZZR.js +0 -2
  444. package/dist/cdn/N47CSPB7.js +0 -2
  445. package/dist/cdn/O6ZRTXVO.js +0 -2
  446. package/dist/cdn/OCFKSX5L.js +0 -2
  447. package/dist/cdn/OO556Q5A.js +0 -2
  448. package/dist/cdn/PGUOVY7V.js +0 -2
  449. package/dist/cdn/PJ3GHZ7T.js +0 -2
  450. package/dist/cdn/Q4EG6G7W.js +0 -2
  451. package/dist/cdn/QEPJF6TC.js +0 -3
  452. package/dist/cdn/QHZAKDI7.js +0 -2
  453. package/dist/cdn/QIUVPLV2.js +0 -2
  454. package/dist/cdn/R3DLH5BB.js +0 -2
  455. package/dist/cdn/R5DGN3O6.js +0 -2
  456. package/dist/cdn/RU3YCR42.js +0 -2
  457. package/dist/cdn/SF7SFEKA.js +0 -2
  458. package/dist/cdn/SKOYS4HM.js +0 -2
  459. package/dist/cdn/TAS3P2HU.js +0 -2
  460. package/dist/cdn/TBA5ATIB.js +0 -2
  461. package/dist/cdn/TW2SRS2O.js +0 -2
  462. package/dist/cdn/V2PPBU7J.js +0 -2
  463. package/dist/cdn/VIMF6KPF.js +0 -2
  464. package/dist/cdn/VYSJFEY6.js +0 -2
  465. package/dist/cdn/WI7KEIGV.js +0 -2
  466. package/dist/cdn/WJXZ7BPV.js +0 -2
  467. package/dist/cdn/WOJJ53FN.js +0 -2
  468. package/dist/cdn/WSRLM2TQ.js +0 -2
  469. package/dist/cdn/XPXJW5E3.js +0 -2
  470. package/dist/cdn/XXVIE4SD.js +0 -2
  471. package/dist/cdn/YBZVV5BN.js +0 -2
  472. package/dist/cdn/Z3B276DZ.js +0 -2
  473. package/dist/cdn/ZDZGWD2Y.js +0 -2
  474. package/dist/cdn/ZIKLLQSU.js +0 -2
  475. package/dist/cdn/ZQLGBHLZ.js +0 -2
  476. package/dist/cdn/ZZ746O36.js +0 -2
  477. package/dist/chunks/form.js +0 -268
  478. package/dist/chunks/input.js +0 -40
  479. package/dist/controllers/useForm.d.ts +0 -3
  480. package/dist/utils/form.d.ts +0 -3
  481. package/dist/utils/sortableComponent.d.ts +0 -7
@@ -2,9 +2,9 @@
2
2
  import { keyed } from "lit/directives/keyed.js";
3
3
  import { unsafeStatic, literal, html } from "lit/static-html.js";
4
4
  import { safeClassMap } from "@arcgis/lumina";
5
- const Heading = ({ children, ...props }) => {
6
- const DynamicHtmlTag = props.level ? unsafeStatic(`h${props.level}`) : literal`div`;
7
- return keyed(props.key, html`<${DynamicHtmlTag} class=${safeClassMap(props.class)}>${children}</${DynamicHtmlTag}>`);
5
+ const Heading = ({ children, class: className, hidden = false, key, level }) => {
6
+ const DynamicHtmlTag = level ? unsafeStatic(`h${level}`) : literal`div`;
7
+ return keyed(key, html`<${DynamicHtmlTag} class=${safeClassMap(className)} .hidden=${hidden}>${children}</${DynamicHtmlTag}>`);
8
8
  };
9
9
  export {
10
10
  Heading as H
@@ -4,7 +4,7 @@ function getIconScale(componentScale) {
4
4
  return componentScale === "l" ? "m" : "s";
5
5
  }
6
6
  function isHidden(el) {
7
- return el.hidden || el.itemHidden;
7
+ return el.hidden !== false || el.itemHidden;
8
8
  }
9
9
  async function componentFocusable(component) {
10
10
  await component.componentOnReady();
@@ -1,7 +1,7 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { g as guid } from "./guid.js";
3
3
  import { C as CSS_UTILITY } from "./runtime.js";
4
- var candidateSelectors = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"];
4
+ var candidateSelectors = ["input:not([inert]):not([inert] *)", "select:not([inert]):not([inert] *)", "textarea:not([inert]):not([inert] *)", "a[href]:not([inert]):not([inert] *)", "button:not([inert]):not([inert] *)", "[tabindex]:not(slot):not([inert]):not([inert] *)", "audio[controls]:not([inert]):not([inert] *)", "video[controls]:not([inert]):not([inert] *)", '[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)', "details>summary:first-of-type:not([inert]):not([inert] *)", "details:not([inert]):not([inert] *)"];
5
5
  var candidateSelector = /* @__PURE__ */ candidateSelectors.join(",");
6
6
  var NoElement = typeof Element === "undefined";
7
7
  var matches = NoElement ? function() {
@@ -12,14 +12,16 @@ var getRootNode$1 = !NoElement && Element.prototype.getRootNode ? function(eleme
12
12
  } : function(element) {
13
13
  return element === null || element === void 0 ? void 0 : element.ownerDocument;
14
14
  };
15
- var isInert = function isInert2(node, lookUp) {
15
+ var _isInert = function isInert(node, lookUp) {
16
16
  var _node$getAttribute;
17
17
  if (lookUp === void 0) {
18
18
  lookUp = true;
19
19
  }
20
20
  var inertAtt = node === null || node === void 0 ? void 0 : (_node$getAttribute = node.getAttribute) === null || _node$getAttribute === void 0 ? void 0 : _node$getAttribute.call(node, "inert");
21
21
  var inert = inertAtt === "" || inertAtt === "true";
22
- var result = inert || lookUp && node && isInert2(node.parentNode);
22
+ var result = inert || lookUp && node && // closest does not exist on shadow roots, so we fall back to a manual
23
+ // lookup upward, in case it is not defined.
24
+ (typeof node.closest === "function" ? node.closest("[inert]") : _isInert(node.parentNode));
23
25
  return result;
24
26
  };
25
27
  var isContentEditable = function isContentEditable2(node) {
@@ -28,7 +30,7 @@ var isContentEditable = function isContentEditable2(node) {
28
30
  return attValue === "" || attValue === "true";
29
31
  };
30
32
  var getCandidates = function getCandidates2(el, includeContainer, filter) {
31
- if (isInert(el)) {
33
+ if (_isInert(el)) {
32
34
  return [];
33
35
  }
34
36
  var candidates = Array.prototype.slice.apply(el.querySelectorAll(candidateSelector));
@@ -38,18 +40,18 @@ var getCandidates = function getCandidates2(el, includeContainer, filter) {
38
40
  candidates = candidates.filter(filter);
39
41
  return candidates;
40
42
  };
41
- var getCandidatesIteratively = function getCandidatesIteratively2(elements, includeContainer, options) {
43
+ var _getCandidatesIteratively = function getCandidatesIteratively(elements, includeContainer, options) {
42
44
  var candidates = [];
43
45
  var elementsToCheck = Array.from(elements);
44
46
  while (elementsToCheck.length) {
45
47
  var element = elementsToCheck.shift();
46
- if (isInert(element, false)) {
48
+ if (_isInert(element, false)) {
47
49
  continue;
48
50
  }
49
51
  if (element.tagName === "SLOT") {
50
52
  var assigned = element.assignedElements();
51
53
  var content = assigned.length ? assigned : element.children;
52
- var nestedCandidates = getCandidatesIteratively2(content, true, options);
54
+ var nestedCandidates = _getCandidatesIteratively(content, true, options);
53
55
  if (options.flatten) {
54
56
  candidates.push.apply(candidates, nestedCandidates);
55
57
  } else {
@@ -65,9 +67,9 @@ var getCandidatesIteratively = function getCandidatesIteratively2(elements, incl
65
67
  }
66
68
  var shadowRoot = element.shadowRoot || // check for an undisclosed shadow
67
69
  typeof options.getShadowRoot === "function" && options.getShadowRoot(element);
68
- var validShadowRoot = !isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));
70
+ var validShadowRoot = !_isInert(shadowRoot, false) && (!options.shadowRootFilter || options.shadowRootFilter(element));
69
71
  if (shadowRoot && validShadowRoot) {
70
- var _nestedCandidates = getCandidatesIteratively2(shadowRoot === true ? element.children : shadowRoot.children, true, options);
72
+ var _nestedCandidates = _getCandidatesIteratively(shadowRoot === true ? element.children : shadowRoot.children, true, options);
71
73
  if (options.flatten) {
72
74
  candidates.push.apply(candidates, _nestedCandidates);
73
75
  } else {
@@ -177,6 +179,24 @@ var isZeroArea = function isZeroArea2(node) {
177
179
  };
178
180
  var isHidden = function isHidden2(node, _ref) {
179
181
  var displayCheck = _ref.displayCheck, getShadowRoot = _ref.getShadowRoot;
182
+ if (displayCheck === "full-native") {
183
+ if ("checkVisibility" in node) {
184
+ var visible = node.checkVisibility({
185
+ // Checking opacity might be desirable for some use cases, but natively,
186
+ // opacity zero elements _are_ focusable and tabbable.
187
+ checkOpacity: false,
188
+ opacityProperty: false,
189
+ contentVisibilityAuto: true,
190
+ visibilityProperty: true,
191
+ // This is an alias for `visibilityProperty`. Contemporary browsers
192
+ // support both. However, this alias has wider browser support (Chrome
193
+ // >= 105 and Firefox >= 106, vs. Chrome >= 121 and Firefox >= 122), so
194
+ // we include it anyway.
195
+ checkVisibilityCSS: true
196
+ });
197
+ return !visible;
198
+ }
199
+ }
180
200
  if (getComputedStyle(node).visibility === "hidden") {
181
201
  return true;
182
202
  }
@@ -185,7 +205,9 @@ var isHidden = function isHidden2(node, _ref) {
185
205
  if (matches.call(nodeUnderDetails, "details:not([open]) *")) {
186
206
  return true;
187
207
  }
188
- if (!displayCheck || displayCheck === "full" || displayCheck === "legacy-full") {
208
+ if (!displayCheck || displayCheck === "full" || // full-native can run this branch when it falls through in case
209
+ // Element#checkVisibility is unsupported
210
+ displayCheck === "full-native" || displayCheck === "legacy-full") {
189
211
  if (typeof getShadowRoot === "function") {
190
212
  var originalNode = node;
191
213
  while (node) {
@@ -233,10 +255,7 @@ var isDisabledFromFieldset = function isDisabledFromFieldset2(node) {
233
255
  return false;
234
256
  };
235
257
  var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable2(options, node) {
236
- if (node.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
237
- // because we're limited in the type of selectors we can use in JSDom (see related
238
- // note related to `candidateSelectors`)
239
- isInert(node) || isHiddenInput(node) || isHidden(node, options) || // For a details element with a summary, the summary element gets the focus
258
+ if (node.disabled || isHiddenInput(node) || isHidden(node, options) || // For a details element with a summary, the summary element gets the focus
240
259
  isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
241
260
  return false;
242
261
  }
@@ -248,21 +267,21 @@ var isNodeMatchingSelectorTabbable = function isNodeMatchingSelectorTabbable2(op
248
267
  }
249
268
  return true;
250
269
  };
251
- var isValidShadowRootTabbable = function isValidShadowRootTabbable2(shadowHostNode) {
270
+ var isShadowRootTabbable = function isShadowRootTabbable2(shadowHostNode) {
252
271
  var tabIndex = parseInt(shadowHostNode.getAttribute("tabindex"), 10);
253
272
  if (isNaN(tabIndex) || tabIndex >= 0) {
254
273
  return true;
255
274
  }
256
275
  return false;
257
276
  };
258
- var sortByOrder = function sortByOrder2(candidates) {
277
+ var _sortByOrder = function sortByOrder(candidates) {
259
278
  var regularTabbables = [];
260
279
  var orderedTabbables = [];
261
280
  candidates.forEach(function(item, i) {
262
281
  var isScope = !!item.scopeParent;
263
282
  var element = isScope ? item.scopeParent : item;
264
283
  var candidateTabindex = getSortOrderTabIndex(element, isScope);
265
- var elements = isScope ? sortByOrder2(item.candidates) : element;
284
+ var elements = isScope ? _sortByOrder(item.candidates) : element;
266
285
  if (candidateTabindex === 0) {
267
286
  isScope ? regularTabbables.push.apply(regularTabbables, elements) : regularTabbables.push(element);
268
287
  } else {
@@ -284,22 +303,22 @@ var tabbable = function tabbable2(container, options) {
284
303
  options = options || {};
285
304
  var candidates;
286
305
  if (options.getShadowRoot) {
287
- candidates = getCandidatesIteratively([container], options.includeContainer, {
306
+ candidates = _getCandidatesIteratively([container], options.includeContainer, {
288
307
  filter: isNodeMatchingSelectorTabbable.bind(null, options),
289
308
  flatten: false,
290
309
  getShadowRoot: options.getShadowRoot,
291
- shadowRootFilter: isValidShadowRootTabbable
310
+ shadowRootFilter: isShadowRootTabbable
292
311
  });
293
312
  } else {
294
313
  candidates = getCandidates(container, options.includeContainer, isNodeMatchingSelectorTabbable.bind(null, options));
295
314
  }
296
- return sortByOrder(candidates);
315
+ return _sortByOrder(candidates);
297
316
  };
298
317
  var focusable = function focusable2(container, options) {
299
318
  options = options || {};
300
319
  var candidates;
301
320
  if (options.getShadowRoot) {
302
- candidates = getCandidatesIteratively([container], options.includeContainer, {
321
+ candidates = _getCandidatesIteratively([container], options.includeContainer, {
303
322
  filter: isNodeMatchingSelectorFocusable.bind(null, options),
304
323
  flatten: true,
305
324
  getShadowRoot: options.getShadowRoot
@@ -531,8 +550,10 @@ function viewportUnitToPixel(value, viewportSize) {
531
550
  return value * viewportSize / 100;
532
551
  }
533
552
  export {
534
- getSlotAssignedElements as A,
535
- getShadowRootNode as B,
553
+ slotChangeHasTextContent as A,
554
+ ensureId as B,
555
+ filterDirectChildren as C,
556
+ getSlotAssignedElements as D,
536
557
  slotChangeGetAssignedElements as a,
537
558
  setRequestedIcon as b,
538
559
  closestElementCrossShadowBoundary as c,
@@ -550,13 +571,13 @@ export {
550
571
  whenTransitionDone as o,
551
572
  isBefore as p,
552
573
  queryElementRoots as q,
553
- nextFrame as r,
574
+ isCalciteFocusable as r,
554
575
  slotChangeHasAssignedElement as s,
555
576
  tabbableOptions as t,
556
- getFirstTabbable as u,
557
- intersects as v,
577
+ nextFrame as u,
578
+ getShadowRootNode as v,
558
579
  whenAnimationDone as w,
559
580
  isKeyboardTriggeredClick as x,
560
- ensureId as y,
561
- filterDirectChildren as z
581
+ getFirstTabbable as y,
582
+ intersects as z
562
583
  };
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { isServer } from "lit";
3
- import { autoUpdate, computePosition, shift, hide, flip, offset, autoPlacement, arrow, platform } from "@floating-ui/dom";
3
+ import { computePosition, autoUpdate, shift, hide, flip, offset, autoPlacement, arrow, platform } from "@floating-ui/dom";
4
4
  import { debounce } from "es-toolkit";
5
5
  import { offsetParent } from "composed-offset-position";
6
6
  import { D as DEBOUNCE } from "./runtime.js";
@@ -248,11 +248,8 @@ function hideFloatingUI(component) {
248
248
  async function connectFloatingUI(component) {
249
249
  const { floatingEl, referenceEl } = component;
250
250
  hideFloatingUI(component);
251
- if (!floatingEl || !referenceEl) {
252
- return;
253
- }
254
251
  disconnectFloatingUI(component);
255
- if (!component.open) {
252
+ if (!floatingEl || !referenceEl || !component.open) {
256
253
  return;
257
254
  }
258
255
  return runAutoUpdate(component);
@@ -212,19 +212,21 @@ function getDateFormatSupportedLocale(locale) {
212
212
  }
213
213
  class NumberStringFormat {
214
214
  constructor() {
215
- this.delocalize = (numberString) => (
216
- // For performance, (de)localization is skipped if the formatter isn't initialized.
217
- // In order to localize/delocalize, e.g. when lang/numberingSystem props are not default values,
218
- // `numberFormatOptions` must be set in a component to create and cache the formatter.
219
- this._numberFormatOptions ? sanitizeExponentialNumberString(
215
+ this.delocalize = (numberString) => {
216
+ if (!this._numberFormatOptions) {
217
+ return numberString;
218
+ }
219
+ return sanitizeExponentialNumberString(
220
220
  numberString,
221
- (nonExpoNumString) => nonExpoNumString.replace(new RegExp(`[${this._minusSign}]`, "g"), "-").replace(new RegExp(`[${this._group}]`, "g"), "").replace(new RegExp(`[${this._decimal}]`, "g"), ".").replace(new RegExp(`[${this._digits.join("")}]`, "g"), this._getDigitIndex)
222
- ) : numberString
223
- );
224
- this.localize = (numberString) => this._numberFormatOptions ? sanitizeExponentialNumberString(
225
- numberString,
226
- (nonExpoNumString) => isValidNumber(nonExpoNumString.trim()) ? new BigDecimal(nonExpoNumString.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`, "g"), this._group) : nonExpoNumString
227
- ) : numberString;
221
+ (nonExponentialNumberString) => this.#normalizeDigitsAndSign(this.#normalizeSeparators(nonExponentialNumberString))
222
+ );
223
+ };
224
+ this.localize = (numberString) => {
225
+ return this._numberFormatOptions ? sanitizeExponentialNumberString(
226
+ numberString,
227
+ (nonExpoNumString) => isValidNumber(nonExpoNumString.trim()) ? new BigDecimal(nonExpoNumString.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`, "g"), this._group) : nonExpoNumString
228
+ ) : numberString;
229
+ };
228
230
  }
229
231
  get group() {
230
232
  return this._group;
@@ -278,6 +280,21 @@ class NumberStringFormat {
278
280
  this._minusSign = parts.find((d) => d.type === "minusSign").value;
279
281
  this._getDigitIndex = (d) => index.get(d);
280
282
  }
283
+ #normalizeDigitsAndSign(value) {
284
+ return value.replace(new RegExp(`[${this._minusSign}]`, "g"), "-").replace(new RegExp(`[${this._digits.join("")}]`, "g"), this._getDigitIndex);
285
+ }
286
+ #normalizeSeparators(value) {
287
+ if (this._group !== this._decimal) {
288
+ return value.replace(new RegExp(`[${this._group}]`, "g"), "").replace(new RegExp(`[${this._decimal}]`, "g"), ".");
289
+ }
290
+ const lastSeparatorIndex = value.lastIndexOf(this._decimal);
291
+ if (lastSeparatorIndex === -1) {
292
+ return value;
293
+ }
294
+ const wholePart = value.slice(0, lastSeparatorIndex).replace(new RegExp(`[${this._group}]`, "g"), "");
295
+ const fractionalPart = value.slice(lastSeparatorIndex + 1);
296
+ return `${wholePart}.${fractionalPart}`;
297
+ }
281
298
  }
282
299
  const numberStringFormatter = new NumberStringFormat();
283
300
  let dateTimeFormatCache;