@rpcbase/ui 0.280.0 → 0.282.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 (519) hide show
  1. package/dist/components/AddressAutocompleteInput/index.d.ts +1 -1
  2. package/dist/components/AddressAutocompleteInput/index.d.ts.map +1 -1
  3. package/dist/components/ApplePayButton/index.d.ts +1 -1
  4. package/dist/components/ApplePayButton/index.d.ts.map +1 -1
  5. package/dist/components/Checkbox/index.d.ts +1 -1
  6. package/dist/components/Checkbox/index.d.ts.map +1 -1
  7. package/dist/components/DayPickerField/index.d.ts +2 -2
  8. package/dist/components/DayPickerField/index.d.ts.map +1 -1
  9. package/dist/components/Dialog/index.d.ts +9 -9
  10. package/dist/components/Dialog/index.d.ts.map +1 -1
  11. package/dist/components/FilesUploadField/index.d.ts +1 -1
  12. package/dist/components/FilesUploadField/index.d.ts.map +1 -1
  13. package/dist/components/HourPickerField/index.d.ts +2 -2
  14. package/dist/components/HourPickerField/index.d.ts.map +1 -1
  15. package/dist/components/I18nField/index.d.ts +1 -1
  16. package/dist/components/I18nField/index.d.ts.map +1 -1
  17. package/dist/components/Image/index.d.ts +1 -1
  18. package/dist/components/Image/index.d.ts.map +1 -1
  19. package/dist/components/ImagesField/index.d.ts +1 -1
  20. package/dist/components/ImagesField/index.d.ts.map +1 -1
  21. package/dist/components/Input/index.d.ts +1 -1
  22. package/dist/components/Input/index.d.ts.map +1 -1
  23. package/dist/components/Notifications/NotificationsButton.d.ts +1 -1
  24. package/dist/components/Notifications/NotificationsButton.d.ts.map +1 -1
  25. package/dist/components/Notifications/NotificationsDrawer.d.ts +1 -1
  26. package/dist/components/Notifications/NotificationsDrawer.d.ts.map +1 -1
  27. package/dist/components/Notifications/NotificationsSettings.d.ts +1 -1
  28. package/dist/components/Notifications/NotificationsSettings.d.ts.map +1 -1
  29. package/dist/components/PhoneNumberInput/suggestions.d.ts +3 -3
  30. package/dist/components/PhoneNumberInput/suggestions.d.ts.map +1 -1
  31. package/dist/components/Select/index.d.ts +2 -2
  32. package/dist/components/Select/index.d.ts.map +1 -1
  33. package/dist/components/header/MenuPopover/index.d.ts +1 -1
  34. package/dist/components/header/MenuPopover/index.d.ts.map +1 -1
  35. package/dist/index.js +12 -12
  36. package/dist/index10.js +6 -4
  37. package/dist/index10.js.map +1 -1
  38. package/dist/index12.js.map +1 -1
  39. package/dist/index13.js.map +1 -1
  40. package/dist/index14.js +88 -88
  41. package/dist/index14.js.map +1 -1
  42. package/dist/index15.js.map +1 -1
  43. package/dist/index154.js +19 -7
  44. package/dist/index154.js.map +1 -1
  45. package/dist/index16.js +36 -45
  46. package/dist/index16.js.map +1 -1
  47. package/dist/index160.js +3 -3
  48. package/dist/index160.js.map +1 -1
  49. package/dist/index166.js +5 -5
  50. package/dist/index166.js.map +1 -1
  51. package/dist/index172.js +27 -25
  52. package/dist/index172.js.map +1 -1
  53. package/dist/index181.js +1 -1
  54. package/dist/index181.js.map +1 -1
  55. package/dist/index182.js +145 -162
  56. package/dist/index182.js.map +1 -1
  57. package/dist/index184.js +6 -8
  58. package/dist/index184.js.map +1 -1
  59. package/dist/index186.js +2 -8
  60. package/dist/index186.js.map +1 -1
  61. package/dist/index19.js +1 -1
  62. package/dist/index19.js.map +1 -1
  63. package/dist/index195.js +1 -1
  64. package/dist/index195.js.map +1 -1
  65. package/dist/index196.js +2 -2
  66. package/dist/index196.js.map +1 -1
  67. package/dist/index197.js +1 -1
  68. package/dist/index197.js.map +1 -1
  69. package/dist/index198.js +16 -15
  70. package/dist/index198.js.map +1 -1
  71. package/dist/index199.js +13 -17
  72. package/dist/index199.js.map +1 -1
  73. package/dist/index200.js +3 -2
  74. package/dist/index200.js.map +1 -1
  75. package/dist/index207.js +5 -90
  76. package/dist/index207.js.map +1 -1
  77. package/dist/index208.js +15 -3
  78. package/dist/index208.js.map +1 -1
  79. package/dist/index209.js +102 -22
  80. package/dist/index209.js.map +1 -1
  81. package/dist/index210.js +3 -28
  82. package/dist/index210.js.map +1 -1
  83. package/dist/index211.js +23 -19
  84. package/dist/index211.js.map +1 -1
  85. package/dist/index212.js +27 -6
  86. package/dist/index212.js.map +1 -1
  87. package/dist/index213.js +19 -14
  88. package/dist/index213.js.map +1 -1
  89. package/dist/index214.js +5 -6
  90. package/dist/index214.js.map +1 -1
  91. package/dist/index215.js +14 -26
  92. package/dist/index215.js.map +1 -1
  93. package/dist/index216.js +7 -22
  94. package/dist/index216.js.map +1 -1
  95. package/dist/index217.js +27 -6
  96. package/dist/index217.js.map +1 -1
  97. package/dist/index218.js +23 -5
  98. package/dist/index218.js.map +1 -1
  99. package/dist/index219.js +6 -4
  100. package/dist/index219.js.map +1 -1
  101. package/dist/index220.js +5 -4
  102. package/dist/index220.js.map +1 -1
  103. package/dist/index221.js +4 -24
  104. package/dist/index221.js.map +1 -1
  105. package/dist/index222.js +4 -3
  106. package/dist/index222.js.map +1 -1
  107. package/dist/index223.js +21 -21
  108. package/dist/index223.js.map +1 -1
  109. package/dist/index224.js +3 -23
  110. package/dist/index224.js.map +1 -1
  111. package/dist/index225.js +23 -6
  112. package/dist/index225.js.map +1 -1
  113. package/dist/index226.js +22 -9
  114. package/dist/index226.js.map +1 -1
  115. package/dist/index227.js +5 -17
  116. package/dist/index227.js.map +1 -1
  117. package/dist/index228.js +8 -49
  118. package/dist/index228.js.map +1 -1
  119. package/dist/index229.js +18 -5
  120. package/dist/index229.js.map +1 -1
  121. package/dist/index230.js +50 -19
  122. package/dist/index230.js.map +1 -1
  123. package/dist/index231.js +20 -28
  124. package/dist/index231.js.map +1 -1
  125. package/dist/index232.js +27 -104
  126. package/dist/index232.js.map +1 -1
  127. package/dist/index233.js +98 -33
  128. package/dist/index233.js.map +1 -1
  129. package/dist/index234.js +28 -113
  130. package/dist/index234.js.map +1 -1
  131. package/dist/index235.js +117 -11
  132. package/dist/index235.js.map +1 -1
  133. package/dist/index236.js +12 -4
  134. package/dist/index236.js.map +1 -1
  135. package/dist/index237.js +4 -15
  136. package/dist/index237.js.map +1 -1
  137. package/dist/index238.js +13 -62
  138. package/dist/index238.js.map +1 -1
  139. package/dist/index239.js +64 -9
  140. package/dist/index239.js.map +1 -1
  141. package/dist/index240.js +10 -106
  142. package/dist/index240.js.map +1 -1
  143. package/dist/index241.js +107 -13
  144. package/dist/index241.js.map +1 -1
  145. package/dist/index242.js +16 -13
  146. package/dist/index242.js.map +1 -1
  147. package/dist/index243.js +13 -5
  148. package/dist/index243.js.map +1 -1
  149. package/dist/index244.js +4 -316
  150. package/dist/index244.js.map +1 -1
  151. package/dist/index245.js +315 -58
  152. package/dist/index245.js.map +1 -1
  153. package/dist/index246.js +58 -223
  154. package/dist/index246.js.map +1 -1
  155. package/dist/index247.js +215 -318
  156. package/dist/index247.js.map +1 -1
  157. package/dist/index248.js +250 -306
  158. package/dist/index248.js.map +1 -1
  159. package/dist/index249.js +308 -173
  160. package/dist/index249.js.map +1 -1
  161. package/dist/index250.js +178 -7
  162. package/dist/index250.js.map +1 -1
  163. package/dist/index251.js +8 -15
  164. package/dist/index251.js.map +1 -1
  165. package/dist/index252.js +41 -5
  166. package/dist/index252.js.map +1 -1
  167. package/dist/index253.js +46 -38
  168. package/dist/index253.js.map +1 -1
  169. package/dist/index254.js +7 -50
  170. package/dist/index254.js.map +1 -1
  171. package/dist/index255.js +49 -6
  172. package/dist/index255.js.map +1 -1
  173. package/dist/index256.js +48 -46
  174. package/dist/index256.js.map +1 -1
  175. package/dist/index257.js +6 -51
  176. package/dist/index257.js.map +1 -1
  177. package/dist/index258.js +10 -9
  178. package/dist/index258.js.map +1 -1
  179. package/dist/index259.js +60 -8
  180. package/dist/index259.js.map +1 -1
  181. package/dist/index26.js.map +1 -1
  182. package/dist/index260.js +41 -60
  183. package/dist/index260.js.map +1 -1
  184. package/dist/index261.js +88 -34
  185. package/dist/index261.js.map +1 -1
  186. package/dist/index262.js +47 -94
  187. package/dist/index262.js.map +1 -1
  188. package/dist/index263.js +36 -49
  189. package/dist/index263.js.map +1 -1
  190. package/dist/index264.js +45 -32
  191. package/dist/index264.js.map +1 -1
  192. package/dist/index265.js +47 -46
  193. package/dist/index265.js.map +1 -1
  194. package/dist/index266.js +18 -48
  195. package/dist/index266.js.map +1 -1
  196. package/dist/index267.js +174 -15
  197. package/dist/index267.js.map +1 -1
  198. package/dist/index268.js +47 -169
  199. package/dist/index268.js.map +1 -1
  200. package/dist/index269.js +17 -34
  201. package/dist/index269.js.map +1 -1
  202. package/dist/index270.js +59 -10
  203. package/dist/index270.js.map +1 -1
  204. package/dist/index271.js +10 -66
  205. package/dist/index271.js.map +1 -1
  206. package/dist/index272.js +4 -4
  207. package/dist/index273.js +71 -69
  208. package/dist/index273.js.map +1 -1
  209. package/dist/index274.js +158 -152
  210. package/dist/index274.js.map +1 -1
  211. package/dist/index275.js +7 -13
  212. package/dist/index275.js.map +1 -1
  213. package/dist/index276.js +12 -5
  214. package/dist/index276.js.map +1 -1
  215. package/dist/index277.js +12 -6
  216. package/dist/index277.js.map +1 -1
  217. package/dist/index278.js +11 -12
  218. package/dist/index278.js.map +1 -1
  219. package/dist/index279.js +65 -9
  220. package/dist/index279.js.map +1 -1
  221. package/dist/index280.js +6 -74
  222. package/dist/index280.js.map +1 -1
  223. package/dist/index281.js +25 -6
  224. package/dist/index281.js.map +1 -1
  225. package/dist/index282.js +24 -24
  226. package/dist/index282.js.map +1 -1
  227. package/dist/index283.js +125 -24
  228. package/dist/index283.js.map +1 -1
  229. package/dist/index284.js +52 -115
  230. package/dist/index284.js.map +1 -1
  231. package/dist/index285.js +59 -55
  232. package/dist/index285.js.map +1 -1
  233. package/dist/index286.js +48 -61
  234. package/dist/index286.js.map +1 -1
  235. package/dist/index287.js +5 -48
  236. package/dist/index287.js.map +1 -1
  237. package/dist/index288.js +14 -8
  238. package/dist/index288.js.map +1 -1
  239. package/dist/index289.js +18 -14
  240. package/dist/index289.js.map +1 -1
  241. package/dist/index290.js +10 -17
  242. package/dist/index290.js.map +1 -1
  243. package/dist/index291.js +23 -11
  244. package/dist/index291.js.map +1 -1
  245. package/dist/index292.js +52 -25
  246. package/dist/index292.js.map +1 -1
  247. package/dist/index293.js +6 -52
  248. package/dist/index293.js.map +1 -1
  249. package/dist/index294.js +137 -5
  250. package/dist/index294.js.map +1 -1
  251. package/dist/index295.js +59 -149
  252. package/dist/index295.js.map +1 -1
  253. package/dist/index296.js +90 -49
  254. package/dist/index296.js.map +1 -1
  255. package/dist/index297.js +11 -117
  256. package/dist/index297.js.map +1 -1
  257. package/dist/index298.js +863 -11
  258. package/dist/index298.js.map +1 -1
  259. package/dist/index299.js +21 -865
  260. package/dist/index299.js.map +1 -1
  261. package/dist/index3.js.map +1 -1
  262. package/dist/index300.js +417 -27
  263. package/dist/index300.js.map +1 -1
  264. package/dist/index301.js +774 -483
  265. package/dist/index301.js.map +1 -1
  266. package/dist/index302.js +7436 -803
  267. package/dist/index302.js.map +1 -1
  268. package/dist/index303.js +7 -7429
  269. package/dist/index303.js.map +1 -1
  270. package/dist/index304.js +12 -6
  271. package/dist/index304.js.map +1 -1
  272. package/dist/index305.js +5 -12
  273. package/dist/index305.js.map +1 -1
  274. package/dist/index306.js +3 -3
  275. package/dist/index306.js.map +1 -1
  276. package/dist/index307.js +469 -5
  277. package/dist/index307.js.map +1 -1
  278. package/dist/index308.js +32 -464
  279. package/dist/index308.js.map +1 -1
  280. package/dist/index309.js +18 -36
  281. package/dist/index309.js.map +1 -1
  282. package/dist/index310.js +28 -17
  283. package/dist/index310.js.map +1 -1
  284. package/dist/index311.js +4 -30
  285. package/dist/index311.js.map +1 -1
  286. package/dist/index312.js +59 -4
  287. package/dist/index312.js.map +1 -1
  288. package/dist/index313.js +11 -59
  289. package/dist/index313.js.map +1 -1
  290. package/dist/index314.js +5 -9
  291. package/dist/index314.js.map +1 -1
  292. package/dist/index315.js +9 -5
  293. package/dist/index315.js.map +1 -1
  294. package/dist/index316.js +12 -9
  295. package/dist/index316.js.map +1 -1
  296. package/dist/index317.js +3 -13
  297. package/dist/index317.js.map +1 -1
  298. package/dist/index318.js +17 -3
  299. package/dist/index318.js.map +1 -1
  300. package/dist/index319.js +23 -14
  301. package/dist/index319.js.map +1 -1
  302. package/dist/index320.js +39 -23
  303. package/dist/index320.js.map +1 -1
  304. package/dist/index321.js +5 -41
  305. package/dist/index321.js.map +1 -1
  306. package/dist/index322.js +25 -5
  307. package/dist/index322.js.map +1 -1
  308. package/dist/index323.js +18 -24
  309. package/dist/index323.js.map +1 -1
  310. package/dist/index324.js +32 -17
  311. package/dist/index324.js.map +1 -1
  312. package/dist/index325.js +5 -34
  313. package/dist/index325.js.map +1 -1
  314. package/dist/index326.js +9 -5
  315. package/dist/index326.js.map +1 -1
  316. package/dist/index327.js +7 -8
  317. package/dist/index327.js.map +1 -1
  318. package/dist/index328.js +9 -8
  319. package/dist/index328.js.map +1 -1
  320. package/dist/index329.js +10 -9
  321. package/dist/index329.js.map +1 -1
  322. package/dist/index330.js +7 -10
  323. package/dist/index330.js.map +1 -1
  324. package/dist/index331.js +75 -7
  325. package/dist/index331.js.map +1 -1
  326. package/dist/index332.js +153 -66
  327. package/dist/index332.js.map +1 -1
  328. package/dist/index333.js +99 -147
  329. package/dist/index333.js.map +1 -1
  330. package/dist/index334.js +13 -113
  331. package/dist/index334.js.map +1 -1
  332. package/dist/index335.js +78 -12
  333. package/dist/index335.js.map +1 -1
  334. package/dist/index336.js +23 -57
  335. package/dist/index336.js.map +1 -1
  336. package/dist/index337.js +12 -45
  337. package/dist/index337.js.map +1 -1
  338. package/dist/index338.js +16 -13
  339. package/dist/index338.js.map +1 -1
  340. package/dist/index339.js +100 -15
  341. package/dist/index339.js.map +1 -1
  342. package/dist/index340.js +50 -95
  343. package/dist/index340.js.map +1 -1
  344. package/dist/index341.js +57 -5
  345. package/dist/index341.js.map +1 -1
  346. package/dist/index342.js +41 -78
  347. package/dist/index342.js.map +1 -1
  348. package/dist/index343.js +100 -58
  349. package/dist/index343.js.map +1 -1
  350. package/dist/index344.js +46 -104
  351. package/dist/index344.js.map +1 -1
  352. package/dist/index345.js +39 -51
  353. package/dist/index345.js.map +1 -1
  354. package/dist/index346.js +143 -42
  355. package/dist/index346.js.map +1 -1
  356. package/dist/index347.js +122 -123
  357. package/dist/index347.js.map +1 -1
  358. package/dist/index348.js +224 -108
  359. package/dist/index348.js.map +1 -1
  360. package/dist/index349.js +158 -174
  361. package/dist/index349.js.map +1 -1
  362. package/dist/index350.js +213 -144
  363. package/dist/index350.js.map +1 -1
  364. package/dist/index351.js +5 -309
  365. package/dist/index351.js.map +1 -1
  366. package/dist/index352.js +6 -5
  367. package/dist/index352.js.map +1 -1
  368. package/dist/index353.js +7 -6
  369. package/dist/index353.js.map +1 -1
  370. package/dist/index354.js +4 -5
  371. package/dist/index354.js.map +1 -1
  372. package/dist/index355.js +4 -4
  373. package/dist/index355.js.map +1 -1
  374. package/dist/index356.js +21 -6
  375. package/dist/index356.js.map +1 -1
  376. package/dist/index357.js +10 -21
  377. package/dist/index357.js.map +1 -1
  378. package/dist/index358.js +128 -10
  379. package/dist/index358.js.map +1 -1
  380. package/dist/index359.js +36 -122
  381. package/dist/index359.js.map +1 -1
  382. package/dist/index360.js +64 -38
  383. package/dist/index360.js.map +1 -1
  384. package/dist/index361.js +115 -66
  385. package/dist/index361.js.map +1 -1
  386. package/dist/index362.js +485 -112
  387. package/dist/index362.js.map +1 -1
  388. package/dist/index363.js +7 -490
  389. package/dist/index363.js.map +1 -1
  390. package/dist/index364.js +1 -1
  391. package/dist/index364.js.map +1 -1
  392. package/dist/index367.js +2 -9
  393. package/dist/index367.js.map +1 -1
  394. package/dist/index368.js +26 -5
  395. package/dist/index368.js.map +1 -1
  396. package/dist/index369.js +43 -27
  397. package/dist/index369.js.map +1 -1
  398. package/dist/index370.js +35 -46
  399. package/dist/index370.js.map +1 -1
  400. package/dist/index371.js +16 -27
  401. package/dist/index371.js.map +1 -1
  402. package/dist/index372.js +41 -16
  403. package/dist/index372.js.map +1 -1
  404. package/dist/index373.js +11 -42
  405. package/dist/index373.js.map +1 -1
  406. package/dist/index374.js +10 -14
  407. package/dist/index374.js.map +1 -1
  408. package/dist/index375.js +51 -9
  409. package/dist/index375.js.map +1 -1
  410. package/dist/index376.js +40 -53
  411. package/dist/index376.js.map +1 -1
  412. package/dist/index377.js +17 -43
  413. package/dist/index377.js.map +1 -1
  414. package/dist/index378.js +4 -15
  415. package/dist/index378.js.map +1 -1
  416. package/dist/index379.js +4 -4
  417. package/dist/index379.js.map +1 -1
  418. package/dist/index380.js +9 -4
  419. package/dist/index380.js.map +1 -1
  420. package/dist/index381.js +304 -9
  421. package/dist/index381.js.map +1 -1
  422. package/dist/index382.js +4 -339
  423. package/dist/index382.js.map +1 -1
  424. package/dist/index383.js +21 -5
  425. package/dist/index383.js.map +1 -1
  426. package/dist/index384.js +106 -16
  427. package/dist/index384.js.map +1 -1
  428. package/dist/index385.js +19 -109
  429. package/dist/index385.js.map +1 -1
  430. package/dist/index386.js +18 -18
  431. package/dist/index386.js.map +1 -1
  432. package/dist/index387.js +14 -19
  433. package/dist/index387.js.map +1 -1
  434. package/dist/index388.js +12 -4
  435. package/dist/index388.js.map +1 -1
  436. package/dist/index389.js +113 -20
  437. package/dist/index389.js.map +1 -1
  438. package/dist/index390.js +5 -11
  439. package/dist/index390.js.map +1 -1
  440. package/dist/index391.js +28 -85
  441. package/dist/index391.js.map +1 -1
  442. package/dist/index392.js +9 -9
  443. package/dist/index392.js.map +1 -1
  444. package/dist/index393.js +6 -29
  445. package/dist/index393.js.map +1 -1
  446. package/dist/index394.js +254 -10
  447. package/dist/index394.js.map +1 -1
  448. package/dist/index395.js +12 -6
  449. package/dist/index395.js.map +1 -1
  450. package/dist/index396.js +11 -252
  451. package/dist/index396.js.map +1 -1
  452. package/dist/index397.js +6 -11
  453. package/dist/index397.js.map +1 -1
  454. package/dist/index398.js +22 -10
  455. package/dist/index398.js.map +1 -1
  456. package/dist/index399.js +22 -6
  457. package/dist/index399.js.map +1 -1
  458. package/dist/index4.js.map +1 -1
  459. package/dist/index400.js +103 -21
  460. package/dist/index400.js.map +1 -1
  461. package/dist/index401.js +15 -23
  462. package/dist/index401.js.map +1 -1
  463. package/dist/index402.js +11 -108
  464. package/dist/index402.js.map +1 -1
  465. package/dist/index403.js +10 -15
  466. package/dist/index403.js.map +1 -1
  467. package/dist/index404.js +237 -10
  468. package/dist/index404.js.map +1 -1
  469. package/dist/index405.js +27 -9
  470. package/dist/index405.js.map +1 -1
  471. package/dist/index406.js +33 -238
  472. package/dist/index406.js.map +1 -1
  473. package/dist/index407.js +11 -30
  474. package/dist/index407.js.map +1 -1
  475. package/dist/index408.js +118 -48
  476. package/dist/index408.js.map +1 -1
  477. package/dist/index409.js +39 -11
  478. package/dist/index409.js.map +1 -1
  479. package/dist/index410.js +18 -121
  480. package/dist/index410.js.map +1 -1
  481. package/dist/index411.js +11 -39
  482. package/dist/index411.js.map +1 -1
  483. package/dist/index412.js +21 -24
  484. package/dist/index412.js.map +1 -1
  485. package/dist/index413.js +17 -11
  486. package/dist/index413.js.map +1 -1
  487. package/dist/index414.js +10 -20
  488. package/dist/index414.js.map +1 -1
  489. package/dist/index415.js +4 -17
  490. package/dist/index415.js.map +1 -1
  491. package/dist/index416.js +300 -14
  492. package/dist/index416.js.map +1 -1
  493. package/dist/index417.js +61 -323
  494. package/dist/index417.js.map +1 -1
  495. package/dist/index418.js +4 -63
  496. package/dist/index418.js.map +1 -1
  497. package/dist/index419.js +28 -4
  498. package/dist/index419.js.map +1 -1
  499. package/dist/index420.js +468 -25
  500. package/dist/index420.js.map +1 -1
  501. package/dist/index421.js +250 -452
  502. package/dist/index421.js.map +1 -1
  503. package/dist/index6.js.map +1 -1
  504. package/dist/index7.js +91 -133
  505. package/dist/index7.js.map +1 -1
  506. package/dist/index70.js +2 -2
  507. package/dist/index70.js.map +1 -1
  508. package/dist/index71.js +11 -4
  509. package/dist/index71.js.map +1 -1
  510. package/dist/index72.js +1 -3
  511. package/dist/index72.js.map +1 -1
  512. package/dist/index8.js.map +1 -1
  513. package/dist/index9.js +16 -19
  514. package/dist/index9.js.map +1 -1
  515. package/dist/test-only/TestCoverageTestBadge/index.d.ts +1 -1
  516. package/dist/test-only/TestCoverageTestBadge/index.d.ts.map +1 -1
  517. package/package.json +15 -15
  518. package/dist/index422.js +0 -272
  519. package/dist/index422.js.map +0 -1
package/dist/index210.js CHANGED
@@ -1,31 +1,6 @@
1
- "use client";
2
- import { useDialogRootContext as e } from "./index184.js";
3
- import { useRenderElement as t } from "./index196.js";
4
- import { useButton as n } from "./index207.js";
5
- import { closePress as r } from "./index208.js";
6
- import { createChangeEventDetails as i } from "./index209.js";
7
- import * as a from "react";
8
- //#region ../../node_modules/@base-ui/react/dialog/close/DialogClose.mjs
9
- var o = /*#__PURE__*/ a.forwardRef(function(a, o) {
10
- let { render: s, className: c, style: l, disabled: u = !1, nativeButton: d = !0, ...f } = a, { store: p } = e(), m = p.useState("open"), { getButtonProps: h, buttonRef: g } = n({
11
- disabled: u,
12
- native: d
13
- }), _ = { disabled: u };
14
- function v(e) {
15
- m && p.setOpen(!1, i(r, e.nativeEvent));
16
- }
17
- return t("button", a, {
18
- state: _,
19
- ref: [o, g],
20
- props: [
21
- { onClick: v },
22
- f,
23
- h
24
- ]
25
- });
26
- });
27
- process.env.NODE_ENV !== "production" && (o.displayName = "DialogClose");
1
+ //#region ../../node_modules/@base-ui/react/internals/reason-parts.mjs
2
+ var e = "none", t = "trigger-press", n = "trigger-hover", r = "outside-press", i = "item-press", a = "close-press", o = "focus-out", s = "escape-key", c = "list-navigation", l = "cancel-open", u = "imperative-action", d = "window-resize";
28
3
  //#endregion
29
- export { o as DialogClose };
4
+ export { l as cancelOpen, a as closePress, s as escapeKey, o as focusOut, u as imperativeAction, i as itemPress, c as listNavigation, e as none, r as outsidePress, n as triggerHover, t as triggerPress, d as windowResize };
30
5
 
31
6
  //# sourceMappingURL=index210.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index210.js","names":["REASONS.closePress"],"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\";"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AAeA,IAAa,IAA2B,gBAAM,WAAW,SAAqB,GAAgB,GAAc;CAC1G,IAAM,EACJ,WACA,cACA,UACA,cAAW,IACX,kBAAe,IACf,GAAG,MACD,GACE,EACJ,aACE,EAAqB,GACnB,IAAO,EAAM,SAAS,MAAM,GAC5B,EACJ,mBACA,iBACE,EAAU;EACZ;EACA,QAAQ;CACV,CAAC,GACK,IAAQ,EACZ,YACF;CACA,SAAS,EAAY,GAAO;EAC1B,AAAI,KACF,EAAM,QAAQ,IAAO,EAAyBA,GAAoB,EAAM,WAAW,CAAC;CAExF;CACA,OAAO,EAAiB,UAAU,GAAgB;EAChD;EACA,KAAK,CAAC,GAAc,CAAS;EAC7B,OAAO;GAAC,EACN,SAAS,EACX;GAAG;GAAc;EAAc;CACjC,CAAC;AACH,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAY,cAAc"}
1
+ {"version":3,"file":"index210.js","names":[],"sources":["../../../node_modules/@base-ui/react/internals/reason-parts.mjs"],"sourcesContent":["export const none = 'none';\nexport const triggerPress = 'trigger-press';\nexport const triggerHover = 'trigger-hover';\nexport const triggerFocus = 'trigger-focus';\nexport const outsidePress = 'outside-press';\nexport const itemPress = 'item-press';\nexport const closePress = 'close-press';\nexport const linkPress = 'link-press';\nexport const clearPress = 'clear-press';\nexport const chipRemovePress = 'chip-remove-press';\nexport const trackPress = 'track-press';\nexport const incrementPress = 'increment-press';\nexport const decrementPress = 'decrement-press';\nexport const inputChange = 'input-change';\nexport const inputClear = 'input-clear';\nexport const inputBlur = 'input-blur';\nexport const inputPaste = 'input-paste';\nexport const inputPress = 'input-press';\nexport const focusOut = 'focus-out';\nexport const escapeKey = 'escape-key';\nexport const closeWatcher = 'close-watcher';\nexport const listNavigation = 'list-navigation';\nexport const keyboard = 'keyboard';\nexport const pointer = 'pointer';\nexport const drag = 'drag';\nexport const wheel = 'wheel';\nexport const scrub = 'scrub';\nexport const cancelOpen = 'cancel-open';\nexport const siblingOpen = 'sibling-open';\nexport const disabled = 'disabled';\nexport const missing = 'missing';\nexport const initial = 'initial';\nexport const imperativeAction = 'imperative-action';\nexport const swipe = 'swipe';\nexport const windowResize = 'window-resize';"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAa,IAAO,QACP,IAAe,iBACf,IAAe,iBAEf,IAAe,iBACf,IAAY,cACZ,IAAa,eAYb,IAAW,aACX,IAAY,cAEZ,IAAiB,mBAMjB,IAAa,eAKb,IAAmB,qBAEnB,IAAe"}
package/dist/index211.js CHANGED
@@ -1,23 +1,27 @@
1
- "use client";
2
- import { SafeReact as e } from "./index201.js";
3
- import * as t from "react";
4
- //#region ../../node_modules/@base-ui/utils/useId.mjs
5
- var n = 0;
6
- function r(e, r = "mui") {
7
- let [i, a] = t.useState(e), o = e || i;
8
- return t.useEffect(() => {
9
- i ?? (n += 1, a(`${r}-${n}`));
10
- }, [i, r]), o;
11
- }
12
- var i = e.useId;
13
- function a(e, t) {
14
- if (i !== void 0) {
15
- let n = i();
16
- return e ?? (t ? `${t}-${n}` : n);
17
- }
18
- return r(e, t);
1
+ import { EMPTY_OBJECT as e } from "./index191.js";
2
+ //#region ../../node_modules/@base-ui/react/internals/createBaseUIEventDetails.mjs
3
+ function t(t, n, r, i) {
4
+ let a = !1, o = !1, s = i ?? e;
5
+ return {
6
+ reason: t,
7
+ event: n ?? new Event("base-ui"),
8
+ cancel() {
9
+ a = !0;
10
+ },
11
+ allowPropagation() {
12
+ o = !0;
13
+ },
14
+ get isCanceled() {
15
+ return a;
16
+ },
17
+ get isPropagationAllowed() {
18
+ return o;
19
+ },
20
+ trigger: r,
21
+ ...s
22
+ };
19
23
  }
20
24
  //#endregion
21
- export { a as useId };
25
+ export { t as createChangeEventDetails };
22
26
 
23
27
  //# sourceMappingURL=index211.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index211.js","names":["React"],"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}"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAI,IAAW;AAGf,SAAS,EAAY,GAAY,IAAS,OAAO;CAC/C,IAAM,CAAC,GAAW,KAAgBA,EAAM,SAAS,CAAU,GACrD,IAAK,KAAc;CAWzB,OAVA,EAAM,gBAAgB;EACpB,AAAI,MAKF,KAAY,GACZ,EAAa,GAAG,EAAO,GAAG,GAAU;CAExC,GAAG,CAAC,GAAW,CAAM,CAAC,GACf;AACT;AACA,IAAM,IAAkB,EAAU;AAQlC,SAAgB,EAAM,GAAY,GAAQ;CAExC,IAAI,MAAoB,KAAA,GAAW;EACjC,IAAM,IAAU,EAAgB;EAChC,OAAO,MAAe,IAAS,GAAG,EAAO,GAAG,MAAY;CAC1D;CAIA,OAAO,EAAY,GAAY,CAAM;AACvC"}
1
+ {"version":3,"file":"index211.js","names":[],"sources":["../../../node_modules/@base-ui/react/internals/createBaseUIEventDetails.mjs"],"sourcesContent":["import { EMPTY_OBJECT } from '@base-ui/utils/empty';\nimport { REASONS } from \"./reasons.mjs\";\n\n/**\n * Maps a change `reason` string to the corresponding native event type.\n */\n\n/**\n * Details of custom change events emitted by Base UI components.\n */\n\n/**\n * Details of custom generic events emitted by Base UI components.\n */\n\n/**\n * Creates a Base UI event details object with the given reason and utilities\n * for preventing Base UI's internal event handling.\n */\nexport function createChangeEventDetails(reason, event, trigger, customProperties) {\n let canceled = false;\n let allowPropagation = false;\n const custom = customProperties ?? EMPTY_OBJECT;\n const details = {\n reason,\n event: event ?? new Event('base-ui'),\n cancel() {\n canceled = true;\n },\n allowPropagation() {\n allowPropagation = true;\n },\n get isCanceled() {\n return canceled;\n },\n get isPropagationAllowed() {\n return allowPropagation;\n },\n trigger,\n ...custom\n };\n return details;\n}\nexport function createGenericEventDetails(reason, event, customProperties) {\n const custom = customProperties ?? EMPTY_OBJECT;\n const details = {\n reason,\n event: event ?? new Event('base-ui'),\n ...custom\n };\n return details;\n}"],"x_google_ignoreList":[0],"mappings":";;AAmBA,SAAgB,EAAyB,GAAQ,GAAO,GAAS,GAAkB;CACjF,IAAI,IAAW,IACX,IAAmB,IACjB,IAAS,KAAoB;CAmBnC,OAAO;EAjBL;EACA,OAAO,KAAS,IAAI,MAAM,SAAS;EACnC,SAAS;GACP,IAAW;EACb;EACA,mBAAmB;GACjB,IAAmB;EACrB;EACA,IAAI,aAAa;GACf,OAAO;EACT;EACA,IAAI,uBAAuB;GACzB,OAAO;EACT;EACA;EACA,GAAG;CAEQ;AACf"}
package/dist/index212.js CHANGED
@@ -1,10 +1,31 @@
1
1
  "use client";
2
- import { useId as e } from "./index211.js";
3
- //#region ../../node_modules/@base-ui/react/internals/useBaseUiId.mjs
4
- function t(t) {
5
- return e(t, "base-ui");
6
- }
2
+ import { useDialogRootContext as e } from "./index184.js";
3
+ import { useRenderElement as t } from "./index196.js";
4
+ import { useButton as n } from "./index209.js";
5
+ import { closePress as r } from "./index210.js";
6
+ import { createChangeEventDetails as i } from "./index211.js";
7
+ import * as a from "react";
8
+ //#region ../../node_modules/@base-ui/react/dialog/close/DialogClose.mjs
9
+ var o = /*#__PURE__*/ a.forwardRef(function(a, o) {
10
+ let { render: s, className: c, style: l, disabled: u = !1, nativeButton: d = !0, ...f } = a, p = e(), m = p.useState("open"), { getButtonProps: h, buttonRef: g } = n({
11
+ disabled: u,
12
+ native: d
13
+ }), _ = { disabled: u };
14
+ function v(e) {
15
+ m && p.setOpen(!1, i(r, e.nativeEvent));
16
+ }
17
+ return t("button", a, {
18
+ state: _,
19
+ ref: [o, g],
20
+ props: [
21
+ { onClick: v },
22
+ f,
23
+ h
24
+ ]
25
+ });
26
+ });
27
+ process.env.NODE_ENV !== "production" && (o.displayName = "DialogClose");
7
28
  //#endregion
8
- export { t as useBaseUiId };
29
+ export { o as DialogClose };
9
30
 
10
31
  //# sourceMappingURL=index212.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index212.js","names":[],"sources":["../../../node_modules/@base-ui/react/internals/useBaseUiId.mjs"],"sourcesContent":["'use client';\n\nimport { useId } from '@base-ui/utils/useId';\n\n/**\n * Wraps `useId` and prefixes generated `id`s with `base-ui-`\n * @param {string | undefined} idOverride overrides the generated id when provided\n * @returns {string | undefined}\n */\nexport function useBaseUiId(idOverride) {\n return useId(idOverride, 'base-ui');\n}"],"x_google_ignoreList":[0],"mappings":";;;AASA,SAAgB,EAAY,GAAY;CACtC,OAAO,EAAM,GAAY,SAAS;AACpC"}
1
+ {"version":3,"file":"index212.js","names":["REASONS.closePress"],"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 store = 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\";"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AAeA,IAAa,IAA2B,gBAAM,WAAW,SAAqB,GAAgB,GAAc;CAC1G,IAAM,EACJ,WACA,cACA,UACA,cAAW,IACX,kBAAe,IACf,GAAG,MACD,GACE,IAAQ,EAAqB,GAC7B,IAAO,EAAM,SAAS,MAAM,GAC5B,EACJ,mBACA,iBACE,EAAU;EACZ;EACA,QAAQ;CACV,CAAC,GACK,IAAQ,EACZ,YACF;CACA,SAAS,EAAY,GAAO;EAC1B,AAAI,KACF,EAAM,QAAQ,IAAO,EAAyBA,GAAoB,EAAM,WAAW,CAAC;CAExF;CACA,OAAO,EAAiB,UAAU,GAAgB;EAChD;EACA,KAAK,CAAC,GAAc,CAAS;EAC7B,OAAO;GAAC,EACN,SAAS,EACX;GAAG;GAAc;EAAc;CACjC,CAAC;AACH,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAY,cAAc"}
package/dist/index213.js CHANGED
@@ -1,18 +1,23 @@
1
1
  "use client";
2
- import { useDialogRootContext as e } from "./index184.js";
3
- import { useRenderElement as t } from "./index196.js";
4
- import { useBaseUiId as n } from "./index212.js";
5
- import * as r from "react";
6
- //#region ../../node_modules/@base-ui/react/dialog/description/DialogDescription.mjs
7
- var i = /*#__PURE__*/ r.forwardRef(function(r, i) {
8
- let { render: a, className: o, style: s, id: c, ...l } = r, { store: u } = e(), d = n(c);
9
- return u.useSyncedValueWithCleanup("descriptionElementId", d), t("p", r, {
10
- ref: i,
11
- props: [{ id: d }, l]
12
- });
13
- });
14
- process.env.NODE_ENV !== "production" && (i.displayName = "DialogDescription");
2
+ import { SafeReact as e } from "./index201.js";
3
+ import * as t from "react";
4
+ //#region ../../node_modules/@base-ui/utils/useId.mjs
5
+ var n = 0;
6
+ function r(e, r = "mui") {
7
+ let [i, a] = t.useState(e), o = e || i;
8
+ return t.useEffect(() => {
9
+ i ?? (n += 1, a(`${r}-${n}`));
10
+ }, [i, r]), o;
11
+ }
12
+ var i = e.useId;
13
+ function a(e, t) {
14
+ if (i !== void 0) {
15
+ let n = i();
16
+ return e ?? (t ? `${t}-${n}` : n);
17
+ }
18
+ return r(e, t);
19
+ }
15
20
  //#endregion
16
- export { i as DialogDescription };
21
+ export { a as useId };
17
22
 
18
23
  //# sourceMappingURL=index213.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index213.js","names":[],"sources":["../../../node_modules/@base-ui/react/dialog/description/DialogDescription.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useDialogRootContext } from \"../root/DialogRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\n/**\n * A paragraph with additional information about the dialog.\n * Renders a `<p>` element.\n *\n * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)\n */\nexport const DialogDescription = /*#__PURE__*/React.forwardRef(function DialogDescription(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n id: idProp,\n ...elementProps\n } = componentProps;\n const {\n store\n } = useDialogRootContext();\n const id = useBaseUiId(idProp);\n store.useSyncedValueWithCleanup('descriptionElementId', id);\n return useRenderElement('p', componentProps, {\n ref: forwardedRef,\n props: [{\n id\n }, elementProps]\n });\n});\nif (process.env.NODE_ENV !== \"production\") DialogDescription.displayName = \"DialogDescription\";"],"x_google_ignoreList":[0],"mappings":";;;;;;AAYA,IAAa,IAAiC,gBAAM,WAAW,SAA2B,GAAgB,GAAc;CACtH,IAAM,EACJ,WACA,cACA,UACA,IAAI,GACJ,GAAG,MACD,GACE,EACJ,aACE,EAAqB,GACnB,IAAK,EAAY,CAAM;CAE7B,OADA,EAAM,0BAA0B,wBAAwB,CAAE,GACnD,EAAiB,KAAK,GAAgB;EAC3C,KAAK;EACL,OAAO,CAAC,EACN,MACF,GAAG,CAAY;CACjB,CAAC;AACH,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAkB,cAAc"}
1
+ {"version":3,"file":"index213.js","names":["React"],"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}"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAI,IAAW;AAGf,SAAS,EAAY,GAAY,IAAS,OAAO;CAC/C,IAAM,CAAC,GAAW,KAAgBA,EAAM,SAAS,CAAU,GACrD,IAAK,KAAc;CAWzB,OAVA,EAAM,gBAAgB;EACpB,AAAI,MAKF,KAAY,GACZ,EAAa,GAAG,EAAO,GAAG,GAAU;CAExC,GAAG,CAAC,GAAW,CAAM,CAAC,GACf;AACT;AACA,IAAM,IAAkB,EAAU;AAQlC,SAAgB,EAAM,GAAY,GAAQ;CAExC,IAAI,MAAoB,KAAA,GAAW;EACjC,IAAM,IAAU,EAAgB;EAChC,OAAO,MAAe,IAAS,GAAG,EAAO,GAAG,MAAY;CAC1D;CAIA,OAAO,EAAY,GAAY,CAAM;AACvC"}
package/dist/index214.js CHANGED
@@ -1,11 +1,10 @@
1
1
  "use client";
2
- import * as e from "react";
3
- //#region ../../node_modules/@base-ui/utils/useOnMount.mjs
4
- var t = [];
5
- function n(n) {
6
- e.useEffect(n, t);
2
+ import { useId as e } from "./index213.js";
3
+ //#region ../../node_modules/@base-ui/react/internals/useBaseUiId.mjs
4
+ function t(t) {
5
+ return e(t, "base-ui");
7
6
  }
8
7
  //#endregion
9
- export { n as useOnMount };
8
+ export { t as useBaseUiId };
10
9
 
11
10
  //# sourceMappingURL=index214.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index214.js","names":[],"sources":["../../../node_modules/@base-ui/utils/useOnMount.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nconst EMPTY = [];\n\n/**\n * A React.useEffect equivalent that runs once, when the component is mounted.\n */\nexport function useOnMount(fn) {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array\n /* eslint-disable react-hooks/exhaustive-deps */\n React.useEffect(fn, EMPTY);\n /* eslint-enable react-hooks/exhaustive-deps */\n}"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAM,IAAQ,CAAC;AAKf,SAAgB,EAAW,GAAI;CAG7B,EAAM,UAAU,GAAI,CAAK;AAE3B"}
1
+ {"version":3,"file":"index214.js","names":[],"sources":["../../../node_modules/@base-ui/react/internals/useBaseUiId.mjs"],"sourcesContent":["'use client';\n\nimport { useId } from '@base-ui/utils/useId';\n\n/**\n * Wraps `useId` and prefixes generated `id`s with `base-ui-`\n * @param {string | undefined} idOverride overrides the generated id when provided\n * @returns {string | undefined}\n */\nexport function useBaseUiId(idOverride) {\n return useId(idOverride, 'base-ui');\n}"],"x_google_ignoreList":[0],"mappings":";;;AASA,SAAgB,EAAY,GAAY;CACtC,OAAO,EAAM,GAAY,SAAS;AACpC"}
package/dist/index215.js CHANGED
@@ -1,30 +1,18 @@
1
1
  "use client";
2
- import { useRefWithInit as e } from "./index185.js";
3
- import { useOnMount as t } from "./index214.js";
4
- //#region ../../node_modules/@base-ui/utils/useTimeout.mjs
5
- var n = 0, r = class e {
6
- static create() {
7
- return new e();
8
- }
9
- currentId = n;
10
- start(e, t) {
11
- this.clear(), this.currentId = setTimeout(() => {
12
- this.currentId = n, t();
13
- }, e);
14
- }
15
- isStarted() {
16
- return this.currentId !== n;
17
- }
18
- clear = () => {
19
- this.currentId !== n && (clearTimeout(this.currentId), this.currentId = n);
20
- };
21
- disposeEffect = () => this.clear;
22
- };
23
- function i() {
24
- let n = e(r.create).current;
25
- return t(n.disposeEffect), n;
26
- }
2
+ import { useDialogRootContext as e } from "./index184.js";
3
+ import { useRenderElement as t } from "./index196.js";
4
+ import { useBaseUiId as n } from "./index214.js";
5
+ import * as r from "react";
6
+ //#region ../../node_modules/@base-ui/react/dialog/description/DialogDescription.mjs
7
+ var i = /*#__PURE__*/ r.forwardRef(function(r, i) {
8
+ let { render: a, className: o, style: s, id: c, ...l } = r, u = e(), d = n(c);
9
+ return u.useSyncedValueWithCleanup("descriptionElementId", d), t("p", r, {
10
+ ref: i,
11
+ props: [{ id: d }, l]
12
+ });
13
+ });
14
+ process.env.NODE_ENV !== "production" && (i.displayName = "DialogDescription");
27
15
  //#endregion
28
- export { r as Timeout, i as useTimeout };
16
+ export { i as DialogDescription };
29
17
 
30
18
  //# sourceMappingURL=index215.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index215.js","names":[],"sources":["../../../node_modules/@base-ui/utils/useTimeout.mjs"],"sourcesContent":["'use client';\n\nimport { useRefWithInit } from \"./useRefWithInit.mjs\";\nimport { useOnMount } from \"./useOnMount.mjs\";\nconst EMPTY = 0;\nexport class Timeout {\n static create() {\n return new Timeout();\n }\n currentId = EMPTY;\n\n /**\n * Executes `fn` after `delay`, clearing any previously scheduled call.\n */\n start(delay, fn) {\n this.clear();\n this.currentId = setTimeout(() => {\n this.currentId = EMPTY;\n fn();\n }, delay); /* Node.js types are enabled in development */\n }\n isStarted() {\n return this.currentId !== EMPTY;\n }\n clear = () => {\n if (this.currentId !== EMPTY) {\n clearTimeout(this.currentId);\n this.currentId = EMPTY;\n }\n };\n disposeEffect = () => {\n return this.clear;\n };\n}\n\n/**\n * A `setTimeout` with automatic cleanup and guard.\n */\nexport function useTimeout() {\n const timeout = useRefWithInit(Timeout.create).current;\n useOnMount(timeout.disposeEffect);\n return timeout;\n}"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAAQ,GACD,IAAb,MAAa,EAAQ;CACnB,OAAO,SAAS;EACd,OAAO,IAAI,EAAQ;CACrB;CACA,YAAY;CAKZ,MAAM,GAAO,GAAI;EAEf,AADA,KAAK,MAAM,GACX,KAAK,YAAY,iBAAiB;GAEhC,AADA,KAAK,YAAY,GACjB,EAAG;EACL,GAAG,CAAK;CACV;CACA,YAAY;EACV,OAAO,KAAK,cAAc;CAC5B;CACA,cAAc;EACZ,AAAI,KAAK,cAAc,MACrB,aAAa,KAAK,SAAS,GAC3B,KAAK,YAAY;CAErB;CACA,sBACS,KAAK;AAEhB;AAKA,SAAgB,IAAa;CAC3B,IAAM,IAAU,EAAe,EAAQ,MAAM,CAAC,CAAC;CAE/C,OADA,EAAW,EAAQ,aAAa,GACzB;AACT"}
1
+ {"version":3,"file":"index215.js","names":[],"sources":["../../../node_modules/@base-ui/react/dialog/description/DialogDescription.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useDialogRootContext } from \"../root/DialogRootContext.mjs\";\nimport { useRenderElement } from \"../../internals/useRenderElement.mjs\";\nimport { useBaseUiId } from \"../../internals/useBaseUiId.mjs\";\n/**\n * A paragraph with additional information about the dialog.\n * Renders a `<p>` element.\n *\n * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)\n */\nexport const DialogDescription = /*#__PURE__*/React.forwardRef(function DialogDescription(componentProps, forwardedRef) {\n const {\n render,\n className,\n style,\n id: idProp,\n ...elementProps\n } = componentProps;\n const store = useDialogRootContext();\n const id = useBaseUiId(idProp);\n store.useSyncedValueWithCleanup('descriptionElementId', id);\n return useRenderElement('p', componentProps, {\n ref: forwardedRef,\n props: [{\n id\n }, elementProps]\n });\n});\nif (process.env.NODE_ENV !== \"production\") DialogDescription.displayName = \"DialogDescription\";"],"x_google_ignoreList":[0],"mappings":";;;;;;AAYA,IAAa,IAAiC,gBAAM,WAAW,SAA2B,GAAgB,GAAc;CACtH,IAAM,EACJ,WACA,cACA,UACA,IAAI,GACJ,GAAG,MACD,GACE,IAAQ,EAAqB,GAC7B,IAAK,EAAY,CAAM;CAE7B,OADA,EAAM,0BAA0B,wBAAwB,CAAE,GACnD,EAAiB,KAAK,GAAgB;EAC3C,KAAK;EACL,OAAO,CAAC,EACN,MACF,GAAG,CAAY;CACjB,CAAC;AACH,CAAC;AACD,QAAA,IAAA,aAA6B,iBAAc,EAAkB,cAAc"}
package/dist/index216.js CHANGED
@@ -1,26 +1,11 @@
1
- //#region ../../node_modules/@base-ui/utils/platform/shared.mjs
2
- function e() {
3
- if (typeof navigator > "u") return {
4
- userAgent: "",
5
- platform: "",
6
- maxTouchPoints: 0
7
- };
8
- if (process.env.NODE_ENV !== "production") {
9
- let e = navigator.userAgentData;
10
- if (e && Array.isArray(e.brands)) return {
11
- userAgent: e.brands.map(({ brand: e, version: t }) => `${e}/${t}`).join(" "),
12
- platform: e.platform ?? navigator.platform ?? "",
13
- maxTouchPoints: navigator.maxTouchPoints ?? 0
14
- };
15
- }
16
- return {
17
- userAgent: navigator.userAgent,
18
- platform: navigator.platform ?? "",
19
- maxTouchPoints: navigator.maxTouchPoints ?? 0
20
- };
1
+ "use client";
2
+ import { EMPTY_ARRAY as e } from "./index191.js";
3
+ import * as t from "react";
4
+ //#region ../../node_modules/@base-ui/utils/useOnMount.mjs
5
+ function n(n) {
6
+ t.useEffect(n, e);
21
7
  }
22
- var { userAgent: t, platform: n, maxTouchPoints: r } = e(), i = t.toLowerCase(), a = n.toLowerCase();
23
8
  //#endregion
24
- export { a as lowerPlatform, i as lowerUserAgent, r as maxTouchPoints };
9
+ export { n as useOnMount };
25
10
 
26
11
  //# sourceMappingURL=index216.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index216.js","names":[],"sources":["../../../node_modules/@base-ui/utils/platform/shared.mjs"],"sourcesContent":["/**\n * Reads `navigator.userAgent` / `navigator.platform` (legacy but universally\n * supported) into a normalized shape. In development, prefers the modern\n * `navigator.userAgentData` API on Chromium to avoid DevTools warnings about\n * the deprecated reads; that branch is dead-code-eliminated in production\n * builds to keep the bundle small.\n *\n * Returns empty/zero values when `navigator` is undefined (SSR), so every\n * derived flag safely evaluates to `false`.\n */\nfunction readRawData() {\n if (typeof navigator === 'undefined') {\n return {\n userAgent: '',\n platform: '',\n maxTouchPoints: 0\n };\n }\n if (process.env.NODE_ENV !== 'production') {\n const uaData = navigator.userAgentData;\n if (uaData && Array.isArray(uaData.brands)) {\n return {\n userAgent: uaData.brands.map(({\n brand,\n version\n }) => `${brand}/${version}`).join(' '),\n platform: uaData.platform ?? navigator.platform ?? '',\n maxTouchPoints: navigator.maxTouchPoints ?? 0\n };\n }\n }\n return {\n userAgent: navigator.userAgent,\n platform: navigator.platform ?? '',\n maxTouchPoints: navigator.maxTouchPoints ?? 0\n };\n}\nconst {\n userAgent,\n platform,\n maxTouchPoints\n} = readRawData();\nexport const lowerUserAgent = userAgent.toLowerCase();\nexport const lowerPlatform = platform.toLowerCase();\nexport { maxTouchPoints };"],"x_google_ignoreList":[0],"mappings":";AAUA,SAAS,IAAc;CACrB,IAAI,OAAO,YAAc,KACvB,OAAO;EACL,WAAW;EACX,UAAU;EACV,gBAAgB;CAClB;CAEF,IAAA,QAAA,IAAA,aAA6B,cAAc;EACzC,IAAM,IAAS,UAAU;EACzB,IAAI,KAAU,MAAM,QAAQ,EAAO,MAAM,GACvC,OAAO;GACL,WAAW,EAAO,OAAO,KAAK,EAC5B,UACA,iBACI,GAAG,EAAM,GAAG,GAAS,CAAC,CAAC,KAAK,GAAG;GACrC,UAAU,EAAO,YAAY,UAAU,YAAY;GACnD,gBAAgB,UAAU,kBAAkB;EAC9C;CAEJ;CACA,OAAO;EACL,WAAW,UAAU;EACrB,UAAU,UAAU,YAAY;EAChC,gBAAgB,UAAU,kBAAkB;CAC9C;AACF;AACA,IAAM,EACJ,cACA,aACA,sBACE,EAAY,GACH,IAAiB,EAAU,YAAY,GACvC,IAAgB,EAAS,YAAY"}
1
+ {"version":3,"file":"index216.js","names":[],"sources":["../../../node_modules/@base-ui/utils/useOnMount.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { EMPTY_ARRAY } from \"./empty.mjs\";\n\n/**\n * A React.useEffect equivalent that runs once, when the component is mounted.\n */\nexport function useOnMount(fn) {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array\n /* eslint-disable react-hooks/exhaustive-deps */\n React.useEffect(fn, EMPTY_ARRAY);\n /* eslint-enable react-hooks/exhaustive-deps */\n}"],"x_google_ignoreList":[0],"mappings":";;;;AAQA,SAAgB,EAAW,GAAI;CAG7B,EAAM,UAAU,GAAI,CAAW;AAEjC"}
package/dist/index217.js CHANGED
@@ -1,9 +1,30 @@
1
- import { lowerPlatform as e, lowerUserAgent as t, maxTouchPoints as n } from "./index216.js";
2
- //#region ../../node_modules/@base-ui/utils/platform/os.mjs
3
- var r = /^i(os$|p)/.test(e) || e === "macintel" && n > 1, i = "android", a = e === i || t.includes(i), o = !r && e.startsWith("mac");
4
- e.startsWith("win"), !a && /^(linux|chrome os)/.test(e);
5
- var s = o || r;
1
+ "use client";
2
+ import { useRefWithInit as e } from "./index185.js";
3
+ import { useOnMount as t } from "./index216.js";
4
+ //#region ../../node_modules/@base-ui/utils/useTimeout.mjs
5
+ var n = 0, r = class e {
6
+ static create() {
7
+ return new e();
8
+ }
9
+ currentId = n;
10
+ start(e, t) {
11
+ this.clear(), this.currentId = setTimeout(() => {
12
+ this.currentId = n, t();
13
+ }, e);
14
+ }
15
+ isStarted() {
16
+ return this.currentId !== n;
17
+ }
18
+ clear = () => {
19
+ this.currentId !== n && (clearTimeout(this.currentId), this.currentId = n);
20
+ };
21
+ disposeEffect = () => this.clear;
22
+ };
23
+ function i() {
24
+ let n = e(r.create).current;
25
+ return t(n.disposeEffect), n;
26
+ }
6
27
  //#endregion
7
- export { a as android, s as apple, r as ios, o as mac };
28
+ export { r as Timeout, i as useTimeout };
8
29
 
9
30
  //# sourceMappingURL=index217.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index217.js","names":[],"sources":["../../../node_modules/@base-ui/utils/platform/os.mjs"],"sourcesContent":["import { lowerUserAgent, lowerPlatform, maxTouchPoints } from \"./shared.mjs\";\n\n// iPadOS 13+ reports `MacIntel` for `navigator.platform`; disambiguated via\n// `maxTouchPoints` so iPad is classified as iOS, not macOS.\n// https://github.com/mui/base-ui/issues/1309\n/** iPhone, iPad (including iPadOS 13+ reporting as macOS), iPod. */\nexport const ios = /^i(os$|p)/.test(lowerPlatform) || lowerPlatform === 'macintel' && maxTouchPoints > 1;\n\n/** Android phones, tablets, and embedded Android browsers. */\nconst ANDROID_STRING = 'android';\nexport const android = lowerPlatform === ANDROID_STRING || lowerUserAgent.includes(ANDROID_STRING);\n\n/** macOS desktop. Excludes iPadOS, which reports as `MacIntel`. */\nexport const mac = !ios && lowerPlatform.startsWith('mac');\n\n/** Windows desktop. */\nexport const windows = lowerPlatform.startsWith('win');\n\n/** Linux desktop (including Chrome OS). */\nexport const linux = !android && /^(linux|chrome os)/.test(lowerPlatform);\n\n/** Any Apple OS (`mac || ios`). */\nexport const apple = mac || ios;"],"x_google_ignoreList":[0],"mappings":";;AAMA,IAAa,IAAM,YAAY,KAAK,CAAa,KAAK,MAAkB,cAAc,IAAiB,GAGjG,IAAiB,WACV,IAAU,MAAkB,KAAkB,EAAe,SAAS,CAAc,GAGpF,IAAM,CAAC,KAAO,EAAc,WAAW,KAAK;AAGlC,EAAc,WAAW,KAAK,GAGhC,CAAC,KAAW,qBAAqB,KAAK,CAAa;AAGxE,IAAa,IAAQ,KAAO"}
1
+ {"version":3,"file":"index217.js","names":[],"sources":["../../../node_modules/@base-ui/utils/useTimeout.mjs"],"sourcesContent":["'use client';\n\nimport { useRefWithInit } from \"./useRefWithInit.mjs\";\nimport { useOnMount } from \"./useOnMount.mjs\";\nconst EMPTY = 0;\nexport class Timeout {\n static create() {\n return new Timeout();\n }\n currentId = EMPTY;\n\n /**\n * Executes `fn` after `delay`, clearing any previously scheduled call.\n */\n start(delay, fn) {\n this.clear();\n this.currentId = setTimeout(() => {\n this.currentId = EMPTY;\n fn();\n }, delay); /* Node.js types are enabled in development */\n }\n isStarted() {\n return this.currentId !== EMPTY;\n }\n clear = () => {\n if (this.currentId !== EMPTY) {\n clearTimeout(this.currentId);\n this.currentId = EMPTY;\n }\n };\n disposeEffect = () => {\n return this.clear;\n };\n}\n\n/**\n * A `setTimeout` with automatic cleanup and guard.\n */\nexport function useTimeout() {\n const timeout = useRefWithInit(Timeout.create).current;\n useOnMount(timeout.disposeEffect);\n return timeout;\n}"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAAQ,GACD,IAAb,MAAa,EAAQ;CACnB,OAAO,SAAS;EACd,OAAO,IAAI,EAAQ;CACrB;CACA,YAAY;CAKZ,MAAM,GAAO,GAAI;EAEf,AADA,KAAK,MAAM,GACX,KAAK,YAAY,iBAAiB;GAEhC,AADA,KAAK,YAAY,GACjB,EAAG;EACL,GAAG,CAAK;CACV;CACA,YAAY;EACV,OAAO,KAAK,cAAc;CAC5B;CACA,cAAc;EACZ,AAAI,KAAK,cAAc,MACrB,aAAa,KAAK,SAAS,GAC3B,KAAK,YAAY;CAErB;CACA,sBACS,KAAK;AAEhB;AAKA,SAAgB,IAAa;CAC3B,IAAM,IAAU,EAAe,EAAQ,MAAM,CAAC,CAAC;CAE/C,OADA,EAAW,EAAQ,aAAa,GACzB;AACT"}
package/dist/index218.js CHANGED
@@ -1,8 +1,26 @@
1
- import { lowerUserAgent as e } from "./index216.js";
2
- //#region ../../node_modules/@base-ui/utils/platform/engine.mjs
3
- var t = typeof CSS < "u" && !!CSS.supports?.("-webkit-backdrop-filter:none");
4
- !t && e.includes("firefox"), !t && e.includes("chrom");
1
+ //#region ../../node_modules/@base-ui/utils/platform/shared.mjs
2
+ function e() {
3
+ if (typeof navigator > "u") return {
4
+ userAgent: "",
5
+ platform: "",
6
+ maxTouchPoints: 0
7
+ };
8
+ if (process.env.NODE_ENV !== "production") {
9
+ let e = navigator.userAgentData;
10
+ if (e && Array.isArray(e.brands)) return {
11
+ userAgent: e.brands.map(({ brand: e, version: t }) => `${e}/${t}`).join(" "),
12
+ platform: e.platform ?? navigator.platform ?? "",
13
+ maxTouchPoints: navigator.maxTouchPoints ?? 0
14
+ };
15
+ }
16
+ return {
17
+ userAgent: navigator.userAgent,
18
+ platform: navigator.platform ?? "",
19
+ maxTouchPoints: navigator.maxTouchPoints ?? 0
20
+ };
21
+ }
22
+ var { userAgent: t, platform: n, maxTouchPoints: r } = e(), i = t.toLowerCase(), a = n.toLowerCase();
5
23
  //#endregion
6
- export { t as webkit };
24
+ export { a as lowerPlatform, i as lowerUserAgent, r as maxTouchPoints };
7
25
 
8
26
  //# sourceMappingURL=index218.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index218.js","names":[],"sources":["../../../node_modules/@base-ui/utils/platform/engine.mjs"],"sourcesContent":["import { lowerUserAgent } from \"./shared.mjs\";\n\n// WebKit (Safari, all iOS browsers, GNOME Web). Distinguished from Blink by\n// the legacy `-webkit-backdrop-filter` name — Blink forked from WebKit in 2013\n// and only ships the unprefixed `backdrop-filter`.\n/** WebKit: Safari, all iOS browsers, GNOME Web. Excludes Blink. */\nexport const webkit = typeof CSS !== 'undefined' && !!CSS.supports?.('-webkit-backdrop-filter:none');\n\n// Anchored to `!webkit` so engines are mutually exclusive by construction.\n// Firefox-on-iOS uses WebKit (its UA marker is `FxiOS/`, not `Firefox/`); the\n// `!webkit` prefix also defends against future iOS-browser UA changes that\n// might inject `Firefox` into a WebKit-based UA.\n/** Gecko: Firefox. */\nexport const gecko = !webkit && lowerUserAgent.includes('firefox');\n\n// All Chromium-based browsers ship `Chrome/` or `Chromium/` in their UA — both\n// share the `chrom` prefix, so a single substring check covers Chrome, Edge,\n// Opera, Brave, etc. Chrome-on-iOS uses `CriOS/` and stays WebKit. The positive\n// UA check also makes this SSR-safe — an empty UA matches nothing.\n/** Blink: Chrome, Edge, Opera, Brave, and other Chromium-based browsers. */\nexport const blink = !webkit && lowerUserAgent.includes('chrom');"],"x_google_ignoreList":[0],"mappings":";;AAMA,IAAa,IAAS,OAAO,MAAQ,OAAe,CAAC,CAAC,IAAI,WAAW,8BAA8B;AAO9E,CAAC,KAAU,EAAe,SAAS,SAAS,GAO5C,CAAC,KAAU,EAAe,SAAS,OAAO"}
1
+ {"version":3,"file":"index218.js","names":[],"sources":["../../../node_modules/@base-ui/utils/platform/shared.mjs"],"sourcesContent":["/**\n * Reads `navigator.userAgent` / `navigator.platform` (legacy but universally\n * supported) into a normalized shape. In development, prefers the modern\n * `navigator.userAgentData` API on Chromium to avoid DevTools warnings about\n * the deprecated reads; that branch is dead-code-eliminated in production\n * builds to keep the bundle small.\n *\n * Returns empty/zero values when `navigator` is undefined (SSR), so every\n * derived flag safely evaluates to `false`.\n */\nfunction readRawData() {\n if (typeof navigator === 'undefined') {\n return {\n userAgent: '',\n platform: '',\n maxTouchPoints: 0\n };\n }\n if (process.env.NODE_ENV !== 'production') {\n const uaData = navigator.userAgentData;\n if (uaData && Array.isArray(uaData.brands)) {\n return {\n userAgent: uaData.brands.map(({\n brand,\n version\n }) => `${brand}/${version}`).join(' '),\n platform: uaData.platform ?? navigator.platform ?? '',\n maxTouchPoints: navigator.maxTouchPoints ?? 0\n };\n }\n }\n return {\n userAgent: navigator.userAgent,\n platform: navigator.platform ?? '',\n maxTouchPoints: navigator.maxTouchPoints ?? 0\n };\n}\nconst {\n userAgent,\n platform,\n maxTouchPoints\n} = readRawData();\nexport const lowerUserAgent = userAgent.toLowerCase();\nexport const lowerPlatform = platform.toLowerCase();\nexport { maxTouchPoints };"],"x_google_ignoreList":[0],"mappings":";AAUA,SAAS,IAAc;CACrB,IAAI,OAAO,YAAc,KACvB,OAAO;EACL,WAAW;EACX,UAAU;EACV,gBAAgB;CAClB;CAEF,IAAA,QAAA,IAAA,aAA6B,cAAc;EACzC,IAAM,IAAS,UAAU;EACzB,IAAI,KAAU,MAAM,QAAQ,EAAO,MAAM,GACvC,OAAO;GACL,WAAW,EAAO,OAAO,KAAK,EAC5B,UACA,iBACI,GAAG,EAAM,GAAG,GAAS,CAAC,CAAC,KAAK,GAAG;GACrC,UAAU,EAAO,YAAY,UAAU,YAAY;GACnD,gBAAgB,UAAU,kBAAkB;EAC9C;CAEJ;CACA,OAAO;EACL,WAAW,UAAU;EACrB,UAAU,UAAU,YAAY;EAChC,gBAAgB,UAAU,kBAAkB;CAC9C;AACF;AACA,IAAM,EACJ,cACA,aACA,sBACE,EAAY,GACH,IAAiB,EAAU,YAAY,GACvC,IAAgB,EAAS,YAAY"}
package/dist/index219.js CHANGED
@@ -1,7 +1,9 @@
1
- import { apple as e } from "./index217.js";
2
- //#region ../../node_modules/@base-ui/utils/platform/screen-reader.mjs
3
- var t = e;
1
+ import { lowerPlatform as e, lowerUserAgent as t, maxTouchPoints as n } from "./index218.js";
2
+ //#region ../../node_modules/@base-ui/utils/platform/os.mjs
3
+ var r = /^i(os$|p)/.test(e) || e === "macintel" && n > 1, i = "android", a = e === i || t.includes(i), o = !r && e.startsWith("mac");
4
+ e.startsWith("win"), !a && /^(linux|chrome os)/.test(e);
5
+ var s = o || r;
4
6
  //#endregion
5
- export { t as voiceOver };
7
+ export { a as android, s as apple, r as ios, o as mac };
6
8
 
7
9
  //# sourceMappingURL=index219.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index219.js","names":[],"sources":["../../../node_modules/@base-ui/utils/platform/screen-reader.mjs"],"sourcesContent":["import { apple } from \"./os.mjs\";\n\n// Whether a screen reader is *actually* running cannot be detected. These flags\n// identify platforms where a specific screen reader could be active. VoiceOver\n// is the system screen reader on Apple platforms and works with every browser\n// there, so the flag is purely an OS check; engine-specific quirks (e.g. the\n// NSAccessibility virtual-cursor focus path) should be gated at the call site.\n/**\n * The user *may* be using VoiceOver — actual activation is not detectable.\n * True on any Apple platform (macOS, iOS, iPadOS).\n */\nexport const voiceOver = apple;"],"x_google_ignoreList":[0],"mappings":";;AAWA,IAAa,IAAY"}
1
+ {"version":3,"file":"index219.js","names":[],"sources":["../../../node_modules/@base-ui/utils/platform/os.mjs"],"sourcesContent":["import { lowerUserAgent, lowerPlatform, maxTouchPoints } from \"./shared.mjs\";\n\n// iPadOS 13+ reports `MacIntel` for `navigator.platform`; disambiguated via\n// `maxTouchPoints` so iPad is classified as iOS, not macOS.\n// https://github.com/mui/base-ui/issues/1309\n/** iPhone, iPad (including iPadOS 13+ reporting as macOS), iPod. */\nexport const ios = /^i(os$|p)/.test(lowerPlatform) || lowerPlatform === 'macintel' && maxTouchPoints > 1;\n\n/** Android phones, tablets, and embedded Android browsers. */\nconst ANDROID_STRING = 'android';\nexport const android = lowerPlatform === ANDROID_STRING || lowerUserAgent.includes(ANDROID_STRING);\n\n/** macOS desktop. Excludes iPadOS, which reports as `MacIntel`. */\nexport const mac = !ios && lowerPlatform.startsWith('mac');\n\n/** Windows desktop. */\nexport const windows = lowerPlatform.startsWith('win');\n\n/** Linux desktop (including Chrome OS). */\nexport const linux = !android && /^(linux|chrome os)/.test(lowerPlatform);\n\n/** Any Apple OS (`mac || ios`). */\nexport const apple = mac || ios;"],"x_google_ignoreList":[0],"mappings":";;AAMA,IAAa,IAAM,YAAY,KAAK,CAAa,KAAK,MAAkB,cAAc,IAAiB,GAGjG,IAAiB,WACV,IAAU,MAAkB,KAAkB,EAAe,SAAS,CAAc,GAGpF,IAAM,CAAC,KAAO,EAAc,WAAW,KAAK;AAGlC,EAAc,WAAW,KAAK,GAGhC,CAAC,KAAW,qBAAqB,KAAK,CAAa;AAGxE,IAAa,IAAQ,KAAO"}
package/dist/index220.js CHANGED
@@ -1,7 +1,8 @@
1
- import { lowerUserAgent as e } from "./index216.js";
2
- //#region ../../node_modules/@base-ui/utils/platform/env.mjs
3
- var t = /jsdom|happydom/.test(e);
1
+ import { lowerUserAgent as e } from "./index218.js";
2
+ //#region ../../node_modules/@base-ui/utils/platform/engine.mjs
3
+ var t = typeof CSS < "u" && !!CSS.supports?.("-webkit-backdrop-filter:none");
4
+ !t && e.includes("firefox"), !t && e.includes("chrom");
4
5
  //#endregion
5
- export { t as jsdom };
6
+ export { t as webkit };
6
7
 
7
8
  //# sourceMappingURL=index220.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index220.js","names":[],"sources":["../../../node_modules/@base-ui/utils/platform/env.mjs"],"sourcesContent":["import { lowerUserAgent } from \"./shared.mjs\";\n\n/** Running in jsdom or HappyDOM (used by unit tests). */\nexport const jsdom = /jsdom|happydom/.test(lowerUserAgent);"],"x_google_ignoreList":[0],"mappings":";;AAGA,IAAa,IAAQ,iBAAiB,KAAK,CAAc"}
1
+ {"version":3,"file":"index220.js","names":[],"sources":["../../../node_modules/@base-ui/utils/platform/engine.mjs"],"sourcesContent":["import { lowerUserAgent } from \"./shared.mjs\";\n\n// WebKit (Safari, all iOS browsers, GNOME Web). Distinguished from Blink by\n// the legacy `-webkit-backdrop-filter` name — Blink forked from WebKit in 2013\n// and only ships the unprefixed `backdrop-filter`.\n/** WebKit: Safari, all iOS browsers, GNOME Web. Excludes Blink. */\nexport const webkit = typeof CSS !== 'undefined' && !!CSS.supports?.('-webkit-backdrop-filter:none');\n\n// Anchored to `!webkit` so engines are mutually exclusive by construction.\n// Firefox-on-iOS uses WebKit (its UA marker is `FxiOS/`, not `Firefox/`); the\n// `!webkit` prefix also defends against future iOS-browser UA changes that\n// might inject `Firefox` into a WebKit-based UA.\n/** Gecko: Firefox. */\nexport const gecko = !webkit && lowerUserAgent.includes('firefox');\n\n// All Chromium-based browsers ship `Chrome/` or `Chromium/` in their UA — both\n// share the `chrom` prefix, so a single substring check covers Chrome, Edge,\n// Opera, Brave, etc. Chrome-on-iOS uses `CriOS/` and stays WebKit. The positive\n// UA check also makes this SSR-safe — an empty UA matches nothing.\n/** Blink: Chrome, Edge, Opera, Brave, and other Chromium-based browsers. */\nexport const blink = !webkit && lowerUserAgent.includes('chrom');"],"x_google_ignoreList":[0],"mappings":";;AAMA,IAAa,IAAS,OAAO,MAAQ,OAAe,CAAC,CAAC,IAAI,WAAW,8BAA8B;AAO9E,CAAC,KAAU,EAAe,SAAS,SAAS,GAO5C,CAAC,KAAU,EAAe,SAAS,OAAO"}
package/dist/index221.js CHANGED
@@ -1,27 +1,7 @@
1
- import { android as e } from "./index217.js";
2
- import { jsdom as t } from "./index220.js";
3
- //#region ../../node_modules/@base-ui/react/floating-ui-react/utils/event.mjs
4
- function n(e) {
5
- e.preventDefault(), e.stopPropagation();
6
- }
7
- function r(e) {
8
- return "nativeEvent" in e;
9
- }
10
- function i(t) {
11
- return t.pointerType === "" && t.isTrusted ? !0 : e && t.pointerType ? t.type === "click" && t.buttons === 1 : t.detail === 0 && !t.pointerType;
12
- }
13
- function a(n) {
14
- return t ? !1 : !e && n.width === 0 && n.height === 0 || e && n.width === 1 && n.height === 1 && n.pressure === 0 && n.detail === 0 && n.pointerType === "mouse" || n.width < 1 && n.height < 1 && n.pressure === 0 && n.detail === 0 && n.pointerType === "touch";
15
- }
16
- function o(e, t) {
17
- let n = ["mouse", "pen"];
18
- return t || n.push("", void 0), n.includes(e);
19
- }
20
- function s(e) {
21
- let t = e.type;
22
- return t === "click" || t === "mousedown" || t === "keydown" || t === "keyup";
23
- }
1
+ import { apple as e } from "./index219.js";
2
+ //#region ../../node_modules/@base-ui/utils/platform/screen-reader.mjs
3
+ var t = e;
24
4
  //#endregion
25
- export { s as isClickLikeEvent, o as isMouseLikePointerType, r as isReactEvent, i as isVirtualClick, a as isVirtualPointerEvent, n as stopEvent };
5
+ export { t as voiceOver };
26
6
 
27
7
  //# sourceMappingURL=index221.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index221.js","names":["platform.os.android","platform.env.jsdom"],"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}"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAgB,EAAU,GAAO;CAE/B,AADA,EAAM,eAAe,GACrB,EAAM,gBAAgB;AACxB;AACA,SAAgB,EAAa,GAAO;CAClC,OAAO,iBAAiB;AAC1B;AAGA,SAAgB,EAAe,GAAO;CAOpC,OANI,EAAM,gBAAgB,MAAM,EAAM,YAC7B,KAELA,KAAuB,EAAM,cACxB,EAAM,SAAS,WAAW,EAAM,YAAY,IAE9C,EAAM,WAAW,KAAK,CAAC,EAAM;AACtC;AACA,SAAgB,EAAsB,GAAO;CAI3C,OAHIC,IACK,KAEF,CAACD,KAAuB,EAAM,UAAU,KAAK,EAAM,WAAW,KAAKA,KAAuB,EAAM,UAAU,KAAK,EAAM,WAAW,KAAK,EAAM,aAAa,KAAK,EAAM,WAAW,KAAK,EAAM,gBAAgB,WAEhN,EAAM,QAAQ,KAAK,EAAM,SAAS,KAAK,EAAM,aAAa,KAAK,EAAM,WAAW,KAAK,EAAM,gBAAgB;AAC7G;AACA,SAAgB,EAAuB,GAAa,GAAQ;CAG1D,IAAM,IAAS,CAAC,SAAS,KAAK;CAI9B,OAHK,KACH,EAAO,KAAK,IAAI,KAAA,CAAS,GAEpB,EAAO,SAAS,CAAW;AACpC;AACA,SAAgB,EAAiB,GAAO;CACtC,IAAM,IAAO,EAAM;CACnB,OAAO,MAAS,WAAW,MAAS,eAAe,MAAS,aAAa,MAAS;AACpF"}
1
+ {"version":3,"file":"index221.js","names":[],"sources":["../../../node_modules/@base-ui/utils/platform/screen-reader.mjs"],"sourcesContent":["import { apple } from \"./os.mjs\";\n\n// Whether a screen reader is *actually* running cannot be detected. These flags\n// identify platforms where a specific screen reader could be active. VoiceOver\n// is the system screen reader on Apple platforms and works with every browser\n// there, so the flag is purely an OS check; engine-specific quirks (e.g. the\n// NSAccessibility virtual-cursor focus path) should be gated at the call site.\n/**\n * The user *may* be using VoiceOver — actual activation is not detectable.\n * True on any Apple platform (macOS, iOS, iPadOS).\n */\nexport const voiceOver = apple;"],"x_google_ignoreList":[0],"mappings":";;AAWA,IAAa,IAAY"}
package/dist/index222.js CHANGED
@@ -1,6 +1,7 @@
1
- //#region ../../node_modules/@base-ui/react/floating-ui-react/utils/constants.mjs
2
- var e = "data-base-ui-focusable", t = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])", n = "ArrowLeft", r = "ArrowRight", i = "ArrowUp", a = "ArrowDown";
1
+ import { lowerUserAgent as e } from "./index218.js";
2
+ //#region ../../node_modules/@base-ui/utils/platform/env.mjs
3
+ var t = /jsdom|happydom/.test(e);
3
4
  //#endregion
4
- export { a as ARROW_DOWN, n as ARROW_LEFT, r as ARROW_RIGHT, i as ARROW_UP, e as FOCUSABLE_ATTRIBUTE, t as TYPEABLE_SELECTOR };
5
+ export { t as jsdom };
5
6
 
6
7
  //# sourceMappingURL=index222.js.map