@boxcustodia/library 1.7.8 → 1.7.9

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 (465) hide show
  1. package/dist/index.d.ts +16 -3
  2. package/dist/index.es100.js +1 -1
  3. package/dist/index.es105.js +3 -310
  4. package/dist/index.es106.js +4 -13
  5. package/dist/index.es107.js +15 -27
  6. package/dist/index.es108.js +5 -20
  7. package/dist/index.es109.js +55 -257
  8. package/dist/index.es110.js +4 -7
  9. package/dist/index.es111.js +27 -12
  10. package/dist/index.es112.js +58 -3
  11. package/dist/index.es113.js +18 -4
  12. package/dist/index.es114.js +41 -15
  13. package/dist/index.es115.js +52 -5
  14. package/dist/index.es116.js +13 -57
  15. package/dist/index.es117.js +7 -6
  16. package/dist/index.es118.js +22 -55
  17. package/dist/index.es119.js +257 -59
  18. package/dist/index.es120.js +308 -112
  19. package/dist/index.es121.js +13 -44
  20. package/dist/index.es122.js +19 -24
  21. package/dist/index.es123.js +55 -31
  22. package/dist/index.es124.js +59 -56
  23. package/dist/index.es125.js +111 -1084
  24. package/dist/index.es126.js +44 -4
  25. package/dist/index.es127.js +25 -4
  26. package/dist/index.es128.js +31 -10
  27. package/dist/index.es129.js +24 -38
  28. package/dist/index.es130.js +1087 -18
  29. package/dist/index.es131.js +4 -41
  30. package/dist/index.es132.js +4 -22
  31. package/dist/index.es133.js +13 -39
  32. package/dist/index.es134.js +26 -14
  33. package/dist/index.es135.js +10 -22
  34. package/dist/index.es136.js +4 -4
  35. package/dist/index.es137.js +5 -5
  36. package/dist/index.es141.js +10 -240
  37. package/dist/index.es142.js +17 -17
  38. package/dist/index.es143.js +4 -10
  39. package/dist/index.es144.js +4 -10
  40. package/dist/index.es145.js +33 -18
  41. package/dist/index.es146.js +18 -43
  42. package/dist/index.es147.js +25 -67
  43. package/dist/index.es148.js +239 -32
  44. package/dist/index.es149.js +22 -10
  45. package/dist/index.es150.js +4 -13
  46. package/dist/index.es151.js +17 -26
  47. package/dist/index.es152.js +44 -4
  48. package/dist/index.es153.js +68 -5
  49. package/dist/index.es154.js +6 -4
  50. package/dist/index.es158.js +16 -215
  51. package/dist/index.es159.js +14 -17
  52. package/dist/index.es16.js +1 -1
  53. package/dist/index.es160.js +3 -4
  54. package/dist/index.es161.js +7 -6
  55. package/dist/index.es162.js +78 -14
  56. package/dist/index.es163.js +87 -73
  57. package/dist/index.es164.js +344 -84
  58. package/dist/index.es165.js +114 -342
  59. package/dist/index.es166.js +212 -120
  60. package/dist/index.es170.js +1 -1
  61. package/dist/index.es171.js +1 -1
  62. package/dist/index.es172.js +18 -14
  63. package/dist/index.es173.js +35 -32
  64. package/dist/index.es174.js +3674 -10
  65. package/dist/index.es175.js +5 -26
  66. package/dist/index.es176.js +2 -19
  67. package/dist/index.es177.js +24 -33
  68. package/dist/index.es178.js +205 -21
  69. package/dist/index.es179.js +17 -33
  70. package/dist/index.es18.js +1 -1
  71. package/dist/index.es180.js +33 -7
  72. package/dist/index.es181.js +10 -3674
  73. package/dist/index.es182.js +14 -5
  74. package/dist/index.es183.js +33 -2
  75. package/dist/index.es184.js +11 -205
  76. package/dist/index.es185.js +43 -5
  77. package/dist/index.es186.js +5 -66
  78. package/dist/index.es187.js +61 -118
  79. package/dist/index.es188.js +116 -126
  80. package/dist/index.es189.js +134 -13
  81. package/dist/index.es190.js +13 -14
  82. package/dist/index.es191.js +14 -8
  83. package/dist/index.es192.js +9 -50
  84. package/dist/index.es193.js +47 -42
  85. package/dist/index.es194.js +3 -217
  86. package/dist/index.es195.js +46 -4
  87. package/dist/index.es196.js +7 -3
  88. package/dist/index.es197.js +215 -43
  89. package/dist/index.es198.js +3 -7
  90. package/dist/index.es2.js +1 -1
  91. package/dist/index.es200.js +1 -1
  92. package/dist/index.es201.js +17 -17
  93. package/dist/index.es202.js +2 -3
  94. package/dist/index.es203.js +4 -2
  95. package/dist/index.es204.js +3 -2054
  96. package/dist/index.es205.js +2 -4
  97. package/dist/index.es206.js +2054 -2
  98. package/dist/index.es207.js +1 -1
  99. package/dist/index.es208.js +7 -7
  100. package/dist/index.es215.js +8 -19
  101. package/dist/index.es216.js +5 -14
  102. package/dist/index.es217.js +5 -6
  103. package/dist/index.es218.js +17 -6
  104. package/dist/index.es219.js +6 -53
  105. package/dist/index.es22.js +1 -1
  106. package/dist/index.es220.js +7 -11
  107. package/dist/index.es221.js +5 -6
  108. package/dist/index.es222.js +13 -10
  109. package/dist/index.es223.js +15 -7
  110. package/dist/index.es224.js +9 -17
  111. package/dist/index.es225.js +6 -6
  112. package/dist/index.es226.js +14 -6
  113. package/dist/index.es227.js +5 -8
  114. package/dist/index.es228.js +14 -14
  115. package/dist/index.es229.js +6 -10
  116. package/dist/index.es230.js +6 -7
  117. package/dist/index.es231.js +6 -5
  118. package/dist/index.es232.js +4 -5
  119. package/dist/index.es233.js +580 -17
  120. package/dist/index.es234.js +50 -6
  121. package/dist/index.es235.js +18 -7
  122. package/dist/index.es236.js +6 -5
  123. package/dist/index.es237.js +19 -14
  124. package/dist/index.es238.js +8 -15
  125. package/dist/index.es239.js +6 -8
  126. package/dist/index.es24.js +1 -1
  127. package/dist/index.es240.js +7 -6
  128. package/dist/index.es241.js +5 -5
  129. package/dist/index.es242.js +6 -4
  130. package/dist/index.es243.js +9 -580
  131. package/dist/index.es244.js +6 -50
  132. package/dist/index.es245.js +8 -17
  133. package/dist/index.es246.js +12 -6
  134. package/dist/index.es247.js +10 -19
  135. package/dist/index.es248.js +8 -8
  136. package/dist/index.es249.js +10 -6
  137. package/dist/index.es250.js +14 -7
  138. package/dist/index.es251.js +5 -5
  139. package/dist/index.es252.js +11 -6
  140. package/dist/index.es253.js +10 -9
  141. package/dist/index.es254.js +9 -4
  142. package/dist/index.es255.js +6 -8
  143. package/dist/index.es256.js +9 -12
  144. package/dist/index.es257.js +83 -9
  145. package/dist/index.es258.js +38 -10
  146. package/dist/index.es259.js +65 -15
  147. package/dist/index.es26.js +2 -2
  148. package/dist/index.es260.js +9 -5
  149. package/dist/index.es261.js +8 -11
  150. package/dist/index.es262.js +7 -9
  151. package/dist/index.es263.js +10 -83
  152. package/dist/index.es264.js +7 -38
  153. package/dist/index.es265.js +8 -65
  154. package/dist/index.es266.js +6 -9
  155. package/dist/index.es267.js +5 -8
  156. package/dist/index.es268.js +15 -7
  157. package/dist/index.es269.js +11 -7
  158. package/dist/index.es270.js +204 -5
  159. package/dist/index.es271.js +22 -16
  160. package/dist/index.es272.js +24 -11
  161. package/dist/index.es273.js +381 -193
  162. package/dist/index.es274.js +175 -19
  163. package/dist/index.es275.js +30 -24
  164. package/dist/index.es276.js +17 -391
  165. package/dist/index.es277.js +52 -30
  166. package/dist/index.es278.js +15 -176
  167. package/dist/index.es279.js +12 -8
  168. package/dist/index.es28.js +2 -2
  169. package/dist/index.es280.js +8 -2
  170. package/dist/index.es281.js +2 -23
  171. package/dist/index.es282.js +11 -11
  172. package/dist/index.es283.js +22 -20
  173. package/dist/index.es284.js +21 -2
  174. package/dist/index.es285.js +2 -9406
  175. package/dist/index.es286.js +8970 -14876
  176. package/dist/index.es287.js +15312 -3
  177. package/dist/index.es288.js +3 -61
  178. package/dist/index.es289.js +59 -8
  179. package/dist/index.es290.js +10 -3
  180. package/dist/index.es291.js +3 -5
  181. package/dist/index.es292.js +5 -12
  182. package/dist/index.es297.js +1 -1
  183. package/dist/index.es298.js +1 -1
  184. package/dist/index.es30.js +1 -1
  185. package/dist/index.es300.js +1 -1
  186. package/dist/index.es301.js +3 -3
  187. package/dist/index.es302.js +3 -3
  188. package/dist/index.es308.js +5 -5
  189. package/dist/index.es309.js +1 -1
  190. package/dist/index.es310.js +7 -7
  191. package/dist/index.es311.js +2 -2
  192. package/dist/index.es312.js +2 -2
  193. package/dist/index.es317.js +1 -1
  194. package/dist/index.es318.js +2 -2
  195. package/dist/index.es319.js +4 -4
  196. package/dist/index.es32.js +1 -1
  197. package/dist/index.es320.js +4 -4
  198. package/dist/index.es321.js +2 -2
  199. package/dist/index.es322.js +2 -2
  200. package/dist/index.es323.js +2 -2
  201. package/dist/index.es324.js +3 -3
  202. package/dist/index.es325.js +3 -3
  203. package/dist/index.es326.js +5 -5
  204. package/dist/index.es327.js +5 -5
  205. package/dist/index.es328.js +3 -3
  206. package/dist/index.es329.js +3 -3
  207. package/dist/index.es33.js +3 -3
  208. package/dist/index.es330.js +2 -2
  209. package/dist/index.es331.js +3 -3
  210. package/dist/index.es332.js +3 -3
  211. package/dist/index.es333.js +3 -3
  212. package/dist/index.es334.js +2 -2
  213. package/dist/index.es335.js +2 -2
  214. package/dist/index.es336.js +2 -2
  215. package/dist/index.es337.js +3 -3
  216. package/dist/index.es338.js +3 -3
  217. package/dist/index.es339.js +3 -3
  218. package/dist/index.es34.js +6 -6
  219. package/dist/index.es340.js +3 -3
  220. package/dist/index.es341.js +3 -3
  221. package/dist/index.es342.js +3 -3
  222. package/dist/index.es343.js +2 -2
  223. package/dist/index.es344.js +5 -5
  224. package/dist/index.es345.js +5 -5
  225. package/dist/index.es346.js +3 -3
  226. package/dist/index.es347.js +3 -3
  227. package/dist/index.es349.js +3 -3
  228. package/dist/index.es350.js +3 -3
  229. package/dist/index.es351.js +10 -2
  230. package/dist/index.es352.js +9 -7
  231. package/dist/index.es353.js +5 -2
  232. package/dist/index.es354.js +5 -2
  233. package/dist/index.es355.js +5 -2
  234. package/dist/index.es356.js +6 -9
  235. package/dist/index.es357.js +332 -8
  236. package/dist/index.es358.js +19 -5
  237. package/dist/index.es359.js +4 -5
  238. package/dist/index.es360.js +4 -4
  239. package/dist/index.es361.js +3 -7
  240. package/dist/index.es362.js +68 -330
  241. package/dist/index.es363.js +4 -19
  242. package/dist/index.es364.js +2 -4
  243. package/dist/index.es365.js +2 -5
  244. package/dist/index.es366.js +2 -3
  245. package/dist/index.es367.js +7 -71
  246. package/dist/index.es368.js +2 -4
  247. package/dist/index.es371.js +1 -1
  248. package/dist/index.es372.js +1 -1
  249. package/dist/index.es373.js +1 -1
  250. package/dist/index.es374.js +2 -2
  251. package/dist/index.es375.js +1 -1
  252. package/dist/index.es376.js +2 -2
  253. package/dist/index.es377.js +1 -1
  254. package/dist/index.es378.js +3 -3
  255. package/dist/index.es379.js +2 -2
  256. package/dist/index.es38.js +1 -1
  257. package/dist/index.es382.js +2 -2
  258. package/dist/index.es383.js +2 -2
  259. package/dist/index.es384.js +6 -6
  260. package/dist/index.es385.js +3 -3
  261. package/dist/index.es386.js +2 -2
  262. package/dist/index.es39.js +1 -1
  263. package/dist/index.es391.js +4 -4
  264. package/dist/index.es394.js +1 -1
  265. package/dist/index.es396.js +1 -1
  266. package/dist/index.es398.js +1 -1
  267. package/dist/index.es399.js +2 -2
  268. package/dist/index.es40.js +5 -5
  269. package/dist/index.es400.js +5 -68
  270. package/dist/index.es401.js +3 -31
  271. package/dist/index.es402.js +24 -16
  272. package/dist/index.es403.js +110 -141
  273. package/dist/index.es404.js +15 -113
  274. package/dist/index.es405.js +20 -2
  275. package/dist/index.es406.js +99 -229
  276. package/dist/index.es407.js +47 -234
  277. package/dist/index.es408.js +2 -20
  278. package/dist/index.es409.js +229 -99
  279. package/dist/index.es41.js +2 -2
  280. package/dist/index.es410.js +234 -47
  281. package/dist/index.es411.js +523 -5
  282. package/dist/index.es412.js +127 -3
  283. package/dist/index.es413.js +127 -22
  284. package/dist/index.es414.js +5 -109
  285. package/dist/index.es415.js +14 -15
  286. package/dist/index.es416.js +2 -523
  287. package/dist/index.es417.js +7 -126
  288. package/dist/index.es418.js +321 -123
  289. package/dist/index.es419.js +49 -5
  290. package/dist/index.es420.js +3 -14
  291. package/dist/index.es421.js +68 -2
  292. package/dist/index.es422.js +31 -8
  293. package/dist/index.es423.js +16 -327
  294. package/dist/index.es424.js +139 -48
  295. package/dist/index.es425.js +114 -2
  296. package/dist/index.es426.js +2 -28
  297. package/dist/index.es427.js +28 -2
  298. package/dist/index.es428.js +2 -2
  299. package/dist/index.es429.js +2 -27
  300. package/dist/index.es430.js +21 -92
  301. package/dist/index.es431.js +94 -50
  302. package/dist/index.es432.js +50 -14
  303. package/dist/index.es433.js +18 -2
  304. package/dist/index.es434.js +2 -29
  305. package/dist/index.es435.js +29 -2
  306. package/dist/index.es436.js +2 -2
  307. package/dist/index.es437.js +2 -2
  308. package/dist/index.es438.js +2 -2
  309. package/dist/index.es44.js +83 -81
  310. package/dist/index.es440.js +2 -11
  311. package/dist/index.es441.js +11 -2
  312. package/dist/index.es442.js +2 -2
  313. package/dist/index.es443.js +2 -48
  314. package/dist/index.es444.js +48 -2
  315. package/dist/index.es445.js +2 -2
  316. package/dist/index.es446.js +2 -8
  317. package/dist/index.es447.js +8 -2
  318. package/dist/index.es448.js +2 -4
  319. package/dist/index.es449.js +23 -270
  320. package/dist/index.es45.js +18 -16
  321. package/dist/index.es450.js +5 -79
  322. package/dist/index.es451.js +122 -160
  323. package/dist/index.es452.js +24 -24
  324. package/dist/index.es453.js +4 -5
  325. package/dist/index.es454.js +11 -126
  326. package/dist/index.es455.js +40 -22
  327. package/dist/index.es456.js +57 -4
  328. package/dist/index.es457.js +40 -11
  329. package/dist/index.es458.js +25 -39
  330. package/dist/index.es459.js +30 -56
  331. package/dist/index.es460.js +14 -41
  332. package/dist/index.es461.js +10 -28
  333. package/dist/index.es462.js +10 -31
  334. package/dist/index.es463.js +9 -14
  335. package/dist/index.es464.js +6 -10
  336. package/dist/index.es465.js +5 -10
  337. package/dist/index.es466.js +7 -9
  338. package/dist/index.es467.js +29 -6
  339. package/dist/index.es468.js +18 -5
  340. package/dist/index.es469.js +13 -7
  341. package/dist/index.es47.js +1 -1
  342. package/dist/index.es470.js +42 -28
  343. package/dist/index.es471.js +8 -18
  344. package/dist/index.es472.js +3 -14
  345. package/dist/index.es473.js +4 -43
  346. package/dist/index.es474.js +23 -7
  347. package/dist/index.es475.js +272 -3
  348. package/dist/index.es476.js +79 -4
  349. package/dist/index.es477.js +164 -23
  350. package/dist/index.es478.js +25 -52
  351. package/dist/index.es479.js +92 -5
  352. package/dist/index.es480.js +106 -280
  353. package/dist/index.es481.js +54 -36
  354. package/dist/index.es482.js +6 -24
  355. package/dist/index.es483.js +23 -90
  356. package/dist/index.es484.js +359 -85
  357. package/dist/index.es485.js +31 -52
  358. package/dist/index.es486.js +7 -10
  359. package/dist/index.es487.js +6 -25
  360. package/dist/index.es488.js +4 -381
  361. package/dist/index.es489.js +6 -33
  362. package/dist/index.es49.js +5 -5
  363. package/dist/index.es490.js +51 -7
  364. package/dist/index.es491.js +14 -6
  365. package/dist/index.es492.js +54 -4
  366. package/dist/index.es493.js +5 -6
  367. package/dist/index.es494.js +280 -49
  368. package/dist/index.es495.js +36 -14
  369. package/dist/index.es496.js +1 -1
  370. package/dist/index.es498.js +2 -2
  371. package/dist/index.es499.js +7 -7
  372. package/dist/index.es50.js +2 -2
  373. package/dist/index.es500.js +34 -2
  374. package/dist/index.es501.js +20 -52
  375. package/dist/index.es502.js +43 -63
  376. package/dist/index.es503.js +29 -7
  377. package/dist/index.es504.js +8 -33
  378. package/dist/index.es505.js +56 -20
  379. package/dist/index.es506.js +11 -43
  380. package/dist/index.es507.js +21 -29
  381. package/dist/index.es508.js +59 -8
  382. package/dist/index.es509.js +31 -54
  383. package/dist/index.es51.js +3 -3
  384. package/dist/index.es510.js +170 -11
  385. package/dist/index.es511.js +120 -20
  386. package/dist/index.es512.js +17 -57
  387. package/dist/index.es513.js +228 -30
  388. package/dist/index.es514.js +20 -170
  389. package/dist/index.es515.js +23 -115
  390. package/dist/index.es516.js +117 -18
  391. package/dist/index.es517.js +35 -229
  392. package/dist/index.es518.js +72 -22
  393. package/dist/index.es519.js +7 -29
  394. package/dist/index.es52.js +1 -1
  395. package/dist/index.es520.js +2 -119
  396. package/dist/index.es521.js +48 -33
  397. package/dist/index.es522.js +65 -72
  398. package/dist/index.es526.js +69 -16
  399. package/dist/index.es527.js +8 -28
  400. package/dist/index.es528.js +14 -13
  401. package/dist/index.es529.js +62 -7
  402. package/dist/index.es530.js +65 -2
  403. package/dist/index.es531.js +7 -2
  404. package/dist/index.es532.js +16 -69
  405. package/dist/index.es533.js +28 -8
  406. package/dist/index.es534.js +13 -14
  407. package/dist/index.es535.js +2 -62
  408. package/dist/index.es536.js +2 -65
  409. package/dist/index.es538.js +1 -1
  410. package/dist/index.es539.js +1 -1
  411. package/dist/index.es54.js +1 -1
  412. package/dist/index.es545.js +1 -1
  413. package/dist/index.es547.js +1 -1
  414. package/dist/index.es548.js +1 -1
  415. package/dist/index.es549.js +1 -1
  416. package/dist/index.es550.js +1 -1
  417. package/dist/index.es551.js +1 -1
  418. package/dist/index.es552.js +1 -1
  419. package/dist/index.es553.js +1 -1
  420. package/dist/index.es554.js +1 -1
  421. package/dist/index.es555.js +1 -1
  422. package/dist/index.es556.js +1 -1
  423. package/dist/index.es557.js +1 -1
  424. package/dist/index.es558.js +1 -1
  425. package/dist/index.es56.js +2 -2
  426. package/dist/index.es57.js +1 -1
  427. package/dist/index.es59.js +5 -5
  428. package/dist/index.es60.js +3 -3
  429. package/dist/index.es61.js +1 -1
  430. package/dist/index.es62.js +2 -2
  431. package/dist/index.es63.js +1 -1
  432. package/dist/index.es66.js +3 -3
  433. package/dist/index.es67.js +2 -2
  434. package/dist/index.es693.js +4 -21
  435. package/dist/index.es694.js +18 -79
  436. package/dist/index.es695.js +82 -4
  437. package/dist/index.es699.js +42 -2
  438. package/dist/index.es70.js +1 -1
  439. package/dist/index.es700.js +72 -2
  440. package/dist/index.es701.js +2 -42
  441. package/dist/index.es702.js +2 -72
  442. package/dist/index.es72.js +1 -1
  443. package/dist/index.es737.js +4 -2
  444. package/dist/index.es738.js +23 -2
  445. package/dist/index.es74.js +1 -1
  446. package/dist/index.es740.js +2 -2
  447. package/dist/index.es741.js +2 -2
  448. package/dist/index.es742.js +2 -2
  449. package/dist/index.es743.js +2 -2
  450. package/dist/index.es745.js +2 -2
  451. package/dist/index.es749.js +2 -2
  452. package/dist/index.es751.js +2 -2
  453. package/dist/index.es752.js +2 -4
  454. package/dist/index.es753.js +2 -23
  455. package/dist/index.es76.js +1 -1
  456. package/dist/index.es77.js +1 -1
  457. package/dist/index.es78.js +1 -1
  458. package/dist/index.es80.js +1 -1
  459. package/dist/index.es82.js +1 -1
  460. package/dist/index.es83.js +1 -1
  461. package/dist/index.es85.js +4 -4
  462. package/dist/index.es86.js +2 -2
  463. package/dist/index.es89.js +4 -4
  464. package/dist/index.es99.js +1 -1
  465. package/package.json +1 -1
@@ -1,8 +1,71 @@
1
- const r = {
2
- done: "var(--color-primary)",
3
- pending: "#cdcdcd",
4
- error: "var(--color-error)"
1
+ import * as a from "react";
2
+ import { useComposedRefs as E } from "./index.es177.js";
3
+ import { useLayoutEffect as A } from "./index.es198.js";
4
+ function T(n, e) {
5
+ return a.useReducer((r, t) => e[r][t] ?? r, n);
6
+ }
7
+ var R = (n) => {
8
+ const { present: e, children: r } = n, t = v(e), i = typeof r == "function" ? r({ present: t.isPresent }) : a.Children.only(r), c = E(t.ref, P(i));
9
+ return typeof r == "function" || t.isPresent ? a.cloneElement(i, { ref: c }) : null;
5
10
  };
11
+ R.displayName = "Presence";
12
+ function v(n) {
13
+ const [e, r] = a.useState(), t = a.useRef({}), i = a.useRef(n), c = a.useRef("none"), p = n ? "mounted" : "unmounted", [N, s] = T(p, {
14
+ mounted: {
15
+ UNMOUNT: "unmounted",
16
+ ANIMATION_OUT: "unmountSuspended"
17
+ },
18
+ unmountSuspended: {
19
+ MOUNT: "mounted",
20
+ ANIMATION_END: "unmounted"
21
+ },
22
+ unmounted: {
23
+ MOUNT: "mounted"
24
+ }
25
+ });
26
+ return a.useEffect(() => {
27
+ const o = l(t.current);
28
+ c.current = N === "mounted" ? o : "none";
29
+ }, [N]), A(() => {
30
+ const o = t.current, m = i.current;
31
+ if (m !== n) {
32
+ const f = c.current, u = l(o);
33
+ n ? s("MOUNT") : u === "none" || (o == null ? void 0 : o.display) === "none" ? s("UNMOUNT") : s(m && f !== u ? "ANIMATION_OUT" : "UNMOUNT"), i.current = n;
34
+ }
35
+ }, [n, s]), A(() => {
36
+ if (e) {
37
+ let o;
38
+ const m = e.ownerDocument.defaultView ?? window, d = (u) => {
39
+ const g = l(t.current).includes(u.animationName);
40
+ if (u.target === e && g && (s("ANIMATION_END"), !i.current)) {
41
+ const O = e.style.animationFillMode;
42
+ e.style.animationFillMode = "forwards", o = m.setTimeout(() => {
43
+ e.style.animationFillMode === "forwards" && (e.style.animationFillMode = O);
44
+ });
45
+ }
46
+ }, f = (u) => {
47
+ u.target === e && (c.current = l(t.current));
48
+ };
49
+ return e.addEventListener("animationstart", f), e.addEventListener("animationcancel", d), e.addEventListener("animationend", d), () => {
50
+ m.clearTimeout(o), e.removeEventListener("animationstart", f), e.removeEventListener("animationcancel", d), e.removeEventListener("animationend", d);
51
+ };
52
+ } else
53
+ s("ANIMATION_END");
54
+ }, [e, s]), {
55
+ isPresent: ["mounted", "unmountSuspended"].includes(N),
56
+ ref: a.useCallback((o) => {
57
+ o && (t.current = getComputedStyle(o)), r(o);
58
+ }, [])
59
+ };
60
+ }
61
+ function l(n) {
62
+ return (n == null ? void 0 : n.animationName) || "none";
63
+ }
64
+ function P(n) {
65
+ var t, i;
66
+ let e = (t = Object.getOwnPropertyDescriptor(n.props, "ref")) == null ? void 0 : t.get, r = e && "isReactWarning" in e && e.isReactWarning;
67
+ return r ? n.ref : (e = (i = Object.getOwnPropertyDescriptor(n, "ref")) == null ? void 0 : i.get, r = e && "isReactWarning" in e && e.isReactWarning, r ? n.props.ref : n.props.ref || n.ref);
68
+ }
6
69
  export {
7
- r as TimelineStatus
70
+ R as Presence
8
71
  };
@@ -1,6 +1,8 @@
1
- import { createSafeContext as e } from "./index.es97.js";
2
- const [o, r] = e();
1
+ const r = {
2
+ done: "var(--color-primary)",
3
+ pending: "#cdcdcd",
4
+ error: "var(--color-error)"
5
+ };
3
6
  export {
4
- r as StepperContextProvider,
5
- o as useStepperContext
7
+ r as TimelineStatus
6
8
  };
@@ -1,218 +1,19 @@
1
- import * as f from "react";
2
- import { t as B } from "./index.es202.js";
3
- import "react-dom";
4
- import "./index.es203.js";
5
- import { fireEvent as a, configure as E } from "./index.es204.js";
6
- import { buildQueries as k, createEvent as V, findAllByAltText as C, findAllByDisplayValue as F, findAllByLabelText as M, findAllByPlaceholderText as W, findAllByRole as U, findAllByTestId as G, findAllByText as z, findAllByTitle as K, findByAltText as $, findByDisplayValue as H, findByLabelText as J, findByPlaceholderText as X, findByRole as Y, findByTestId as Z, findByText as ee, findByTitle as te, getAllByAltText as ne, getAllByDisplayValue as re, getAllByLabelText as le, getAllByPlaceholderText as oe, getAllByRole as ue, getAllByTestId as ie, getAllByText as se, getAllByTitle as ae, getByAltText as ye, getByDisplayValue as ce, getByLabelText as fe, getByPlaceholderText as de, getByRole as me, getByTestId as ge, getByText as pe, getByTitle as Te, getDefaultNormalizer as Ae, getElementError as Be, getMultipleElementsFoundError as Ee, getNodeText as be, getQueriesForElement as xe, getRoles as he, getSuggestedQuery as ve, isInaccessible as we, logDOM as qe, makeFindQuery as Re, makeGetAllQuery as Ie, makeSingleQuery as Le, prettyDOM as Oe, queries as Ne, queryAllByAltText as _e, queryAllByAttribute as Pe, queryAllByDisplayValue as De, queryAllByLabelText as Qe, queryAllByPlaceholderText as Se, queryAllByRole as je, queryAllByTestId as ke, queryAllByText as Ve, queryAllByTitle as Ce, queryByAltText as Fe, queryByDisplayValue as Me, queryByLabelText as We, queryByPlaceholderText as Ue, queryByRole as Ge, queryByTestId as ze, queryByText as Ke, queryByTitle as $e, waitFor as He, getQueriesForElement as Je, wrapAllByQueryWithSuggestion as Xe, wrapSingleQueryWithSuggestion as Ye } from "./index.es204.js";
7
- const b = typeof f.act == "function" ? f.act : B.act;
8
- function p() {
9
- if (typeof globalThis < "u")
10
- return globalThis;
11
- if (typeof self < "u")
12
- return self;
13
- if (typeof window < "u")
14
- return window;
15
- if (typeof global < "u")
16
- return global;
17
- throw new Error("unable to locate global object");
18
- }
19
- function l(t) {
20
- p().IS_REACT_ACT_ENVIRONMENT = t;
21
- }
22
- function i() {
23
- return p().IS_REACT_ACT_ENVIRONMENT;
24
- }
25
- function x(t) {
26
- return (n) => {
27
- const r = i();
28
- l(!0);
29
- try {
30
- let o = !1;
31
- const c = t(() => {
32
- const u = n();
33
- return u !== null && typeof u == "object" && typeof u.then == "function" && (o = !0), u;
34
- });
35
- if (o) {
36
- const u = c;
37
- return {
38
- then: (T, A) => {
39
- u.then((s) => {
40
- l(r), T(s);
41
- }, (s) => {
42
- l(r), A(s);
43
- });
44
- }
45
- };
46
- } else
47
- return l(r), c;
48
- } catch (o) {
49
- throw l(r), o;
50
- }
51
- };
52
- }
53
- const y = x(b), e = function() {
54
- return a(...arguments);
55
- };
56
- Object.keys(a).forEach((t) => {
57
- e[t] = function() {
58
- return a[t](...arguments);
59
- };
60
- });
61
- const h = e.mouseEnter, v = e.mouseLeave;
62
- e.mouseEnter = function() {
63
- return h(...arguments), e.mouseOver(...arguments);
64
- };
65
- e.mouseLeave = function() {
66
- return v(...arguments), e.mouseOut(...arguments);
67
- };
68
- const w = e.pointerEnter, q = e.pointerLeave;
69
- e.pointerEnter = function() {
70
- return w(...arguments), e.pointerOver(...arguments);
71
- };
72
- e.pointerLeave = function() {
73
- return q(...arguments), e.pointerOut(...arguments);
74
- };
75
- const R = e.select;
76
- e.select = (t, n) => {
77
- R(t, n), t.focus(), e.keyUp(t, n);
78
- };
79
- const I = e.blur, L = e.focus;
80
- e.blur = function() {
81
- return e.focusOut(...arguments), I(...arguments);
82
- };
83
- e.focus = function() {
84
- return e.focusIn(...arguments), L(...arguments);
85
- };
86
- function O() {
87
- return typeof jest < "u" && jest !== null ? (
88
- // legacy timers
89
- setTimeout._isMockFunction === !0 || // modern timers
90
- // eslint-disable-next-line prefer-object-has-own -- No Object.hasOwn in all target environments we support.
91
- Object.prototype.hasOwnProperty.call(setTimeout, "clock")
92
- ) : !1;
93
- }
94
- E({
95
- unstable_advanceTimersWrapper: (t) => y(t),
96
- // We just want to run `waitFor` without IS_REACT_ACT_ENVIRONMENT
97
- // But that's not necessarily how `asyncWrapper` is used since it's a public method.
98
- // Let's just hope nobody else is using it.
99
- asyncWrapper: async (t) => {
100
- const n = i();
101
- l(!1);
102
- try {
103
- const r = await t();
104
- return await new Promise((o) => {
105
- setTimeout(() => {
106
- o();
107
- }, 0), O() && jest.advanceTimersByTime(0);
108
- }), r;
109
- } finally {
110
- l(n);
111
- }
112
- },
113
- eventWrapper: (t) => {
114
- let n;
115
- return y(() => {
116
- n = t();
117
- }), n;
118
- }
119
- });
120
- const N = /* @__PURE__ */ new Set(), d = [];
121
- function m() {
122
- d.forEach((t) => {
123
- let {
124
- root: n,
125
- container: r
126
- } = t;
127
- y(() => {
128
- n.unmount();
129
- }), r.parentNode === document.body && document.body.removeChild(r);
130
- }), d.length = 0, N.clear();
131
- }
132
- var g;
133
- if ((typeof process > "u" || !((g = process.env) != null && g.RTL_SKIP_AUTO_CLEANUP)) && (typeof afterEach == "function" ? afterEach(() => {
134
- m();
135
- }) : typeof teardown == "function" && teardown(() => {
136
- m();
137
- }), typeof beforeAll == "function" && typeof afterAll == "function")) {
138
- let t = i();
139
- beforeAll(() => {
140
- t = i(), l(!0);
141
- }), afterAll(() => {
142
- l(t);
143
- });
1
+ import o from "react";
2
+ import { createStore as c } from "./index.es279.js";
3
+ const u = (t) => t;
4
+ function i(t, e = u) {
5
+ const n = o.useSyncExternalStore(
6
+ t.subscribe,
7
+ () => e(t.getState()),
8
+ () => e(t.getInitialState())
9
+ );
10
+ return o.useDebugValue(n), n;
144
11
  }
12
+ const r = (t) => {
13
+ const e = c(t), n = (s) => i(e, s);
14
+ return Object.assign(n, e), n;
15
+ }, l = (t) => t ? r(t) : r;
145
16
  export {
146
- y as act,
147
- k as buildQueries,
148
- m as cleanup,
149
- V as createEvent,
150
- C as findAllByAltText,
151
- F as findAllByDisplayValue,
152
- M as findAllByLabelText,
153
- W as findAllByPlaceholderText,
154
- U as findAllByRole,
155
- G as findAllByTestId,
156
- z as findAllByText,
157
- K as findAllByTitle,
158
- $ as findByAltText,
159
- H as findByDisplayValue,
160
- J as findByLabelText,
161
- X as findByPlaceholderText,
162
- Y as findByRole,
163
- Z as findByTestId,
164
- ee as findByText,
165
- te as findByTitle,
166
- e as fireEvent,
167
- ne as getAllByAltText,
168
- re as getAllByDisplayValue,
169
- le as getAllByLabelText,
170
- oe as getAllByPlaceholderText,
171
- ue as getAllByRole,
172
- ie as getAllByTestId,
173
- se as getAllByText,
174
- ae as getAllByTitle,
175
- ye as getByAltText,
176
- ce as getByDisplayValue,
177
- fe as getByLabelText,
178
- de as getByPlaceholderText,
179
- me as getByRole,
180
- ge as getByTestId,
181
- pe as getByText,
182
- Te as getByTitle,
183
- Ae as getDefaultNormalizer,
184
- Be as getElementError,
185
- Ee as getMultipleElementsFoundError,
186
- be as getNodeText,
187
- xe as getQueriesForElement,
188
- he as getRoles,
189
- ve as getSuggestedQuery,
190
- we as isInaccessible,
191
- qe as logDOM,
192
- Re as makeFindQuery,
193
- Ie as makeGetAllQuery,
194
- Le as makeSingleQuery,
195
- Oe as prettyDOM,
196
- Ne as queries,
197
- _e as queryAllByAltText,
198
- Pe as queryAllByAttribute,
199
- De as queryAllByDisplayValue,
200
- Qe as queryAllByLabelText,
201
- Se as queryAllByPlaceholderText,
202
- je as queryAllByRole,
203
- ke as queryAllByTestId,
204
- Ve as queryAllByText,
205
- Ce as queryAllByTitle,
206
- Fe as queryByAltText,
207
- Me as queryByDisplayValue,
208
- We as queryByLabelText,
209
- Ue as queryByPlaceholderText,
210
- Ge as queryByRole,
211
- ze as queryByTestId,
212
- Ke as queryByText,
213
- $e as queryByTitle,
214
- He as waitFor,
215
- Je as within,
216
- Xe as wrapAllByQueryWithSuggestion,
217
- Ye as wrapSingleQueryWithSuggestion
17
+ l as create,
18
+ i as useStore
218
19
  };
@@ -1,19 +1,16 @@
1
- import o from "react";
2
- import { createStore as c } from "./index.es292.js";
3
- const u = (t) => t;
4
- function i(t, e = u) {
5
- const n = o.useSyncExternalStore(
6
- t.subscribe,
7
- () => e(t.getState()),
8
- () => e(t.getInitialState())
9
- );
10
- return o.useDebugValue(n), n;
11
- }
12
- const r = (t) => {
13
- const e = c(t), n = (s) => i(e, s);
14
- return Object.assign(n, e), n;
15
- }, l = (t) => t ? r(t) : r;
1
+ import c from "./index.es211.js";
2
+ /**
3
+ * @license lucide-react v0.487.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e = [
9
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
10
+ ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
11
+ ["path", { d: "m9 9 6 6", key: "z0biqf" }]
12
+ ], o = c("circle-x", e);
16
13
  export {
17
- l as create,
18
- i as useStore
14
+ e as __iconNode,
15
+ o as default
19
16
  };
@@ -1,4 +1,4 @@
1
- import { l as u } from "./index.es112.js";
1
+ import { l as u } from "./index.es105.js";
2
2
  import { useRef as o, useMemo as i } from "react";
3
3
  function m(e) {
4
4
  u.isFunction(e) || console.error(
@@ -7,10 +7,9 @@ import c from "./index.es211.js";
7
7
  */
8
8
  const e = [
9
9
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
10
- ["path", { d: "m15 9-6 6", key: "1uzhvr" }],
11
- ["path", { d: "m9 9 6 6", key: "z0biqf" }]
12
- ], o = c("circle-x", e);
10
+ ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
11
+ ], r = c("circle-check", e);
13
12
  export {
14
13
  e as __iconNode,
15
- o as default
14
+ r as default
16
15
  };
@@ -1,15 +1,16 @@
1
- import c from "./index.es211.js";
1
+ import e from "./index.es211.js";
2
2
  /**
3
3
  * @license lucide-react v0.487.0 - ISC
4
4
  *
5
5
  * This source code is licensed under the ISC license.
6
6
  * See the LICENSE file in the root directory of this source tree.
7
7
  */
8
- const e = [
8
+ const c = [
9
9
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
10
- ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
11
- ], r = c("circle-check", e);
10
+ ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
11
+ ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
12
+ ], l = e("circle-alert", c);
12
13
  export {
13
- e as __iconNode,
14
- r as default
14
+ c as __iconNode,
15
+ l as default
15
16
  };
@@ -1,16 +1,80 @@
1
- import e from "./index.es211.js";
2
- /**
3
- * @license lucide-react v0.487.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
8
- const c = [
9
- ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
10
- ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
11
- ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
12
- ], l = e("circle-alert", c);
1
+ import { useContextProps as h, useRenderProps as B } from "./index.es163.js";
2
+ import { ProgressBarContext as D } from "./index.es294.js";
3
+ import { announce as P } from "./index.es295.js";
4
+ import { createHideableComponent as F } from "./index.es296.js";
5
+ import { useId as x } from "./index.es297.js";
6
+ import { mergeProps as H } from "./index.es298.js";
7
+ import { filterDOMProps as E } from "./index.es299.js";
8
+ import v, { createContext as V, useRef as R, useEffect as p } from "react";
9
+ import { useButton as w } from "./index.es300.js";
10
+ import { useFocusRing as I } from "./index.es301.js";
11
+ import { useHover as M } from "./index.es302.js";
12
+ const N = /* @__PURE__ */ new Set([
13
+ "form",
14
+ "formAction",
15
+ "formEncType",
16
+ "formMethod",
17
+ "formNoValidate",
18
+ "formTarget",
19
+ "name",
20
+ "value"
21
+ ]), T = /* @__PURE__ */ V({}), J = /* @__PURE__ */ F(function(e, n) {
22
+ [e, n] = h(e, n, T), e = A(e);
23
+ let u = e, { isPending: d } = u, { buttonProps: a, isPressed: g } = w(e, n), { focusProps: y, isFocused: s, isFocusVisible: c } = I(e), { hoverProps: C, isHovered: l } = M({
24
+ ...e,
25
+ isDisabled: e.isDisabled || d
26
+ }), b = {
27
+ isHovered: l,
28
+ isPressed: (u.isPressed || g) && !d,
29
+ isFocused: s,
30
+ isFocusVisible: c,
31
+ isDisabled: e.isDisabled || !1,
32
+ isPending: d ?? !1
33
+ }, $ = B({
34
+ ...e,
35
+ values: b,
36
+ defaultClassName: "react-aria-Button"
37
+ }), r = x(a.id), o = x(), i = a["aria-labelledby"];
38
+ d && (i ? i = `${i} ${o}` : a["aria-label"] && (i = `${r} ${o}`));
39
+ let f = R(d);
40
+ return p(() => {
41
+ let m = {
42
+ "aria-labelledby": i || r
43
+ };
44
+ !f.current && s && d ? P(m, "assertive") : f.current && s && !d && P(m, "assertive"), f.current = d;
45
+ }, [
46
+ d,
47
+ s,
48
+ i,
49
+ r
50
+ ]), /* @__PURE__ */ v.createElement("button", {
51
+ ...E(e, {
52
+ propNames: N
53
+ }),
54
+ ...H(a, y, C),
55
+ ...$,
56
+ type: a.type === "submit" && d ? "button" : a.type,
57
+ id: r,
58
+ ref: n,
59
+ "aria-labelledby": i,
60
+ slot: e.slot || void 0,
61
+ "aria-disabled": d ? "true" : a["aria-disabled"],
62
+ "data-disabled": e.isDisabled || void 0,
63
+ "data-pressed": b.isPressed || void 0,
64
+ "data-hovered": l || void 0,
65
+ "data-focused": s || void 0,
66
+ "data-pending": d || void 0,
67
+ "data-focus-visible": c || void 0
68
+ }, /* @__PURE__ */ v.createElement(D.Provider, {
69
+ value: {
70
+ id: o
71
+ }
72
+ }, $.children));
73
+ });
74
+ function A(t) {
75
+ return t.isPending && (t.onPress = void 0, t.onPressStart = void 0, t.onPressEnd = void 0, t.onPressChange = void 0, t.onPressUp = void 0, t.onKeyDown = void 0, t.onKeyUp = void 0, t.onClick = void 0, t.href = void 0), t;
76
+ }
13
77
  export {
14
- c as __iconNode,
15
- l as default
78
+ J as Button,
79
+ T as ButtonContext
16
80
  };
@@ -1,80 +1,94 @@
1
- import { useContextProps as h, useRenderProps as B } from "./index.es164.js";
2
- import { ProgressBarContext as D } from "./index.es294.js";
3
- import { announce as P } from "./index.es295.js";
4
- import { createHideableComponent as F } from "./index.es296.js";
5
- import { useId as x } from "./index.es297.js";
6
- import { mergeProps as H } from "./index.es298.js";
7
- import { filterDOMProps as E } from "./index.es299.js";
8
- import v, { createContext as V, useRef as R, useEffect as p } from "react";
9
- import { useButton as w } from "./index.es300.js";
10
- import { useFocusRing as I } from "./index.es301.js";
11
- import { useHover as M } from "./index.es302.js";
12
- const N = /* @__PURE__ */ new Set([
13
- "form",
14
- "formAction",
15
- "formEncType",
16
- "formMethod",
17
- "formNoValidate",
18
- "formTarget",
19
- "name",
20
- "value"
21
- ]), T = /* @__PURE__ */ V({}), J = /* @__PURE__ */ F(function(e, n) {
22
- [e, n] = h(e, n, T), e = A(e);
23
- let u = e, { isPending: d } = u, { buttonProps: a, isPressed: g } = w(e, n), { focusProps: y, isFocused: s, isFocusVisible: c } = I(e), { hoverProps: C, isHovered: l } = M({
24
- ...e,
25
- isDisabled: e.isDisabled || d
26
- }), b = {
27
- isHovered: l,
28
- isPressed: (u.isPressed || g) && !d,
29
- isFocused: s,
30
- isFocusVisible: c,
31
- isDisabled: e.isDisabled || !1,
32
- isPending: d ?? !1
33
- }, $ = B({
34
- ...e,
35
- values: b,
36
- defaultClassName: "react-aria-Button"
37
- }), r = x(a.id), o = x(), i = a["aria-labelledby"];
38
- d && (i ? i = `${i} ${o}` : a["aria-label"] && (i = `${r} ${o}`));
39
- let f = R(d);
40
- return p(() => {
41
- let m = {
42
- "aria-labelledby": i || r
1
+ import { mergeProps as y } from "./index.es298.js";
2
+ import { mergeRefs as $ } from "./index.es303.js";
3
+ import { useObjectRef as m } from "./index.es304.js";
4
+ import x, { useMemo as i, useContext as p } from "react";
5
+ const b = Symbol("default");
6
+ function R({ values: t, children: l }) {
7
+ for (let [e, s] of t)
8
+ l = /* @__PURE__ */ x.createElement(e.Provider, {
9
+ value: s
10
+ }, l);
11
+ return l;
12
+ }
13
+ function g(t) {
14
+ let { className: l, style: e, children: s, defaultClassName: n, defaultChildren: f, defaultStyle: r, values: u } = t;
15
+ return i(() => {
16
+ let a, d, o;
17
+ return typeof l == "function" ? a = l({
18
+ ...u,
19
+ defaultClassName: n
20
+ }) : a = l, typeof e == "function" ? d = e({
21
+ ...u,
22
+ defaultStyle: r || {}
23
+ }) : d = e, typeof s == "function" ? o = s({
24
+ ...u,
25
+ defaultChildren: f
26
+ }) : s == null ? o = f : o = s, {
27
+ className: a ?? n,
28
+ style: d || r ? {
29
+ ...r,
30
+ ...d
31
+ } : void 0,
32
+ children: o ?? f,
33
+ "data-rac": ""
43
34
  };
44
- !f.current && s && d ? P(m, "assertive") : f.current && s && !d && P(m, "assertive"), f.current = d;
45
35
  }, [
46
- d,
36
+ l,
37
+ e,
47
38
  s,
48
- i,
49
- r
50
- ]), /* @__PURE__ */ v.createElement("button", {
51
- ...E(e, {
52
- propNames: N
53
- }),
54
- ...H(a, y, C),
55
- ...$,
56
- type: a.type === "submit" && d ? "button" : a.type,
57
- id: r,
58
- ref: n,
59
- "aria-labelledby": i,
60
- slot: e.slot || void 0,
61
- "aria-disabled": d ? "true" : a["aria-disabled"],
62
- "data-disabled": e.isDisabled || void 0,
63
- "data-pressed": b.isPressed || void 0,
64
- "data-hovered": l || void 0,
65
- "data-focused": s || void 0,
66
- "data-pending": d || void 0,
67
- "data-focus-visible": c || void 0
68
- }, /* @__PURE__ */ v.createElement(D.Provider, {
69
- value: {
70
- id: o
39
+ n,
40
+ f,
41
+ r,
42
+ u
43
+ ]);
44
+ }
45
+ function P(t, l) {
46
+ return (e) => l(typeof t == "function" ? t(e) : t, e);
47
+ }
48
+ function C(t, l) {
49
+ let e = p(t);
50
+ if (l === null)
51
+ return null;
52
+ if (e && typeof e == "object" && "slots" in e && e.slots) {
53
+ let s = l || b;
54
+ if (!e.slots[s]) {
55
+ let n = new Intl.ListFormat().format(Object.keys(e.slots).map((r) => `"${r}"`)), f = l ? `Invalid slot "${l}".` : "A slot prop is required.";
56
+ throw new Error(`${f} Valid slot names are ${n}.`);
71
57
  }
72
- }, $.children));
73
- });
74
- function A(t) {
75
- return t.isPending && (t.onPress = void 0, t.onPressStart = void 0, t.onPressEnd = void 0, t.onPressChange = void 0, t.onPressUp = void 0, t.onKeyDown = void 0, t.onKeyUp = void 0, t.onClick = void 0, t.href = void 0), t;
58
+ return e.slots[s];
59
+ }
60
+ return e;
61
+ }
62
+ function j(t, l, e) {
63
+ let s = C(e, t.slot) || {}, { ref: n, ...f } = s, r = m(i(() => $(l, n), [
64
+ l,
65
+ n
66
+ ])), u = y(f, t);
67
+ return "style" in f && f.style && "style" in t && t.style && (typeof f.style == "function" || typeof t.style == "function" ? u.style = (a) => {
68
+ let d = typeof f.style == "function" ? f.style(a) : f.style, o = {
69
+ ...a.defaultStyle,
70
+ ...d
71
+ }, c = typeof t.style == "function" ? t.style({
72
+ ...a,
73
+ defaultStyle: o
74
+ }) : t.style;
75
+ return {
76
+ ...o,
77
+ ...c
78
+ };
79
+ } : u.style = {
80
+ ...f.style,
81
+ ...t.style
82
+ }), [
83
+ u,
84
+ r
85
+ ];
76
86
  }
77
87
  export {
78
- J as Button,
79
- T as ButtonContext
88
+ b as DEFAULT_SLOT,
89
+ R as Provider,
90
+ P as composeRenderProps,
91
+ j as useContextProps,
92
+ g as useRenderProps,
93
+ C as useSlottedContext
80
94
  };