@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/lyra142.js CHANGED
@@ -1,30 +1,50 @@
1
- import { useContext as o, useRef as C, useInsertionEffect as d, useEffect as f } from "react";
2
- import { PresenceContext as l } from "./lyra138.js";
3
- import { MotionContext as x } from "./lyra141.js";
4
- import { useIsomorphicLayoutEffect as a } from "./lyra126.js";
5
- import { LazyContext as E } from "./lyra147.js";
6
- import { MotionConfigContext as g } from "./lyra140.js";
7
- function z(s, m, r, e) {
8
- const { visualElement: u } = o(x), c = o(E), n = o(l), p = o(g).reducedMotion, i = C();
9
- e = e || c.renderer, !i.current && e && (i.current = e(s, {
10
- visualState: m,
11
- parent: u,
12
- props: r,
13
- presenceContext: n,
14
- blockInitialAnimation: n ? n.initial === !1 : !1,
15
- reducedMotionConfig: p
16
- }));
17
- const t = i.current;
18
- return d(() => {
19
- t && t.update(r, n);
20
- }), a(() => {
21
- t && t.render();
22
- }), f(() => {
23
- t && t.updateFeatures();
24
- }), (window.HandoffAppearAnimations ? a : f)(() => {
25
- t && t.animationState && t.animationState.animateChanges();
26
- }), t;
1
+ import * as f from "react";
2
+ import { forwardRef as d, useContext as r } from "react";
3
+ import { MotionConfigContext as y } from "./lyra143.js";
4
+ import { MotionContext as M } from "./lyra144.js";
5
+ import { useVisualElement as L } from "./lyra145.js";
6
+ import { useMotionRef as G } from "./lyra146.js";
7
+ import { useCreateMotionContext as S } from "./lyra147.js";
8
+ import { loadFeatures as w } from "./lyra148.js";
9
+ import { isBrowser as g } from "./lyra149.js";
10
+ import { LayoutGroupContext as R } from "./lyra128.js";
11
+ import { LazyContext as P } from "./lyra150.js";
12
+ import { SwitchLayoutGroupContext as $ } from "./lyra151.js";
13
+ import { motionComponentSymbol as b } from "./lyra152.js";
14
+ function K({ preloadedFeatures: o, createVisualElement: n, useRender: c, useVisualState: C, Component: m }) {
15
+ o && w(o);
16
+ function E(e, p) {
17
+ let u;
18
+ const i = {
19
+ ...r(y),
20
+ ...e,
21
+ layoutId: h(e)
22
+ }, { isStatic: a } = i, t = S(e), l = C(e, a);
23
+ if (!a && g) {
24
+ t.visualElement = L(m, l, i, n);
25
+ const v = r($), x = r(P).strict;
26
+ t.visualElement && (u = t.visualElement.loadFeatures(
27
+ // Note: Pass the full new combined props to correctly re-render dynamic feature components.
28
+ i,
29
+ x,
30
+ o,
31
+ v
32
+ ));
33
+ }
34
+ return f.createElement(
35
+ M.Provider,
36
+ { value: t },
37
+ u && t.visualElement ? f.createElement(u, { visualElement: t.visualElement, ...i }) : null,
38
+ c(m, e, G(l, t.visualElement, p), l, a, t.visualElement)
39
+ );
40
+ }
41
+ const s = d(E);
42
+ return s[b] = m, s;
43
+ }
44
+ function h({ layoutId: o }) {
45
+ const n = r(R).id;
46
+ return n && o !== void 0 ? n + "-" + o : o;
27
47
  }
28
48
  export {
29
- z as useVisualElement
49
+ K as createMotionComponent
30
50
  };
package/dist/lyra143.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),c=require("./lyra153.cjs");function i(f,r,u){return t.useCallback(o=>{o&&f.mount&&f.mount(o),r&&(o?r.mount(o):r.unmount()),u&&(typeof u=="function"?u(o):c.isRefObject(u)&&(u.current=o))},[r])}exports.useMotionRef=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),o=e.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});exports.MotionConfigContext=o;
package/dist/lyra143.js CHANGED
@@ -1,18 +1,9 @@
1
- import { useCallback as r } from "react";
2
- import { isRefObject as p } from "./lyra153.js";
3
- function j(m, u, f) {
4
- return r(
5
- (o) => {
6
- o && m.mount && m.mount(o), u && (o ? u.mount(o) : u.unmount()), f && (typeof f == "function" ? f(o) : p(f) && (f.current = o));
7
- },
8
- /**
9
- * Only pass a new ref callback to React if we've received a visual element
10
- * factory. Otherwise we'll be mounting/remounting every time externalRef
11
- * or other dependencies change.
12
- */
13
- [u]
14
- );
15
- }
1
+ import { createContext as o } from "react";
2
+ const n = o({
3
+ transformPagePoint: (t) => t,
4
+ isStatic: !1,
5
+ reducedMotion: "never"
6
+ });
16
7
  export {
17
- j as useMotionRef
8
+ n as MotionConfigContext
18
9
  };
package/dist/lyra144.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),o=require("./lyra141.cjs"),u=require("./lyra257.cjs");function a(e){const{initial:t,animate:n}=u.getCurrentTreeVariants(e,r.useContext(o.MotionContext));return r.useMemo(()=>({initial:t,animate:n}),[i(t),i(n)])}function i(e){return Array.isArray(e)?e.join(" "):e}exports.useCreateMotionContext=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=t.createContext({});exports.MotionContext=e;
package/dist/lyra144.js CHANGED
@@ -1,13 +1,5 @@
1
- import { useContext as o, useMemo as i } from "react";
2
- import { MotionContext as a } from "./lyra141.js";
3
- import { getCurrentTreeVariants as m } from "./lyra257.js";
4
- function C(t) {
5
- const { initial: e, animate: n } = m(t, o(a));
6
- return i(() => ({ initial: e, animate: n }), [r(e), r(n)]);
7
- }
8
- function r(t) {
9
- return Array.isArray(t) ? t.join(" ") : t;
10
- }
1
+ import { createContext as t } from "react";
2
+ const e = t({});
11
3
  export {
12
- C as useCreateMotionContext
4
+ e as MotionContext
13
5
  };
package/dist/lyra145.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./lyra165.cjs");function n(i){for(const e in i)t.featureDefinitions[e]={...t.featureDefinitions[e],...i[e]}}exports.loadFeatures=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),d=require("./lyra141.cjs"),x=require("./lyra144.cjs"),r=require("./lyra129.cjs"),l=require("./lyra150.cjs"),m=require("./lyra143.cjs");function E(u,c,i,n){const{visualElement:a}=t.useContext(x.MotionContext),f=t.useContext(l.LazyContext),o=t.useContext(d.PresenceContext),C=t.useContext(m.MotionConfigContext).reducedMotion,s=t.useRef();n=n||f.renderer,!s.current&&n&&(s.current=n(u,{visualState:c,parent:a,props:i,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:C}));const e=s.current;return t.useInsertionEffect(()=>{e&&e.update(i,o)}),r.useIsomorphicLayoutEffect(()=>{e&&e.render()}),t.useEffect(()=>{e&&e.updateFeatures()}),(window.HandoffAppearAnimations?r.useIsomorphicLayoutEffect:t.useEffect)(()=>{e&&e.animationState&&e.animationState.animateChanges()}),e}exports.useVisualElement=E;
package/dist/lyra145.js CHANGED
@@ -1,11 +1,30 @@
1
- import { featureDefinitions as n } from "./lyra165.js";
2
- function e(i) {
3
- for (const o in i)
4
- n[o] = {
5
- ...n[o],
6
- ...i[o]
7
- };
1
+ import { useContext as o, useRef as C, useInsertionEffect as d, useEffect as f } from "react";
2
+ import { PresenceContext as l } from "./lyra141.js";
3
+ import { MotionContext as x } from "./lyra144.js";
4
+ import { useIsomorphicLayoutEffect as a } from "./lyra129.js";
5
+ import { LazyContext as E } from "./lyra150.js";
6
+ import { MotionConfigContext as g } from "./lyra143.js";
7
+ function z(s, m, r, e) {
8
+ const { visualElement: u } = o(x), c = o(E), n = o(l), p = o(g).reducedMotion, i = C();
9
+ e = e || c.renderer, !i.current && e && (i.current = e(s, {
10
+ visualState: m,
11
+ parent: u,
12
+ props: r,
13
+ presenceContext: n,
14
+ blockInitialAnimation: n ? n.initial === !1 : !1,
15
+ reducedMotionConfig: p
16
+ }));
17
+ const t = i.current;
18
+ return d(() => {
19
+ t && t.update(r, n);
20
+ }), a(() => {
21
+ t && t.render();
22
+ }), f(() => {
23
+ t && t.updateFeatures();
24
+ }), (window.HandoffAppearAnimations ? a : f)(() => {
25
+ t && t.animationState && t.animationState.animateChanges();
26
+ }), t;
8
27
  }
9
28
  export {
10
- e as loadFeatures
29
+ z as useVisualElement
11
30
  };
package/dist/lyra146.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=typeof document<"u";exports.isBrowser=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),c=require("./lyra156.cjs");function i(f,r,u){return t.useCallback(o=>{o&&f.mount&&f.mount(o),r&&(o?r.mount(o):r.unmount()),u&&(typeof u=="function"?u(o):c.isRefObject(u)&&(u.current=o))},[r])}exports.useMotionRef=i;
package/dist/lyra146.js CHANGED
@@ -1,4 +1,18 @@
1
- const e = typeof document < "u";
1
+ import { useCallback as r } from "react";
2
+ import { isRefObject as p } from "./lyra156.js";
3
+ function j(m, u, f) {
4
+ return r(
5
+ (o) => {
6
+ o && m.mount && m.mount(o), u && (o ? u.mount(o) : u.unmount()), f && (typeof f == "function" ? f(o) : p(f) && (f.current = o));
7
+ },
8
+ /**
9
+ * Only pass a new ref callback to React if we've received a visual element
10
+ * factory. Otherwise we'll be mounting/remounting every time externalRef
11
+ * or other dependencies change.
12
+ */
13
+ [u]
14
+ );
15
+ }
2
16
  export {
3
- e as isBrowser
17
+ j as useMotionRef
4
18
  };
package/dist/lyra147.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=t.createContext({strict:!1});exports.LazyContext=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),o=require("./lyra144.cjs"),u=require("./lyra256.cjs");function a(e){const{initial:t,animate:n}=u.getCurrentTreeVariants(e,r.useContext(o.MotionContext));return r.useMemo(()=>({initial:t,animate:n}),[i(t),i(n)])}function i(e){return Array.isArray(e)?e.join(" "):e}exports.useCreateMotionContext=a;
package/dist/lyra147.js CHANGED
@@ -1,5 +1,13 @@
1
- import { createContext as t } from "react";
2
- const o = t({ strict: !1 });
1
+ import { useContext as o, useMemo as i } from "react";
2
+ import { MotionContext as a } from "./lyra144.js";
3
+ import { getCurrentTreeVariants as m } from "./lyra256.js";
4
+ function C(t) {
5
+ const { initial: e, animate: n } = m(t, o(a));
6
+ return i(() => ({ initial: e, animate: n }), [r(e), r(n)]);
7
+ }
8
+ function r(t) {
9
+ return Array.isArray(t) ? t.join(" ") : t;
10
+ }
3
11
  export {
4
- o as LazyContext
12
+ C as useCreateMotionContext
5
13
  };
package/dist/lyra148.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=t.createContext({});exports.SwitchLayoutGroupContext=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./lyra168.cjs");function n(i){for(const e in i)t.featureDefinitions[e]={...t.featureDefinitions[e],...i[e]}}exports.loadFeatures=n;
package/dist/lyra148.js CHANGED
@@ -1,5 +1,11 @@
1
- import { createContext as t } from "react";
2
- const e = t({});
1
+ import { featureDefinitions as n } from "./lyra168.js";
2
+ function e(i) {
3
+ for (const o in i)
4
+ n[o] = {
5
+ ...n[o],
6
+ ...i[o]
7
+ };
8
+ }
3
9
  export {
4
- e as SwitchLayoutGroupContext
10
+ e as loadFeatures
5
11
  };
package/dist/lyra149.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=Symbol.for("motionComponentSymbol");exports.motionComponentSymbol=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=typeof document<"u";exports.isBrowser=e;
package/dist/lyra149.js CHANGED
@@ -1,4 +1,4 @@
1
- const o = Symbol.for("motionComponentSymbol");
1
+ const e = typeof document < "u";
2
2
  export {
3
- o as motionComponentSymbol
3
+ e as isBrowser
4
4
  };
package/dist/lyra15.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./lyra36.cjs"),i=require("react"),n=require("./lyra19.cjs"),x=require("./lyra8.cjs");require("./lyra77.cjs");const o=require("./lyra28.cjs"),u={showPassword:"Show password",hidePassword:"Hide password"},a=({translations:e,...r})=>{const[s,d]=i.useState("password");return e={...u,...e},t.jsxRuntimeExports.jsx(n.TextField,{...r,type:s,endSlot:t.jsxRuntimeExports.jsx(x.Button,{type:"button",className:"me-1",variant:"ghost",color:"monochrome",size:"small",onPress:()=>{d(s==="password"?"text":"password")},tooltip:s==="text"?e.hidePassword:e.showPassword,children:s==="text"?t.jsxRuntimeExports.jsx(o.SvgIcon,{name:"eye-slash"}):t.jsxRuntimeExports.jsx(o.SvgIcon,{name:"eye"})})})};exports.PasswordTextField=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./lyra36.cjs"),i=require("react"),n=require("./lyra19.cjs"),x=require("./lyra8.cjs");require("./lyra81.cjs");const o=require("./lyra28.cjs"),u={showPassword:"Show password",hidePassword:"Hide password"},a=({translations:e,...r})=>{const[s,d]=i.useState("password");return e={...u,...e},t.jsxRuntimeExports.jsx(n.TextField,{...r,type:s,endSlot:t.jsxRuntimeExports.jsx(x.Button,{type:"button",className:"me-1",variant:"ghost",color:"monochrome",size:"small",onPress:()=>{d(s==="password"?"text":"password")},tooltip:s==="text"?e.hidePassword:e.showPassword,children:s==="text"?t.jsxRuntimeExports.jsx(o.SvgIcon,{name:"eye-slash"}):t.jsxRuntimeExports.jsx(o.SvgIcon,{name:"eye"})})})};exports.PasswordTextField=a;
package/dist/lyra15.js CHANGED
@@ -2,7 +2,7 @@ import { j as e } from "./lyra36.js";
2
2
  import { useState as d } from "react";
3
3
  import { TextField as p } from "./lyra19.js";
4
4
  import { Button as a } from "./lyra8.js";
5
- import "./lyra77.js";
5
+ import "./lyra81.js";
6
6
  import { SvgIcon as t } from "./lyra28.js";
7
7
  const i = {
8
8
  showPassword: "Show password",
package/dist/lyra150.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./lyra151.cjs"),f=require("./lyra128.cjs"),P=require("./lyra152.cjs"),T=require("./lyra153.cjs"),y=require("./lyra154.cjs"),V=require("./lyra155.cjs"),q=require("./lyra156.cjs"),F=require("./lyra157.cjs"),j=require("./lyra158.cjs"),m=require("./lyra131.cjs"),R=require("./lyra159.cjs"),v=require("./lyra160.cjs"),w=require("./lyra161.cjs"),E=require("./lyra162.cjs"),x=require("./lyra163.cjs"),N=require("./lyra164.cjs"),C=require("./lyra165.cjs"),b=require("./lyra166.cjs"),g=require("./lyra167.cjs"),S=Object.keys(C.featureDefinitions),L=S.length,M=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],O=b.variantProps.length;class B{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&&m.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)),V.hasReducedMotionListener.current||y.initPrefersReducedMotion(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:V.prefersReducedMotion.current,process.env.NODE_ENV!=="production"&&N.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<L;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<O;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){return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]: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=x.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&&!m.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 q.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}}exports.VisualElement=B;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=t.createContext({strict:!1});exports.LazyContext=e;
package/dist/lyra150.js CHANGED
@@ -1,260 +1,5 @@
1
- import { frame as c, cancelFrame as f } from "./lyra151.js";
2
- import { warning as b, invariant as S } from "./lyra128.js";
3
- import { createBox as P } from "./lyra152.js";
4
- import { isRefObject as T } from "./lyra153.js";
5
- import { initPrefersReducedMotion as y } from "./lyra154.js";
6
- import { hasReducedMotionListener as F, prefersReducedMotion as R } from "./lyra155.js";
7
- import { SubscriptionManager as j } from "./lyra156.js";
8
- import { motionValue as w } from "./lyra157.js";
9
- import { isWillChangeMotionValue as N } from "./lyra158.js";
10
- import { isMotionValue as m } from "./lyra131.js";
11
- import { transformProps as E } from "./lyra159.js";
12
- import { isControllingVariants as x, isVariantNode as B } from "./lyra160.js";
13
- import { isVariantLabel as L } from "./lyra161.js";
14
- import { updateMotionValuesFromProps as I } from "./lyra162.js";
15
- import { resolveVariantFromProps as O } from "./lyra163.js";
16
- import { warnOnce as A } from "./lyra164.js";
17
- import { featureDefinitions as g } from "./lyra165.js";
18
- import { variantProps as M } from "./lyra166.js";
19
- import { visualElementStore as V } from "./lyra167.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
- ], D = 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 = () => c.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 && m(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, V.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)), F.current || y(), 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
- V.delete(this.current), this.projection && this.projection.unmount(), f(this.notifyUpdate), f(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 && c.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 < D; 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
- return this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : this.readValueFromInstance(this.current, t, this.options);
231
- }
232
- /**
233
- * Set the base target to later animate back to. This is currently
234
- * only hydrated on creation and when we first read a value.
235
- */
236
- setBaseTarget(t, e) {
237
- this.baseTarget[t] = e;
238
- }
239
- /**
240
- * Find the base target for a value thats been removed from all animation
241
- * props.
242
- */
243
- getBaseTarget(t) {
244
- var e;
245
- 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;
246
- if (i && s !== void 0)
247
- return s;
248
- const r = this.getBaseTargetFromProps(this.props, t);
249
- return r !== void 0 && !m(r) ? r : this.initialValues[t] !== void 0 && s === void 0 ? void 0 : this.baseTarget[t];
250
- }
251
- on(t, e) {
252
- return this.events[t] || (this.events[t] = new j()), this.events[t].add(e);
253
- }
254
- notify(t, ...e) {
255
- this.events[t] && this.events[t].notify(...e);
256
- }
257
- }
1
+ import { createContext as t } from "react";
2
+ const o = t({ strict: !1 });
258
3
  export {
259
- ot as VisualElement
4
+ o as LazyContext
260
5
  };
package/dist/lyra151.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./lyra212.cjs"),r=require("./lyra196.cjs"),p=40;let c=!0,a=!1;const s=["read","update","preRender","render","postRender"],n=s.reduce((e,t)=>(e[t]=l.createRenderStep(()=>a=!0),e),{}),d=e=>n[e].process(r.frameData),o=e=>{a=!1,r.frameData.delta=c?1e3/60:Math.max(Math.min(e-r.frameData.timestamp,p),1),r.frameData.timestamp=e,r.frameData.isProcessing=!0,s.forEach(d),r.frameData.isProcessing=!1,a&&(c=!1,requestAnimationFrame(o))},D=()=>{a=!0,c=!0,r.frameData.isProcessing||requestAnimationFrame(o)},F=s.reduce((e,t)=>{const f=n[t];return e[t]=(m,u=!1,i=!1)=>(a||D(),f.schedule(m,u,i)),e},{});function g(e){s.forEach(t=>n[t].cancel(e))}exports.cancelFrame=g;exports.frame=F;exports.steps=n;exports.stepsOrder=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=t.createContext({});exports.SwitchLayoutGroupContext=e;
package/dist/lyra151.js CHANGED
@@ -1,27 +1,5 @@
1
- import { createRenderStep as f } from "./lyra212.js";
2
- import { frameData as r } from "./lyra196.js";
3
- const l = 40;
4
- let n = !0, s = !1;
5
- const a = [
6
- "read",
7
- "update",
8
- "preRender",
9
- "render",
10
- "postRender"
11
- ], o = a.reduce((e, t) => (e[t] = f(() => s = !0), e), {}), d = (e) => o[e].process(r), c = (e) => {
12
- s = !1, r.delta = n ? 1e3 / 60 : Math.max(Math.min(e - r.timestamp, l), 1), r.timestamp = e, r.isProcessing = !0, a.forEach(d), r.isProcessing = !1, s && (n = !1, requestAnimationFrame(c));
13
- }, h = () => {
14
- s = !0, n = !0, r.isProcessing || requestAnimationFrame(c);
15
- }, E = a.reduce((e, t) => {
16
- const i = o[t];
17
- return e[t] = (m, p = !1, u = !1) => (s || h(), i.schedule(m, p, u)), e;
18
- }, {});
19
- function g(e) {
20
- a.forEach((t) => o[t].cancel(e));
21
- }
1
+ import { createContext as t } from "react";
2
+ const e = t({});
22
3
  export {
23
- g as cancelFrame,
24
- E as frame,
25
- o as steps,
26
- a as stepsOrder
4
+ e as SwitchLayoutGroupContext
27
5
  };
package/dist/lyra152.cjs CHANGED
@@ -1 +1 @@
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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=Symbol.for("motionComponentSymbol");exports.motionComponentSymbol=o;
package/dist/lyra152.js CHANGED
@@ -1,18 +1,4 @@
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
- });
1
+ const o = Symbol.for("motionComponentSymbol");
13
2
  export {
14
- e as createAxis,
15
- t as createAxisDelta,
16
- c as createBox,
17
- a as createDelta
3
+ o as motionComponentSymbol
18
4
  };