@rpcbase/ui 0.244.0 → 0.246.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 (565) hide show
  1. package/dist/index10.js +2 -2
  2. package/dist/index105.js +36 -36
  3. package/dist/index106.js +1 -1
  4. package/dist/index11.js +2 -2
  5. package/dist/index117.js +6 -6
  6. package/dist/index12.js +3 -3
  7. package/dist/index120.js +10 -10
  8. package/dist/index122.js +2 -2
  9. package/dist/index123.js +3 -3
  10. package/dist/index124.js +1 -1
  11. package/dist/index126.js +2 -2
  12. package/dist/index128.js +2 -2
  13. package/dist/index13.js +2 -2
  14. package/dist/index14.js +2 -2
  15. package/dist/index15.js +2 -2
  16. package/dist/index16.js +8 -8
  17. package/dist/index17.js +1 -1
  18. package/dist/index171.js +14 -58
  19. package/dist/index171.js.map +1 -1
  20. package/dist/index172.js +68 -8
  21. package/dist/index172.js.map +1 -1
  22. package/dist/index173.js +37 -87
  23. package/dist/index173.js.map +1 -1
  24. package/dist/index174.js +13 -19
  25. package/dist/index174.js.map +1 -1
  26. package/dist/index175.js +23 -16
  27. package/dist/index175.js.map +1 -1
  28. package/dist/index176.js +111 -5
  29. package/dist/index176.js.map +1 -1
  30. package/dist/index177.js +13 -6
  31. package/dist/index177.js.map +1 -1
  32. package/dist/index178.js +4 -6
  33. package/dist/index178.js.map +1 -1
  34. package/dist/index179.js +4 -5
  35. package/dist/index179.js.map +1 -1
  36. package/dist/index18.js +7 -7
  37. package/dist/index180.js +5 -7
  38. package/dist/index180.js.map +1 -1
  39. package/dist/index181.js +11 -16
  40. package/dist/index181.js.map +1 -1
  41. package/dist/index182.js +19 -4
  42. package/dist/index182.js.map +1 -1
  43. package/dist/index183.js +11 -5
  44. package/dist/index183.js.map +1 -1
  45. package/dist/index184.js +176 -12
  46. package/dist/index184.js.map +1 -1
  47. package/dist/index185.js +279 -9
  48. package/dist/index185.js.map +1 -1
  49. package/dist/index186.js +4 -13
  50. package/dist/index186.js.map +1 -1
  51. package/dist/index187.js +28 -14
  52. package/dist/index187.js.map +1 -1
  53. package/dist/index188.js +126 -4
  54. package/dist/index188.js.map +1 -1
  55. package/dist/index189.js +63 -5
  56. package/dist/index189.js.map +1 -1
  57. package/dist/index19.js +16 -16
  58. package/dist/index190.js +8 -6
  59. package/dist/index190.js.map +1 -1
  60. package/dist/index191.js +16 -6
  61. package/dist/index191.js.map +1 -1
  62. package/dist/index192.js +29 -53
  63. package/dist/index192.js.map +1 -1
  64. package/dist/index193.js +69 -8
  65. package/dist/index193.js.map +1 -1
  66. package/dist/index194.js +58 -4
  67. package/dist/index194.js.map +1 -1
  68. package/dist/index195.js +8 -4
  69. package/dist/index195.js.map +1 -1
  70. package/dist/index196.js +87 -8
  71. package/dist/index196.js.map +1 -1
  72. package/dist/index197.js +19 -4
  73. package/dist/index197.js.map +1 -1
  74. package/dist/index198.js +16 -4
  75. package/dist/index198.js.map +1 -1
  76. package/dist/index199.js +5 -3
  77. package/dist/index199.js.map +1 -1
  78. package/dist/index200.js +5 -10
  79. package/dist/index200.js.map +1 -1
  80. package/dist/index201.js +6 -9
  81. package/dist/index201.js.map +1 -1
  82. package/dist/index202.js +4 -9
  83. package/dist/index202.js.map +1 -1
  84. package/dist/index203.js +6 -10
  85. package/dist/index203.js.map +1 -1
  86. package/dist/index204.js +16 -10
  87. package/dist/index204.js.map +1 -1
  88. package/dist/index205.js +4 -9
  89. package/dist/index205.js.map +1 -1
  90. package/dist/index206.js +4 -6
  91. package/dist/index206.js.map +1 -1
  92. package/dist/index207.js +12 -5
  93. package/dist/index207.js.map +1 -1
  94. package/dist/index208.js +9 -4
  95. package/dist/index208.js.map +1 -1
  96. package/dist/index209.js +13 -5
  97. package/dist/index209.js.map +1 -1
  98. package/dist/index21.js +1 -1
  99. package/dist/index210.js +13 -6
  100. package/dist/index210.js.map +1 -1
  101. package/dist/index211.js +4 -5
  102. package/dist/index211.js.map +1 -1
  103. package/dist/index212.js +5 -16
  104. package/dist/index212.js.map +1 -1
  105. package/dist/index213.js +6 -7
  106. package/dist/index213.js.map +1 -1
  107. package/dist/index214.js +5 -10
  108. package/dist/index214.js.map +1 -1
  109. package/dist/index215.js +54 -10
  110. package/dist/index215.js.map +1 -1
  111. package/dist/index216.js +8 -21
  112. package/dist/index216.js.map +1 -1
  113. package/dist/index217.js +4 -8
  114. package/dist/index217.js.map +1 -1
  115. package/dist/index218.js +4 -9
  116. package/dist/index218.js.map +1 -1
  117. package/dist/index219.js +8 -9
  118. package/dist/index219.js.map +1 -1
  119. package/dist/index22.js +2 -2
  120. package/dist/index220.js +4 -4
  121. package/dist/index220.js.map +1 -1
  122. package/dist/index221.js +4 -5
  123. package/dist/index221.js.map +1 -1
  124. package/dist/index222.js +3 -16
  125. package/dist/index222.js.map +1 -1
  126. package/dist/index223.js +10 -9
  127. package/dist/index223.js.map +1 -1
  128. package/dist/index224.js +9 -18
  129. package/dist/index224.js.map +1 -1
  130. package/dist/index225.js +9 -20
  131. package/dist/index225.js.map +1 -1
  132. package/dist/index226.js +10 -12
  133. package/dist/index226.js.map +1 -1
  134. package/dist/index227.js +10 -29
  135. package/dist/index227.js.map +1 -1
  136. package/dist/index228.js +9 -12
  137. package/dist/index228.js.map +1 -1
  138. package/dist/index229.js +6 -25
  139. package/dist/index229.js.map +1 -1
  140. package/dist/index23.js +1 -1
  141. package/dist/index230.js +5 -5
  142. package/dist/index230.js.map +1 -1
  143. package/dist/index231.js +5 -20
  144. package/dist/index231.js.map +1 -1
  145. package/dist/index232.js +5 -66
  146. package/dist/index232.js.map +1 -1
  147. package/dist/index233.js +6 -6
  148. package/dist/index233.js.map +1 -1
  149. package/dist/index234.js +5 -5
  150. package/dist/index234.js.map +1 -1
  151. package/dist/index235.js +16 -11
  152. package/dist/index235.js.map +1 -1
  153. package/dist/index236.js +7 -3
  154. package/dist/index236.js.map +1 -1
  155. package/dist/index237.js +9 -49
  156. package/dist/index237.js.map +1 -1
  157. package/dist/index238.js +11 -4
  158. package/dist/index238.js.map +1 -1
  159. package/dist/index239.js +20 -28
  160. package/dist/index239.js.map +1 -1
  161. package/dist/index24.js +1 -1
  162. package/dist/index240.js +8 -16
  163. package/dist/index240.js.map +1 -1
  164. package/dist/index241.js +9 -5
  165. package/dist/index241.js.map +1 -1
  166. package/dist/index242.js +9 -21
  167. package/dist/index242.js.map +1 -1
  168. package/dist/index243.js +4 -53
  169. package/dist/index243.js.map +1 -1
  170. package/dist/index244.js +5 -20
  171. package/dist/index244.js.map +1 -1
  172. package/dist/index245.js +16 -41
  173. package/dist/index245.js.map +1 -1
  174. package/dist/index246.js +9 -39
  175. package/dist/index246.js.map +1 -1
  176. package/dist/index247.js +19 -46
  177. package/dist/index247.js.map +1 -1
  178. package/dist/index248.js +17 -20
  179. package/dist/index248.js.map +1 -1
  180. package/dist/index249.js +12 -19
  181. package/dist/index249.js.map +1 -1
  182. package/dist/index25.js +1 -1
  183. package/dist/index250.js +28 -19
  184. package/dist/index250.js.map +1 -1
  185. package/dist/index251.js +10 -68
  186. package/dist/index251.js.map +1 -1
  187. package/dist/index252.js +25 -17
  188. package/dist/index252.js.map +1 -1
  189. package/dist/index253.js +5 -3
  190. package/dist/index253.js.map +1 -1
  191. package/dist/index254.js +20 -12
  192. package/dist/index254.js.map +1 -1
  193. package/dist/index255.js +65 -29
  194. package/dist/index255.js.map +1 -1
  195. package/dist/index256.js +6 -13
  196. package/dist/index256.js.map +1 -1
  197. package/dist/index257.js +5 -18
  198. package/dist/index257.js.map +1 -1
  199. package/dist/index258.js +11 -36
  200. package/dist/index258.js.map +1 -1
  201. package/dist/index259.js +3 -69
  202. package/dist/index259.js.map +1 -1
  203. package/dist/index260.js +47 -236
  204. package/dist/index260.js.map +1 -1
  205. package/dist/index261.js +4 -253
  206. package/dist/index261.js.map +1 -1
  207. package/dist/index262.js +28 -67
  208. package/dist/index262.js.map +1 -1
  209. package/dist/index263.js +14 -97
  210. package/dist/index263.js.map +1 -1
  211. package/dist/index264.js +5 -176
  212. package/dist/index264.js.map +1 -1
  213. package/dist/index265.js +21 -83
  214. package/dist/index265.js.map +1 -1
  215. package/dist/index266.js +54 -13
  216. package/dist/index266.js.map +1 -1
  217. package/dist/index267.js +20 -3
  218. package/dist/index267.js.map +1 -1
  219. package/dist/index268.js +41 -29
  220. package/dist/index268.js.map +1 -1
  221. package/dist/index269.js +39 -16
  222. package/dist/index269.js.map +1 -1
  223. package/dist/index270.js +45 -37
  224. package/dist/index270.js.map +1 -1
  225. package/dist/index271.js +20 -34
  226. package/dist/index271.js.map +1 -1
  227. package/dist/index272.js +64 -62
  228. package/dist/index272.js.map +1 -1
  229. package/dist/index273.js +17 -17
  230. package/dist/index273.js.map +1 -1
  231. package/dist/index274.js +3 -3
  232. package/dist/index274.js.map +1 -1
  233. package/dist/index275.js +11 -111
  234. package/dist/index275.js.map +1 -1
  235. package/dist/index276.js +12 -25
  236. package/dist/index276.js.map +1 -1
  237. package/dist/index277.js +16 -26
  238. package/dist/index277.js.map +1 -1
  239. package/dist/index278.js +37 -4
  240. package/dist/index278.js.map +1 -1
  241. package/dist/index279.js +231 -118
  242. package/dist/index279.js.map +1 -1
  243. package/dist/index28.js +2 -2
  244. package/dist/index280.js +252 -4
  245. package/dist/index280.js.map +1 -1
  246. package/dist/index281.js +63 -73
  247. package/dist/index281.js.map +1 -1
  248. package/dist/index282.js +93 -266
  249. package/dist/index282.js.map +1 -1
  250. package/dist/index283.js +83 -11
  251. package/dist/index283.js.map +1 -1
  252. package/dist/index284.js +4 -28
  253. package/dist/index284.js.map +1 -1
  254. package/dist/index285.js +29 -15
  255. package/dist/index285.js.map +1 -1
  256. package/dist/index286.js +16 -10
  257. package/dist/index286.js.map +1 -1
  258. package/dist/index287.js +35 -26
  259. package/dist/index287.js.map +1 -1
  260. package/dist/index288.js +17 -16
  261. package/dist/index288.js.map +1 -1
  262. package/dist/index289.js +3 -125
  263. package/dist/index289.js.map +1 -1
  264. package/dist/index29.js +3 -56
  265. package/dist/index29.js.map +1 -1
  266. package/dist/index290.js +26 -5
  267. package/dist/index290.js.map +1 -1
  268. package/dist/index291.js +25 -62
  269. package/dist/index291.js.map +1 -1
  270. package/dist/index292.js +4 -14
  271. package/dist/index292.js.map +1 -1
  272. package/dist/index293.js +79 -14
  273. package/dist/index293.js.map +1 -1
  274. package/dist/index294.js +272 -7
  275. package/dist/index294.js.map +1 -1
  276. package/dist/index295.js +12 -11
  277. package/dist/index295.js.map +1 -1
  278. package/dist/index296.js +10 -5
  279. package/dist/index296.js.map +1 -1
  280. package/dist/index297.js +25 -3
  281. package/dist/index297.js.map +1 -1
  282. package/dist/index298.js +15 -9
  283. package/dist/index298.js.map +1 -1
  284. package/dist/index299.js +125 -7
  285. package/dist/index299.js.map +1 -1
  286. package/dist/index3.js +2 -2
  287. package/dist/index30.js +242 -3
  288. package/dist/index30.js.map +1 -1
  289. package/dist/index300.js +4 -132
  290. package/dist/index300.js.map +1 -1
  291. package/dist/index301.js +63 -277
  292. package/dist/index301.js.map +1 -1
  293. package/dist/index302.js +12 -398
  294. package/dist/index302.js.map +1 -1
  295. package/dist/index303.js +8 -5
  296. package/dist/index303.js.map +1 -1
  297. package/dist/index304.js +5 -52
  298. package/dist/index304.js.map +1 -1
  299. package/dist/index305.js +3 -11
  300. package/dist/index305.js.map +1 -1
  301. package/dist/index306.js +10 -27
  302. package/dist/index306.js.map +1 -1
  303. package/dist/index307.js +6 -10
  304. package/dist/index307.js.map +1 -1
  305. package/dist/index308.js +133 -4
  306. package/dist/index308.js.map +1 -1
  307. package/dist/index309.js +399 -14
  308. package/dist/index309.js.map +1 -1
  309. package/dist/index31.js +21 -239
  310. package/dist/index31.js.map +1 -1
  311. package/dist/index310.js +5 -4
  312. package/dist/index310.js.map +1 -1
  313. package/dist/index311.js +52 -4
  314. package/dist/index311.js.map +1 -1
  315. package/dist/index312.js +10 -10
  316. package/dist/index312.js.map +1 -1
  317. package/dist/index313.js +27 -63
  318. package/dist/index313.js.map +1 -1
  319. package/dist/index314.js +11 -8
  320. package/dist/index314.js.map +1 -1
  321. package/dist/index32.js +4 -23
  322. package/dist/index32.js.map +1 -1
  323. package/dist/index33.js +6 -3
  324. package/dist/index33.js.map +1 -1
  325. package/dist/index34.js +38 -8
  326. package/dist/index34.js.map +1 -1
  327. package/dist/index341.js +8 -4
  328. package/dist/index341.js.map +1 -1
  329. package/dist/index342.js +12 -18
  330. package/dist/index342.js.map +1 -1
  331. package/dist/index343.js +8 -12
  332. package/dist/index343.js.map +1 -1
  333. package/dist/index344.js +13 -8
  334. package/dist/index344.js.map +1 -1
  335. package/dist/index345.js +3 -11
  336. package/dist/index345.js.map +1 -1
  337. package/dist/index346.js +3 -8
  338. package/dist/index346.js.map +1 -1
  339. package/dist/index347.js +16 -12
  340. package/dist/index347.js.map +1 -1
  341. package/dist/index348.js +51 -3
  342. package/dist/index348.js.map +1 -1
  343. package/dist/index349.js +5 -3
  344. package/dist/index349.js.map +1 -1
  345. package/dist/index35.js +74 -35
  346. package/dist/index35.js.map +1 -1
  347. package/dist/index350.js +62 -4
  348. package/dist/index350.js.map +1 -1
  349. package/dist/index351.js +66 -14
  350. package/dist/index351.js.map +1 -1
  351. package/dist/index352.js +7 -10
  352. package/dist/index352.js.map +1 -1
  353. package/dist/index353.js +5 -6
  354. package/dist/index353.js.map +1 -1
  355. package/dist/index354.js +11 -4
  356. package/dist/index354.js.map +1 -1
  357. package/dist/index355.js +22 -3
  358. package/dist/index355.js.map +1 -1
  359. package/dist/index356.js +16 -8
  360. package/dist/index356.js.map +1 -1
  361. package/dist/index357.js +8 -52
  362. package/dist/index357.js.map +1 -1
  363. package/dist/index358.js +143 -15
  364. package/dist/index358.js.map +1 -1
  365. package/dist/index359.js +80 -8
  366. package/dist/index359.js.map +1 -1
  367. package/dist/index36.js +20 -74
  368. package/dist/index36.js.map +1 -1
  369. package/dist/index360.js +61 -5
  370. package/dist/index360.js.map +1 -1
  371. package/dist/index361.js +15 -21
  372. package/dist/index361.js.map +1 -1
  373. package/dist/index362.js +5 -45
  374. package/dist/index362.js.map +1 -1
  375. package/dist/index363.js +16 -16
  376. package/dist/index363.js.map +1 -1
  377. package/dist/index364.js +13 -5
  378. package/dist/index364.js.map +1 -1
  379. package/dist/index365.js +10 -199
  380. package/dist/index365.js.map +1 -1
  381. package/dist/index366.js +4 -74
  382. package/dist/index366.js.map +1 -1
  383. package/dist/index367.js +5 -123
  384. package/dist/index367.js.map +1 -1
  385. package/dist/index368.js +3 -18
  386. package/dist/index368.js.map +1 -1
  387. package/dist/index369.js +20 -61
  388. package/dist/index369.js.map +1 -1
  389. package/dist/index37.js +33 -18
  390. package/dist/index37.js.map +1 -1
  391. package/dist/index370.js +42 -64
  392. package/dist/index370.js.map +1 -1
  393. package/dist/index371.js +18 -12
  394. package/dist/index371.js.map +1 -1
  395. package/dist/index372.js +5 -22
  396. package/dist/index372.js.map +1 -1
  397. package/dist/index373.js +196 -140
  398. package/dist/index373.js.map +1 -1
  399. package/dist/index374.js +73 -79
  400. package/dist/index374.js.map +1 -1
  401. package/dist/index375.js +117 -55
  402. package/dist/index375.js.map +1 -1
  403. package/dist/index378.js +8 -4
  404. package/dist/index378.js.map +1 -1
  405. package/dist/index379.js +27 -5
  406. package/dist/index379.js.map +1 -1
  407. package/dist/index38.js +26 -36
  408. package/dist/index38.js.map +1 -1
  409. package/dist/index380.js +138 -4
  410. package/dist/index380.js.map +1 -1
  411. package/dist/index381.js +12 -15
  412. package/dist/index381.js.map +1 -1
  413. package/dist/index382.js +46 -8
  414. package/dist/index382.js.map +1 -1
  415. package/dist/index383.js +3 -5
  416. package/dist/index383.js.map +1 -1
  417. package/dist/index384.js +21 -4
  418. package/dist/index384.js.map +1 -1
  419. package/dist/index385.js +72 -542
  420. package/dist/index385.js.map +1 -1
  421. package/dist/index386.js +11 -46
  422. package/dist/index386.js.map +1 -1
  423. package/dist/index387.js +3 -17
  424. package/dist/index387.js.map +1 -1
  425. package/dist/index388.js +71 -5
  426. package/dist/index388.js.map +1 -1
  427. package/dist/index389.js +35 -7
  428. package/dist/index389.js.map +1 -1
  429. package/dist/index39.js +21 -26
  430. package/dist/index39.js.map +1 -1
  431. package/dist/index390.js +7 -7
  432. package/dist/index390.js.map +1 -1
  433. package/dist/index391.js +15 -7
  434. package/dist/index391.js.map +1 -1
  435. package/dist/index392.js +4 -11
  436. package/dist/index392.js.map +1 -1
  437. package/dist/index393.js +4 -8
  438. package/dist/index393.js.map +1 -1
  439. package/dist/index394.js +4 -13
  440. package/dist/index394.js.map +1 -1
  441. package/dist/index395.js +16 -3
  442. package/dist/index395.js.map +1 -1
  443. package/dist/index396.js +9 -3
  444. package/dist/index396.js.map +1 -1
  445. package/dist/index397.js +6 -7
  446. package/dist/index397.js.map +1 -1
  447. package/dist/index398.js +4 -12
  448. package/dist/index398.js.map +1 -1
  449. package/dist/index399.js +543 -44
  450. package/dist/index399.js.map +1 -1
  451. package/dist/index4.js +2 -2
  452. package/dist/index40.js +56 -20
  453. package/dist/index40.js.map +1 -1
  454. package/dist/index400.js +44 -135
  455. package/dist/index400.js.map +1 -1
  456. package/dist/index401.js +17 -8
  457. package/dist/index401.js.map +1 -1
  458. package/dist/index402.js +6 -27
  459. package/dist/index402.js.map +1 -1
  460. package/dist/index403.js +7 -3
  461. package/dist/index403.js.map +1 -1
  462. package/dist/index404.js +6 -21
  463. package/dist/index404.js.map +1 -1
  464. package/dist/index405.js +7 -75
  465. package/dist/index405.js.map +1 -1
  466. package/dist/index406.js +12 -12
  467. package/dist/index406.js.map +1 -1
  468. package/dist/index407.js +8 -3
  469. package/dist/index407.js.map +1 -1
  470. package/dist/index408.js +12 -71
  471. package/dist/index408.js.map +1 -1
  472. package/dist/index409.js +3 -36
  473. package/dist/index409.js.map +1 -1
  474. package/dist/index41.js +51 -59
  475. package/dist/index41.js.map +1 -1
  476. package/dist/index410.js +3 -16
  477. package/dist/index410.js.map +1 -1
  478. package/dist/index411.js +3 -5
  479. package/dist/index411.js.map +1 -1
  480. package/dist/index412.js +14 -55
  481. package/dist/index412.js.map +1 -1
  482. package/dist/index413.js +490 -66
  483. package/dist/index413.js.map +1 -1
  484. package/dist/index414.js +5 -31
  485. package/dist/index414.js.map +1 -1
  486. package/dist/index415.js +56 -9
  487. package/dist/index415.js.map +1 -1
  488. package/dist/index416.js +61 -146
  489. package/dist/index416.js.map +1 -1
  490. package/dist/index417.js +26 -103
  491. package/dist/index417.js.map +1 -1
  492. package/dist/index418.js +9 -8
  493. package/dist/index418.js.map +1 -1
  494. package/dist/index419.js +153 -2
  495. package/dist/index419.js.map +1 -1
  496. package/dist/index42.js +21 -50
  497. package/dist/index42.js.map +1 -1
  498. package/dist/index420.js +107 -43
  499. package/dist/index420.js.map +1 -1
  500. package/dist/index421.js +7 -55
  501. package/dist/index421.js.map +1 -1
  502. package/dist/index422.js +2 -8
  503. package/dist/index422.js.map +1 -1
  504. package/dist/index423.js +44 -2
  505. package/dist/index423.js.map +1 -1
  506. package/dist/index424.js +55 -54
  507. package/dist/index424.js.map +1 -1
  508. package/dist/index425.js +7 -55
  509. package/dist/index425.js.map +1 -1
  510. package/dist/index426.js +2 -3
  511. package/dist/index426.js.map +1 -1
  512. package/dist/index427.js +54 -14
  513. package/dist/index427.js.map +1 -1
  514. package/dist/index428.js +51 -487
  515. package/dist/index428.js.map +1 -1
  516. package/dist/index43.js +127 -18
  517. package/dist/index43.js.map +1 -1
  518. package/dist/index430.js +2 -2
  519. package/dist/index432.js +2 -2
  520. package/dist/index44.js +39 -122
  521. package/dist/index44.js.map +1 -1
  522. package/dist/index45.js +85 -42
  523. package/dist/index45.js.map +1 -1
  524. package/dist/index46.js +123 -87
  525. package/dist/index46.js.map +1 -1
  526. package/dist/index47.js +5 -126
  527. package/dist/index47.js.map +1 -1
  528. package/dist/index48.js +332 -5
  529. package/dist/index48.js.map +1 -1
  530. package/dist/index49.js +246 -321
  531. package/dist/index49.js.map +1 -1
  532. package/dist/index5.js +2 -2
  533. package/dist/index50.js +23 -254
  534. package/dist/index50.js.map +1 -1
  535. package/dist/index51.js +129 -25
  536. package/dist/index51.js.map +1 -1
  537. package/dist/index52.js +24 -129
  538. package/dist/index52.js.map +1 -1
  539. package/dist/index53.js +19 -22
  540. package/dist/index53.js.map +1 -1
  541. package/dist/index54.js +134 -19
  542. package/dist/index54.js.map +1 -1
  543. package/dist/index55.js +30 -133
  544. package/dist/index55.js.map +1 -1
  545. package/dist/index56.js +24 -30
  546. package/dist/index56.js.map +1 -1
  547. package/dist/index57.js +38 -26
  548. package/dist/index57.js.map +1 -1
  549. package/dist/index58.js +19 -39
  550. package/dist/index58.js.map +1 -1
  551. package/dist/index59.js +133 -18
  552. package/dist/index59.js.map +1 -1
  553. package/dist/index6.js +4 -4
  554. package/dist/index60.js +49 -134
  555. package/dist/index60.js.map +1 -1
  556. package/dist/index61.js +25 -48
  557. package/dist/index61.js.map +1 -1
  558. package/dist/index62.js +57 -28
  559. package/dist/index62.js.map +1 -1
  560. package/dist/index63.js +56 -57
  561. package/dist/index63.js.map +1 -1
  562. package/dist/index7.js +11 -11
  563. package/dist/index8.js +2 -2
  564. package/dist/index9.js +1 -1
  565. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index313.js","sources":["../../../node_modules/@base-ui/react/dialog/root/useRenderDialogRoot.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useOnFirstRender } from '@base-ui/utils/useOnFirstRender';\nimport { DialogInteractions, useDialogRoot } from \"./useDialogRoot.mjs\";\nimport { DialogRootContext, IsDrawerContext, useDialogRootContext } from \"./DialogRootContext.mjs\";\nimport { DialogStore } from \"../store/DialogStore.mjs\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function useRenderDialogRoot(props, mode = 'dialog') {\n const {\n children,\n open: openProp,\n defaultOpen = false,\n onOpenChange,\n onOpenChangeComplete,\n disablePointerDismissal: disablePointerDismissalProp = false,\n modal: modalProp = true,\n actionsRef,\n handle,\n triggerId: triggerIdProp,\n defaultTriggerId: defaultTriggerIdProp = null\n } = props;\n const isDrawer = mode === 'drawer';\n const isAlertDialog = mode === 'alert-dialog';\n const modal = isAlertDialog ? true : modalProp;\n const disablePointerDismissal = isAlertDialog || disablePointerDismissalProp;\n const role = isAlertDialog ? 'alertdialog' : 'dialog';\n const parentDialogRootContext = useDialogRootContext(true);\n const nested = Boolean(parentDialogRootContext);\n const rootState = {\n modal,\n disablePointerDismissal,\n nested,\n role\n };\n const store = DialogStore.useStore(handle?.store, {\n open: defaultOpen,\n openProp,\n activeTriggerId: defaultTriggerIdProp,\n triggerIdProp,\n ...rootState\n });\n\n // Support initially open state when uncontrolled\n useOnFirstRender(() => {\n const nextState = openProp === undefined && store.state.open === false && defaultOpen === true ? {\n open: true,\n activeTriggerId: defaultTriggerIdProp\n } : null;\n if (isAlertDialog) {\n // Handles can reuse plain Dialog stores; alert dialog invariants must exist immediately.\n store.update(nextState ? {\n ...rootState,\n ...nextState\n } : rootState);\n } else if (nextState) {\n store.update(nextState);\n }\n });\n store.useControlledProp('openProp', openProp);\n store.useControlledProp('triggerIdProp', triggerIdProp);\n store.useSyncedValues(rootState);\n store.useContextCallback('onOpenChange', onOpenChange);\n store.useContextCallback('onOpenChangeComplete', onOpenChangeComplete);\n const open = store.useState('open');\n const mounted = store.useState('mounted');\n const payload = store.useState('payload');\n useDialogRoot({\n store,\n actionsRef\n });\n const shouldRenderInteractions = open || mounted;\n const contextValue = React.useMemo(() => ({\n store\n }), [store]);\n return /*#__PURE__*/_jsx(IsDrawerContext.Provider, {\n value: false,\n children: /*#__PURE__*/_jsxs(DialogRootContext.Provider, {\n value: contextValue,\n children: [shouldRenderInteractions && /*#__PURE__*/_jsx(DialogInteractions, {\n store: store,\n parentContext: parentDialogRootContext?.store.context,\n isDrawer: isDrawer\n }), typeof children === 'function' ? children({\n payload\n }) : children]\n })\n });\n}"],"names":["useRenderDialogRoot","props","mode","children","openProp","defaultOpen","onOpenChange","onOpenChangeComplete","disablePointerDismissalProp","modalProp","actionsRef","handle","triggerIdProp","defaultTriggerIdProp","isDrawer","isAlertDialog","modal","disablePointerDismissal","role","parentDialogRootContext","useDialogRootContext","rootState","store","DialogStore","useOnFirstRender","nextState","open","mounted","payload","useDialogRoot","shouldRenderInteractions","contextValue","React","_jsx","IsDrawerContext","_jsxs","DialogRootContext","DialogInteractions"],"mappings":";;;;;;AAQO,SAASA,EAAoBC,GAAOC,IAAO,UAAU;AAC1D,QAAM;AAAA,IACJ,UAAAC;AAAA,IACA,MAAMC;AAAA,IACN,aAAAC,IAAc;AAAA,IACd,cAAAC;AAAA,IACA,sBAAAC;AAAA,IACA,yBAAyBC,IAA8B;AAAA,IACvD,OAAOC,IAAY;AAAA,IACnB,YAAAC;AAAA,IACA,QAAAC;AAAA,IACA,WAAWC;AAAA,IACX,kBAAkBC,IAAuB;AAAA,EAC7C,IAAMZ,GACEa,IAAWZ,MAAS,UACpBa,IAAgBb,MAAS,gBACzBc,IAAQD,IAAgB,KAAON,GAC/BQ,IAA0BF,KAAiBP,GAC3CU,IAAOH,IAAgB,gBAAgB,UACvCI,IAA0BC,EAAqB,EAAI,GAEnDC,IAAY;AAAA,IAChB,OAAAL;AAAA,IACA,yBAAAC;AAAA,IACA,QAJa,EAAQE;AAAA,IAKrB,MAAAD;AAAA,EACJ,GACQI,IAAQC,EAAY,SAASZ,GAAQ,OAAO;AAAA,IAChD,MAAMN;AAAA,IACN,UAAAD;AAAA,IACA,iBAAiBS;AAAA,IACjB,eAAAD;AAAA,IACA,GAAGS;AAAA,EACP,CAAG;AAGD,EAAAG,EAAiB,MAAM;AACrB,UAAMC,IAAYrB,MAAa,UAAakB,EAAM,MAAM,SAAS,MAASjB,MAAgB,KAAO;AAAA,MAC/F,MAAM;AAAA,MACN,iBAAiBQ;AAAA,IACvB,IAAQ;AACJ,IAAIE,IAEFO,EAAM,OAAOG,IAAY;AAAA,MACvB,GAAGJ;AAAA,MACH,GAAGI;AAAA,IACX,IAAUJ,CAAS,IACJI,KACTH,EAAM,OAAOG,CAAS;AAAA,EAE1B,CAAC,GACDH,EAAM,kBAAkB,YAAYlB,CAAQ,GAC5CkB,EAAM,kBAAkB,iBAAiBV,CAAa,GACtDU,EAAM,gBAAgBD,CAAS,GAC/BC,EAAM,mBAAmB,gBAAgBhB,CAAY,GACrDgB,EAAM,mBAAmB,wBAAwBf,CAAoB;AACrE,QAAMmB,IAAOJ,EAAM,SAAS,MAAM,GAC5BK,IAAUL,EAAM,SAAS,SAAS,GAClCM,IAAUN,EAAM,SAAS,SAAS;AACxC,EAAAO,EAAc;AAAA,IACZ,OAAAP;AAAA,IACA,YAAAZ;AAAA,EACJ,CAAG;AACD,QAAMoB,IAA2BJ,KAAQC,GACnCI,IAAeC,EAAM,QAAQ,OAAO;AAAA,IACxC,OAAAV;AAAA,EACJ,IAAM,CAACA,CAAK,CAAC;AACX,SAAoBW,gBAAAA,EAAAA,IAAKC,EAAgB,UAAU;AAAA,IACjD,OAAO;AAAA,IACP,UAAuBC,gBAAAA,EAAAA,KAAMC,EAAkB,UAAU;AAAA,MACvD,OAAOL;AAAA,MACP,UAAU,CAACD,KAAyCG,gBAAAA,EAAAA,IAAKI,GAAoB;AAAA,QAC3E,OAAOf;AAAA,QACP,eAAeH,GAAyB,MAAM;AAAA,QAC9C,UAAUL;AAAA,MAClB,CAAO,GAAG,OAAOX,KAAa,aAAaA,EAAS;AAAA,QAC5C,SAAAyB;AAAA,MACR,CAAO,IAAIzB,CAAQ;AAAA,IACnB,CAAK;AAAA,EACL,CAAG;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index313.js","sources":["../../../node_modules/@base-ui/react/floating-ui-react/utils/event.mjs"],"sourcesContent":["import { platform } from '@base-ui/utils/platform';\nexport function stopEvent(event) {\n event.preventDefault();\n event.stopPropagation();\n}\nexport function isReactEvent(event) {\n return 'nativeEvent' in event;\n}\n\n// License: https://github.com/adobe/react-spectrum/blob/main/packages/@react-aria/utils/src/isVirtualEvent.ts\nexport function isVirtualClick(event) {\n if (event.pointerType === '' && event.isTrusted) {\n return true;\n }\n if (platform.os.android && event.pointerType) {\n return event.type === 'click' && event.buttons === 1;\n }\n return event.detail === 0 && !event.pointerType;\n}\nexport function isVirtualPointerEvent(event) {\n if (platform.env.jsdom) {\n return false;\n }\n return !platform.os.android && event.width === 0 && event.height === 0 || platform.os.android && event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'mouse' ||\n // iOS VoiceOver returns 0.333• for width/height.\n event.width < 1 && event.height < 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'touch';\n}\nexport function isMouseLikePointerType(pointerType, strict) {\n // On some Linux machines with Chromium, mouse inputs return a `pointerType`\n // of \"pen\": https://github.com/floating-ui/floating-ui/issues/2015\n const values = ['mouse', 'pen'];\n if (!strict) {\n values.push('', undefined);\n }\n return values.includes(pointerType);\n}\nexport function isClickLikeEvent(event) {\n const type = event.type;\n return type === 'click' || type === 'mousedown' || type === 'keydown' || type === 'keyup';\n}"],"names":["stopEvent","event","isReactEvent","isVirtualClick","platform.os.android","isVirtualPointerEvent","platform.env.jsdom","isMouseLikePointerType","pointerType","strict","isClickLikeEvent","type"],"mappings":";;AACO,SAASA,EAAUC,GAAO;AAC/B,EAAAA,EAAM,eAAc,GACpBA,EAAM,gBAAe;AACvB;AACO,SAASC,EAAaD,GAAO;AAClC,SAAO,iBAAiBA;AAC1B;AAGO,SAASE,EAAeF,GAAO;AACpC,SAAIA,EAAM,gBAAgB,MAAMA,EAAM,YAC7B,KAELG,KAAuBH,EAAM,cACxBA,EAAM,SAAS,WAAWA,EAAM,YAAY,IAE9CA,EAAM,WAAW,KAAK,CAACA,EAAM;AACtC;AACO,SAASI,EAAsBJ,GAAO;AAC3C,SAAIK,IACK,KAEF,CAACF,KAAuBH,EAAM,UAAU,KAAKA,EAAM,WAAW,KAAKG,KAAuBH,EAAM,UAAU,KAAKA,EAAM,WAAW,KAAKA,EAAM,aAAa,KAAKA,EAAM,WAAW,KAAKA,EAAM,gBAAgB;AAAA,EAEhNA,EAAM,QAAQ,KAAKA,EAAM,SAAS,KAAKA,EAAM,aAAa,KAAKA,EAAM,WAAW,KAAKA,EAAM,gBAAgB;AAC7G;AACO,SAASM,EAAuBC,GAAaC,GAAQ;AAO1D,SAJe,CAAC,SAAS,KAAK,EAIhB,SAASD,CAAW;AACpC;AACO,SAASE,EAAiBT,GAAO;AACtC,QAAMU,IAAOV,EAAM;AACnB,SAAOU,MAAS,WAAWA,MAAS,eAAeA,MAAS,aAAaA,MAAS;AACpF;","x_google_ignoreList":[0]}
package/dist/index314.js CHANGED
@@ -1,12 +1,15 @@
1
- function n(a, s) {
2
- return function(e, ...t) {
3
- const r = new URL(a);
4
- return r.searchParams.set("code", e.toString()), t.forEach((o) => r.searchParams.append("args[]", o)), `${s} error #${e}; visit ${r} for the full message.`;
5
- };
1
+ import r from "./index190.js";
2
+ import * as t from "react";
3
+ const o = /* @__PURE__ */ t.createContext(void 0);
4
+ process.env.NODE_ENV !== "production" && (o.displayName = "SelectGroupContext");
5
+ function s() {
6
+ const e = t.useContext(o);
7
+ if (e === void 0)
8
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: SelectGroupContext is missing. SelectGroup parts must be placed within <Select.Group>." : r(56));
9
+ return e;
6
10
  }
7
- const u = n("https://base-ui.com/production-error", "Base UI");
8
11
  export {
9
- n as createFormatErrorMessage,
10
- u as default
12
+ o as SelectGroupContext,
13
+ s as useSelectGroupContext
11
14
  };
12
15
  //# sourceMappingURL=index314.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index314.js","sources":["../../../node_modules/@base-ui/utils/formatErrorMessage.mjs"],"sourcesContent":["/**\n * Creates a formatErrorMessage function with a custom URL and prefix.\n * @param baseUrl - The base URL for the error page (e.g., 'https://base-ui.com/production-error')\n * @param prefix - The prefix for the error message (e.g., 'Base UI')\n * @returns A function that formats error messages with the given URL and prefix\n */\nexport function createFormatErrorMessage(baseUrl, prefix) {\n return function formatErrorMessage(code, ...args) {\n const url = new URL(baseUrl);\n url.searchParams.set('code', code.toString());\n args.forEach(arg => url.searchParams.append('args[]', arg));\n return `${prefix} error #${code}; visit ${url} for the full message.`;\n };\n}\n\n/**\n * WARNING: Don't import this directly. It's imported by the code generated by\n * `@mui/internal-babel-plugin-minify-errors`. Make sure to always use string literals in `Error`\n * constructors to ensure the plugin works as expected. Supported patterns include:\n * throw new Error('My message');\n * throw new Error(`My message: ${foo}`);\n * throw new Error(`My message: ${foo}` + 'another string');\n * ...\n */\nconst formatErrorMessage = createFormatErrorMessage('https://base-ui.com/production-error', 'Base UI');\nexport default formatErrorMessage;"],"names":["createFormatErrorMessage","baseUrl","prefix","code","args","url","arg","formatErrorMessage"],"mappings":"AAMO,SAASA,EAAyBC,GAASC,GAAQ;AACxD,SAAO,SAA4BC,MAASC,GAAM;AAChD,UAAMC,IAAM,IAAI,IAAIJ,CAAO;AAC3B,WAAAI,EAAI,aAAa,IAAI,QAAQF,EAAK,SAAQ,CAAE,GAC5CC,EAAK,QAAQ,CAAAE,MAAOD,EAAI,aAAa,OAAO,UAAUC,CAAG,CAAC,GACnD,GAAGJ,CAAM,WAAWC,CAAI,WAAWE,CAAG;AAAA,EAC/C;AACF;AAWK,MAACE,IAAqBP,EAAyB,wCAAwC,SAAS;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index314.js","sources":["../../../node_modules/@base-ui/react/select/group/SelectGroupContext.mjs"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const SelectGroupContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") SelectGroupContext.displayName = \"SelectGroupContext\";\nexport function useSelectGroupContext() {\n const context = React.useContext(SelectGroupContext);\n if (context === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: SelectGroupContext is missing. SelectGroup parts must be placed within <Select.Group>.' : _formatErrorMessage(56));\n }\n return context;\n}"],"names":["SelectGroupContext","React","useSelectGroupContext","context","_formatErrorMessage"],"mappings":";;AAIY,MAACA,IAAkC,gBAAAC,EAAM,cAAc,MAAS;AACxE,QAAQ,IAAI,aAAa,iBAAcD,EAAmB,cAAc;AACrE,SAASE,IAAwB;AACtC,QAAMC,IAAUF,EAAM,WAAWD,CAAkB;AACnD,MAAIG,MAAY;AACd,UAAM,IAAI,MAAM,QAAQ,IAAI,aAAa,eAAe,oGAAoGC,EAAoB,EAAE,CAAC;AAErL,SAAOD;AACT;","x_google_ignoreList":[0]}
package/dist/index32.js CHANGED
@@ -1,27 +1,8 @@
1
- import { defaultDateLib as A } from "./index105.js";
2
- import { rangeIncludesDate as p } from "./index125.js";
3
- import { isDatesArray as a, isDateRange as I, isDayOfWeekType as g, isDateInterval as k, isDateAfterType as O, isDateBeforeType as W } from "./index127.js";
4
- function b(f, n, r = A) {
5
- const t = Array.isArray(n) ? n : [n], { isSameDay: o, differenceInCalendarDays: i, isAfter: D } = r;
6
- return t.some((e) => {
7
- if (typeof e == "boolean")
8
- return e;
9
- if (r.isDate(e))
10
- return o(f, e);
11
- if (a(e, r))
12
- return e.some((s) => o(f, s));
13
- if (I(e))
14
- return p(e, f, !1, r);
15
- if (g(e))
16
- return Array.isArray(e.dayOfWeek) ? e.dayOfWeek.includes(f.getDay()) : e.dayOfWeek === f.getDay();
17
- if (k(e)) {
18
- const s = i(e.before, f), l = i(e.after, f), y = s > 0, u = l < 0;
19
- return D(e.before, e.after) ? u && y : y || u;
20
- }
21
- return O(e) ? i(f, e.after) > 0 : W(e) ? i(e.before, f) > 0 : typeof e == "function" ? e(f) : !1;
22
- });
1
+ import * as t from "react";
2
+ function i(r, e, n) {
3
+ return r ? t.Children.only(n) : e;
23
4
  }
24
5
  export {
25
- b as dateMatchModifiers
6
+ i as renderAsChild
26
7
  };
27
8
  //# sourceMappingURL=index32.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index32.js","sources":["../../../node_modules/react-day-picker/dist/esm/utils/dateMatchModifiers.js"],"sourcesContent":["import { defaultDateLib } from \"../classes/DateLib.js\";\nimport { rangeIncludesDate } from \"./rangeIncludesDate.js\";\nimport { isDateAfterType, isDateBeforeType, isDateInterval, isDateRange, isDatesArray, isDayOfWeekType, } from \"./typeguards.js\";\n/**\n * Checks if a given date matches at least one of the specified {@link Matcher}.\n *\n * @param date - The date to check.\n * @param matchers - The matchers to check against.\n * @param dateLib - The date utility library instance.\n * @returns `true` if the date matches any of the matchers, otherwise `false`.\n * @group Utilities\n */\nexport function dateMatchModifiers(date, matchers, dateLib = defaultDateLib) {\n const matchersArr = !Array.isArray(matchers) ? [matchers] : matchers;\n const { isSameDay, differenceInCalendarDays, isAfter } = dateLib;\n return matchersArr.some((matcher) => {\n if (typeof matcher === \"boolean\") {\n return matcher;\n }\n if (dateLib.isDate(matcher)) {\n return isSameDay(date, matcher);\n }\n if (isDatesArray(matcher, dateLib)) {\n return matcher.some((matcherDate) => isSameDay(date, matcherDate));\n }\n if (isDateRange(matcher)) {\n return rangeIncludesDate(matcher, date, false, dateLib);\n }\n if (isDayOfWeekType(matcher)) {\n if (!Array.isArray(matcher.dayOfWeek)) {\n return matcher.dayOfWeek === date.getDay();\n }\n return matcher.dayOfWeek.includes(date.getDay());\n }\n if (isDateInterval(matcher)) {\n const diffBefore = differenceInCalendarDays(matcher.before, date);\n const diffAfter = differenceInCalendarDays(matcher.after, date);\n const isDayBefore = diffBefore > 0;\n const isDayAfter = diffAfter < 0;\n const isClosedInterval = isAfter(matcher.before, matcher.after);\n if (isClosedInterval) {\n return isDayAfter && isDayBefore;\n }\n else {\n return isDayBefore || isDayAfter;\n }\n }\n if (isDateAfterType(matcher)) {\n return differenceInCalendarDays(date, matcher.after) > 0;\n }\n if (isDateBeforeType(matcher)) {\n return differenceInCalendarDays(matcher.before, date) > 0;\n }\n if (typeof matcher === \"function\") {\n return matcher(date);\n }\n return false;\n });\n}\n"],"names":["dateMatchModifiers","date","matchers","dateLib","defaultDateLib","matchersArr","isSameDay","differenceInCalendarDays","isAfter","matcher","isDatesArray","matcherDate","isDateRange","rangeIncludesDate","isDayOfWeekType","isDateInterval","diffBefore","diffAfter","isDayBefore","isDayAfter","isDateAfterType","isDateBeforeType"],"mappings":";;;AAYO,SAASA,EAAmBC,GAAMC,GAAUC,IAAUC,GAAgB;AACzE,QAAMC,IAAe,MAAM,QAAQH,CAAQ,IAAiBA,IAAb,CAACA,CAAQ,GAClD,EAAE,WAAAI,GAAW,0BAAAC,GAA0B,SAAAC,EAAO,IAAKL;AACzD,SAAOE,EAAY,KAAK,CAACI,MAAY;AACjC,QAAI,OAAOA,KAAY;AACnB,aAAOA;AAEX,QAAIN,EAAQ,OAAOM,CAAO;AACtB,aAAOH,EAAUL,GAAMQ,CAAO;AAElC,QAAIC,EAAaD,GAASN,CAAO;AAC7B,aAAOM,EAAQ,KAAK,CAACE,MAAgBL,EAAUL,GAAMU,CAAW,CAAC;AAErE,QAAIC,EAAYH,CAAO;AACnB,aAAOI,EAAkBJ,GAASR,GAAM,IAAOE,CAAO;AAE1D,QAAIW,EAAgBL,CAAO;AACvB,aAAK,MAAM,QAAQA,EAAQ,SAAS,IAG7BA,EAAQ,UAAU,SAASR,EAAK,OAAM,CAAE,IAFpCQ,EAAQ,cAAcR,EAAK,OAAM;AAIhD,QAAIc,EAAeN,CAAO,GAAG;AACzB,YAAMO,IAAaT,EAAyBE,EAAQ,QAAQR,CAAI,GAC1DgB,IAAYV,EAAyBE,EAAQ,OAAOR,CAAI,GACxDiB,IAAcF,IAAa,GAC3BG,IAAaF,IAAY;AAE/B,aADyBT,EAAQC,EAAQ,QAAQA,EAAQ,KAAK,IAEnDU,KAAcD,IAGdA,KAAeC;AAAA,IAE9B;AACA,WAAIC,EAAgBX,CAAO,IAChBF,EAAyBN,GAAMQ,EAAQ,KAAK,IAAI,IAEvDY,EAAiBZ,CAAO,IACjBF,EAAyBE,EAAQ,QAAQR,CAAI,IAAI,IAExD,OAAOQ,KAAY,aACZA,EAAQR,CAAI,IAEhB;AAAA,EACX,CAAC;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index32.js","sources":["../src/lib/render-as-child.ts"],"sourcesContent":["import * as React from \"react\"\n\n\ntype RenderProp = React.ReactElement | ((props: any, state: any) => React.ReactElement)\n\nexport function renderAsChild(\n asChild: boolean | undefined,\n render: RenderProp | undefined,\n children: React.ReactNode,\n) {\n if (!asChild) return render\n return React.Children.only(children) as React.ReactElement\n}\n"],"names":["renderAsChild","asChild","render","children","React","Children","only"],"mappings":";AAKO,SAASA,EACdC,GACAC,GACAC,GACA;AACA,SAAKF,IACEG,EAAMC,SAASC,KAAKH,CAAQ,IADdD;AAEvB;"}
package/dist/index33.js CHANGED
@@ -1,8 +1,11 @@
1
1
  import * as t from "react";
2
- function i(r, e, n) {
3
- return r ? t.Children.only(n) : e;
2
+ import { IsDrawerContext as e } from "./index171.js";
3
+ import { useRenderDialogRoot as a } from "./index189.js";
4
+ function n(o) {
5
+ const r = t.useContext(e) ? "drawer" : "dialog";
6
+ return a(o, r);
4
7
  }
5
8
  export {
6
- i as renderAsChild
9
+ n as DialogRoot
7
10
  };
8
11
  //# sourceMappingURL=index33.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index33.js","sources":["../src/lib/render-as-child.ts"],"sourcesContent":["import * as React from \"react\"\n\n\ntype RenderProp = React.ReactElement | ((props: any, state: any) => React.ReactElement)\n\nexport function renderAsChild(\n asChild: boolean | undefined,\n render: RenderProp | undefined,\n children: React.ReactNode,\n) {\n if (!asChild) return render\n return React.Children.only(children) as React.ReactElement\n}\n"],"names":["renderAsChild","asChild","render","children","React","Children","only"],"mappings":";AAKO,SAASA,EACdC,GACAC,GACAC,GACA;AACA,SAAKF,IACEG,EAAMC,SAASC,KAAKH,CAAQ,IADdD;AAEvB;"}
1
+ {"version":3,"file":"index33.js","sources":["../../../node_modules/@base-ui/react/dialog/root/DialogRoot.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { IsDrawerContext } from \"./DialogRootContext.mjs\";\nimport { useRenderDialogRoot } from \"./useRenderDialogRoot.mjs\";\n\n/**\n * Groups all parts of the dialog.\n * Doesn't render its own HTML element.\n *\n * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)\n */\nexport function DialogRoot(props) {\n const mode = React.useContext(IsDrawerContext) ? 'drawer' : 'dialog';\n return useRenderDialogRoot(props, mode);\n}"],"names":["DialogRoot","props","mode","React","IsDrawerContext","useRenderDialogRoot"],"mappings":";;;AAYO,SAASA,EAAWC,GAAO;AAChC,QAAMC,IAAOC,EAAM,WAAWC,CAAe,IAAI,WAAW;AAC5D,SAAOC,EAAoBJ,GAAOC,CAAI;AACxC;","x_google_ignoreList":[0]}
package/dist/index34.js CHANGED
@@ -1,11 +1,41 @@
1
- import * as t from "react";
2
- import { IsDrawerContext as e } from "./index309.js";
3
- import { useRenderDialogRoot as a } from "./index313.js";
4
- function n(o) {
5
- const r = t.useContext(e) ? "drawer" : "dialog";
6
- return a(o, r);
7
- }
1
+ import * as p from "react";
2
+ import { useDialogRootContext as u } from "./index171.js";
3
+ import { useRenderElement as d } from "./index172.js";
4
+ import { createChangeEventDetails as C } from "./index175.js";
5
+ import { useButton as g } from "./index176.js";
6
+ import { closePress as v } from "./index177.js";
7
+ const D = /* @__PURE__ */ p.forwardRef(function(e, n) {
8
+ const {
9
+ render: R,
10
+ className: N,
11
+ style: b,
12
+ disabled: t = !1,
13
+ nativeButton: s = !0,
14
+ ...r
15
+ } = e, {
16
+ store: o
17
+ } = u(), a = o.useState("open"), {
18
+ getButtonProps: i,
19
+ buttonRef: l
20
+ } = g({
21
+ disabled: t,
22
+ native: s
23
+ }), f = {
24
+ disabled: t
25
+ };
26
+ function c(m) {
27
+ a && o.setOpen(!1, C(v, m.nativeEvent));
28
+ }
29
+ return d("button", e, {
30
+ state: f,
31
+ ref: [n, l],
32
+ props: [{
33
+ onClick: c
34
+ }, r, i]
35
+ });
36
+ });
37
+ process.env.NODE_ENV !== "production" && (D.displayName = "DialogClose");
8
38
  export {
9
- n as DialogRoot
39
+ D as DialogClose
10
40
  };
11
41
  //# sourceMappingURL=index34.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index34.js","sources":["../../../node_modules/@base-ui/react/dialog/root/DialogRoot.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { IsDrawerContext } from \"./DialogRootContext.mjs\";\nimport { useRenderDialogRoot } from \"./useRenderDialogRoot.mjs\";\n\n/**\n * Groups all parts of the dialog.\n * Doesn't render its own HTML element.\n *\n * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)\n */\nexport function DialogRoot(props) {\n const mode = React.useContext(IsDrawerContext) ? 'drawer' : 'dialog';\n return useRenderDialogRoot(props, mode);\n}"],"names":["DialogRoot","props","mode","React","IsDrawerContext","useRenderDialogRoot"],"mappings":";;;AAYO,SAASA,EAAWC,GAAO;AAChC,QAAMC,IAAOC,EAAM,WAAWC,CAAe,IAAI,WAAW;AAC5D,SAAOC,EAAoBJ,GAAOC,CAAI;AACxC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index34.js","sources":["../../../node_modules/@base-ui/react/dialog/close/DialogClose.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useDialogRootContext } from \"../root/DialogRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useButton } from \"../../internals/use-button/index.mjs\";\nimport { createChangeEventDetails } from \"../../internals/createBaseUIEventDetails.mjs\";\nimport { REASONS } from \"../../internals/reasons.mjs\";\n\n/**\n * A button that closes the dialog.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)\n */\nexport const DialogClose = /*#__PURE__*/React.forwardRef(function DialogClose(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n disabled = false,\n nativeButton = true,\n ...elementProps\n } = componentProps;\n const {\n store\n } = useDialogRootContext();\n const open = store.useState('open');\n const {\n getButtonProps,\n buttonRef\n } = useButton({\n disabled,\n native: nativeButton\n });\n const state = {\n disabled\n };\n function handleClick(event) {\n if (open) {\n store.setOpen(false, createChangeEventDetails(REASONS.closePress, event.nativeEvent));\n }\n }\n return useRenderElement('button', componentProps, {\n state,\n ref: [forwardedRef, buttonRef],\n props: [{\n onClick: handleClick\n }, elementProps, getButtonProps]\n });\n});\nif (process.env.NODE_ENV !== \"production\") DialogClose.displayName = \"DialogClose\";"],"names":["DialogClose","React","componentProps","forwardedRef","render","className","style","disabled","nativeButton","elementProps","store","useDialogRootContext","open","getButtonProps","buttonRef","useButton","state","handleClick","event","createChangeEventDetails","REASONS.closePress","useRenderElement"],"mappings":";;;;;;AAeY,MAACA,IAA2B,gBAAAC,EAAM,WAAW,SAAqBC,GAAgBC,GAAc;AAC1G,QAAM;AAAA,IACJ,QAAAC;AAAA,IACA,WAAAC;AAAA,IACA,OAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,cAAAC,IAAe;AAAA,IACf,GAAGC;AAAA,EACP,IAAMP,GACE;AAAA,IACJ,OAAAQ;AAAA,EACJ,IAAMC,EAAoB,GAClBC,IAAOF,EAAM,SAAS,MAAM,GAC5B;AAAA,IACJ,gBAAAG;AAAA,IACA,WAAAC;AAAA,EACJ,IAAMC,EAAU;AAAA,IACZ,UAAAR;AAAA,IACA,QAAQC;AAAA,EACZ,CAAG,GACKQ,IAAQ;AAAA,IACZ,UAAAT;AAAA,EACJ;AACE,WAASU,EAAYC,GAAO;AAC1B,IAAIN,KACFF,EAAM,QAAQ,IAAOS,EAAyBC,GAAoBF,EAAM,WAAW,CAAC;AAAA,EAExF;AACA,SAAOG,EAAiB,UAAUnB,GAAgB;AAAA,IAChD,OAAAc;AAAA,IACA,KAAK,CAACb,GAAcW,CAAS;AAAA,IAC7B,OAAO,CAAC;AAAA,MACN,SAASG;AAAA,IACf,GAAOR,GAAcI,CAAc;AAAA,EACnC,CAAG;AACH,CAAC;AACG,QAAQ,IAAI,aAAa,iBAAcb,EAAY,cAAc;","x_google_ignoreList":[0]}
package/dist/index341.js CHANGED
@@ -1,8 +1,12 @@
1
- function r(s, t) {
2
- const e = t.startOfMonth(s), n = e.getDay() > 0 ? e.getDay() : 7, a = t.addDays(s, -n + 1), o = t.addDays(a, 34);
3
- return t.getMonth(s) === t.getMonth(o) ? 5 : 4;
1
+ import * as n from "react";
2
+ import { isReactVersionAtLeast as o } from "./index349.js";
3
+ function s(t) {
4
+ if (!/* @__PURE__ */ n.isValidElement(t))
5
+ return null;
6
+ const e = t, r = e.props;
7
+ return (o(19) ? r?.ref : e.ref) ?? null;
4
8
  }
5
9
  export {
6
- r as getBroadcastWeeksInMonth
10
+ s as getReactElementRef
7
11
  };
8
12
  //# sourceMappingURL=index341.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index341.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js"],"sourcesContent":["const FIVE_WEEKS = 5;\nconst FOUR_WEEKS = 4;\n/**\n * Returns the number of weeks to display in the broadcast calendar for a given\n * month.\n *\n * The broadcast calendar may have either 4 or 5 weeks in a month, depending on\n * the start and end dates of the broadcast weeks.\n *\n * @since 9.4.0\n * @param month The month for which to calculate the number of weeks.\n * @param dateLib The date library to use for date manipulation.\n * @returns The number of weeks in the broadcast calendar (4 or 5).\n */\nexport function getBroadcastWeeksInMonth(month, dateLib) {\n // Get the first day of the month\n const firstDayOfMonth = dateLib.startOfMonth(month);\n // Get the day of the week for the first day of the month (1-7, where 1 is Monday)\n const firstDayOfWeek = firstDayOfMonth.getDay() > 0 ? firstDayOfMonth.getDay() : 7;\n const broadcastStartDate = dateLib.addDays(month, -firstDayOfWeek + 1);\n const lastDateOfLastWeek = dateLib.addDays(broadcastStartDate, FIVE_WEEKS * 7 - 1);\n const numberOfWeeks = dateLib.getMonth(month) === dateLib.getMonth(lastDateOfLastWeek)\n ? FIVE_WEEKS\n : FOUR_WEEKS;\n return numberOfWeeks;\n}\n"],"names":["getBroadcastWeeksInMonth","month","dateLib","firstDayOfMonth","firstDayOfWeek","broadcastStartDate","lastDateOfLastWeek"],"mappings":"AAcO,SAASA,EAAyBC,GAAOC,GAAS;AAErD,QAAMC,IAAkBD,EAAQ,aAAaD,CAAK,GAE5CG,IAAiBD,EAAgB,OAAM,IAAK,IAAIA,EAAgB,OAAM,IAAK,GAC3EE,IAAqBH,EAAQ,QAAQD,GAAO,CAACG,IAAiB,CAAC,GAC/DE,IAAqBJ,EAAQ,QAAQG,GAAoB,EAAkB;AAIjF,SAHsBH,EAAQ,SAASD,CAAK,MAAMC,EAAQ,SAASI,CAAkB,IAC/E,IACA;AAEV;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index341.js","sources":["../../../node_modules/@base-ui/utils/getReactElementRef.mjs"],"sourcesContent":["import * as React from 'react';\nimport { isReactVersionAtLeast } from \"./reactVersion.mjs\";\n\n/**\n * Extracts the `ref` from a React element, handling different React versions.\n */\nexport function getReactElementRef(element) {\n if (! /*#__PURE__*/React.isValidElement(element)) {\n return null;\n }\n const reactElement = element;\n const propsWithRef = reactElement.props;\n return (isReactVersionAtLeast(19) ? propsWithRef?.ref : reactElement.ref) ?? null;\n}"],"names":["getReactElementRef","element","React","reactElement","propsWithRef","isReactVersionAtLeast"],"mappings":";;AAMO,SAASA,EAAmBC,GAAS;AAC1C,MAAI,CAAe,gBAAAC,EAAM,eAAeD,CAAO;AAC7C,WAAO;AAET,QAAME,IAAeF,GACfG,IAAeD,EAAa;AAClC,UAAQE,EAAsB,EAAE,IAAID,GAAc,MAAMD,EAAa,QAAQ;AAC/E;","x_google_ignoreList":[0]}
package/dist/index342.js CHANGED
@@ -1,21 +1,15 @@
1
- import { formatDistance as o } from "./index413.js";
2
- import { formatLong as t } from "./index414.js";
3
- import { formatRelative as r } from "./index415.js";
4
- import { localize as m } from "./index416.js";
5
- import { match as a } from "./index417.js";
6
- const p = {
7
- code: "en-US",
8
- formatDistance: o,
9
- formatLong: t,
10
- formatRelative: r,
11
- localize: m,
12
- match: a,
13
- options: {
14
- weekStartsOn: 0,
15
- firstWeekContainsDate: 1
16
- }
17
- };
1
+ function n(e, r) {
2
+ if (e && !r)
3
+ return e;
4
+ if (!e && r)
5
+ return r;
6
+ if (e || r)
7
+ return {
8
+ ...e,
9
+ ...r
10
+ };
11
+ }
18
12
  export {
19
- p as enUS
13
+ n as mergeObjects
20
14
  };
21
15
  //# sourceMappingURL=index342.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index342.js","sources":["../../../node_modules/date-fns/locale/en-US.js"],"sourcesContent":["import { formatDistance } from \"./en-US/_lib/formatDistance.js\";\nimport { formatLong } from \"./en-US/_lib/formatLong.js\";\nimport { formatRelative } from \"./en-US/_lib/formatRelative.js\";\nimport { localize } from \"./en-US/_lib/localize.js\";\nimport { match } from \"./en-US/_lib/match.js\";\n\n/**\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)\n * @author Lesha Koss [@leshakoss](https://github.com/leshakoss)\n */\nexport const enUS = {\n code: \"en-US\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0 /* Sunday */,\n firstWeekContainsDate: 1,\n },\n};\n\n// Fallback for modularized imports:\nexport default enUS;\n"],"names":["enUS","formatDistance","formatLong","formatRelative","localize","match"],"mappings":";;;;;AAcY,MAACA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,gBAAgBC;AAAA,EAChB,YAAYC;AAAA,EACZ,gBAAgBC;AAAA,EAChB,UAAUC;AAAA,EACV,OAAOC;AAAA,EACP,SAAS;AAAA,IACP,cAAc;AAAA,IACd,uBAAuB;AAAA,EAC3B;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index342.js","sources":["../../../node_modules/@base-ui/utils/mergeObjects.mjs"],"sourcesContent":["export function mergeObjects(a, b) {\n if (a && !b) {\n return a;\n }\n if (!a && b) {\n return b;\n }\n if (a || b) {\n return {\n ...a,\n ...b\n };\n }\n return undefined;\n}"],"names":["mergeObjects","a","b"],"mappings":"AAAO,SAASA,EAAaC,GAAGC,GAAG;AACjC,MAAID,KAAK,CAACC;AACR,WAAOD;AAET,MAAI,CAACA,KAAKC;AACR,WAAOA;AAET,MAAID,KAAKC;AACP,WAAO;AAAA,MACL,GAAGD;AAAA,MACH,GAAGC;AAAA,IACT;AAGA;","x_google_ignoreList":[0]}
package/dist/index343.js CHANGED
@@ -1,16 +1,12 @@
1
- function g(d, s, k, t, f, O, n) {
2
- const { ISOWeek: o, broadcastCalendar: r } = O, { addDays: W, addMonths: c, addWeeks: l, addYears: u, endOfBroadcastWeek: b, endOfISOWeek: m, endOfWeek: y, max: F, min: I, startOfBroadcastWeek: h, startOfISOWeek: x, startOfWeek: B } = n;
3
- let a = {
4
- day: W,
5
- week: l,
6
- month: c,
7
- year: u,
8
- startOfWeek: (e) => r ? h(e, n) : o ? x(e) : B(e),
9
- endOfWeek: (e) => r ? b(e) : o ? m(e) : y(e)
10
- }[d](k, s === "after" ? 1 : -1);
11
- return s === "before" && t ? a = F([t, a]) : s === "after" && f && (a = I([f, a])), a;
1
+ let n;
2
+ process.env.NODE_ENV !== "production" && (n = /* @__PURE__ */ new Set());
3
+ function s(...o) {
4
+ if (process.env.NODE_ENV !== "production") {
5
+ const e = o.join(" ");
6
+ n.has(e) || (n.add(e), console.warn(`Base UI: ${e}`));
7
+ }
12
8
  }
13
9
  export {
14
- g as getFocusableDate
10
+ s as warn
15
11
  };
16
12
  //# sourceMappingURL=index343.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index343.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js"],"sourcesContent":["/**\n * Calculates the next date that should be focused in the calendar.\n *\n * This function determines the next focusable date based on the movement\n * direction, constraints, and calendar configuration.\n *\n * @param moveBy The unit of movement (e.g., \"day\", \"week\").\n * @param moveDir The direction of movement (\"before\" or \"after\").\n * @param refDate The reference date from which to calculate the next focusable\n * date.\n * @param navStart The earliest date the user can navigate to.\n * @param navEnd The latest date the user can navigate to.\n * @param props The DayPicker props, including calendar configuration options.\n * @param dateLib The date library to use for date manipulation.\n * @returns The next focusable date.\n */\nexport function getFocusableDate(moveBy, moveDir, refDate, navStart, navEnd, props, dateLib) {\n const { ISOWeek, broadcastCalendar } = props;\n const { addDays, addMonths, addWeeks, addYears, endOfBroadcastWeek, endOfISOWeek, endOfWeek, max, min, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const moveFns = {\n day: addDays,\n week: addWeeks,\n month: addMonths,\n year: addYears,\n startOfWeek: (date) => broadcastCalendar\n ? startOfBroadcastWeek(date, dateLib)\n : ISOWeek\n ? startOfISOWeek(date)\n : startOfWeek(date),\n endOfWeek: (date) => broadcastCalendar\n ? endOfBroadcastWeek(date)\n : ISOWeek\n ? endOfISOWeek(date)\n : endOfWeek(date),\n };\n let focusableDate = moveFns[moveBy](refDate, moveDir === \"after\" ? 1 : -1);\n if (moveDir === \"before\" && navStart) {\n focusableDate = max([navStart, focusableDate]);\n }\n else if (moveDir === \"after\" && navEnd) {\n focusableDate = min([navEnd, focusableDate]);\n }\n return focusableDate;\n}\n"],"names":["getFocusableDate","moveBy","moveDir","refDate","navStart","navEnd","props","dateLib","ISOWeek","broadcastCalendar","addDays","addMonths","addWeeks","addYears","endOfBroadcastWeek","endOfISOWeek","endOfWeek","max","min","startOfBroadcastWeek","startOfISOWeek","startOfWeek","focusableDate","date"],"mappings":"AAgBO,SAASA,EAAiBC,GAAQC,GAASC,GAASC,GAAUC,GAAQC,GAAOC,GAAS;AACzF,QAAM,EAAE,SAAAC,GAAS,mBAAAC,EAAiB,IAAKH,GACjC,EAAE,SAAAI,GAAS,WAAAC,GAAW,UAAAC,GAAU,UAAAC,GAAU,oBAAAC,GAAoB,cAAAC,GAAc,WAAAC,GAAW,KAAAC,GAAK,KAAAC,GAAK,sBAAAC,GAAsB,gBAAAC,GAAgB,aAAAC,EAAW,IAAMd;AAiB9J,MAAIe,IAhBY;AAAA,IACZ,KAAKZ;AAAA,IACL,MAAME;AAAA,IACN,OAAOD;AAAA,IACP,MAAME;AAAA,IACN,aAAa,CAACU,MAASd,IACjBU,EAAqBI,GAAMhB,CAAO,IAClCC,IACIY,EAAeG,CAAI,IACnBF,EAAYE,CAAI;AAAA,IAC1B,WAAW,CAACA,MAASd,IACfK,EAAmBS,CAAI,IACvBf,IACIO,EAAaQ,CAAI,IACjBP,EAAUO,CAAI;AAAA,EAChC,EACgCtB,CAAM,EAAEE,GAASD,MAAY,UAAU,IAAI,EAAE;AACzE,SAAIA,MAAY,YAAYE,IACxBkB,IAAgBL,EAAI,CAACb,GAAUkB,CAAa,CAAC,IAExCpB,MAAY,WAAWG,MAC5BiB,IAAgBJ,EAAI,CAACb,GAAQiB,CAAa,CAAC,IAExCA;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index343.js","sources":["../../../node_modules/@base-ui/utils/warn.mjs"],"sourcesContent":["let set;\nif (process.env.NODE_ENV !== 'production') {\n set = new Set();\n}\nexport function warn(...messages) {\n if (process.env.NODE_ENV !== 'production') {\n const messageKey = messages.join(' ');\n if (!set.has(messageKey)) {\n set.add(messageKey);\n console.warn(`Base UI: ${messageKey}`);\n }\n }\n}"],"names":["set","warn","messages","messageKey"],"mappings":"AAAA,IAAIA;AACA,QAAQ,IAAI,aAAa,iBAC3BA,IAAM,oBAAI,IAAG;AAER,SAASC,KAAQC,GAAU;AAChC,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,UAAMC,IAAaD,EAAS,KAAK,GAAG;AACpC,IAAKF,EAAI,IAAIG,CAAU,MACrBH,EAAI,IAAIG,CAAU,GAClB,QAAQ,KAAK,YAAYA,CAAU,EAAE;AAAA,EAEzC;AACF;","x_google_ignoreList":[0]}
package/dist/index344.js CHANGED
@@ -1,12 +1,17 @@
1
- import * as n from "react";
2
- import { isReactVersionAtLeast as o } from "./index360.js";
3
- function s(t) {
4
- if (!/* @__PURE__ */ n.isValidElement(t))
5
- return null;
6
- const e = t, r = e.props;
7
- return (o(19) ? r?.ref : e.ref) ?? null;
1
+ function i(r, n) {
2
+ const o = {};
3
+ for (const t in r) {
4
+ const e = r[t];
5
+ if (n?.hasOwnProperty(t)) {
6
+ const s = n[t](e);
7
+ s != null && Object.assign(o, s);
8
+ continue;
9
+ }
10
+ e === !0 ? o[`data-${t.toLowerCase()}`] = "" : e && (o[`data-${t.toLowerCase()}`] = e.toString());
11
+ }
12
+ return o;
8
13
  }
9
14
  export {
10
- s as getReactElementRef
15
+ i as getStateAttributesProps
11
16
  };
12
17
  //# sourceMappingURL=index344.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index344.js","sources":["../../../node_modules/@base-ui/utils/getReactElementRef.mjs"],"sourcesContent":["import * as React from 'react';\nimport { isReactVersionAtLeast } from \"./reactVersion.mjs\";\n\n/**\n * Extracts the `ref` from a React element, handling different React versions.\n */\nexport function getReactElementRef(element) {\n if (! /*#__PURE__*/React.isValidElement(element)) {\n return null;\n }\n const reactElement = element;\n const propsWithRef = reactElement.props;\n return (isReactVersionAtLeast(19) ? propsWithRef?.ref : reactElement.ref) ?? null;\n}"],"names":["getReactElementRef","element","React","reactElement","propsWithRef","isReactVersionAtLeast"],"mappings":";;AAMO,SAASA,EAAmBC,GAAS;AAC1C,MAAI,CAAe,gBAAAC,EAAM,eAAeD,CAAO;AAC7C,WAAO;AAET,QAAME,IAAeF,GACfG,IAAeD,EAAa;AAClC,UAAQE,EAAsB,EAAE,IAAID,GAAc,MAAMD,EAAa,QAAQ;AAC/E;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index344.js","sources":["../../../node_modules/@base-ui/react/internals/getStateAttributesProps.mjs"],"sourcesContent":["export function getStateAttributesProps(state, customMapping) {\n const props = {};\n\n /* eslint-disable-next-line guard-for-in */\n for (const key in state) {\n const value = state[key];\n if (customMapping?.hasOwnProperty(key)) {\n const customProps = customMapping[key](value);\n if (customProps != null) {\n Object.assign(props, customProps);\n }\n continue;\n }\n if (value === true) {\n props[`data-${key.toLowerCase()}`] = '';\n } else if (value) {\n props[`data-${key.toLowerCase()}`] = value.toString();\n }\n }\n return props;\n}"],"names":["getStateAttributesProps","state","customMapping","props","key","value","customProps"],"mappings":"AAAO,SAASA,EAAwBC,GAAOC,GAAe;AAC5D,QAAMC,IAAQ,CAAA;AAGd,aAAWC,KAAOH,GAAO;AACvB,UAAMI,IAAQJ,EAAMG,CAAG;AACvB,QAAIF,GAAe,eAAeE,CAAG,GAAG;AACtC,YAAME,IAAcJ,EAAcE,CAAG,EAAEC,CAAK;AAC5C,MAAIC,KAAe,QACjB,OAAO,OAAOH,GAAOG,CAAW;AAElC;AAAA,IACF;AACA,IAAID,MAAU,KACZF,EAAM,QAAQC,EAAI,YAAW,CAAE,EAAE,IAAI,KAC5BC,MACTF,EAAM,QAAQC,EAAI,YAAW,CAAE,EAAE,IAAIC,EAAM,SAAQ;AAAA,EAEvD;AACA,SAAOF;AACT;","x_google_ignoreList":[0]}
package/dist/index345.js CHANGED
@@ -1,15 +1,7 @@
1
- function n(e, r) {
2
- if (e && !r)
3
- return e;
4
- if (!e && r)
5
- return r;
6
- if (e || r)
7
- return {
8
- ...e,
9
- ...r
10
- };
1
+ function t(n, o) {
2
+ return typeof n == "function" ? n(o) : n;
11
3
  }
12
4
  export {
13
- n as mergeObjects
5
+ t as resolveClassName
14
6
  };
15
7
  //# sourceMappingURL=index345.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index345.js","sources":["../../../node_modules/@base-ui/utils/mergeObjects.mjs"],"sourcesContent":["export function mergeObjects(a, b) {\n if (a && !b) {\n return a;\n }\n if (!a && b) {\n return b;\n }\n if (a || b) {\n return {\n ...a,\n ...b\n };\n }\n return undefined;\n}"],"names":["mergeObjects","a","b"],"mappings":"AAAO,SAASA,EAAaC,GAAGC,GAAG;AACjC,MAAID,KAAK,CAACC;AACR,WAAOD;AAET,MAAI,CAACA,KAAKC;AACR,WAAOA;AAET,MAAID,KAAKC;AACP,WAAO;AAAA,MACL,GAAGD;AAAA,MACH,GAAGC;AAAA,IACT;AAGA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index345.js","sources":["../../../node_modules/@base-ui/react/utils/resolveClassName.mjs"],"sourcesContent":["/**\n * If the provided className is a string, it will be returned as is.\n * Otherwise, the function will call the className function with the state as the first argument.\n *\n * @param className\n * @param state\n */\nexport function resolveClassName(className, state) {\n return typeof className === 'function' ? className(state) : className;\n}"],"names":["resolveClassName","className","state"],"mappings":"AAOO,SAASA,EAAiBC,GAAWC,GAAO;AACjD,SAAO,OAAOD,KAAc,aAAaA,EAAUC,CAAK,IAAID;AAC9D;","x_google_ignoreList":[0]}
package/dist/index346.js CHANGED
@@ -1,12 +1,7 @@
1
- let n;
2
- process.env.NODE_ENV !== "production" && (n = /* @__PURE__ */ new Set());
3
- function s(...o) {
4
- if (process.env.NODE_ENV !== "production") {
5
- const e = o.join(" ");
6
- n.has(e) || (n.add(e), console.warn(`Base UI: ${e}`));
7
- }
1
+ function e(n, o) {
2
+ return typeof n == "function" ? n(o) : n;
8
3
  }
9
4
  export {
10
- s as warn
5
+ e as resolveStyle
11
6
  };
12
7
  //# sourceMappingURL=index346.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index346.js","sources":["../../../node_modules/@base-ui/utils/warn.mjs"],"sourcesContent":["let set;\nif (process.env.NODE_ENV !== 'production') {\n set = new Set();\n}\nexport function warn(...messages) {\n if (process.env.NODE_ENV !== 'production') {\n const messageKey = messages.join(' ');\n if (!set.has(messageKey)) {\n set.add(messageKey);\n console.warn(`Base UI: ${messageKey}`);\n }\n }\n}"],"names":["set","warn","messages","messageKey"],"mappings":"AAAA,IAAIA;AACA,QAAQ,IAAI,aAAa,iBAC3BA,IAAM,oBAAI,IAAG;AAER,SAASC,KAAQC,GAAU;AAChC,MAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,UAAMC,IAAaD,EAAS,KAAK,GAAG;AACpC,IAAKF,EAAI,IAAIG,CAAU,MACrBH,EAAI,IAAIG,CAAU,GAClB,QAAQ,KAAK,YAAYA,CAAU,EAAE;AAAA,EAEzC;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index346.js","sources":["../../../node_modules/@base-ui/react/utils/resolveStyle.mjs"],"sourcesContent":["/**\n * If the provided style is an object, it will be returned as is.\n * Otherwise, the function will call the style function with the state as the first argument.\n *\n * @param style\n * @param state\n */\nexport function resolveStyle(style, state) {\n return typeof style === 'function' ? style(state) : style;\n}"],"names":["resolveStyle","style","state"],"mappings":"AAOO,SAASA,EAAaC,GAAOC,GAAO;AACzC,SAAO,OAAOD,KAAU,aAAaA,EAAMC,CAAK,IAAID;AACtD;","x_google_ignoreList":[0]}
package/dist/index347.js CHANGED
@@ -1,17 +1,21 @@
1
- function i(r, n) {
2
- const o = {};
3
- for (const t in r) {
4
- const e = r[t];
5
- if (n?.hasOwnProperty(t)) {
6
- const s = n[t](e);
7
- s != null && Object.assign(o, s);
8
- continue;
9
- }
10
- e === !0 ? o[`data-${t.toLowerCase()}`] = "" : e && (o[`data-${t.toLowerCase()}`] = e.toString());
1
+ import * as n from "react";
2
+ import { SafeReact as f } from "./index353.js";
3
+ let o = 0;
4
+ function l(u, t = "mui") {
5
+ const [e, s] = n.useState(u), c = u || e;
6
+ return n.useEffect(() => {
7
+ e == null && (o += 1, s(`${t}-${o}`));
8
+ }, [e, t]), c;
9
+ }
10
+ const a = f.useId;
11
+ function I(u, t) {
12
+ if (a !== void 0) {
13
+ const e = a();
14
+ return u ?? (t ? `${t}-${e}` : e);
11
15
  }
12
- return o;
16
+ return l(u, t);
13
17
  }
14
18
  export {
15
- i as getStateAttributesProps
19
+ I as useId
16
20
  };
17
21
  //# sourceMappingURL=index347.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index347.js","sources":["../../../node_modules/@base-ui/react/internals/getStateAttributesProps.mjs"],"sourcesContent":["export function getStateAttributesProps(state, customMapping) {\n const props = {};\n\n /* eslint-disable-next-line guard-for-in */\n for (const key in state) {\n const value = state[key];\n if (customMapping?.hasOwnProperty(key)) {\n const customProps = customMapping[key](value);\n if (customProps != null) {\n Object.assign(props, customProps);\n }\n continue;\n }\n if (value === true) {\n props[`data-${key.toLowerCase()}`] = '';\n } else if (value) {\n props[`data-${key.toLowerCase()}`] = value.toString();\n }\n }\n return props;\n}"],"names":["getStateAttributesProps","state","customMapping","props","key","value","customProps"],"mappings":"AAAO,SAASA,EAAwBC,GAAOC,GAAe;AAC5D,QAAMC,IAAQ,CAAA;AAGd,aAAWC,KAAOH,GAAO;AACvB,UAAMI,IAAQJ,EAAMG,CAAG;AACvB,QAAIF,GAAe,eAAeE,CAAG,GAAG;AACtC,YAAME,IAAcJ,EAAcE,CAAG,EAAEC,CAAK;AAC5C,MAAIC,KAAe,QACjB,OAAO,OAAOH,GAAOG,CAAW;AAElC;AAAA,IACF;AACA,IAAID,MAAU,KACZF,EAAM,QAAQC,EAAI,YAAW,CAAE,EAAE,IAAI,KAC5BC,MACTF,EAAM,QAAQC,EAAI,YAAW,CAAE,EAAE,IAAIC,EAAM,SAAQ;AAAA,EAEvD;AACA,SAAOF;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index347.js","sources":["../../../node_modules/@base-ui/utils/useId.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { SafeReact } from \"./safeReact.mjs\";\nlet globalId = 0;\n\n// TODO React 17: Remove `useGlobalId` once React 17 support is removed\nfunction useGlobalId(idOverride, prefix = 'mui') {\n const [defaultId, setDefaultId] = React.useState(idOverride);\n const id = idOverride || defaultId;\n React.useEffect(() => {\n if (defaultId == null) {\n // Fallback to this default id when possible.\n // Use the incrementing value for client-side rendering only.\n // We can't use it server-side.\n // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem\n globalId += 1;\n setDefaultId(`${prefix}-${globalId}`);\n }\n }, [defaultId, prefix]);\n return id;\n}\nconst maybeReactUseId = SafeReact.useId;\n\n/**\n *\n * @example <div id={useId()} />\n * @param idOverride\n * @returns {string}\n */\nexport function useId(idOverride, prefix) {\n // React.useId() is only available from React 17.0.0.\n if (maybeReactUseId !== undefined) {\n const reactId = maybeReactUseId();\n return idOverride ?? (prefix ? `${prefix}-${reactId}` : reactId);\n }\n\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.\n return useGlobalId(idOverride, prefix);\n}"],"names":["globalId","useGlobalId","idOverride","prefix","defaultId","setDefaultId","React","id","maybeReactUseId","SafeReact","useId","reactId"],"mappings":";;AAIA,IAAIA,IAAW;AAGf,SAASC,EAAYC,GAAYC,IAAS,OAAO;AAC/C,QAAM,CAACC,GAAWC,CAAY,IAAIC,EAAM,SAASJ,CAAU,GACrDK,IAAKL,KAAcE;AACzB,SAAAE,EAAM,UAAU,MAAM;AACpB,IAAIF,KAAa,SAKfJ,KAAY,GACZK,EAAa,GAAGF,CAAM,IAAIH,CAAQ,EAAE;AAAA,EAExC,GAAG,CAACI,GAAWD,CAAM,CAAC,GACfI;AACT;AACA,MAAMC,IAAkBC,EAAU;AAQ3B,SAASC,EAAMR,GAAYC,GAAQ;AAExC,MAAIK,MAAoB,QAAW;AACjC,UAAMG,IAAUH,EAAe;AAC/B,WAAON,MAAeC,IAAS,GAAGA,CAAM,IAAIQ,CAAO,KAAKA;AAAA,EAC1D;AAIA,SAAOV,EAAYC,GAAYC,CAAM;AACvC;","x_google_ignoreList":[0]}
package/dist/index348.js CHANGED
@@ -1,7 +1,55 @@
1
- function t(n, o) {
2
- return typeof n == "function" ? n(o) : n;
1
+ import * as l from "react-dom";
2
+ import { useAnimationFrame as b } from "./index301.js";
3
+ import { useStableCallback as A } from "./index262.js";
4
+ import { resolveRef as d } from "./index387.js";
5
+ import { TransitionStatusDataAttributes as h } from "./index174.js";
6
+ function y(c, f = !1, m = !0) {
7
+ const o = b();
8
+ return A((s, n = null) => {
9
+ o.cancel();
10
+ const a = d(c);
11
+ if (a == null)
12
+ return;
13
+ const e = a, u = () => {
14
+ l.flushSync(s);
15
+ };
16
+ if (typeof e.getAnimations != "function" || globalThis.BASE_UI_ANIMATIONS_DISABLED) {
17
+ s();
18
+ return;
19
+ }
20
+ function i() {
21
+ Promise.all(e.getAnimations().map((t) => t.finished)).then(() => {
22
+ n?.aborted || u();
23
+ }).catch(() => {
24
+ if (m) {
25
+ n?.aborted || u();
26
+ return;
27
+ }
28
+ const t = e.getAnimations();
29
+ !n?.aborted && t.length > 0 && t.some((r) => r.pending || r.playState !== "finished") && i();
30
+ });
31
+ }
32
+ if (f) {
33
+ const t = h.startingStyle;
34
+ if (!e.hasAttribute(t)) {
35
+ o.request(i);
36
+ return;
37
+ }
38
+ const r = new MutationObserver(() => {
39
+ e.hasAttribute(t) || (r.disconnect(), i());
40
+ });
41
+ r.observe(e, {
42
+ attributes: !0,
43
+ attributeFilter: [t]
44
+ }), n?.addEventListener("abort", () => r.disconnect(), {
45
+ once: !0
46
+ });
47
+ return;
48
+ }
49
+ o.request(i);
50
+ });
3
51
  }
4
52
  export {
5
- t as resolveClassName
53
+ y as useAnimationsFinished
6
54
  };
7
55
  //# sourceMappingURL=index348.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index348.js","sources":["../../../node_modules/@base-ui/react/utils/resolveClassName.mjs"],"sourcesContent":["/**\n * If the provided className is a string, it will be returned as is.\n * Otherwise, the function will call the className function with the state as the first argument.\n *\n * @param className\n * @param state\n */\nexport function resolveClassName(className, state) {\n return typeof className === 'function' ? className(state) : className;\n}"],"names":["resolveClassName","className","state"],"mappings":"AAOO,SAASA,EAAiBC,GAAWC,GAAO;AACjD,SAAO,OAAOD,KAAc,aAAaA,EAAUC,CAAK,IAAID;AAC9D;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index348.js","sources":["../../../node_modules/@base-ui/react/internals/useAnimationsFinished.mjs"],"sourcesContent":["'use client';\n\nimport * as ReactDOM from 'react-dom';\nimport { useAnimationFrame } from '@base-ui/utils/useAnimationFrame';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { resolveRef } from \"../utils/resolveRef.mjs\";\nimport { TransitionStatusDataAttributes } from \"./stateAttributesMapping.mjs\";\n\n/**\n * Executes a function once all animations have finished on the provided element.\n * @param elementOrRef - The element to watch for animations.\n * @param waitForStartingStyleRemoved - Whether to wait for [data-starting-style] to be removed before checking for animations.\n * @param treatAbortedAsFinished - Whether to treat aborted animations as finished. If `false`, and there are aborted animations,\n * the function will check again if any new animations have started and wait for them to finish.\n * @returns A function that takes a callback to execute once all animations have finished, and an optional AbortSignal to abort the callback\n */\nexport function useAnimationsFinished(elementOrRef, waitForStartingStyleRemoved = false, treatAbortedAsFinished = true) {\n const frame = useAnimationFrame();\n return useStableCallback((fnToExecute,\n /**\n * An optional [AbortSignal](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) that\n * can be used to abort `fnToExecute` before all the animations have finished.\n * @default null\n */\n signal = null) => {\n frame.cancel();\n const element = resolveRef(elementOrRef);\n if (element == null) {\n return;\n }\n const resolvedElement = element;\n const done = () => {\n // Synchronously flush the unmounting of the component so that the browser doesn't\n // paint: https://github.com/mui/base-ui/issues/979\n ReactDOM.flushSync(fnToExecute);\n };\n if (typeof resolvedElement.getAnimations !== 'function' || globalThis.BASE_UI_ANIMATIONS_DISABLED) {\n fnToExecute();\n return;\n }\n function exec() {\n Promise.all(resolvedElement.getAnimations().map(animation => animation.finished)).then(() => {\n if (!signal?.aborted) {\n done();\n }\n }).catch(() => {\n if (treatAbortedAsFinished) {\n if (!signal?.aborted) {\n done();\n }\n return;\n }\n const currentAnimations = resolvedElement.getAnimations();\n if (!signal?.aborted && currentAnimations.length > 0 && currentAnimations.some(animation => animation.pending || animation.playState !== 'finished')) {\n // Sometimes animations can be aborted because a property they depend on changes while the animation plays.\n // In such cases, we need to re-check if any new animations have started.\n exec();\n }\n });\n }\n if (waitForStartingStyleRemoved) {\n const startingStyleAttribute = TransitionStatusDataAttributes.startingStyle;\n\n // If `[data-starting-style]` isn't present, fall back to waiting one more frame\n // to give \"open\" animations a chance to be registered.\n if (!resolvedElement.hasAttribute(startingStyleAttribute)) {\n frame.request(exec);\n return;\n }\n\n // Wait for `[data-starting-style]` to have been removed.\n const attributeObserver = new MutationObserver(() => {\n if (!resolvedElement.hasAttribute(startingStyleAttribute)) {\n attributeObserver.disconnect();\n exec();\n }\n });\n attributeObserver.observe(resolvedElement, {\n attributes: true,\n attributeFilter: [startingStyleAttribute]\n });\n signal?.addEventListener('abort', () => attributeObserver.disconnect(), {\n once: true\n });\n return;\n }\n frame.request(exec);\n });\n}"],"names":["useAnimationsFinished","elementOrRef","waitForStartingStyleRemoved","treatAbortedAsFinished","frame","useAnimationFrame","useStableCallback","fnToExecute","signal","element","resolveRef","resolvedElement","done","ReactDOM","exec","animation","currentAnimations","startingStyleAttribute","TransitionStatusDataAttributes","attributeObserver"],"mappings":";;;;;AAgBO,SAASA,EAAsBC,GAAcC,IAA8B,IAAOC,IAAyB,IAAM;AACtH,QAAMC,IAAQC,EAAiB;AAC/B,SAAOC,EAAkB,CAACC,GAM1BC,IAAS,SAAS;AAChB,IAAAJ,EAAM,OAAM;AACZ,UAAMK,IAAUC,EAAWT,CAAY;AACvC,QAAIQ,KAAW;AACb;AAEF,UAAME,IAAkBF,GAClBG,IAAO,MAAM;AAGjB,MAAAC,EAAS,UAAUN,CAAW;AAAA,IAChC;AACA,QAAI,OAAOI,EAAgB,iBAAkB,cAAc,WAAW,6BAA6B;AACjG,MAAAJ,EAAW;AACX;AAAA,IACF;AACA,aAASO,IAAO;AACd,cAAQ,IAAIH,EAAgB,gBAAgB,IAAI,CAAAI,MAAaA,EAAU,QAAQ,CAAC,EAAE,KAAK,MAAM;AAC3F,QAAKP,GAAQ,WACXI,EAAI;AAAA,MAER,CAAC,EAAE,MAAM,MAAM;AACb,YAAIT,GAAwB;AAC1B,UAAKK,GAAQ,WACXI,EAAI;AAEN;AAAA,QACF;AACA,cAAMI,IAAoBL,EAAgB,cAAa;AACvD,QAAI,CAACH,GAAQ,WAAWQ,EAAkB,SAAS,KAAKA,EAAkB,KAAK,CAAAD,MAAaA,EAAU,WAAWA,EAAU,cAAc,UAAU,KAGjJD,EAAI;AAAA,MAER,CAAC;AAAA,IACH;AACA,QAAIZ,GAA6B;AAC/B,YAAMe,IAAyBC,EAA+B;AAI9D,UAAI,CAACP,EAAgB,aAAaM,CAAsB,GAAG;AACzD,QAAAb,EAAM,QAAQU,CAAI;AAClB;AAAA,MACF;AAGA,YAAMK,IAAoB,IAAI,iBAAiB,MAAM;AACnD,QAAKR,EAAgB,aAAaM,CAAsB,MACtDE,EAAkB,WAAU,GAC5BL,EAAI;AAAA,MAER,CAAC;AACD,MAAAK,EAAkB,QAAQR,GAAiB;AAAA,QACzC,YAAY;AAAA,QACZ,iBAAiB,CAACM,CAAsB;AAAA,MAChD,CAAO,GACDT,GAAQ,iBAAiB,SAAS,MAAMW,EAAkB,WAAU,GAAI;AAAA,QACtE,MAAM;AAAA,MACd,CAAO;AACD;AAAA,IACF;AACA,IAAAf,EAAM,QAAQU,CAAI;AAAA,EACpB,CAAC;AACH;","x_google_ignoreList":[0]}
package/dist/index349.js CHANGED
@@ -1,7 +1,9 @@
1
- function e(n, o) {
2
- return typeof n == "function" ? n(o) : n;
1
+ import * as t from "react";
2
+ const e = parseInt(t.version, 10);
3
+ function o(r) {
4
+ return e >= r;
3
5
  }
4
6
  export {
5
- e as resolveStyle
7
+ o as isReactVersionAtLeast
6
8
  };
7
9
  //# sourceMappingURL=index349.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index349.js","sources":["../../../node_modules/@base-ui/react/utils/resolveStyle.mjs"],"sourcesContent":["/**\n * If the provided style is an object, it will be returned as is.\n * Otherwise, the function will call the style function with the state as the first argument.\n *\n * @param style\n * @param state\n */\nexport function resolveStyle(style, state) {\n return typeof style === 'function' ? style(state) : style;\n}"],"names":["resolveStyle","style","state"],"mappings":"AAOO,SAASA,EAAaC,GAAOC,GAAO;AACzC,SAAO,OAAOD,KAAU,aAAaA,EAAMC,CAAK,IAAID;AACtD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index349.js","sources":["../../../node_modules/@base-ui/utils/reactVersion.mjs"],"sourcesContent":["import * as React from 'react';\nconst majorVersion = parseInt(React.version, 10);\nexport function isReactVersionAtLeast(reactVersionToCheck) {\n return majorVersion >= reactVersionToCheck;\n}"],"names":["majorVersion","React","isReactVersionAtLeast","reactVersionToCheck"],"mappings":";AACA,MAAMA,IAAe,SAASC,EAAM,SAAS,EAAE;AACxC,SAASC,EAAsBC,GAAqB;AACzD,SAAOH,KAAgBG;AACzB;","x_google_ignoreList":[0]}