@rpcbase/ui 0.247.0 → 0.249.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 (593) hide show
  1. package/dist/components/Notifications/NotificationsDrawer.d.ts.map +1 -1
  2. package/dist/index105.js +36 -36
  3. package/dist/index117.js +6 -6
  4. package/dist/index120.js +10 -10
  5. package/dist/index122.js +2 -2
  6. package/dist/index123.js +3 -3
  7. package/dist/index124.js +1 -1
  8. package/dist/index126.js +2 -2
  9. package/dist/index128.js +2 -2
  10. package/dist/index150.js +3 -3
  11. package/dist/index156.js +1 -1
  12. package/dist/index16.js +157 -157
  13. package/dist/index16.js.map +1 -1
  14. package/dist/index163.js +2 -2
  15. package/dist/index164.js +7 -7
  16. package/dist/index167.js +4 -4
  17. package/dist/index169.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/index180.js +5 -7
  37. package/dist/index180.js.map +1 -1
  38. package/dist/index181.js +11 -16
  39. package/dist/index181.js.map +1 -1
  40. package/dist/index182.js +19 -4
  41. package/dist/index182.js.map +1 -1
  42. package/dist/index183.js +11 -5
  43. package/dist/index183.js.map +1 -1
  44. package/dist/index184.js +176 -12
  45. package/dist/index184.js.map +1 -1
  46. package/dist/index185.js +279 -9
  47. package/dist/index185.js.map +1 -1
  48. package/dist/index186.js +4 -13
  49. package/dist/index186.js.map +1 -1
  50. package/dist/index187.js +28 -14
  51. package/dist/index187.js.map +1 -1
  52. package/dist/index188.js +126 -4
  53. package/dist/index188.js.map +1 -1
  54. package/dist/index189.js +63 -5
  55. package/dist/index189.js.map +1 -1
  56. package/dist/index190.js +8 -6
  57. package/dist/index190.js.map +1 -1
  58. package/dist/index191.js +16 -6
  59. package/dist/index191.js.map +1 -1
  60. package/dist/index192.js +29 -53
  61. package/dist/index192.js.map +1 -1
  62. package/dist/index193.js +69 -8
  63. package/dist/index193.js.map +1 -1
  64. package/dist/index194.js +20 -5
  65. package/dist/index194.js.map +1 -1
  66. package/dist/index195.js +66 -4
  67. package/dist/index195.js.map +1 -1
  68. package/dist/index196.js +6 -8
  69. package/dist/index196.js.map +1 -1
  70. package/dist/index197.js +5 -4
  71. package/dist/index197.js.map +1 -1
  72. package/dist/index198.js +11 -4
  73. package/dist/index198.js.map +1 -1
  74. package/dist/index199.js +3 -3
  75. package/dist/index199.js.map +1 -1
  76. package/dist/index200.js +50 -10
  77. package/dist/index200.js.map +1 -1
  78. package/dist/index201.js +4 -10
  79. package/dist/index201.js.map +1 -1
  80. package/dist/index202.js +29 -9
  81. package/dist/index202.js.map +1 -1
  82. package/dist/index203.js +16 -10
  83. package/dist/index203.js.map +1 -1
  84. package/dist/index204.js +5 -10
  85. package/dist/index204.js.map +1 -1
  86. package/dist/index205.js +21 -9
  87. package/dist/index205.js.map +1 -1
  88. package/dist/index206.js +53 -6
  89. package/dist/index206.js.map +1 -1
  90. package/dist/index207.js +20 -5
  91. package/dist/index207.js.map +1 -1
  92. package/dist/index208.js +41 -4
  93. package/dist/index208.js.map +1 -1
  94. package/dist/index209.js +39 -5
  95. package/dist/index209.js.map +1 -1
  96. package/dist/index210.js +46 -7
  97. package/dist/index210.js.map +1 -1
  98. package/dist/index211.js +20 -5
  99. package/dist/index211.js.map +1 -1
  100. package/dist/index212.js +67 -13
  101. package/dist/index212.js.map +1 -1
  102. package/dist/index213.js +17 -7
  103. package/dist/index213.js.map +1 -1
  104. package/dist/index214.js +3 -10
  105. package/dist/index214.js.map +1 -1
  106. package/dist/index215.js +11 -10
  107. package/dist/index215.js.map +1 -1
  108. package/dist/index216.js +13 -21
  109. package/dist/index216.js.map +1 -1
  110. package/dist/index217.js +18 -8
  111. package/dist/index217.js.map +1 -1
  112. package/dist/index218.js +36 -9
  113. package/dist/index218.js.map +1 -1
  114. package/dist/index219.js +239 -9
  115. package/dist/index219.js.map +1 -1
  116. package/dist/index220.js +252 -4
  117. package/dist/index220.js.map +1 -1
  118. package/dist/index221.js +68 -5
  119. package/dist/index221.js.map +1 -1
  120. package/dist/index222.js +98 -15
  121. package/dist/index222.js.map +1 -1
  122. package/dist/index223.js +83 -9
  123. package/dist/index223.js.map +1 -1
  124. package/dist/index224.js +3 -18
  125. package/dist/index224.js.map +1 -1
  126. package/dist/index225.js +28 -19
  127. package/dist/index225.js.map +1 -1
  128. package/dist/index226.js +16 -12
  129. package/dist/index226.js.map +1 -1
  130. package/dist/index227.js +34 -29
  131. package/dist/index227.js.map +1 -1
  132. package/dist/index228.js +17 -12
  133. package/dist/index228.js.map +1 -1
  134. package/dist/index229.js +3 -25
  135. package/dist/index229.js.map +1 -1
  136. package/dist/index230.js +26 -5
  137. package/dist/index230.js.map +1 -1
  138. package/dist/index231.js +28 -14
  139. package/dist/index231.js.map +1 -1
  140. package/dist/index232.js +4 -69
  141. package/dist/index232.js.map +1 -1
  142. package/dist/index233.js +79 -38
  143. package/dist/index233.js.map +1 -1
  144. package/dist/index234.js +273 -14
  145. package/dist/index234.js.map +1 -1
  146. package/dist/index235.js +11 -23
  147. package/dist/index235.js.map +1 -1
  148. package/dist/index236.js +10 -111
  149. package/dist/index236.js.map +1 -1
  150. package/dist/index237.js +26 -13
  151. package/dist/index237.js.map +1 -1
  152. package/dist/index238.js +16 -4
  153. package/dist/index238.js.map +1 -1
  154. package/dist/index239.js +126 -4
  155. package/dist/index239.js.map +1 -1
  156. package/dist/index240.js +6 -5
  157. package/dist/index240.js.map +1 -1
  158. package/dist/index241.js +65 -11
  159. package/dist/index241.js.map +1 -1
  160. package/dist/index242.js +14 -20
  161. package/dist/index242.js.map +1 -1
  162. package/dist/index243.js +8 -11
  163. package/dist/index243.js.map +1 -1
  164. package/dist/index244.js +5 -176
  165. package/dist/index244.js.map +1 -1
  166. package/dist/index245.js +3 -279
  167. package/dist/index245.js.map +1 -1
  168. package/dist/index246.js +10 -4
  169. package/dist/index246.js.map +1 -1
  170. package/dist/index247.js +8 -28
  171. package/dist/index247.js.map +1 -1
  172. package/dist/index248.js +131 -124
  173. package/dist/index248.js.map +1 -1
  174. package/dist/index249.js +397 -61
  175. package/dist/index249.js.map +1 -1
  176. package/dist/index250.js +5 -9
  177. package/dist/index250.js.map +1 -1
  178. package/dist/index251.js +53 -16
  179. package/dist/index251.js.map +1 -1
  180. package/dist/index252.js +11 -30
  181. package/dist/index252.js.map +1 -1
  182. package/dist/index253.js +27 -69
  183. package/dist/index253.js.map +1 -1
  184. package/dist/index254.js +10 -153
  185. package/dist/index254.js.map +1 -1
  186. package/dist/index255.js +58 -32
  187. package/dist/index255.js.map +1 -1
  188. package/dist/index256.js +8 -11
  189. package/dist/index256.js.map +1 -1
  190. package/dist/index257.js +81 -43
  191. package/dist/index257.js.map +1 -1
  192. package/dist/index258.js +19 -9
  193. package/dist/index258.js.map +1 -1
  194. package/dist/index259.js +16 -11
  195. package/dist/index259.js.map +1 -1
  196. package/dist/index260.js +4 -42
  197. package/dist/index260.js.map +1 -1
  198. package/dist/index261.js +4 -96
  199. package/dist/index261.js.map +1 -1
  200. package/dist/index262.js +6 -86
  201. package/dist/index262.js.map +1 -1
  202. package/dist/index263.js +4 -105
  203. package/dist/index263.js.map +1 -1
  204. package/dist/index264.js +6 -52
  205. package/dist/index264.js.map +1 -1
  206. package/dist/index265.js +16 -11
  207. package/dist/index265.js.map +1 -1
  208. package/dist/index266.js +4 -4
  209. package/dist/index266.js.map +1 -1
  210. package/dist/index267.js +4 -37
  211. package/dist/index267.js.map +1 -1
  212. package/dist/index268.js +12 -8
  213. package/dist/index268.js.map +1 -1
  214. package/dist/index269.js +9 -3
  215. package/dist/index269.js.map +1 -1
  216. package/dist/index270.js +13 -9
  217. package/dist/index270.js.map +1 -1
  218. package/dist/index271.js +13 -135
  219. package/dist/index271.js.map +1 -1
  220. package/dist/index272.js +4 -17
  221. package/dist/index272.js.map +1 -1
  222. package/dist/index273.js +5 -15
  223. package/dist/index273.js.map +1 -1
  224. package/dist/index274.js +6 -36
  225. package/dist/index274.js.map +1 -1
  226. package/dist/index275.js +5 -20
  227. package/dist/index275.js.map +1 -1
  228. package/dist/index276.js +54 -8
  229. package/dist/index276.js.map +1 -1
  230. package/dist/index277.js +8 -24
  231. package/dist/index277.js.map +1 -1
  232. package/dist/index278.js +4 -28
  233. package/dist/index278.js.map +1 -1
  234. package/dist/index279.js +4 -16
  235. package/dist/index279.js.map +1 -1
  236. package/dist/index280.js +9 -20
  237. package/dist/index280.js.map +1 -1
  238. package/dist/index281.js +4 -66
  239. package/dist/index281.js.map +1 -1
  240. package/dist/index282.js +4 -6
  241. package/dist/index282.js.map +1 -1
  242. package/dist/index283.js +3 -5
  243. package/dist/index283.js.map +1 -1
  244. package/dist/index284.js +10 -11
  245. package/dist/index284.js.map +1 -1
  246. package/dist/index285.js +9 -3
  247. package/dist/index285.js.map +1 -1
  248. package/dist/index286.js +9 -50
  249. package/dist/index286.js.map +1 -1
  250. package/dist/index287.js +11 -4
  251. package/dist/index287.js.map +1 -1
  252. package/dist/index288.js +10 -29
  253. package/dist/index288.js.map +1 -1
  254. package/dist/index289.js +9 -16
  255. package/dist/index289.js.map +1 -1
  256. package/dist/index290.js +6 -5
  257. package/dist/index290.js.map +1 -1
  258. package/dist/index291.js +5 -21
  259. package/dist/index291.js.map +1 -1
  260. package/dist/index292.js +4 -53
  261. package/dist/index292.js.map +1 -1
  262. package/dist/index293.js +5 -20
  263. package/dist/index293.js.map +1 -1
  264. package/dist/index294.js +6 -41
  265. package/dist/index294.js.map +1 -1
  266. package/dist/index295.js +5 -39
  267. package/dist/index295.js.map +1 -1
  268. package/dist/index296.js +30 -46
  269. package/dist/index296.js.map +1 -1
  270. package/dist/index297.js +11 -19
  271. package/dist/index297.js.map +1 -1
  272. package/dist/index298.js +23 -68
  273. package/dist/index298.js.map +1 -1
  274. package/dist/index299.js +5 -17
  275. package/dist/index299.js.map +1 -1
  276. package/dist/index300.js +16 -3
  277. package/dist/index300.js.map +1 -1
  278. package/dist/index301.js +7 -11
  279. package/dist/index301.js.map +1 -1
  280. package/dist/index302.js +10 -13
  281. package/dist/index302.js.map +1 -1
  282. package/dist/index303.js +10 -18
  283. package/dist/index303.js.map +1 -1
  284. package/dist/index304.js +21 -36
  285. package/dist/index304.js.map +1 -1
  286. package/dist/index305.js +8 -239
  287. package/dist/index305.js.map +1 -1
  288. package/dist/index306.js +9 -252
  289. package/dist/index306.js.map +1 -1
  290. package/dist/index307.js +9 -68
  291. package/dist/index307.js.map +1 -1
  292. package/dist/index308.js +4 -99
  293. package/dist/index308.js.map +1 -1
  294. package/dist/index309.js +5 -83
  295. package/dist/index309.js.map +1 -1
  296. package/dist/index310.js +16 -3
  297. package/dist/index310.js.map +1 -1
  298. package/dist/index311.js +9 -29
  299. package/dist/index311.js.map +1 -1
  300. package/dist/index312.js +18 -16
  301. package/dist/index312.js.map +1 -1
  302. package/dist/index313.js +21 -35
  303. package/dist/index313.js.map +1 -1
  304. package/dist/index314.js +10 -15
  305. package/dist/index314.js.map +1 -1
  306. package/dist/index315.js +154 -3
  307. package/dist/index315.js.map +1 -1
  308. package/dist/index316.js +31 -25
  309. package/dist/index316.js.map +1 -1
  310. package/dist/index317.js +11 -28
  311. package/dist/index317.js.map +1 -1
  312. package/dist/index318.js +50 -4
  313. package/dist/index318.js.map +1 -1
  314. package/dist/index319.js +9 -78
  315. package/dist/index319.js.map +1 -1
  316. package/dist/index320.js +10 -271
  317. package/dist/index320.js.map +1 -1
  318. package/dist/index321.js +43 -11
  319. package/dist/index321.js.map +1 -1
  320. package/dist/index322.js +97 -10
  321. package/dist/index322.js.map +1 -1
  322. package/dist/index323.js +86 -25
  323. package/dist/index323.js.map +1 -1
  324. package/dist/index324.js +104 -15
  325. package/dist/index324.js.map +1 -1
  326. package/dist/index325.js +50 -123
  327. package/dist/index325.js.map +1 -1
  328. package/dist/index326.js +11 -5
  329. package/dist/index326.js.map +1 -1
  330. package/dist/index327.js +4 -65
  331. package/dist/index327.js.map +1 -1
  332. package/dist/index328.js +37 -13
  333. package/dist/index328.js.map +1 -1
  334. package/dist/index329.js +8 -7
  335. package/dist/index329.js.map +1 -1
  336. package/dist/index330.js +3 -5
  337. package/dist/index330.js.map +1 -1
  338. package/dist/index331.js +135 -3
  339. package/dist/index331.js.map +1 -1
  340. package/dist/index332.js +17 -10
  341. package/dist/index332.js.map +1 -1
  342. package/dist/index333.js +15 -7
  343. package/dist/index333.js.map +1 -1
  344. package/dist/index334.js +32 -129
  345. package/dist/index334.js.map +1 -1
  346. package/dist/index335.js +18 -397
  347. package/dist/index335.js.map +1 -1
  348. package/dist/index336.js +9 -5
  349. package/dist/index336.js.map +1 -1
  350. package/dist/index337.js +9 -52
  351. package/dist/index337.js.map +1 -1
  352. package/dist/index338.js +24 -11
  353. package/dist/index338.js.map +1 -1
  354. package/dist/index339.js +28 -27
  355. package/dist/index339.js.map +1 -1
  356. package/dist/index34.js +2 -2
  357. package/dist/index340.js +16 -11
  358. package/dist/index340.js.map +1 -1
  359. package/dist/index341.js +8 -4
  360. package/dist/index341.js.map +1 -1
  361. package/dist/index342.js +12 -18
  362. package/dist/index342.js.map +1 -1
  363. package/dist/index343.js +8 -12
  364. package/dist/index343.js.map +1 -1
  365. package/dist/index344.js +13 -8
  366. package/dist/index344.js.map +1 -1
  367. package/dist/index345.js +3 -11
  368. package/dist/index345.js.map +1 -1
  369. package/dist/index346.js +3 -8
  370. package/dist/index346.js.map +1 -1
  371. package/dist/index347.js +16 -12
  372. package/dist/index347.js.map +1 -1
  373. package/dist/index348.js +51 -3
  374. package/dist/index348.js.map +1 -1
  375. package/dist/index349.js +5 -3
  376. package/dist/index349.js.map +1 -1
  377. package/dist/index35.js +5 -5
  378. package/dist/index350.js +60 -16
  379. package/dist/index350.js.map +1 -1
  380. package/dist/index351.js +66 -5
  381. package/dist/index351.js.map +1 -1
  382. package/dist/index352.js +140 -47
  383. package/dist/index352.js.map +1 -1
  384. package/dist/index353.js +77 -59
  385. package/dist/index353.js.map +1 -1
  386. package/dist/index354.js +59 -64
  387. package/dist/index354.js.map +1 -1
  388. package/dist/index355.js +15 -9
  389. package/dist/index355.js.map +1 -1
  390. package/dist/index356.js +9 -5
  391. package/dist/index356.js.map +1 -1
  392. package/dist/index357.js +4 -11
  393. package/dist/index357.js.map +1 -1
  394. package/dist/index358.js +11 -21
  395. package/dist/index358.js.map +1 -1
  396. package/dist/index359.js +19 -14
  397. package/dist/index359.js.map +1 -1
  398. package/dist/index36.js +11 -11
  399. package/dist/index360.js +17 -8
  400. package/dist/index360.js.map +1 -1
  401. package/dist/index361.js +8 -145
  402. package/dist/index361.js.map +1 -1
  403. package/dist/index362.js +4 -80
  404. package/dist/index362.js.map +1 -1
  405. package/dist/index363.js +5 -61
  406. package/dist/index363.js.map +1 -1
  407. package/dist/index364.js +3 -15
  408. package/dist/index364.js.map +1 -1
  409. package/dist/index365.js +11 -4
  410. package/dist/index365.js.map +1 -1
  411. package/dist/index366.js +20 -20
  412. package/dist/index366.js.map +1 -1
  413. package/dist/index367.js +45 -4
  414. package/dist/index367.js.map +1 -1
  415. package/dist/index368.js +18 -6
  416. package/dist/index368.js.map +1 -1
  417. package/dist/index369.js +5 -3
  418. package/dist/index369.js.map +1 -1
  419. package/dist/index37.js +3 -3
  420. package/dist/index370.js +199 -10
  421. package/dist/index370.js.map +1 -1
  422. package/dist/index371.js +73 -20
  423. package/dist/index371.js.map +1 -1
  424. package/dist/index372.js +122 -43
  425. package/dist/index372.js.map +1 -1
  426. package/dist/index373.js +5 -18
  427. package/dist/index373.js.map +1 -1
  428. package/dist/index374.js +17 -4
  429. package/dist/index374.js.map +1 -1
  430. package/dist/index375.js +12 -200
  431. package/dist/index375.js.map +1 -1
  432. package/dist/index376.js +4 -73
  433. package/dist/index376.js.map +1 -1
  434. package/dist/index377.js +19 -122
  435. package/dist/index377.js.map +1 -1
  436. package/dist/index378.js +8 -4
  437. package/dist/index378.js.map +1 -1
  438. package/dist/index379.js +27 -5
  439. package/dist/index379.js.map +1 -1
  440. package/dist/index38.js +4 -4
  441. package/dist/index380.js +138 -4
  442. package/dist/index380.js.map +1 -1
  443. package/dist/index381.js +12 -15
  444. package/dist/index381.js.map +1 -1
  445. package/dist/index382.js +46 -8
  446. package/dist/index382.js.map +1 -1
  447. package/dist/index383.js +3 -5
  448. package/dist/index383.js.map +1 -1
  449. package/dist/index384.js +21 -4
  450. package/dist/index384.js.map +1 -1
  451. package/dist/index385.js +72 -542
  452. package/dist/index385.js.map +1 -1
  453. package/dist/index386.js +11 -46
  454. package/dist/index386.js.map +1 -1
  455. package/dist/index387.js +3 -17
  456. package/dist/index387.js.map +1 -1
  457. package/dist/index388.js +71 -5
  458. package/dist/index388.js.map +1 -1
  459. package/dist/index389.js +35 -7
  460. package/dist/index389.js.map +1 -1
  461. package/dist/index39.js +5 -5
  462. package/dist/index390.js +7 -7
  463. package/dist/index390.js.map +1 -1
  464. package/dist/index391.js +15 -7
  465. package/dist/index391.js.map +1 -1
  466. package/dist/index392.js +3 -12
  467. package/dist/index392.js.map +1 -1
  468. package/dist/index393.js +3 -9
  469. package/dist/index393.js.map +1 -1
  470. package/dist/index394.js +4 -12
  471. package/dist/index394.js.map +1 -1
  472. package/dist/index395.js +4 -8
  473. package/dist/index395.js.map +1 -1
  474. package/dist/index396.js +4 -27
  475. package/dist/index396.js.map +1 -1
  476. package/dist/index397.js +14 -136
  477. package/dist/index397.js.map +1 -1
  478. package/dist/index398.js +8 -12
  479. package/dist/index398.js.map +1 -1
  480. package/dist/index399.js +5 -46
  481. package/dist/index399.js.map +1 -1
  482. package/dist/index40.js +3 -3
  483. package/dist/index400.js +4 -3
  484. package/dist/index400.js.map +1 -1
  485. package/dist/index401.js +544 -20
  486. package/dist/index401.js.map +1 -1
  487. package/dist/index402.js +46 -75
  488. package/dist/index402.js.map +1 -1
  489. package/dist/index403.js +18 -12
  490. package/dist/index403.js.map +1 -1
  491. package/dist/index404.js +5 -3
  492. package/dist/index404.js.map +1 -1
  493. package/dist/index405.js +7 -71
  494. package/dist/index405.js.map +1 -1
  495. package/dist/index406.js +6 -35
  496. package/dist/index406.js.map +1 -1
  497. package/dist/index407.js +8 -7
  498. package/dist/index407.js.map +1 -1
  499. package/dist/index408.js +11 -15
  500. package/dist/index408.js.map +1 -1
  501. package/dist/index409.js +9 -3
  502. package/dist/index409.js.map +1 -1
  503. package/dist/index41.js +10 -10
  504. package/dist/index410.js +13 -3
  505. package/dist/index410.js.map +1 -1
  506. package/dist/index411.js +3 -5
  507. package/dist/index411.js.map +1 -1
  508. package/dist/index412.js +14 -55
  509. package/dist/index412.js.map +1 -1
  510. package/dist/index413.js +490 -66
  511. package/dist/index413.js.map +1 -1
  512. package/dist/index414.js +8 -31
  513. package/dist/index414.js.map +1 -1
  514. package/dist/index415.js +2 -9
  515. package/dist/index415.js.map +1 -1
  516. package/dist/index416.js +41 -150
  517. package/dist/index416.js.map +1 -1
  518. package/dist/index417.js +56 -108
  519. package/dist/index417.js.map +1 -1
  520. package/dist/index418.js +7 -14
  521. package/dist/index418.js.map +1 -1
  522. package/dist/index419.js +2 -3
  523. package/dist/index419.js.map +1 -1
  524. package/dist/index420.js +50 -487
  525. package/dist/index420.js.map +1 -1
  526. package/dist/index421.js +55 -7
  527. package/dist/index421.js.map +1 -1
  528. package/dist/index422.js +33 -2
  529. package/dist/index422.js.map +1 -1
  530. package/dist/index423.js +4 -43
  531. package/dist/index423.js.map +1 -1
  532. package/dist/index424.js +55 -55
  533. package/dist/index424.js.map +1 -1
  534. package/dist/index425.js +68 -8
  535. package/dist/index425.js.map +1 -1
  536. package/dist/index426.js +31 -2
  537. package/dist/index426.js.map +1 -1
  538. package/dist/index427.js +9 -55
  539. package/dist/index427.js.map +1 -1
  540. package/dist/index428.js +152 -55
  541. package/dist/index428.js.map +1 -1
  542. package/dist/index429.js +107 -32
  543. package/dist/index429.js.map +1 -1
  544. package/dist/index430.js +2 -16
  545. package/dist/index430.js.map +1 -1
  546. package/dist/index431.js +2 -29
  547. package/dist/index431.js.map +1 -1
  548. package/dist/index432.js +2 -13
  549. package/dist/index432.js.map +1 -1
  550. package/dist/index433.js +2 -7
  551. package/dist/index433.js.map +1 -1
  552. package/dist/index434.js +16 -2
  553. package/dist/index434.js.map +1 -1
  554. package/dist/index435.js +29 -2
  555. package/dist/index435.js.map +1 -1
  556. package/dist/index436.js +13 -2
  557. package/dist/index436.js.map +1 -1
  558. package/dist/index437.js +7 -2
  559. package/dist/index437.js.map +1 -1
  560. package/dist/index44.js +1 -1
  561. package/dist/index45.js +2 -2
  562. package/dist/index49.js +36 -36
  563. package/dist/index50.js +29 -29
  564. package/dist/index51.js +2 -2
  565. package/dist/index52.js +12 -12
  566. package/dist/index53.js +4 -4
  567. package/dist/index54.js +1 -1
  568. package/dist/index55.js +21 -21
  569. package/dist/index56.js +5 -5
  570. package/dist/index57.js +5 -5
  571. package/dist/index58.js +8 -8
  572. package/dist/index59.js +5 -5
  573. package/dist/index60.js +17 -17
  574. package/dist/index61.js +5 -5
  575. package/dist/index62.js +3 -3
  576. package/dist/index66.js +1 -1
  577. package/dist/index67.js +1 -1
  578. package/dist/index70.js +1 -1
  579. package/dist/index71.js +1 -1
  580. package/dist/index72.js +6 -2
  581. package/dist/index72.js.map +1 -1
  582. package/dist/index73.js +8 -2
  583. package/dist/index73.js.map +1 -1
  584. package/dist/index74.js +6 -2
  585. package/dist/index74.js.map +1 -1
  586. package/dist/index75.js +2 -2
  587. package/dist/index76.js +2 -6
  588. package/dist/index76.js.map +1 -1
  589. package/dist/index77.js +2 -8
  590. package/dist/index77.js.map +1 -1
  591. package/dist/index78.js +2 -6
  592. package/dist/index78.js.map +1 -1
  593. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index394.js","sources":["../../../node_modules/date-fns/getWeekYear.js"],"sourcesContent":["import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getWeekYear} function options.\n */\n\n/**\n * @name getWeekYear\n * @category Week-Numbering Year Helpers\n * @summary Get the local week-numbering year of the given date.\n *\n * @description\n * Get the local week-numbering year of the given date.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @param date - The given date\n * @param options - An object with options.\n *\n * @returns The local week-numbering year\n *\n * @example\n * // Which week numbering year is 26 December 2004 with the default settings?\n * const result = getWeekYear(new Date(2004, 11, 26))\n * //=> 2005\n *\n * @example\n * // Which week numbering year is 26 December 2004 if week starts on Saturday?\n * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 })\n * //=> 2004\n *\n * @example\n * // Which week numbering year is 26 December 2004 if the first week contains 4 January?\n * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 })\n * //=> 2004\n */\nexport function getWeekYear(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n\n const defaultOptions = getDefaultOptions();\n const firstWeekContainsDate =\n options?.firstWeekContainsDate ??\n options?.locale?.options?.firstWeekContainsDate ??\n defaultOptions.firstWeekContainsDate ??\n defaultOptions.locale?.options?.firstWeekContainsDate ??\n 1;\n\n const firstWeekOfNextYear = constructFrom(options?.in || date, 0);\n firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfWeek(firstWeekOfNextYear, options);\n\n const firstWeekOfThisYear = constructFrom(options?.in || date, 0);\n firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfWeek(firstWeekOfThisYear, options);\n\n if (+_date >= +startOfNextYear) {\n return year + 1;\n } else if (+_date >= +startOfThisYear) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// Fallback for modularized imports:\nexport default getWeekYear;\n"],"names":["getWeekYear","date","options","_date","toDate","year","defaultOptions","getDefaultOptions","firstWeekContainsDate","firstWeekOfNextYear","constructFrom","startOfNextYear","startOfWeek","firstWeekOfThisYear","startOfThisYear"],"mappings":";;;;AA2CO,SAASA,EAAYC,GAAMC,GAAS;AACzC,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE,GAChCG,IAAOF,EAAM,YAAW,GAExBG,IAAiBC,EAAiB,GAClCC,IACJN,GAAS,yBACTA,GAAS,QAAQ,SAAS,yBAC1BI,EAAe,yBACfA,EAAe,QAAQ,SAAS,yBAChC,GAEIG,IAAsBC,EAAcR,GAAS,MAAMD,GAAM,CAAC;AAChE,EAAAQ,EAAoB,YAAYJ,IAAO,GAAG,GAAGG,CAAqB,GAClEC,EAAoB,SAAS,GAAG,GAAG,GAAG,CAAC;AACvC,QAAME,IAAkBC,EAAYH,GAAqBP,CAAO,GAE1DW,IAAsBH,EAAcR,GAAS,MAAMD,GAAM,CAAC;AAChE,EAAAY,EAAoB,YAAYR,GAAM,GAAGG,CAAqB,GAC9DK,EAAoB,SAAS,GAAG,GAAG,GAAG,CAAC;AACvC,QAAMC,IAAkBF,EAAYC,GAAqBX,CAAO;AAEhE,SAAI,CAACC,KAAS,CAACQ,IACNN,IAAO,IACL,CAACF,KAAS,CAACW,IACbT,IAEAA,IAAO;AAElB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index394.js","sources":["../../../node_modules/date-fns/constructFrom.js"],"sourcesContent":["import { constructFromSymbol } from \"./constants.js\";\n\n/**\n * @name constructFrom\n * @category Generic Helpers\n * @summary Constructs a date using the reference date and the value\n *\n * @description\n * The function constructs a new date using the constructor from the reference\n * date and the given value. It helps to build generic functions that accept\n * date extensions.\n *\n * It defaults to `Date` if the passed reference date is a number or a string.\n *\n * Starting from v3.7.0, it allows to construct a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The reference date to take constructor from\n * @param value - The value to create the date\n *\n * @returns Date initialized using the given date and value\n *\n * @example\n * import { constructFrom } from \"./constructFrom/date-fns\";\n *\n * // A function that clones a date preserving the original type\n * function cloneDate<DateType extends Date>(date: DateType): DateType {\n * return constructFrom(\n * date, // Use constructor from the given date\n * date.getTime() // Use the date value to create a new date\n * );\n * }\n */\nexport function constructFrom(date, value) {\n if (typeof date === \"function\") return date(value);\n\n if (date && typeof date === \"object\" && constructFromSymbol in date)\n return date[constructFromSymbol](value);\n\n if (date instanceof Date) return new date.constructor(value);\n\n return new Date(value);\n}\n\n// Fallback for modularized imports:\nexport default constructFrom;\n"],"names":["constructFrom","date","value","constructFromSymbol"],"mappings":";AAqCO,SAASA,EAAcC,GAAMC,GAAO;AACzC,SAAI,OAAOD,KAAS,aAAmBA,EAAKC,CAAK,IAE7CD,KAAQ,OAAOA,KAAS,YAAYE,KAAuBF,IACtDA,EAAKE,CAAmB,EAAED,CAAK,IAEpCD,aAAgB,OAAa,IAAIA,EAAK,YAAYC,CAAK,IAEpD,IAAI,KAAKA,CAAK;AACvB;","x_google_ignoreList":[0]}
package/dist/index395.js CHANGED
@@ -1,12 +1,8 @@
1
- function r(...n) {
2
- return () => {
3
- for (let e = 0; e < n.length; e += 1) {
4
- const t = n[e];
5
- t && t();
6
- }
7
- };
1
+ import { constructFrom as r } from "./index394.js";
2
+ function n(o, t) {
3
+ return r(t || o, o);
8
4
  }
9
5
  export {
10
- r as mergeCleanups
6
+ n as toDate
11
7
  };
12
8
  //# sourceMappingURL=index395.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index395.js","sources":["../../../node_modules/@base-ui/utils/mergeCleanups.mjs"],"sourcesContent":["/**\n * Combines multiple cleanup functions into a single cleanup function.\n */\nexport function mergeCleanups(...cleanups) {\n return () => {\n for (let i = 0; i < cleanups.length; i += 1) {\n const cleanup = cleanups[i];\n if (cleanup) {\n cleanup();\n }\n }\n };\n}"],"names":["mergeCleanups","cleanups","i","cleanup"],"mappings":"AAGO,SAASA,KAAiBC,GAAU;AACzC,SAAO,MAAM;AACX,aAASC,IAAI,GAAGA,IAAID,EAAS,QAAQC,KAAK,GAAG;AAC3C,YAAMC,IAAUF,EAASC,CAAC;AAC1B,MAAIC,KACFA,EAAO;AAAA,IAEX;AAAA,EACF;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index395.js","sources":["../../../node_modules/date-fns/toDate.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\n\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * Starting from v3.7.0, it clones a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param argument - The value to convert\n *\n * @returns The parsed date in the local time zone\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport function toDate(argument, context) {\n // [TODO] Get rid of `toDate` or `constructFrom`?\n return constructFrom(context || argument, argument);\n}\n\n// Fallback for modularized imports:\nexport default toDate;\n"],"names":["toDate","argument","context","constructFrom"],"mappings":";AAwCO,SAASA,EAAOC,GAAUC,GAAS;AAExC,SAAOC,EAAcD,KAAWD,GAAUA,CAAQ;AACpD;","x_google_ignoreList":[0]}
package/dist/index396.js CHANGED
@@ -1,30 +1,7 @@
1
- import * as r from "react";
2
- import { useIsoLayoutEffect as i } from "./index287.js";
3
- import { visuallyHidden as u } from "./index280.js";
4
- import { j as f } from "./index30.js";
5
- import { voiceOver as n } from "./index419.js";
6
- import { webkit as d } from "./index336.js";
7
- const m = /* @__PURE__ */ r.forwardRef(function(t, e) {
8
- const [o, s] = r.useState();
9
- i(() => {
10
- n && d && s("button");
11
- }, []);
12
- const a = {
13
- tabIndex: 0,
14
- // Role is only for VoiceOver
15
- role: o
16
- };
17
- return /* @__PURE__ */ f.jsx("span", {
18
- ...t,
19
- ref: e,
20
- style: u,
21
- "aria-hidden": o ? void 0 : !0,
22
- ...a,
23
- "data-base-ui-focus-guard": ""
24
- });
25
- });
26
- process.env.NODE_ENV !== "production" && (m.displayName = "FocusGuard");
1
+ const o = 6048e5, c = 864e5, n = /* @__PURE__ */ Symbol.for("constructDateFrom");
27
2
  export {
28
- m as FocusGuard
3
+ n as constructFromSymbol,
4
+ c as millisecondsInDay,
5
+ o as millisecondsInWeek
29
6
  };
30
7
  //# sourceMappingURL=index396.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index396.js","sources":["../../../node_modules/@base-ui/react/utils/FocusGuard.mjs"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { platform } from '@base-ui/utils/platform';\nimport { visuallyHidden } from '@base-ui/utils/visuallyHidden';\n\n/**\n * @internal\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const FocusGuard = /*#__PURE__*/React.forwardRef(function FocusGuard(props, ref) {\n const [role, setRole] = React.useState();\n useIsoLayoutEffect(() => {\n // Unlike NVDA and JAWS, VoiceOver's virtual cursor triggers `onFocus` as\n // it moves — but only on focusable/role-button elements through WebKit's\n // NSAccessibility path. Setting `role=\"button\"` lets the focus trap catch\n // the cursor.\n if (platform.screenReader.voiceOver && platform.engine.webkit) {\n setRole('button');\n }\n }, []);\n const restProps = {\n tabIndex: 0,\n // Role is only for VoiceOver\n role\n };\n return /*#__PURE__*/_jsx(\"span\", {\n ...props,\n ref: ref,\n style: visuallyHidden,\n \"aria-hidden\": role ? undefined : true,\n ...restProps,\n \"data-base-ui-focus-guard\": \"\"\n });\n});\nif (process.env.NODE_ENV !== \"production\") FocusGuard.displayName = \"FocusGuard\";"],"names":["FocusGuard","React","props","ref","role","setRole","useIsoLayoutEffect","platform.screenReader.voiceOver","platform.engine.webkit","restProps","_jsx","visuallyHidden"],"mappings":";;;;;;AAWY,MAACA,IAA0B,gBAAAC,EAAM,WAAW,SAAoBC,GAAOC,GAAK;AACtF,QAAM,CAACC,GAAMC,CAAO,IAAIJ,EAAM,SAAQ;AACtC,EAAAK,EAAmB,MAAM;AAKvB,IAAIC,KAAmCC,KACrCH,EAAQ,QAAQ;AAAA,EAEpB,GAAG,CAAA,CAAE;AACL,QAAMI,IAAY;AAAA,IAChB,UAAU;AAAA;AAAA,IAEV,MAAAL;AAAA,EACJ;AACE,SAAoBM,gBAAAA,EAAAA,IAAK,QAAQ;AAAA,IAC/B,GAAGR;AAAA,IACH,KAAKC;AAAA,IACL,OAAOQ;AAAA,IACP,eAAeP,IAAO,SAAY;AAAA,IAClC,GAAGK;AAAA,IACH,4BAA4B;AAAA,EAChC,CAAG;AACH,CAAC;AACG,QAAQ,IAAI,aAAa,iBAAcT,EAAW,cAAc;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index396.js","sources":["../../../node_modules/date-fns/constants.js"],"sourcesContent":["/**\n * @module constants\n * @summary Useful constants\n * @description\n * Collection of useful date constants.\n *\n * The constants could be imported from `date-fns/constants`:\n *\n * ```ts\n * import { maxTime, minTime } from \"./constants/date-fns/constants\";\n *\n * function isAllowedTime(time) {\n * return time <= maxTime && time >= minTime;\n * }\n * ```\n */\n\n/**\n * @constant\n * @name daysInWeek\n * @summary Days in 1 week.\n */\nexport const daysInWeek = 7;\n\n/**\n * @constant\n * @name daysInYear\n * @summary Days in 1 year.\n *\n * @description\n * How many days in a year.\n *\n * One years equals 365.2425 days according to the formula:\n *\n * > Leap year occurs every 4 years, except for years that are divisible by 100 and not divisible by 400.\n * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days\n */\nexport const daysInYear = 365.2425;\n\n/**\n * @constant\n * @name maxTime\n * @summary Maximum allowed time.\n *\n * @example\n * import { maxTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = 8640000000000001 <= maxTime;\n * //=> false\n *\n * new Date(8640000000000001);\n * //=> Invalid Date\n */\nexport const maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\n\n/**\n * @constant\n * @name minTime\n * @summary Minimum allowed time.\n *\n * @example\n * import { minTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = -8640000000000001 >= minTime;\n * //=> false\n *\n * new Date(-8640000000000001)\n * //=> Invalid Date\n */\nexport const minTime = -maxTime;\n\n/**\n * @constant\n * @name millisecondsInWeek\n * @summary Milliseconds in 1 week.\n */\nexport const millisecondsInWeek = 604800000;\n\n/**\n * @constant\n * @name millisecondsInDay\n * @summary Milliseconds in 1 day.\n */\nexport const millisecondsInDay = 86400000;\n\n/**\n * @constant\n * @name millisecondsInMinute\n * @summary Milliseconds in 1 minute\n */\nexport const millisecondsInMinute = 60000;\n\n/**\n * @constant\n * @name millisecondsInHour\n * @summary Milliseconds in 1 hour\n */\nexport const millisecondsInHour = 3600000;\n\n/**\n * @constant\n * @name millisecondsInSecond\n * @summary Milliseconds in 1 second\n */\nexport const millisecondsInSecond = 1000;\n\n/**\n * @constant\n * @name minutesInYear\n * @summary Minutes in 1 year.\n */\nexport const minutesInYear = 525600;\n\n/**\n * @constant\n * @name minutesInMonth\n * @summary Minutes in 1 month.\n */\nexport const minutesInMonth = 43200;\n\n/**\n * @constant\n * @name minutesInDay\n * @summary Minutes in 1 day.\n */\nexport const minutesInDay = 1440;\n\n/**\n * @constant\n * @name minutesInHour\n * @summary Minutes in 1 hour.\n */\nexport const minutesInHour = 60;\n\n/**\n * @constant\n * @name monthsInQuarter\n * @summary Months in 1 quarter.\n */\nexport const monthsInQuarter = 3;\n\n/**\n * @constant\n * @name monthsInYear\n * @summary Months in 1 year.\n */\nexport const monthsInYear = 12;\n\n/**\n * @constant\n * @name quartersInYear\n * @summary Quarters in 1 year\n */\nexport const quartersInYear = 4;\n\n/**\n * @constant\n * @name secondsInHour\n * @summary Seconds in 1 hour.\n */\nexport const secondsInHour = 3600;\n\n/**\n * @constant\n * @name secondsInMinute\n * @summary Seconds in 1 minute.\n */\nexport const secondsInMinute = 60;\n\n/**\n * @constant\n * @name secondsInDay\n * @summary Seconds in 1 day.\n */\nexport const secondsInDay = secondsInHour * 24;\n\n/**\n * @constant\n * @name secondsInWeek\n * @summary Seconds in 1 week.\n */\nexport const secondsInWeek = secondsInDay * 7;\n\n/**\n * @constant\n * @name secondsInYear\n * @summary Seconds in 1 year.\n */\nexport const secondsInYear = secondsInDay * daysInYear;\n\n/**\n * @constant\n * @name secondsInMonth\n * @summary Seconds in 1 month\n */\nexport const secondsInMonth = secondsInYear / 12;\n\n/**\n * @constant\n * @name secondsInQuarter\n * @summary Seconds in 1 quarter.\n */\nexport const secondsInQuarter = secondsInMonth * 3;\n\n/**\n * @constant\n * @name constructFromSymbol\n * @summary Symbol enabling Date extensions to inherit properties from the reference date.\n *\n * The symbol is used to enable the `constructFrom` function to construct a date\n * using a reference date and a value. It allows to transfer extra properties\n * from the reference date to the new date. It's useful for extensions like\n * [`TZDate`](https://github.com/date-fns/tz) that accept a time zone as\n * a constructor argument.\n */\nexport const constructFromSymbol = Symbol.for(\"constructDateFrom\");\n"],"names":["millisecondsInWeek","millisecondsInDay","constructFromSymbol"],"mappings":"AA4EY,MAACA,IAAqB,QAOrBC,IAAoB,OAoIpBC,IAAsB,uBAAO,IAAI,mBAAmB;","x_google_ignoreList":[0]}
package/dist/index397.js CHANGED
@@ -1,141 +1,19 @@
1
- import { isHTMLElement as s, getNodeName as i, isShadowRoot as T, getComputedStyle as A } from "./index334.js";
2
- import { ownerDocument as c } from "./index310.js";
3
- import { contains as f, activeElement as I } from "./index317.js";
4
- import { isElementVisible as C } from "./index399.js";
5
- const N = 'a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]';
6
- function R(t) {
7
- const n = t.assignedSlot;
8
- if (n)
9
- return n;
10
- if (t.parentElement)
11
- return t.parentElement;
12
- const e = t.getRootNode();
13
- return T(e) ? e.host : null;
14
- }
15
- function d(t) {
16
- for (const n of Array.from(t.children))
17
- if (i(n) === "summary")
18
- return n;
19
- return null;
20
- }
21
- function S(t, n) {
22
- const e = d(n);
23
- return !!e && (t === e || f(e, t));
24
- }
25
- function b(t) {
26
- const n = t ? i(t) : "";
27
- return t != null && t.matches(N) && (n !== "summary" || t.parentElement != null && i(t.parentElement) === "details" && d(t.parentElement) === t) && (n !== "details" || d(t) == null) && (n !== "input" || t.type !== "hidden");
28
- }
1
+ import { toDate as o } from "./index395.js";
29
2
  function l(t) {
30
- if (!b(t) || !t.isConnected || t.matches(":disabled"))
31
- return !1;
32
- for (let n = t; n; n = R(n)) {
33
- const e = n !== t, r = i(n) === "slot";
34
- if (n.hasAttribute("inert") || e && i(n) === "details" && !n.open && !S(t, n) || n.hasAttribute("hidden") || !r && !v(n, e))
35
- return !1;
36
- }
37
- return !0;
38
- }
39
- function v(t, n) {
40
- const e = A(t);
41
- return n ? e.display !== "none" : C(t, e);
42
- }
43
- function m(t) {
44
- const n = t.tabIndex;
45
- if (n < 0) {
46
- const e = i(t);
47
- if (e === "details" || e === "audio" || e === "video" || s(t) && t.isContentEditable)
48
- return 0;
49
- }
50
- return n;
51
- }
52
- function u(t) {
53
- if (i(t) !== "input")
54
- return null;
55
- const n = t;
56
- return n.type === "radio" && n.name !== "" ? n : null;
57
- }
58
- function D(t, n) {
59
- const e = u(t);
60
- if (!e)
61
- return !0;
62
- const r = n.find((a) => {
63
- const o = u(a);
64
- return o?.name === e.name && o.form === e.form && o.checked;
65
- });
66
- return r ? r === e : n.find((a) => {
67
- const o = u(a);
68
- return o?.name === e.name && o.form === e.form;
69
- }) === e;
70
- }
71
- function p(t) {
72
- if (s(t) && i(t) === "slot") {
73
- const n = t.assignedElements({
74
- flatten: !0
75
- });
76
- if (n.length > 0)
77
- return n;
78
- }
79
- return s(t) && t.shadowRoot ? Array.from(t.shadowRoot.children) : Array.from(t.children);
80
- }
81
- function h(t, n) {
82
- p(t).forEach((e) => {
83
- b(e) && n.push(e), h(e, n);
84
- });
85
- }
86
- function E(t, n, e) {
87
- p(t).forEach((r) => {
88
- s(r) && r.matches(n) && e.push(r), E(r, n, e);
89
- });
90
- }
91
- function M(t) {
92
- return l(t) && m(t) >= 0;
93
- }
94
- function w(t) {
95
- const n = [];
96
- return h(t, n), n.filter(l);
97
- }
98
- function g(t) {
99
- const n = w(t);
100
- return n.filter((e) => m(e) >= 0 && D(e, n));
101
- }
102
- function x(t, n) {
103
- const e = g(t), r = e.length;
104
- if (r === 0)
105
- return;
106
- const a = I(c(t)), o = e.indexOf(a), y = o === -1 ? n === 1 ? 0 : r - 1 : o + n;
107
- return e[y];
108
- }
109
- function P(t) {
110
- return x(c(t).body, 1) || t;
111
- }
112
- function V(t) {
113
- return x(c(t).body, -1) || t;
114
- }
115
- function j(t, n) {
116
- const e = n || t.currentTarget, r = t.relatedTarget;
117
- return !r || !f(e, r);
118
- }
119
- function H(t) {
120
- g(t).forEach((e) => {
121
- e.dataset.tabindex = e.getAttribute("tabindex") || "", e.setAttribute("tabindex", "-1");
122
- });
123
- }
124
- function W(t) {
125
- const n = [];
126
- E(t, "[data-tabindex]", n), n.forEach((e) => {
127
- const r = e.dataset.tabindex;
128
- delete e.dataset.tabindex, r ? e.setAttribute("tabindex", r) : e.removeAttribute("tabindex");
129
- });
3
+ const e = o(t), n = new Date(
4
+ Date.UTC(
5
+ e.getFullYear(),
6
+ e.getMonth(),
7
+ e.getDate(),
8
+ e.getHours(),
9
+ e.getMinutes(),
10
+ e.getSeconds(),
11
+ e.getMilliseconds()
12
+ )
13
+ );
14
+ return n.setUTCFullYear(e.getFullYear()), +t - +n;
130
15
  }
131
16
  export {
132
- H as disableFocusInside,
133
- W as enableFocusInside,
134
- w as focusable,
135
- P as getNextTabbable,
136
- V as getPreviousTabbable,
137
- j as isOutsideEvent,
138
- M as isTabbable,
139
- g as tabbable
17
+ l as getTimezoneOffsetInMilliseconds
140
18
  };
141
19
  //# sourceMappingURL=index397.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index397.js","sources":["../../../node_modules/@base-ui/react/floating-ui-react/utils/tabbable.mjs"],"sourcesContent":["import { getComputedStyle, getNodeName, isHTMLElement, isShadowRoot } from '@floating-ui/utils/dom';\nimport { ownerDocument } from '@base-ui/utils/owner';\nimport { activeElement, contains } from \"./element.mjs\";\nimport { isElementVisible } from \"./composite.mjs\";\nconst CANDIDATE_SELECTOR = 'a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable=\"false\"]),audio[controls],video[controls]';\nfunction getParentElement(element) {\n const assignedSlot = element.assignedSlot;\n if (assignedSlot) {\n return assignedSlot;\n }\n if (element.parentElement) {\n return element.parentElement;\n }\n const rootNode = element.getRootNode();\n return isShadowRoot(rootNode) ? rootNode.host : null;\n}\nfunction getDetailsSummary(details) {\n for (const child of Array.from(details.children)) {\n if (getNodeName(child) === 'summary') {\n return child;\n }\n }\n return null;\n}\nfunction isWithinOpenDetailsSummary(element, details) {\n const summary = getDetailsSummary(details);\n return !!summary && (element === summary || contains(summary, element));\n}\nfunction isFocusableCandidate(element) {\n const nodeName = element ? getNodeName(element) : '';\n return element != null && element.matches(CANDIDATE_SELECTOR) && (nodeName !== 'summary' || element.parentElement != null && getNodeName(element.parentElement) === 'details' && getDetailsSummary(element.parentElement) === element) && (nodeName !== 'details' || getDetailsSummary(element) == null) && (nodeName !== 'input' || element.type !== 'hidden');\n}\nfunction isFocusableElement(element) {\n if (!isFocusableCandidate(element) || !element.isConnected || element.matches(':disabled')) {\n return false;\n }\n for (let current = element; current; current = getParentElement(current)) {\n const isAncestor = current !== element;\n const isSlot = getNodeName(current) === 'slot';\n if (current.hasAttribute('inert')) {\n return false;\n }\n if (isAncestor && getNodeName(current) === 'details' && !current.open && !isWithinOpenDetailsSummary(element, current) || current.hasAttribute('hidden') || !isSlot && !isVisibleInTabbableTree(current, isAncestor)) {\n return false;\n }\n }\n return true;\n}\nfunction isVisibleInTabbableTree(element, isAncestor) {\n const styles = getComputedStyle(element);\n if (!isAncestor) {\n return isElementVisible(element, styles);\n }\n return styles.display !== 'none';\n}\nfunction getTabIndex(element) {\n const tabIndex = element.tabIndex;\n if (tabIndex < 0) {\n const nodeName = getNodeName(element);\n if (nodeName === 'details' || nodeName === 'audio' || nodeName === 'video' || isHTMLElement(element) && element.isContentEditable) {\n return 0;\n }\n }\n return tabIndex;\n}\nfunction getNamedRadioInput(element) {\n if (getNodeName(element) !== 'input') {\n return null;\n }\n const input = element;\n return input.type === 'radio' && input.name !== '' ? input : null;\n}\nfunction isTabbableRadio(element, candidates) {\n const input = getNamedRadioInput(element);\n if (!input) {\n return true;\n }\n const checkedRadio = candidates.find(candidate => {\n const radio = getNamedRadioInput(candidate);\n return radio?.name === input.name && radio.form === input.form && radio.checked;\n });\n if (checkedRadio) {\n return checkedRadio === input;\n }\n return candidates.find(candidate => {\n const radio = getNamedRadioInput(candidate);\n return radio?.name === input.name && radio.form === input.form;\n }) === input;\n}\nfunction getComposedChildren(container) {\n if (isHTMLElement(container) && getNodeName(container) === 'slot') {\n const assignedElements = container.assignedElements({\n flatten: true\n });\n if (assignedElements.length > 0) {\n return assignedElements;\n }\n }\n if (isHTMLElement(container) && container.shadowRoot) {\n return Array.from(container.shadowRoot.children);\n }\n return Array.from(container.children);\n}\nfunction appendCandidates(container, list) {\n getComposedChildren(container).forEach(child => {\n if (isFocusableCandidate(child)) {\n list.push(child);\n }\n appendCandidates(child, list);\n });\n}\nfunction appendMatchingElements(container, selector, list) {\n getComposedChildren(container).forEach(child => {\n if (isHTMLElement(child) && child.matches(selector)) {\n list.push(child);\n }\n appendMatchingElements(child, selector, list);\n });\n}\nexport function isTabbable(element) {\n return isFocusableElement(element) && getTabIndex(element) >= 0;\n}\nexport function focusable(container) {\n const candidates = [];\n appendCandidates(container, candidates);\n return candidates.filter(isFocusableElement);\n}\nexport function tabbable(container) {\n const candidates = focusable(container);\n return candidates.filter(element => getTabIndex(element) >= 0 && isTabbableRadio(element, candidates));\n}\nfunction getTabbableIn(container, dir) {\n const list = tabbable(container);\n const len = list.length;\n if (len === 0) {\n return undefined;\n }\n const active = activeElement(ownerDocument(container));\n const index = list.indexOf(active);\n // eslint-disable-next-line no-nested-ternary\n const nextIndex = index === -1 ? dir === 1 ? 0 : len - 1 : index + dir;\n return list[nextIndex];\n}\nexport function getNextTabbable(referenceElement) {\n return getTabbableIn(ownerDocument(referenceElement).body, 1) || referenceElement;\n}\nexport function getPreviousTabbable(referenceElement) {\n return getTabbableIn(ownerDocument(referenceElement).body, -1) || referenceElement;\n}\nfunction getTabbableNearElement(referenceElement, dir) {\n if (!referenceElement) {\n return null;\n }\n const list = tabbable(ownerDocument(referenceElement).body);\n const elementCount = list.length;\n if (elementCount === 0) {\n return null;\n }\n const index = list.indexOf(referenceElement);\n if (index === -1) {\n return null;\n }\n const nextIndex = (index + dir + elementCount) % elementCount;\n return list[nextIndex];\n}\nexport function getTabbableAfterElement(referenceElement) {\n return getTabbableNearElement(referenceElement, 1);\n}\nexport function getTabbableBeforeElement(referenceElement) {\n return getTabbableNearElement(referenceElement, -1);\n}\nexport function isOutsideEvent(event, container) {\n const containerElement = container || event.currentTarget;\n const relatedTarget = event.relatedTarget;\n return !relatedTarget || !contains(containerElement, relatedTarget);\n}\nexport function disableFocusInside(container) {\n const tabbableElements = tabbable(container);\n tabbableElements.forEach(element => {\n element.dataset.tabindex = element.getAttribute('tabindex') || '';\n element.setAttribute('tabindex', '-1');\n });\n}\nexport function enableFocusInside(container) {\n const elements = [];\n appendMatchingElements(container, '[data-tabindex]', elements);\n elements.forEach(element => {\n const tabindex = element.dataset.tabindex;\n delete element.dataset.tabindex;\n if (tabindex) {\n element.setAttribute('tabindex', tabindex);\n } else {\n element.removeAttribute('tabindex');\n }\n });\n}"],"names":["CANDIDATE_SELECTOR","getParentElement","element","assignedSlot","rootNode","isShadowRoot","getDetailsSummary","details","child","getNodeName","isWithinOpenDetailsSummary","summary","contains","isFocusableCandidate","nodeName","isFocusableElement","current","isAncestor","isSlot","isVisibleInTabbableTree","styles","getComputedStyle","isElementVisible","getTabIndex","tabIndex","isHTMLElement","getNamedRadioInput","input","isTabbableRadio","candidates","checkedRadio","candidate","radio","getComposedChildren","container","assignedElements","appendCandidates","list","appendMatchingElements","selector","isTabbable","focusable","tabbable","getTabbableIn","dir","len","active","activeElement","ownerDocument","index","nextIndex","getNextTabbable","referenceElement","getPreviousTabbable","isOutsideEvent","event","containerElement","relatedTarget","disableFocusInside","enableFocusInside","elements","tabindex"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index397.js","sources":["../../../node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js"],"sourcesContent":["import { toDate } from \"../toDate.js\";\n\n/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport function getTimezoneOffsetInMilliseconds(date) {\n const _date = toDate(date);\n const utcDate = new Date(\n Date.UTC(\n _date.getFullYear(),\n _date.getMonth(),\n _date.getDate(),\n _date.getHours(),\n _date.getMinutes(),\n _date.getSeconds(),\n _date.getMilliseconds(),\n ),\n );\n utcDate.setUTCFullYear(_date.getFullYear());\n return +date - +utcDate;\n}\n"],"names":["getTimezoneOffsetInMilliseconds","date","_date","toDate","utcDate"],"mappings":";AAaO,SAASA,EAAgCC,GAAM;AACpD,QAAMC,IAAQC,EAAOF,CAAI,GACnBG,IAAU,IAAI;AAAA,IAClB,KAAK;AAAA,MACHF,EAAM,YAAW;AAAA,MACjBA,EAAM,SAAQ;AAAA,MACdA,EAAM,QAAO;AAAA,MACbA,EAAM,SAAQ;AAAA,MACdA,EAAM,WAAU;AAAA,MAChBA,EAAM,WAAU;AAAA,MAChBA,EAAM,gBAAe;AAAA,IAC3B;AAAA,EACA;AACE,SAAAE,EAAQ,eAAeF,EAAM,aAAa,GACnC,CAACD,IAAO,CAACG;AAClB;","x_google_ignoreList":[0]}
package/dist/index398.js CHANGED
@@ -1,16 +1,12 @@
1
- function c(r, d, e = !0) {
2
- return r.filter((t) => t.parentId === d).flatMap((t) => [...!e || t.context?.open ? [t] : [], ...c(r, t.id, e)]);
3
- }
4
- function o(r, d) {
5
- let e = [], n = r.find((t) => t.id === d)?.parentId;
6
- for (; n; ) {
7
- const t = r.find((i) => i.id === n);
8
- n = t?.parentId, t && (e = e.concat(t));
9
- }
10
- return e;
1
+ import { constructFrom as r } from "./index394.js";
2
+ function i(e, ...o) {
3
+ const n = r.bind(
4
+ null,
5
+ o.find((t) => typeof t == "object")
6
+ );
7
+ return o.map(n);
11
8
  }
12
9
  export {
13
- o as getNodeAncestors,
14
- c as getNodeChildren
10
+ i as normalizeDates
15
11
  };
16
12
  //# sourceMappingURL=index398.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index398.js","sources":["../../../node_modules/@base-ui/react/floating-ui-react/utils/nodes.mjs"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-loop-func */\n\nexport function getNodeChildren(nodes, id, onlyOpenChildren = true) {\n const directChildren = nodes.filter(node => node.parentId === id);\n return directChildren.flatMap(child => [...(!onlyOpenChildren || child.context?.open ? [child] : []), ...getNodeChildren(nodes, child.id, onlyOpenChildren)]);\n}\nexport function getDeepestNode(nodes, id) {\n let deepestNodeId;\n let maxDepth = -1;\n function findDeepest(nodeId, depth) {\n if (depth > maxDepth) {\n deepestNodeId = nodeId;\n maxDepth = depth;\n }\n const children = getNodeChildren(nodes, nodeId);\n children.forEach(child => {\n findDeepest(child.id, depth + 1);\n });\n }\n findDeepest(id, 0);\n return nodes.find(node => node.id === deepestNodeId);\n}\nexport function getNodeAncestors(nodes, id) {\n let allAncestors = [];\n let currentParentId = nodes.find(node => node.id === id)?.parentId;\n while (currentParentId) {\n const currentNode = nodes.find(node => node.id === currentParentId);\n currentParentId = currentNode?.parentId;\n if (currentNode) {\n allAncestors = allAncestors.concat(currentNode);\n }\n }\n return allAncestors;\n}"],"names":["getNodeChildren","nodes","id","onlyOpenChildren","node","child","getNodeAncestors","allAncestors","currentParentId","currentNode"],"mappings":"AAEO,SAASA,EAAgBC,GAAOC,GAAIC,IAAmB,IAAM;AAElE,SADuBF,EAAM,OAAO,CAAAG,MAAQA,EAAK,aAAaF,CAAE,EAC1C,QAAQ,CAAAG,MAAS,CAAC,GAAI,CAACF,KAAoBE,EAAM,SAAS,OAAO,CAACA,CAAK,IAAI,CAAA,GAAK,GAAGL,EAAgBC,GAAOI,EAAM,IAAIF,CAAgB,CAAC,CAAC;AAC9J;AAiBO,SAASG,EAAiBL,GAAOC,GAAI;AAC1C,MAAIK,IAAe,CAAA,GACfC,IAAkBP,EAAM,KAAK,CAAAG,MAAQA,EAAK,OAAOF,CAAE,GAAG;AAC1D,SAAOM,KAAiB;AACtB,UAAMC,IAAcR,EAAM,KAAK,CAAAG,MAAQA,EAAK,OAAOI,CAAe;AAClE,IAAAA,IAAkBC,GAAa,UAC3BA,MACFF,IAAeA,EAAa,OAAOE,CAAW;AAAA,EAElD;AACA,SAAOF;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index398.js","sources":["../../../node_modules/date-fns/_lib/normalizeDates.js"],"sourcesContent":["import { constructFrom } from \"../constructFrom.js\";\n\nexport function normalizeDates(context, ...dates) {\n const normalize = constructFrom.bind(\n null,\n context || dates.find((date) => typeof date === \"object\"),\n );\n return dates.map(normalize);\n}\n"],"names":["normalizeDates","context","dates","normalize","constructFrom","date"],"mappings":";AAEO,SAASA,EAAeC,MAAYC,GAAO;AAChD,QAAMC,IAAYC,EAAc;AAAA,IAC9B;AAAA,IACWF,EAAM,KAAK,CAACG,MAAS,OAAOA,KAAS,QAAQ;AAAA,EAC5D;AACE,SAAOH,EAAM,IAAIC,CAAS;AAC5B;","x_google_ignoreList":[0]}
package/dist/index399.js CHANGED
@@ -1,50 +1,9 @@
1
- import { getComputedStyle as c } from "./index334.js";
2
- function a(t, i) {
3
- return i < 0 || i >= t.length;
4
- }
5
- function b(t, i) {
6
- return o(t.current, {
7
- disabledIndices: i
8
- });
9
- }
10
- function p(t, i) {
11
- return o(t.current, {
12
- decrement: !0,
13
- startingIndex: t.current.length,
14
- disabledIndices: i
15
- });
16
- }
17
- function o(t, {
18
- startingIndex: i = -1,
19
- decrement: e = !1,
20
- disabledIndices: u,
21
- amount: n = 1
22
- } = {}) {
23
- let r = i;
24
- do
25
- r += e ? -n : n;
26
- while (r >= 0 && r <= t.length - 1 && f(t, r, u));
27
- return r;
28
- }
29
- function f(t, i, e) {
30
- if (typeof e == "function" ? e(i) : e?.includes(i) ?? !1)
31
- return !0;
32
- const n = t[i];
33
- return n ? l(n) ? !e && (n.hasAttribute("disabled") || n.getAttribute("aria-disabled") === "true") : !0 : !1;
34
- }
35
- function s(t) {
36
- return t.visibility === "hidden" || t.visibility === "collapse";
37
- }
38
- function l(t, i = t ? c(t) : null) {
39
- return !t || !t.isConnected || !i || s(i) ? !1 : typeof t.checkVisibility == "function" ? t.checkVisibility() : i.display !== "none" && i.display !== "contents";
1
+ import { normalizeDates as o } from "./index398.js";
2
+ function m(r, t) {
3
+ const [n, e] = o(r, t.start, t.end);
4
+ return { start: n, end: e };
40
5
  }
41
6
  export {
42
- o as findNonDisabledListIndex,
43
- p as getMaxListIndex,
44
- b as getMinListIndex,
45
- l as isElementVisible,
46
- s as isHiddenByStyles,
47
- a as isIndexOutOfListBounds,
48
- f as isListIndexDisabled
7
+ m as normalizeInterval
49
8
  };
50
9
  //# sourceMappingURL=index399.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index399.js","sources":["../../../node_modules/@base-ui/react/floating-ui-react/utils/composite.mjs"],"sourcesContent":["import { floor } from '@floating-ui/utils';\nimport { getComputedStyle } from '@floating-ui/utils/dom';\nimport { stopEvent } from \"./event.mjs\";\nimport { ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP } from \"./constants.mjs\";\nexport function isDifferentGridRow(index, cols, prevRow) {\n return Math.floor(index / cols) !== prevRow;\n}\nexport function isIndexOutOfListBounds(list, index) {\n return index < 0 || index >= list.length;\n}\nexport function getMinListIndex(listRef, disabledIndices) {\n return findNonDisabledListIndex(listRef.current, {\n disabledIndices\n });\n}\nexport function getMaxListIndex(listRef, disabledIndices) {\n return findNonDisabledListIndex(listRef.current, {\n decrement: true,\n startingIndex: listRef.current.length,\n disabledIndices\n });\n}\nexport function findNonDisabledListIndex(list, {\n startingIndex = -1,\n decrement = false,\n disabledIndices,\n amount = 1\n} = {}) {\n let index = startingIndex;\n do {\n index += decrement ? -amount : amount;\n } while (index >= 0 && index <= list.length - 1 && isListIndexDisabled(list, index, disabledIndices));\n return index;\n}\nexport function getGridNavigatedIndex(list, {\n event,\n orientation,\n loopFocus,\n onLoop,\n rtl,\n cols,\n disabledIndices,\n minIndex,\n maxIndex,\n prevIndex,\n stopEvent: stop = false\n}) {\n let nextIndex = prevIndex;\n let verticalDirection;\n if (event.key === ARROW_UP) {\n verticalDirection = 'up';\n } else if (event.key === ARROW_DOWN) {\n verticalDirection = 'down';\n }\n if (verticalDirection) {\n // -------------------------------------------------------------------------\n // Detect row structure only when handling vertical navigation. This keeps\n // the non-vertical key paths free from row inference work.\n // -------------------------------------------------------------------------\n const rows = [];\n const rowIndexMap = [];\n let hasRoleRow = false;\n let visibleItemCount = 0;\n {\n let currentRowEl = null;\n let currentRowIndex = -1;\n list.forEach((el, idx) => {\n if (el == null) {\n return;\n }\n visibleItemCount += 1;\n const rowEl = el.closest('[role=\"row\"]');\n if (rowEl) {\n hasRoleRow = true;\n }\n if (rowEl !== currentRowEl || currentRowIndex === -1) {\n currentRowEl = rowEl;\n currentRowIndex += 1;\n rows[currentRowIndex] = [];\n }\n rows[currentRowIndex].push(idx);\n rowIndexMap[idx] = currentRowIndex;\n });\n }\n let hasDomRows = false;\n let inferredDomCols = 0;\n if (hasRoleRow) {\n for (const row of rows) {\n const rowLength = row.length;\n if (rowLength > inferredDomCols) {\n inferredDomCols = rowLength;\n }\n if (rowLength !== cols) {\n hasDomRows = true;\n }\n }\n }\n const hasVirtualizedGaps = hasDomRows && visibleItemCount < list.length;\n const verticalCols = inferredDomCols || cols;\n const navigateVertically = direction => {\n if (!hasDomRows || prevIndex === -1) {\n return undefined;\n }\n const currentRow = rowIndexMap[prevIndex];\n if (currentRow == null) {\n return undefined;\n }\n const colInRow = rows[currentRow].indexOf(prevIndex);\n const step = direction === 'up' ? -1 : 1;\n for (let nextRow = currentRow + step, i = 0; i < rows.length; i += 1, nextRow += step) {\n if (nextRow < 0 || nextRow >= rows.length) {\n if (!loopFocus || hasVirtualizedGaps) {\n return undefined;\n }\n nextRow = nextRow < 0 ? rows.length - 1 : 0;\n if (onLoop) {\n const clampedCol = Math.min(colInRow, rows[nextRow].length - 1);\n const targetItemIndex = rows[nextRow][clampedCol] ?? rows[nextRow][0];\n const returnedItemIndex = onLoop(event, prevIndex, targetItemIndex);\n nextRow = rowIndexMap[returnedItemIndex] ?? nextRow;\n }\n }\n const targetRow = rows[nextRow];\n for (let col = Math.min(colInRow, targetRow.length - 1); col >= 0; col -= 1) {\n const candidate = targetRow[col];\n if (!isListIndexDisabled(list, candidate, disabledIndices)) {\n return candidate;\n }\n }\n }\n return undefined;\n };\n const navigateVerticallyWithInferredRows = direction => {\n if (!hasVirtualizedGaps || prevIndex === -1) {\n return undefined;\n }\n const colInRow = prevIndex % verticalCols;\n const rowStep = direction === 'up' ? -verticalCols : verticalCols;\n const lastRowStart = maxIndex - maxIndex % verticalCols;\n const rowCount = floor(maxIndex / verticalCols) + 1;\n for (let rowStart = prevIndex - colInRow + rowStep, i = 0; i < rowCount; i += 1, rowStart += rowStep) {\n if (rowStart < 0 || rowStart > maxIndex) {\n if (!loopFocus) {\n return undefined;\n }\n rowStart = rowStart < 0 ? lastRowStart : 0;\n }\n const rowEnd = Math.min(rowStart + verticalCols - 1, maxIndex);\n for (let candidate = Math.min(rowStart + colInRow, rowEnd); candidate >= rowStart; candidate -= 1) {\n if (!isListIndexDisabled(list, candidate, disabledIndices)) {\n return candidate;\n }\n }\n }\n return undefined;\n };\n if (stop) {\n stopEvent(event);\n }\n const verticalCandidate = navigateVertically(verticalDirection) ?? navigateVerticallyWithInferredRows(verticalDirection);\n if (verticalCandidate !== undefined) {\n nextIndex = verticalCandidate;\n } else if (prevIndex === -1) {\n nextIndex = verticalDirection === 'up' ? maxIndex : minIndex;\n } else {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex,\n amount: verticalCols,\n decrement: verticalDirection === 'up',\n disabledIndices\n });\n if (loopFocus) {\n if (verticalDirection === 'up' && (prevIndex - verticalCols < minIndex || nextIndex < 0)) {\n const col = prevIndex % verticalCols;\n const maxCol = maxIndex % verticalCols;\n const offset = maxIndex - (maxCol - col);\n if (maxCol === col) {\n nextIndex = maxIndex;\n } else {\n nextIndex = maxCol > col ? offset : offset - verticalCols;\n }\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n if (verticalDirection === 'down' && prevIndex + verticalCols > maxIndex) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex % verticalCols - verticalCols,\n amount: verticalCols,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n }\n }\n if (isIndexOutOfListBounds(list, nextIndex)) {\n nextIndex = prevIndex;\n }\n }\n\n // Remains on the same row/column.\n if (orientation === 'both') {\n const prevRow = floor(prevIndex / cols);\n if (event.key === (rtl ? ARROW_LEFT : ARROW_RIGHT)) {\n if (stop) {\n stopEvent(event);\n }\n if (prevIndex % cols !== cols - 1) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex,\n disabledIndices\n });\n if (loopFocus && isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n } else if (loopFocus) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n if (isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = prevIndex;\n }\n }\n if (event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT)) {\n if (stop) {\n stopEvent(event);\n }\n if (prevIndex % cols !== 0) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex,\n decrement: true,\n disabledIndices\n });\n if (loopFocus && isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex + (cols - prevIndex % cols),\n decrement: true,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n } else if (loopFocus) {\n nextIndex = findNonDisabledListIndex(list, {\n startingIndex: prevIndex + (cols - prevIndex % cols),\n decrement: true,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n }\n if (isDifferentGridRow(nextIndex, cols, prevRow)) {\n nextIndex = prevIndex;\n }\n }\n const lastRow = floor(maxIndex / cols) === prevRow;\n if (isIndexOutOfListBounds(list, nextIndex)) {\n if (loopFocus && lastRow) {\n nextIndex = event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT) ? maxIndex : findNonDisabledListIndex(list, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n if (onLoop) {\n nextIndex = onLoop(event, prevIndex, nextIndex);\n }\n } else {\n nextIndex = prevIndex;\n }\n }\n }\n return nextIndex;\n}\n\n/** For each cell index, gets the item index that occupies that cell */\nexport function createGridCellMap(sizes, cols, dense) {\n const cellMap = [];\n let startIndex = 0;\n sizes.forEach(({\n width,\n height\n }, index) => {\n if (width > cols) {\n if (process.env.NODE_ENV !== 'production') {\n // TODO: fix mui/no-guarded-throw\n // eslint-disable-next-line mui/no-guarded-throw\n throw new Error(`[Floating UI]: Invalid grid - item width at index ${index} is greater than grid columns`);\n }\n }\n let itemPlaced = false;\n if (dense) {\n startIndex = 0;\n }\n while (!itemPlaced) {\n const targetCells = [];\n for (let i = 0; i < width; i += 1) {\n for (let j = 0; j < height; j += 1) {\n targetCells.push(startIndex + i + j * cols);\n }\n }\n if (startIndex % cols + width <= cols && targetCells.every(cell => cellMap[cell] == null)) {\n targetCells.forEach(cell => {\n cellMap[cell] = index;\n });\n itemPlaced = true;\n } else {\n startIndex += 1;\n }\n }\n });\n\n // convert into a non-sparse array\n return [...cellMap];\n}\n\n/** Gets cell index of an item's corner or -1 when index is -1. */\nexport function getGridCellIndexOfCorner(index, sizes, cellMap, cols, corner) {\n if (index === -1) {\n return -1;\n }\n const firstCellIndex = cellMap.indexOf(index);\n const sizeItem = sizes[index];\n switch (corner) {\n case 'tl':\n return firstCellIndex;\n case 'tr':\n if (!sizeItem) {\n return firstCellIndex;\n }\n return firstCellIndex + sizeItem.width - 1;\n case 'bl':\n if (!sizeItem) {\n return firstCellIndex;\n }\n return firstCellIndex + (sizeItem.height - 1) * cols;\n case 'br':\n return cellMap.lastIndexOf(index);\n default:\n return -1;\n }\n}\n\n/** Gets all cell indices that correspond to the specified indices */\nexport function getGridCellIndices(indices, cellMap) {\n return cellMap.flatMap((index, cellIndex) => indices.includes(index) ? [cellIndex] : []);\n}\nexport function isListIndexDisabled(list, index, disabledIndices) {\n const isExplicitlyDisabled = typeof disabledIndices === 'function' ? disabledIndices(index) : disabledIndices?.includes(index) ?? false;\n if (isExplicitlyDisabled) {\n return true;\n }\n const element = list[index];\n if (!element) {\n return false;\n }\n if (!isElementVisible(element)) {\n return true;\n }\n return !disabledIndices && (element.hasAttribute('disabled') || element.getAttribute('aria-disabled') === 'true');\n}\nexport function isHiddenByStyles(styles) {\n return styles.visibility === 'hidden' || styles.visibility === 'collapse';\n}\nexport function isElementVisible(element, styles = element ? getComputedStyle(element) : null) {\n if (!element || !element.isConnected || !styles || isHiddenByStyles(styles)) {\n return false;\n }\n if (typeof element.checkVisibility === 'function') {\n return element.checkVisibility();\n }\n return styles.display !== 'none' && styles.display !== 'contents';\n}"],"names":["isIndexOutOfListBounds","list","index","getMinListIndex","listRef","disabledIndices","findNonDisabledListIndex","getMaxListIndex","startingIndex","decrement","amount","isListIndexDisabled","element","isElementVisible","isHiddenByStyles","styles","getComputedStyle"],"mappings":";AAOO,SAASA,EAAuBC,GAAMC,GAAO;AAClD,SAAOA,IAAQ,KAAKA,KAASD,EAAK;AACpC;AACO,SAASE,EAAgBC,GAASC,GAAiB;AACxD,SAAOC,EAAyBF,EAAQ,SAAS;AAAA,IAC/C,iBAAAC;AAAA,EACJ,CAAG;AACH;AACO,SAASE,EAAgBH,GAASC,GAAiB;AACxD,SAAOC,EAAyBF,EAAQ,SAAS;AAAA,IAC/C,WAAW;AAAA,IACX,eAAeA,EAAQ,QAAQ;AAAA,IAC/B,iBAAAC;AAAA,EACJ,CAAG;AACH;AACO,SAASC,EAAyBL,GAAM;AAAA,EAC7C,eAAAO,IAAgB;AAAA,EAChB,WAAAC,IAAY;AAAA,EACZ,iBAAAJ;AAAA,EACA,QAAAK,IAAS;AACX,IAAI,IAAI;AACN,MAAIR,IAAQM;AACZ;AACE,IAAAN,KAASO,IAAY,CAACC,IAASA;AAAA,SACxBR,KAAS,KAAKA,KAASD,EAAK,SAAS,KAAKU,EAAoBV,GAAMC,GAAOG,CAAe;AACnG,SAAOH;AACT;AAuUO,SAASS,EAAoBV,GAAMC,GAAOG,GAAiB;AAEhE,MAD6B,OAAOA,KAAoB,aAAaA,EAAgBH,CAAK,IAAIG,GAAiB,SAASH,CAAK,KAAK;AAEhI,WAAO;AAET,QAAMU,IAAUX,EAAKC,CAAK;AAC1B,SAAKU,IAGAC,EAAiBD,CAAO,IAGtB,CAACP,MAAoBO,EAAQ,aAAa,UAAU,KAAKA,EAAQ,aAAa,eAAe,MAAM,UAFjG,KAHA;AAMX;AACO,SAASE,EAAiBC,GAAQ;AACvC,SAAOA,EAAO,eAAe,YAAYA,EAAO,eAAe;AACjE;AACO,SAASF,EAAiBD,GAASG,IAASH,IAAUI,EAAiBJ,CAAO,IAAI,MAAM;AAC7F,SAAI,CAACA,KAAW,CAACA,EAAQ,eAAe,CAACG,KAAUD,EAAiBC,CAAM,IACjE,KAEL,OAAOH,EAAQ,mBAAoB,aAC9BA,EAAQ,gBAAe,IAEzBG,EAAO,YAAY,UAAUA,EAAO,YAAY;AACzD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index399.js","sources":["../../../node_modules/date-fns/_lib/normalizeInterval.js"],"sourcesContent":["import { normalizeDates } from \"./normalizeDates.js\";\n\nexport function normalizeInterval(context, interval) {\n const [start, end] = normalizeDates(context, interval.start, interval.end);\n return { start, end };\n}\n"],"names":["normalizeInterval","context","interval","start","end","normalizeDates"],"mappings":";AAEO,SAASA,EAAkBC,GAASC,GAAU;AACnD,QAAM,CAACC,GAAOC,CAAG,IAAIC,EAAeJ,GAASC,EAAS,OAAOA,EAAS,GAAG;AACzE,SAAO,EAAE,OAAAC,GAAO,KAAAC,EAAG;AACrB;","x_google_ignoreList":[0]}
package/dist/index40.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as l from "react";
2
- import { useDialogRootContext as n } from "./index231.js";
3
- import { useRenderElement as a } from "./index232.js";
4
- import { useBaseUiId as m } from "./index238.js";
2
+ import { useDialogRootContext as n } from "./index171.js";
3
+ import { useRenderElement as a } from "./index172.js";
4
+ import { useBaseUiId as m } from "./index178.js";
5
5
  const d = /* @__PURE__ */ l.forwardRef(function(e, t) {
6
6
  const {
7
7
  render: c,
package/dist/index400.js CHANGED
@@ -1,7 +1,8 @@
1
- function e(t) {
2
- return `data-base-ui-${t}`;
1
+ let t = {};
2
+ function e() {
3
+ return t;
3
4
  }
4
5
  export {
5
- e as createAttribute
6
+ e as getDefaultOptions
6
7
  };
7
8
  //# sourceMappingURL=index400.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index400.js","sources":["../../../node_modules/@base-ui/react/floating-ui-react/utils/createAttribute.mjs"],"sourcesContent":["export function createAttribute(name) {\n return `data-base-ui-${name}`;\n}"],"names":["createAttribute","name"],"mappings":"AAAO,SAASA,EAAgBC,GAAM;AACpC,SAAO,gBAAgBA,CAAI;AAC7B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index400.js","sources":["../../../node_modules/date-fns/_lib/defaultOptions.js"],"sourcesContent":["let defaultOptions = {};\n\nexport function getDefaultOptions() {\n return defaultOptions;\n}\n\nexport function setDefaultOptions(newOptions) {\n defaultOptions = newOptions;\n}\n"],"names":["defaultOptions","getDefaultOptions"],"mappings":"AAAA,IAAIA,IAAiB,CAAA;AAEd,SAASC,IAAoB;AAClC,SAAOD;AACT;","x_google_ignoreList":[0]}