@rpcbase/ui 0.287.0 → 0.289.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 (738) hide show
  1. package/dist/assets/sha256.worker-DNtOSCbM.js.map +1 -0
  2. package/dist/components/FilesUploadField/index.d.ts.map +1 -1
  3. package/dist/index.js +12 -12
  4. package/dist/index10.js.map +1 -1
  5. package/dist/index100.js.map +1 -1
  6. package/dist/index101.js.map +1 -1
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js.map +1 -1
  10. package/dist/index105.js.map +1 -1
  11. package/dist/index106.js.map +1 -1
  12. package/dist/index107.js.map +1 -1
  13. package/dist/index108.js.map +1 -1
  14. package/dist/index109.js.map +1 -1
  15. package/dist/index11.js +96 -17
  16. package/dist/index11.js.map +1 -1
  17. package/dist/index110.js.map +1 -1
  18. package/dist/index111.js.map +1 -1
  19. package/dist/index112.js.map +1 -1
  20. package/dist/index113.js.map +1 -1
  21. package/dist/index114.js.map +1 -1
  22. package/dist/index115.js.map +1 -1
  23. package/dist/index116.js.map +1 -1
  24. package/dist/index117.js.map +1 -1
  25. package/dist/index118.js.map +1 -1
  26. package/dist/index119.js.map +1 -1
  27. package/dist/index12.js.map +1 -1
  28. package/dist/index120.js.map +1 -1
  29. package/dist/index121.js.map +1 -1
  30. package/dist/index122.js.map +1 -1
  31. package/dist/index123.js +1 -1
  32. package/dist/index123.js.map +1 -1
  33. package/dist/index124.js.map +1 -1
  34. package/dist/index125.js.map +1 -1
  35. package/dist/index126.js.map +1 -1
  36. package/dist/index127.js.map +1 -1
  37. package/dist/index128.js.map +1 -1
  38. package/dist/index129.js.map +1 -1
  39. package/dist/index13.js.map +1 -1
  40. package/dist/index130.js.map +1 -1
  41. package/dist/index131.js.map +1 -1
  42. package/dist/index132.js.map +1 -1
  43. package/dist/index133.js.map +1 -1
  44. package/dist/index134.js.map +1 -1
  45. package/dist/index135.js.map +1 -1
  46. package/dist/index136.js.map +1 -1
  47. package/dist/index137.js.map +1 -1
  48. package/dist/index138.js.map +1 -1
  49. package/dist/index139.js.map +1 -1
  50. package/dist/index14.js.map +1 -1
  51. package/dist/index140.js.map +1 -1
  52. package/dist/index141.js.map +1 -1
  53. package/dist/index142.js.map +1 -1
  54. package/dist/index143.js.map +1 -1
  55. package/dist/index144.js.map +1 -1
  56. package/dist/index145.js.map +1 -1
  57. package/dist/index146.js.map +1 -1
  58. package/dist/index147.js.map +1 -1
  59. package/dist/index148.js.map +1 -1
  60. package/dist/index149.js.map +1 -1
  61. package/dist/index15.js.map +1 -1
  62. package/dist/index150.js.map +1 -1
  63. package/dist/index151.js.map +1 -1
  64. package/dist/index152.js.map +1 -1
  65. package/dist/index153.js.map +1 -1
  66. package/dist/index154.js +4 -4
  67. package/dist/index154.js.map +1 -1
  68. package/dist/index155.js.map +1 -1
  69. package/dist/index156.js.map +1 -1
  70. package/dist/index157.js.map +1 -1
  71. package/dist/index158.js.map +1 -1
  72. package/dist/index159.js.map +1 -1
  73. package/dist/index16.js.map +1 -1
  74. package/dist/index160.js.map +1 -1
  75. package/dist/index161.js.map +1 -1
  76. package/dist/index162.js.map +1 -1
  77. package/dist/index163.js.map +1 -1
  78. package/dist/index164.js.map +1 -1
  79. package/dist/index165.js.map +1 -1
  80. package/dist/index166.js.map +1 -1
  81. package/dist/index167.js.map +1 -1
  82. package/dist/index168.js.map +1 -1
  83. package/dist/index169.js.map +1 -1
  84. package/dist/index17.js.map +1 -1
  85. package/dist/index170.js +18 -12
  86. package/dist/index170.js.map +1 -1
  87. package/dist/index171.js.map +1 -1
  88. package/dist/index172.js.map +1 -1
  89. package/dist/index173.js.map +1 -1
  90. package/dist/index174.js.map +1 -1
  91. package/dist/index175.js.map +1 -1
  92. package/dist/index176.js.map +1 -1
  93. package/dist/index177.js.map +1 -1
  94. package/dist/index178.js.map +1 -1
  95. package/dist/index179.js.map +1 -1
  96. package/dist/index18.js.map +1 -1
  97. package/dist/index180.js.map +1 -1
  98. package/dist/index181.js +1 -1
  99. package/dist/index181.js.map +1 -1
  100. package/dist/index182.js +3 -3
  101. package/dist/index182.js.map +1 -1
  102. package/dist/index183.js.map +1 -1
  103. package/dist/index184.js.map +1 -1
  104. package/dist/index185.js.map +1 -1
  105. package/dist/index186.js.map +1 -1
  106. package/dist/index187.js.map +1 -1
  107. package/dist/index188.js.map +1 -1
  108. package/dist/index189.js.map +1 -1
  109. package/dist/index19.js.map +1 -1
  110. package/dist/index190.js +9 -7
  111. package/dist/index190.js.map +1 -1
  112. package/dist/index191.js +4 -4
  113. package/dist/index191.js.map +1 -1
  114. package/dist/index192.js +4 -15
  115. package/dist/index192.js.map +1 -1
  116. package/dist/index193.js +13 -3
  117. package/dist/index193.js.map +1 -1
  118. package/dist/index194.js +2 -2
  119. package/dist/index194.js.map +1 -1
  120. package/dist/index195.js +4 -85
  121. package/dist/index195.js.map +1 -1
  122. package/dist/index196.js +79 -54
  123. package/dist/index196.js.map +1 -1
  124. package/dist/index197.js +68 -7
  125. package/dist/index197.js.map +1 -1
  126. package/dist/index198.js +3 -23
  127. package/dist/index198.js.map +1 -1
  128. package/dist/index199.js +6 -28
  129. package/dist/index199.js.map +1 -1
  130. package/dist/index20.js.map +1 -1
  131. package/dist/index200.js +4 -97
  132. package/dist/index200.js.map +1 -1
  133. package/dist/index201.js +3 -4
  134. package/dist/index201.js.map +1 -1
  135. package/dist/index202.js +23 -24
  136. package/dist/index202.js.map +1 -1
  137. package/dist/index203.js +28 -10
  138. package/dist/index203.js.map +1 -1
  139. package/dist/index204.js +97 -4
  140. package/dist/index204.js.map +1 -1
  141. package/dist/index205.js +4 -12
  142. package/dist/index205.js.map +1 -1
  143. package/dist/index206.js +22 -19
  144. package/dist/index206.js.map +1 -1
  145. package/dist/index207.js +4 -6
  146. package/dist/index207.js.map +1 -1
  147. package/dist/index208.js +4 -15
  148. package/dist/index208.js.map +1 -1
  149. package/dist/index209.js +10 -102
  150. package/dist/index209.js.map +1 -1
  151. package/dist/index210.js +21 -3
  152. package/dist/index210.js.map +1 -1
  153. package/dist/index211.js +5 -23
  154. package/dist/index211.js.map +1 -1
  155. package/dist/index212.js +15 -28
  156. package/dist/index212.js.map +1 -1
  157. package/dist/index213.js +101 -17
  158. package/dist/index213.js.map +1 -1
  159. package/dist/index214.js +3 -7
  160. package/dist/index214.js.map +1 -1
  161. package/dist/index215.js +24 -15
  162. package/dist/index215.js.map +1 -1
  163. package/dist/index216.js +27 -7
  164. package/dist/index216.js.map +1 -1
  165. package/dist/index217.js +17 -24
  166. package/dist/index217.js.map +1 -1
  167. package/dist/index218.js +6 -22
  168. package/dist/index218.js.map +1 -1
  169. package/dist/index219.js +15 -6
  170. package/dist/index219.js.map +1 -1
  171. package/dist/index220.js +8 -5
  172. package/dist/index220.js.map +1 -1
  173. package/dist/index221.js +27 -4
  174. package/dist/index221.js.map +1 -1
  175. package/dist/index222.js +23 -4
  176. package/dist/index222.js.map +1 -1
  177. package/dist/index223.js +6 -24
  178. package/dist/index223.js.map +1 -1
  179. package/dist/index224.js +5 -3
  180. package/dist/index224.js.map +1 -1
  181. package/dist/index225.js +4 -24
  182. package/dist/index225.js.map +1 -1
  183. package/dist/index226.js +4 -23
  184. package/dist/index226.js.map +1 -1
  185. package/dist/index227.js +23 -6
  186. package/dist/index227.js.map +1 -1
  187. package/dist/index228.js +22 -8
  188. package/dist/index228.js.map +1 -1
  189. package/dist/index229.js +3 -19
  190. package/dist/index229.js.map +1 -1
  191. package/dist/index23.js.map +1 -1
  192. package/dist/index230.js +22 -50
  193. package/dist/index230.js.map +1 -1
  194. package/dist/index231.js +7 -20
  195. package/dist/index231.js.map +1 -1
  196. package/dist/index232.js +9 -27
  197. package/dist/index232.js.map +1 -1
  198. package/dist/index233.js +17 -97
  199. package/dist/index233.js.map +1 -1
  200. package/dist/index234.js +50 -33
  201. package/dist/index234.js.map +1 -1
  202. package/dist/index235.js +20 -119
  203. package/dist/index235.js.map +1 -1
  204. package/dist/index236.js +28 -13
  205. package/dist/index236.js.map +1 -1
  206. package/dist/index237.js +98 -4
  207. package/dist/index237.js.map +1 -1
  208. package/dist/index238.js +33 -15
  209. package/dist/index238.js.map +1 -1
  210. package/dist/index239.js +116 -62
  211. package/dist/index239.js.map +1 -1
  212. package/dist/index24.js.map +1 -1
  213. package/dist/index240.js +13 -10
  214. package/dist/index240.js.map +1 -1
  215. package/dist/index241.js +4 -109
  216. package/dist/index241.js.map +1 -1
  217. package/dist/index242.js +14 -14
  218. package/dist/index242.js.map +1 -1
  219. package/dist/index243.js +64 -12
  220. package/dist/index243.js.map +1 -1
  221. package/dist/index244.js +10 -5
  222. package/dist/index244.js.map +1 -1
  223. package/dist/index245.js +104 -318
  224. package/dist/index245.js.map +1 -1
  225. package/dist/index246.js +14 -66
  226. package/dist/index246.js.map +1 -1
  227. package/dist/index247.js +12 -232
  228. package/dist/index247.js.map +1 -1
  229. package/dist/index248.js +4 -270
  230. package/dist/index248.js.map +1 -1
  231. package/dist/index249.js +313 -309
  232. package/dist/index249.js.map +1 -1
  233. package/dist/index25.js.map +1 -1
  234. package/dist/index250.js +60 -171
  235. package/dist/index250.js.map +1 -1
  236. package/dist/index251.js +252 -8
  237. package/dist/index251.js.map +1 -1
  238. package/dist/index252.js +268 -41
  239. package/dist/index252.js.map +1 -1
  240. package/dist/index253.js +316 -47
  241. package/dist/index253.js.map +1 -1
  242. package/dist/index254.js +179 -9
  243. package/dist/index254.js.map +1 -1
  244. package/dist/index255.js +6 -50
  245. package/dist/index255.js.map +1 -1
  246. package/dist/index256.js +41 -51
  247. package/dist/index256.js.map +1 -1
  248. package/dist/index257.js +50 -7
  249. package/dist/index257.js.map +1 -1
  250. package/dist/index258.js +9 -10
  251. package/dist/index258.js.map +1 -1
  252. package/dist/index259.js +51 -61
  253. package/dist/index259.js.map +1 -1
  254. package/dist/index26.js.map +1 -1
  255. package/dist/index260.js +53 -42
  256. package/dist/index260.js.map +1 -1
  257. package/dist/index261.js +9 -97
  258. package/dist/index261.js.map +1 -1
  259. package/dist/index262.js +31 -47
  260. package/dist/index262.js.map +1 -1
  261. package/dist/index263.js +61 -36
  262. package/dist/index263.js.map +1 -1
  263. package/dist/index264.js +43 -47
  264. package/dist/index264.js.map +1 -1
  265. package/dist/index265.js +92 -46
  266. package/dist/index265.js.map +1 -1
  267. package/dist/index266.js +48 -20
  268. package/dist/index266.js.map +1 -1
  269. package/dist/index267.js +33 -176
  270. package/dist/index267.js.map +1 -1
  271. package/dist/index268.js +49 -48
  272. package/dist/index268.js.map +1 -1
  273. package/dist/index269.js +68 -15
  274. package/dist/index269.js.map +1 -1
  275. package/dist/index27.js.map +1 -1
  276. package/dist/index270.js +20 -65
  277. package/dist/index270.js.map +1 -1
  278. package/dist/index271.js +202 -9
  279. package/dist/index271.js.map +1 -1
  280. package/dist/index272.js +48 -40
  281. package/dist/index272.js.map +1 -1
  282. package/dist/index273.js +60 -91
  283. package/dist/index273.js.map +1 -1
  284. package/dist/index274.js +9 -278
  285. package/dist/index274.js.map +1 -1
  286. package/dist/index275.js +38 -55
  287. package/dist/index275.js.map +1 -1
  288. package/dist/index276.js +91 -10
  289. package/dist/index276.js.map +1 -1
  290. package/dist/index277.js +278 -12
  291. package/dist/index277.js.map +1 -1
  292. package/dist/index278.js +58 -11
  293. package/dist/index278.js.map +1 -1
  294. package/dist/index279.js +11 -64
  295. package/dist/index279.js.map +1 -1
  296. package/dist/index28.js +5 -5
  297. package/dist/index28.js.map +1 -1
  298. package/dist/index280.js +12 -6
  299. package/dist/index280.js.map +1 -1
  300. package/dist/index281.js +3 -25
  301. package/dist/index281.js.map +1 -1
  302. package/dist/index282.js +3 -25
  303. package/dist/index282.js.map +1 -1
  304. package/dist/index283.js +12 -126
  305. package/dist/index283.js.map +1 -1
  306. package/dist/index284.js +63 -51
  307. package/dist/index284.js.map +1 -1
  308. package/dist/index285.js +5 -60
  309. package/dist/index285.js.map +1 -1
  310. package/dist/index286.js +24 -48
  311. package/dist/index286.js.map +1 -1
  312. package/dist/index287.js +24 -6
  313. package/dist/index287.js.map +1 -1
  314. package/dist/index288.js +125 -14
  315. package/dist/index288.js.map +1 -1
  316. package/dist/index289.js +51 -16
  317. package/dist/index289.js.map +1 -1
  318. package/dist/index29.js +5 -7
  319. package/dist/index29.js.map +1 -1
  320. package/dist/index290.js +56 -11
  321. package/dist/index290.js.map +1 -1
  322. package/dist/index291.js +47 -24
  323. package/dist/index291.js.map +1 -1
  324. package/dist/index292.js +7 -51
  325. package/dist/index292.js.map +1 -1
  326. package/dist/index293.js +15 -6
  327. package/dist/index293.js.map +1 -1
  328. package/dist/index294.js +18 -148
  329. package/dist/index294.js.map +1 -1
  330. package/dist/index295.js +12 -59
  331. package/dist/index295.js.map +1 -1
  332. package/dist/index296.js +25 -120
  333. package/dist/index296.js.map +1 -1
  334. package/dist/index297.js +54 -15
  335. package/dist/index297.js.map +1 -1
  336. package/dist/index298.js +5 -866
  337. package/dist/index298.js.map +1 -1
  338. package/dist/index299.js +148 -28
  339. package/dist/index299.js.map +1 -1
  340. package/dist/index3.js.map +1 -1
  341. package/dist/index30.js +6 -8
  342. package/dist/index30.js.map +1 -1
  343. package/dist/index300.js +55 -512
  344. package/dist/index300.js.map +1 -1
  345. package/dist/index301.js +111 -794
  346. package/dist/index301.js.map +1 -1
  347. package/dist/index302.js +14 -7436
  348. package/dist/index302.js.map +1 -1
  349. package/dist/index303.js +862 -6
  350. package/dist/index303.js.map +1 -1
  351. package/dist/index304.js +28 -12
  352. package/dist/index304.js.map +1 -1
  353. package/dist/index305.js +515 -5
  354. package/dist/index305.js.map +1 -1
  355. package/dist/index306.js +803 -5
  356. package/dist/index306.js.map +1 -1
  357. package/dist/index307.js +7426 -468
  358. package/dist/index307.js.map +1 -1
  359. package/dist/index308.js +6 -37
  360. package/dist/index308.js.map +1 -1
  361. package/dist/index309.js +12 -19
  362. package/dist/index309.js.map +1 -1
  363. package/dist/index31.js +5 -11
  364. package/dist/index31.js.map +1 -1
  365. package/dist/index310.js +5 -30
  366. package/dist/index310.js.map +1 -1
  367. package/dist/index311.js +5 -4
  368. package/dist/index311.js.map +1 -1
  369. package/dist/index312.js +461 -51
  370. package/dist/index312.js.map +1 -1
  371. package/dist/index313.js +36 -10
  372. package/dist/index313.js.map +1 -1
  373. package/dist/index314.js +19 -5
  374. package/dist/index314.js.map +1 -1
  375. package/dist/index315.js +29 -8
  376. package/dist/index315.js.map +1 -1
  377. package/dist/index316.js +4 -12
  378. package/dist/index316.js.map +1 -1
  379. package/dist/index317.js +60 -3
  380. package/dist/index317.js.map +1 -1
  381. package/dist/index318.js +10 -15
  382. package/dist/index318.js.map +1 -1
  383. package/dist/index319.js +5 -25
  384. package/dist/index319.js.map +1 -1
  385. package/dist/index32.js +5 -5
  386. package/dist/index32.js.map +1 -1
  387. package/dist/index320.js +9 -41
  388. package/dist/index320.js.map +1 -1
  389. package/dist/index321.js +11 -4
  390. package/dist/index321.js.map +1 -1
  391. package/dist/index322.js +3 -26
  392. package/dist/index322.js.map +1 -1
  393. package/dist/index323.js +15 -18
  394. package/dist/index323.js.map +1 -1
  395. package/dist/index324.js +22 -31
  396. package/dist/index324.js.map +1 -1
  397. package/dist/index325.js +41 -5
  398. package/dist/index325.js.map +1 -1
  399. package/dist/index326.js +4 -8
  400. package/dist/index326.js.map +1 -1
  401. package/dist/index327.js +25 -8
  402. package/dist/index327.js.map +1 -1
  403. package/dist/index328.js +19 -9
  404. package/dist/index328.js.map +1 -1
  405. package/dist/index329.js +34 -10
  406. package/dist/index329.js.map +1 -1
  407. package/dist/index33.js +9 -6
  408. package/dist/index33.js.map +1 -1
  409. package/dist/index330.js +5 -7
  410. package/dist/index330.js.map +1 -1
  411. package/dist/index331.js +9 -75
  412. package/dist/index331.js.map +1 -1
  413. package/dist/index332.js +8 -162
  414. package/dist/index332.js.map +1 -1
  415. package/dist/index333.js +9 -114
  416. package/dist/index333.js.map +1 -1
  417. package/dist/index334.js +10 -14
  418. package/dist/index334.js.map +1 -1
  419. package/dist/index335.js +7 -80
  420. package/dist/index335.js.map +1 -1
  421. package/dist/index336.js +68 -39
  422. package/dist/index336.js.map +1 -1
  423. package/dist/index337.js +160 -11
  424. package/dist/index337.js.map +1 -1
  425. package/dist/index338.js +113 -15
  426. package/dist/index338.js.map +1 -1
  427. package/dist/index339.js +13 -100
  428. package/dist/index339.js.map +1 -1
  429. package/dist/index34.js +6 -6
  430. package/dist/index34.js.map +1 -1
  431. package/dist/index340.js +73 -49
  432. package/dist/index340.js.map +1 -1
  433. package/dist/index341.js +34 -96
  434. package/dist/index341.js.map +1 -1
  435. package/dist/index342.js +12 -70
  436. package/dist/index342.js.map +1 -1
  437. package/dist/index343.js +14 -111
  438. package/dist/index343.js.map +1 -1
  439. package/dist/index344.js +94 -48
  440. package/dist/index344.js.map +1 -1
  441. package/dist/index345.js +50 -37
  442. package/dist/index345.js.map +1 -1
  443. package/dist/index346.js +89 -125
  444. package/dist/index346.js.map +1 -1
  445. package/dist/index347.js +52 -123
  446. package/dist/index347.js.map +1 -1
  447. package/dist/index348.js +54 -197
  448. package/dist/index348.js.map +1 -1
  449. package/dist/index349.js +44 -229
  450. package/dist/index349.js.map +1 -1
  451. package/dist/index35.js +9 -9
  452. package/dist/index35.js.map +1 -1
  453. package/dist/index350.js +42 -308
  454. package/dist/index350.js.map +1 -1
  455. package/dist/index351.js +144 -5
  456. package/dist/index351.js.map +1 -1
  457. package/dist/index352.js +142 -6
  458. package/dist/index352.js.map +1 -1
  459. package/dist/index353.js +257 -7
  460. package/dist/index353.js.map +1 -1
  461. package/dist/index354.js +241 -6
  462. package/dist/index354.js.map +1 -1
  463. package/dist/index355.js +309 -6
  464. package/dist/index355.js.map +1 -1
  465. package/dist/index356.js +5 -21
  466. package/dist/index356.js.map +1 -1
  467. package/dist/index357.js +6 -10
  468. package/dist/index357.js.map +1 -1
  469. package/dist/index358.js +7 -128
  470. package/dist/index358.js.map +1 -1
  471. package/dist/index359.js +6 -42
  472. package/dist/index359.js.map +1 -1
  473. package/dist/index36.js +12 -7
  474. package/dist/index36.js.map +1 -1
  475. package/dist/index360.js +6 -68
  476. package/dist/index360.js.map +1 -1
  477. package/dist/index361.js +20 -116
  478. package/dist/index361.js.map +1 -1
  479. package/dist/index362.js +10 -490
  480. package/dist/index362.js.map +1 -1
  481. package/dist/index363.js +128 -7
  482. package/dist/index363.js.map +1 -1
  483. package/dist/index364.js +42 -13
  484. package/dist/index364.js.map +1 -1
  485. package/dist/index365.js +67 -3
  486. package/dist/index365.js.map +1 -1
  487. package/dist/index366.js +115 -45
  488. package/dist/index366.js.map +1 -1
  489. package/dist/index367.js +490 -11
  490. package/dist/index367.js.map +1 -1
  491. package/dist/index368.js +8 -26
  492. package/dist/index368.js.map +1 -1
  493. package/dist/index369.js +12 -41
  494. package/dist/index369.js.map +1 -1
  495. package/dist/index37.js +13 -5
  496. package/dist/index37.js.map +1 -1
  497. package/dist/index370.js +4 -36
  498. package/dist/index370.js.map +1 -1
  499. package/dist/index371.js +45 -15
  500. package/dist/index371.js.map +1 -1
  501. package/dist/index372.js +24 -41
  502. package/dist/index372.js.map +1 -1
  503. package/dist/index373.js +3 -12
  504. package/dist/index373.js.map +1 -1
  505. package/dist/index374.js +27 -11
  506. package/dist/index374.js.map +1 -1
  507. package/dist/index375.js +40 -50
  508. package/dist/index375.js.map +1 -1
  509. package/dist/index376.js +37 -40
  510. package/dist/index376.js.map +1 -1
  511. package/dist/index377.js +12 -10
  512. package/dist/index377.js.map +1 -1
  513. package/dist/index378.js +40 -4
  514. package/dist/index378.js.map +1 -1
  515. package/dist/index379.js +7 -4
  516. package/dist/index379.js.map +1 -1
  517. package/dist/index38.js +5 -5
  518. package/dist/index38.js.map +1 -1
  519. package/dist/index380.js +29 -8
  520. package/dist/index380.js.map +1 -1
  521. package/dist/index381.js +9 -303
  522. package/dist/index381.js.map +1 -1
  523. package/dist/index382.js +57 -4
  524. package/dist/index382.js.map +1 -1
  525. package/dist/index383.js +40 -22
  526. package/dist/index383.js.map +1 -1
  527. package/dist/index384.js +15 -105
  528. package/dist/index384.js.map +1 -1
  529. package/dist/index385.js +5 -22
  530. package/dist/index385.js.map +1 -1
  531. package/dist/index386.js +10 -22
  532. package/dist/index386.js.map +1 -1
  533. package/dist/index387.js +289 -16
  534. package/dist/index387.js.map +1 -1
  535. package/dist/index388.js +4 -12
  536. package/dist/index388.js.map +1 -1
  537. package/dist/index389.js +20 -112
  538. package/dist/index389.js.map +1 -1
  539. package/dist/index39.js +6 -10
  540. package/dist/index39.js.map +1 -1
  541. package/dist/index390.js +3 -9
  542. package/dist/index390.js.map +1 -1
  543. package/dist/index391.js +104 -27
  544. package/dist/index391.js.map +1 -1
  545. package/dist/index392.js +20 -9
  546. package/dist/index392.js.map +1 -1
  547. package/dist/index393.js +20 -6
  548. package/dist/index393.js.map +1 -1
  549. package/dist/index394.js +14 -253
  550. package/dist/index394.js.map +1 -1
  551. package/dist/index395.js +12 -10
  552. package/dist/index395.js.map +1 -1
  553. package/dist/index396.js +117 -11
  554. package/dist/index396.js.map +1 -1
  555. package/dist/index397.js +8 -6
  556. package/dist/index397.js.map +1 -1
  557. package/dist/index398.js +32 -22
  558. package/dist/index398.js.map +1 -1
  559. package/dist/index399.js +9 -23
  560. package/dist/index399.js.map +1 -1
  561. package/dist/index4.js.map +1 -1
  562. package/dist/index40.js +8 -11
  563. package/dist/index40.js.map +1 -1
  564. package/dist/index400.js +6 -105
  565. package/dist/index400.js.map +1 -1
  566. package/dist/index401.js +3 -15
  567. package/dist/index401.js.map +1 -1
  568. package/dist/index402.js +251 -10
  569. package/dist/index402.js.map +1 -1
  570. package/dist/index403.js +9 -7
  571. package/dist/index403.js.map +1 -1
  572. package/dist/index404.js +11 -239
  573. package/dist/index404.js.map +1 -1
  574. package/dist/index405.js +7 -28
  575. package/dist/index405.js.map +1 -1
  576. package/dist/index406.js +21 -37
  577. package/dist/index406.js.map +1 -1
  578. package/dist/index407.js +21 -10
  579. package/dist/index407.js.map +1 -1
  580. package/dist/index408.js +97 -117
  581. package/dist/index408.js.map +1 -1
  582. package/dist/index409.js +15 -40
  583. package/dist/index409.js.map +1 -1
  584. package/dist/index41.js +6 -7
  585. package/dist/index41.js.map +1 -1
  586. package/dist/index410.js +11 -25
  587. package/dist/index410.js.map +1 -1
  588. package/dist/index411.js +7 -9
  589. package/dist/index411.js.map +1 -1
  590. package/dist/index412.js +3 -24
  591. package/dist/index412.js.map +1 -1
  592. package/dist/index413.js +226 -15
  593. package/dist/index413.js.map +1 -1
  594. package/dist/index414.js +24 -11
  595. package/dist/index414.js.map +1 -1
  596. package/dist/index415.js +38 -4
  597. package/dist/index415.js.map +1 -1
  598. package/dist/index416.js +11 -324
  599. package/dist/index416.js.map +1 -1
  600. package/dist/index417.js +119 -62
  601. package/dist/index417.js.map +1 -1
  602. package/dist/index418.js +42 -4
  603. package/dist/index418.js.map +1 -1
  604. package/dist/index419.js +25 -28
  605. package/dist/index419.js.map +1 -1
  606. package/dist/index42.js +6 -4
  607. package/dist/index42.js.map +1 -1
  608. package/dist/index420.js +11 -470
  609. package/dist/index420.js.map +1 -1
  610. package/dist/index421.js +23 -268
  611. package/dist/index421.js.map +1 -1
  612. package/dist/index422.js +24 -0
  613. package/dist/index422.js.map +1 -0
  614. package/dist/index423.js +17 -0
  615. package/dist/index423.js.map +1 -0
  616. package/dist/index424.js +8 -0
  617. package/dist/index424.js.map +1 -0
  618. package/dist/index425.js +328 -0
  619. package/dist/index425.js.map +1 -0
  620. package/dist/index426.js +66 -0
  621. package/dist/index426.js.map +1 -0
  622. package/dist/index427.js +7 -0
  623. package/dist/index427.js.map +1 -0
  624. package/dist/index428.js +31 -0
  625. package/dist/index428.js.map +1 -0
  626. package/dist/index429.js +474 -0
  627. package/dist/index429.js.map +1 -0
  628. package/dist/index43.js +68 -7
  629. package/dist/index43.js.map +1 -1
  630. package/dist/index430.js +272 -0
  631. package/dist/index430.js.map +1 -0
  632. package/dist/index44.js +7 -6
  633. package/dist/index44.js.map +1 -1
  634. package/dist/index45.js +31 -7
  635. package/dist/index45.js.map +1 -1
  636. package/dist/index46.js +10 -10
  637. package/dist/index46.js.map +1 -1
  638. package/dist/index47.js +15 -13
  639. package/dist/index47.js.map +1 -1
  640. package/dist/index48.js +201 -7
  641. package/dist/index48.js.map +1 -1
  642. package/dist/index49.js +20 -6
  643. package/dist/index49.js.map +1 -1
  644. package/dist/index5.js.map +1 -1
  645. package/dist/index50.js +16 -6
  646. package/dist/index50.js.map +1 -1
  647. package/dist/index51.js +123 -14
  648. package/dist/index51.js.map +1 -1
  649. package/dist/index52.js +19 -8
  650. package/dist/index52.js.map +1 -1
  651. package/dist/index53.js +5 -7
  652. package/dist/index53.js.map +1 -1
  653. package/dist/index54.js +9 -68
  654. package/dist/index54.js.map +1 -1
  655. package/dist/index55.js +7 -7
  656. package/dist/index55.js.map +1 -1
  657. package/dist/index56.js +9 -31
  658. package/dist/index56.js.map +1 -1
  659. package/dist/index57.js +13 -10
  660. package/dist/index57.js.map +1 -1
  661. package/dist/index58.js +8 -15
  662. package/dist/index58.js.map +1 -1
  663. package/dist/index59.js +10 -201
  664. package/dist/index59.js.map +1 -1
  665. package/dist/index6.js.map +1 -1
  666. package/dist/index60.js +13 -20
  667. package/dist/index60.js.map +1 -1
  668. package/dist/index61.js +9 -16
  669. package/dist/index61.js.map +1 -1
  670. package/dist/index62.js +10 -123
  671. package/dist/index62.js.map +1 -1
  672. package/dist/index63.js +5 -19
  673. package/dist/index63.js.map +1 -1
  674. package/dist/index64.js +42 -9
  675. package/dist/index64.js.map +1 -1
  676. package/dist/index65.js +387 -9
  677. package/dist/index65.js.map +1 -1
  678. package/dist/index66.js +37 -14
  679. package/dist/index66.js.map +1 -1
  680. package/dist/index67.js +21 -9
  681. package/dist/index67.js.map +1 -1
  682. package/dist/index68.js +4 -9
  683. package/dist/index68.js.map +1 -1
  684. package/dist/index69.js +6 -4
  685. package/dist/index69.js.map +1 -1
  686. package/dist/index7.js +3 -3
  687. package/dist/index7.js.map +1 -1
  688. package/dist/index70.js +57 -41
  689. package/dist/index70.js.map +1 -1
  690. package/dist/index71.js +5 -387
  691. package/dist/index71.js.map +1 -1
  692. package/dist/index72.js +6 -37
  693. package/dist/index72.js.map +1 -1
  694. package/dist/index73.js +5 -21
  695. package/dist/index73.js.map +1 -1
  696. package/dist/index74.js +4 -56
  697. package/dist/index74.js.map +1 -1
  698. package/dist/index75.js +7 -7
  699. package/dist/index75.js.map +1 -1
  700. package/dist/index76.js +6 -5
  701. package/dist/index76.js.map +1 -1
  702. package/dist/index77.js +6 -5
  703. package/dist/index77.js.map +1 -1
  704. package/dist/index78.js +11 -5
  705. package/dist/index78.js.map +1 -1
  706. package/dist/index79.js +11 -5
  707. package/dist/index79.js.map +1 -1
  708. package/dist/index8.js.map +1 -1
  709. package/dist/index80.js +7 -6
  710. package/dist/index80.js.map +1 -1
  711. package/dist/index81.js +10 -6
  712. package/dist/index81.js.map +1 -1
  713. package/dist/index82.js +5 -8
  714. package/dist/index82.js.map +1 -1
  715. package/dist/index83.js +6 -7
  716. package/dist/index83.js.map +1 -1
  717. package/dist/index84.js.map +1 -1
  718. package/dist/index85.js.map +1 -1
  719. package/dist/index86.js.map +1 -1
  720. package/dist/index87.js +2 -2
  721. package/dist/index87.js.map +1 -1
  722. package/dist/index88.js +31 -31
  723. package/dist/index88.js.map +1 -1
  724. package/dist/index89.js +1 -1
  725. package/dist/index89.js.map +1 -1
  726. package/dist/index9.js.map +1 -1
  727. package/dist/index90.js.map +1 -1
  728. package/dist/index91.js.map +1 -1
  729. package/dist/index92.js.map +1 -1
  730. package/dist/index93.js.map +1 -1
  731. package/dist/index94.js.map +1 -1
  732. package/dist/index95.js.map +1 -1
  733. package/dist/index96.js.map +1 -1
  734. package/dist/index97.js.map +1 -1
  735. package/dist/index98.js.map +1 -1
  736. package/dist/index99.js.map +1 -1
  737. package/package.json +13 -13
  738. package/dist/assets/sha256.worker-BEf4_Y9w.js.map +0 -1
package/dist/index200.js CHANGED
@@ -1,100 +1,7 @@
1
- //#region ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
2
- function e() {
3
- return typeof window < "u";
4
- }
5
- function t(e) {
6
- return i(e) ? (e.nodeName || "").toLowerCase() : "#document";
7
- }
8
- function n(e) {
9
- var t;
10
- return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
11
- }
12
- function r(e) {
13
- return ((i(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
14
- }
15
- function i(t) {
16
- return e() ? t instanceof Node || t instanceof n(t).Node : !1;
17
- }
18
- function a(t) {
19
- return e() ? t instanceof Element || t instanceof n(t).Element : !1;
20
- }
21
- function o(t) {
22
- return e() ? t instanceof HTMLElement || t instanceof n(t).HTMLElement : !1;
23
- }
24
- function s(t) {
25
- return !e() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof n(t).ShadowRoot;
26
- }
27
- function c(e) {
28
- let { overflow: t, overflowX: n, overflowY: r, display: i } = y(e);
29
- return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
30
- }
31
- function l(e) {
32
- return /^(table|td|th)$/.test(t(e));
33
- }
34
- function u(e) {
35
- try {
36
- if (e.matches(":popover-open")) return !0;
37
- } catch {}
38
- try {
39
- return e.matches(":modal");
40
- } catch {
41
- return !1;
42
- }
43
- }
44
- var d = /transform|translate|scale|rotate|perspective|filter/, f = /paint|layout|strict|content/, p = (e) => !!e && e !== "none", m;
45
- function h(e) {
46
- let t = a(e) ? y(e) : e;
47
- return p(t.transform) || p(t.translate) || p(t.scale) || p(t.rotate) || p(t.perspective) || !_() && (p(t.backdropFilter) || p(t.filter)) || d.test(t.willChange || "") || f.test(t.contain || "");
48
- }
49
- function g(e) {
50
- let t = x(e);
51
- for (; o(t) && !v(t);) {
52
- if (h(t)) return t;
53
- if (u(t)) return null;
54
- t = x(t);
55
- }
56
- return null;
57
- }
58
- function _() {
59
- return m ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), m;
60
- }
61
- function v(e) {
62
- return /^(html|body|#document)$/.test(t(e));
63
- }
64
- function y(e) {
65
- return n(e).getComputedStyle(e);
66
- }
67
- function b(e) {
68
- return a(e) ? {
69
- scrollLeft: e.scrollLeft,
70
- scrollTop: e.scrollTop
71
- } : {
72
- scrollLeft: e.scrollX,
73
- scrollTop: e.scrollY
74
- };
75
- }
76
- function x(e) {
77
- if (t(e) === "html") return e;
78
- let n = e.assignedSlot || e.parentNode || s(e) && e.host || r(e);
79
- return s(n) ? n.host : n;
80
- }
81
- function S(e) {
82
- let t = x(e);
83
- return v(t) ? (e.ownerDocument || e).body : o(t) && c(t) ? t : S(t);
84
- }
85
- function C(e, t, r) {
86
- t === void 0 && (t = []), r === void 0 && (r = !0);
87
- let i = S(e), a = i === e.ownerDocument?.body, o = n(i);
88
- if (a) {
89
- let e = w(o);
90
- return t.concat(o, o.visualViewport || [], c(i) ? i : [], e && r ? C(e) : []);
91
- }
92
- return t.concat(i, C(i, [], r));
93
- }
94
- function w(e) {
95
- return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
96
- }
1
+ import { endingStyle as e, startingStyle as t } from "./index198.js";
2
+ //#region ../../node_modules/@base-ui/react/utils/CommonPopupDataAttributes.mjs
3
+ var n = "data-open", r = "data-closed", i = t, a = e, o = "data-anchor-hidden";
97
4
  //#endregion
98
- export { y as getComputedStyle, g as getContainingBlock, r as getDocumentElement, w as getFrameElement, S as getNearestOverflowAncestor, t as getNodeName, b as getNodeScroll, C as getOverflowAncestors, x as getParentNode, n as getWindow, h as isContainingBlock, a as isElement, o as isHTMLElement, v as isLastTraversableNode, i as isNode, c as isOverflowElement, s as isShadowRoot, l as isTableElement, u as isTopLayer, _ as isWebKit };
5
+ export { o as anchorHidden, r as closed, a as endingStyle, n as open, i as startingStyle };
99
6
 
100
7
  //# sourceMappingURL=index200.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index200.js","names":[],"sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';\n}\nfunction isTableElement(element) {\n return /^(table|td|th)$/.test(getNodeName(element));\n}\nfunction isTopLayer(element) {\n try {\n if (element.matches(':popover-open')) {\n return true;\n }\n } catch (_e) {\n // no-op\n }\n try {\n return element.matches(':modal');\n } catch (_e) {\n return false;\n }\n}\nconst willChangeRe = /transform|translate|scale|rotate|perspective|filter/;\nconst containRe = /paint|layout|strict|content/;\nconst isNotNone = value => !!value && value !== 'none';\nlet isWebKitValue;\nfunction isContainingBlock(elementOrCss) {\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (isWebKitValue == null) {\n isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');\n }\n return isWebKitValue;\n}\nfunction isLastTraversableNode(node) {\n return /^(html|body|#document)$/.test(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return (node.ownerDocument || node).body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n } else {\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n }\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"x_google_ignoreList":[0],"mappings":"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"}
1
+ {"version":3,"file":"index200.js","names":["TransitionStatusDataAttributes.startingStyle","TransitionStatusDataAttributes.endingStyle","endingStyle$1","startingStyle$1","open","closed","startingStyle","endingStyle","anchorHidden"],"sources":["../../../node_modules/@base-ui/react/utils/CommonPopupDataAttributes.mjs"],"sourcesContent":["import * as TransitionStatusDataAttributes from \"../internals/TransitionStatusDataAttributes.mjs\";\n\n/**\n * Present when the popup is open.\n */\nexport const open = 'data-open';\n\n/**\n * Present when the popup is closed.\n */\nexport const closed = 'data-closed';\n\n/**\n * Present when the popup begins animating in.\n */\nexport const startingStyle = TransitionStatusDataAttributes.startingStyle;\n\n/**\n * Present when the popup is animating out.\n */\nexport const endingStyle = TransitionStatusDataAttributes.endingStyle;\n\n/**\n * Present when the anchor is hidden.\n */\nexport const anchorHidden = 'data-anchor-hidden';\n\n/**\n * Indicates which side the popup is positioned relative to the trigger.\n * @type { 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}\n */\nexport const side = 'data-side';\n\n/**\n * Indicates how the popup is aligned relative to specified side.\n * @type {'start' | 'center' | 'end'}\n */\nexport const align = 'data-align';"],"ignoreList":[0],"mappings":";;AAKA,IAAaI,IAAO,aAKPC,IAAS,eAKTC,IAAgBN,GAKhBO,IAAcN,GAKdO,IAAe"}
package/dist/index201.js CHANGED
@@ -1,7 +1,6 @@
1
- import * as e from "react";
2
- //#region ../../node_modules/@base-ui/utils/safeReact.mjs
3
- var t = { ...e };
1
+ //#region ../../node_modules/@base-ui/react/utils/CommonTriggerDataAttributes.mjs
2
+ var e = "data-popup-open", t = "data-pressed";
4
3
  //#endregion
5
- export { t as SafeReact };
4
+ export { e as popupOpen, t as pressed };
6
5
 
7
6
  //# sourceMappingURL=index201.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index201.js","names":["React"],"sources":["../../../node_modules/@base-ui/utils/safeReact.mjs"],"sourcesContent":["import * as React from 'react';\n\n/**\n * A clone of the React namespace for reading APIs that may be missing in older\n * supported React versions. Bundlers can rewrite direct `React.someNewApi`\n * reads into named imports, which breaks React 17. Reading from this cloned\n * object keeps those lookups optional.\n *\n * @see https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379\n */\nexport const SafeReact = {\n ...React\n};"],"x_google_ignoreList":[0],"mappings":";;AAUA,IAAa,IAAY,EACvB,GAAGA,EACL"}
1
+ {"version":3,"file":"index201.js","names":["popupOpen","pressed"],"sources":["../../../node_modules/@base-ui/react/utils/CommonTriggerDataAttributes.mjs"],"sourcesContent":["/**\n * Present when the popup is open.\n */\nexport const popupOpen = 'data-popup-open';\n\n/**\n * Present when a pressable trigger is pressed.\n */\nexport const pressed = 'data-pressed';"],"ignoreList":[0],"mappings":";AAGA,IAAaA,IAAY,mBAKZC,IAAU"}
package/dist/index202.js CHANGED
@@ -1,27 +1,26 @@
1
- "use client";
2
- import { useRefWithInit as e } from "./index185.js";
3
- import { SafeReact as t } from "./index201.js";
4
- //#region ../../node_modules/@base-ui/utils/useStableCallback.mjs
5
- var n = t.useInsertionEffect, r = n && n !== t.useLayoutEffect ? n : (e) => e();
6
- function i(t) {
7
- let n = e(a).current;
8
- return n.next = t, r(n.effect), n.trampoline;
9
- }
10
- function a() {
11
- let e = {
12
- next: void 0,
13
- callback: o,
14
- trampoline: (...t) => e.callback?.(...t),
15
- effect: () => {
16
- e.callback = e.next;
17
- }
18
- };
19
- return e;
20
- }
21
- function o() {
22
- if (process.env.NODE_ENV !== "production") throw Error("Base UI: Cannot call an event handler while rendering.");
23
- }
1
+ import { transitionStatusMapping as e } from "./index199.js";
2
+ import { anchorHidden as t, closed as n, open as r } from "./index200.js";
3
+ import { popupOpen as i, pressed as a } from "./index201.js";
4
+ //#region ../../node_modules/@base-ui/react/utils/popupStateMapping.mjs
5
+ var o = { [i]: "" }, s = {
6
+ [i]: "",
7
+ [a]: ""
8
+ }, c = { [r]: "" }, l = { [n]: "" }, u = { [t]: "" }, d = { open(e) {
9
+ return e ? o : null;
10
+ } }, f = { open(e) {
11
+ return e ? s : null;
12
+ } }, p = {
13
+ open(e) {
14
+ return e ? c : l;
15
+ },
16
+ anchorHidden(e) {
17
+ return e ? u : null;
18
+ }
19
+ }, m = {
20
+ ...p,
21
+ ...e
22
+ };
24
23
  //#endregion
25
- export { i as useStableCallback };
24
+ export { p as popupStateMapping, m as popupTransitionStateMapping, f as pressableTriggerOpenStateMapping, d as triggerOpenStateMapping };
26
25
 
27
26
  //# sourceMappingURL=index202.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index202.js","names":[],"sources":["../../../node_modules/@base-ui/utils/useStableCallback.mjs"],"sourcesContent":["'use client';\n\nimport { SafeReact } from \"./safeReact.mjs\";\nimport { useRefWithInit } from \"./useRefWithInit.mjs\";\nconst useInsertionEffect = SafeReact.useInsertionEffect;\nconst useSafeInsertionEffect =\n// React 17 doesn't have useInsertionEffect.\nuseInsertionEffect &&\n// Preact replaces useInsertionEffect with useLayoutEffect and fires too late.\nuseInsertionEffect !== SafeReact.useLayoutEffect ? useInsertionEffect : fn => fn();\n/**\n * Stabilizes the function passed so it's always the same between renders.\n *\n * The function becomes non-reactive to any values it captures.\n * It can safely be passed as a dependency of `React.useMemo` and `React.useEffect` without re-triggering them if its captured values change.\n *\n * The function must only be called inside effects and event handlers, never during render (which throws an error).\n *\n * This hook is a more permissive version of React 19.2's `React.useEffectEvent` in that it can be passed through contexts and called in event handler props, not just effects.\n */\nexport function useStableCallback(callback) {\n const stable = useRefWithInit(createStableCallback).current;\n stable.next = callback;\n useSafeInsertionEffect(stable.effect);\n return stable.trampoline;\n}\nfunction createStableCallback() {\n const stable = {\n next: undefined,\n callback: assertNotCalled,\n trampoline: (...args) => stable.callback?.(...args),\n effect: () => {\n stable.callback = stable.next;\n }\n };\n return stable;\n}\nfunction assertNotCalled() {\n if (process.env.NODE_ENV !== 'production') {\n // TODO: fix mui/no-guarded-throw\n // eslint-disable-next-line mui/no-guarded-throw\n throw /* minify-error-disabled */new Error('Base UI: Cannot call an event handler while rendering.');\n }\n}"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAAqB,EAAU,oBAC/B,IAEN,KAEA,MAAuB,EAAU,kBAAkB,KAAqB,MAAM,EAAG;AAWjF,SAAgB,EAAkB,GAAU;CAC1C,IAAM,IAAS,EAAe,CAAoB,CAAC,CAAC;CAGpD,OAFA,EAAO,OAAO,GACd,EAAuB,EAAO,MAAM,GAC7B,EAAO;AAChB;AACA,SAAS,IAAuB;CAC9B,IAAM,IAAS;EACb,MAAM,KAAA;EACN,UAAU;EACV,aAAa,GAAG,MAAS,EAAO,WAAW,GAAG,CAAI;EAClD,cAAc;GACZ,EAAO,WAAW,EAAO;EAC3B;CACF;CACA,OAAO;AACT;AACA,SAAS,IAAkB;CACzB,IAAA,QAAA,IAAA,aAA6B,cAG3B,MAAqC,MAAM,wDAAwD;AAEvG"}
1
+ {"version":3,"file":"index202.js","names":["CommonTriggerDataAttributes.popupOpen","CommonTriggerDataAttributes.pressed","CommonPopupDataAttributes.open","CommonPopupDataAttributes.closed","CommonPopupDataAttributes.anchorHidden","TRIGGER_HOOK","popupOpen","PRESSABLE_TRIGGER_HOOK","pressed","POPUP_OPEN_HOOK","open","POPUP_CLOSED_HOOK","closed","ANCHOR_HIDDEN_HOOK","anchorHidden","triggerOpenStateMapping","value","pressableTriggerOpenStateMapping","popupStateMapping","popupTransitionStateMapping","transitionStatusMapping"],"sources":["../../../node_modules/@base-ui/react/utils/popupStateMapping.mjs"],"sourcesContent":["import { transitionStatusMapping } from \"../internals/stateAttributesMapping.mjs\";\nimport * as CommonPopupDataAttributes from \"./CommonPopupDataAttributes.mjs\";\nimport * as CommonTriggerDataAttributes from \"./CommonTriggerDataAttributes.mjs\";\nexport { CommonPopupDataAttributes, CommonTriggerDataAttributes };\nconst TRIGGER_HOOK = {\n [CommonTriggerDataAttributes.popupOpen]: ''\n};\nconst PRESSABLE_TRIGGER_HOOK = {\n [CommonTriggerDataAttributes.popupOpen]: '',\n [CommonTriggerDataAttributes.pressed]: ''\n};\nconst POPUP_OPEN_HOOK = {\n [CommonPopupDataAttributes.open]: ''\n};\nconst POPUP_CLOSED_HOOK = {\n [CommonPopupDataAttributes.closed]: ''\n};\nconst ANCHOR_HIDDEN_HOOK = {\n [CommonPopupDataAttributes.anchorHidden]: ''\n};\nexport const triggerOpenStateMapping = {\n open(value) {\n if (value) {\n return TRIGGER_HOOK;\n }\n return null;\n }\n};\nexport const pressableTriggerOpenStateMapping = {\n open(value) {\n if (value) {\n return PRESSABLE_TRIGGER_HOOK;\n }\n return null;\n }\n};\nexport const popupStateMapping = {\n open(value) {\n if (value) {\n return POPUP_OPEN_HOOK;\n }\n return POPUP_CLOSED_HOOK;\n },\n anchorHidden(value) {\n if (value) {\n return ANCHOR_HIDDEN_HOOK;\n }\n return null;\n }\n};\nexport const popupTransitionStateMapping = {\n ...popupStateMapping,\n ...transitionStatusMapping\n};"],"ignoreList":[0],"mappings":";;;;AAIA,IAAMK,IAAe,GAClBL,IAAwC,GAC3C,GACMO,IAAyB;EAC5BP,IAAwC;EACxCC,IAAsC;AACzC,GACMQ,IAAkB,GACrBP,IAAiC,GACpC,GACMS,IAAoB,GACvBR,IAAmC,GACtC,GACMU,IAAqB,GACxBT,IAAyC,GAC5C,GACaW,IAA0B,EACrC,KAAK,GAAO;CAIV,OAHIC,IACKX,IAEF;AACT,EACF,GACaY,IAAmC,EAC9C,KAAK,GAAO;CAIV,OAHID,IACKT,IAEF;AACT,EACF,GACaW,IAAoB;CAC/B,KAAK,GAAO;EAIV,OAHIF,IACKP,IAEFE;CACT;CACA,aAAa,GAAO;EAIlB,OAHIK,IACKH,IAEF;CACT;AACF,GACaM,IAA8B;CACzC,GAAGD;CACH,GAAGE;AACL"}
package/dist/index203.js CHANGED
@@ -1,13 +1,31 @@
1
- //#region ../../node_modules/@base-ui/utils/error.mjs
2
- var e;
3
- process.env.NODE_ENV !== "production" && (e = /* @__PURE__ */ new Set());
4
- function t(...t) {
5
- if (process.env.NODE_ENV !== "production") {
6
- let n = t.join(" ");
7
- e.has(n) || (e.add(n), console.error(`Base UI: ${n}`));
8
- }
9
- }
1
+ "use client";
2
+ import { useDialogRootContext as e } from "./index184.js";
3
+ import { useRenderElement as t } from "./index197.js";
4
+ import { popupTransitionStateMapping as n } from "./index202.js";
5
+ import * as r from "react";
6
+ //#region ../../node_modules/@base-ui/react/dialog/backdrop/DialogBackdrop.mjs
7
+ var i = /*#__PURE__*/ r.forwardRef(function(r, i) {
8
+ let { render: a, className: o, style: s, forceRender: c = !1, ...l } = r, u = e(), d = u.useState("open"), f = u.useState("nested"), p = u.useState("mounted"), m = {
9
+ open: d,
10
+ transitionStatus: u.useState("transitionStatus")
11
+ };
12
+ return t("div", r, {
13
+ state: m,
14
+ ref: [u.context.backdropRef, i],
15
+ stateAttributesMapping: n,
16
+ props: [{
17
+ role: "presentation",
18
+ hidden: !p,
19
+ style: {
20
+ userSelect: "none",
21
+ WebkitUserSelect: "none"
22
+ }
23
+ }, l],
24
+ enabled: c || !f
25
+ });
26
+ });
27
+ process.env.NODE_ENV !== "production" && (i.displayName = "DialogBackdrop");
10
28
  //#endregion
11
- export { t as error };
29
+ export { i as DialogBackdrop };
12
30
 
13
31
  //# sourceMappingURL=index203.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index203.js","names":[],"sources":["../../../node_modules/@base-ui/utils/error.mjs"],"sourcesContent":["let set;\nif (process.env.NODE_ENV !== 'production') {\n set = new Set();\n}\nexport function error(...messages) {\n if (process.env.NODE_ENV !== 'production') {\n const messageKey = messages.join(' ');\n if (!set.has(messageKey)) {\n set.add(messageKey);\n console.error(`Base UI: ${messageKey}`);\n }\n }\n}\nexport function reset() {\n set?.clear();\n}"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI;AACJ,QAAA,IAAA,aAA6B,iBAC3B,oBAAM,IAAI,IAAI;AAEhB,SAAgB,EAAM,GAAG,GAAU;CACjC,IAAA,QAAA,IAAA,aAA6B,cAAc;EACzC,IAAM,IAAa,EAAS,KAAK,GAAG;EACpC,AAAK,EAAI,IAAI,CAAU,MACrB,EAAI,IAAI,CAAU,GAClB,QAAQ,MAAM,YAAY,GAAY;CAE1C;AACF"}
1
+ {"version":3,"file":"index203.js","names":["React$1","DialogBackdrop","elementProps","componentProps","store","useDialogRootContext","open","nested","mounted","state","useRenderElement","forwardedRef","popupTransitionStateMapping","forceRender"],"sources":["../../../node_modules/@base-ui/react/dialog/backdrop/DialogBackdrop.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useDialogRootContext } from \"../root/DialogRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { popupTransitionStateMapping } from \"../../utils/popupStateMapping.mjs\";\n\n/**\n * An overlay displayed beneath the popup.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)\n */\nexport const DialogBackdrop = /*#__PURE__*/React.forwardRef(function DialogBackdrop(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n forceRender = false,\n ...elementProps\n } = componentProps;\n const store = useDialogRootContext();\n const open = store.useState('open');\n const nested = store.useState('nested');\n const mounted = store.useState('mounted');\n const transitionStatus = store.useState('transitionStatus');\n const state = {\n open,\n transitionStatus\n };\n return useRenderElement('div', componentProps, {\n state,\n ref: [store.context.backdropRef, forwardedRef],\n stateAttributesMapping: popupTransitionStateMapping,\n props: [{\n role: 'presentation',\n hidden: !mounted,\n style: {\n userSelect: 'none',\n WebkitUserSelect: 'none'\n }\n }, elementProps],\n enabled: forceRender || !nested\n });\n});\nif (process.env.NODE_ENV !== \"production\") DialogBackdrop.displayName = \"DialogBackdrop\";"],"ignoreList":[0],"mappings":";;;;;;AAaA,IAAaC,IAA8B,gBAAM,WAAW,SAAwB,GAAgB,GAAc;CAChH,IAAM,EACJ,WACA,cACA,UACA,iBAAc,IACd,GAAGC,MACDC,GACEC,IAAQC,EAAqB,GAC7BC,IAAOF,EAAM,SAAS,MAAM,GAC5BG,IAASH,EAAM,SAAS,QAAQ,GAChCI,IAAUJ,EAAM,SAAS,SAAS,GAElCK,IAAQ;EACZ;EACA,kBAHuBL,EAAM,SAAS,kBAGvB;CACjB;CACA,OAAOM,EAAiB,OAAOP,GAAgB;EAC7C;EACA,KAAK,CAACC,EAAM,QAAQ,aAAaO,CAAY;EAC7C,wBAAwBC;EACxB,OAAO,CAAC;GACN,MAAM;GACN,QAAQ,CAACJ;GACT,OAAO;IACL,YAAY;IACZ,kBAAkB;GACpB;EACF,GAAGN,CAAY;EACf,SAASW,KAAe,CAACN;CAC3B,CAAC;AACH,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAe,cAAc"}
package/dist/index204.js CHANGED
@@ -1,7 +1,100 @@
1
- "use client";
2
- import * as e from "react";
3
- var t = typeof document < "u" ? e.useLayoutEffect : () => {};
1
+ //#region ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
2
+ function e() {
3
+ return typeof window < "u";
4
+ }
5
+ function t(e) {
6
+ return i(e) ? (e.nodeName || "").toLowerCase() : "#document";
7
+ }
8
+ function n(e) {
9
+ var t;
10
+ return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
11
+ }
12
+ function r(e) {
13
+ return ((i(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
14
+ }
15
+ function i(t) {
16
+ return e() ? t instanceof Node || t instanceof n(t).Node : !1;
17
+ }
18
+ function a(t) {
19
+ return e() ? t instanceof Element || t instanceof n(t).Element : !1;
20
+ }
21
+ function o(t) {
22
+ return e() ? t instanceof HTMLElement || t instanceof n(t).HTMLElement : !1;
23
+ }
24
+ function s(t) {
25
+ return !e() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof n(t).ShadowRoot;
26
+ }
27
+ function c(e) {
28
+ let { overflow: t, overflowX: n, overflowY: r, display: i } = y(e);
29
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
30
+ }
31
+ function l(e) {
32
+ return /^(table|td|th)$/.test(t(e));
33
+ }
34
+ function u(e) {
35
+ try {
36
+ if (e.matches(":popover-open")) return !0;
37
+ } catch {}
38
+ try {
39
+ return e.matches(":modal");
40
+ } catch {
41
+ return !1;
42
+ }
43
+ }
44
+ var d = /transform|translate|scale|rotate|perspective|filter/, f = /paint|layout|strict|content/, p = (e) => !!e && e !== "none", m;
45
+ function h(e) {
46
+ let t = a(e) ? y(e) : e;
47
+ return p(t.transform) || p(t.translate) || p(t.scale) || p(t.rotate) || p(t.perspective) || !_() && (p(t.backdropFilter) || p(t.filter)) || d.test(t.willChange || "") || f.test(t.contain || "");
48
+ }
49
+ function g(e) {
50
+ let t = x(e);
51
+ for (; o(t) && !v(t);) {
52
+ if (h(t)) return t;
53
+ if (u(t)) return null;
54
+ t = x(t);
55
+ }
56
+ return null;
57
+ }
58
+ function _() {
59
+ return m ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), m;
60
+ }
61
+ function v(e) {
62
+ return /^(html|body|#document)$/.test(t(e));
63
+ }
64
+ function y(e) {
65
+ return n(e).getComputedStyle(e);
66
+ }
67
+ function b(e) {
68
+ return a(e) ? {
69
+ scrollLeft: e.scrollLeft,
70
+ scrollTop: e.scrollTop
71
+ } : {
72
+ scrollLeft: e.scrollX,
73
+ scrollTop: e.scrollY
74
+ };
75
+ }
76
+ function x(e) {
77
+ if (t(e) === "html") return e;
78
+ let n = e.assignedSlot || e.parentNode || s(e) && e.host || r(e);
79
+ return s(n) ? n.host : n;
80
+ }
81
+ function S(e) {
82
+ let t = x(e);
83
+ return v(t) ? (e.ownerDocument || e).body : o(t) && c(t) ? t : S(t);
84
+ }
85
+ function C(e, t, r) {
86
+ t === void 0 && (t = []), r === void 0 && (r = !0);
87
+ let i = S(e), a = i === e.ownerDocument?.body, o = n(i);
88
+ if (a) {
89
+ let e = w(o);
90
+ return t.concat(o, o.visualViewport || [], c(i) ? i : [], e && r ? C(e) : []);
91
+ }
92
+ return t.concat(i, C(i, [], r));
93
+ }
94
+ function w(e) {
95
+ return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
96
+ }
4
97
  //#endregion
5
- export { t as useIsoLayoutEffect };
98
+ export { y as getComputedStyle, g as getContainingBlock, r as getDocumentElement, w as getFrameElement, S as getNearestOverflowAncestor, t as getNodeName, b as getNodeScroll, C as getOverflowAncestors, x as getParentNode, n as getWindow, h as isContainingBlock, a as isElement, o as isHTMLElement, v as isLastTraversableNode, i as isNode, c as isOverflowElement, s as isShadowRoot, l as isTableElement, u as isTopLayer, _ as isWebKit };
6
99
 
7
100
  //# sourceMappingURL=index204.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index204.js","names":["React"],"sources":["../../../node_modules/@base-ui/utils/useIsoLayoutEffect.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nconst noop = () => {};\nexport const useIsoLayoutEffect = typeof document !== 'undefined' ? React.useLayoutEffect : noop;"],"x_google_ignoreList":[0],"mappings":";;AAIA,IAAa,IAAqB,OAAO,WAAa,MAAcA,EAAM,wBADvD,CAAC"}
1
+ {"version":3,"file":"index204.js","names":["hasWindow","getNodeName","isNode","node","getWindow","_node$ownerDocument","getDocumentElement","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","getComputedStyle","element","overflow","overflowY","overflowX","display","isTableElement","isTopLayer","willChangeRe","containRe","isNotNone","isWebKitValue","isContainingBlock","css","elementOrCss","isWebKit","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';\n}\nfunction isTableElement(element) {\n return /^(table|td|th)$/.test(getNodeName(element));\n}\nfunction isTopLayer(element) {\n try {\n if (element.matches(':popover-open')) {\n return true;\n }\n } catch (_e) {\n // no-op\n }\n try {\n return element.matches(':modal');\n } catch (_e) {\n return false;\n }\n}\nconst willChangeRe = /transform|translate|scale|rotate|perspective|filter/;\nconst containRe = /paint|layout|strict|content/;\nconst isNotNone = value => !!value && value !== 'none';\nlet isWebKitValue;\nfunction isContainingBlock(elementOrCss) {\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (isWebKitValue == null) {\n isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');\n }\n return isWebKitValue;\n}\nfunction isLastTraversableNode(node) {\n return /^(html|body|#document)$/.test(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return (node.ownerDocument || node).body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n } else {\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n }\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"ignoreList":[0],"mappings":";AAAA,SAASA,IAAY;CACnB,OAAO,OAAO,SAAW;AAC3B;AACA,SAASC,EAAY,GAAM;CAOzB,OANIC,EAAOC,CAAI,KACLA,EAAK,YAAY,GAAA,CAAI,YAAY,IAKpC;AACT;AACA,SAASC,EAAU,GAAM;CACvB,IAAIC;CACJ,QAAQF,KAAQ,SAAS,IAAsBA,EAAK,kBAAkB,OAAO,KAAK,IAAIE,EAAoB,gBAAgB;AAC5H;AACA,SAASC,EAAmB,GAAM;CAEhC,SAAgBJ,EAAOC,CAAI,IAAIA,EAAK,gBAAgBA,EAAK,aAAa,OAAO,SAAA,EAAkC;AACjH;AACA,SAASD,EAAO,GAAO;CAIrB,OAHKF,EAAU,IAGRO,aAAiB,QAAQA,aAAiBH,EAAUG,CAAK,CAAC,CAAC,OAFzD;AAGX;AACA,SAASC,EAAU,GAAO;CAIxB,OAHKR,EAAU,IAGRO,aAAiB,WAAWA,aAAiBH,EAAUG,CAAK,CAAC,CAAC,UAF5D;AAGX;AACA,SAASE,EAAc,GAAO;CAI5B,OAHKT,EAAU,IAGRO,aAAiB,eAAeA,aAAiBH,EAAUG,CAAK,CAAC,CAAC,cAFhE;AAGX;AACA,SAASG,EAAa,GAAO;CAI3B,OAHI,CAACV,EAAU,KAAK,OAAO,aAAe,MACjC,KAEFO,aAAiB,cAAcA,aAAiBH,EAAUG,CAAK,CAAC,CAAC;AAC1E;AACA,SAASI,EAAkB,GAAS;CAClC,IAAM,EACJ,aACA,cACA,cACA,eACEC,EAAiBC,CAAO;CAC5B,OAAO,kCAAkC,KAAKC,IAAWC,IAAYC,CAAS,KAAKC,MAAY,YAAYA,MAAY;AACzH;AACA,SAASC,EAAe,GAAS;CAC/B,OAAO,kBAAkB,KAAKjB,EAAYY,CAAO,CAAC;AACpD;AACA,SAASM,EAAW,GAAS;CAC3B,IAAI;EACF,IAAIN,EAAQ,QAAQ,eAAe,GACjC,OAAO;CAEX,QAAa,CAEb;CACA,IAAI;EACF,OAAOA,EAAQ,QAAQ,QAAQ;CACjC,QAAa;EACX,OAAO;CACT;AACF;AACA,IAAMO,IAAe,uDACfC,IAAY,+BACZC,KAAY,MAAS,CAAC,CAACf,KAASA,MAAU,QAC5CgB;AACJ,SAASC,EAAkB,GAAc;CACvC,IAAMC,IAAMjB,EAAUkB,CAAY,IAAId,EAAiBc,CAAY,IAAIA;CAIvE,OAAOJ,EAAUG,EAAI,SAAS,KAAKH,EAAUG,EAAI,SAAS,KAAKH,EAAUG,EAAI,KAAK,KAAKH,EAAUG,EAAI,MAAM,KAAKH,EAAUG,EAAI,WAAW,KAAK,CAACE,EAAS,MAAML,EAAUG,EAAI,cAAc,KAAKH,EAAUG,EAAI,MAAM,MAAML,EAAa,KAAKK,EAAI,cAAc,EAAE,KAAKJ,EAAU,KAAKI,EAAI,WAAW,EAAE;AACtS;AACA,SAASG,EAAmB,GAAS;CACnC,IAAIC,IAAcC,EAAcjB,CAAO;CACvC,OAAOJ,EAAcoB,CAAW,KAAK,CAACE,EAAsBF,CAAW,IAAG;EACxE,IAAIL,EAAkBK,CAAW,GAC/B,OAAOA;EACF,IAAIV,EAAWU,CAAW,GAC/B,OAAO;EAET,IAAcC,EAAcD,CAAW;CACzC;CACA,OAAO;AACT;AACA,SAASF,IAAW;CAIlB,OAHA,AACEJ,MAAgB,OAAO,MAAQ,OAAe,IAAI,YAAY,IAAI,SAAS,2BAA2B,MAAM,GAEvGA;AACT;AACA,SAASQ,EAAsB,GAAM;CACnC,OAAO,0BAA0B,KAAK9B,EAAYE,CAAI,CAAC;AACzD;AACA,SAASS,EAAiB,GAAS;CACjC,OAAOR,EAAUS,CAAO,CAAC,CAAC,iBAAiBA,CAAO;AACpD;AACA,SAASmB,EAAc,GAAS;CAO9B,OANIxB,EAAUK,CAAO,IACZ;EACL,YAAYA,EAAQ;EACpB,WAAWA,EAAQ;CACrB,IAEK;EACL,YAAYA,EAAQ;EACpB,WAAWA,EAAQ;CACrB;AACF;AACA,SAASiB,EAAc,GAAM;CAC3B,IAAI7B,EAAYE,CAAI,MAAM,QACxB,OAAOA;CAET,IAAM8B,IAEN9B,EAAK,gBAELA,EAAK,cAELO,EAAaP,CAAI,KAAKA,EAAK,QAE3BG,EAAmBH,CAAI;CACvB,OAAOO,EAAauB,CAAM,IAAIA,EAAO,OAAOA;AAC9C;AACA,SAASC,EAA2B,GAAM;CACxC,IAAMC,IAAaL,EAAc3B,CAAI;CAOrC,OANI4B,EAAsBI,CAAU,KAC1BhC,EAAK,iBAAiBA,EAAA,CAAM,OAElCM,EAAc0B,CAAU,KAAKxB,EAAkBwB,CAAU,IACpDA,IAEFD,EAA2BC,CAAU;AAC9C;AACA,SAASC,EAAqB,GAAM,GAAM,GAAiB;CAKzD,AAHIC,MAAS,KAAK,MAChB,IAAO,CAAC,IAENC,MAAoB,KAAK,MAC3B,IAAkB;CAEpB,IAAMC,IAAqBL,EAA2B/B,CAAI,GACpDqC,IAASD,MAAgDpC,EAAK,eAAuD,MACrHsC,IAAMrC,EAAUmC,CAAkB;CACxC,IAAIC,GAAQ;EACV,IAAME,IAAeC,EAAgBF,CAAG;EACxC,OAAOJ,EAAK,OAAOI,GAAKA,EAAI,kBAAkB,CAAC,GAAG9B,EAAkB4B,CAAkB,IAAIA,IAAqB,CAAC,GAAGG,KAAgBJ,IAAkBF,EAAqBM,CAAY,IAAI,CAAC,CAAC;CAC9L;CACE,OAAOL,EAAK,OAAOE,GAAoBH,EAAqBG,GAAoB,CAAC,GAAGD,CAAe,CAAC;AAExG;AACA,SAASK,EAAgB,GAAK;CAC5B,OAAOF,EAAI,UAAU,OAAO,eAAeA,EAAI,MAAM,IAAIA,EAAI,eAAe;AAC9E"}
package/dist/index205.js CHANGED
@@ -1,15 +1,7 @@
1
- "use client";
2
- import e from "./index183.js";
3
- import * as t from "react";
4
- //#region ../../node_modules/@base-ui/react/internals/composite/root/CompositeRootContext.mjs
5
- var n = /*#__PURE__*/ t.createContext(void 0);
6
- process.env.NODE_ENV !== "production" && (n.displayName = "CompositeRootContext");
7
- function r(r = !1) {
8
- let i = t.useContext(n);
9
- if (i === void 0 && !r) throw Error(process.env.NODE_ENV === "production" ? e(16) : "Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>.");
10
- return i;
11
- }
1
+ import * as e from "react";
2
+ //#region ../../node_modules/@base-ui/utils/safeReact.mjs
3
+ var t = { ...e };
12
4
  //#endregion
13
- export { n as CompositeRootContext, r as useCompositeRootContext };
5
+ export { t as SafeReact };
14
6
 
15
7
  //# sourceMappingURL=index205.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index205.js","names":["React","_formatErrorMessage"],"sources":["../../../node_modules/@base-ui/react/internals/composite/root/CompositeRootContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const CompositeRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") CompositeRootContext.displayName = \"CompositeRootContext\";\nexport function useCompositeRootContext(optional = false) {\n const context = React.useContext(CompositeRootContext);\n if (context === undefined && !optional) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>.' : _formatErrorMessage(16));\n }\n return context;\n}"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAa,IAAoC,gBAAM,cAAc,KAAA,CAAS;AAC9E,QAAA,IAAA,aAA6B,iBAAc,EAAqB,cAAc;AAC9E,SAAgB,EAAwB,IAAW,IAAO;CACxD,IAAM,IAAUA,EAAM,WAAW,CAAoB;CACrD,IAAI,MAAY,KAAA,KAAa,CAAC,GAC5B,MAAU,MAAA,QAAA,IAAA,aAA+B,eAAqHC,EAAoB,EAAE,IAA5H,mGAA6H;CAEvL,OAAO;AACT"}
1
+ {"version":3,"file":"index205.js","names":["React","React$1","SafeReact"],"sources":["../../../node_modules/@base-ui/utils/safeReact.mjs"],"sourcesContent":["import * as React from 'react';\n\n/**\n * A clone of the React namespace for reading APIs that may be missing in older\n * supported React versions. Bundlers can rewrite direct `React.someNewApi`\n * reads into named imports, which breaks React 17. Reading from this cloned\n * object keeps those lookups optional.\n *\n * @see https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379\n */\nexport const SafeReact = {\n ...React\n};"],"ignoreList":[0],"mappings":";;AAUA,IAAaE,IAAY,EACvB,GAAGF,EACL"}
package/dist/index206.js CHANGED
@@ -1,24 +1,27 @@
1
1
  "use client";
2
- import * as e from "react";
3
- //#region ../../node_modules/@base-ui/react/utils/useFocusableWhenDisabled.mjs
4
- function t(t) {
5
- let { focusableWhenDisabled: n, disabled: r, composite: i = !1, tabIndex: a = 0, isNativeButton: o } = t, s = i && n !== !1, c = i && n === !1;
6
- return { props: e.useMemo(() => {
7
- let e = { onKeyDown(e) {
8
- r && n && e.key !== "Tab" && e.preventDefault();
9
- } };
10
- return i || (e.tabIndex = a, !o && r && (e.tabIndex = n ? a : -1)), (o && (n || s) || !o && r) && (e["aria-disabled"] = r), o && (!n || c) && (e.disabled = r), e;
11
- }, [
12
- i,
13
- r,
14
- n,
15
- s,
16
- c,
17
- o,
18
- a
19
- ]) };
2
+ import { useRefWithInit as e } from "./index185.js";
3
+ import { SafeReact as t } from "./index205.js";
4
+ //#region ../../node_modules/@base-ui/utils/useStableCallback.mjs
5
+ var n = t.useInsertionEffect, r = n && n !== t.useLayoutEffect ? n : (e) => e();
6
+ function i(t) {
7
+ let n = e(a).current;
8
+ return n.next = t, r(n.effect), n.trampoline;
9
+ }
10
+ function a() {
11
+ let e = {
12
+ next: void 0,
13
+ callback: o,
14
+ trampoline: (...t) => e.callback?.(...t),
15
+ effect: () => {
16
+ e.callback = e.next;
17
+ }
18
+ };
19
+ return e;
20
+ }
21
+ function o() {
22
+ if (process.env.NODE_ENV !== "production") throw Error("Base UI: Cannot call an event handler while rendering.");
20
23
  }
21
24
  //#endregion
22
- export { t as useFocusableWhenDisabled };
25
+ export { i as useStableCallback };
23
26
 
24
27
  //# sourceMappingURL=index206.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index206.js","names":["React"],"sources":["../../../node_modules/@base-ui/react/utils/useFocusableWhenDisabled.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nexport function useFocusableWhenDisabled(parameters) {\n const {\n focusableWhenDisabled,\n disabled,\n composite = false,\n tabIndex: tabIndexProp = 0,\n isNativeButton\n } = parameters;\n const isFocusableComposite = composite && focusableWhenDisabled !== false;\n const isNonFocusableComposite = composite && focusableWhenDisabled === false;\n\n // we can't explicitly assign `undefined` to any of these props because it\n // would otherwise prevent subsequently merged props from setting them\n const props = React.useMemo(() => {\n const additionalProps = {\n // allow Tabbing away from focusableWhenDisabled elements\n onKeyDown(event) {\n if (disabled && focusableWhenDisabled && event.key !== 'Tab') {\n event.preventDefault();\n }\n }\n };\n if (!composite) {\n additionalProps.tabIndex = tabIndexProp;\n if (!isNativeButton && disabled) {\n additionalProps.tabIndex = focusableWhenDisabled ? tabIndexProp : -1;\n }\n }\n if (isNativeButton && (focusableWhenDisabled || isFocusableComposite) || !isNativeButton && disabled) {\n additionalProps['aria-disabled'] = disabled;\n }\n if (isNativeButton && (!focusableWhenDisabled || isNonFocusableComposite)) {\n additionalProps.disabled = disabled;\n }\n return additionalProps;\n }, [composite, disabled, focusableWhenDisabled, isFocusableComposite, isNonFocusableComposite, isNativeButton, tabIndexProp]);\n return {\n props\n };\n}"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAgB,EAAyB,GAAY;CACnD,IAAM,EACJ,0BACA,aACA,eAAY,IACZ,UAAU,IAAe,GACzB,sBACE,GACE,IAAuB,KAAa,MAA0B,IAC9D,IAA0B,KAAa,MAA0B;CA2BvE,OAAO,EACL,OAxBYA,EAAM,cAAc;EAChC,IAAM,IAAkB,EAEtB,UAAU,GAAO;GACf,AAAI,KAAY,KAAyB,EAAM,QAAQ,SACrD,EAAM,eAAe;EAEzB,EACF;EAaA,OAZK,MACH,EAAgB,WAAW,GACvB,CAAC,KAAkB,MACrB,EAAgB,WAAW,IAAwB,IAAe,OAGlE,MAAmB,KAAyB,MAAyB,CAAC,KAAkB,OAC1F,EAAgB,mBAAmB,IAEjC,MAAmB,CAAC,KAAyB,OAC/C,EAAgB,WAAW,IAEtB;CACT,GAAG;EAAC;EAAW;EAAU;EAAuB;EAAsB;EAAyB;EAAgB;CAAY,CAErH,EACN;AACF"}
1
+ {"version":3,"file":"index206.js","names":["useInsertionEffect","SafeReact","useSafeInsertionEffect","fn","useStableCallback","stable","useRefWithInit","createStableCallback","callback","assertNotCalled","args"],"sources":["../../../node_modules/@base-ui/utils/useStableCallback.mjs"],"sourcesContent":["'use client';\n\nimport { SafeReact } from \"./safeReact.mjs\";\nimport { useRefWithInit } from \"./useRefWithInit.mjs\";\nconst useInsertionEffect = SafeReact.useInsertionEffect;\nconst useSafeInsertionEffect =\n// React 17 doesn't have useInsertionEffect.\nuseInsertionEffect &&\n// Preact replaces useInsertionEffect with useLayoutEffect and fires too late.\nuseInsertionEffect !== SafeReact.useLayoutEffect ? useInsertionEffect : fn => fn();\n/**\n * Stabilizes the function passed so it's always the same between renders.\n *\n * The function becomes non-reactive to any values it captures.\n * It can safely be passed as a dependency of `React.useMemo` and `React.useEffect` without re-triggering them if its captured values change.\n *\n * The function must only be called inside effects and event handlers, never during render (which throws an error).\n *\n * This hook is a more permissive version of React 19.2's `React.useEffectEvent` in that it can be passed through contexts and called in event handler props, not just effects.\n */\nexport function useStableCallback(callback) {\n const stable = useRefWithInit(createStableCallback).current;\n stable.next = callback;\n useSafeInsertionEffect(stable.effect);\n return stable.trampoline;\n}\nfunction createStableCallback() {\n const stable = {\n next: undefined,\n callback: assertNotCalled,\n trampoline: (...args) => stable.callback?.(...args),\n effect: () => {\n stable.callback = stable.next;\n }\n };\n return stable;\n}\nfunction assertNotCalled() {\n if (process.env.NODE_ENV !== 'production') {\n // TODO: fix mui/no-guarded-throw\n // eslint-disable-next-line mui/no-guarded-throw\n throw /* minify-error-disabled */new Error('Base UI: Cannot call an event handler while rendering.');\n }\n}"],"ignoreList":[0],"mappings":";;;;AAIA,IAAMA,IAAqBC,EAAU,oBAC/BC,IAENF,KAEAA,MAAuBC,EAAU,kBAAkBD,KAAqB,MAAMG,EAAG;AAWjF,SAAgBC,EAAkB,GAAU;CAC1C,IAAMC,IAASC,EAAeC,CAAoB,CAAC,CAAC;CAGpD,OAFA,EAAO,OAAOC,GACdN,EAAuBG,EAAO,MAAM,GAC7BA,EAAO;AAChB;AACA,SAASE,IAAuB;CAC9B,IAAMF,IAAS;EACb,MAAM,KAAA;EACN,UAAUI;EACV,aAAa,GAAGC,MAASL,EAAO,WAAW,GAAGK,CAAI;EAClD,cAAc;GACZ,EAAO,WAAWL,EAAO;EAC3B;CACF;CACA,OAAOA;AACT;AACA,SAASI,IAAkB;CACzB,IAAA,QAAA,IAAA,aAA6B,cAG3B,MAAqC,MAAM,wDAAwD;AAEvG"}
package/dist/index207.js CHANGED
@@ -1,9 +1,7 @@
1
- import { getWindow as e } from "./index200.js";
2
- //#region ../../node_modules/@base-ui/utils/owner.mjs
3
- function t(e) {
4
- return e?.ownerDocument || document;
5
- }
1
+ import { createLogOnce as e } from "./index190.js";
2
+ //#region ../../node_modules/@base-ui/utils/error.mjs
3
+ var t = e("error", "Base UI");
6
4
  //#endregion
7
- export { t as ownerDocument, e as ownerWindow };
5
+ export { t as error };
8
6
 
9
7
  //# sourceMappingURL=index207.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index207.js","names":[],"sources":["../../../node_modules/@base-ui/utils/owner.mjs"],"sourcesContent":["export { getWindow as ownerWindow } from '@floating-ui/utils/dom';\nexport function ownerDocument(node) {\n return node?.ownerDocument || document;\n}"],"x_google_ignoreList":[0],"mappings":";;AACA,SAAgB,EAAc,GAAM;CAClC,OAAO,GAAM,iBAAiB;AAChC"}
1
+ {"version":3,"file":"index207.js","names":["error","createLogOnce"],"sources":["../../../node_modules/@base-ui/utils/error.mjs"],"sourcesContent":["import { createLogOnce } from \"./createLogOnce.mjs\";\nexport const error = createLogOnce('error', 'Base UI');\nexport { reset } from \"./createLogOnce.mjs\";"],"ignoreList":[0],"mappings":";;AACA,IAAaA,IAAQC,EAAc,SAAS,SAAS"}
package/dist/index208.js CHANGED
@@ -1,18 +1,7 @@
1
- import { getWindow as e } from "./index200.js";
2
- //#region ../../node_modules/@base-ui/react/utils/dispatchClickWithModifiers.mjs
3
- function t(t, n, { detail: r = 0 } = {}) {
4
- t.dispatchEvent(new (e(t)).PointerEvent("click", {
5
- bubbles: !0,
6
- cancelable: !0,
7
- composed: !0,
8
- detail: r,
9
- shiftKey: n.shiftKey,
10
- ctrlKey: n.ctrlKey,
11
- altKey: n.altKey,
12
- metaKey: n.metaKey
13
- }));
14
- }
1
+ "use client";
2
+ import * as e from "react";
3
+ var t = typeof document < "u" ? e.useLayoutEffect : () => {};
15
4
  //#endregion
16
- export { t as dispatchClickWithModifiers };
5
+ export { t as useIsoLayoutEffect };
17
6
 
18
7
  //# sourceMappingURL=index208.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index208.js","names":["ownerWindow"],"sources":["../../../node_modules/@base-ui/react/utils/dispatchClickWithModifiers.mjs"],"sourcesContent":["import { ownerWindow } from '@base-ui/utils/owner';\n/**\n * Dispatches a constructed click on the target so it carries the source event's\n * modifier state, which `click()` always reports as unpressed. Like `click()`,\n * the untrusted click still runs native activation behavior (form submission,\n * link navigation).\n * `detail` defaults to 0 (the native convention for keyboard-generated clicks);\n * pass `detail: 1` when the click represents a mouse gesture so consumers keying\n * off `detail === 0` don't classify it as a keyboard activation.\n */\nexport function dispatchClickWithModifiers(target, sourceEvent, {\n detail = 0\n} = {}) {\n target.dispatchEvent(new (ownerWindow(target).PointerEvent)('click', {\n bubbles: true,\n cancelable: true,\n composed: true,\n detail,\n shiftKey: sourceEvent.shiftKey,\n ctrlKey: sourceEvent.ctrlKey,\n altKey: sourceEvent.altKey,\n metaKey: sourceEvent.metaKey\n }));\n}"],"x_google_ignoreList":[0],"mappings":";;AAUA,SAAgB,EAA2B,GAAQ,GAAa,EAC9D,YAAS,MACP,CAAC,GAAG;CACN,EAAO,cAAc,KAAKA,EAAY,CAAM,EAAA,CAAE,aAAc,SAAS;EACnE,SAAS;EACT,YAAY;EACZ,UAAU;EACV;EACA,UAAU,EAAY;EACtB,SAAS,EAAY;EACrB,QAAQ,EAAY;EACpB,SAAS,EAAY;CACvB,CAAC,CAAC;AACJ"}
1
+ {"version":3,"file":"index208.js","names":["React","React$1","useIsoLayoutEffect"],"sources":["../../../node_modules/@base-ui/utils/useIsoLayoutEffect.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nconst noop = () => {};\nexport const useIsoLayoutEffect = typeof document !== 'undefined' ? React.useLayoutEffect : noop;"],"ignoreList":[0],"mappings":";;AAIA,IAAaE,IAAqB,OAAO,WAAa,MAAcF,EAAM,wBADvD,CAAC"}