@new-black/lyra 0.0.19 → 0.0.22

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 (561) hide show
  1. package/dist/components/accordion/accordion.d.ts +1 -1
  2. package/dist/components/accordion/accordion.d.ts.map +1 -1
  3. package/dist/components/inputs/checkbox-group/checkbox-group.styles.d.ts.map +1 -1
  4. package/dist/components/inputs/radio-group/radio.styles.d.ts.map +1 -1
  5. package/dist/components/inputs/select/select.d.ts.map +1 -1
  6. package/dist/components/list-box/list-box.d.ts.map +1 -1
  7. package/dist/icons/icon-defs.svg +25 -0
  8. package/dist/lyra10.cjs +1 -1
  9. package/dist/lyra10.js +3 -3
  10. package/dist/lyra100.cjs +1 -1
  11. package/dist/lyra100.js +5 -34
  12. package/dist/lyra101.cjs +1 -1
  13. package/dist/lyra101.js +71 -133
  14. package/dist/lyra102.cjs +1 -1
  15. package/dist/lyra102.js +6 -24
  16. package/dist/lyra103.cjs +1 -1
  17. package/dist/lyra103.js +25 -12
  18. package/dist/lyra104.cjs +1 -1
  19. package/dist/lyra104.js +25 -23
  20. package/dist/lyra105.cjs +1 -1
  21. package/dist/lyra105.js +95 -8
  22. package/dist/lyra106.cjs +1 -1
  23. package/dist/lyra106.js +21 -38
  24. package/dist/lyra107.cjs +1 -1
  25. package/dist/lyra107.js +32 -1994
  26. package/dist/lyra108.cjs +1 -1
  27. package/dist/lyra108.js +132 -5
  28. package/dist/lyra109.cjs +1 -1
  29. package/dist/lyra109.js +23 -71
  30. package/dist/lyra11.cjs +1 -1
  31. package/dist/lyra11.js +136 -18
  32. package/dist/lyra110.cjs +1 -1
  33. package/dist/lyra110.js +21 -10
  34. package/dist/lyra111.cjs +1 -1
  35. package/dist/lyra111.js +2 -991
  36. package/dist/lyra112.cjs +1 -1
  37. package/dist/lyra112.js +17 -4
  38. package/dist/lyra113.cjs +1 -1
  39. package/dist/lyra113.js +992 -27
  40. package/dist/lyra115.cjs +1 -1
  41. package/dist/lyra115.js +95 -15
  42. package/dist/lyra116.cjs +1 -1
  43. package/dist/lyra116.js +23 -11
  44. package/dist/lyra117.cjs +1 -1
  45. package/dist/lyra117.js +39 -19
  46. package/dist/lyra118.cjs +1 -1
  47. package/dist/lyra118.js +17 -10
  48. package/dist/lyra119.cjs +1 -1
  49. package/dist/lyra119.js +14 -15
  50. package/dist/lyra12.cjs +1 -1
  51. package/dist/lyra12.js +2 -2
  52. package/dist/lyra120.cjs +1 -1
  53. package/dist/lyra120.js +19 -5
  54. package/dist/lyra121.cjs +1 -1
  55. package/dist/lyra121.js +9 -7
  56. package/dist/lyra122.cjs +1 -1
  57. package/dist/lyra122.js +15 -10
  58. package/dist/lyra123.cjs +1 -1
  59. package/dist/lyra123.js +5 -9
  60. package/dist/lyra124.cjs +1 -1
  61. package/dist/lyra124.js +8 -37
  62. package/dist/lyra125.cjs +1 -1
  63. package/dist/lyra125.js +10 -3
  64. package/dist/lyra126.cjs +1 -1
  65. package/dist/lyra126.js +9 -4
  66. package/dist/lyra127.cjs +1 -1
  67. package/dist/lyra127.js +37 -4
  68. package/dist/lyra128.cjs +1 -1
  69. package/dist/lyra128.js +3 -10
  70. package/dist/lyra129.cjs +1 -1
  71. package/dist/lyra129.js +4 -7
  72. package/dist/lyra13.cjs +1 -1
  73. package/dist/lyra13.js +1 -1
  74. package/dist/lyra130.cjs +1 -1
  75. package/dist/lyra130.js +5 -4
  76. package/dist/lyra131.cjs +1 -1
  77. package/dist/lyra131.js +10 -2
  78. package/dist/lyra132.cjs +1 -1
  79. package/dist/lyra132.js +6 -17
  80. package/dist/lyra133.cjs +1 -1
  81. package/dist/lyra133.js +4 -14
  82. package/dist/lyra134.cjs +1 -1
  83. package/dist/lyra134.js +2 -33
  84. package/dist/lyra135.cjs +1 -1
  85. package/dist/lyra135.js +17 -29
  86. package/dist/lyra136.cjs +1 -1
  87. package/dist/lyra136.js +13 -38
  88. package/dist/lyra137.cjs +1 -1
  89. package/dist/lyra137.js +32 -9
  90. package/dist/lyra138.cjs +1 -1
  91. package/dist/lyra138.js +30 -3
  92. package/dist/lyra139.cjs +1 -1
  93. package/dist/lyra139.js +38 -47
  94. package/dist/lyra14.cjs +1 -1
  95. package/dist/lyra14.js +4 -4
  96. package/dist/lyra140.cjs +1 -1
  97. package/dist/lyra140.js +10 -7
  98. package/dist/lyra141.cjs +1 -1
  99. package/dist/lyra141.js +3 -3
  100. package/dist/lyra142.cjs +1 -1
  101. package/dist/lyra142.js +47 -27
  102. package/dist/lyra143.cjs +1 -1
  103. package/dist/lyra143.js +7 -16
  104. package/dist/lyra144.cjs +1 -1
  105. package/dist/lyra144.js +3 -11
  106. package/dist/lyra145.cjs +1 -1
  107. package/dist/lyra145.js +27 -8
  108. package/dist/lyra146.cjs +1 -1
  109. package/dist/lyra146.js +16 -2
  110. package/dist/lyra147.cjs +1 -1
  111. package/dist/lyra147.js +11 -3
  112. package/dist/lyra148.cjs +1 -1
  113. package/dist/lyra148.js +9 -3
  114. package/dist/lyra149.cjs +1 -1
  115. package/dist/lyra149.js +2 -2
  116. package/dist/lyra15.cjs +1 -1
  117. package/dist/lyra15.js +1 -1
  118. package/dist/lyra150.cjs +1 -1
  119. package/dist/lyra150.js +3 -258
  120. package/dist/lyra151.cjs +1 -1
  121. package/dist/lyra151.js +3 -25
  122. package/dist/lyra152.cjs +1 -1
  123. package/dist/lyra152.js +2 -16
  124. package/dist/lyra153.cjs +1 -1
  125. package/dist/lyra153.js +257 -3
  126. package/dist/lyra154.cjs +1 -1
  127. package/dist/lyra154.js +24 -10
  128. package/dist/lyra155.cjs +1 -1
  129. package/dist/lyra155.js +16 -3
  130. package/dist/lyra156.cjs +1 -1
  131. package/dist/lyra156.js +3 -26
  132. package/dist/lyra157.cjs +1 -1
  133. package/dist/lyra157.js +10 -200
  134. package/dist/lyra158.cjs +1 -1
  135. package/dist/lyra158.js +3 -5
  136. package/dist/lyra159.cjs +1 -1
  137. package/dist/lyra159.js +27 -21
  138. package/dist/lyra16.cjs +1 -1
  139. package/dist/lyra16.js +3 -3
  140. package/dist/lyra160.cjs +1 -1
  141. package/dist/lyra160.js +199 -9
  142. package/dist/lyra161.cjs +1 -1
  143. package/dist/lyra161.js +4 -3
  144. package/dist/lyra162.cjs +1 -1
  145. package/dist/lyra162.js +21 -26
  146. package/dist/lyra163.cjs +1 -1
  147. package/dist/lyra163.js +10 -3
  148. package/dist/lyra164.cjs +1 -1
  149. package/dist/lyra164.js +3 -4
  150. package/dist/lyra165.cjs +1 -1
  151. package/dist/lyra165.js +26 -25
  152. package/dist/lyra166.cjs +1 -1
  153. package/dist/lyra166.js +4 -11
  154. package/dist/lyra167.cjs +1 -1
  155. package/dist/lyra167.js +5 -2
  156. package/dist/lyra168.cjs +1 -1
  157. package/dist/lyra168.js +25 -6
  158. package/dist/lyra169.cjs +1 -1
  159. package/dist/lyra169.js +11 -19
  160. package/dist/lyra17.cjs +1 -1
  161. package/dist/lyra17.js +5 -5
  162. package/dist/lyra170.cjs +1 -1
  163. package/dist/lyra170.js +2 -119
  164. package/dist/lyra171.cjs +1 -1
  165. package/dist/lyra171.js +5 -27
  166. package/dist/lyra172.cjs +1 -1
  167. package/dist/lyra172.js +17 -61
  168. package/dist/lyra173.cjs +1 -1
  169. package/dist/lyra173.js +115 -30
  170. package/dist/lyra174.cjs +1 -1
  171. package/dist/lyra174.js +26 -13
  172. package/dist/lyra175.cjs +1 -1
  173. package/dist/lyra175.js +58 -36
  174. package/dist/lyra176.cjs +1 -1
  175. package/dist/lyra176.js +34 -2
  176. package/dist/lyra177.cjs +1 -1
  177. package/dist/lyra177.js +15 -3
  178. package/dist/lyra178.cjs +1 -1
  179. package/dist/lyra178.js +40 -10
  180. package/dist/lyra179.cjs +1 -1
  181. package/dist/lyra179.js +2 -10
  182. package/dist/lyra18.cjs +1 -1
  183. package/dist/lyra18.js +2 -2
  184. package/dist/lyra180.cjs +1 -1
  185. package/dist/lyra180.js +3 -9
  186. package/dist/lyra181.cjs +1 -1
  187. package/dist/lyra181.js +10 -16
  188. package/dist/lyra182.cjs +1 -1
  189. package/dist/lyra182.js +9 -9
  190. package/dist/lyra183.cjs +1 -1
  191. package/dist/lyra183.js +9 -14
  192. package/dist/lyra184.cjs +1 -1
  193. package/dist/lyra184.js +14 -62
  194. package/dist/lyra185.cjs +1 -1
  195. package/dist/lyra185.js +10 -4
  196. package/dist/lyra186.cjs +1 -1
  197. package/dist/lyra186.js +14 -2
  198. package/dist/lyra187.cjs +1 -1
  199. package/dist/lyra187.js +64 -14
  200. package/dist/lyra188.cjs +1 -1
  201. package/dist/lyra188.js +4 -16
  202. package/dist/lyra189.cjs +1 -1
  203. package/dist/lyra189.js +2 -4
  204. package/dist/lyra19.cjs +1 -1
  205. package/dist/lyra19.js +4 -4
  206. package/dist/lyra190.cjs +1 -1
  207. package/dist/lyra190.js +15 -2
  208. package/dist/lyra191.cjs +1 -1
  209. package/dist/lyra191.js +16 -7
  210. package/dist/lyra192.cjs +1 -1
  211. package/dist/lyra192.js +4 -53
  212. package/dist/lyra193.cjs +1 -1
  213. package/dist/lyra193.js +2 -17
  214. package/dist/lyra194.cjs +1 -1
  215. package/dist/lyra194.js +6 -8
  216. package/dist/lyra195.cjs +1 -1
  217. package/dist/lyra195.js +53 -2
  218. package/dist/lyra196.cjs +1 -1
  219. package/dist/lyra196.js +17 -6
  220. package/dist/lyra197.cjs +1 -1
  221. package/dist/lyra197.js +8 -3
  222. package/dist/lyra198.cjs +1 -1
  223. package/dist/lyra198.js +2 -2
  224. package/dist/lyra199.cjs +1 -1
  225. package/dist/lyra199.js +6 -2
  226. package/dist/lyra2.cjs +1 -1
  227. package/dist/lyra2.js +5 -5
  228. package/dist/lyra20.cjs +1 -1
  229. package/dist/lyra20.js +1 -1
  230. package/dist/lyra200.cjs +1 -1
  231. package/dist/lyra200.js +4 -5
  232. package/dist/lyra201.cjs +1 -1
  233. package/dist/lyra201.js +2 -3
  234. package/dist/lyra202.cjs +1 -1
  235. package/dist/lyra202.js +2 -7
  236. package/dist/lyra203.cjs +1 -1
  237. package/dist/lyra203.js +5 -16
  238. package/dist/lyra204.cjs +1 -1
  239. package/dist/lyra204.js +3 -2
  240. package/dist/lyra205.cjs +1 -1
  241. package/dist/lyra205.js +7 -2
  242. package/dist/lyra206.cjs +1 -1
  243. package/dist/lyra206.js +16 -6
  244. package/dist/lyra207.cjs +1 -1
  245. package/dist/lyra207.js +2 -5
  246. package/dist/lyra208.cjs +1 -1
  247. package/dist/lyra208.js +2 -9
  248. package/dist/lyra209.cjs +1 -1
  249. package/dist/lyra209.js +6 -7
  250. package/dist/lyra21.cjs +1 -1
  251. package/dist/lyra21.js +2 -2
  252. package/dist/lyra210.cjs +1 -1
  253. package/dist/lyra210.js +5 -22
  254. package/dist/lyra211.cjs +1 -1
  255. package/dist/lyra211.js +8 -32
  256. package/dist/lyra212.cjs +1 -1
  257. package/dist/lyra212.js +6 -35
  258. package/dist/lyra213.cjs +1 -1
  259. package/dist/lyra213.js +21 -29
  260. package/dist/lyra214.cjs +1 -1
  261. package/dist/lyra214.js +32 -22
  262. package/dist/lyra215.cjs +1 -1
  263. package/dist/lyra215.js +34 -48
  264. package/dist/lyra216.cjs +1 -1
  265. package/dist/lyra216.js +30 -2
  266. package/dist/lyra217.cjs +1 -1
  267. package/dist/lyra217.js +23 -2
  268. package/dist/lyra218.cjs +1 -1
  269. package/dist/lyra218.js +49 -7
  270. package/dist/lyra219.cjs +1 -1
  271. package/dist/lyra219.js +2 -6
  272. package/dist/lyra22.cjs +1 -1
  273. package/dist/lyra22.js +1 -1
  274. package/dist/lyra220.cjs +1 -1
  275. package/dist/lyra220.js +2 -33
  276. package/dist/lyra221.cjs +1 -1
  277. package/dist/lyra221.js +7 -17
  278. package/dist/lyra222.cjs +1 -1
  279. package/dist/lyra222.js +6 -47
  280. package/dist/lyra223.cjs +1 -1
  281. package/dist/lyra223.js +32 -3
  282. package/dist/lyra224.cjs +1 -1
  283. package/dist/lyra224.js +17 -5
  284. package/dist/lyra225.cjs +1 -1
  285. package/dist/lyra225.js +44 -28
  286. package/dist/lyra226.cjs +1 -1
  287. package/dist/lyra226.js +3 -5
  288. package/dist/lyra227.cjs +1 -1
  289. package/dist/lyra227.js +5 -3
  290. package/dist/lyra228.cjs +1 -1
  291. package/dist/lyra228.js +29 -10
  292. package/dist/lyra229.cjs +1 -1
  293. package/dist/lyra229.js +6 -2
  294. package/dist/lyra23.cjs +1 -1
  295. package/dist/lyra23.js +1 -1
  296. package/dist/lyra230.cjs +1 -1
  297. package/dist/lyra230.js +3 -97
  298. package/dist/lyra231.cjs +1 -1
  299. package/dist/lyra231.js +8 -22
  300. package/dist/lyra232.cjs +1 -1
  301. package/dist/lyra232.js +2 -39
  302. package/dist/lyra234.cjs +1 -1
  303. package/dist/lyra234.js +1 -1
  304. package/dist/lyra235.cjs +1 -1
  305. package/dist/lyra235.js +1 -1
  306. package/dist/lyra237.cjs +1 -1
  307. package/dist/lyra237.js +79 -13
  308. package/dist/lyra238.cjs +1 -1
  309. package/dist/lyra238.js +3 -22
  310. package/dist/lyra239.cjs +1 -1
  311. package/dist/lyra239.js +21 -19
  312. package/dist/lyra24.cjs +1 -1
  313. package/dist/lyra24.js +3 -3
  314. package/dist/lyra240.cjs +1 -1
  315. package/dist/lyra240.js +20 -26
  316. package/dist/lyra241.cjs +1 -1
  317. package/dist/lyra241.js +24 -8
  318. package/dist/lyra242.cjs +1 -1
  319. package/dist/lyra242.js +10 -24
  320. package/dist/lyra243.cjs +1 -1
  321. package/dist/lyra243.js +19 -21
  322. package/dist/lyra244.cjs +1 -1
  323. package/dist/lyra244.js +17 -62
  324. package/dist/lyra245.cjs +1 -1
  325. package/dist/lyra245.js +61 -32
  326. package/dist/lyra246.cjs +1 -1
  327. package/dist/lyra246.js +36 -10
  328. package/dist/lyra247.cjs +1 -1
  329. package/dist/lyra247.js +10 -31
  330. package/dist/lyra248.cjs +1 -1
  331. package/dist/lyra248.js +30 -63
  332. package/dist/lyra249.cjs +1 -1
  333. package/dist/lyra249.js +69 -22
  334. package/dist/lyra25.cjs +1 -1
  335. package/dist/lyra25.js +2 -2
  336. package/dist/lyra250.cjs +1 -1
  337. package/dist/lyra250.js +22 -43
  338. package/dist/lyra251.cjs +1 -1
  339. package/dist/lyra251.js +36 -33
  340. package/dist/lyra252.cjs +1 -9
  341. package/dist/lyra252.js +36 -42
  342. package/dist/lyra253.cjs +9 -1
  343. package/dist/lyra253.js +47 -2
  344. package/dist/lyra254.cjs +1 -1
  345. package/dist/lyra254.js +2 -3
  346. package/dist/lyra255.cjs +1 -1
  347. package/dist/lyra255.js +42 -2
  348. package/dist/lyra256.cjs +1 -1
  349. package/dist/lyra256.js +12 -41
  350. package/dist/lyra257.cjs +1 -1
  351. package/dist/lyra257.js +2 -13
  352. package/dist/lyra259.cjs +1 -1
  353. package/dist/lyra259.js +23 -23
  354. package/dist/lyra260.cjs +1 -1
  355. package/dist/lyra260.js +1 -1
  356. package/dist/lyra261.cjs +1 -1
  357. package/dist/lyra261.js +2 -14
  358. package/dist/lyra262.cjs +1 -1
  359. package/dist/lyra262.js +29 -15
  360. package/dist/lyra263.cjs +1 -1
  361. package/dist/lyra263.js +5 -22
  362. package/dist/lyra264.cjs +1 -1
  363. package/dist/lyra264.js +4 -2
  364. package/dist/lyra265.cjs +1 -1
  365. package/dist/lyra265.js +13 -28
  366. package/dist/lyra266.cjs +1 -1
  367. package/dist/lyra266.js +14 -5
  368. package/dist/lyra267.cjs +1 -1
  369. package/dist/lyra267.js +22 -3
  370. package/dist/lyra268.cjs +1 -1
  371. package/dist/lyra268.js +3 -3
  372. package/dist/lyra27.cjs +1 -1
  373. package/dist/lyra27.js +1 -1
  374. package/dist/lyra270.cjs +1 -1
  375. package/dist/lyra270.js +112 -20
  376. package/dist/lyra271.cjs +1 -1
  377. package/dist/lyra271.js +8 -22
  378. package/dist/lyra272.cjs +1 -1
  379. package/dist/lyra272.js +22 -7
  380. package/dist/lyra273.cjs +1 -1
  381. package/dist/lyra273.js +22 -2
  382. package/dist/lyra274.cjs +1 -1
  383. package/dist/lyra274.js +7 -114
  384. package/dist/lyra275.cjs +1 -1
  385. package/dist/lyra275.js +2 -8
  386. package/dist/lyra276.cjs +1 -1
  387. package/dist/lyra276.js +2 -327
  388. package/dist/lyra277.cjs +1 -1
  389. package/dist/lyra277.js +2 -16
  390. package/dist/lyra278.cjs +1 -1
  391. package/dist/lyra278.js +327 -2
  392. package/dist/lyra279.cjs +1 -1
  393. package/dist/lyra279.js +16 -2
  394. package/dist/lyra281.cjs +1 -1
  395. package/dist/lyra281.js +1 -1
  396. package/dist/lyra283.cjs +1 -1
  397. package/dist/lyra283.js +1 -1
  398. package/dist/lyra284.cjs +1 -1
  399. package/dist/lyra284.js +2 -2
  400. package/dist/lyra288.cjs +1 -1
  401. package/dist/lyra288.js +1 -1
  402. package/dist/lyra290.cjs +1 -1
  403. package/dist/lyra290.js +232 -2
  404. package/dist/lyra291.cjs +1 -1
  405. package/dist/lyra291.js +78 -16
  406. package/dist/lyra292.cjs +1 -1
  407. package/dist/lyra292.js +9 -228
  408. package/dist/lyra293.cjs +1 -1
  409. package/dist/lyra293.js +18 -80
  410. package/dist/lyra294.cjs +1 -1
  411. package/dist/lyra294.js +13 -12
  412. package/dist/lyra295.cjs +1 -1
  413. package/dist/lyra295.js +2 -19
  414. package/dist/lyra296.cjs +1 -1
  415. package/dist/lyra296.js +18 -13
  416. package/dist/lyra297.cjs +1 -1
  417. package/dist/lyra297.js +3 -3
  418. package/dist/lyra299.cjs +1 -1
  419. package/dist/lyra299.js +1 -1
  420. package/dist/lyra3.cjs +1 -1
  421. package/dist/lyra3.js +2 -2
  422. package/dist/lyra30.cjs +1 -1
  423. package/dist/lyra30.js +2 -2
  424. package/dist/lyra300.cjs +1 -1
  425. package/dist/lyra300.js +2 -2
  426. package/dist/lyra302.cjs +1 -1
  427. package/dist/lyra302.js +5 -5
  428. package/dist/lyra303.cjs +1 -1
  429. package/dist/lyra303.js +2 -2
  430. package/dist/lyra304.cjs +1 -1
  431. package/dist/lyra304.js +1 -1
  432. package/dist/lyra305.cjs +1 -1
  433. package/dist/lyra305.js +1 -1
  434. package/dist/lyra306.cjs +1 -1
  435. package/dist/lyra306.js +1 -1
  436. package/dist/lyra308.cjs +1 -1
  437. package/dist/lyra308.js +30 -2
  438. package/dist/lyra309.cjs +1 -1
  439. package/dist/lyra309.js +6 -28
  440. package/dist/lyra31.cjs +1 -1
  441. package/dist/lyra31.js +3 -3
  442. package/dist/lyra310.cjs +1 -1
  443. package/dist/lyra310.js +51 -6
  444. package/dist/lyra311.cjs +1 -1
  445. package/dist/lyra311.js +19 -49
  446. package/dist/lyra312.cjs +1 -1
  447. package/dist/lyra312.js +12 -19
  448. package/dist/lyra313.cjs +1 -1
  449. package/dist/lyra313.js +55 -15
  450. package/dist/lyra314.cjs +1 -1
  451. package/dist/lyra314.js +10 -55
  452. package/dist/lyra315.cjs +1 -1
  453. package/dist/lyra315.js +3 -10
  454. package/dist/lyra316.cjs +1 -1
  455. package/dist/lyra316.js +17 -3
  456. package/dist/lyra317.cjs +1 -1
  457. package/dist/lyra317.js +3 -17
  458. package/dist/lyra318.cjs +1 -1
  459. package/dist/lyra318.js +3 -3
  460. package/dist/lyra319.cjs +1 -1
  461. package/dist/lyra319.js +9 -3
  462. package/dist/lyra320.cjs +1 -1
  463. package/dist/lyra320.js +2 -2
  464. package/dist/lyra321.cjs +1 -1
  465. package/dist/lyra321.js +2 -10
  466. package/dist/lyra323.cjs +1 -1
  467. package/dist/lyra323.js +2 -2
  468. package/dist/lyra325.cjs +1 -1
  469. package/dist/lyra325.js +2 -2
  470. package/dist/lyra326.cjs +1 -1
  471. package/dist/lyra326.js +1 -1
  472. package/dist/lyra327.cjs +1 -1
  473. package/dist/lyra327.js +1 -1
  474. package/dist/lyra328.cjs +1 -1
  475. package/dist/lyra328.js +4 -4
  476. package/dist/lyra334.cjs +1 -1
  477. package/dist/lyra334.js +1 -1
  478. package/dist/lyra335.cjs +1 -1
  479. package/dist/lyra335.js +1 -1
  480. package/dist/lyra336.cjs +1 -1
  481. package/dist/lyra336.js +2 -2
  482. package/dist/lyra337.cjs +1 -1
  483. package/dist/lyra337.js +7 -7
  484. package/dist/lyra35.cjs +1 -1
  485. package/dist/lyra35.js +2 -2
  486. package/dist/lyra36.cjs +1 -1
  487. package/dist/lyra36.js +3 -3
  488. package/dist/lyra37.cjs +1 -1
  489. package/dist/lyra37.js +2 -2
  490. package/dist/lyra38.cjs +1 -1
  491. package/dist/lyra38.js +2 -2
  492. package/dist/lyra39.cjs +1 -1
  493. package/dist/lyra39.js +2 -2
  494. package/dist/lyra4.cjs +1 -1
  495. package/dist/lyra4.js +1 -1
  496. package/dist/lyra5.cjs +1 -1
  497. package/dist/lyra5.js +2 -2
  498. package/dist/lyra57.cjs +1 -1
  499. package/dist/lyra57.js +1 -1
  500. package/dist/lyra66.cjs +1 -1
  501. package/dist/lyra66.js +43 -2
  502. package/dist/lyra67.cjs +1 -9
  503. package/dist/lyra67.js +60 -28
  504. package/dist/lyra68.cjs +1 -19
  505. package/dist/lyra68.js +240 -597
  506. package/dist/lyra69.cjs +1 -1
  507. package/dist/lyra69.js +2 -1615
  508. package/dist/lyra7.cjs +1 -1
  509. package/dist/lyra7.js +2 -2
  510. package/dist/lyra70.cjs +9 -1
  511. package/dist/lyra70.js +30 -39
  512. package/dist/lyra71.cjs +19 -1
  513. package/dist/lyra71.js +599 -3
  514. package/dist/lyra72.cjs +1 -1
  515. package/dist/lyra72.js +2 -66
  516. package/dist/lyra73.cjs +1 -1
  517. package/dist/lyra73.js +39 -14
  518. package/dist/lyra75.cjs +1 -1
  519. package/dist/lyra75.js +1615 -2
  520. package/dist/lyra76.cjs +1 -1
  521. package/dist/lyra76.js +3 -2
  522. package/dist/lyra77.cjs +1 -1
  523. package/dist/lyra77.js +66 -2
  524. package/dist/lyra78.cjs +1 -1
  525. package/dist/lyra78.js +14 -2
  526. package/dist/lyra79.js +2 -2
  527. package/dist/lyra8.cjs +1 -1
  528. package/dist/lyra8.js +1 -1
  529. package/dist/lyra81.cjs +1 -1
  530. package/dist/lyra81.js +2 -32
  531. package/dist/lyra82.js +2 -2
  532. package/dist/lyra83.cjs +1 -1
  533. package/dist/lyra83.js +32 -13
  534. package/dist/lyra84.cjs +1 -1
  535. package/dist/lyra84.js +2 -30
  536. package/dist/lyra85.cjs +1 -1
  537. package/dist/lyra85.js +2 -43
  538. package/dist/lyra86.cjs +1 -1
  539. package/dist/lyra86.js +12 -241
  540. package/dist/lyra87.cjs +1 -1
  541. package/dist/lyra87.js +29 -61
  542. package/dist/lyra89.cjs +1 -1
  543. package/dist/lyra89.js +4 -20
  544. package/dist/lyra9.cjs +1 -1
  545. package/dist/lyra9.js +2 -2
  546. package/dist/lyra91.cjs +1 -1
  547. package/dist/lyra91.js +7 -8
  548. package/dist/lyra93.cjs +1 -1
  549. package/dist/lyra93.js +21 -4
  550. package/dist/lyra95.cjs +1 -1
  551. package/dist/lyra95.js +13 -6
  552. package/dist/lyra96.cjs +1 -1
  553. package/dist/lyra96.js +23 -24
  554. package/dist/lyra97.cjs +1 -1
  555. package/dist/lyra97.js +8 -24
  556. package/dist/lyra98.cjs +1 -1
  557. package/dist/lyra98.js +37 -96
  558. package/dist/lyra99.cjs +1 -1
  559. package/dist/lyra99.js +1994 -18
  560. package/dist/style.css +1 -1
  561. package/package.json +1 -5
package/dist/lyra75.js CHANGED
@@ -1,4 +1,1617 @@
1
- const t = "";
1
+ import { useObjectRef as L, mergeRefs as U, mergeProps as N, filterDOMProps as E, useLayoutEffect as se, useResizeObserver as Me } from "./lyra43.js";
2
+ import n, { forwardRef as h, useContext as k, useMemo as T, useEffect as W, useState as M, useRef as w, useCallback as I, createContext as p, cloneElement as Fe } from "react";
3
+ import Ie, { createPortal as Ke } from "react-dom";
4
+ import { s as Oe } from "./lyra102.js";
5
+ import { useHover as A, usePress as ne } from "./lyra45.js";
6
+ import { useFocusRing as q, FocusableProvider as Be, FocusScope as Ve } from "./lyra44.js";
7
+ import { useButton as He } from "./lyra42.js";
8
+ import { useCheckboxGroupState as _e } from "./lyra103.js";
9
+ import { useCheckboxGroup as Le, useCheckboxGroupItem as Ae, useCheckbox as qe } from "./lyra46.js";
10
+ import { useToggleState as ze } from "./lyra49.js";
11
+ import { VisuallyHidden as de } from "./lyra58.js";
12
+ import { useOverlayTriggerState as ce } from "./lyra104.js";
13
+ import { useOverlayTrigger as Ge, usePopover as Ue, Overlay as We, DismissButton as le, OverlayContainer as je, useOverlayPosition as Qe } from "./lyra54.js";
14
+ import { useNumberFieldState as Xe } from "./lyra105.js";
15
+ import { useNumberField as Ye } from "./lyra55.js";
16
+ import { useRadioGroupState as Je } from "./lyra106.js";
17
+ import { useRadioGroup as Ze, useRadio as et } from "./lyra61.js";
18
+ import { useTextField as tt } from "./lyra56.js";
19
+ import { useTooltipTriggerState as rt } from "./lyra107.js";
20
+ import { useTooltipTrigger as it, useTooltip as at } from "./lyra64.js";
21
+ import { useListState as lt } from "./lyra108.js";
22
+ import { ListKeyboardDelegate as ot } from "./lyra51.js";
23
+ import { useListBox as st, useListBoxSection as nt, useOption as dt } from "./lyra50.js";
24
+ import { useProgressBar as ct } from "./lyra60.js";
25
+ import { useSelectState as ut } from "./lyra109.js";
26
+ import { useSelect as ft, HiddenSelect as pt } from "./lyra62.js";
27
+ import { useIsSSR as bt } from "./lyra41.js";
28
+ import { SSRProvider as si } from "./lyra41.js";
29
+ import { useSeparator as $t } from "./lyra63.js";
30
+ import { useLocale as ue } from "./lyra35.js";
31
+ class j {
32
+ get childNodes() {
33
+ throw new Error("childNodes is not supported");
34
+ }
35
+ clone() {
36
+ let e = new j(this.type, this.key);
37
+ return e.value = this.value, e.level = this.level, e.hasChildNodes = this.hasChildNodes, e.rendered = this.rendered, e.textValue = this.textValue, e["aria-label"] = this["aria-label"], e.index = this.index, e.parentKey = this.parentKey, e.prevKey = this.prevKey, e.nextKey = this.nextKey, e.firstChildKey = this.firstChildKey, e.lastChildKey = this.lastChildKey, e.props = this.props, e;
38
+ }
39
+ constructor(e, r) {
40
+ this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.type = e, this.key = r;
41
+ }
42
+ }
43
+ class fe {
44
+ *[Symbol.iterator]() {
45
+ let e = this.firstChild;
46
+ for (; e; )
47
+ yield e, e = e.nextSibling;
48
+ }
49
+ get firstChild() {
50
+ return this._firstChild;
51
+ }
52
+ set firstChild(e) {
53
+ this._firstChild = e, this.ownerDocument.markDirty(this);
54
+ }
55
+ get lastChild() {
56
+ return this._lastChild;
57
+ }
58
+ set lastChild(e) {
59
+ this._lastChild = e, this.ownerDocument.markDirty(this);
60
+ }
61
+ get previousSibling() {
62
+ return this._previousSibling;
63
+ }
64
+ set previousSibling(e) {
65
+ this._previousSibling = e, this.ownerDocument.markDirty(this);
66
+ }
67
+ get nextSibling() {
68
+ return this._nextSibling;
69
+ }
70
+ set nextSibling(e) {
71
+ this._nextSibling = e, this.ownerDocument.markDirty(this);
72
+ }
73
+ get parentNode() {
74
+ return this._parentNode;
75
+ }
76
+ set parentNode(e) {
77
+ this._parentNode = e, this.ownerDocument.markDirty(this);
78
+ }
79
+ appendChild(e) {
80
+ this.ownerDocument.startTransaction(), e.parentNode && e.parentNode.removeChild(e), this.firstChild == null && (this.firstChild = e), this.lastChild ? (this.lastChild.nextSibling = e, e.index = this.lastChild.index + 1, e.previousSibling = this.lastChild) : (e.previousSibling = null, e.index = 0), e.parentNode = this, e.nextSibling = null, this.lastChild = e, this.ownerDocument.markDirty(this), e.hasSetProps && this.ownerDocument.addNode(e), this.ownerDocument.endTransaction(), this.ownerDocument.queueUpdate();
81
+ }
82
+ insertBefore(e, r) {
83
+ if (r == null)
84
+ return this.appendChild(e);
85
+ this.ownerDocument.startTransaction(), e.parentNode && e.parentNode.removeChild(e), e.nextSibling = r, e.previousSibling = r.previousSibling, e.index = r.index, this.firstChild === r ? this.firstChild = e : r.previousSibling && (r.previousSibling.nextSibling = e), r.previousSibling = e, e.parentNode = r.parentNode;
86
+ let i = r;
87
+ for (; i; )
88
+ i.index++, i = i.nextSibling;
89
+ e.hasSetProps && this.ownerDocument.addNode(e), this.ownerDocument.endTransaction(), this.ownerDocument.queueUpdate();
90
+ }
91
+ removeChild(e) {
92
+ if (e.parentNode !== this)
93
+ return;
94
+ this.ownerDocument.startTransaction();
95
+ let r = e.nextSibling;
96
+ for (; r; )
97
+ r.index--, r = r.nextSibling;
98
+ e.nextSibling && (e.nextSibling.previousSibling = e.previousSibling), e.previousSibling && (e.previousSibling.nextSibling = e.nextSibling), this.firstChild === e && (this.firstChild = e.nextSibling), this.lastChild === e && (this.lastChild = e.previousSibling), e.parentNode = null, e.nextSibling = null, e.previousSibling = null, e.index = 0, this.ownerDocument.removeNode(e), this.ownerDocument.endTransaction(), this.ownerDocument.queueUpdate();
99
+ }
100
+ addEventListener() {
101
+ }
102
+ removeEventListener() {
103
+ }
104
+ constructor(e) {
105
+ this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this.ownerDocument = e;
106
+ }
107
+ }
108
+ let ht = 0;
109
+ class _ extends fe {
110
+ get index() {
111
+ return this._index;
112
+ }
113
+ set index(e) {
114
+ this._index = e, this.ownerDocument.markDirty(this);
115
+ }
116
+ get level() {
117
+ return this.parentNode instanceof _ ? this.parentNode.level + (this.node.type === "item" ? 1 : 0) : 0;
118
+ }
119
+ updateNode() {
120
+ var e, r, i, a;
121
+ let l = this.ownerDocument.getMutableNode(this);
122
+ l.index = this.index, l.level = this.level, l.parentKey = this.parentNode instanceof _ ? this.parentNode.node.key : null;
123
+ var o;
124
+ l.prevKey = (o = (e = this.previousSibling) === null || e === void 0 ? void 0 : e.node.key) !== null && o !== void 0 ? o : null;
125
+ var s;
126
+ l.nextKey = (s = (r = this.nextSibling) === null || r === void 0 ? void 0 : r.node.key) !== null && s !== void 0 ? s : null, l.hasChildNodes = !!this.firstChild;
127
+ var c;
128
+ l.firstChildKey = (c = (i = this.firstChild) === null || i === void 0 ? void 0 : i.node.key) !== null && c !== void 0 ? c : null;
129
+ var d;
130
+ l.lastChildKey = (d = (a = this.lastChild) === null || a === void 0 ? void 0 : a.node.key) !== null && d !== void 0 ? d : null;
131
+ }
132
+ setProps(e, r, i) {
133
+ let a = this.ownerDocument.getMutableNode(this), { value: l, textValue: o, id: s, ...c } = e;
134
+ if (c.ref = r, a.props = c, a.rendered = i, a.value = l, a.textValue = o || (typeof i == "string" ? i : "") || e["aria-label"] || "", s != null && s !== a.key) {
135
+ if (this.hasSetProps)
136
+ throw new Error("Cannot change the id of an item");
137
+ a.key = s;
138
+ }
139
+ this.hasSetProps || (this.ownerDocument.addNode(this), this.ownerDocument.endTransaction(), this.hasSetProps = !0), this.ownerDocument.queueUpdate();
140
+ }
141
+ get style() {
142
+ return {};
143
+ }
144
+ hasAttribute() {
145
+ }
146
+ setAttribute() {
147
+ }
148
+ setAttributeNS() {
149
+ }
150
+ removeAttribute() {
151
+ }
152
+ constructor(e, r) {
153
+ super(r), this.nodeType = 8, this._index = 0, this.hasSetProps = !1, this.node = new j(e, `react-aria-${++ht}`), this.ownerDocument.startTransaction();
154
+ }
155
+ }
156
+ class vt {
157
+ get size() {
158
+ return this.keyMap.size;
159
+ }
160
+ getKeys() {
161
+ return this.keyMap.keys();
162
+ }
163
+ *[Symbol.iterator]() {
164
+ let e = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
165
+ for (; e; )
166
+ yield e, e = e.nextKey != null ? this.keyMap.get(e.nextKey) : void 0;
167
+ }
168
+ getChildren(e) {
169
+ let r = this.keyMap;
170
+ return {
171
+ *[Symbol.iterator]() {
172
+ let i = r.get(e), a = (i == null ? void 0 : i.firstChildKey) != null ? r.get(i.firstChildKey) : null;
173
+ for (; a; )
174
+ yield a, a = a.nextKey != null ? r.get(a.nextKey) : void 0;
175
+ }
176
+ };
177
+ }
178
+ getKeyBefore(e) {
179
+ let r = this.keyMap.get(e);
180
+ if (!r)
181
+ return null;
182
+ if (r.prevKey != null) {
183
+ for (r = this.keyMap.get(r.prevKey); r && r.type !== "item" && r.lastChildKey != null; )
184
+ r = this.keyMap.get(r.lastChildKey);
185
+ var i;
186
+ return (i = r == null ? void 0 : r.key) !== null && i !== void 0 ? i : null;
187
+ }
188
+ return r.parentKey;
189
+ }
190
+ getKeyAfter(e) {
191
+ let r = this.keyMap.get(e);
192
+ if (!r)
193
+ return null;
194
+ if (r.type !== "item" && r.firstChildKey != null)
195
+ return r.firstChildKey;
196
+ for (; r; ) {
197
+ if (r.nextKey != null)
198
+ return r.nextKey;
199
+ if (r.parentKey != null)
200
+ r = this.keyMap.get(r.parentKey);
201
+ else
202
+ return null;
203
+ }
204
+ return null;
205
+ }
206
+ getFirstKey() {
207
+ return this.firstKey;
208
+ }
209
+ getLastKey() {
210
+ let e = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
211
+ for (; (e == null ? void 0 : e.lastChildKey) != null; )
212
+ e = this.keyMap.get(e.lastChildKey);
213
+ var r;
214
+ return (r = e == null ? void 0 : e.key) !== null && r !== void 0 ? r : null;
215
+ }
216
+ getItem(e) {
217
+ var r;
218
+ return (r = this.keyMap.get(e)) !== null && r !== void 0 ? r : null;
219
+ }
220
+ at() {
221
+ throw new Error("Not implemented");
222
+ }
223
+ clone() {
224
+ let e = this.constructor, r = new e();
225
+ return r.keyMap = new Map(this.keyMap), r.firstKey = this.firstKey, r.lastKey = this.lastKey, r;
226
+ }
227
+ addNode(e) {
228
+ if (this.frozen)
229
+ throw new Error("Cannot add a node to a frozen collection");
230
+ this.keyMap.set(e.key, e);
231
+ }
232
+ removeNode(e) {
233
+ if (this.frozen)
234
+ throw new Error("Cannot remove a node to a frozen collection");
235
+ this.keyMap.delete(e);
236
+ }
237
+ commit(e, r) {
238
+ if (this.frozen)
239
+ throw new Error("Cannot commit a frozen collection");
240
+ this.firstKey = e, this.lastKey = r, this.frozen = !0;
241
+ }
242
+ constructor() {
243
+ this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1;
244
+ }
245
+ }
246
+ class mt extends fe {
247
+ createElement(e) {
248
+ return new _(e, this);
249
+ }
250
+ /**
251
+ * Lazily gets a mutable instance of a Node. If the node has already
252
+ * been cloned during this update cycle, it just returns the existing one.
253
+ */
254
+ getMutableNode(e) {
255
+ let r = e.node;
256
+ return this.mutatedNodes.has(e) || (r = e.node.clone(), this.mutatedNodes.add(e), e.node = r), this.markDirty(e), r;
257
+ }
258
+ getMutableCollection() {
259
+ return this.collectionMutated || (this.collection = this.collection.clone(), this.collectionMutated = !0), this.collection;
260
+ }
261
+ markDirty(e) {
262
+ this.dirtyNodes.add(e);
263
+ }
264
+ startTransaction() {
265
+ this.transactionCount++;
266
+ }
267
+ endTransaction() {
268
+ this.transactionCount--;
269
+ }
270
+ addNode(e) {
271
+ let r = this.getMutableCollection();
272
+ if (!r.getItem(e.node.key)) {
273
+ r.addNode(e.node);
274
+ for (let i of e)
275
+ this.addNode(i);
276
+ }
277
+ this.markDirty(e);
278
+ }
279
+ removeNode(e) {
280
+ for (let i of e)
281
+ i.parentNode = null, this.removeNode(i);
282
+ this.getMutableCollection().removeNode(e.node.key), this.markDirty(e);
283
+ }
284
+ /** Finalizes the collection update, updating all nodes and freezing the collection. */
285
+ getCollection() {
286
+ if (this.transactionCount > 0)
287
+ return this.collection;
288
+ for (let l of this.dirtyNodes)
289
+ l instanceof _ && l.parentNode && l.updateNode();
290
+ if (this.dirtyNodes.clear(), this.mutatedNodes.size) {
291
+ var e, r;
292
+ let l = this.getMutableCollection();
293
+ for (let o of this.mutatedNodes)
294
+ o.parentNode && l.addNode(o.node);
295
+ var i, a;
296
+ l.commit((i = (e = this.firstChild) === null || e === void 0 ? void 0 : e.node.key) !== null && i !== void 0 ? i : null, (a = (r = this.lastChild) === null || r === void 0 ? void 0 : r.node.key) !== null && a !== void 0 ? a : null), this.mutatedNodes.clear();
297
+ }
298
+ return this.collectionMutated = !1, this.collection;
299
+ }
300
+ queueUpdate() {
301
+ if (!(this.dirtyNodes.size === 0 || this.transactionCount > 0))
302
+ for (let e of this.subscriptions)
303
+ e();
304
+ }
305
+ subscribe(e) {
306
+ return this.subscriptions.add(e), () => this.subscriptions.delete(e);
307
+ }
308
+ constructor(e) {
309
+ super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.mutatedNodes = /* @__PURE__ */ new Set(), this.subscriptions = /* @__PURE__ */ new Set(), this.transactionCount = 0, this.collection = e, this.collectionMutated = !0;
310
+ }
311
+ }
312
+ function Q(t) {
313
+ let { children: e, items: r, idScope: i, addIdAndValue: a } = t, l = T(() => /* @__PURE__ */ new WeakMap(), []);
314
+ return T(() => {
315
+ if (r && typeof e == "function") {
316
+ let c = [];
317
+ for (let d of r) {
318
+ let u = l.get(d);
319
+ if (!u) {
320
+ if (u = e(d), u.key == null) {
321
+ var o, s;
322
+ let f = (s = (o = u.props.id) !== null && o !== void 0 ? o : d.key) !== null && s !== void 0 ? s : d.id;
323
+ if (f == null)
324
+ throw new Error("Could not determine key for item");
325
+ i && (f = i + ":" + f), u = /* @__PURE__ */ Fe(u, a ? {
326
+ key: f,
327
+ id: f,
328
+ value: d
329
+ } : {
330
+ key: f
331
+ });
332
+ }
333
+ l.set(d, u);
334
+ }
335
+ c.push(u);
336
+ }
337
+ return c;
338
+ } else if (typeof e != "function")
339
+ return e;
340
+ }, [
341
+ e,
342
+ r,
343
+ l,
344
+ i,
345
+ a
346
+ ]);
347
+ }
348
+ function pe(t) {
349
+ return Q({
350
+ ...t,
351
+ addIdAndValue: !0
352
+ });
353
+ }
354
+ const be = /* @__PURE__ */ p(!1);
355
+ function $e(t, e) {
356
+ let { collection: r, document: i } = gt(e);
357
+ return {
358
+ portal: yt(t, i),
359
+ collection: r
360
+ };
361
+ }
362
+ function gt(t) {
363
+ let e = T(() => new mt(t || new vt()), [
364
+ t
365
+ ]), r = I((l) => e.subscribe(l), [
366
+ e
367
+ ]), i = I(() => e.getCollection(), [
368
+ e
369
+ ]);
370
+ return {
371
+ collection: Oe.useSyncExternalStore(r, i, i),
372
+ document: e
373
+ };
374
+ }
375
+ function yt(t, e) {
376
+ let r = pe(t), i = T(() => /* @__PURE__ */ n.createElement(be.Provider, {
377
+ value: !0
378
+ }, r), [
379
+ r
380
+ ]);
381
+ return bt() ? null : /* @__PURE__ */ Ke(i, e);
382
+ }
383
+ function he(t, e, r) {
384
+ let i = k(be);
385
+ return r = X(e, r, e.children), i ? /* @__PURE__ */ n.createElement(t, {
386
+ ref: r
387
+ }) : null;
388
+ }
389
+ function X(t, e, r) {
390
+ return I((i) => {
391
+ i == null || i.setProps(t, e, r);
392
+ }, [
393
+ t,
394
+ e,
395
+ r
396
+ ]);
397
+ }
398
+ function xt(t, e) {
399
+ return /* @__PURE__ */ n.createElement("item", {
400
+ ref: X(t, e, t.children)
401
+ });
402
+ }
403
+ const Hr = /* @__PURE__ */ h(xt);
404
+ function Pt(t, e) {
405
+ let r = pe(t);
406
+ return /* @__PURE__ */ n.createElement("section", {
407
+ ref: X(t, e)
408
+ }, r);
409
+ }
410
+ const _r = /* @__PURE__ */ h(Pt), ve = Symbol("callback"), oe = Symbol("default");
411
+ function F({ values: t, children: e }) {
412
+ for (let [r, i] of t)
413
+ e = /* @__PURE__ */ n.createElement(r.Provider, {
414
+ value: i
415
+ }, e);
416
+ return e;
417
+ }
418
+ function m(t) {
419
+ let { className: e, style: r, children: i, defaultClassName: a, defaultChildren: l, values: o } = t;
420
+ return T(() => {
421
+ let s, c, d;
422
+ return typeof e == "function" ? s = e(o) : s = e, typeof r == "function" ? c = r(o) : c = r, typeof i == "function" ? d = i(o) : i == null ? d = l : d = i, {
423
+ className: s ?? a,
424
+ style: c,
425
+ children: d
426
+ };
427
+ }, [
428
+ e,
429
+ r,
430
+ i,
431
+ a,
432
+ l,
433
+ o
434
+ ]);
435
+ }
436
+ function S(t, e, r) {
437
+ let i = k(r) || {};
438
+ if ("slots" in i && i.slots) {
439
+ if (!t.slot && !i.slots[oe])
440
+ throw new Error("A slot prop is required");
441
+ let d = t.slot || oe;
442
+ if (!i.slots[d])
443
+ throw new Error(`Invalid slot "${t.slot}". Valid slot names are ` + new Intl.ListFormat().format(Object.keys(i.slots).map((u) => `"${u}"`)) + ".");
444
+ i = i.slots[d];
445
+ }
446
+ let { ref: a, [ve]: l, ...o } = i, s = L(T(() => U(e, a), [
447
+ e,
448
+ a
449
+ ])), c = N(o, t);
450
+ return W(() => {
451
+ l && l(t);
452
+ }, [
453
+ l,
454
+ t
455
+ ]), [
456
+ c,
457
+ s
458
+ ];
459
+ }
460
+ function K() {
461
+ let [t, e] = M(!0), r = w(!1), i = I((a) => {
462
+ r.current = !0, e(!!a);
463
+ }, []);
464
+ return se(() => {
465
+ r.current || e(!1);
466
+ }, []), [
467
+ i,
468
+ t
469
+ ];
470
+ }
471
+ function me(t, e = !0) {
472
+ let [r, i] = M(!0);
473
+ return ye(t, r && e, I(() => i(!1), [])), r && e;
474
+ }
475
+ function ge(t, e) {
476
+ let [r, i] = M(!1), [a, l] = M("idle");
477
+ return !e && t.current && a === "idle" && (r = !0, i(!0), l("exiting")), !t.current && a === "exited" && l("idle"), ye(t, r, I(() => {
478
+ l("exited"), i(!1);
479
+ }, [])), r;
480
+ }
481
+ function ye(t, e, r) {
482
+ let i = w(null);
483
+ e && t.current && (i.current = window.getComputedStyle(t.current).animation), se(() => {
484
+ if (e && t.current) {
485
+ let a = window.getComputedStyle(t.current);
486
+ if (a.animationName !== "none" && a.animation !== i.current) {
487
+ let l = (s) => {
488
+ s.target === t.current && (o.removeEventListener("animationend", l), Ie.flushSync(() => {
489
+ r();
490
+ }));
491
+ }, o = t.current;
492
+ return o.addEventListener("animationend", l), () => {
493
+ o.removeEventListener("animationend", l);
494
+ };
495
+ } else
496
+ r();
497
+ }
498
+ }, [
499
+ t,
500
+ e,
501
+ r
502
+ ]);
503
+ }
504
+ const xe = /* @__PURE__ */ p(!1), St = /* @__PURE__ */ new Set([
505
+ "form",
506
+ "formAction",
507
+ "formEncType",
508
+ "formMethod",
509
+ "formNoValidate",
510
+ "formTarget",
511
+ "name",
512
+ "value"
513
+ ]), z = /* @__PURE__ */ p({});
514
+ function Ct(t, e) {
515
+ [t, e] = S(t, e, z);
516
+ let r = t, { buttonProps: i, isPressed: a } = He(t, e), { focusProps: l, isFocused: o, isFocusVisible: s } = q(t), { hoverProps: c, isHovered: d } = A(t), u = m({
517
+ ...t,
518
+ values: {
519
+ isHovered: d,
520
+ isPressed: a,
521
+ isFocused: o,
522
+ isFocusVisible: s,
523
+ isDisabled: t.isDisabled || !1
524
+ },
525
+ defaultClassName: "react-aria-Button"
526
+ });
527
+ return /* @__PURE__ */ n.createElement("button", {
528
+ ...E(t, {
529
+ propNames: St
530
+ }),
531
+ ...N(i, l, c),
532
+ ...u,
533
+ ref: e,
534
+ slot: t.slot,
535
+ "data-pressed": r.isPressed || a || void 0,
536
+ "data-hovered": d || void 0,
537
+ "data-focus-visible": s || void 0
538
+ });
539
+ }
540
+ const Lr = /* @__PURE__ */ h(Ct), O = /* @__PURE__ */ p({}), B = /* @__PURE__ */ p({});
541
+ function Dt(t, e) {
542
+ [t, e] = S(t, e, B);
543
+ let { elementType: r = "label", ...i } = t;
544
+ return /* @__PURE__ */ n.createElement(r, {
545
+ className: "react-aria-Label",
546
+ ...i,
547
+ ref: e
548
+ });
549
+ }
550
+ const Ar = /* @__PURE__ */ h(Dt), Et = /* @__PURE__ */ p(null), Pe = /* @__PURE__ */ p(null);
551
+ function kt(t, e) {
552
+ [t, e] = S(t, e, Et);
553
+ let r = _e(t), [i, a] = K(), { groupProps: l, labelProps: o, descriptionProps: s, errorMessageProps: c } = Le({
554
+ ...t,
555
+ label: a
556
+ }, r), d = m({
557
+ ...t,
558
+ values: {
559
+ isDisabled: r.isDisabled,
560
+ isReadOnly: r.isReadOnly,
561
+ isRequired: t.isRequired || !1,
562
+ validationState: r.validationState
563
+ },
564
+ defaultClassName: "react-aria-CheckboxGroup"
565
+ });
566
+ return /* @__PURE__ */ n.createElement("div", {
567
+ ...l,
568
+ ...d,
569
+ ref: e,
570
+ slot: t.slot,
571
+ "data-readonly": r.isReadOnly || void 0,
572
+ "data-required": t.isRequired || void 0,
573
+ "data-validation-state": r.validationState || void 0
574
+ }, /* @__PURE__ */ n.createElement(F, {
575
+ values: [
576
+ [
577
+ Pe,
578
+ r
579
+ ],
580
+ [
581
+ B,
582
+ {
583
+ ...o,
584
+ ref: i
585
+ }
586
+ ],
587
+ [
588
+ O,
589
+ {
590
+ slots: {
591
+ description: s,
592
+ errorMessage: c
593
+ }
594
+ }
595
+ ]
596
+ ]
597
+ }, d.children));
598
+ }
599
+ const wt = /* @__PURE__ */ p(null);
600
+ function Nt(t, e) {
601
+ [t, e] = S(t, e, wt);
602
+ let r = k(Pe), { inputProps: i, isSelected: a, isDisabled: l, isReadOnly: o, isPressed: s } = r ? Ae({
603
+ ...t,
604
+ // Value is optional for standalone checkboxes, but required for CheckboxGroup items;
605
+ // it's passed explicitly here to avoid typescript error (requires ignore).
606
+ // @ts-ignore
607
+ value: t.value,
608
+ // ReactNode type doesn't allow function children.
609
+ children: typeof t.children == "function" ? !0 : t.children
610
+ }, r, e) : qe({
611
+ ...t,
612
+ children: typeof t.children == "function" ? !0 : t.children
613
+ }, ze(t), e), { isFocused: c, isFocusVisible: d, focusProps: u } = q(), f = l || o, [v, b] = M(!1), { pressProps: $ } = ne({
614
+ isDisabled: f,
615
+ onPressStart(P) {
616
+ P.pointerType !== "keyboard" && b(!0);
617
+ },
618
+ onPressEnd(P) {
619
+ P.pointerType !== "keyboard" && b(!1);
620
+ }
621
+ }), { hoverProps: g, isHovered: C } = A({
622
+ isDisabled: f
623
+ }), D = f ? !1 : v || s, y = m({
624
+ // TODO: should data attrs go on the label or on the <input>? useCheckbox passes them to the input...
625
+ ...t,
626
+ defaultClassName: "react-aria-Checkbox",
627
+ values: {
628
+ isSelected: a,
629
+ isIndeterminate: t.isIndeterminate || !1,
630
+ isPressed: D,
631
+ isHovered: C,
632
+ isFocused: c,
633
+ isFocusVisible: d,
634
+ isDisabled: l,
635
+ isReadOnly: o,
636
+ validationState: t.validationState || (r == null ? void 0 : r.validationState),
637
+ isRequired: t.isRequired || !1
638
+ }
639
+ }), x = E(t);
640
+ return delete x.id, /* @__PURE__ */ n.createElement("label", {
641
+ ...N(x, $, g, y),
642
+ slot: t.slot,
643
+ "data-selected": a || void 0,
644
+ "data-indeterminate": t.isIndeterminate || void 0,
645
+ "data-pressed": D || void 0,
646
+ "data-hovered": C || void 0,
647
+ "data-focused": c || void 0,
648
+ "data-focus-visible": d || void 0,
649
+ "data-disabled": l || void 0,
650
+ "data-readonly": o || void 0,
651
+ "data-validation-state": t.validationState || (r == null ? void 0 : r.validationState) || void 0,
652
+ "data-required": t.isRequired || void 0
653
+ }, /* @__PURE__ */ n.createElement(de, {
654
+ elementType: "span"
655
+ }, /* @__PURE__ */ n.createElement("input", {
656
+ ...i,
657
+ ...u,
658
+ ref: e
659
+ })), y.children);
660
+ }
661
+ const qr = /* @__PURE__ */ h(Nt), zr = /* @__PURE__ */ h(kt), Y = /* @__PURE__ */ p({});
662
+ function Rt(t, e) {
663
+ [t, e] = S(t, e, Y);
664
+ let { hoverProps: r, isHovered: i } = A({}), { isFocused: a, isFocusVisible: l, focusProps: o } = q({
665
+ isTextInput: !0,
666
+ autoFocus: t.autoFocus
667
+ }), s = m({
668
+ ...t,
669
+ values: {
670
+ isHovered: i,
671
+ isFocused: a,
672
+ isFocusVisible: l,
673
+ isDisabled: t.disabled || !1
674
+ },
675
+ defaultClassName: "react-aria-Input"
676
+ });
677
+ return /* @__PURE__ */ n.createElement("input", {
678
+ ...N(t, o, r),
679
+ ...s,
680
+ ref: e,
681
+ "data-hovered": i || void 0,
682
+ "data-focus-visible": l || void 0
683
+ });
684
+ }
685
+ const Gr = /* @__PURE__ */ h(Rt), Se = /* @__PURE__ */ p(null);
686
+ function Tt(t, e) {
687
+ let { render: r } = k(Se);
688
+ return /* @__PURE__ */ n.createElement(n.Fragment, null, r(t, e));
689
+ }
690
+ const Mt = /* @__PURE__ */ h(Tt), Ft = /* @__PURE__ */ p({});
691
+ function It(t, e) {
692
+ [t, e] = S(t, e, Ft);
693
+ let r = he("header", t, e);
694
+ return r || /* @__PURE__ */ n.createElement("header", {
695
+ className: "react-aria-Header",
696
+ ...t,
697
+ ref: e
698
+ }, t.children);
699
+ }
700
+ const Kt = /* @__PURE__ */ h(It), Ce = /* @__PURE__ */ p({});
701
+ function Ot(t, e) {
702
+ [t, e] = S(t, e, Ce);
703
+ let { elementType: r, orientation: i, style: a, className: l } = t, o = r || "hr";
704
+ o === "hr" && i === "vertical" && (o = "div");
705
+ let { separatorProps: s } = $t({
706
+ elementType: r,
707
+ orientation: i
708
+ }), c = he("separator", t, e);
709
+ return c || /* @__PURE__ */ n.createElement(o, {
710
+ ...E(t),
711
+ ...s,
712
+ style: a,
713
+ className: l ?? "react-aria-Separator",
714
+ ref: e,
715
+ slot: t.slot
716
+ });
717
+ }
718
+ const Bt = /* @__PURE__ */ h(Ot), De = /* @__PURE__ */ p(null), G = /* @__PURE__ */ p(null);
719
+ function Vt(t, e) {
720
+ [t, e] = S(t, e, De);
721
+ let r = t.state, i = k(xe);
722
+ return r ? i ? null : /* @__PURE__ */ n.createElement(Ee, {
723
+ state: r,
724
+ props: t,
725
+ listBoxRef: e
726
+ }) : /* @__PURE__ */ n.createElement(Ht, {
727
+ props: t,
728
+ listBoxRef: e
729
+ });
730
+ }
731
+ function Ht({ props: t, listBoxRef: e }) {
732
+ let { portal: r, collection: i } = $e(t);
733
+ t = {
734
+ ...t,
735
+ collection: i,
736
+ children: null,
737
+ items: null
738
+ };
739
+ let a = lt(t);
740
+ return /* @__PURE__ */ n.createElement(n.Fragment, null, r, /* @__PURE__ */ n.createElement(Ee, {
741
+ state: a,
742
+ props: t,
743
+ listBoxRef: e
744
+ }));
745
+ }
746
+ const Ur = /* @__PURE__ */ h(Vt);
747
+ function Ee({ state: t, props: e, listBoxRef: r }) {
748
+ let { dragAndDropHooks: i, layout: a = "stack", orientation: l = "vertical" } = e, { collection: o, selectionManager: s } = t, c = !!(i != null && i.useDraggableCollectionState), d = !!(i != null && i.useDroppableCollectionState), { direction: u } = ue(), { disabledBehavior: f, disabledKeys: v } = s, b = T(() => e.keyboardDelegate || new ot({
749
+ collection: o,
750
+ ref: r,
751
+ disabledKeys: f === "selection" ? /* @__PURE__ */ new Set() : v,
752
+ layout: a,
753
+ orientation: l,
754
+ direction: u
755
+ }), [
756
+ o,
757
+ r,
758
+ f,
759
+ v,
760
+ l,
761
+ u,
762
+ e.keyboardDelegate,
763
+ a
764
+ ]), { listBoxProps: $ } = st({
765
+ ...e,
766
+ shouldSelectOnPressUp: c || e.shouldSelectOnPressUp,
767
+ keyboardDelegate: b
768
+ }, t, r), g = Q({
769
+ items: o,
770
+ children: (R) => {
771
+ switch (R.type) {
772
+ case "section":
773
+ return /* @__PURE__ */ n.createElement(_t, {
774
+ section: R
775
+ });
776
+ case "separator":
777
+ return /* @__PURE__ */ n.createElement(Bt, R.props);
778
+ case "item":
779
+ return /* @__PURE__ */ n.createElement(ke, {
780
+ item: R
781
+ });
782
+ default:
783
+ throw new Error("Unsupported node type in Menu: " + R.type);
784
+ }
785
+ }
786
+ }), C = w(c), D = w(d);
787
+ W(() => {
788
+ C.current !== c && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), D.current !== d && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");
789
+ }, [
790
+ c,
791
+ d
792
+ ]);
793
+ let y, x, P, V = !1, H = null, te = w(null);
794
+ if (c && i) {
795
+ y = i.useDraggableCollectionState({
796
+ collection: o,
797
+ selectionManager: s,
798
+ preview: i.renderDragPreview ? te : void 0
799
+ }), i.useDraggableCollection({}, y, r);
800
+ let R = i.DragPreview;
801
+ H = i.renderDragPreview ? /* @__PURE__ */ n.createElement(R, {
802
+ ref: te
803
+ }, i.renderDragPreview) : null;
804
+ }
805
+ if (d && i) {
806
+ x = i.useDroppableCollectionState({
807
+ collection: o,
808
+ selectionManager: s
809
+ });
810
+ let R = i.dropTargetDelegate || new i.ListDropTargetDelegate(o, r, {
811
+ orientation: l,
812
+ layout: a,
813
+ direction: u
814
+ });
815
+ P = i.useDroppableCollection({
816
+ keyboardDelegate: b,
817
+ dropTargetDelegate: R
818
+ }, x, r), V = x.isDropTarget({
819
+ type: "root"
820
+ });
821
+ }
822
+ let { focusProps: Re, isFocused: re, isFocusVisible: ie } = q(), Te = m({
823
+ className: e.className,
824
+ style: e.style,
825
+ defaultClassName: "react-aria-ListBox",
826
+ values: {
827
+ isDropTarget: V,
828
+ isEmpty: t.collection.size === 0,
829
+ isFocused: re,
830
+ isFocusVisible: ie
831
+ }
832
+ }), ae = null;
833
+ return t.collection.size === 0 && e.renderEmptyState && (ae = /* @__PURE__ */ n.createElement("div", {
834
+ // eslint-disable-next-line
835
+ role: "option",
836
+ style: {
837
+ display: "contents"
838
+ }
839
+ }, e.renderEmptyState())), /* @__PURE__ */ n.createElement(Ve, null, /* @__PURE__ */ n.createElement("div", {
840
+ ...E(e),
841
+ ...N($, Re, P == null ? void 0 : P.collectionProps),
842
+ ...Te,
843
+ ref: r,
844
+ slot: e.slot,
845
+ "data-drop-target": V || void 0,
846
+ "data-empty": t.collection.size === 0 || void 0,
847
+ "data-focused": re || void 0,
848
+ "data-focus-visible": ie || void 0,
849
+ "data-layout": e.layout || "stack",
850
+ "data-orientation": e.orientation || "vertical"
851
+ }, /* @__PURE__ */ n.createElement(F, {
852
+ values: [
853
+ [
854
+ G,
855
+ {
856
+ state: t,
857
+ shouldFocusOnHover: e.shouldFocusOnHover,
858
+ dragAndDropHooks: i,
859
+ dragState: y,
860
+ dropState: x
861
+ }
862
+ ],
863
+ [
864
+ Ce,
865
+ {
866
+ elementType: "li"
867
+ }
868
+ ],
869
+ [
870
+ Se,
871
+ {
872
+ render: Lt
873
+ }
874
+ ]
875
+ ]
876
+ }, g), ae, H));
877
+ }
878
+ function _t({ section: t, className: e, style: r, ...i }) {
879
+ var a, l;
880
+ let { state: o } = k(G), [s, c] = K();
881
+ var d;
882
+ let { headingProps: u, groupProps: f } = nt({
883
+ heading: c,
884
+ "aria-label": (d = t["aria-label"]) !== null && d !== void 0 ? d : void 0
885
+ }), v = Q({
886
+ items: o.collection.getChildren(t.key),
887
+ children: (b) => {
888
+ switch (b.type) {
889
+ case "header": {
890
+ let { ref: $, ...g } = b.props;
891
+ return /* @__PURE__ */ n.createElement(Kt, {
892
+ ...u,
893
+ ...g,
894
+ ref: U(s, $)
895
+ }, b.rendered);
896
+ }
897
+ case "item":
898
+ return /* @__PURE__ */ n.createElement(ke, {
899
+ item: b
900
+ });
901
+ default:
902
+ throw new Error("Unsupported element type in Section: " + b.type);
903
+ }
904
+ }
905
+ });
906
+ return /* @__PURE__ */ n.createElement("section", {
907
+ ...E(i),
908
+ ...f,
909
+ className: e || ((a = t.props) === null || a === void 0 ? void 0 : a.className) || "react-aria-Section",
910
+ style: r || ((l = t.props) === null || l === void 0 ? void 0 : l.style),
911
+ ref: t.props.ref
912
+ }, v);
913
+ }
914
+ function ke({ item: t }) {
915
+ let e = L(t.props.ref), { state: r, shouldFocusOnHover: i, dragAndDropHooks: a, dragState: l, dropState: o } = k(G), { optionProps: s, labelProps: c, descriptionProps: d, ...u } = dt({
916
+ key: t.key
917
+ }, r, e), { hoverProps: f, isHovered: v } = A({
918
+ isDisabled: i || !u.allowsSelection && !u.hasAction
919
+ });
920
+ i && (f = {}, v = u.isFocused);
921
+ let b = null;
922
+ l && a && (b = a.useDraggableItem({
923
+ key: t.key
924
+ }, l));
925
+ let $ = null;
926
+ o && a && ($ = a.useDroppableItem({
927
+ target: {
928
+ type: "item",
929
+ key: t.key,
930
+ dropPosition: "on"
931
+ }
932
+ }, o, e));
933
+ let g = t.props, C = l && l.isDragging(t.key), D = m({
934
+ ...g,
935
+ id: void 0,
936
+ children: t.rendered,
937
+ defaultClassName: "react-aria-Item",
938
+ values: {
939
+ ...u,
940
+ isHovered: v,
941
+ selectionMode: r.selectionManager.selectionMode,
942
+ selectionBehavior: r.selectionManager.selectionBehavior,
943
+ allowsDragging: !!l,
944
+ isDragging: C,
945
+ isDropTarget: $ == null ? void 0 : $.isDropTarget
946
+ }
947
+ }), y = (a == null ? void 0 : a.renderDropIndicator) || ((x) => /* @__PURE__ */ n.createElement(Mt, {
948
+ target: x
949
+ }));
950
+ return W(() => {
951
+ t.textValue || console.warn("A `textValue` prop is required for <Item> elements with non-plain text children in order to support accessibility features such as type to select.");
952
+ }, [
953
+ t.textValue
954
+ ]), /* @__PURE__ */ n.createElement(n.Fragment, null, (a == null ? void 0 : a.useDropIndicator) && y({
955
+ type: "item",
956
+ key: t.key,
957
+ dropPosition: "before"
958
+ }), /* @__PURE__ */ n.createElement("div", {
959
+ ...N(E(g), s, f, b == null ? void 0 : b.dragProps, $ == null ? void 0 : $.dropProps),
960
+ ...D,
961
+ ref: e,
962
+ "data-hovered": v || void 0,
963
+ "data-focused": u.isFocused || void 0,
964
+ "data-focus-visible": u.isFocusVisible || void 0,
965
+ "data-pressed": u.isPressed || void 0,
966
+ "data-dragging": C || void 0,
967
+ "data-drop-target": ($ == null ? void 0 : $.isDropTarget) || void 0
968
+ }, /* @__PURE__ */ n.createElement(F, {
969
+ values: [
970
+ [
971
+ O,
972
+ {
973
+ slots: {
974
+ label: c,
975
+ description: d
976
+ }
977
+ }
978
+ ]
979
+ ]
980
+ }, D.children)), (a == null ? void 0 : a.useDropIndicator) && r.collection.getKeyAfter(t.key) == null && y({
981
+ type: "item",
982
+ key: t.key,
983
+ dropPosition: "after"
984
+ }));
985
+ }
986
+ function Lt(t, e) {
987
+ e = L(e);
988
+ let { dragAndDropHooks: r, dropState: i } = k(G), { dropIndicatorProps: a, isHidden: l, isDropTarget: o } = r.useDropIndicator(t, i, e);
989
+ return l ? null : /* @__PURE__ */ n.createElement(qt, {
990
+ ...t,
991
+ dropIndicatorProps: a,
992
+ isDropTarget: o,
993
+ ref: e
994
+ });
995
+ }
996
+ function At(t, e) {
997
+ let { dropIndicatorProps: r, isDropTarget: i, ...a } = t, l = m({
998
+ ...a,
999
+ defaultClassName: "react-aria-DropIndicator",
1000
+ values: {
1001
+ isDropTarget: i
1002
+ }
1003
+ });
1004
+ return /* @__PURE__ */ n.createElement("div", {
1005
+ ...r,
1006
+ ...l,
1007
+ // eslint-disable-next-line
1008
+ role: "option",
1009
+ ref: e,
1010
+ "data-drop-target": i || void 0
1011
+ });
1012
+ }
1013
+ const qt = /* @__PURE__ */ h(At), J = /* @__PURE__ */ p(null);
1014
+ function zt(t, e) {
1015
+ let { arrowProps: r, placement: i } = k(J), a = {
1016
+ ...r.style,
1017
+ position: "absolute",
1018
+ [i]: "100%",
1019
+ transform: i === "top" || i === "bottom" ? "translateX(-50%)" : "translateY(-50%)"
1020
+ }, l = m({
1021
+ ...t,
1022
+ defaultClassName: "react-aria-OverlayArrow",
1023
+ values: {
1024
+ placement: i
1025
+ }
1026
+ });
1027
+ return /* @__PURE__ */ n.createElement("div", {
1028
+ ...N(r, t),
1029
+ ...l,
1030
+ style: {
1031
+ ...l.style,
1032
+ ...a
1033
+ },
1034
+ ref: e,
1035
+ "data-placement": i
1036
+ });
1037
+ }
1038
+ const Wr = /* @__PURE__ */ h(zt), Z = /* @__PURE__ */ p(null);
1039
+ function Gt(t, e) {
1040
+ [t, e] = S(t, e, Z);
1041
+ let r = t, i = ce(t), a = t.isOpen != null || t.defaultOpen != null || !(r != null && r.state) ? i : r.state, l = ge(e, a.isOpen);
1042
+ if (a && !a.isOpen && !l) {
1043
+ let o = t.children;
1044
+ return typeof o == "function" && (o = o({
1045
+ placement: "bottom",
1046
+ isEntering: !1,
1047
+ isExiting: !1
1048
+ })), r.preserveChildren ? /* @__PURE__ */ n.createElement(xe.Provider, {
1049
+ value: !0
1050
+ }, o) : null;
1051
+ }
1052
+ return /* @__PURE__ */ n.createElement(Ut, {
1053
+ ...t,
1054
+ triggerRef: r.triggerRef,
1055
+ state: a,
1056
+ popoverRef: e,
1057
+ isExiting: l
1058
+ });
1059
+ }
1060
+ const jr = /* @__PURE__ */ h(Gt);
1061
+ function Ut({ state: t, isExiting: e, ...r }) {
1062
+ var i;
1063
+ let { popoverProps: a, underlayProps: l, arrowProps: o, placement: s } = Ue({
1064
+ ...r,
1065
+ offset: (i = r.offset) !== null && i !== void 0 ? i : 8
1066
+ }, t), c = r.popoverRef, d = me(c, !!s), u = m({
1067
+ ...r,
1068
+ defaultClassName: "react-aria-Popover",
1069
+ values: {
1070
+ placement: s,
1071
+ isEntering: d,
1072
+ isExiting: e
1073
+ }
1074
+ }), f = {
1075
+ ...u.style,
1076
+ ...a.style
1077
+ };
1078
+ return /* @__PURE__ */ n.createElement(We, null, !r.isNonModal && /* @__PURE__ */ n.createElement("div", {
1079
+ ...l,
1080
+ style: {
1081
+ position: "fixed",
1082
+ inset: 0
1083
+ }
1084
+ }), /* @__PURE__ */ n.createElement("div", {
1085
+ ...N(E(r), a),
1086
+ ...u,
1087
+ ref: c,
1088
+ slot: r.slot,
1089
+ style: f,
1090
+ "data-placement": s,
1091
+ "data-entering": d || void 0,
1092
+ "data-exiting": e || void 0
1093
+ }, !r.isNonModal && /* @__PURE__ */ n.createElement(le, {
1094
+ onDismiss: t.close
1095
+ }), /* @__PURE__ */ n.createElement(J.Provider, {
1096
+ value: {
1097
+ arrowProps: o,
1098
+ placement: s
1099
+ }
1100
+ }, u.children), /* @__PURE__ */ n.createElement(le, {
1101
+ onDismiss: t.close
1102
+ })));
1103
+ }
1104
+ const Wt = /* @__PURE__ */ p(null), jt = /* @__PURE__ */ p(null);
1105
+ function Qr(t) {
1106
+ let e = ce(t), r = w(null), { triggerProps: i, overlayProps: a } = Ge({
1107
+ type: "dialog"
1108
+ }, e, r);
1109
+ return /* @__PURE__ */ n.createElement(F, {
1110
+ values: [
1111
+ [
1112
+ Wt,
1113
+ {
1114
+ state: e
1115
+ }
1116
+ ],
1117
+ [
1118
+ jt,
1119
+ {
1120
+ ...a,
1121
+ onClose: e.close
1122
+ }
1123
+ ],
1124
+ [
1125
+ z,
1126
+ {
1127
+ ...i,
1128
+ isPressed: e.isOpen,
1129
+ ref: r
1130
+ }
1131
+ ],
1132
+ [
1133
+ Z,
1134
+ {
1135
+ state: e,
1136
+ triggerRef: r
1137
+ }
1138
+ ]
1139
+ ]
1140
+ }, t.children);
1141
+ }
1142
+ const Qt = /* @__PURE__ */ p({}), Xt = /* @__PURE__ */ p(null);
1143
+ function Yt(t, e) {
1144
+ [t, e] = S(t, e, Xt);
1145
+ let { locale: r } = ue(), i = Xe({
1146
+ ...t,
1147
+ locale: r
1148
+ }), a = w(null), [l, o] = K(), { labelProps: s, groupProps: c, inputProps: d, incrementButtonProps: u, decrementButtonProps: f, descriptionProps: v, errorMessageProps: b } = Ye({
1149
+ ...t,
1150
+ label: o
1151
+ }, i, a), $ = m({
1152
+ ...t,
1153
+ values: i,
1154
+ defaultClassName: "react-aria-NumberField"
1155
+ }), g = E(t);
1156
+ return delete g.id, /* @__PURE__ */ n.createElement(F, {
1157
+ values: [
1158
+ [
1159
+ Qt,
1160
+ c
1161
+ ],
1162
+ [
1163
+ Y,
1164
+ {
1165
+ ...d,
1166
+ ref: a
1167
+ }
1168
+ ],
1169
+ [
1170
+ B,
1171
+ {
1172
+ ...s,
1173
+ ref: l
1174
+ }
1175
+ ],
1176
+ [
1177
+ z,
1178
+ {
1179
+ slots: {
1180
+ increment: u,
1181
+ decrement: f
1182
+ }
1183
+ }
1184
+ ],
1185
+ [
1186
+ O,
1187
+ {
1188
+ slots: {
1189
+ description: v,
1190
+ errorMessage: b
1191
+ }
1192
+ }
1193
+ ]
1194
+ ]
1195
+ }, /* @__PURE__ */ n.createElement("div", {
1196
+ ...g,
1197
+ ...$,
1198
+ ref: e,
1199
+ slot: t.slot
1200
+ }));
1201
+ }
1202
+ const Xr = /* @__PURE__ */ h(Yt), Jt = /* @__PURE__ */ p(null);
1203
+ function Zt(t, e) {
1204
+ [t, e] = S(t, e, Jt);
1205
+ let { value: r = 0, minValue: i = 0, maxValue: a = 100, isIndeterminate: l = !1 } = t, [o, s] = K(), { progressBarProps: c, labelProps: d } = ct({
1206
+ ...t,
1207
+ label: s
1208
+ }), u = l ? void 0 : (r - i) / (a - i) * 100, f = m({
1209
+ ...t,
1210
+ defaultClassName: "react-aria-ProgressBar",
1211
+ values: {
1212
+ percentage: u,
1213
+ valueText: c["aria-valuetext"],
1214
+ isIndeterminate: l
1215
+ }
1216
+ });
1217
+ return /* @__PURE__ */ n.createElement("div", {
1218
+ ...c,
1219
+ ...f,
1220
+ ref: e,
1221
+ slot: t.slot
1222
+ }, /* @__PURE__ */ n.createElement(B.Provider, {
1223
+ value: {
1224
+ ...d,
1225
+ ref: o,
1226
+ elementType: "span"
1227
+ }
1228
+ }, f.children));
1229
+ }
1230
+ const Yr = /* @__PURE__ */ h(Zt), er = /* @__PURE__ */ p(null);
1231
+ let we = /* @__PURE__ */ p(null);
1232
+ function tr(t, e) {
1233
+ [t, e] = S(t, e, er);
1234
+ let r = Je(t), [i, a] = K(), { radioGroupProps: l, labelProps: o, descriptionProps: s, errorMessageProps: c } = Ze({
1235
+ ...t,
1236
+ label: a
1237
+ }, r), d = m({
1238
+ ...t,
1239
+ values: {
1240
+ orientation: t.orientation || "vertical",
1241
+ isDisabled: r.isDisabled,
1242
+ isReadOnly: r.isReadOnly,
1243
+ isRequired: r.isRequired,
1244
+ validationState: r.validationState
1245
+ },
1246
+ defaultClassName: "react-aria-RadioGroup"
1247
+ });
1248
+ return /* @__PURE__ */ n.createElement("div", {
1249
+ ...l,
1250
+ ...d,
1251
+ ref: e,
1252
+ slot: t.slot
1253
+ }, /* @__PURE__ */ n.createElement(F, {
1254
+ values: [
1255
+ [
1256
+ we,
1257
+ r
1258
+ ],
1259
+ [
1260
+ B,
1261
+ {
1262
+ ...o,
1263
+ ref: i
1264
+ }
1265
+ ],
1266
+ [
1267
+ O,
1268
+ {
1269
+ slots: {
1270
+ description: s,
1271
+ errorMessage: c
1272
+ }
1273
+ }
1274
+ ]
1275
+ ]
1276
+ }, d.children));
1277
+ }
1278
+ function rr(t, e) {
1279
+ let r = n.useContext(we), i = L(e), { inputProps: a, isSelected: l, isDisabled: o, isPressed: s } = et({
1280
+ ...t,
1281
+ // ReactNode type doesn't allow function children.
1282
+ children: typeof t.children == "function" ? !0 : t.children
1283
+ }, r, i), { isFocused: c, isFocusVisible: d, focusProps: u } = q(), f = o || r.isReadOnly, [v, b] = M(!1), { pressProps: $ } = ne({
1284
+ isDisabled: f,
1285
+ onPressStart(P) {
1286
+ P.pointerType !== "keyboard" && b(!0);
1287
+ },
1288
+ onPressEnd(P) {
1289
+ P.pointerType !== "keyboard" && b(!1);
1290
+ }
1291
+ }), { hoverProps: g, isHovered: C } = A({
1292
+ isDisabled: f
1293
+ }), D = f ? !1 : v || s, y = m({
1294
+ ...t,
1295
+ defaultClassName: "react-aria-Radio",
1296
+ values: {
1297
+ isSelected: l,
1298
+ isPressed: D,
1299
+ isHovered: C,
1300
+ isFocused: c,
1301
+ isFocusVisible: d,
1302
+ isDisabled: o,
1303
+ isReadOnly: r.isReadOnly,
1304
+ validationState: r.validationState,
1305
+ isRequired: r.isRequired
1306
+ }
1307
+ }), x = E(t);
1308
+ return delete x.id, /* @__PURE__ */ n.createElement("label", {
1309
+ ...N(x, $, g, y),
1310
+ "data-selected": l || void 0,
1311
+ "data-pressed": D || void 0,
1312
+ "data-hovered": C || void 0,
1313
+ "data-focused": c || void 0,
1314
+ "data-focus-visible": d || void 0,
1315
+ "data-disabled": o || void 0,
1316
+ "data-readonly": r.isReadOnly || void 0,
1317
+ "data-validation-state": r.validationState || void 0,
1318
+ "data-required": r.isRequired || void 0
1319
+ }, /* @__PURE__ */ n.createElement(de, {
1320
+ elementType: "span"
1321
+ }, /* @__PURE__ */ n.createElement("input", {
1322
+ ...a,
1323
+ ...u,
1324
+ ref: i
1325
+ })), y.children);
1326
+ }
1327
+ const Jr = /* @__PURE__ */ h(tr), Zr = /* @__PURE__ */ h(rr), ir = /* @__PURE__ */ p(null), Ne = /* @__PURE__ */ p(null);
1328
+ function ar(t, e) {
1329
+ [t, e] = S(t, e, ir);
1330
+ let [r, i] = M({
1331
+ children: []
1332
+ });
1333
+ var a;
1334
+ let { portal: l, collection: o } = $e({
1335
+ items: (a = t.items) !== null && a !== void 0 ? a : r.items,
1336
+ children: r.children
1337
+ }), s = ut({
1338
+ ...t,
1339
+ collection: o,
1340
+ children: void 0
1341
+ }), c = T(() => ({
1342
+ isOpen: s.isOpen,
1343
+ isFocused: s.isFocused
1344
+ }), [
1345
+ s.isOpen,
1346
+ s.isFocused
1347
+ ]), d = w(null), [u, f] = K(), { labelProps: v, triggerProps: b, valueProps: $, menuProps: g, descriptionProps: C, errorMessageProps: D } = ft({
1348
+ ...t,
1349
+ label: f
1350
+ }, s, d), [y, x] = M(null), P = I(() => {
1351
+ d.current && x(d.current.offsetWidth + "px");
1352
+ }, [
1353
+ d
1354
+ ]);
1355
+ Me({
1356
+ ref: d,
1357
+ onResize: P
1358
+ });
1359
+ let V = m({
1360
+ ...t,
1361
+ values: c,
1362
+ defaultClassName: "react-aria-Select"
1363
+ }), H = E(t);
1364
+ return delete H.id, /* @__PURE__ */ n.createElement(F, {
1365
+ values: [
1366
+ [
1367
+ Ne,
1368
+ {
1369
+ state: s,
1370
+ valueProps: $,
1371
+ placeholder: t.placeholder
1372
+ }
1373
+ ],
1374
+ [
1375
+ B,
1376
+ {
1377
+ ...v,
1378
+ ref: u,
1379
+ elementType: "span"
1380
+ }
1381
+ ],
1382
+ [
1383
+ z,
1384
+ {
1385
+ ...b,
1386
+ ref: d,
1387
+ isPressed: s.isOpen
1388
+ }
1389
+ ],
1390
+ [
1391
+ Z,
1392
+ {
1393
+ state: s,
1394
+ triggerRef: d,
1395
+ preserveChildren: !0,
1396
+ placement: "bottom start",
1397
+ style: {
1398
+ "--trigger-width": y
1399
+ }
1400
+ }
1401
+ ],
1402
+ [
1403
+ De,
1404
+ {
1405
+ state: s,
1406
+ [ve]: i,
1407
+ ...g
1408
+ }
1409
+ ],
1410
+ [
1411
+ O,
1412
+ {
1413
+ slots: {
1414
+ description: C,
1415
+ errorMessage: D
1416
+ }
1417
+ }
1418
+ ]
1419
+ ]
1420
+ }, /* @__PURE__ */ n.createElement("div", {
1421
+ ...H,
1422
+ ...V,
1423
+ ref: e,
1424
+ slot: t.slot,
1425
+ "data-focused": s.isFocused || void 0,
1426
+ "data-open": s.isOpen || void 0
1427
+ }), l, /* @__PURE__ */ n.createElement(pt, {
1428
+ state: s,
1429
+ triggerRef: d,
1430
+ label: f,
1431
+ name: t.name
1432
+ }));
1433
+ }
1434
+ const ei = /* @__PURE__ */ h(ar);
1435
+ function lr(t, e) {
1436
+ var r, i, a;
1437
+ let { state: l, valueProps: o, placeholder: s } = k(Ne), c = (r = l.selectedItem) === null || r === void 0 ? void 0 : r.rendered;
1438
+ typeof c == "function" && (c = c({
1439
+ isHovered: !1,
1440
+ isPressed: !1,
1441
+ isSelected: !1,
1442
+ isFocused: !1,
1443
+ isFocusVisible: !1,
1444
+ isDisabled: !1,
1445
+ selectionMode: "single",
1446
+ selectionBehavior: "toggle"
1447
+ }));
1448
+ var d, u;
1449
+ let f = m({
1450
+ ...t,
1451
+ // TODO: localize this.
1452
+ defaultChildren: c || s || "Select an item",
1453
+ defaultClassName: "react-aria-SelectValue",
1454
+ values: {
1455
+ selectedItem: (d = (i = l.selectedItem) === null || i === void 0 ? void 0 : i.value) !== null && d !== void 0 ? d : null,
1456
+ selectedText: (u = (a = l.selectedItem) === null || a === void 0 ? void 0 : a.textValue) !== null && u !== void 0 ? u : null,
1457
+ isPlaceholder: !l.selectedItem
1458
+ }
1459
+ }), v = E(t);
1460
+ return delete v.id, /* @__PURE__ */ n.createElement("span", {
1461
+ ref: e,
1462
+ ...v,
1463
+ ...o,
1464
+ ...f,
1465
+ "data-placeholder": !l.selectedItem || void 0
1466
+ }, /* @__PURE__ */ n.createElement(O.Provider, {
1467
+ value: void 0
1468
+ }, f.children));
1469
+ }
1470
+ const ti = /* @__PURE__ */ h(lr), or = /* @__PURE__ */ p(null);
1471
+ function sr(t, e) {
1472
+ [t, e] = S(t, e, or);
1473
+ let r = w(null), [i, a] = K(), { labelProps: l, inputProps: o, descriptionProps: s, errorMessageProps: c } = tt({
1474
+ ...t,
1475
+ label: a
1476
+ }, r);
1477
+ var d;
1478
+ return /* @__PURE__ */ n.createElement("div", {
1479
+ ...E(t),
1480
+ ref: e,
1481
+ slot: t.slot,
1482
+ className: (d = t.className) !== null && d !== void 0 ? d : "react-aria-TextField",
1483
+ style: t.style
1484
+ }, /* @__PURE__ */ n.createElement(F, {
1485
+ values: [
1486
+ [
1487
+ B,
1488
+ {
1489
+ ...l,
1490
+ ref: i
1491
+ }
1492
+ ],
1493
+ [
1494
+ Y,
1495
+ {
1496
+ ...o,
1497
+ ref: r
1498
+ }
1499
+ ],
1500
+ [
1501
+ O,
1502
+ {
1503
+ slots: {
1504
+ description: s,
1505
+ errorMessage: c
1506
+ }
1507
+ }
1508
+ ]
1509
+ ]
1510
+ }, t.children));
1511
+ }
1512
+ const ri = /* @__PURE__ */ h(sr), ee = /* @__PURE__ */ p(null);
1513
+ function ii(t) {
1514
+ let e = rt(t), r = w(null), { triggerProps: i, tooltipProps: a } = it(t, e, r);
1515
+ return /* @__PURE__ */ n.createElement(ee.Provider, {
1516
+ value: {
1517
+ state: e,
1518
+ triggerRef: r,
1519
+ tooltipProps: a
1520
+ }
1521
+ }, /* @__PURE__ */ n.createElement(Be, {
1522
+ ...i,
1523
+ ref: r
1524
+ }, t.children));
1525
+ }
1526
+ function nr(t, e) {
1527
+ let { state: r } = k(ee), i = L(e), a = ge(i, r.isOpen);
1528
+ return !r.isOpen && !a ? null : /* @__PURE__ */ n.createElement(je, null, /* @__PURE__ */ n.createElement(dr, {
1529
+ ...t,
1530
+ tooltipRef: i,
1531
+ isExiting: a
1532
+ }));
1533
+ }
1534
+ const ai = /* @__PURE__ */ h(nr);
1535
+ function dr(t) {
1536
+ let { state: e, triggerRef: r, tooltipProps: i } = k(ee), a = w(null), { overlayProps: l, arrowProps: o, placement: s } = Qe({
1537
+ placement: t.placement || "top",
1538
+ targetRef: r,
1539
+ overlayRef: a,
1540
+ offset: t.offset,
1541
+ crossOffset: t.crossOffset,
1542
+ isOpen: e.isOpen
1543
+ }), c = me(a, !!s), d = m({
1544
+ ...t,
1545
+ defaultClassName: "react-aria-Tooltip",
1546
+ values: {
1547
+ placement: s,
1548
+ isEntering: c,
1549
+ isExiting: t.isExiting
1550
+ }
1551
+ });
1552
+ t = N(t, l);
1553
+ let { tooltipProps: u } = at(t, e);
1554
+ return /* @__PURE__ */ n.createElement("div", {
1555
+ ...N(i, u),
1556
+ ref: U(a, t.tooltipRef),
1557
+ ...d,
1558
+ style: {
1559
+ ...d.style,
1560
+ ...l.style
1561
+ },
1562
+ "data-placement": s,
1563
+ "data-entering": c || void 0,
1564
+ "data-exiting": t.isExiting || void 0
1565
+ }, /* @__PURE__ */ n.createElement(J.Provider, {
1566
+ value: {
1567
+ arrowProps: o,
1568
+ placement: s
1569
+ }
1570
+ }, d.children));
1571
+ }
2
1572
  export {
3
- t as default
1573
+ Lr as Button,
1574
+ z as ButtonContext,
1575
+ qr as Checkbox,
1576
+ wt as CheckboxContext,
1577
+ zr as CheckboxGroup,
1578
+ Et as CheckboxGroupContext,
1579
+ jt as DialogContext,
1580
+ Qr as DialogTrigger,
1581
+ Mt as DropIndicator,
1582
+ Se as DropIndicatorContext,
1583
+ Qt as GroupContext,
1584
+ Kt as Header,
1585
+ Gr as Input,
1586
+ Y as InputContext,
1587
+ Hr as Item,
1588
+ Ar as Label,
1589
+ B as LabelContext,
1590
+ Ur as ListBox,
1591
+ De as ListBoxContext,
1592
+ Wt as ModalContext,
1593
+ Xr as NumberField,
1594
+ Xt as NumberFieldContext,
1595
+ Wr as OverlayArrow,
1596
+ jr as Popover,
1597
+ Z as PopoverContext,
1598
+ Yr as ProgressBar,
1599
+ Jt as ProgressBarContext,
1600
+ F as Provider,
1601
+ Zr as Radio,
1602
+ Jr as RadioGroup,
1603
+ er as RadioGroupContext,
1604
+ si as SSRProvider,
1605
+ _r as Section,
1606
+ ei as Select,
1607
+ ir as SelectContext,
1608
+ ti as SelectValue,
1609
+ Bt as Separator,
1610
+ Ce as SeparatorContext,
1611
+ O as TextContext,
1612
+ ri as TextField,
1613
+ or as TextFieldContext,
1614
+ ai as Tooltip,
1615
+ ii as TooltipTrigger,
1616
+ S as useContextProps
4
1617
  };