@new-black/lyra 0.0.25 → 0.0.26

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 (701) hide show
  1. package/README.md +1 -0
  2. package/dist/components/inputs/index.d.ts +1 -0
  3. package/dist/components/inputs/index.d.ts.map +1 -1
  4. package/dist/components/inputs/slider/index.d.ts +3 -0
  5. package/dist/components/inputs/slider/index.d.ts.map +1 -0
  6. package/dist/components/inputs/slider/slider.d.ts +19 -0
  7. package/dist/components/inputs/slider/slider.d.ts.map +1 -0
  8. package/dist/components/inputs/slider/slider.styles.d.ts +11 -0
  9. package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -0
  10. package/dist/lyra.cjs +1 -1
  11. package/dist/lyra.js +67 -61
  12. package/dist/lyra10.cjs +1 -1
  13. package/dist/lyra10.js +36 -34
  14. package/dist/lyra100.cjs +1 -1
  15. package/dist/lyra100.js +18 -96
  16. package/dist/lyra101.cjs +1 -1
  17. package/dist/lyra101.js +2 -22
  18. package/dist/lyra102.cjs +1 -1
  19. package/dist/lyra102.js +2 -36
  20. package/dist/lyra103.cjs +1 -1
  21. package/dist/lyra103.js +5 -133
  22. package/dist/lyra104.cjs +1 -1
  23. package/dist/lyra104.js +133 -776
  24. package/dist/lyra105.cjs +1 -1
  25. package/dist/lyra105.js +2 -24
  26. package/dist/lyra106.cjs +1 -1
  27. package/dist/lyra106.js +2 -6
  28. package/dist/lyra107.js +2 -2
  29. package/dist/lyra108.cjs +1 -1
  30. package/dist/lyra108.js +13 -2
  31. package/dist/lyra109.cjs +1 -1
  32. package/dist/lyra109.js +25 -2
  33. package/dist/lyra11.cjs +1 -1
  34. package/dist/lyra11.js +2 -2
  35. package/dist/lyra110.cjs +1 -1
  36. package/dist/lyra110.js +11 -138
  37. package/dist/lyra111.cjs +1 -1
  38. package/dist/lyra111.js +39 -2
  39. package/dist/lyra112.cjs +1 -1
  40. package/dist/lyra112.js +1999 -12
  41. package/dist/lyra113.cjs +1 -1
  42. package/dist/lyra113.js +5 -23
  43. package/dist/lyra114.cjs +1 -1
  44. package/dist/lyra114.js +71 -10
  45. package/dist/lyra115.cjs +1 -1
  46. package/dist/lyra115.js +6 -39
  47. package/dist/lyra116.cjs +1 -1
  48. package/dist/lyra116.js +20 -1992
  49. package/dist/lyra117.cjs +1 -1
  50. package/dist/lyra117.js +25 -5
  51. package/dist/lyra118.cjs +1 -1
  52. package/dist/lyra118.js +97 -71
  53. package/dist/lyra119.cjs +1 -1
  54. package/dist/lyra119.js +24 -17
  55. package/dist/lyra12.cjs +1 -1
  56. package/dist/lyra12.js +9 -7
  57. package/dist/lyra120.cjs +1 -1
  58. package/dist/lyra120.js +36 -991
  59. package/dist/lyra121.cjs +1 -1
  60. package/dist/lyra121.js +134 -2
  61. package/dist/lyra122.cjs +1 -1
  62. package/dist/lyra122.js +779 -24
  63. package/dist/lyra123.cjs +1 -1
  64. package/dist/lyra123.js +24 -2
  65. package/dist/lyra124.cjs +1 -1
  66. package/dist/lyra124.js +123 -17
  67. package/dist/lyra125.cjs +1 -1
  68. package/dist/lyra125.js +17 -16
  69. package/dist/lyra126.cjs +1 -1
  70. package/dist/lyra126.js +990 -17
  71. package/dist/lyra127.cjs +1 -1
  72. package/dist/lyra127.js +2 -11
  73. package/dist/lyra128.cjs +1 -1
  74. package/dist/lyra128.js +27 -16
  75. package/dist/lyra129.cjs +1 -1
  76. package/dist/lyra129.js +2 -5
  77. package/dist/lyra13.cjs +1 -1
  78. package/dist/lyra13.js +3 -3
  79. package/dist/lyra130.cjs +1 -1
  80. package/dist/lyra130.js +3 -9
  81. package/dist/lyra131.cjs +1 -1
  82. package/dist/lyra131.js +97 -9
  83. package/dist/lyra132.cjs +1 -1
  84. package/dist/lyra132.js +25 -8
  85. package/dist/lyra133.cjs +1 -1
  86. package/dist/lyra133.js +38 -37
  87. package/dist/lyra134.cjs +1 -1
  88. package/dist/lyra134.js +2 -3
  89. package/dist/lyra135.cjs +9 -1
  90. package/dist/lyra135.js +48 -4
  91. package/dist/lyra136.cjs +9 -1
  92. package/dist/lyra136.js +82 -4
  93. package/dist/lyra137.cjs +1 -1
  94. package/dist/lyra137.js +2 -10
  95. package/dist/lyra138.cjs +1 -1
  96. package/dist/lyra138.js +17 -6
  97. package/dist/lyra139.cjs +1 -1
  98. package/dist/lyra139.js +14 -4
  99. package/dist/lyra14.cjs +1 -1
  100. package/dist/lyra14.js +13 -11
  101. package/dist/lyra140.cjs +1 -1
  102. package/dist/lyra140.js +19 -2
  103. package/dist/lyra141.cjs +1 -1
  104. package/dist/lyra141.js +10 -17
  105. package/dist/lyra142.cjs +1 -1
  106. package/dist/lyra142.js +15 -14
  107. package/dist/lyra143.cjs +1 -1
  108. package/dist/lyra143.js +5 -33
  109. package/dist/lyra144.cjs +1 -1
  110. package/dist/lyra144.js +9 -30
  111. package/dist/lyra145.cjs +1 -1
  112. package/dist/lyra145.js +9 -38
  113. package/dist/lyra146.cjs +1 -1
  114. package/dist/lyra146.js +8 -9
  115. package/dist/lyra147.cjs +1 -1
  116. package/dist/lyra147.js +38 -3
  117. package/dist/lyra148.cjs +1 -1
  118. package/dist/lyra148.js +3 -48
  119. package/dist/lyra149.cjs +1 -1
  120. package/dist/lyra149.js +4 -7
  121. package/dist/lyra15.cjs +1 -1
  122. package/dist/lyra15.js +3 -3
  123. package/dist/lyra150.cjs +1 -1
  124. package/dist/lyra150.js +5 -3
  125. package/dist/lyra151.cjs +1 -1
  126. package/dist/lyra151.js +10 -28
  127. package/dist/lyra152.cjs +1 -1
  128. package/dist/lyra152.js +6 -15
  129. package/dist/lyra153.cjs +1 -1
  130. package/dist/lyra153.js +4 -11
  131. package/dist/lyra154.cjs +1 -1
  132. package/dist/lyra154.js +2 -9
  133. package/dist/lyra155.cjs +1 -1
  134. package/dist/lyra155.js +18 -2
  135. package/dist/lyra156.cjs +1 -1
  136. package/dist/lyra156.js +14 -3
  137. package/dist/lyra157.cjs +1 -1
  138. package/dist/lyra157.js +33 -3
  139. package/dist/lyra158.cjs +1 -1
  140. package/dist/lyra158.js +30 -2
  141. package/dist/lyra159.cjs +1 -1
  142. package/dist/lyra159.js +38 -257
  143. package/dist/lyra16.cjs +1 -1
  144. package/dist/lyra16.js +19 -17
  145. package/dist/lyra160.cjs +1 -1
  146. package/dist/lyra160.js +9 -24
  147. package/dist/lyra161.cjs +1 -1
  148. package/dist/lyra161.js +3 -16
  149. package/dist/lyra162.cjs +1 -1
  150. package/dist/lyra162.js +47 -3
  151. package/dist/lyra163.cjs +1 -1
  152. package/dist/lyra163.js +7 -11
  153. package/dist/lyra164.cjs +1 -1
  154. package/dist/lyra164.js +3 -3
  155. package/dist/lyra165.cjs +1 -1
  156. package/dist/lyra165.js +27 -26
  157. package/dist/lyra166.cjs +1 -1
  158. package/dist/lyra166.js +15 -200
  159. package/dist/lyra167.cjs +1 -1
  160. package/dist/lyra167.js +10 -4
  161. package/dist/lyra168.cjs +1 -1
  162. package/dist/lyra168.js +9 -21
  163. package/dist/lyra169.cjs +1 -1
  164. package/dist/lyra169.js +2 -11
  165. package/dist/lyra17.cjs +1 -1
  166. package/dist/lyra17.js +32 -30
  167. package/dist/lyra170.cjs +1 -1
  168. package/dist/lyra170.js +3 -4
  169. package/dist/lyra171.cjs +1 -1
  170. package/dist/lyra171.js +3 -26
  171. package/dist/lyra172.cjs +1 -1
  172. package/dist/lyra172.js +2 -4
  173. package/dist/lyra173.cjs +1 -1
  174. package/dist/lyra173.js +258 -4
  175. package/dist/lyra174.cjs +1 -1
  176. package/dist/lyra174.js +16 -25
  177. package/dist/lyra175.cjs +1 -1
  178. package/dist/lyra175.js +4 -11
  179. package/dist/lyra176.cjs +1 -1
  180. package/dist/lyra176.js +11 -2
  181. package/dist/lyra177.cjs +1 -1
  182. package/dist/lyra177.js +3 -6
  183. package/dist/lyra178.cjs +1 -1
  184. package/dist/lyra178.js +25 -17
  185. package/dist/lyra179.cjs +1 -1
  186. package/dist/lyra179.js +198 -117
  187. package/dist/lyra18.cjs +1 -1
  188. package/dist/lyra18.js +2 -2
  189. package/dist/lyra180.cjs +1 -1
  190. package/dist/lyra180.js +4 -27
  191. package/dist/lyra181.cjs +1 -1
  192. package/dist/lyra181.js +21 -63
  193. package/dist/lyra182.cjs +1 -1
  194. package/dist/lyra182.js +10 -33
  195. package/dist/lyra183.cjs +1 -1
  196. package/dist/lyra183.js +4 -15
  197. package/dist/lyra184.cjs +1 -1
  198. package/dist/lyra184.js +24 -39
  199. package/dist/lyra185.cjs +1 -1
  200. package/dist/lyra185.js +4 -2
  201. package/dist/lyra186.cjs +1 -1
  202. package/dist/lyra186.js +5 -3
  203. package/dist/lyra187.cjs +1 -1
  204. package/dist/lyra187.js +25 -11
  205. package/dist/lyra188.cjs +1 -1
  206. package/dist/lyra188.js +11 -10
  207. package/dist/lyra189.cjs +1 -1
  208. package/dist/lyra189.js +2 -9
  209. package/dist/lyra19.cjs +1 -1
  210. package/dist/lyra19.js +80 -121
  211. package/dist/lyra190.cjs +1 -1
  212. package/dist/lyra190.js +7 -17
  213. package/dist/lyra191.cjs +1 -1
  214. package/dist/lyra191.js +6 -10
  215. package/dist/lyra192.cjs +1 -1
  216. package/dist/lyra192.js +19 -14
  217. package/dist/lyra193.cjs +1 -1
  218. package/dist/lyra193.js +115 -61
  219. package/dist/lyra194.cjs +1 -1
  220. package/dist/lyra194.js +28 -4
  221. package/dist/lyra195.cjs +1 -1
  222. package/dist/lyra195.js +63 -2
  223. package/dist/lyra196.cjs +1 -1
  224. package/dist/lyra196.js +34 -15
  225. package/dist/lyra197.cjs +1 -1
  226. package/dist/lyra197.js +13 -15
  227. package/dist/lyra198.cjs +1 -1
  228. package/dist/lyra198.js +41 -4
  229. package/dist/lyra199.cjs +1 -1
  230. package/dist/lyra199.js +2 -2
  231. package/dist/lyra2.cjs +1 -1
  232. package/dist/lyra2.js +9 -9
  233. package/dist/lyra20.cjs +1 -1
  234. package/dist/lyra20.js +62 -126
  235. package/dist/lyra200.cjs +1 -1
  236. package/dist/lyra200.js +3 -7
  237. package/dist/lyra201.cjs +1 -1
  238. package/dist/lyra201.js +10 -52
  239. package/dist/lyra202.cjs +1 -1
  240. package/dist/lyra202.js +10 -17
  241. package/dist/lyra203.cjs +1 -1
  242. package/dist/lyra203.js +8 -8
  243. package/dist/lyra204.cjs +1 -1
  244. package/dist/lyra204.js +17 -2
  245. package/dist/lyra205.cjs +1 -1
  246. package/dist/lyra205.js +9 -5
  247. package/dist/lyra206.cjs +1 -1
  248. package/dist/lyra206.js +14 -4
  249. package/dist/lyra207.cjs +1 -1
  250. package/dist/lyra207.js +65 -2
  251. package/dist/lyra208.cjs +1 -1
  252. package/dist/lyra208.js +4 -2
  253. package/dist/lyra209.cjs +1 -1
  254. package/dist/lyra209.js +2 -5
  255. package/dist/lyra21.cjs +1 -1
  256. package/dist/lyra21.js +121 -62
  257. package/dist/lyra210.cjs +1 -1
  258. package/dist/lyra210.js +15 -3
  259. package/dist/lyra211.cjs +1 -1
  260. package/dist/lyra211.js +16 -7
  261. package/dist/lyra212.cjs +1 -1
  262. package/dist/lyra212.js +4 -16
  263. package/dist/lyra213.cjs +1 -1
  264. package/dist/lyra213.js +2 -2
  265. package/dist/lyra214.cjs +1 -1
  266. package/dist/lyra214.js +7 -2
  267. package/dist/lyra215.cjs +1 -1
  268. package/dist/lyra215.js +53 -6
  269. package/dist/lyra216.cjs +1 -1
  270. package/dist/lyra216.js +17 -5
  271. package/dist/lyra217.cjs +1 -1
  272. package/dist/lyra217.js +8 -8
  273. package/dist/lyra218.cjs +1 -1
  274. package/dist/lyra218.js +2 -7
  275. package/dist/lyra219.cjs +1 -1
  276. package/dist/lyra219.js +3 -21
  277. package/dist/lyra22.cjs +1 -1
  278. package/dist/lyra22.js +127 -74
  279. package/dist/lyra220.cjs +1 -1
  280. package/dist/lyra220.js +2 -33
  281. package/dist/lyra221.cjs +1 -1
  282. package/dist/lyra221.js +2 -36
  283. package/dist/lyra222.cjs +1 -1
  284. package/dist/lyra222.js +5 -30
  285. package/dist/lyra223.cjs +1 -1
  286. package/dist/lyra223.js +3 -23
  287. package/dist/lyra224.cjs +1 -1
  288. package/dist/lyra224.js +7 -50
  289. package/dist/lyra225.cjs +1 -1
  290. package/dist/lyra225.js +16 -2
  291. package/dist/lyra226.cjs +1 -1
  292. package/dist/lyra226.js +2 -2
  293. package/dist/lyra227.cjs +1 -1
  294. package/dist/lyra227.js +2 -8
  295. package/dist/lyra228.cjs +1 -1
  296. package/dist/lyra228.js +6 -6
  297. package/dist/lyra229.cjs +1 -1
  298. package/dist/lyra229.js +5 -33
  299. package/dist/lyra23.cjs +1 -1
  300. package/dist/lyra23.js +60 -16
  301. package/dist/lyra230.cjs +1 -1
  302. package/dist/lyra230.js +8 -17
  303. package/dist/lyra231.cjs +1 -1
  304. package/dist/lyra231.js +6 -46
  305. package/dist/lyra232.cjs +1 -1
  306. package/dist/lyra232.js +21 -3
  307. package/dist/lyra233.cjs +1 -1
  308. package/dist/lyra233.js +32 -5
  309. package/dist/lyra234.cjs +1 -1
  310. package/dist/lyra234.js +25 -29
  311. package/dist/lyra235.cjs +1 -1
  312. package/dist/lyra235.js +29 -5
  313. package/dist/lyra236.cjs +1 -1
  314. package/dist/lyra236.js +22 -3
  315. package/dist/lyra237.cjs +1 -1
  316. package/dist/lyra237.js +48 -10
  317. package/dist/lyra238.cjs +1 -1
  318. package/dist/lyra238.js +2 -2
  319. package/dist/lyra239.cjs +1 -1
  320. package/dist/lyra239.js +2 -2
  321. package/dist/lyra24.cjs +1 -1
  322. package/dist/lyra24.js +66 -32
  323. package/dist/lyra240.cjs +1 -9
  324. package/dist/lyra240.js +7 -47
  325. package/dist/lyra241.cjs +1 -9
  326. package/dist/lyra241.js +6 -83
  327. package/dist/lyra242.cjs +1 -1
  328. package/dist/lyra242.js +25 -90
  329. package/dist/lyra243.cjs +1 -1
  330. package/dist/lyra243.js +17 -25
  331. package/dist/lyra244.cjs +1 -1
  332. package/dist/lyra244.js +44 -36
  333. package/dist/lyra245.cjs +1 -1
  334. package/dist/lyra245.js +3 -21
  335. package/dist/lyra246.cjs +1 -1
  336. package/dist/lyra246.js +5 -19
  337. package/dist/lyra247.cjs +1 -1
  338. package/dist/lyra247.js +31 -26
  339. package/dist/lyra248.cjs +1 -1
  340. package/dist/lyra248.js +6 -10
  341. package/dist/lyra249.cjs +1 -1
  342. package/dist/lyra249.js +3 -23
  343. package/dist/lyra25.cjs +1 -1
  344. package/dist/lyra25.js +19 -110
  345. package/dist/lyra250.cjs +1 -1
  346. package/dist/lyra250.js +10 -24
  347. package/dist/lyra251.cjs +1 -1
  348. package/dist/lyra251.js +2 -71
  349. package/dist/lyra252.cjs +1 -1
  350. package/dist/lyra252.js +2 -42
  351. package/dist/lyra253.cjs +1 -1
  352. package/dist/lyra253.js +2 -16
  353. package/dist/lyra254.cjs +1 -1
  354. package/dist/lyra254.js +320 -30
  355. package/dist/lyra255.cjs +1 -1
  356. package/dist/lyra255.js +15 -69
  357. package/dist/lyra256.cjs +1 -1
  358. package/dist/lyra256.js +22 -23
  359. package/dist/lyra257.cjs +1 -1
  360. package/dist/lyra257.js +19 -43
  361. package/dist/lyra258.cjs +1 -1
  362. package/dist/lyra258.js +25 -40
  363. package/dist/lyra259.cjs +1 -9
  364. package/dist/lyra259.js +10 -47
  365. package/dist/lyra26.cjs +1 -1
  366. package/dist/lyra26.js +31 -51
  367. package/dist/lyra260.cjs +1 -1
  368. package/dist/lyra260.js +24 -3
  369. package/dist/lyra261.cjs +1 -1
  370. package/dist/lyra261.js +26 -2
  371. package/dist/lyra262.cjs +1 -1
  372. package/dist/lyra262.js +71 -2
  373. package/dist/lyra263.cjs +1 -1
  374. package/dist/lyra263.js +41 -41
  375. package/dist/lyra264.cjs +1 -1
  376. package/dist/lyra264.js +16 -4
  377. package/dist/lyra265.cjs +1 -1
  378. package/dist/lyra265.js +34 -581
  379. package/dist/lyra266.cjs +1 -1
  380. package/dist/lyra266.js +70 -11
  381. package/dist/lyra267.cjs +1 -1
  382. package/dist/lyra267.js +23 -13
  383. package/dist/lyra268.cjs +1 -1
  384. package/dist/lyra268.js +44 -14
  385. package/dist/lyra269.cjs +1 -1
  386. package/dist/lyra269.js +41 -2
  387. package/dist/lyra27.cjs +1 -1
  388. package/dist/lyra27.js +110 -13
  389. package/dist/lyra270.cjs +9 -1
  390. package/dist/lyra270.js +47 -29
  391. package/dist/lyra271.cjs +1 -1
  392. package/dist/lyra271.js +2 -6
  393. package/dist/lyra272.cjs +1 -1
  394. package/dist/lyra272.js +42 -4
  395. package/dist/lyra273.cjs +1 -1
  396. package/dist/lyra273.js +12 -14
  397. package/dist/lyra274.cjs +1 -1
  398. package/dist/lyra274.js +2 -23
  399. package/dist/lyra275.cjs +1 -1
  400. package/dist/lyra275.js +4 -2
  401. package/dist/lyra276.cjs +1 -1
  402. package/dist/lyra276.js +583 -7
  403. package/dist/lyra277.cjs +1 -1
  404. package/dist/lyra277.js +11 -20
  405. package/dist/lyra278.cjs +1 -1
  406. package/dist/lyra278.js +12 -112
  407. package/dist/lyra279.cjs +1 -1
  408. package/dist/lyra279.js +14 -7
  409. package/dist/lyra28.cjs +1 -1
  410. package/dist/lyra28.js +49 -15
  411. package/dist/lyra280.cjs +1 -1
  412. package/dist/lyra280.js +21 -20
  413. package/dist/lyra281.cjs +1 -1
  414. package/dist/lyra281.js +2 -22
  415. package/dist/lyra282.cjs +1 -1
  416. package/dist/lyra282.js +29 -7
  417. package/dist/lyra283.cjs +1 -1
  418. package/dist/lyra283.js +6 -2
  419. package/dist/lyra284.cjs +1 -1
  420. package/dist/lyra284.js +4 -2
  421. package/dist/lyra285.cjs +1 -1
  422. package/dist/lyra285.js +8 -2
  423. package/dist/lyra286.cjs +1 -1
  424. package/dist/lyra286.js +32 -323
  425. package/dist/lyra287.cjs +1 -1
  426. package/dist/lyra287.js +17 -13
  427. package/dist/lyra288.cjs +1 -1
  428. package/dist/lyra288.js +114 -2
  429. package/dist/lyra289.cjs +1 -1
  430. package/dist/lyra289.js +7 -18
  431. package/dist/lyra29.cjs +1 -1
  432. package/dist/lyra29.js +10 -11
  433. package/dist/lyra290.cjs +1 -1
  434. package/dist/lyra290.js +22 -28
  435. package/dist/lyra291.cjs +1 -1
  436. package/dist/lyra291.js +22 -25
  437. package/dist/lyra292.cjs +1 -1
  438. package/dist/lyra292.js +7 -20
  439. package/dist/lyra293.cjs +1 -1
  440. package/dist/lyra293.js +2 -9
  441. package/dist/lyra294.cjs +1 -1
  442. package/dist/lyra294.js +28 -13
  443. package/dist/lyra295.cjs +1 -1
  444. package/dist/lyra295.js +25 -6
  445. package/dist/lyra296.cjs +1 -1
  446. package/dist/lyra296.js +18 -22
  447. package/dist/lyra297.cjs +1 -1
  448. package/dist/lyra297.js +9 -2
  449. package/dist/lyra298.cjs +1 -1
  450. package/dist/lyra298.js +11 -7
  451. package/dist/lyra299.cjs +1 -1
  452. package/dist/lyra299.js +4 -5
  453. package/dist/lyra3.cjs +1 -1
  454. package/dist/lyra3.js +2 -2
  455. package/dist/lyra30.cjs +1 -1
  456. package/dist/lyra30.js +24 -42
  457. package/dist/lyra300.cjs +1 -1
  458. package/dist/lyra300.js +22 -26
  459. package/dist/lyra301.cjs +1 -1
  460. package/dist/lyra301.js +2 -6
  461. package/dist/lyra302.cjs +1 -1
  462. package/dist/lyra302.js +8 -10
  463. package/dist/lyra303.cjs +1 -1
  464. package/dist/lyra303.js +7 -28
  465. package/dist/lyra304.cjs +1 -1
  466. package/dist/lyra304.js +2 -26
  467. package/dist/lyra305.cjs +1 -1
  468. package/dist/lyra305.js +17 -230
  469. package/dist/lyra306.cjs +1 -1
  470. package/dist/lyra306.js +222 -71
  471. package/dist/lyra307.cjs +1 -1
  472. package/dist/lyra307.js +80 -13
  473. package/dist/lyra308.cjs +1 -1
  474. package/dist/lyra308.js +12 -18
  475. package/dist/lyra309.cjs +1 -1
  476. package/dist/lyra309.js +17 -12
  477. package/dist/lyra31.cjs +1 -1
  478. package/dist/lyra31.js +13 -93
  479. package/dist/lyra310.cjs +1 -1
  480. package/dist/lyra310.js +13 -96
  481. package/dist/lyra311.cjs +1 -1
  482. package/dist/lyra311.js +27 -21
  483. package/dist/lyra312.cjs +1 -1
  484. package/dist/lyra312.js +6 -20
  485. package/dist/lyra313.cjs +1 -1
  486. package/dist/lyra313.js +11 -5
  487. package/dist/lyra314.cjs +1 -1
  488. package/dist/lyra314.js +26 -18
  489. package/dist/lyra315.cjs +1 -1
  490. package/dist/lyra315.js +26 -8
  491. package/dist/lyra316.cjs +1 -1
  492. package/dist/lyra316.js +99 -28
  493. package/dist/lyra317.cjs +1 -1
  494. package/dist/lyra317.js +21 -7
  495. package/dist/lyra318.cjs +1 -1
  496. package/dist/lyra318.js +20 -53
  497. package/dist/lyra319.cjs +1 -1
  498. package/dist/lyra319.js +5 -23
  499. package/dist/lyra32.cjs +1 -1
  500. package/dist/lyra32.js +41 -33
  501. package/dist/lyra320.cjs +1 -1
  502. package/dist/lyra320.js +19 -15
  503. package/dist/lyra321.cjs +1 -1
  504. package/dist/lyra321.js +7 -55
  505. package/dist/lyra322.cjs +1 -1
  506. package/dist/lyra322.js +28 -9
  507. package/dist/lyra323.cjs +1 -1
  508. package/dist/lyra323.js +7 -3
  509. package/dist/lyra324.cjs +1 -1
  510. package/dist/lyra324.js +48 -13
  511. package/dist/lyra325.cjs +1 -1
  512. package/dist/lyra325.js +22 -3
  513. package/dist/lyra326.cjs +1 -1
  514. package/dist/lyra326.js +19 -3
  515. package/dist/lyra327.cjs +1 -1
  516. package/dist/lyra327.js +54 -8
  517. package/dist/lyra328.cjs +1 -1
  518. package/dist/lyra328.js +11 -2
  519. package/dist/lyra329.cjs +1 -1
  520. package/dist/lyra329.js +3 -11
  521. package/dist/lyra33.cjs +1 -1
  522. package/dist/lyra33.js +92 -388
  523. package/dist/lyra330.cjs +1 -1
  524. package/dist/lyra330.js +18 -5
  525. package/dist/lyra331.cjs +1 -1
  526. package/dist/lyra331.js +4 -70
  527. package/dist/lyra332.cjs +1 -1
  528. package/dist/lyra332.js +3 -5
  529. package/dist/lyra333.cjs +1 -1
  530. package/dist/lyra333.js +2 -9
  531. package/dist/lyra334.cjs +1 -1
  532. package/dist/lyra334.js +9 -15
  533. package/dist/lyra335.cjs +1 -1
  534. package/dist/lyra335.js +5 -2
  535. package/dist/lyra336.cjs +1 -1
  536. package/dist/lyra336.js +11 -22
  537. package/dist/lyra337.cjs +1 -1
  538. package/dist/lyra337.js +69 -6
  539. package/dist/lyra338.cjs +1 -1
  540. package/dist/lyra338.js +5 -65
  541. package/dist/lyra339.cjs +1 -1
  542. package/dist/lyra339.js +9 -6
  543. package/dist/lyra34.cjs +1 -1
  544. package/dist/lyra34.js +36 -8
  545. package/dist/lyra340.cjs +1 -1
  546. package/dist/lyra340.js +15 -4
  547. package/dist/lyra341.cjs +1 -1
  548. package/dist/lyra341.js +5 -7
  549. package/dist/lyra342.cjs +1 -1
  550. package/dist/lyra342.js +65 -6
  551. package/dist/lyra343.cjs +1 -1
  552. package/dist/lyra343.js +20 -38
  553. package/dist/lyra344.cjs +1 -1
  554. package/dist/lyra344.js +2 -95
  555. package/dist/lyra345.cjs +1 -0
  556. package/dist/lyra345.js +9 -0
  557. package/dist/lyra346.cjs +1 -0
  558. package/dist/lyra346.js +7 -0
  559. package/dist/lyra347.cjs +1 -0
  560. package/dist/lyra347.js +10 -0
  561. package/dist/lyra348.cjs +1 -0
  562. package/dist/lyra348.js +8 -0
  563. package/dist/lyra349.cjs +1 -0
  564. package/dist/lyra349.js +43 -0
  565. package/dist/lyra35.cjs +1 -1
  566. package/dist/lyra35.js +390 -13
  567. package/dist/lyra350.cjs +1 -0
  568. package/dist/lyra350.js +100 -0
  569. package/dist/lyra36.cjs +1 -1
  570. package/dist/lyra36.js +8 -176
  571. package/dist/lyra37.cjs +1 -1
  572. package/dist/lyra37.js +13 -6
  573. package/dist/lyra38.cjs +1 -1
  574. package/dist/lyra38.js +176 -4
  575. package/dist/lyra39.cjs +1 -1
  576. package/dist/lyra39.js +6 -8
  577. package/dist/lyra4.cjs +1 -1
  578. package/dist/lyra4.js +3 -3
  579. package/dist/lyra40.cjs +1 -1
  580. package/dist/lyra40.js +4 -7
  581. package/dist/lyra41.cjs +1 -1
  582. package/dist/lyra41.js +8 -166
  583. package/dist/lyra42.cjs +1 -1
  584. package/dist/lyra42.js +7 -72
  585. package/dist/lyra43.cjs +1 -1
  586. package/dist/lyra43.js +165 -59
  587. package/dist/lyra44.cjs +1 -1
  588. package/dist/lyra44.js +60 -447
  589. package/dist/lyra45.cjs +1 -1
  590. package/dist/lyra45.js +55 -540
  591. package/dist/lyra46.cjs +1 -1
  592. package/dist/lyra46.js +410 -638
  593. package/dist/lyra47.cjs +1 -1
  594. package/dist/lyra47.js +535 -61
  595. package/dist/lyra48.cjs +1 -1
  596. package/dist/lyra48.js +815 -31
  597. package/dist/lyra49.cjs +1 -1
  598. package/dist/lyra49.js +65 -43
  599. package/dist/lyra5.cjs +1 -1
  600. package/dist/lyra5.js +1 -1
  601. package/dist/lyra50.cjs +1 -1
  602. package/dist/lyra50.js +33 -13
  603. package/dist/lyra51.cjs +1 -1
  604. package/dist/lyra51.js +40 -1069
  605. package/dist/lyra52.cjs +1 -1
  606. package/dist/lyra52.js +11 -788
  607. package/dist/lyra53.cjs +1 -1
  608. package/dist/lyra53.js +1062 -226
  609. package/dist/lyra54.cjs +1 -1
  610. package/dist/lyra54.js +790 -268
  611. package/dist/lyra55.cjs +1 -1
  612. package/dist/lyra55.js +236 -56
  613. package/dist/lyra56.cjs +1 -1
  614. package/dist/lyra56.js +262 -133
  615. package/dist/lyra57.cjs +1 -1
  616. package/dist/lyra57.js +57 -440
  617. package/dist/lyra58.cjs +1 -1
  618. package/dist/lyra58.js +134 -205
  619. package/dist/lyra59.cjs +1 -1
  620. package/dist/lyra59.js +437 -222
  621. package/dist/lyra6.cjs +1 -1
  622. package/dist/lyra6.js +2 -2
  623. package/dist/lyra60.cjs +1 -1
  624. package/dist/lyra60.js +192 -794
  625. package/dist/lyra61.cjs +1 -1
  626. package/dist/lyra61.js +204 -349
  627. package/dist/lyra62.cjs +1 -1
  628. package/dist/lyra62.js +803 -113
  629. package/dist/lyra63.cjs +1 -1
  630. package/dist/lyra63.js +371 -34
  631. package/dist/lyra64.cjs +1 -1
  632. package/dist/lyra64.js +121 -39
  633. package/dist/lyra65.cjs +1 -1
  634. package/dist/lyra65.js +35 -31
  635. package/dist/lyra66.cjs +1 -1
  636. package/dist/lyra66.js +41 -97
  637. package/dist/lyra67.cjs +1 -1
  638. package/dist/lyra67.js +28 -139
  639. package/dist/lyra68.cjs +1 -1
  640. package/dist/lyra68.js +95 -12
  641. package/dist/lyra69.cjs +1 -1
  642. package/dist/lyra69.js +136 -59
  643. package/dist/lyra7.cjs +1 -1
  644. package/dist/lyra7.js +2 -2
  645. package/dist/lyra70.cjs +1 -1
  646. package/dist/lyra70.js +15 -19
  647. package/dist/lyra71.cjs +1 -1
  648. package/dist/lyra71.js +185 -1700
  649. package/dist/lyra72.cjs +1 -1
  650. package/dist/lyra72.js +67 -38
  651. package/dist/lyra73.cjs +1 -1
  652. package/dist/lyra73.js +20 -3
  653. package/dist/lyra74.cjs +1 -1
  654. package/dist/lyra74.js +37 -64
  655. package/dist/lyra75.cjs +1 -1
  656. package/dist/lyra75.js +2 -14
  657. package/dist/lyra79.cjs +1 -1
  658. package/dist/lyra79.js +1847 -2
  659. package/dist/lyra8.cjs +1 -1
  660. package/dist/lyra8.js +6 -6
  661. package/dist/lyra81.cjs +1 -1
  662. package/dist/lyra81.js +3 -2
  663. package/dist/lyra82.cjs +1 -1
  664. package/dist/lyra82.js +66 -2
  665. package/dist/lyra83.cjs +1 -1
  666. package/dist/lyra83.js +14 -32
  667. package/dist/lyra84.js +2 -2
  668. package/dist/lyra85.cjs +1 -1
  669. package/dist/lyra85.js +32 -13
  670. package/dist/lyra86.cjs +1 -1
  671. package/dist/lyra86.js +2 -30
  672. package/dist/lyra87.cjs +1 -1
  673. package/dist/lyra87.js +13 -43
  674. package/dist/lyra88.cjs +1 -1
  675. package/dist/lyra88.js +30 -6
  676. package/dist/lyra89.cjs +1 -1
  677. package/dist/lyra89.js +2 -4
  678. package/dist/lyra9.cjs +1 -1
  679. package/dist/lyra9.js +1 -1
  680. package/dist/lyra90.cjs +1 -1
  681. package/dist/lyra90.js +43 -2
  682. package/dist/lyra91.cjs +1 -9
  683. package/dist/lyra91.js +5 -29
  684. package/dist/lyra92.cjs +1 -19
  685. package/dist/lyra92.js +3 -598
  686. package/dist/lyra93.cjs +1 -1
  687. package/dist/lyra93.js +4 -20
  688. package/dist/lyra94.cjs +9 -1
  689. package/dist/lyra94.js +30 -2
  690. package/dist/lyra95.cjs +19 -1
  691. package/dist/lyra95.js +600 -20
  692. package/dist/lyra96.cjs +1 -1
  693. package/dist/lyra96.js +20 -4
  694. package/dist/lyra97.cjs +1 -1
  695. package/dist/lyra97.js +2 -6
  696. package/dist/lyra98.cjs +1 -1
  697. package/dist/lyra98.js +21 -28
  698. package/dist/lyra99.cjs +1 -1
  699. package/dist/lyra99.js +2 -27
  700. package/dist/style.css +1 -1
  701. package/package.json +19 -19
package/dist/lyra17.js CHANGED
@@ -1,32 +1,34 @@
1
- import { j as e } from "./lyra37.js";
1
+ import { j as e } from "./lyra39.js";
2
2
  import { forwardRef as $ } from "react";
3
- import { useContextProps as b, Select as y, Label as N, Button as g, SelectValue as S, SelectContext as v } from "./lyra71.js";
4
- import { ListBox as w } from "./lyra21.js";
5
- import { cx as i } from "./lyra72.js";
6
- import "./lyra82.js";
7
- import { Text as c } from "./lyra30.js";
3
+ import { useContextProps as b, Select as y, Label as N, Button as g, SelectValue as S, SelectContext as v } from "./lyra79.js";
4
+ import { ListBox as w } from "./lyra23.js";
5
+ import { cx as i } from "./lyra74.js";
6
+ import "./lyra89.js";
7
+ import { Text as c } from "./lyra32.js";
8
8
  import "./lyra77.js";
9
9
  import "./lyra10.js";
10
- import "./lyra109.js";
11
- import "./lyra19.js";
12
- import { SvgIcon as F } from "./lyra29.js";
10
+ import "./lyra102.js";
11
+ import "./lyra21.js";
12
+ import { SvgIcon as F } from "./lyra31.js";
13
13
  import "./lyra14.js";
14
14
  import "./lyra8.js";
15
15
  import "./lyra80.js";
16
16
  import "./lyra16.js";
17
17
  import { sharedInputFieldWrapperStyles as I, sharedInputlabelStyles as B, sharedInputHintStyles as C, sharedInputFieldStyles as L } from "./lyra18.js";
18
- import "./lyra20.js";
19
- import { Popover as M } from "./lyra23.js";
20
- import { twMerge as d } from "./lyra38.js";
18
+ import "./lyra19.js";
19
+ import "./lyra101.js";
20
+ import "./lyra22.js";
21
+ import { Popover as M } from "./lyra25.js";
22
+ import { twMerge as d } from "./lyra40.js";
21
23
  function P({
22
- label: s,
24
+ label: r,
23
25
  hint: o,
24
- size: r = "medium",
26
+ size: s = "medium",
25
27
  fullWidth: n,
26
28
  validationState: p,
27
29
  isRequired: f,
28
- description: l,
29
- errorMessage: m,
30
+ description: m,
31
+ errorMessage: l,
30
32
  ...t
31
33
  }, a) {
32
34
  return [t, a] = b(t, a, v), /* @__PURE__ */ e.jsx(
@@ -41,16 +43,16 @@ function P({
41
43
  {
42
44
  className: i(
43
45
  "mx-1 flex items-center gap-3",
44
- s ? "justify-between" : "justify-end"
46
+ r ? "justify-between" : "justify-end"
45
47
  ),
46
48
  children: [
47
- s ? /* @__PURE__ */ e.jsxs(
49
+ r ? /* @__PURE__ */ e.jsxs(
48
50
  N,
49
51
  {
50
52
  className: B(),
51
53
  style: { fontFamily: "var(--input-label-font-family)" },
52
54
  children: [
53
- s,
55
+ r,
54
56
  f && /* @__PURE__ */ e.jsx("span", { className: "text-danger", children: " *" })
55
57
  ]
56
58
  }
@@ -75,7 +77,7 @@ function P({
75
77
  isHovered: j,
76
78
  isFocused: h,
77
79
  fullWidth: n,
78
- size: r,
80
+ size: s,
79
81
  validationState: p,
80
82
  className: "w-full items-center justify-between gap-3"
81
83
  })
@@ -88,9 +90,9 @@ function P({
88
90
  name: "chevron-down",
89
91
  "aria-hidden": "true",
90
92
  className: i(
91
- r === "large" && "h-5 w-5",
92
- r === "medium" && "h-4 w-4",
93
- r === "small" && "h-3 w-3",
93
+ s === "large" && "h-5 w-5",
94
+ s === "medium" && "h-4 w-4",
95
+ s === "small" && "h-3 w-3",
94
96
  x ? "rotate-180" : "rotate-0",
95
97
  "transition duration-200 ease-out"
96
98
  )
@@ -99,31 +101,31 @@ function P({
99
101
  ]
100
102
  }
101
103
  ) }),
102
- l && /* @__PURE__ */ e.jsx(
104
+ m && /* @__PURE__ */ e.jsx(
103
105
  c,
104
106
  {
105
107
  className: "ms-1 mt-1.5",
106
108
  variant: "body-small",
107
109
  color: "secondary",
108
110
  slot: "description",
109
- children: l
111
+ children: m
110
112
  }
111
113
  ),
112
- m && /* @__PURE__ */ e.jsx(
114
+ l && /* @__PURE__ */ e.jsx(
113
115
  c,
114
116
  {
115
117
  className: "ms-1 mt-1.5",
116
118
  variant: "body-small",
117
119
  color: "accent-danger",
118
120
  slot: "errorMessage",
119
- children: m
121
+ children: l
120
122
  }
121
123
  ),
122
124
  /* @__PURE__ */ e.jsx(M, { children: /* @__PURE__ */ e.jsx(
123
125
  w,
124
126
  {
125
127
  className: "outline-none",
126
- "aria-label": s ?? `options on select ${t.name}`,
128
+ "aria-label": r ?? `options on select ${t.name}`,
127
129
  selectionMode: "single",
128
130
  children: t.children
129
131
  }
@@ -132,7 +134,7 @@ function P({
132
134
  }
133
135
  );
134
136
  }
135
- const z = $(P);
137
+ const te = $(P);
136
138
  export {
137
- z as Select
139
+ te as Select
138
140
  };
package/dist/lyra170.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function t(r){return typeof r=="string"||Array.isArray(r)}exports.isVariantLabel=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=t.createContext({strict:!1});exports.LazyContext=e;
package/dist/lyra170.js CHANGED
@@ -1,6 +1,5 @@
1
- function t(r) {
2
- return typeof r == "string" || Array.isArray(r);
3
- }
1
+ import { createContext as t } from "react";
2
+ const o = t({ strict: !1 });
4
3
  export {
5
- t as isVariantLabel
4
+ o as LazyContext
6
5
  };
package/dist/lyra171.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./lyra167.cjs"),d=require("./lyra173.cjs"),l=require("./lyra166.cjs"),V=require("./lyra140.cjs");function c(o,a,t){const{willChange:s}=a;for(const e in a){const i=a[e],r=t[e];if(V.isMotionValue(i))o.addValue(e,i),u.isWillChangeMotionValue(s)&&s.add(e),process.env.NODE_ENV==="development"&&d.warnOnce(i.version==="10.12.16",`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(V.isMotionValue(r))o.addValue(e,l.motionValue(i,{owner:o})),u.isWillChangeMotionValue(s)&&s.remove(e);else if(r!==i)if(o.hasValue(e)){const n=o.getValue(e);!n.hasAnimated&&n.set(i)}else{const n=o.getStaticValue(e);o.addValue(e,l.motionValue(n!==void 0?n:i,{owner:o}))}}for(const e in t)a[e]===void 0&&o.removeValue(e);return a}exports.updateMotionValuesFromProps=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=t.createContext({});exports.SwitchLayoutGroupContext=e;
package/dist/lyra171.js CHANGED
@@ -1,28 +1,5 @@
1
- import { isWillChangeMotionValue as u } from "./lyra167.js";
2
- import { warnOnce as l } from "./lyra173.js";
3
- import { motionValue as f } from "./lyra166.js";
4
- import { isMotionValue as d } from "./lyra140.js";
5
- function v(i, e, t) {
6
- const { willChange: s } = e;
7
- for (const o in e) {
8
- const a = e[o], n = t[o];
9
- if (d(a))
10
- i.addValue(o, a), u(s) && s.add(o), process.env.NODE_ENV === "development" && l(a.version === "10.12.16", `Attempting to mix Framer Motion versions ${a.version} with 10.12.16 may not work as expected.`);
11
- else if (d(n))
12
- i.addValue(o, f(a, { owner: i })), u(s) && s.remove(o);
13
- else if (n !== a)
14
- if (i.hasValue(o)) {
15
- const r = i.getValue(o);
16
- !r.hasAnimated && r.set(a);
17
- } else {
18
- const r = i.getStaticValue(o);
19
- i.addValue(o, f(r !== void 0 ? r : a, { owner: i }));
20
- }
21
- }
22
- for (const o in t)
23
- e[o] === void 0 && i.removeValue(o);
24
- return e;
25
- }
1
+ import { createContext as t } from "react";
2
+ const e = t({});
26
3
  export {
27
- v as updateMotionValuesFromProps
4
+ e as SwitchLayoutGroupContext
28
5
  };
package/dist/lyra172.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function v(a,r,e,t={},u={}){return typeof r=="function"&&(r=r(e!==void 0?e:a.custom,t,u)),typeof r=="string"&&(r=a.variants&&a.variants[r]),typeof r=="function"&&(r=r(e!==void 0?e:a.custom,t,u)),r}exports.resolveVariantFromProps=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=Symbol.for("motionComponentSymbol");exports.motionComponentSymbol=o;
package/dist/lyra172.js CHANGED
@@ -1,6 +1,4 @@
1
- function y(r, a, v, f = {}, u = {}) {
2
- return typeof a == "function" && (a = a(v !== void 0 ? v : r.custom, f, u)), typeof a == "string" && (a = r.variants && r.variants[a]), typeof a == "function" && (a = a(v !== void 0 ? v : r.custom, f, u)), a;
3
- }
1
+ const o = Symbol.for("motionComponentSymbol");
4
2
  export {
5
- y as resolveVariantFromProps
3
+ o as motionComponentSymbol
6
4
  };
package/dist/lyra173.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=new Set;function c(t,n,r){t||o.has(n)||(console.warn(n),r&&console.warn(r),o.add(n))}exports.warnOnce=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./lyra151.cjs"),P=require("./lyra174.cjs"),T=require("./lyra175.cjs"),q=require("./lyra176.cjs"),m=require("./lyra177.cjs"),y=require("./lyra178.cjs"),F=require("./lyra179.cjs"),j=require("./lyra180.cjs"),V=require("./lyra154.cjs"),R=require("./lyra181.cjs"),v=require("./lyra182.cjs"),w=require("./lyra183.cjs"),E=require("./lyra184.cjs"),N=require("./lyra185.cjs"),x=require("./lyra186.cjs"),C=require("./lyra187.cjs"),b=require("./lyra188.cjs"),g=require("./lyra189.cjs"),p=require("./lyra190.cjs"),S=Object.keys(C.featureDefinitions),B=S.length,M=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],L=b.variantProps.length;class O{constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,visualState:n},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>p.frame.render(this.render,!1,!0);const{latestValues:u,renderState:r}=n;this.latestValues=u,this.baseTarget={...u},this.initialValues=e.initial?{...u}:{},this.renderState=r,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=h,this.isControllingVariants=v.isControllingVariants(e),this.isVariantNode=v.isVariantNode(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:o,...d}=this.scrapeMotionValuesFromProps(e,{});for(const a in d){const l=d[a];u[a]!==void 0&&V.isMotionValue(l)&&(l.set(u[a],!1),j.isWillChangeMotionValue(o)&&o.add(a))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,g.visualElementStore.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,i)=>this.bindToMotionValue(i,e)),m.hasReducedMotionListener.current||q.initPrefersReducedMotion(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:m.prefersReducedMotion.current,process.env.NODE_ENV!=="production"&&x.warnOnce(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){g.visualElementStore.delete(this.current),this.projection&&this.projection.unmount(),p.cancelFrame(this.notifyUpdate),p.cancelFrame(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){const i=R.transformProps.has(t),s=e.on("change",h=>{this.latestValues[t]=h,this.props.onUpdate&&p.frame.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),n=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{s(),n()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...e},i,s,n){let h,u;if(process.env.NODE_ENV!=="production"&&s&&i){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?f.warning(!1,r):f.invariant(!1,r)}for(let r=0;r<B;r++){const o=S[r],{isEnabled:d,Feature:a,ProjectionNode:l,MeasureLayout:c}=C.featureDefinitions[o];l&&(h=l),d(e)&&(!this.features[o]&&a&&(this.features[o]=new a(this)),c&&(u=c))}if(!this.projection&&h){this.projection=new h(this.latestValues,this.parent&&this.parent.projection);const{layoutId:r,layout:o,drag:d,dragConstraints:a,layoutScroll:l,layoutRoot:c}=e;this.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!d||a&&T.isRefObject(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof o=="string"?o:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:c})}return u}updateFeatures(){for(const t in this.features){const e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):P.createBox()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t,e=!0){return this.makeTargetAnimatableFromInstance(t,this.props,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let i=0;i<M.length;i++){const s=M[i];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const n=t["on"+s];n&&(this.propEventSubscriptions[s]=this.on(s,n))}this.prevMotionValues=E.updateMotionValuesFromProps(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const i=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(i.initial=this.props.initial),i}const e={};for(let i=0;i<L;i++){const s=b.variantProps[i],n=this.props[s];(w.isVariantLabel(n)||n===!1)&&(e[s]=n)}return e}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return i===void 0&&e!==void 0&&(i=F.motionValue(e,{owner:this}),this.addValue(t,i)),i}readValue(t){var e;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(e=this.getBaseTargetFromProps(this.props,t))!==null&&e!==void 0?e:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:i}=this.props,s=typeof i=="string"||typeof i=="object"?(e=N.resolveVariantFromProps(this.props,i))===null||e===void 0?void 0:e[t]:void 0;if(i&&s!==void 0)return s;const n=this.getBaseTargetFromProps(this.props,t);return n!==void 0&&!V.isMotionValue(n)?n:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,e){return this.events[t]||(this.events[t]=new y.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}exports.VisualElement=O;
package/dist/lyra173.js CHANGED
@@ -1,7 +1,261 @@
1
- const r = /* @__PURE__ */ new Set();
2
- function w(c, n, o) {
3
- c || r.has(n) || (console.warn(n), o && console.warn(o), r.add(n));
1
+ import { warning as b, invariant as S } from "./lyra151.js";
2
+ import { createBox as P } from "./lyra174.js";
3
+ import { isRefObject as T } from "./lyra175.js";
4
+ import { initPrefersReducedMotion as F } from "./lyra176.js";
5
+ import { hasReducedMotionListener as y, prefersReducedMotion as R } from "./lyra177.js";
6
+ import { SubscriptionManager as j } from "./lyra178.js";
7
+ import { motionValue as w } from "./lyra179.js";
8
+ import { isWillChangeMotionValue as N } from "./lyra180.js";
9
+ import { isMotionValue as c } from "./lyra154.js";
10
+ import { transformProps as E } from "./lyra181.js";
11
+ import { isControllingVariants as x, isVariantNode as B } from "./lyra182.js";
12
+ import { isVariantLabel as L } from "./lyra183.js";
13
+ import { updateMotionValuesFromProps as I } from "./lyra184.js";
14
+ import { resolveVariantFromProps as O } from "./lyra185.js";
15
+ import { warnOnce as A } from "./lyra186.js";
16
+ import { featureDefinitions as g } from "./lyra187.js";
17
+ import { variantProps as M } from "./lyra188.js";
18
+ import { visualElementStore as f } from "./lyra189.js";
19
+ import { frame as m, cancelFrame as V } from "./lyra190.js";
20
+ const C = Object.keys(g), U = C.length, v = [
21
+ "AnimationStart",
22
+ "AnimationComplete",
23
+ "Update",
24
+ "BeforeLayoutMeasure",
25
+ "LayoutMeasure",
26
+ "LayoutAnimationStart",
27
+ "LayoutAnimationComplete"
28
+ ], _ = M.length;
29
+ class ot {
30
+ constructor({ parent: t, props: e, presenceContext: i, reducedMotionConfig: s, visualState: r }, u = {}) {
31
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
32
+ this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
33
+ }, this.scheduleRender = () => m.render(this.render, !1, !0);
34
+ const { latestValues: h, renderState: n } = r;
35
+ this.latestValues = h, this.baseTarget = { ...h }, this.initialValues = e.initial ? { ...h } : {}, this.renderState = n, this.parent = t, this.props = e, this.presenceContext = i, this.depth = t ? t.depth + 1 : 0, this.reducedMotionConfig = s, this.options = u, this.isControllingVariants = x(e), this.isVariantNode = B(e), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(t && t.current);
36
+ const { willChange: o, ...p } = this.scrapeMotionValuesFromProps(e, {});
37
+ for (const a in p) {
38
+ const l = p[a];
39
+ h[a] !== void 0 && c(l) && (l.set(h[a], !1), N(o) && o.add(a));
40
+ }
41
+ }
42
+ /**
43
+ * This method takes React props and returns found MotionValues. For example, HTML
44
+ * MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.
45
+ *
46
+ * This isn't an abstract method as it needs calling in the constructor, but it is
47
+ * intended to be one.
48
+ */
49
+ scrapeMotionValuesFromProps(t, e) {
50
+ return {};
51
+ }
52
+ mount(t) {
53
+ this.current = t, f.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, i) => this.bindToMotionValue(i, e)), y.current || F(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : R.current, process.env.NODE_ENV !== "production" && A(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
54
+ }
55
+ unmount() {
56
+ f.delete(this.current), this.projection && this.projection.unmount(), V(this.notifyUpdate), V(this.render), this.valueSubscriptions.forEach((t) => t()), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
57
+ for (const t in this.events)
58
+ this.events[t].clear();
59
+ for (const t in this.features)
60
+ this.features[t].unmount();
61
+ this.current = null;
62
+ }
63
+ bindToMotionValue(t, e) {
64
+ const i = E.has(t), s = e.on("change", (u) => {
65
+ this.latestValues[t] = u, this.props.onUpdate && m.update(this.notifyUpdate, !1, !0), i && this.projection && (this.projection.isTransformDirty = !0);
66
+ }), r = e.on("renderRequest", this.scheduleRender);
67
+ this.valueSubscriptions.set(t, () => {
68
+ s(), r();
69
+ });
70
+ }
71
+ sortNodePosition(t) {
72
+ return !this.current || !this.sortInstanceNodePosition || this.type !== t.type ? 0 : this.sortInstanceNodePosition(this.current, t.current);
73
+ }
74
+ loadFeatures({ children: t, ...e }, i, s, r) {
75
+ let u, h;
76
+ if (process.env.NODE_ENV !== "production" && s && i) {
77
+ const n = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
78
+ e.ignoreStrict ? b(!1, n) : S(!1, n);
79
+ }
80
+ for (let n = 0; n < U; n++) {
81
+ const o = C[n], { isEnabled: p, Feature: a, ProjectionNode: l, MeasureLayout: d } = g[o];
82
+ l && (u = l), p(e) && (!this.features[o] && a && (this.features[o] = new a(this)), d && (h = d));
83
+ }
84
+ if (!this.projection && u) {
85
+ this.projection = new u(this.latestValues, this.parent && this.parent.projection);
86
+ const { layoutId: n, layout: o, drag: p, dragConstraints: a, layoutScroll: l, layoutRoot: d } = e;
87
+ this.projection.setOptions({
88
+ layoutId: n,
89
+ layout: o,
90
+ alwaysMeasureLayout: !!p || a && T(a),
91
+ visualElement: this,
92
+ scheduleRender: () => this.scheduleRender(),
93
+ /**
94
+ * TODO: Update options in an effect. This could be tricky as it'll be too late
95
+ * to update by the time layout animations run.
96
+ * We also need to fix this safeToRemove by linking it up to the one returned by usePresence,
97
+ * ensuring it gets called if there's no potential layout animations.
98
+ *
99
+ */
100
+ animationType: typeof o == "string" ? o : "both",
101
+ initialPromotionConfig: r,
102
+ layoutScroll: l,
103
+ layoutRoot: d
104
+ });
105
+ }
106
+ return h;
107
+ }
108
+ updateFeatures() {
109
+ for (const t in this.features) {
110
+ const e = this.features[t];
111
+ e.isMounted ? e.update() : (e.mount(), e.isMounted = !0);
112
+ }
113
+ }
114
+ triggerBuild() {
115
+ this.build(this.renderState, this.latestValues, this.options, this.props);
116
+ }
117
+ /**
118
+ * Measure the current viewport box with or without transforms.
119
+ * Only measures axis-aligned boxes, rotate and skew must be manually
120
+ * removed with a re-render to work.
121
+ */
122
+ measureViewportBox() {
123
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : P();
124
+ }
125
+ getStaticValue(t) {
126
+ return this.latestValues[t];
127
+ }
128
+ setStaticValue(t, e) {
129
+ this.latestValues[t] = e;
130
+ }
131
+ /**
132
+ * Make a target animatable by Popmotion. For instance, if we're
133
+ * trying to animate width from 100px to 100vw we need to measure 100vw
134
+ * in pixels to determine what we really need to animate to. This is also
135
+ * pluggable to support Framer's custom value types like Color,
136
+ * and CSS variables.
137
+ */
138
+ makeTargetAnimatable(t, e = !0) {
139
+ return this.makeTargetAnimatableFromInstance(t, this.props, e);
140
+ }
141
+ /**
142
+ * Update the provided props. Ensure any newly-added motion values are
143
+ * added to our map, old ones removed, and listeners updated.
144
+ */
145
+ update(t, e) {
146
+ (t.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = t, this.prevPresenceContext = this.presenceContext, this.presenceContext = e;
147
+ for (let i = 0; i < v.length; i++) {
148
+ const s = v[i];
149
+ this.propEventSubscriptions[s] && (this.propEventSubscriptions[s](), delete this.propEventSubscriptions[s]);
150
+ const r = t["on" + s];
151
+ r && (this.propEventSubscriptions[s] = this.on(s, r));
152
+ }
153
+ this.prevMotionValues = I(this, this.scrapeMotionValuesFromProps(t, this.prevProps), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
154
+ }
155
+ getProps() {
156
+ return this.props;
157
+ }
158
+ /**
159
+ * Returns the variant definition with a given name.
160
+ */
161
+ getVariant(t) {
162
+ return this.props.variants ? this.props.variants[t] : void 0;
163
+ }
164
+ /**
165
+ * Returns the defined default transition on this component.
166
+ */
167
+ getDefaultTransition() {
168
+ return this.props.transition;
169
+ }
170
+ getTransformPagePoint() {
171
+ return this.props.transformPagePoint;
172
+ }
173
+ getClosestVariantNode() {
174
+ return this.isVariantNode ? this : this.parent ? this.parent.getClosestVariantNode() : void 0;
175
+ }
176
+ getVariantContext(t = !1) {
177
+ if (t)
178
+ return this.parent ? this.parent.getVariantContext() : void 0;
179
+ if (!this.isControllingVariants) {
180
+ const i = this.parent ? this.parent.getVariantContext() || {} : {};
181
+ return this.props.initial !== void 0 && (i.initial = this.props.initial), i;
182
+ }
183
+ const e = {};
184
+ for (let i = 0; i < _; i++) {
185
+ const s = M[i], r = this.props[s];
186
+ (L(r) || r === !1) && (e[s] = r);
187
+ }
188
+ return e;
189
+ }
190
+ /**
191
+ * Add a child visual element to our set of children.
192
+ */
193
+ addVariantChild(t) {
194
+ const e = this.getClosestVariantNode();
195
+ if (e)
196
+ return e.variantChildren && e.variantChildren.add(t), () => e.variantChildren.delete(t);
197
+ }
198
+ /**
199
+ * Add a motion value and bind it to this visual element.
200
+ */
201
+ addValue(t, e) {
202
+ e !== this.values.get(t) && (this.removeValue(t), this.bindToMotionValue(t, e)), this.values.set(t, e), this.latestValues[t] = e.get();
203
+ }
204
+ /**
205
+ * Remove a motion value and unbind any active subscriptions.
206
+ */
207
+ removeValue(t) {
208
+ this.values.delete(t);
209
+ const e = this.valueSubscriptions.get(t);
210
+ e && (e(), this.valueSubscriptions.delete(t)), delete this.latestValues[t], this.removeValueFromRenderState(t, this.renderState);
211
+ }
212
+ /**
213
+ * Check whether we have a motion value for this key
214
+ */
215
+ hasValue(t) {
216
+ return this.values.has(t);
217
+ }
218
+ getValue(t, e) {
219
+ if (this.props.values && this.props.values[t])
220
+ return this.props.values[t];
221
+ let i = this.values.get(t);
222
+ return i === void 0 && e !== void 0 && (i = w(e, { owner: this }), this.addValue(t, i)), i;
223
+ }
224
+ /**
225
+ * If we're trying to animate to a previously unencountered value,
226
+ * we need to check for it in our state and as a last resort read it
227
+ * directly from the instance (which might have performance implications).
228
+ */
229
+ readValue(t) {
230
+ var e;
231
+ return this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : (e = this.getBaseTargetFromProps(this.props, t)) !== null && e !== void 0 ? e : this.readValueFromInstance(this.current, t, this.options);
232
+ }
233
+ /**
234
+ * Set the base target to later animate back to. This is currently
235
+ * only hydrated on creation and when we first read a value.
236
+ */
237
+ setBaseTarget(t, e) {
238
+ this.baseTarget[t] = e;
239
+ }
240
+ /**
241
+ * Find the base target for a value thats been removed from all animation
242
+ * props.
243
+ */
244
+ getBaseTarget(t) {
245
+ var e;
246
+ const { initial: i } = this.props, s = typeof i == "string" || typeof i == "object" ? (e = O(this.props, i)) === null || e === void 0 ? void 0 : e[t] : void 0;
247
+ if (i && s !== void 0)
248
+ return s;
249
+ const r = this.getBaseTargetFromProps(this.props, t);
250
+ return r !== void 0 && !c(r) ? r : this.initialValues[t] !== void 0 && s === void 0 ? void 0 : this.baseTarget[t];
251
+ }
252
+ on(t, e) {
253
+ return this.events[t] || (this.events[t] = new j()), this.events[t].add(e);
254
+ }
255
+ notify(t, ...e) {
256
+ this.events[t] && this.events[t].notify(...e);
257
+ }
4
258
  }
5
259
  export {
6
- w as warnOnce
260
+ ot as VisualElement
7
261
  };
package/dist/lyra174.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},o={};for(const e in n)o[e]={isEnabled:a=>n[e].some(t=>!!a[t])};exports.featureDefinitions=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=()=>({translate:0,scale:1,origin:0,originPoint:0}),a=()=>({x:e(),y:e()}),t=()=>({min:0,max:0}),c=()=>({x:t(),y:t()});exports.createAxis=t;exports.createAxisDelta=e;exports.createBox=c;exports.createDelta=a;
package/dist/lyra174.js CHANGED
@@ -1,27 +1,18 @@
1
- const n = {
2
- animation: [
3
- "animate",
4
- "variants",
5
- "whileHover",
6
- "whileTap",
7
- "exit",
8
- "whileInView",
9
- "whileFocus",
10
- "whileDrag"
11
- ],
12
- exit: ["exit"],
13
- drag: ["drag", "dragControls"],
14
- focus: ["whileFocus"],
15
- hover: ["whileHover", "onHoverStart", "onHoverEnd"],
16
- tap: ["whileTap", "onTap", "onTapStart", "onTapCancel"],
17
- pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
18
- inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
19
- layout: ["layout", "layoutId"]
20
- }, t = {};
21
- for (const e in n)
22
- t[e] = {
23
- isEnabled: (o) => n[e].some((a) => !!o[a])
24
- };
1
+ const t = () => ({
2
+ translate: 0,
3
+ scale: 1,
4
+ origin: 0,
5
+ originPoint: 0
6
+ }), a = () => ({
7
+ x: t(),
8
+ y: t()
9
+ }), e = () => ({ min: 0, max: 0 }), c = () => ({
10
+ x: e(),
11
+ y: e()
12
+ });
25
13
  export {
26
- t as featureDefinitions
14
+ e as createAxis,
15
+ t as createAxisDelta,
16
+ c as createBox,
17
+ a as createDelta
27
18
  };
package/dist/lyra175.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...i];exports.variantPriorityOrder=i;exports.variantProps=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function t(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}exports.isRefObject=t;
package/dist/lyra175.js CHANGED
@@ -1,13 +1,6 @@
1
- const i = [
2
- "animate",
3
- "whileInView",
4
- "whileFocus",
5
- "whileHover",
6
- "whileTap",
7
- "whileDrag",
8
- "exit"
9
- ], e = ["initial", ...i];
1
+ function e(t) {
2
+ return typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
3
+ }
10
4
  export {
11
- i as variantPriorityOrder,
12
- e as variantProps
5
+ e as isRefObject
13
6
  };
package/dist/lyra176.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=new WeakMap;exports.visualElementStore=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./lyra169.cjs"),e=require("./lyra177.cjs");function o(){if(e.hasReducedMotionListener.current=!0,!!i.isBrowser)if(window.matchMedia){const r=window.matchMedia("(prefers-reduced-motion)"),t=()=>e.prefersReducedMotion.current=r.matches;r.addListener(t),t()}else e.prefersReducedMotion.current=!1}exports.initPrefersReducedMotion=o;
package/dist/lyra176.js CHANGED
@@ -1,4 +1,13 @@
1
- const e = /* @__PURE__ */ new WeakMap();
1
+ import { isBrowser as o } from "./lyra169.js";
2
+ import { hasReducedMotionListener as i, prefersReducedMotion as t } from "./lyra177.js";
3
+ function c() {
4
+ if (i.current = !0, !!o)
5
+ if (window.matchMedia) {
6
+ const e = window.matchMedia("(prefers-reduced-motion)"), r = () => t.current = e.matches;
7
+ e.addListener(r), r();
8
+ } else
9
+ t.current = !1;
10
+ }
2
11
  export {
3
- e as visualElementStore
12
+ c as initPrefersReducedMotion
4
13
  };
package/dist/lyra177.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={};function o(r){Object.assign(e,r)}exports.addScaleCorrector=o;exports.scaleCorrectors=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={current:null},t={current:!1};exports.hasReducedMotionListener=t;exports.prefersReducedMotion=e;
package/dist/lyra177.js CHANGED
@@ -1,8 +1,5 @@
1
- const o = {};
2
- function r(c) {
3
- Object.assign(o, c);
4
- }
1
+ const e = { current: null }, n = { current: !1 };
5
2
  export {
6
- r as addScaleCorrector,
7
- o as scaleCorrectors
3
+ n as hasReducedMotionListener,
4
+ e as prefersReducedMotion
8
5
  };
package/dist/lyra178.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./lyra168.cjs"),u={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},c=o.transformPropOrder.length;function d(e,{enableHardwareAcceleration:a=!0,allowTransformNone:l=!0},s,i){let r="";for(let n=0;n<c;n++){const t=o.transformPropOrder[n];if(e[t]!==void 0){const f=u[t]||t;r+=`${f}(${e[t]}) `}}return a&&!e.z&&(r+="translateZ(0)"),r=r.trim(),i?r=i(e,s?"":r):l&&s&&(r="none"),r}exports.buildTransform=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./lyra217.cjs");class u{constructor(){this.subscriptions=[]}add(s){return o.addUniqueItem(this.subscriptions,s),()=>o.removeItem(this.subscriptions,s)}notify(s,r,e){const t=this.subscriptions.length;if(t)if(t===1)this.subscriptions[0](s,r,e);else for(let i=0;i<t;i++){const n=this.subscriptions[i];n&&n(s,r,e)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}exports.SubscriptionManager=u;