@rpcbase/ui 0.279.0 → 0.281.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (518) hide show
  1. package/dist/components/AddressAutocompleteInput/index.d.ts +1 -1
  2. package/dist/components/AddressAutocompleteInput/index.d.ts.map +1 -1
  3. package/dist/components/ApplePayButton/index.d.ts +1 -1
  4. package/dist/components/ApplePayButton/index.d.ts.map +1 -1
  5. package/dist/components/Checkbox/index.d.ts +1 -1
  6. package/dist/components/Checkbox/index.d.ts.map +1 -1
  7. package/dist/components/DayPickerField/index.d.ts +2 -2
  8. package/dist/components/DayPickerField/index.d.ts.map +1 -1
  9. package/dist/components/Dialog/index.d.ts +9 -9
  10. package/dist/components/Dialog/index.d.ts.map +1 -1
  11. package/dist/components/FilesUploadField/index.d.ts +1 -1
  12. package/dist/components/FilesUploadField/index.d.ts.map +1 -1
  13. package/dist/components/HourPickerField/index.d.ts +2 -2
  14. package/dist/components/HourPickerField/index.d.ts.map +1 -1
  15. package/dist/components/I18nField/index.d.ts +1 -1
  16. package/dist/components/I18nField/index.d.ts.map +1 -1
  17. package/dist/components/Image/index.d.ts +1 -1
  18. package/dist/components/Image/index.d.ts.map +1 -1
  19. package/dist/components/ImagesField/index.d.ts +1 -1
  20. package/dist/components/ImagesField/index.d.ts.map +1 -1
  21. package/dist/components/Input/index.d.ts +1 -1
  22. package/dist/components/Input/index.d.ts.map +1 -1
  23. package/dist/components/Notifications/NotificationsButton.d.ts +1 -1
  24. package/dist/components/Notifications/NotificationsButton.d.ts.map +1 -1
  25. package/dist/components/Notifications/NotificationsDrawer.d.ts +1 -1
  26. package/dist/components/Notifications/NotificationsDrawer.d.ts.map +1 -1
  27. package/dist/components/Notifications/NotificationsSettings.d.ts +1 -1
  28. package/dist/components/Notifications/NotificationsSettings.d.ts.map +1 -1
  29. package/dist/components/PhoneNumberInput/suggestions.d.ts +3 -3
  30. package/dist/components/PhoneNumberInput/suggestions.d.ts.map +1 -1
  31. package/dist/components/Select/index.d.ts +2 -2
  32. package/dist/components/Select/index.d.ts.map +1 -1
  33. package/dist/components/header/MenuPopover/index.d.ts +1 -1
  34. package/dist/components/header/MenuPopover/index.d.ts.map +1 -1
  35. package/dist/index.js +12 -12
  36. package/dist/index10.js +6 -4
  37. package/dist/index10.js.map +1 -1
  38. package/dist/index12.js.map +1 -1
  39. package/dist/index13.js.map +1 -1
  40. package/dist/index14.js.map +1 -1
  41. package/dist/index15.js.map +1 -1
  42. package/dist/index154.js +19 -7
  43. package/dist/index154.js.map +1 -1
  44. package/dist/index16.js +36 -45
  45. package/dist/index16.js.map +1 -1
  46. package/dist/index160.js +3 -3
  47. package/dist/index160.js.map +1 -1
  48. package/dist/index166.js +5 -5
  49. package/dist/index166.js.map +1 -1
  50. package/dist/index172.js +27 -25
  51. package/dist/index172.js.map +1 -1
  52. package/dist/index181.js +1 -1
  53. package/dist/index181.js.map +1 -1
  54. package/dist/index182.js +145 -162
  55. package/dist/index182.js.map +1 -1
  56. package/dist/index184.js +6 -8
  57. package/dist/index184.js.map +1 -1
  58. package/dist/index186.js +2 -8
  59. package/dist/index186.js.map +1 -1
  60. package/dist/index19.js +1 -1
  61. package/dist/index19.js.map +1 -1
  62. package/dist/index195.js +1 -1
  63. package/dist/index195.js.map +1 -1
  64. package/dist/index196.js +2 -2
  65. package/dist/index196.js.map +1 -1
  66. package/dist/index197.js +1 -1
  67. package/dist/index197.js.map +1 -1
  68. package/dist/index198.js +16 -15
  69. package/dist/index198.js.map +1 -1
  70. package/dist/index199.js +13 -17
  71. package/dist/index199.js.map +1 -1
  72. package/dist/index200.js +3 -2
  73. package/dist/index200.js.map +1 -1
  74. package/dist/index207.js +5 -90
  75. package/dist/index207.js.map +1 -1
  76. package/dist/index208.js +15 -3
  77. package/dist/index208.js.map +1 -1
  78. package/dist/index209.js +102 -22
  79. package/dist/index209.js.map +1 -1
  80. package/dist/index210.js +3 -28
  81. package/dist/index210.js.map +1 -1
  82. package/dist/index211.js +23 -19
  83. package/dist/index211.js.map +1 -1
  84. package/dist/index212.js +27 -6
  85. package/dist/index212.js.map +1 -1
  86. package/dist/index213.js +19 -14
  87. package/dist/index213.js.map +1 -1
  88. package/dist/index214.js +5 -6
  89. package/dist/index214.js.map +1 -1
  90. package/dist/index215.js +14 -26
  91. package/dist/index215.js.map +1 -1
  92. package/dist/index216.js +7 -22
  93. package/dist/index216.js.map +1 -1
  94. package/dist/index217.js +27 -6
  95. package/dist/index217.js.map +1 -1
  96. package/dist/index218.js +23 -5
  97. package/dist/index218.js.map +1 -1
  98. package/dist/index219.js +6 -4
  99. package/dist/index219.js.map +1 -1
  100. package/dist/index220.js +5 -4
  101. package/dist/index220.js.map +1 -1
  102. package/dist/index221.js +4 -24
  103. package/dist/index221.js.map +1 -1
  104. package/dist/index222.js +4 -3
  105. package/dist/index222.js.map +1 -1
  106. package/dist/index223.js +21 -21
  107. package/dist/index223.js.map +1 -1
  108. package/dist/index224.js +3 -23
  109. package/dist/index224.js.map +1 -1
  110. package/dist/index225.js +23 -6
  111. package/dist/index225.js.map +1 -1
  112. package/dist/index226.js +22 -9
  113. package/dist/index226.js.map +1 -1
  114. package/dist/index227.js +5 -17
  115. package/dist/index227.js.map +1 -1
  116. package/dist/index228.js +8 -49
  117. package/dist/index228.js.map +1 -1
  118. package/dist/index229.js +18 -5
  119. package/dist/index229.js.map +1 -1
  120. package/dist/index230.js +50 -19
  121. package/dist/index230.js.map +1 -1
  122. package/dist/index231.js +20 -28
  123. package/dist/index231.js.map +1 -1
  124. package/dist/index232.js +27 -104
  125. package/dist/index232.js.map +1 -1
  126. package/dist/index233.js +98 -33
  127. package/dist/index233.js.map +1 -1
  128. package/dist/index234.js +28 -113
  129. package/dist/index234.js.map +1 -1
  130. package/dist/index235.js +117 -11
  131. package/dist/index235.js.map +1 -1
  132. package/dist/index236.js +12 -4
  133. package/dist/index236.js.map +1 -1
  134. package/dist/index237.js +4 -15
  135. package/dist/index237.js.map +1 -1
  136. package/dist/index238.js +13 -62
  137. package/dist/index238.js.map +1 -1
  138. package/dist/index239.js +64 -9
  139. package/dist/index239.js.map +1 -1
  140. package/dist/index240.js +10 -106
  141. package/dist/index240.js.map +1 -1
  142. package/dist/index241.js +107 -13
  143. package/dist/index241.js.map +1 -1
  144. package/dist/index242.js +16 -13
  145. package/dist/index242.js.map +1 -1
  146. package/dist/index243.js +13 -5
  147. package/dist/index243.js.map +1 -1
  148. package/dist/index244.js +4 -316
  149. package/dist/index244.js.map +1 -1
  150. package/dist/index245.js +315 -58
  151. package/dist/index245.js.map +1 -1
  152. package/dist/index246.js +58 -223
  153. package/dist/index246.js.map +1 -1
  154. package/dist/index247.js +215 -318
  155. package/dist/index247.js.map +1 -1
  156. package/dist/index248.js +250 -306
  157. package/dist/index248.js.map +1 -1
  158. package/dist/index249.js +308 -173
  159. package/dist/index249.js.map +1 -1
  160. package/dist/index250.js +178 -7
  161. package/dist/index250.js.map +1 -1
  162. package/dist/index251.js +8 -15
  163. package/dist/index251.js.map +1 -1
  164. package/dist/index252.js +41 -5
  165. package/dist/index252.js.map +1 -1
  166. package/dist/index253.js +46 -38
  167. package/dist/index253.js.map +1 -1
  168. package/dist/index254.js +7 -50
  169. package/dist/index254.js.map +1 -1
  170. package/dist/index255.js +49 -6
  171. package/dist/index255.js.map +1 -1
  172. package/dist/index256.js +48 -46
  173. package/dist/index256.js.map +1 -1
  174. package/dist/index257.js +6 -51
  175. package/dist/index257.js.map +1 -1
  176. package/dist/index258.js +10 -9
  177. package/dist/index258.js.map +1 -1
  178. package/dist/index259.js +60 -8
  179. package/dist/index259.js.map +1 -1
  180. package/dist/index26.js.map +1 -1
  181. package/dist/index260.js +41 -60
  182. package/dist/index260.js.map +1 -1
  183. package/dist/index261.js +88 -34
  184. package/dist/index261.js.map +1 -1
  185. package/dist/index262.js +47 -94
  186. package/dist/index262.js.map +1 -1
  187. package/dist/index263.js +36 -49
  188. package/dist/index263.js.map +1 -1
  189. package/dist/index264.js +45 -32
  190. package/dist/index264.js.map +1 -1
  191. package/dist/index265.js +47 -46
  192. package/dist/index265.js.map +1 -1
  193. package/dist/index266.js +18 -48
  194. package/dist/index266.js.map +1 -1
  195. package/dist/index267.js +174 -15
  196. package/dist/index267.js.map +1 -1
  197. package/dist/index268.js +47 -169
  198. package/dist/index268.js.map +1 -1
  199. package/dist/index269.js +17 -34
  200. package/dist/index269.js.map +1 -1
  201. package/dist/index270.js +59 -10
  202. package/dist/index270.js.map +1 -1
  203. package/dist/index271.js +10 -66
  204. package/dist/index271.js.map +1 -1
  205. package/dist/index272.js +4 -4
  206. package/dist/index273.js +71 -69
  207. package/dist/index273.js.map +1 -1
  208. package/dist/index274.js +158 -152
  209. package/dist/index274.js.map +1 -1
  210. package/dist/index275.js +7 -13
  211. package/dist/index275.js.map +1 -1
  212. package/dist/index276.js +12 -5
  213. package/dist/index276.js.map +1 -1
  214. package/dist/index277.js +12 -6
  215. package/dist/index277.js.map +1 -1
  216. package/dist/index278.js +11 -12
  217. package/dist/index278.js.map +1 -1
  218. package/dist/index279.js +65 -9
  219. package/dist/index279.js.map +1 -1
  220. package/dist/index280.js +6 -74
  221. package/dist/index280.js.map +1 -1
  222. package/dist/index281.js +25 -6
  223. package/dist/index281.js.map +1 -1
  224. package/dist/index282.js +24 -24
  225. package/dist/index282.js.map +1 -1
  226. package/dist/index283.js +125 -24
  227. package/dist/index283.js.map +1 -1
  228. package/dist/index284.js +52 -115
  229. package/dist/index284.js.map +1 -1
  230. package/dist/index285.js +59 -55
  231. package/dist/index285.js.map +1 -1
  232. package/dist/index286.js +48 -61
  233. package/dist/index286.js.map +1 -1
  234. package/dist/index287.js +5 -48
  235. package/dist/index287.js.map +1 -1
  236. package/dist/index288.js +14 -8
  237. package/dist/index288.js.map +1 -1
  238. package/dist/index289.js +18 -14
  239. package/dist/index289.js.map +1 -1
  240. package/dist/index290.js +10 -17
  241. package/dist/index290.js.map +1 -1
  242. package/dist/index291.js +23 -11
  243. package/dist/index291.js.map +1 -1
  244. package/dist/index292.js +52 -25
  245. package/dist/index292.js.map +1 -1
  246. package/dist/index293.js +6 -52
  247. package/dist/index293.js.map +1 -1
  248. package/dist/index294.js +137 -5
  249. package/dist/index294.js.map +1 -1
  250. package/dist/index295.js +59 -149
  251. package/dist/index295.js.map +1 -1
  252. package/dist/index296.js +90 -49
  253. package/dist/index296.js.map +1 -1
  254. package/dist/index297.js +11 -117
  255. package/dist/index297.js.map +1 -1
  256. package/dist/index298.js +863 -11
  257. package/dist/index298.js.map +1 -1
  258. package/dist/index299.js +21 -865
  259. package/dist/index299.js.map +1 -1
  260. package/dist/index3.js.map +1 -1
  261. package/dist/index300.js +417 -27
  262. package/dist/index300.js.map +1 -1
  263. package/dist/index301.js +774 -483
  264. package/dist/index301.js.map +1 -1
  265. package/dist/index302.js +7436 -803
  266. package/dist/index302.js.map +1 -1
  267. package/dist/index303.js +7 -7429
  268. package/dist/index303.js.map +1 -1
  269. package/dist/index304.js +12 -6
  270. package/dist/index304.js.map +1 -1
  271. package/dist/index305.js +5 -12
  272. package/dist/index305.js.map +1 -1
  273. package/dist/index306.js +3 -3
  274. package/dist/index306.js.map +1 -1
  275. package/dist/index307.js +469 -5
  276. package/dist/index307.js.map +1 -1
  277. package/dist/index308.js +32 -464
  278. package/dist/index308.js.map +1 -1
  279. package/dist/index309.js +18 -36
  280. package/dist/index309.js.map +1 -1
  281. package/dist/index310.js +28 -17
  282. package/dist/index310.js.map +1 -1
  283. package/dist/index311.js +4 -30
  284. package/dist/index311.js.map +1 -1
  285. package/dist/index312.js +59 -4
  286. package/dist/index312.js.map +1 -1
  287. package/dist/index313.js +11 -59
  288. package/dist/index313.js.map +1 -1
  289. package/dist/index314.js +5 -9
  290. package/dist/index314.js.map +1 -1
  291. package/dist/index315.js +9 -5
  292. package/dist/index315.js.map +1 -1
  293. package/dist/index316.js +12 -9
  294. package/dist/index316.js.map +1 -1
  295. package/dist/index317.js +3 -13
  296. package/dist/index317.js.map +1 -1
  297. package/dist/index318.js +17 -3
  298. package/dist/index318.js.map +1 -1
  299. package/dist/index319.js +23 -14
  300. package/dist/index319.js.map +1 -1
  301. package/dist/index320.js +39 -23
  302. package/dist/index320.js.map +1 -1
  303. package/dist/index321.js +5 -41
  304. package/dist/index321.js.map +1 -1
  305. package/dist/index322.js +25 -5
  306. package/dist/index322.js.map +1 -1
  307. package/dist/index323.js +18 -24
  308. package/dist/index323.js.map +1 -1
  309. package/dist/index324.js +32 -17
  310. package/dist/index324.js.map +1 -1
  311. package/dist/index325.js +5 -34
  312. package/dist/index325.js.map +1 -1
  313. package/dist/index326.js +9 -5
  314. package/dist/index326.js.map +1 -1
  315. package/dist/index327.js +7 -8
  316. package/dist/index327.js.map +1 -1
  317. package/dist/index328.js +9 -8
  318. package/dist/index328.js.map +1 -1
  319. package/dist/index329.js +10 -9
  320. package/dist/index329.js.map +1 -1
  321. package/dist/index330.js +7 -10
  322. package/dist/index330.js.map +1 -1
  323. package/dist/index331.js +75 -7
  324. package/dist/index331.js.map +1 -1
  325. package/dist/index332.js +153 -66
  326. package/dist/index332.js.map +1 -1
  327. package/dist/index333.js +99 -147
  328. package/dist/index333.js.map +1 -1
  329. package/dist/index334.js +13 -113
  330. package/dist/index334.js.map +1 -1
  331. package/dist/index335.js +78 -12
  332. package/dist/index335.js.map +1 -1
  333. package/dist/index336.js +23 -57
  334. package/dist/index336.js.map +1 -1
  335. package/dist/index337.js +12 -45
  336. package/dist/index337.js.map +1 -1
  337. package/dist/index338.js +16 -13
  338. package/dist/index338.js.map +1 -1
  339. package/dist/index339.js +100 -15
  340. package/dist/index339.js.map +1 -1
  341. package/dist/index340.js +50 -95
  342. package/dist/index340.js.map +1 -1
  343. package/dist/index341.js +57 -5
  344. package/dist/index341.js.map +1 -1
  345. package/dist/index342.js +41 -78
  346. package/dist/index342.js.map +1 -1
  347. package/dist/index343.js +100 -58
  348. package/dist/index343.js.map +1 -1
  349. package/dist/index344.js +46 -104
  350. package/dist/index344.js.map +1 -1
  351. package/dist/index345.js +39 -51
  352. package/dist/index345.js.map +1 -1
  353. package/dist/index346.js +143 -42
  354. package/dist/index346.js.map +1 -1
  355. package/dist/index347.js +122 -123
  356. package/dist/index347.js.map +1 -1
  357. package/dist/index348.js +224 -108
  358. package/dist/index348.js.map +1 -1
  359. package/dist/index349.js +158 -174
  360. package/dist/index349.js.map +1 -1
  361. package/dist/index350.js +213 -144
  362. package/dist/index350.js.map +1 -1
  363. package/dist/index351.js +5 -309
  364. package/dist/index351.js.map +1 -1
  365. package/dist/index352.js +6 -5
  366. package/dist/index352.js.map +1 -1
  367. package/dist/index353.js +7 -6
  368. package/dist/index353.js.map +1 -1
  369. package/dist/index354.js +4 -5
  370. package/dist/index354.js.map +1 -1
  371. package/dist/index355.js +4 -4
  372. package/dist/index355.js.map +1 -1
  373. package/dist/index356.js +21 -6
  374. package/dist/index356.js.map +1 -1
  375. package/dist/index357.js +10 -21
  376. package/dist/index357.js.map +1 -1
  377. package/dist/index358.js +128 -10
  378. package/dist/index358.js.map +1 -1
  379. package/dist/index359.js +36 -122
  380. package/dist/index359.js.map +1 -1
  381. package/dist/index360.js +64 -38
  382. package/dist/index360.js.map +1 -1
  383. package/dist/index361.js +115 -66
  384. package/dist/index361.js.map +1 -1
  385. package/dist/index362.js +485 -112
  386. package/dist/index362.js.map +1 -1
  387. package/dist/index363.js +7 -490
  388. package/dist/index363.js.map +1 -1
  389. package/dist/index364.js +1 -1
  390. package/dist/index364.js.map +1 -1
  391. package/dist/index367.js +2 -9
  392. package/dist/index367.js.map +1 -1
  393. package/dist/index368.js +26 -5
  394. package/dist/index368.js.map +1 -1
  395. package/dist/index369.js +43 -27
  396. package/dist/index369.js.map +1 -1
  397. package/dist/index370.js +35 -46
  398. package/dist/index370.js.map +1 -1
  399. package/dist/index371.js +16 -27
  400. package/dist/index371.js.map +1 -1
  401. package/dist/index372.js +41 -16
  402. package/dist/index372.js.map +1 -1
  403. package/dist/index373.js +11 -42
  404. package/dist/index373.js.map +1 -1
  405. package/dist/index374.js +10 -14
  406. package/dist/index374.js.map +1 -1
  407. package/dist/index375.js +51 -9
  408. package/dist/index375.js.map +1 -1
  409. package/dist/index376.js +40 -53
  410. package/dist/index376.js.map +1 -1
  411. package/dist/index377.js +17 -43
  412. package/dist/index377.js.map +1 -1
  413. package/dist/index378.js +4 -15
  414. package/dist/index378.js.map +1 -1
  415. package/dist/index379.js +4 -4
  416. package/dist/index379.js.map +1 -1
  417. package/dist/index380.js +9 -4
  418. package/dist/index380.js.map +1 -1
  419. package/dist/index381.js +304 -9
  420. package/dist/index381.js.map +1 -1
  421. package/dist/index382.js +4 -339
  422. package/dist/index382.js.map +1 -1
  423. package/dist/index383.js +21 -5
  424. package/dist/index383.js.map +1 -1
  425. package/dist/index384.js +106 -16
  426. package/dist/index384.js.map +1 -1
  427. package/dist/index385.js +19 -109
  428. package/dist/index385.js.map +1 -1
  429. package/dist/index386.js +18 -18
  430. package/dist/index386.js.map +1 -1
  431. package/dist/index387.js +14 -19
  432. package/dist/index387.js.map +1 -1
  433. package/dist/index388.js +12 -4
  434. package/dist/index388.js.map +1 -1
  435. package/dist/index389.js +113 -20
  436. package/dist/index389.js.map +1 -1
  437. package/dist/index390.js +5 -11
  438. package/dist/index390.js.map +1 -1
  439. package/dist/index391.js +28 -85
  440. package/dist/index391.js.map +1 -1
  441. package/dist/index392.js +9 -9
  442. package/dist/index392.js.map +1 -1
  443. package/dist/index393.js +6 -29
  444. package/dist/index393.js.map +1 -1
  445. package/dist/index394.js +254 -10
  446. package/dist/index394.js.map +1 -1
  447. package/dist/index395.js +12 -6
  448. package/dist/index395.js.map +1 -1
  449. package/dist/index396.js +11 -252
  450. package/dist/index396.js.map +1 -1
  451. package/dist/index397.js +6 -11
  452. package/dist/index397.js.map +1 -1
  453. package/dist/index398.js +22 -10
  454. package/dist/index398.js.map +1 -1
  455. package/dist/index399.js +22 -6
  456. package/dist/index399.js.map +1 -1
  457. package/dist/index4.js.map +1 -1
  458. package/dist/index400.js +103 -21
  459. package/dist/index400.js.map +1 -1
  460. package/dist/index401.js +15 -23
  461. package/dist/index401.js.map +1 -1
  462. package/dist/index402.js +11 -108
  463. package/dist/index402.js.map +1 -1
  464. package/dist/index403.js +10 -15
  465. package/dist/index403.js.map +1 -1
  466. package/dist/index404.js +237 -10
  467. package/dist/index404.js.map +1 -1
  468. package/dist/index405.js +27 -9
  469. package/dist/index405.js.map +1 -1
  470. package/dist/index406.js +33 -238
  471. package/dist/index406.js.map +1 -1
  472. package/dist/index407.js +11 -30
  473. package/dist/index407.js.map +1 -1
  474. package/dist/index408.js +118 -48
  475. package/dist/index408.js.map +1 -1
  476. package/dist/index409.js +39 -11
  477. package/dist/index409.js.map +1 -1
  478. package/dist/index410.js +18 -121
  479. package/dist/index410.js.map +1 -1
  480. package/dist/index411.js +11 -39
  481. package/dist/index411.js.map +1 -1
  482. package/dist/index412.js +21 -24
  483. package/dist/index412.js.map +1 -1
  484. package/dist/index413.js +17 -11
  485. package/dist/index413.js.map +1 -1
  486. package/dist/index414.js +10 -20
  487. package/dist/index414.js.map +1 -1
  488. package/dist/index415.js +4 -17
  489. package/dist/index415.js.map +1 -1
  490. package/dist/index416.js +300 -14
  491. package/dist/index416.js.map +1 -1
  492. package/dist/index417.js +61 -323
  493. package/dist/index417.js.map +1 -1
  494. package/dist/index418.js +4 -63
  495. package/dist/index418.js.map +1 -1
  496. package/dist/index419.js +28 -4
  497. package/dist/index419.js.map +1 -1
  498. package/dist/index420.js +468 -25
  499. package/dist/index420.js.map +1 -1
  500. package/dist/index421.js +250 -452
  501. package/dist/index421.js.map +1 -1
  502. package/dist/index6.js.map +1 -1
  503. package/dist/index7.js +91 -133
  504. package/dist/index7.js.map +1 -1
  505. package/dist/index70.js +2 -2
  506. package/dist/index70.js.map +1 -1
  507. package/dist/index71.js +11 -4
  508. package/dist/index71.js.map +1 -1
  509. package/dist/index72.js +1 -3
  510. package/dist/index72.js.map +1 -1
  511. package/dist/index8.js.map +1 -1
  512. package/dist/index9.js +16 -19
  513. package/dist/index9.js.map +1 -1
  514. package/dist/test-only/TestCoverageTestBadge/index.d.ts +1 -1
  515. package/dist/test-only/TestCoverageTestBadge/index.d.ts.map +1 -1
  516. package/package.json +15 -15
  517. package/dist/index422.js +0 -272
  518. package/dist/index422.js.map +0 -1
package/dist/index273.js CHANGED
@@ -1,94 +1,96 @@
1
1
  "use client";
2
2
  import { isElement as e } from "./index200.js";
3
3
  import { useIsoLayoutEffect as t } from "./index204.js";
4
- import { useFloatingTree as n } from "./index242.js";
5
- import { useFloating as r } from "./index249.js";
6
- import { useFloatingRootContext as i } from "./index272.js";
7
- import * as a from "react";
4
+ import { useFloatingTree as n } from "./index243.js";
5
+ import { useFloating as r } from "./index250.js";
6
+ import * as i from "react";
8
7
  //#region ../../node_modules/@base-ui/react/floating-ui-react/hooks/useFloating.mjs
9
- function o(o = {}) {
10
- let { nodeId: s, externalTree: c } = o, l = i(o), u = o.rootContext || l, d = u.useState("referenceElement"), f = u.useState("floatingElement"), p = u.useState("domReferenceElement"), m = u.useState("open"), h = u.useState("floatingId"), [g, _] = a.useState(null), [v, y] = a.useState(void 0), [b, x] = a.useState(void 0), S = a.useRef(null), C = n(c), w = a.useMemo(() => ({
11
- reference: d,
12
- floating: f,
13
- domReference: p
8
+ function a(e) {
9
+ return o(e, e.rootContext);
10
+ }
11
+ function o(a, o) {
12
+ let { nodeId: s, externalTree: c } = a, l = o.useState("referenceElement"), u = o.useState("floatingElement"), d = o.useState("domReferenceElement"), f = o.useState("open"), p = o.useState("floatingId"), [m, h] = i.useState(null), [g, _] = i.useState(void 0), [v, y] = i.useState(void 0), b = i.useRef(null), x = n(c), S = i.useMemo(() => ({
13
+ reference: l,
14
+ floating: u,
15
+ domReference: d
14
16
  }), [
15
- d,
16
- f,
17
- p
18
- ]), T = r({
19
- ...o,
17
+ l,
18
+ u,
19
+ d
20
+ ]), C = r({
21
+ ...a,
20
22
  elements: {
21
- ...w,
22
- ...g && { reference: g }
23
+ ...S,
24
+ ...m && { reference: m }
23
25
  }
24
- }), E = e(v) ? v : null, D = b === void 0 ? u.state.floatingElement : b;
25
- u.useSyncedValue("referenceElement", v ?? null), u.useSyncedValue("domReferenceElement", v === void 0 ? p : E), u.useSyncedValue("floatingElement", D);
26
- let O = a.useCallback((t) => {
26
+ }), w = e(g) ? g : null, T = v === void 0 ? o.state.floatingElement : v;
27
+ o.useSyncedValue("referenceElement", g ?? null), o.useSyncedValue("domReferenceElement", g === void 0 ? d : w), o.useSyncedValue("floatingElement", T);
28
+ let E = i.useCallback((t) => {
27
29
  let n = e(t) ? {
28
30
  getBoundingClientRect: () => t.getBoundingClientRect(),
29
31
  getClientRects: () => t.getClientRects(),
30
32
  contextElement: t
31
33
  } : t;
32
- _(n), T.refs.setReference(n);
33
- }, [T.refs]), k = a.useCallback((t) => {
34
- (e(t) || t === null) && (S.current = t, y(t)), (e(T.refs.reference.current) || T.refs.reference.current === null || t !== null && !e(t)) && T.refs.setReference(t);
35
- }, [T.refs, y]), A = a.useCallback((e) => {
36
- x(e), T.refs.setFloating(e);
37
- }, [T.refs]), j = a.useMemo(() => ({
38
- ...T.refs,
39
- setReference: k,
40
- setFloating: A,
41
- setPositionReference: O,
42
- domReference: S
34
+ h(n), C.refs.setReference(n);
35
+ }, [C.refs]), D = i.useCallback((t) => {
36
+ (e(t) || t === null) && (b.current = t, _(t)), (e(C.refs.reference.current) || C.refs.reference.current === null || t !== null && !e(t)) && C.refs.setReference(t);
37
+ }, [C.refs, _]), O = i.useCallback((e) => {
38
+ y(e), C.refs.setFloating(e);
39
+ }, [C.refs]), k = i.useMemo(() => ({
40
+ ...C.refs,
41
+ setReference: D,
42
+ setFloating: O,
43
+ setPositionReference: E,
44
+ domReference: b
43
45
  }), [
44
- T.refs,
45
- k,
46
- A,
47
- O
48
- ]), M = a.useMemo(() => ({
49
- ...T.elements,
50
- domReference: p
51
- }), [T.elements, p]), N = a.useMemo(() => ({
52
- ...T,
53
- dataRef: u.context.dataRef,
54
- open: m,
55
- onOpenChange: u.setOpen,
56
- events: u.context.events,
57
- floatingId: h,
58
- refs: j,
59
- elements: M,
46
+ C.refs,
47
+ D,
48
+ O,
49
+ E
50
+ ]), A = i.useMemo(() => ({
51
+ ...C.elements,
52
+ domReference: d
53
+ }), [C.elements, d]), j = i.useMemo(() => ({
54
+ ...C,
55
+ dataRef: o.context.dataRef,
56
+ open: f,
57
+ onOpenChange: o.setOpen,
58
+ events: o.context.events,
59
+ floatingId: p,
60
+ refs: k,
61
+ elements: A,
60
62
  nodeId: s,
61
- rootStore: u
63
+ rootStore: o
62
64
  }), [
63
- T,
64
- j,
65
- M,
65
+ C,
66
+ k,
67
+ A,
66
68
  s,
67
- u,
68
- m,
69
- h
69
+ o,
70
+ f,
71
+ p
70
72
  ]);
71
73
  return t(() => {
72
- p && (S.current = p);
73
- }, [p]), t(() => {
74
- u.context.dataRef.current.floatingContext = N;
75
- let e = C?.nodesRef.current.find((e) => e.id === s);
76
- e && (e.context = N);
77
- }), a.useMemo(() => ({
78
- ...T,
79
- context: N,
80
- refs: j,
81
- elements: M,
82
- rootStore: u
74
+ d && (b.current = d);
75
+ }, [d]), t(() => {
76
+ o.context.dataRef.current.floatingContext = j;
77
+ let e = x?.nodesRef.current.find((e) => e.id === s);
78
+ e && (e.context = j);
79
+ }), i.useMemo(() => ({
80
+ ...C,
81
+ context: j,
82
+ refs: k,
83
+ elements: A,
84
+ rootStore: o
83
85
  }), [
84
- T,
86
+ C,
87
+ k,
88
+ A,
85
89
  j,
86
- M,
87
- N,
88
- u
90
+ o
89
91
  ]);
90
92
  }
91
93
  //#endregion
92
- export { o as useFloating };
94
+ export { a as useBaseUIFloating };
93
95
 
94
96
  //# sourceMappingURL=index273.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index273.js","names":["React","usePosition"],"sources":["../../../node_modules/@base-ui/react/floating-ui-react/hooks/useFloating.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useFloating as usePosition } from '@floating-ui/react-dom';\nimport { isElement } from '@floating-ui/utils/dom';\nimport { useFloatingTree } from \"../components/FloatingTree.mjs\";\nimport { useFloatingRootContext } from \"./useFloatingRootContext.mjs\";\n\n/**\n * Provides data to position a floating element and context to add interactions.\n * @see https://floating-ui.com/docs/useFloating\n */\nexport function useFloating(options = {}) {\n const {\n nodeId,\n externalTree\n } = options;\n const internalStore = useFloatingRootContext(options);\n const store = options.rootContext || internalStore;\n const referenceElement = store.useState('referenceElement');\n const floatingElement = store.useState('floatingElement');\n const domReferenceElement = store.useState('domReferenceElement');\n const open = store.useState('open');\n const floatingId = store.useState('floatingId');\n const [positionReference, setPositionReferenceRaw] = React.useState(null);\n const [localDomReference, setLocalDomReference] = React.useState(undefined);\n const [localFloatingElement, setLocalFloatingElement] = React.useState(undefined);\n const domReferenceRef = React.useRef(null);\n const tree = useFloatingTree(externalTree);\n const storeElements = React.useMemo(() => ({\n reference: referenceElement,\n floating: floatingElement,\n domReference: domReferenceElement\n }), [referenceElement, floatingElement, domReferenceElement]);\n const position = usePosition({\n ...options,\n elements: {\n ...storeElements,\n ...(positionReference && {\n reference: positionReference\n })\n }\n });\n const localDomReferenceElement = isElement(localDomReference) ? localDomReference : null;\n const syncedFloatingElement = localFloatingElement === undefined ? store.state.floatingElement : localFloatingElement;\n store.useSyncedValue('referenceElement', localDomReference ?? null);\n store.useSyncedValue('domReferenceElement', localDomReference === undefined ? domReferenceElement : localDomReferenceElement);\n store.useSyncedValue('floatingElement', syncedFloatingElement);\n const setPositionReference = React.useCallback(node => {\n const computedPositionReference = isElement(node) ? {\n getBoundingClientRect: () => node.getBoundingClientRect(),\n getClientRects: () => node.getClientRects(),\n contextElement: node\n } : node;\n // Store the positionReference in state if the DOM reference is specified externally via the\n // `elements.reference` option. This ensures that it won't be overridden on future renders.\n setPositionReferenceRaw(computedPositionReference);\n position.refs.setReference(computedPositionReference);\n }, [position.refs]);\n const setReference = React.useCallback(node => {\n if (isElement(node) || node === null) {\n domReferenceRef.current = node;\n setLocalDomReference(node);\n }\n\n // Backwards-compatibility for passing a virtual element to `reference`\n // after it has set the DOM reference.\n if (isElement(position.refs.reference.current) || position.refs.reference.current === null ||\n // Don't allow setting virtual elements using the old technique back to\n // `null` to support `positionReference` + an unstable `reference`\n // callback ref.\n node !== null && !isElement(node)) {\n position.refs.setReference(node);\n }\n }, [position.refs, setLocalDomReference]);\n const setFloating = React.useCallback(node => {\n setLocalFloatingElement(node);\n position.refs.setFloating(node);\n }, [position.refs]);\n const refs = React.useMemo(() => ({\n ...position.refs,\n setReference,\n setFloating,\n setPositionReference,\n domReference: domReferenceRef\n }), [position.refs, setReference, setFloating, setPositionReference]);\n const elements = React.useMemo(() => ({\n ...position.elements,\n domReference: domReferenceElement\n }), [position.elements, domReferenceElement]);\n const context = React.useMemo(() => ({\n ...position,\n dataRef: store.context.dataRef,\n open,\n onOpenChange: store.setOpen,\n events: store.context.events,\n floatingId,\n refs,\n elements,\n nodeId,\n rootStore: store\n }), [position, refs, elements, nodeId, store, open, floatingId]);\n useIsoLayoutEffect(() => {\n if (domReferenceElement) {\n domReferenceRef.current = domReferenceElement;\n }\n }, [domReferenceElement]);\n useIsoLayoutEffect(() => {\n store.context.dataRef.current.floatingContext = context;\n const node = tree?.nodesRef.current.find(n => n.id === nodeId);\n if (node) {\n node.context = context;\n }\n });\n return React.useMemo(() => ({\n ...position,\n context,\n refs,\n elements,\n rootStore: store\n }), [position, refs, elements, context, store]);\n}"],"x_google_ignoreList":[0],"mappings":"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"}
1
+ {"version":3,"file":"index273.js","names":["React","usePosition"],"sources":["../../../node_modules/@base-ui/react/floating-ui-react/hooks/useFloating.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useFloating as usePosition } from '@floating-ui/react-dom';\nimport { isElement } from '@floating-ui/utils/dom';\nimport { useFloatingTree } from \"../components/FloatingTree.mjs\";\nimport { useFloatingRootContext } from \"./useFloatingRootContext.mjs\";\n\n/**\n * Provides data to position a floating element and context to add interactions.\n * @see https://floating-ui.com/docs/useFloating\n */\nexport function useFloating(options = {}) {\n const internalStore = useFloatingRootContext(options);\n const store = options.rootContext || internalStore;\n return useFloatingWithStore(options, store);\n}\n\n/**\n * Base UI's private `useFloating` path. The caller must supply the root store, so this skips the\n * internal root-context hook used by the public Floating UI-compatible API.\n */\nexport function useBaseUIFloating(options) {\n return useFloatingWithStore(options, options.rootContext);\n}\nfunction useFloatingWithStore(options, store) {\n const {\n nodeId,\n externalTree\n } = options;\n const referenceElement = store.useState('referenceElement');\n const floatingElement = store.useState('floatingElement');\n const domReferenceElement = store.useState('domReferenceElement');\n const open = store.useState('open');\n const floatingId = store.useState('floatingId');\n const [positionReference, setPositionReferenceRaw] = React.useState(null);\n const [localDomReference, setLocalDomReference] = React.useState(undefined);\n const [localFloatingElement, setLocalFloatingElement] = React.useState(undefined);\n const domReferenceRef = React.useRef(null);\n const tree = useFloatingTree(externalTree);\n const storeElements = React.useMemo(() => ({\n reference: referenceElement,\n floating: floatingElement,\n domReference: domReferenceElement\n }), [referenceElement, floatingElement, domReferenceElement]);\n const position = usePosition({\n ...options,\n elements: {\n ...storeElements,\n ...(positionReference && {\n reference: positionReference\n })\n }\n });\n const localDomReferenceElement = isElement(localDomReference) ? localDomReference : null;\n const syncedFloatingElement = localFloatingElement === undefined ? store.state.floatingElement : localFloatingElement;\n store.useSyncedValue('referenceElement', localDomReference ?? null);\n store.useSyncedValue('domReferenceElement', localDomReference === undefined ? domReferenceElement : localDomReferenceElement);\n store.useSyncedValue('floatingElement', syncedFloatingElement);\n const setPositionReference = React.useCallback(node => {\n const computedPositionReference = isElement(node) ? {\n getBoundingClientRect: () => node.getBoundingClientRect(),\n getClientRects: () => node.getClientRects(),\n contextElement: node\n } : node;\n // Store the positionReference in state if the DOM reference is specified externally via the\n // `elements.reference` option. This ensures that it won't be overridden on future renders.\n setPositionReferenceRaw(computedPositionReference);\n position.refs.setReference(computedPositionReference);\n }, [position.refs]);\n const setReference = React.useCallback(node => {\n if (isElement(node) || node === null) {\n domReferenceRef.current = node;\n setLocalDomReference(node);\n }\n\n // Backwards-compatibility for passing a virtual element to `reference`\n // after it has set the DOM reference.\n if (isElement(position.refs.reference.current) || position.refs.reference.current === null ||\n // Don't allow setting virtual elements using the old technique back to\n // `null` to support `positionReference` + an unstable `reference`\n // callback ref.\n node !== null && !isElement(node)) {\n position.refs.setReference(node);\n }\n }, [position.refs, setLocalDomReference]);\n const setFloating = React.useCallback(node => {\n setLocalFloatingElement(node);\n position.refs.setFloating(node);\n }, [position.refs]);\n const refs = React.useMemo(() => ({\n ...position.refs,\n setReference,\n setFloating,\n setPositionReference,\n domReference: domReferenceRef\n }), [position.refs, setReference, setFloating, setPositionReference]);\n const elements = React.useMemo(() => ({\n ...position.elements,\n domReference: domReferenceElement\n }), [position.elements, domReferenceElement]);\n const context = React.useMemo(() => ({\n ...position,\n dataRef: store.context.dataRef,\n open,\n onOpenChange: store.setOpen,\n events: store.context.events,\n floatingId,\n refs,\n elements,\n nodeId,\n rootStore: store\n }), [position, refs, elements, nodeId, store, open, floatingId]);\n useIsoLayoutEffect(() => {\n if (domReferenceElement) {\n domReferenceRef.current = domReferenceElement;\n }\n }, [domReferenceElement]);\n useIsoLayoutEffect(() => {\n store.context.dataRef.current.floatingContext = context;\n const node = tree?.nodesRef.current.find(n => n.id === nodeId);\n if (node) {\n node.context = context;\n }\n });\n return React.useMemo(() => ({\n ...position,\n context,\n refs,\n elements,\n rootStore: store\n }), [position, refs, elements, context, store]);\n}"],"x_google_ignoreList":[0],"mappings":"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"}
package/dist/index274.js CHANGED
@@ -2,21 +2,25 @@
2
2
  import { isHTMLElement as e } from "./index200.js";
3
3
  import { useStableCallback as t } from "./index202.js";
4
4
  import { useIsoLayoutEffect as n } from "./index204.js";
5
- import { focusOut as r, listNavigation as i } from "./index208.js";
6
- import { createChangeEventDetails as a } from "./index209.js";
7
- import { isVirtualClick as o, isVirtualPointerEvent as ee, stopEvent as s } from "./index221.js";
8
- import { ARROW_DOWN as c, ARROW_LEFT as te, ARROW_RIGHT as l, ARROW_UP as u } from "./index222.js";
9
- import { activeElement as d, contains as f, getTarget as ne } from "./index223.js";
10
- import { getFloatingFocusElement as re, isTypeableCombobox as ie } from "./index224.js";
11
- import { useValueAsRef as p } from "./index227.js";
12
- import { useAnimationFrame as ae } from "./index228.js";
13
- import { ownerDocument as oe } from "./index229.js";
14
- import { findNonDisabledListIndex as m, getMaxListIndex as se, getMinListIndex as ce, isIndexOutOfListBounds as le } from "./index233.js";
15
- import { enqueueFocus as ue } from "./index237.js";
16
- import { useFloatingParentNodeId as de, useFloatingTree as fe } from "./index242.js";
5
+ import { ownerDocument as r } from "./index207.js";
6
+ import { focusOut as i, listNavigation as a } from "./index210.js";
7
+ import { createChangeEventDetails as o } from "./index211.js";
8
+ import { webkit as s } from "./index220.js";
9
+ import { isVirtualClick as ee, isVirtualPointerEvent as te, stopEvent as c } from "./index223.js";
10
+ import { ARROW_DOWN as ne, ARROW_LEFT as l, ARROW_RIGHT as u, ARROW_UP as re } from "./index224.js";
11
+ import { activeElement as d, contains as f, getTarget as ie } from "./index225.js";
12
+ import { getFloatingFocusElement as ae, isTypeableCombobox as oe } from "./index226.js";
13
+ import { useValueAsRef as p } from "./index229.js";
14
+ import { useAnimationFrame as se } from "./index230.js";
15
+ import { findNonDisabledListIndex as m, getMaxListIndex as ce, getMinListIndex as le, isIndexOutOfListBounds as ue } from "./index234.js";
16
+ import { enqueueFocus as de } from "./index238.js";
17
+ import { useFloatingParentNodeId as fe, useFloatingTree as pe } from "./index243.js";
17
18
  import * as h from "react";
18
19
  //#region ../../node_modules/@base-ui/react/floating-ui-react/hooks/useListNavigation.mjs
19
20
  var g = "Escape";
21
+ function me(e) {
22
+ return s && e.movementX === 0 && e.movementY === 0;
23
+ }
20
24
  function _(e, t, n) {
21
25
  switch (e) {
22
26
  case "vertical": return t;
@@ -30,211 +34,213 @@ function v(e, t) {
30
34
  function y(e, t, n) {
31
35
  return _(t, e === "ArrowDown", n ? e === "ArrowLeft" : e === "ArrowRight") || e === "Enter" || e === " " || e === "";
32
36
  }
33
- function pe(e, t, n) {
34
- return _(t, n ? e === te : e === l, e === c);
37
+ function he(e, t, n) {
38
+ return _(t, n ? e === l : e === u, e === ne);
35
39
  }
36
- function me(e, t, n, r) {
37
- return t === "both" || t === "horizontal" && r ? e === g : _(t, n ? e === l : e === te, e === u);
40
+ function ge(e, t, n, r) {
41
+ return t === "both" || t === "horizontal" && r ? e === g : _(t, n ? e === u : e === l, e === re);
38
42
  }
39
- function b(c, te) {
40
- let { listRef: l, activeIndex: u, onNavigate: g = () => {}, enabled: _ = !0, selectedIndex: b = null, allowEscape: x = !1, loopFocus: S = !1, nested: C = !1, rtl: w = !1, virtual: T = !1, focusItemOnOpen: E = "auto", focusItemOnHover: he = !0, openOnArrowKeyDown: D = !0, disabledIndices: O = void 0, orientation: k = "vertical", parentOrientation: ge, id: _e, resetOnPointerLeave: ve = !0, externalTree: ye, grid: A } = te, be = A != null;
41
- process.env.NODE_ENV !== "production" && (x && (S || console.warn("`useListNavigation` looping must be enabled to allow escaping."), T || console.warn("`useListNavigation` must be virtual to allow escaping.")), k === "vertical" && be && console.warn("In grid list navigation mode, the `orientation` should", "be either \"horizontal\" or \"both\"."));
42
- let j = "rootStore" in c ? c.rootStore : c, M = j.useState("open"), N = j.useState("floatingElement"), P = j.useState("domReferenceElement"), xe = j.context.dataRef, Se = re(N), F = ie(P), I = p(Se), L = de(), R = fe(ye), z = h.useRef(E), B = h.useRef(b ?? -1), V = h.useRef(null), H = h.useRef(!0), U = t((e) => {
43
- g(B.current === -1 ? null : B.current, e);
44
- }), W = h.useRef(!!N), Ce = h.useRef(M), G = h.useRef(!1), K = h.useRef(!1), we = h.useRef(null), Te = p(O), q = p(M), J = p(b), Ee = p(ve), De = ae(), Oe = ae(), ke = t(() => {
43
+ function b(s, ne) {
44
+ let { listRef: l, activeIndex: u, onNavigate: re = () => {}, enabled: g = !0, selectedIndex: _ = null, allowEscape: b = !1, loopFocus: x = !1, nested: S = !1, rtl: C = !1, virtual: w = !1, focusItemOnOpen: T = "auto", focusItemOnHover: _e = !0, openOnArrowKeyDown: E = !0, disabledIndices: D = void 0, orientation: O = "vertical", parentOrientation: ve, id: ye, resetOnPointerLeave: be = !0, externalTree: xe, grid: k } = ne, Se = k != null;
45
+ process.env.NODE_ENV !== "production" && (b && (x || console.warn("`useListNavigation` looping must be enabled to allow escaping."), w || console.warn("`useListNavigation` must be virtual to allow escaping.")), O === "vertical" && Se && console.warn("In grid list navigation mode, the `orientation` should", "be either \"horizontal\" or \"both\"."));
46
+ let A = "rootStore" in s ? s.rootStore : s, j = A.useState("open"), M = A.useState("floatingElement"), N = A.useState("domReferenceElement"), Ce = A.context.dataRef, we = ae(M), P = oe(N), F = p(we), I = fe(), L = pe(xe), R = h.useRef(T), z = h.useRef(_ ?? -1), B = h.useRef(null), V = h.useRef(!0), H = t((e) => {
47
+ re(z.current === -1 ? null : z.current, e);
48
+ }), U = h.useRef(!!M), Te = h.useRef(j), W = h.useRef(!1), G = h.useRef(!1), K = h.useRef(null), Ee = p(D), q = p(j), J = p(_), De = p(be), Oe = se(), ke = se(), Ae = t(() => {
45
49
  function e(e) {
46
- T ? R?.events.emit("virtualfocus", e) : we.current = ue(e, {
47
- sync: G.current,
50
+ w ? L?.events.emit("virtualfocus", e) : K.current = de(e, {
51
+ sync: W.current,
48
52
  preventScroll: !0
49
53
  });
50
54
  }
51
- let t = l.current[B.current], n = K.current;
52
- t && e(t), (G.current ? (e) => e() : (e) => De.request(e))(() => {
53
- let r = l.current[B.current] || t;
54
- r && (t || e(r), Z && (n || !H.current) && r.scrollIntoView?.({
55
+ let t = l.current[z.current], n = G.current;
56
+ t && e(t), (W.current ? (e) => e() : (e) => Oe.request(e))(() => {
57
+ let r = l.current[z.current] || t;
58
+ r && (t || e(r), Ne && (n || !V.current) && r.scrollIntoView?.({
55
59
  block: "nearest",
56
60
  inline: "nearest"
57
61
  }));
58
62
  });
59
63
  });
60
64
  n(() => {
61
- xe.current.orientation = k;
62
- }, [xe, k]), n(() => {
63
- _ && (M && N ? (B.current = b ?? -1, z.current && b != null && (K.current = !0, U())) : W.current && (B.current = -1, U()));
65
+ Ce.current.orientation = O;
66
+ }, [Ce, O]), n(() => {
67
+ g && (j && M ? (z.current = _ ?? -1, R.current && _ != null && (G.current = !0, H())) : U.current && (z.current = -1, H()));
64
68
  }, [
65
- _,
69
+ g,
70
+ j,
66
71
  M,
67
- N,
68
- b,
69
- U
72
+ _,
73
+ H
70
74
  ]), n(() => {
71
- if (_) {
72
- if (!M) {
73
- G.current = !1;
75
+ if (g) {
76
+ if (!j) {
77
+ W.current = !1;
74
78
  return;
75
79
  }
76
- if (N) if (u == null) {
77
- if (G.current = !1, J.current != null) return;
78
- if (W.current && (B.current = -1, ke()), (!Ce.current || !W.current) && z.current && (V.current != null || z.current === !0 && V.current == null)) {
79
- let e = 0, t = () => {
80
- l.current[0] == null ? (e < 2 && (e ? (e) => Oe.request(e) : queueMicrotask)(t), e += 1) : (B.current = V.current == null || y(V.current, k, w) || C ? ce(l) : se(l), V.current = null, U());
81
- };
82
- t();
83
- }
84
- } else le(l.current, u) || (B.current = u, ke(), K.current = !1);
80
+ if (M) {
81
+ if (u == null) {
82
+ if (W.current = !1, J.current != null) return;
83
+ if (U.current && (z.current = -1, Ae()), (!Te.current || !U.current) && R.current && (B.current != null || R.current === !0 && B.current == null)) {
84
+ let e = 0, t = () => {
85
+ l.current[0] == null ? (e < 2 && (e ? (e) => ke.request(e) : queueMicrotask)(t), e += 1) : (z.current = B.current == null || y(B.current, O, C) || S ? le(l) : ce(l), B.current = null, H());
86
+ };
87
+ t();
88
+ }
89
+ } else ue(l.current, u) || (z.current = u, Ae(), G.current = !1);
90
+ }
85
91
  }
86
92
  }, [
87
- _,
93
+ g,
94
+ j,
88
95
  M,
89
- N,
90
96
  u,
91
97
  J,
92
- C,
98
+ S,
93
99
  l,
94
- k,
95
- w,
96
- U,
97
- ke,
98
- Oe
100
+ O,
101
+ C,
102
+ H,
103
+ Ae,
104
+ ke
99
105
  ]), n(() => {
100
- if (!_ || N || !R || T || !W.current) return;
101
- let e = R.nodesRef.current, t = e.find((e) => e.id === L)?.context?.elements.floating, n = d(oe(P ?? t ?? null)), r = e.some((e) => e.context && f(e.context.elements.floating, n));
102
- t && !r && H.current && t.focus({ preventScroll: !0 });
106
+ if (!g || M || !L || w || !U.current) return;
107
+ let e = L.nodesRef.current, t = e.find((e) => e.id === I)?.context?.elements.floating, n = d(r(N ?? t ?? null)), i = e.some((e) => e.context && f(e.context.elements.floating, n));
108
+ t && !i && V.current && t.focus({ preventScroll: !0 });
103
109
  }, [
104
- _,
110
+ g,
111
+ M,
105
112
  N,
106
- P,
107
- R,
108
113
  L,
109
- T
114
+ I,
115
+ w
110
116
  ]), n(() => {
111
- Ce.current = M, W.current = !!N;
117
+ Te.current = j, U.current = !!M;
112
118
  }), n(() => {
113
- M || (V.current = null, z.current = E);
114
- }, [M, E]);
115
- let Ae = u != null, je = t((e) => {
119
+ j || (B.current = null, R.current = T);
120
+ }, [j, T]);
121
+ let je = u != null, Y = t((e) => {
116
122
  if (!q.current) return;
117
123
  let t = l.current.indexOf(e.currentTarget);
118
- t !== -1 && (B.current !== t || u !== t) && (B.current = t, U(e));
119
- }), Y = t(() => ge ?? R?.nodesRef.current.find((e) => e.id === L)?.context?.dataRef?.current.orientation), Me = t(() => ce(l, Te.current)), X = t((t) => {
120
- if (H.current = !1, G.current = !0, t.which === 229 || !q.current && t.currentTarget === I.current) return;
121
- if (C && me(t.key, k, w, be)) {
122
- v(t.key, Y()) || s(t), j.setOpen(!1, a(i, t.nativeEvent)), e(P) && (T ? R?.events.emit("virtualfocus", P) : P.focus());
124
+ t !== -1 && (z.current !== t || u !== t) && (z.current = t, H(e));
125
+ }), X = t(() => ve ?? L?.nodesRef.current.find((e) => e.id === I)?.context?.dataRef?.current.orientation), Me = t(() => le(l, Ee.current)), Z = t((t) => {
126
+ if (V.current = !1, W.current = !0, t.which === 229 || !q.current && t.currentTarget === F.current) return;
127
+ if (S && ge(t.key, O, C, Se)) {
128
+ v(t.key, X()) || c(t), A.setOpen(!1, o(a, t.nativeEvent)), e(N) && (w ? L?.events.emit("virtualfocus", N) : N.focus());
123
129
  return;
124
130
  }
125
- let n = B.current, r = ce(l, O), o = se(l, O);
126
- if (F || (t.key === "Home" && (s(t), B.current = r, U(t)), t.key === "End" && (s(t), B.current = o, U(t))), A != null) {
127
- let e = A(t, B.current, l, k, S, w, O, r, o);
128
- if (e != null && (B.current = e, U(t)), k === "both") return;
131
+ let n = z.current, r = le(l, D), i = ce(l, D);
132
+ if (P || (t.key === "Home" && (c(t), z.current = r, H(t)), t.key === "End" && (c(t), z.current = i, H(t))), k != null) {
133
+ let e = k(t, z.current, l, O, x, C, D, r, i);
134
+ if (e != null && (z.current = e, H(t)), O === "both") return;
129
135
  }
130
- if (v(t.key, k)) {
131
- if (s(t), M && !T && d(t.currentTarget.ownerDocument) === t.currentTarget) {
132
- B.current = y(t.key, k, w) ? r : o, U(t);
136
+ if (v(t.key, O)) {
137
+ if (c(t), j && !w && d(t.currentTarget.ownerDocument) === t.currentTarget) {
138
+ z.current = y(t.key, O, C) ? r : i, H(t);
133
139
  return;
134
140
  }
135
- y(t.key, k, w) ? S ? n >= o ? x && n !== l.current.length ? B.current = -1 : (G.current = !1, B.current = r) : B.current = m(l.current, {
141
+ y(t.key, O, C) ? x ? n >= i ? b && n !== l.current.length ? z.current = -1 : (W.current = !1, z.current = r) : z.current = m(l.current, {
136
142
  startingIndex: n,
137
- disabledIndices: O
138
- }) : B.current = Math.min(o, m(l.current, {
143
+ disabledIndices: D
144
+ }) : z.current = Math.min(i, m(l.current, {
139
145
  startingIndex: n,
140
- disabledIndices: O
141
- })) : S ? n <= r ? x && n !== -1 ? B.current = l.current.length : (G.current = !1, B.current = o) : B.current = m(l.current, {
146
+ disabledIndices: D
147
+ })) : x ? n <= r ? b && n !== -1 ? z.current = l.current.length : (W.current = !1, z.current = i) : z.current = m(l.current, {
142
148
  startingIndex: n,
143
149
  decrement: !0,
144
- disabledIndices: O
145
- }) : B.current = Math.max(r, m(l.current, {
150
+ disabledIndices: D
151
+ }) : z.current = Math.max(r, m(l.current, {
146
152
  startingIndex: n,
147
153
  decrement: !0,
148
- disabledIndices: O
149
- })), le(l.current, B.current) && (B.current = -1), U(t);
154
+ disabledIndices: D
155
+ })), ue(l.current, z.current) && (z.current = -1), H(t);
150
156
  }
151
- }), Z = h.useMemo(() => ({
157
+ }), Ne = h.useMemo(() => ({
152
158
  onFocus(e) {
153
- G.current = !0, je(e);
159
+ W.current = !0, Y(e);
154
160
  },
155
161
  onClick: ({ currentTarget: e }) => e.focus({ preventScroll: !0 }),
156
162
  onMouseMove(e) {
157
- G.current = !0, K.current = !1, he && je(e);
163
+ me(e) || (W.current = !0, G.current = !1, _e && Y(e));
158
164
  },
159
165
  onPointerLeave(e) {
160
- if (!q.current || !H.current || e.pointerType === "touch") return;
161
- G.current = !0;
166
+ if (!q.current || !V.current || e.pointerType === "touch") return;
167
+ W.current = !0;
162
168
  let t = e.relatedTarget;
163
- if (!(!he || l.current.includes(t)) && Ee.current && (we.current?.(), we.current = null, B.current = -1, U(e), !T)) {
164
- let e = I.current, t = d(oe(e));
169
+ if (!(!_e || l.current.includes(t)) && De.current && (K.current?.(), K.current = null, z.current = -1, H(e), !w)) {
170
+ let e = F.current, t = d(r(e));
165
171
  e && f(e, t) && e.focus({ preventScroll: !0 });
166
172
  }
167
173
  }
168
174
  }), [
169
- je,
175
+ Y,
170
176
  q,
171
- I,
172
- he,
173
- l,
174
- U,
175
- Ee,
176
- T
177
- ]), Q = h.useMemo(() => T && M && Ae && { "aria-activedescendant": `${_e}-${u}` }, [
178
- T,
179
- M,
180
- Ae,
177
+ F,
181
178
  _e,
179
+ l,
180
+ H,
181
+ De,
182
+ w
183
+ ]), Q = h.useMemo(() => w && j && je && { "aria-activedescendant": `${ye}-${u}` }, [
184
+ w,
185
+ j,
186
+ je,
187
+ ye,
182
188
  u
183
- ]), Ne = h.useMemo(() => ({
184
- "aria-orientation": k === "both" ? void 0 : k,
185
- ...F ? {} : Q,
189
+ ]), Pe = h.useMemo(() => ({
190
+ "aria-orientation": O === "both" ? void 0 : O,
191
+ ...P ? {} : Q,
186
192
  onKeyDown(t) {
187
- if (t.key === "Tab" && t.shiftKey && M && !T) {
188
- let n = ne(t.nativeEvent);
189
- if (n && !f(I.current, n)) return;
190
- s(t), j.setOpen(!1, a(r, t.nativeEvent)), e(P) && P.focus();
193
+ if (t.key === "Tab" && t.shiftKey && j && !w) {
194
+ let n = ie(t.nativeEvent);
195
+ if (n && !f(F.current, n)) return;
196
+ c(t), A.setOpen(!1, o(i, t.nativeEvent)), e(N) && N.focus();
191
197
  return;
192
198
  }
193
- X(t);
199
+ Z(t);
194
200
  },
195
- onPointerMove() {
196
- H.current = !0;
201
+ onPointerMove(e) {
202
+ me(e) || (V.current = !0);
197
203
  }
198
204
  }), [
199
205
  Q,
200
- X,
201
- I,
202
- k,
206
+ Z,
203
207
  F,
208
+ O,
209
+ P,
210
+ A,
204
211
  j,
205
- M,
206
- T,
207
- P
212
+ w,
213
+ N
208
214
  ]), $ = h.useMemo(() => {
209
215
  function e(e) {
210
- j.setOpen(!0, a(i, e.nativeEvent, e.currentTarget));
216
+ A.setOpen(!0, o(a, e.nativeEvent, e.currentTarget));
211
217
  }
212
218
  function t(e) {
213
- E === "auto" && o(e.nativeEvent) && (z.current = !T);
219
+ T === "auto" && ee(e.nativeEvent) && (R.current = !w);
214
220
  }
215
221
  function n(e) {
216
- z.current = E, E === "auto" && ee(e.nativeEvent) && (z.current = !0);
222
+ R.current = T, T === "auto" && te(e.nativeEvent) && (R.current = !0);
217
223
  }
218
224
  return {
219
225
  onKeyDown(t) {
220
- let n = j.select("open");
221
- H.current = !1;
222
- let r = t.key.startsWith("Arrow"), i = pe(t.key, Y(), w), a = v(t.key, k), o = (C ? i : a) || t.key === "Enter" || t.key.trim() === "";
223
- if (T && n) return X(t);
224
- if (!(!n && !D && r)) {
226
+ let n = A.select("open");
227
+ V.current = !1;
228
+ let r = t.key.startsWith("Arrow"), i = he(t.key, X(), C), a = v(t.key, O), o = (S ? i : a) || t.key === "Enter" || t.key.trim() === "";
229
+ if (w && n) return Z(t);
230
+ if (!(!n && !E && r)) {
225
231
  if (o) {
226
- let e = v(t.key, Y());
227
- V.current = C && e ? null : t.key;
232
+ let e = v(t.key, X());
233
+ B.current = S && e ? null : t.key;
228
234
  }
229
- if (C) {
230
- i && (s(t), n ? (B.current = Me(), U(t)) : e(t));
235
+ if (S) {
236
+ i && (c(t), n ? (z.current = Me(), H(t)) : e(t));
231
237
  return;
232
238
  }
233
- a && (J.current != null && (B.current = J.current), s(t), !n && D ? e(t) : X(t), n && U(t));
239
+ a && (J.current != null && (z.current = J.current), c(t), !n && E ? e(t) : Z(t), n && H(t));
234
240
  }
235
241
  },
236
242
  onFocus(e) {
237
- j.select("open") && !T && (B.current = -1, U(e));
243
+ A.select("open") && !w && (z.current = -1, H(e));
238
244
  },
239
245
  onPointerDown: n,
240
246
  onPointerEnter: n,
@@ -242,33 +248,33 @@ function b(c, te) {
242
248
  onClick: t
243
249
  };
244
250
  }, [
245
- X,
246
- E,
251
+ Z,
252
+ T,
247
253
  Me,
254
+ S,
255
+ H,
256
+ A,
257
+ E,
258
+ O,
259
+ X,
248
260
  C,
249
- U,
250
- j,
251
- D,
252
- k,
253
- Y,
254
- w,
255
261
  J,
256
- T
257
- ]), Pe = h.useMemo(() => ({
262
+ w
263
+ ]), Fe = h.useMemo(() => ({
258
264
  ...Q,
259
265
  ...$
260
266
  }), [Q, $]);
261
- return h.useMemo(() => _ ? {
262
- reference: Pe,
263
- floating: Ne,
264
- item: Z,
267
+ return h.useMemo(() => g ? {
268
+ reference: Fe,
269
+ floating: Pe,
270
+ item: Ne,
265
271
  trigger: $
266
272
  } : {}, [
267
- _,
273
+ g,
274
+ Fe,
268
275
  Pe,
269
- Ne,
270
276
  $,
271
- Z
277
+ Ne
272
278
  ]);
273
279
  }
274
280
  //#endregion