@rpcbase/ui 0.280.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
@@ -1 +1 @@
1
- {"version":3,"file":"index395.js","names":[],"sources":["../../../node_modules/@base-ui/react/utils/adaptiveOriginMiddleware.mjs"],"sourcesContent":["import { ownerDocument, ownerWindow } from '@base-ui/utils/owner';\nimport { getSide } from '@floating-ui/utils';\nexport const DEFAULT_SIDES = {\n sideX: 'left',\n sideY: 'top'\n};\nexport const adaptiveOrigin = {\n name: 'adaptiveOrigin',\n async fn(state) {\n const {\n x: rawX,\n y: rawY,\n rects: {\n floating: floatRect\n },\n elements: {\n floating\n },\n platform,\n strategy,\n placement\n } = state;\n const win = ownerWindow(floating);\n const styles = win.getComputedStyle(floating);\n const hasTransition = styles.transitionDuration !== '0s' && styles.transitionDuration !== '';\n if (!hasTransition) {\n return {\n x: rawX,\n y: rawY,\n data: DEFAULT_SIDES\n };\n }\n const offsetParent = await platform.getOffsetParent?.(floating);\n let offsetDimensions = {\n width: 0,\n height: 0\n };\n\n // For fixed strategy, prefer visualViewport if available\n if (strategy === 'fixed' && win?.visualViewport) {\n offsetDimensions = {\n width: win.visualViewport.width,\n height: win.visualViewport.height\n };\n } else if (offsetParent === win) {\n const doc = ownerDocument(floating);\n offsetDimensions = {\n width: doc.documentElement.clientWidth,\n height: doc.documentElement.clientHeight\n };\n } else if (await platform.isElement?.(offsetParent)) {\n offsetDimensions = await platform.getDimensions(offsetParent);\n }\n const currentSide = getSide(placement);\n let x = rawX;\n let y = rawY;\n if (currentSide === 'left') {\n x = offsetDimensions.width - (rawX + floatRect.width);\n }\n if (currentSide === 'top') {\n y = offsetDimensions.height - (rawY + floatRect.height);\n }\n const sideX = currentSide === 'left' ? 'right' : DEFAULT_SIDES.sideX;\n const sideY = currentSide === 'top' ? 'bottom' : DEFAULT_SIDES.sideY;\n return {\n x,\n y,\n data: {\n sideX,\n sideY\n }\n };\n }\n};"],"x_google_ignoreList":[0],"mappings":";AAEA,IAAa,IAAgB;CAC3B,OAAO;CACP,OAAO;AACT"}
1
+ {"version":3,"file":"index395.js","names":["React","_formatErrorMessage"],"sources":["../../../node_modules/@base-ui/react/select/positioner/SelectPositionerContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const SelectPositionerContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") SelectPositionerContext.displayName = \"SelectPositionerContext\";\nexport function useSelectPositionerContext() {\n const context = React.useContext(SelectPositionerContext);\n if (!context) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: SelectPositionerContext is missing. SelectPositioner parts must be placed within <Select.Positioner>.' : _formatErrorMessage(59));\n }\n return context;\n}"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAa,IAAuC,gBAAM,cAAc,KAAA,CAAS;AACjF,QAAA,IAAA,aAA6B,iBAAc,EAAwB,cAAc;AACjF,SAAgB,IAA6B;CAC3C,IAAM,IAAUA,EAAM,WAAW,CAAuB;CACxD,IAAI,CAAC,GACH,MAAU,MAAA,QAAA,IAAA,aAA+B,eAAkIC,EAAoB,EAAE,IAAzI,gHAA0I;CAEpM,OAAO;AACT"}
package/dist/index396.js CHANGED
@@ -1,255 +1,14 @@
1
- "use client";
2
- import { getWindow as e } from "./index200.js";
3
- import { useStableCallback as t } from "./index202.js";
4
- import { useIsoLayoutEffect as n } from "./index204.js";
5
- import { useValueAsRef as r } from "./index227.js";
6
- import { ownerDocument as i } from "./index229.js";
7
- import { getAlignment as a, getSide as o, getSideAxis as s } from "./index232.js";
8
- import { autoUpdate as c } from "./index248.js";
9
- import { flip as l, limitShift as u, offset as d, shift as f, size as p } from "./index249.js";
10
- import { useFloating as ee } from "./index273.js";
11
- import { useDirection as m } from "./index392.js";
12
- import { arrow as h } from "./index393.js";
13
- import { hide as te } from "./index394.js";
14
- import { DEFAULT_SIDES as ne } from "./index395.js";
15
- import * as g from "react";
16
- //#region ../../node_modules/@base-ui/react/utils/useAnchorPositioning.mjs
17
- function _(e, t, n) {
18
- let r = e === "inline-start" || e === "inline-end";
19
- return {
20
- top: "top",
21
- right: r ? n ? "inline-start" : "inline-end" : "right",
22
- bottom: "bottom",
23
- left: r ? n ? "inline-end" : "inline-start" : "left"
24
- }[t];
25
- }
26
- function re(e, t, n) {
27
- let { rects: r, placement: i } = e;
28
- return {
29
- side: _(t, o(i), n),
30
- align: a(i) || "center",
31
- anchor: {
32
- width: r.reference.width,
33
- height: r.reference.height
34
- },
35
- positioner: {
36
- width: r.floating.width,
37
- height: r.floating.height
38
- }
39
- };
40
- }
41
- function v(v) {
42
- let { anchor: b, positionMethod: ie = "absolute", side: x = "bottom", sideOffset: S = 0, align: C = "center", alignOffset: w = 0, collisionBoundary: T, collisionPadding: ae = 5, sticky: E = !1, arrowPadding: oe = 5, disableAnchorTracking: D = !1, inline: se, keepMounted: O = !1, floatingRootContext: k, mounted: A, collisionAvoidance: j, shiftCrossAxis: M = !1, nodeId: ce, adaptiveOrigin: N, lazyFlip: le = !1, externalTree: ue } = v, [de, fe] = g.useState(null);
43
- !A && de !== null && fe(null);
44
- let P = j.side || "flip", F = j.align || "flip", pe = j.fallbackAxisSide || "end", me = typeof b == "function" ? b : void 0, he = t(me), ge = me ? he : b, I = r(b), _e = r(A), L = m() === "rtl", ve = de || {
45
- top: "top",
46
- right: "right",
47
- bottom: "bottom",
48
- left: "left",
49
- "inline-end": L ? "left" : "right",
50
- "inline-start": L ? "right" : "left"
51
- }[x], ye = C === "center" ? ve : `${ve}-${C}`, R = ae, be = +(x === "bottom"), xe = +(x === "top"), Se = +(x === "right"), Ce = +(x === "left");
52
- typeof R == "number" ? R = {
53
- top: R + be,
54
- right: R + Ce,
55
- bottom: R + xe,
56
- left: R + Se
57
- } : R &&= {
58
- top: (R.top || 0) + be,
59
- right: (R.right || 0) + Ce,
60
- bottom: (R.bottom || 0) + xe,
61
- left: (R.left || 0) + Se
62
- };
63
- let z = {
64
- boundary: T === "clipping-ancestors" ? "clippingAncestors" : T,
65
- padding: R
66
- }, B = g.useRef(null), V = r(S), H = r(w), we = typeof S == "function" ? 0 : S, Te = typeof w == "function" ? 0 : w, U = [];
67
- se && U.push(se), U.push(d((e) => {
68
- let t = re(e, x, L), n = typeof V.current == "function" ? V.current(t) : V.current, r = typeof H.current == "function" ? H.current(t) : H.current;
69
- return {
70
- mainAxis: n,
71
- crossAxis: r,
72
- alignmentAxis: r
73
- };
74
- }, [
75
- we,
76
- Te,
77
- L,
78
- x
79
- ]));
80
- let Ee = F === "none" && P !== "shift", De = !Ee && (E || M || P === "shift"), Oe = P === "none" ? null : l({
81
- ...z,
82
- padding: {
83
- top: R.top + 1,
84
- right: R.right + 1,
85
- bottom: R.bottom + 1,
86
- left: R.left + 1
87
- },
88
- mainAxis: !M && P === "flip",
89
- crossAxis: F === "flip" && "alignment",
90
- fallbackAxisSideDirection: pe
91
- }), ke = Ee ? null : f((e) => {
92
- let t = i(e.elements.floating).documentElement;
93
- return {
94
- ...z,
95
- rootBoundary: M ? {
96
- x: 0,
97
- y: 0,
98
- width: t.clientWidth,
99
- height: t.clientHeight
100
- } : void 0,
101
- mainAxis: F !== "none",
102
- crossAxis: De,
103
- limiter: E || M ? void 0 : u((e) => {
104
- if (!B.current) return {};
105
- let { width: t, height: n } = B.current.getBoundingClientRect(), r = s(o(e.placement)), i = r === "y" ? t : n, a = r === "y" ? R.left + R.right : R.top + R.bottom;
106
- return { offset: i / 2 + a / 2 };
107
- })
108
- };
109
- }, [
110
- z,
111
- E,
112
- M,
113
- R,
114
- F
115
- ]);
116
- P === "shift" || F === "shift" || C === "center" ? U.push(ke, Oe) : U.push(Oe, ke), U.push(p({
117
- ...z,
118
- apply({ elements: { floating: t }, availableWidth: n, availableHeight: r, rects: i }) {
119
- if (!_e.current) return;
120
- let a = t.style;
121
- a.setProperty("--available-width", `${n}px`), a.setProperty("--available-height", `${r}px`);
122
- let o = e(t).devicePixelRatio || 1, { x: s, y: c, width: l, height: u } = i.reference, d = (Math.round((s + l) * o) - Math.round(s * o)) / o, f = (Math.round((c + u) * o) - Math.round(c * o)) / o;
123
- a.setProperty("--anchor-width", `${d}px`), a.setProperty("--anchor-height", `${f}px`);
124
- }
125
- }), h((e) => ({
126
- element: B.current || i(e.elements.floating).createElement("div"),
127
- padding: oe,
128
- offsetParent: "floating"
129
- }), [oe]), {
130
- name: "transformOrigin",
131
- fn(e) {
132
- let { elements: t, middlewareData: n, placement: r, rects: i, y: a } = e, c = o(r), l = s(c), u = B.current, d = n.arrow?.x || 0, f = n.arrow?.y || 0, p = u?.clientWidth || 0, ee = u?.clientHeight || 0, m = d + p / 2, h = f + ee / 2, te = Math.abs(n.shift?.y || 0), ne = i.reference.height / 2, g = typeof S == "function" ? S(re(e, x, L)) : S, _ = te > g, v = {
133
- top: `${m}px calc(100% + ${g}px)`,
134
- bottom: `${m}px ${-g}px`,
135
- left: `calc(100% + ${g}px) ${h}px`,
136
- right: `${-g}px ${h}px`
137
- }[c], y = `${m}px ${i.reference.y + ne - a}px`;
138
- return t.floating.style.setProperty("--transform-origin", De && l === "y" && _ ? y : v), {};
139
- }
140
- }, te, N), n(() => {
141
- !A && k && k.update({
142
- referenceElement: null,
143
- floatingElement: null,
144
- domReferenceElement: null,
145
- positionReference: null
146
- });
147
- }, [A, k]);
148
- let W = g.useMemo(() => ({
149
- elementResize: !D && typeof ResizeObserver < "u",
150
- layoutShift: !D && typeof IntersectionObserver < "u"
151
- }), [D]), { refs: G, elements: K, x: Ae, y: je, middlewareData: q, update: J, placement: Me, context: Ne, isPositioned: Y, floatingStyles: Pe } = ee({
152
- rootContext: k,
153
- open: O ? A : void 0,
154
- placement: ye,
155
- middleware: U,
156
- strategy: ie,
157
- whileElementsMounted: O ? void 0 : (...e) => c(...e, W),
158
- nodeId: ce,
159
- externalTree: ue
160
- }), { sideX: X, sideY: Fe } = q.adaptiveOrigin || ne, Z = Y ? ie : "fixed", Ie = g.useMemo(() => {
161
- let e = N ? {
162
- position: Z,
163
- [X]: Ae,
164
- [Fe]: je
165
- } : {
166
- position: Z,
167
- ...Pe
168
- };
169
- return Y || (e.opacity = 0), e;
170
- }, [
171
- N,
172
- Z,
173
- X,
174
- Ae,
175
- Fe,
176
- je,
177
- Pe,
178
- Y
179
- ]), Q = g.useRef(null);
180
- n(() => {
181
- if (!A) return;
182
- let e = I.current, t = typeof e == "function" ? e() : e, n = (y(t) ? t.current : t) || null;
183
- n !== Q.current && (G.setPositionReference(n), Q.current = n);
184
- }, [
185
- A,
186
- G,
187
- ge,
188
- I
189
- ]), g.useEffect(() => {
190
- if (!A) return;
191
- let e = I.current;
192
- typeof e != "function" && y(e) && e.current !== Q.current && (G.setPositionReference(e.current), Q.current = e.current);
193
- }, [
194
- A,
195
- G,
196
- ge,
197
- I
198
- ]), g.useEffect(() => {
199
- if (O && A && K.reference && K.floating) return c(K.reference, K.floating, J, W);
200
- }, [
201
- O,
202
- A,
203
- K,
204
- J,
205
- W
206
- ]);
207
- let $ = o(Me), Le = _(x, $, L), Re = a(Me) || "center", ze = !!q.hide?.referenceHidden;
208
- n(() => {
209
- le && A && Y && fe($);
210
- }, [
211
- le,
212
- A,
213
- Y,
214
- $
215
- ]);
216
- let Be = g.useMemo(() => ({
217
- position: "absolute",
218
- top: q.arrow?.y,
219
- left: q.arrow?.x
220
- }), [q.arrow]), Ve = q.arrow?.centerOffset !== 0;
221
- return g.useMemo(() => ({
222
- positionerStyles: Ie,
223
- arrowStyles: Be,
224
- arrowRef: B,
225
- arrowUncentered: Ve,
226
- side: Le,
227
- align: Re,
228
- physicalSide: $,
229
- anchorHidden: ze,
230
- refs: G,
231
- context: Ne,
232
- isPositioned: Y,
233
- update: J
234
- }), [
235
- Ie,
236
- Be,
237
- B,
238
- Ve,
239
- Le,
240
- Re,
241
- $,
242
- ze,
243
- G,
244
- Ne,
245
- Y,
246
- J
247
- ]);
248
- }
249
- function y(e) {
250
- return e != null && "current" in e;
251
- }
1
+ //#region ../../node_modules/@base-ui/react/select/popup/utils.mjs
2
+ function e(e, t) {
3
+ e && Object.assign(e.style, t);
4
+ }
5
+ var t = {
6
+ position: "relative",
7
+ maxHeight: "100%",
8
+ overflowX: "hidden",
9
+ overflowY: "auto"
10
+ };
252
11
  //#endregion
253
- export { v as useAnchorPositioning };
12
+ export { t as LIST_FUNCTIONAL_STYLES, e as clearStyles };
254
13
 
255
14
  //# sourceMappingURL=index396.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index396.js","names":["React","ownerWindow"],"sources":["../../../node_modules/@base-ui/react/utils/useAnchorPositioning.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { getSide, getAlignment, getSideAxis } from '@floating-ui/utils';\nimport { ownerDocument, ownerWindow } from '@base-ui/utils/owner';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useValueAsRef } from '@base-ui/utils/useValueAsRef';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { autoUpdate, flip, limitShift, offset, shift, useFloating, size } from \"../floating-ui-react/index.mjs\";\nimport { useDirection } from \"../internals/direction-context/DirectionContext.mjs\";\nimport { arrow } from \"../floating-ui-react/middleware/arrow.mjs\";\nimport { hide } from \"./hideMiddleware.mjs\";\nimport { DEFAULT_SIDES } from \"./adaptiveOriginMiddleware.mjs\";\nfunction getLogicalSide(sideParam, renderedSide, isRtl) {\n const isLogicalSideParam = sideParam === 'inline-start' || sideParam === 'inline-end';\n const logicalRight = isRtl ? 'inline-start' : 'inline-end';\n const logicalLeft = isRtl ? 'inline-end' : 'inline-start';\n return {\n top: 'top',\n right: isLogicalSideParam ? logicalRight : 'right',\n bottom: 'bottom',\n left: isLogicalSideParam ? logicalLeft : 'left'\n }[renderedSide];\n}\nfunction getOffsetData(state, sideParam, isRtl) {\n const {\n rects,\n placement\n } = state;\n const data = {\n side: getLogicalSide(sideParam, getSide(placement), isRtl),\n align: getAlignment(placement) || 'center',\n anchor: {\n width: rects.reference.width,\n height: rects.reference.height\n },\n positioner: {\n width: rects.floating.width,\n height: rects.floating.height\n }\n };\n return data;\n}\n/**\n * Provides standardized anchor positioning behavior for floating elements. Wraps Floating UI's\n * `useFloating` hook.\n */\nexport function useAnchorPositioning(params) {\n const {\n // Public parameters\n anchor,\n positionMethod = 'absolute',\n side: sideParam = 'bottom',\n sideOffset = 0,\n align = 'center',\n alignOffset = 0,\n collisionBoundary,\n collisionPadding: collisionPaddingParam = 5,\n sticky = false,\n arrowPadding = 5,\n disableAnchorTracking = false,\n inline: inlineMiddleware,\n // Private parameters\n keepMounted = false,\n floatingRootContext,\n mounted,\n collisionAvoidance,\n shiftCrossAxis = false,\n nodeId,\n adaptiveOrigin,\n lazyFlip = false,\n externalTree\n } = params;\n const [mountSide, setMountSide] = React.useState(null);\n if (!mounted && mountSide !== null) {\n setMountSide(null);\n }\n const collisionAvoidanceSide = collisionAvoidance.side || 'flip';\n const collisionAvoidanceAlign = collisionAvoidance.align || 'flip';\n const collisionAvoidanceFallbackAxisSide = collisionAvoidance.fallbackAxisSide || 'end';\n const anchorFn = typeof anchor === 'function' ? anchor : undefined;\n const anchorFnCallback = useStableCallback(anchorFn);\n const anchorDep = anchorFn ? anchorFnCallback : anchor;\n const anchorValueRef = useValueAsRef(anchor);\n const mountedRef = useValueAsRef(mounted);\n const direction = useDirection();\n const isRtl = direction === 'rtl';\n const side = mountSide || {\n top: 'top',\n right: 'right',\n bottom: 'bottom',\n left: 'left',\n 'inline-end': isRtl ? 'left' : 'right',\n 'inline-start': isRtl ? 'right' : 'left'\n }[sideParam];\n const placement = align === 'center' ? side : `${side}-${align}`;\n let collisionPadding = collisionPaddingParam;\n\n // Create a bias to the preferred side.\n // On iOS, when the mobile software keyboard opens, the input is exactly centered\n // in the viewport, but this can cause it to flip to the top undesirably.\n const bias = 1;\n const biasTop = sideParam === 'bottom' ? bias : 0;\n const biasBottom = sideParam === 'top' ? bias : 0;\n const biasLeft = sideParam === 'right' ? bias : 0;\n const biasRight = sideParam === 'left' ? bias : 0;\n if (typeof collisionPadding === 'number') {\n collisionPadding = {\n top: collisionPadding + biasTop,\n right: collisionPadding + biasRight,\n bottom: collisionPadding + biasBottom,\n left: collisionPadding + biasLeft\n };\n } else if (collisionPadding) {\n collisionPadding = {\n top: (collisionPadding.top || 0) + biasTop,\n right: (collisionPadding.right || 0) + biasRight,\n bottom: (collisionPadding.bottom || 0) + biasBottom,\n left: (collisionPadding.left || 0) + biasLeft\n };\n }\n const commonCollisionProps = {\n boundary: collisionBoundary === 'clipping-ancestors' ? 'clippingAncestors' : collisionBoundary,\n padding: collisionPadding\n };\n\n // Using a ref assumes that the arrow element is always present in the DOM for the lifetime of the\n // popup. If this assumption ends up being false, we can switch to state to manage the arrow's\n // presence.\n const arrowRef = React.useRef(null);\n\n // Keep these reactive if they're not functions\n const sideOffsetRef = useValueAsRef(sideOffset);\n const alignOffsetRef = useValueAsRef(alignOffset);\n const sideOffsetDep = typeof sideOffset !== 'function' ? sideOffset : 0;\n const alignOffsetDep = typeof alignOffset !== 'function' ? alignOffset : 0;\n const middleware = [];\n if (inlineMiddleware) {\n middleware.push(inlineMiddleware);\n }\n middleware.push(offset(state => {\n const data = getOffsetData(state, sideParam, isRtl);\n const sideAxis = typeof sideOffsetRef.current === 'function' ? sideOffsetRef.current(data) : sideOffsetRef.current;\n const alignAxis = typeof alignOffsetRef.current === 'function' ? alignOffsetRef.current(data) : alignOffsetRef.current;\n return {\n mainAxis: sideAxis,\n crossAxis: alignAxis,\n alignmentAxis: alignAxis\n };\n }, [sideOffsetDep, alignOffsetDep, isRtl, sideParam]));\n const shiftDisabled = collisionAvoidanceAlign === 'none' && collisionAvoidanceSide !== 'shift';\n const crossAxisShiftEnabled = !shiftDisabled && (sticky || shiftCrossAxis || collisionAvoidanceSide === 'shift');\n const flipMiddleware = collisionAvoidanceSide === 'none' ? null : flip({\n ...commonCollisionProps,\n // Ensure the popup flips if it's been limited by its --available-height and it resizes.\n // Since the size() padding is smaller than the flip() padding, flip() will take precedence.\n padding: {\n top: collisionPadding.top + bias,\n right: collisionPadding.right + bias,\n bottom: collisionPadding.bottom + bias,\n left: collisionPadding.left + bias\n },\n mainAxis: !shiftCrossAxis && collisionAvoidanceSide === 'flip',\n crossAxis: collisionAvoidanceAlign === 'flip' ? 'alignment' : false,\n fallbackAxisSideDirection: collisionAvoidanceFallbackAxisSide\n });\n const shiftMiddleware = shiftDisabled ? null : shift(data => {\n const html = ownerDocument(data.elements.floating).documentElement;\n return {\n ...commonCollisionProps,\n // Use the Layout Viewport to avoid shifting around when pinch-zooming\n // for context menus.\n rootBoundary: shiftCrossAxis ? {\n x: 0,\n y: 0,\n width: html.clientWidth,\n height: html.clientHeight\n } : undefined,\n mainAxis: collisionAvoidanceAlign !== 'none',\n crossAxis: crossAxisShiftEnabled,\n limiter: sticky || shiftCrossAxis ? undefined : limitShift(limitData => {\n if (!arrowRef.current) {\n return {};\n }\n const {\n width,\n height\n } = arrowRef.current.getBoundingClientRect();\n const sideAxis = getSideAxis(getSide(limitData.placement));\n const arrowSize = sideAxis === 'y' ? width : height;\n const offsetAmount = sideAxis === 'y' ? collisionPadding.left + collisionPadding.right : collisionPadding.top + collisionPadding.bottom;\n return {\n offset: arrowSize / 2 + offsetAmount / 2\n };\n })\n };\n }, [commonCollisionProps, sticky, shiftCrossAxis, collisionPadding, collisionAvoidanceAlign]);\n\n // https://floating-ui.com/docs/flip#combining-with-shift\n if (collisionAvoidanceSide === 'shift' || collisionAvoidanceAlign === 'shift' || align === 'center') {\n middleware.push(shiftMiddleware, flipMiddleware);\n } else {\n middleware.push(flipMiddleware, shiftMiddleware);\n }\n middleware.push(size({\n ...commonCollisionProps,\n apply({\n elements: {\n floating\n },\n availableWidth,\n availableHeight,\n rects\n }) {\n if (!mountedRef.current) {\n return;\n }\n const floatingStyle = floating.style;\n floatingStyle.setProperty('--available-width', `${availableWidth}px`);\n floatingStyle.setProperty('--available-height', `${availableHeight}px`);\n\n // Snap anchor dimensions to device pixels to ensure the popup's visual width matches the anchor's one.\n const dpr = ownerWindow(floating).devicePixelRatio || 1;\n const {\n x,\n y,\n width,\n height\n } = rects.reference;\n const anchorWidth = (Math.round((x + width) * dpr) - Math.round(x * dpr)) / dpr;\n const anchorHeight = (Math.round((y + height) * dpr) - Math.round(y * dpr)) / dpr;\n floatingStyle.setProperty('--anchor-width', `${anchorWidth}px`);\n floatingStyle.setProperty('--anchor-height', `${anchorHeight}px`);\n }\n }), arrow(state => ({\n // `transform-origin` calculations rely on an element existing. If the arrow hasn't been set,\n // we'll create a fake element.\n element: arrowRef.current || ownerDocument(state.elements.floating).createElement('div'),\n padding: arrowPadding,\n offsetParent: 'floating'\n }), [arrowPadding]), {\n name: 'transformOrigin',\n fn(state) {\n const {\n elements,\n middlewareData,\n placement: renderedPlacement,\n rects,\n y\n } = state;\n const currentRenderedSide = getSide(renderedPlacement);\n const currentRenderedAxis = getSideAxis(currentRenderedSide);\n const arrowEl = arrowRef.current;\n const arrowX = middlewareData.arrow?.x || 0;\n const arrowY = middlewareData.arrow?.y || 0;\n const arrowWidth = arrowEl?.clientWidth || 0;\n const arrowHeight = arrowEl?.clientHeight || 0;\n const transformX = arrowX + arrowWidth / 2;\n const transformY = arrowY + arrowHeight / 2;\n const shiftY = Math.abs(middlewareData.shift?.y || 0);\n const halfAnchorHeight = rects.reference.height / 2;\n const sideOffsetValue = typeof sideOffset === 'function' ? sideOffset(getOffsetData(state, sideParam, isRtl)) : sideOffset;\n const isOverlappingAnchor = shiftY > sideOffsetValue;\n const adjacentTransformOrigin = {\n top: `${transformX}px calc(100% + ${sideOffsetValue}px)`,\n bottom: `${transformX}px ${-sideOffsetValue}px`,\n left: `calc(100% + ${sideOffsetValue}px) ${transformY}px`,\n right: `${-sideOffsetValue}px ${transformY}px`\n }[currentRenderedSide];\n const overlapTransformOrigin = `${transformX}px ${rects.reference.y + halfAnchorHeight - y}px`;\n elements.floating.style.setProperty('--transform-origin', crossAxisShiftEnabled && currentRenderedAxis === 'y' && isOverlappingAnchor ? overlapTransformOrigin : adjacentTransformOrigin);\n return {};\n }\n }, hide, adaptiveOrigin);\n useIsoLayoutEffect(() => {\n // Ensure positioning doesn't run initially for `keepMounted` elements that\n // aren't initially open.\n if (!mounted && floatingRootContext) {\n floatingRootContext.update({\n referenceElement: null,\n floatingElement: null,\n domReferenceElement: null,\n positionReference: null\n });\n }\n }, [mounted, floatingRootContext]);\n const autoUpdateOptions = React.useMemo(() => ({\n elementResize: !disableAnchorTracking && typeof ResizeObserver !== 'undefined',\n layoutShift: !disableAnchorTracking && typeof IntersectionObserver !== 'undefined'\n }), [disableAnchorTracking]);\n const {\n refs,\n elements,\n x,\n y,\n middlewareData,\n update,\n placement: renderedPlacement,\n context,\n isPositioned,\n floatingStyles: originalFloatingStyles\n } = useFloating({\n rootContext: floatingRootContext,\n open: keepMounted ? mounted : undefined,\n placement,\n middleware,\n strategy: positionMethod,\n whileElementsMounted: keepMounted ? undefined : (...args) => autoUpdate(...args, autoUpdateOptions),\n nodeId,\n externalTree\n });\n const {\n sideX,\n sideY\n } = middlewareData.adaptiveOrigin || DEFAULT_SIDES;\n\n // Default to `fixed` when not positioned to prevent `autoFocus` scroll jumps.\n // This ensures the popup is inside the viewport initially before it gets positioned.\n const resolvedPosition = isPositioned ? positionMethod : 'fixed';\n const floatingStyles = React.useMemo(() => {\n const base = adaptiveOrigin ? {\n position: resolvedPosition,\n [sideX]: x,\n [sideY]: y\n } : {\n position: resolvedPosition,\n ...originalFloatingStyles\n };\n if (!isPositioned) {\n base.opacity = 0;\n }\n return base;\n }, [adaptiveOrigin, resolvedPosition, sideX, x, sideY, y, originalFloatingStyles, isPositioned]);\n const registeredPositionReferenceRef = React.useRef(null);\n useIsoLayoutEffect(() => {\n if (!mounted) {\n return;\n }\n const anchorValue = anchorValueRef.current;\n const resolvedAnchor = typeof anchorValue === 'function' ? anchorValue() : anchorValue;\n const unwrappedElement = (isRef(resolvedAnchor) ? resolvedAnchor.current : resolvedAnchor) || null;\n const finalAnchor = unwrappedElement || null;\n if (finalAnchor !== registeredPositionReferenceRef.current) {\n refs.setPositionReference(finalAnchor);\n registeredPositionReferenceRef.current = finalAnchor;\n }\n }, [mounted, refs, anchorDep, anchorValueRef]);\n React.useEffect(() => {\n if (!mounted) {\n return;\n }\n const anchorValue = anchorValueRef.current;\n\n // Refs from parent components are set after useLayoutEffect runs and are available in useEffect.\n // Therefore, if the anchor is a ref, we need to update the position reference in useEffect.\n if (typeof anchorValue === 'function') {\n return;\n }\n if (isRef(anchorValue) && anchorValue.current !== registeredPositionReferenceRef.current) {\n refs.setPositionReference(anchorValue.current);\n registeredPositionReferenceRef.current = anchorValue.current;\n }\n }, [mounted, refs, anchorDep, anchorValueRef]);\n React.useEffect(() => {\n if (keepMounted && mounted && elements.reference && elements.floating) {\n return autoUpdate(elements.reference, elements.floating, update, autoUpdateOptions);\n }\n return undefined;\n }, [keepMounted, mounted, elements, update, autoUpdateOptions]);\n const renderedSide = getSide(renderedPlacement);\n const logicalRenderedSide = getLogicalSide(sideParam, renderedSide, isRtl);\n const renderedAlign = getAlignment(renderedPlacement) || 'center';\n const anchorHidden = Boolean(middlewareData.hide?.referenceHidden);\n\n // Locks the flip (makes it \"sticky\") so it doesn't prefer a given placement\n // and flips back lazily, not eagerly. Ideal for filtered lists that change\n // the size of the popup dynamically to avoid unwanted flipping when typing.\n useIsoLayoutEffect(() => {\n if (lazyFlip && mounted && isPositioned) {\n setMountSide(renderedSide);\n }\n }, [lazyFlip, mounted, isPositioned, renderedSide]);\n const arrowStyles = React.useMemo(() => ({\n position: 'absolute',\n top: middlewareData.arrow?.y,\n left: middlewareData.arrow?.x\n }), [middlewareData.arrow]);\n const arrowUncentered = middlewareData.arrow?.centerOffset !== 0;\n return React.useMemo(() => ({\n positionerStyles: floatingStyles,\n arrowStyles,\n arrowRef,\n arrowUncentered,\n side: logicalRenderedSide,\n align: renderedAlign,\n physicalSide: renderedSide,\n anchorHidden,\n refs,\n context,\n isPositioned,\n update\n }), [floatingStyles, arrowStyles, arrowRef, arrowUncentered, logicalRenderedSide, renderedAlign, renderedSide, anchorHidden, refs, context, isPositioned, update]);\n}\nfunction isRef(param) {\n return param != null && 'current' in param;\n}"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;AAaA,SAAS,EAAe,GAAW,GAAc,GAAO;CACtD,IAAM,IAAqB,MAAc,kBAAkB,MAAc;CAGzE,OAAO;EACL,KAAK;EACL,OAAO,IAJY,IAAQ,iBAAiB,eAID;EAC3C,QAAQ;EACR,MAAM,IALY,IAAQ,eAAe,iBAKA;CAC3C,EAAE;AACJ;AACA,SAAS,GAAc,GAAO,GAAW,GAAO;CAC9C,IAAM,EACJ,UACA,iBACE;CAaJ,OAAO;EAXL,MAAM,EAAe,GAAW,EAAQ,CAAS,GAAG,CAAK;EACzD,OAAO,EAAa,CAAS,KAAK;EAClC,QAAQ;GACN,OAAO,EAAM,UAAU;GACvB,QAAQ,EAAM,UAAU;EAC1B;EACA,YAAY;GACV,OAAO,EAAM,SAAS;GACtB,QAAQ,EAAM,SAAS;EACzB;CAEQ;AACZ;AAKA,SAAgB,EAAqB,GAAQ;CAC3C,IAAM,EAEJ,WACA,qBAAiB,YACjB,MAAM,IAAY,UAClB,gBAAa,GACb,WAAQ,UACR,iBAAc,GACd,sBACA,kBAAkB,KAAwB,GAC1C,YAAS,IACT,mBAAe,GACf,2BAAwB,IACxB,QAAQ,IAER,iBAAc,IACd,wBACA,YACA,uBACA,oBAAiB,IACjB,YACA,mBACA,eAAW,IACX,qBACE,GACE,CAAC,IAAW,MAAgBA,EAAM,SAAS,IAAI;CACrD,AAAI,CAAC,KAAW,OAAc,QAC5B,GAAa,IAAI;CAEnB,IAAM,IAAyB,EAAmB,QAAQ,QACpD,IAA0B,EAAmB,SAAS,QACtD,KAAqC,EAAmB,oBAAoB,OAC5E,K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EAAa;EAAU;EAAiB;EAAqB;EAAe;EAAc;EAAc;EAAM;EAAS;EAAc;CAAM,CAAC;AACnK;AACA,SAAS,EAAM,GAAO;CACpB,OAAO,KAAS,QAAQ,aAAa;AACvC"}
1
+ {"version":3,"file":"index396.js","names":[],"sources":["../../../node_modules/@base-ui/react/select/popup/utils.mjs"],"sourcesContent":["export function clearStyles(element, originalStyles) {\n if (element) {\n Object.assign(element.style, originalStyles);\n }\n}\nexport const LIST_FUNCTIONAL_STYLES = {\n position: 'relative',\n maxHeight: '100%',\n overflowX: 'hidden',\n overflowY: 'auto'\n};"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAgB,EAAY,GAAS,GAAgB;CACnD,AAAI,KACF,OAAO,OAAO,EAAQ,OAAO,CAAc;AAE/C;AACA,IAAa,IAAyB;CACpC,UAAU;CACV,WAAW;CACX,WAAW;CACX,WAAW;AACb"}
package/dist/index397.js CHANGED
@@ -1,15 +1,10 @@
1
- "use client";
2
- import e from "./index183.js";
3
- import * as t from "react";
4
- //#region ../../node_modules/@base-ui/react/select/positioner/SelectPositionerContext.mjs
5
- var n = /*#__PURE__*/ t.createContext(void 0);
6
- process.env.NODE_ENV !== "production" && (n.displayName = "SelectPositionerContext");
7
- function r() {
8
- let r = t.useContext(n);
9
- if (!r) throw Error(process.env.NODE_ENV === "production" ? e(59) : "Base UI: SelectPositionerContext is missing. SelectPositioner parts must be placed within <Select.Positioner>.");
10
- return r;
1
+ import { EMPTY_OBJECT as e } from "./index191.js";
2
+ import { DISABLED_TRANSITIONS_STYLE as t } from "./index240.js";
3
+ //#region ../../node_modules/@base-ui/react/internals/getDisabledMountTransitionStyles.mjs
4
+ function n(n) {
5
+ return n === "starting" ? t : e;
11
6
  }
12
7
  //#endregion
13
- export { n as SelectPositionerContext, r as useSelectPositionerContext };
8
+ export { n as getDisabledMountTransitionStyles };
14
9
 
15
10
  //# sourceMappingURL=index397.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index397.js","names":["React","_formatErrorMessage"],"sources":["../../../node_modules/@base-ui/react/select/positioner/SelectPositionerContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const SelectPositionerContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") SelectPositionerContext.displayName = \"SelectPositionerContext\";\nexport function useSelectPositionerContext() {\n const context = React.useContext(SelectPositionerContext);\n if (!context) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: SelectPositionerContext is missing. SelectPositioner parts must be placed within <Select.Positioner>.' : _formatErrorMessage(59));\n }\n return context;\n}"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAa,IAAuC,gBAAM,cAAc,KAAA,CAAS;AACjF,QAAA,IAAA,aAA6B,iBAAc,EAAwB,cAAc;AACjF,SAAgB,IAA6B;CAC3C,IAAM,IAAUA,EAAM,WAAW,CAAuB;CACxD,IAAI,CAAC,GACH,MAAU,MAAA,QAAA,IAAA,aAA+B,eAAkIC,EAAoB,EAAE,IAAzI,gHAA0I;CAEpM,OAAO;AACT"}
1
+ {"version":3,"file":"index397.js","names":[],"sources":["../../../node_modules/@base-ui/react/internals/getDisabledMountTransitionStyles.mjs"],"sourcesContent":["import { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { DISABLED_TRANSITIONS_STYLE } from \"./constants.mjs\";\nexport function getDisabledMountTransitionStyles(transitionStatus) {\n return transitionStatus === 'starting' ? DISABLED_TRANSITIONS_STYLE : EMPTY_OBJECT;\n}"],"x_google_ignoreList":[0],"mappings":";;;AAEA,SAAgB,EAAiC,GAAkB;CACjE,OAAO,MAAqB,aAAa,IAA6B;AACxE"}
package/dist/index398.js CHANGED
@@ -1,14 +1,26 @@
1
- //#region ../../node_modules/@base-ui/react/select/popup/utils.mjs
2
- function e(e, t) {
3
- e && Object.assign(e.style, t);
1
+ "use client";
2
+ import { useRenderElement as e } from "./index196.js";
3
+ import { popupStateMapping as t } from "./index198.js";
4
+ import { getDisabledMountTransitionStyles as n } from "./index397.js";
5
+ //#region ../../node_modules/@base-ui/react/utils/usePositioner.mjs
6
+ function r(r, i, { styles: a, transitionStatus: o, props: s, refs: c, hidden: l, inert: u = !1 }) {
7
+ let d = { ...a };
8
+ return u && (d.pointerEvents = "none"), e("div", r, {
9
+ state: i,
10
+ ref: c,
11
+ props: [
12
+ {
13
+ role: "presentation",
14
+ hidden: l,
15
+ style: d
16
+ },
17
+ n(o),
18
+ s
19
+ ],
20
+ stateAttributesMapping: t
21
+ });
4
22
  }
5
- var t = {
6
- position: "relative",
7
- maxHeight: "100%",
8
- overflowX: "hidden",
9
- overflowY: "auto"
10
- };
11
23
  //#endregion
12
- export { t as LIST_FUNCTIONAL_STYLES, e as clearStyles };
24
+ export { r as usePositioner };
13
25
 
14
26
  //# sourceMappingURL=index398.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index398.js","names":[],"sources":["../../../node_modules/@base-ui/react/select/popup/utils.mjs"],"sourcesContent":["export function clearStyles(element, originalStyles) {\n if (element) {\n Object.assign(element.style, originalStyles);\n }\n}\nexport const LIST_FUNCTIONAL_STYLES = {\n position: 'relative',\n maxHeight: '100%',\n overflowX: 'hidden',\n overflowY: 'auto'\n};"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAgB,EAAY,GAAS,GAAgB;CACnD,AAAI,KACF,OAAO,OAAO,EAAQ,OAAO,CAAc;AAE/C;AACA,IAAa,IAAyB;CACpC,UAAU;CACV,WAAW;CACX,WAAW;CACX,WAAW;AACb"}
1
+ {"version":3,"file":"index398.js","names":[],"sources":["../../../node_modules/@base-ui/react/utils/usePositioner.mjs"],"sourcesContent":["'use client';\n\nimport { popupStateMapping } from \"./popupStateMapping.mjs\";\nimport { useRenderElement } from \"../internals/useRenderElement.mjs\";\nimport { getDisabledMountTransitionStyles } from \"../internals/getDisabledMountTransitionStyles.mjs\";\n/**\n * Renders the shared outer Positioner element used by popup components.\n * Applies the common role, hidden state, transition styles, state attributes, and optional inert styling.\n */\nexport function usePositioner(componentProps, state, {\n styles,\n transitionStatus,\n props,\n refs,\n hidden,\n inert = false\n}) {\n const style = {\n ...styles\n };\n if (inert) {\n style.pointerEvents = 'none';\n }\n return useRenderElement('div', componentProps, {\n state,\n ref: refs,\n props: [{\n role: 'presentation',\n hidden,\n style\n }, getDisabledMountTransitionStyles(transitionStatus), props],\n stateAttributesMapping: popupStateMapping\n });\n}"],"x_google_ignoreList":[0],"mappings":";;;;;AASA,SAAgB,EAAc,GAAgB,GAAO,EACnD,WACA,qBACA,UACA,SACA,WACA,WAAQ,MACP;CACD,IAAM,IAAQ,EACZ,GAAG,EACL;CAIA,OAHI,MACF,EAAM,gBAAgB,SAEjB,EAAiB,OAAO,GAAgB;EAC7C;EACA,KAAK;EACL,OAAO;GAAC;IACN,MAAM;IACN;IACA;GACF;GAAG,EAAiC,CAAgB;GAAG;EAAK;EAC5D,wBAAwB;CAC1B,CAAC;AACH"}
package/dist/index399.js CHANGED
@@ -1,10 +1,26 @@
1
- import { EMPTY_OBJECT as e } from "./index191.js";
2
- import { DISABLED_TRANSITIONS_STYLE as t } from "./index239.js";
3
- //#region ../../node_modules/@base-ui/react/utils/getDisabledMountTransitionStyles.mjs
4
- function n(n) {
5
- return n === "starting" ? t : e;
1
+ "use client";
2
+ import { useIsoLayoutEffect as e } from "./index204.js";
3
+ import { ownerDocument as t } from "./index207.js";
4
+ import { useScrollLock as n } from "./index283.js";
5
+ import * as r from "react";
6
+ //#region ../../node_modules/@base-ui/react/utils/useAnchoredPopupScrollLock.mjs
7
+ var i = 20;
8
+ function a(a, o, s, c) {
9
+ let [l, u] = r.useState(!1);
10
+ e(() => {
11
+ if (!a || !o || s == null) {
12
+ u(!1);
13
+ return;
14
+ }
15
+ let e = t(s).documentElement.clientWidth, n = s.offsetWidth;
16
+ u(e > 0 && n > 0 && n >= e - i);
17
+ }, [
18
+ a,
19
+ o,
20
+ s
21
+ ]), n(a && (!o || l), c);
6
22
  }
7
23
  //#endregion
8
- export { n as getDisabledMountTransitionStyles };
24
+ export { a as useAnchoredPopupScrollLock };
9
25
 
10
26
  //# sourceMappingURL=index399.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index399.js","names":[],"sources":["../../../node_modules/@base-ui/react/utils/getDisabledMountTransitionStyles.mjs"],"sourcesContent":["import { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { DISABLED_TRANSITIONS_STYLE } from \"../internals/constants.mjs\";\nexport function getDisabledMountTransitionStyles(transitionStatus) {\n return transitionStatus === 'starting' ? DISABLED_TRANSITIONS_STYLE : EMPTY_OBJECT;\n}"],"x_google_ignoreList":[0],"mappings":";;;AAEA,SAAgB,EAAiC,GAAkB;CACjE,OAAO,MAAqB,aAAa,IAA6B;AACxE"}
1
+ {"version":3,"file":"index399.js","names":["React"],"sources":["../../../node_modules/@base-ui/react/utils/useAnchoredPopupScrollLock.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { ownerDocument } from '@base-ui/utils/owner';\nimport { useScrollLock } from '@base-ui/utils/useScrollLock';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\n\n// Touch-opened popups normally avoid scroll locking so users can still swipe outside to dismiss.\n// This hook re-enables scroll lock only when the popup is effectively full-width.\n// Treat popups with up to 20px of total horizontal gutter as full-width so common ~10px side\n// padding still locks scroll, since that leaves too little outside space for a reliable swipe.\nconst VIEWPORT_WIDTH_TOLERANCE_PX = 20;\n\n/**\n * Manages scroll lock for anchored popups. For non-touch opens, scroll lock is applied when\n * enabled. For touch opens, scroll lock is applied only when the positioner width is effectively\n * viewport-sized.\n */\nexport function useAnchoredPopupScrollLock(enabled, touchOpen, positionerElement, referenceElement) {\n const [touchOpenShouldLockScroll, setTouchOpenShouldLockScroll] = React.useState(false);\n useIsoLayoutEffect(() => {\n if (!enabled || !touchOpen || positionerElement == null) {\n setTouchOpenShouldLockScroll(false);\n return;\n }\n const viewportWidth = ownerDocument(positionerElement).documentElement.clientWidth;\n const popupWidth = positionerElement.offsetWidth;\n setTouchOpenShouldLockScroll(viewportWidth > 0 && popupWidth > 0 && popupWidth >= viewportWidth - VIEWPORT_WIDTH_TOLERANCE_PX);\n }, [enabled, touchOpen, positionerElement]);\n useScrollLock(enabled && (!touchOpen || touchOpenShouldLockScroll), referenceElement);\n}"],"x_google_ignoreList":[0],"mappings":";;;;;;AAWA,IAAM,IAA8B;AAOpC,SAAgB,EAA2B,GAAS,GAAW,GAAmB,GAAkB;CAClG,IAAM,CAAC,GAA2B,KAAgCA,EAAM,SAAS,EAAK;CAUtF,AATA,QAAyB;EACvB,IAAI,CAAC,KAAW,CAAC,KAAa,KAAqB,MAAM;GACvD,EAA6B,EAAK;GAClC;EACF;EACA,IAAM,IAAgB,EAAc,CAAiB,CAAC,CAAC,gBAAgB,aACjE,IAAa,EAAkB;EACrC,EAA6B,IAAgB,KAAK,IAAa,KAAK,KAAc,IAAgB,CAA2B;CAC/H,GAAG;EAAC;EAAS;EAAW;CAAiB,CAAC,GAC1C,EAAc,MAAY,CAAC,KAAa,IAA4B,CAAgB;AACtF"}
@@ -1 +1 @@
1
- {"version":3,"file":"index4.js","names":["useEffect","useState","TOUCH_MEDIA_QUERY","useIsTouchDevice","$","_c","isTouchDevice","setIsTouchDevice","t0","t1","Symbol","for","window","mediaQuery","matchMedia","undefined","getHasTouchSupport","mqMatches","matches","nav","navigator","maxTouchPoints","msMaxTouchPoints","updateIsTouchDevice","addEventListener","removeEventListener","addListener","removeListener"],"sources":["../src/helpers/useIsTouchDevice.ts"],"sourcesContent":["import { useEffect, useState } from \"react\"\n\n\nconst TOUCH_MEDIA_QUERY = \"(pointer: coarse)\"\n\nexport function useIsTouchDevice() {\n const [isTouchDevice, setIsTouchDevice] = useState(false)\n\n // React Compiler rejects hook aliasing (useIsomorphicLayoutEffect pattern), so we keep\n // a direct hook call and guard browser-only logic inside the effect.\n useEffect(() => {\n if (typeof window === \"undefined\") {\n return\n }\n\n const mediaQuery =\n typeof window.matchMedia === \"function\" ? window.matchMedia(TOUCH_MEDIA_QUERY) : undefined\n\n const getHasTouchSupport = () => {\n if (typeof window === \"undefined\") {\n return false\n }\n\n const mqMatches = mediaQuery?.matches ?? false\n const nav = typeof navigator !== \"undefined\" ? navigator : undefined\n const maxTouchPoints = nav?.maxTouchPoints ?? 0\n const msMaxTouchPoints = (nav as unknown as { msMaxTouchPoints?: number })?.msMaxTouchPoints ?? 0\n\n return mqMatches || maxTouchPoints > 0 || msMaxTouchPoints > 0\n }\n\n const updateIsTouchDevice = () => {\n setIsTouchDevice(getHasTouchSupport())\n }\n\n updateIsTouchDevice()\n\n if (!mediaQuery) {\n return\n }\n\n if (typeof mediaQuery.addEventListener === \"function\") {\n mediaQuery.addEventListener(\"change\", updateIsTouchDevice)\n return () => mediaQuery.removeEventListener(\"change\", updateIsTouchDevice)\n }\n\n if (typeof mediaQuery.addListener === \"function\") {\n mediaQuery.addListener(updateIsTouchDevice)\n return () => mediaQuery.removeListener(updateIsTouchDevice)\n }\n }, [])\n\n return isTouchDevice\n}\n"],"mappings":";;;AAGA,IAAME,IAAoB;AAE1B,SAAOC,IAAA;CAAA,IAAAC,IAAAC,EAAA,CAAA,GACL,CAAAC,GAAAC,KAA0CN,EAAS,EAAK,GAACO,GAAAC;CA4CnD,OA5CmDL,EAAA,OAAAM,OAAAC,IAAA,2BAAA,KAI/CH,UAAA;EACR,IAAI,OAAOI,SAAW,KAAW;EAIjC,IAAAC,IACE,OAAOD,OAAME,cAAgB,aAAaF,OAAME,WAAYZ,CAA6B,IAAzFa,KAAAA,GAEFC,UAA2B;GACzB,IAAI,OAAOJ,SAAW,KAAW,OACxB;GAGT,IAAAK,IAAkBJ,GAAUK,WAAV,IAClBC,IAAY,OAAOC,YAAc,MAArBA,YAAAL,KAAAA,GACZM,IAAuBF,GAAGE,kBAAH,GACvBC,IAA0BH,GAAkEG,oBAAnE;GAAwE,OAE1FL,KAAaI,IAAiB,KAAKC,IAAmB;EAAC,GAGhEC,UAA4B;GAC1BhB,EAAiBS,EAAmB,CAAC;EAAC;EAGxCO,MAAoB,GAEfV,GAIL;OAAI,OAAOA,EAAUW,oBAAsB,YACiB,OAA1DX,EAAUW,iBAAkB,UAAUD,CAAmB,SAC5CV,EAAUY,oBAAqB,UAAUF,CAAmB;GAG3E,IAAI,OAAOV,EAAUa,eAAiB,YACO,OAA3Cb,EAAUa,YAAaH,CAAmB,SAC7BV,EAAUc,eAAgBJ,CAAmB;EALgB;CAM3E,GACAd,IAAA,CAAA,GAAEL,EAAA,KAAAI,GAAAJ,EAAA,KAAAK,MAAAD,IAAAJ,EAAA,IAAAK,IAAAL,EAAA,KAxCLJ,EAAUQ,GAwCPC,CAAE,GAEEH;AAAa"}
1
+ {"version":3,"file":"index4.js","names":[],"sources":["../src/helpers/useIsTouchDevice.ts"],"sourcesContent":["import { useEffect, useState } from \"react\"\n\n\nconst TOUCH_MEDIA_QUERY = \"(pointer: coarse)\"\n\nexport function useIsTouchDevice() {\n const [isTouchDevice, setIsTouchDevice] = useState(false)\n\n // React Compiler rejects hook aliasing (useIsomorphicLayoutEffect pattern), so we keep\n // a direct hook call and guard browser-only logic inside the effect.\n useEffect(() => {\n if (typeof window === \"undefined\") {\n return\n }\n\n const mediaQuery =\n typeof window.matchMedia === \"function\" ? window.matchMedia(TOUCH_MEDIA_QUERY) : undefined\n\n const getHasTouchSupport = () => {\n if (typeof window === \"undefined\") {\n return false\n }\n\n const mqMatches = mediaQuery?.matches ?? false\n const nav = typeof navigator !== \"undefined\" ? navigator : undefined\n const maxTouchPoints = nav?.maxTouchPoints ?? 0\n const msMaxTouchPoints = (nav as unknown as { msMaxTouchPoints?: number })?.msMaxTouchPoints ?? 0\n\n return mqMatches || maxTouchPoints > 0 || msMaxTouchPoints > 0\n }\n\n const updateIsTouchDevice = () => {\n setIsTouchDevice(getHasTouchSupport())\n }\n\n updateIsTouchDevice()\n\n if (!mediaQuery) {\n return\n }\n\n if (typeof mediaQuery.addEventListener === \"function\") {\n mediaQuery.addEventListener(\"change\", updateIsTouchDevice)\n return () => mediaQuery.removeEventListener(\"change\", updateIsTouchDevice)\n }\n\n if (typeof mediaQuery.addListener === \"function\") {\n mediaQuery.addListener(updateIsTouchDevice)\n return () => mediaQuery.removeListener(updateIsTouchDevice)\n }\n }, [])\n\n return isTouchDevice\n}\n"],"mappings":";;;AAGA,IAAM,IAAoB;AAE1B,SAAO,IAAA;CAAA,IAAA,IAAA,EAAA,CAAA,GACL,CAAA,GAAA,KAA0C,EAAS,EAAK,GAAC,GAAA;CA4CnD,OA5CmD,EAAA,OAAA,OAAA,IAAA,2BAAA,KAI/C,UAAA;EACR,IAAI,OAAO,SAAW,KAAW;EAIjC,IAAA,IACE,OAAO,OAAM,cAAgB,aAAa,OAAM,WAAY,CAA6B,IAAzF,KAAA,GAEF,UAA2B;GACzB,IAAI,OAAO,SAAW,KAAW,OACxB;GAGT,IAAA,IAAkB,GAAU,WAAV,IAClB,IAAY,OAAO,YAAc,MAArB,YAAA,KAAA,GACZ,IAAuB,GAAG,kBAAH,GACvB,IAA0B,GAAkE,oBAAnE;GAAwE,OAE1F,KAAa,IAAiB,KAAK,IAAmB;EAAC,GAGhE,UAA4B;GAC1B,EAAiB,EAAmB,CAAC;EAAC;EAGxC,MAAoB,GAEf,GAIL;OAAI,OAAO,EAAU,oBAAsB,YACiB,OAA1D,EAAU,iBAAkB,UAAU,CAAmB,SAC5C,EAAU,oBAAqB,UAAU,CAAmB;GAG3E,IAAI,OAAO,EAAU,eAAiB,YACO,OAA3C,EAAU,YAAa,CAAmB,SAC7B,EAAU,eAAgB,CAAmB;EALgB;CAM3E,GACA,IAAA,CAAA,GAAE,EAAA,KAAA,GAAA,EAAA,KAAA,MAAA,IAAA,EAAA,IAAA,IAAA,EAAA,KAxCL,EAAU,GAwCP,CAAE,GAEE;AAAa"}
package/dist/index400.js CHANGED
@@ -1,26 +1,108 @@
1
1
  "use client";
2
- import { useRenderElement as e } from "./index196.js";
3
- import { popupStateMapping as t } from "./index198.js";
4
- import { getDisabledMountTransitionStyles as n } from "./index399.js";
5
- //#region ../../node_modules/@base-ui/react/utils/usePositioner.mjs
6
- function r(r, i, { styles: a, transitionStatus: o, props: s, refs: c, hidden: l, inert: u = !1 }) {
7
- let d = { ...a };
8
- return u && (d.pointerEvents = "none"), e("div", r, {
9
- state: i,
10
- ref: c,
11
- props: [
12
- {
13
- role: "presentation",
14
- hidden: l,
15
- style: d
16
- },
17
- n(o),
18
- s
19
- ],
20
- stateAttributesMapping: t
2
+ import { useStableCallback as e } from "./index202.js";
3
+ import { useIsoLayoutEffect as t } from "./index204.js";
4
+ import { none as n } from "./index210.js";
5
+ import { createChangeEventDetails as r } from "./index211.js";
6
+ import { DROPDOWN_COLLISION_AVOIDANCE as i } from "./index240.js";
7
+ import { useStore as a } from "./index259.js";
8
+ import { inertValue as o } from "./index280.js";
9
+ import { InternalBackdrop as s } from "./index281.js";
10
+ import { useSelectRootContext as c } from "./index367.js";
11
+ import { findItemIndex as l } from "./index373.js";
12
+ import { selectors as u } from "./index376.js";
13
+ import { CompositeList as d } from "./index389.js";
14
+ import { useAnchorPositioning as f } from "./index394.js";
15
+ import { SelectPositionerContext as ee } from "./index395.js";
16
+ import { clearStyles as p } from "./index396.js";
17
+ import { usePositioner as m } from "./index398.js";
18
+ import { useAnchoredPopupScrollLock as h } from "./index399.js";
19
+ import * as g from "react";
20
+ import { jsx as _, jsxs as v } from "react/jsx-runtime";
21
+ //#region ../../node_modules/@base-ui/react/select/positioner/SelectPositioner.mjs
22
+ var te = { position: "fixed" }, y = /*#__PURE__*/ g.forwardRef(function(y, b) {
23
+ let { anchor: x, className: ne, render: re, positionMethod: ie, side: ae, align: oe, sideOffset: se, alignOffset: ce, collisionBoundary: S = "clipping-ancestors", collisionPadding: C, arrowPadding: w, sticky: T, disableAnchorTracking: E, alignItemWithTrigger: D = !0, collisionAvoidance: O = i, style: le, ...k } = y, { store: A, listRef: j, labelsRef: M, alignItemWithTriggerActiveRef: N, selectedItemTextRef: P, valuesRef: F, initialValueRef: I, popupRef: L, setValue: R, floatingContext: z } = c(), B = a(A, u.open), V = a(A, u.mounted), H = a(A, u.modal), U = a(A, u.value), W = a(A, u.openMethod), G = a(A, u.positionerElement), K = a(A, u.triggerElement), q = a(A, u.isItemEqualToValue), ue = a(A, u.transitionStatus), de = g.useRef(null), fe = g.useRef(null), [J, Y] = g.useState(D), X = V && J && W !== "touch";
24
+ !V && J !== D && Y(D), g.useImperativeHandle(N, () => X), h((X || H) && B, W === "touch", G, K);
25
+ let Z = f({
26
+ anchor: x,
27
+ floatingRootContext: z,
28
+ positionMethod: ie,
29
+ mounted: V,
30
+ side: ae,
31
+ sideOffset: se,
32
+ align: oe,
33
+ alignOffset: ce,
34
+ arrowPadding: w,
35
+ collisionBoundary: S,
36
+ collisionPadding: C,
37
+ sticky: T,
38
+ disableAnchorTracking: E ?? X,
39
+ collisionAvoidance: O,
40
+ keepMounted: !0
41
+ }), Q = X ? "none" : Z.side, pe = X ? te : Z.positionerStyles, me = {
42
+ open: B,
43
+ side: Q,
44
+ align: Z.align,
45
+ anchorHidden: Z.anchorHidden
46
+ };
47
+ t(() => {
48
+ A.set("popupSide", Z.side);
49
+ }, [A, Z.side]);
50
+ let he = A.useStateSetter("positionerElement"), ge = m(y, me, {
51
+ styles: pe,
52
+ transitionStatus: ue,
53
+ props: k,
54
+ refs: [b, he],
55
+ hidden: !V,
56
+ inert: !B
57
+ }), $ = g.useRef(0), _e = e((e) => {
58
+ if (F.current.length === 0) return;
59
+ let t = $.current;
60
+ if ($.current = e.size, e.size === t) return;
61
+ let i = r(n);
62
+ if (t !== 0 && !A.state.multiple && U !== null && l(F.current, U, q) === -1) {
63
+ let e = I.current, t = e != null && l(F.current, e, q) !== -1 ? e : null;
64
+ R(t, i), t === null && (A.set("selectedIndex", null), P.current = null);
65
+ }
66
+ if (t !== 0 && A.state.multiple && Array.isArray(U)) {
67
+ let e = U.filter((e) => l(F.current, e, q) !== -1);
68
+ e.length !== U.length && (R(e, i), e.length === 0 && (A.set("selectedIndex", null), P.current = null));
69
+ }
70
+ if (B && X) {
71
+ A.update({
72
+ scrollUpArrowVisible: !1,
73
+ scrollDownArrowVisible: !1
74
+ });
75
+ let e = { height: "" };
76
+ p(G, e), p(L.current, e);
77
+ }
78
+ }), ve = g.useMemo(() => ({
79
+ ...Z,
80
+ side: Q,
81
+ alignItemWithTriggerActive: X,
82
+ setControlledAlignItemWithTrigger: Y,
83
+ scrollUpArrowRef: de,
84
+ scrollDownArrowRef: fe
85
+ }), [
86
+ Z,
87
+ Q,
88
+ X,
89
+ Y
90
+ ]);
91
+ return /*#__PURE__*/ _(d, {
92
+ elementsRef: j,
93
+ labelsRef: M,
94
+ onMapChange: _e,
95
+ children: /*#__PURE__*/ v(ee.Provider, {
96
+ value: ve,
97
+ children: [V && H && /*#__PURE__*/ _(s, {
98
+ inert: o(!B),
99
+ cutout: K
100
+ }), ge]
101
+ })
21
102
  });
22
- }
103
+ });
104
+ process.env.NODE_ENV !== "production" && (y.displayName = "SelectPositioner");
23
105
  //#endregion
24
- export { r as usePositioner };
106
+ export { y as SelectPositioner };
25
107
 
26
108
  //# sourceMappingURL=index400.js.map