@new-black/lyra 0.0.14 → 0.0.16

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 (590) hide show
  1. package/dist/components/accordion/accordion.d.ts +8 -10
  2. package/dist/components/accordion/accordion.d.ts.map +1 -1
  3. package/dist/components/list-box/list-box.d.ts +8 -10
  4. package/dist/components/list-box/list-box.d.ts.map +1 -1
  5. package/dist/lyra.cjs +1 -1
  6. package/dist/lyra.js +73 -69
  7. package/dist/lyra10.cjs +1 -1
  8. package/dist/lyra10.js +2 -2
  9. package/dist/lyra100.cjs +1 -1
  10. package/dist/lyra100.js +327 -6
  11. package/dist/lyra101.cjs +1 -1
  12. package/dist/lyra101.js +95 -24
  13. package/dist/lyra102.cjs +1 -1
  14. package/dist/lyra102.js +23 -95
  15. package/dist/lyra103.cjs +1 -1
  16. package/dist/lyra103.js +37 -34
  17. package/dist/lyra104.cjs +1 -1
  18. package/dist/lyra104.js +16 -135
  19. package/dist/lyra105.cjs +1 -1
  20. package/dist/lyra105.js +990 -23
  21. package/dist/lyra106.cjs +1 -1
  22. package/dist/lyra106.js +2 -98
  23. package/dist/lyra107.cjs +1 -1
  24. package/dist/lyra107.js +24 -24
  25. package/dist/lyra108.cjs +1 -1
  26. package/dist/lyra108.js +2 -39
  27. package/dist/lyra109.cjs +1 -1
  28. package/dist/lyra109.js +43 -3
  29. package/dist/lyra11.cjs +1 -1
  30. package/dist/lyra11.js +1 -1
  31. package/dist/lyra110.cjs +1 -1
  32. package/dist/lyra110.js +241 -17
  33. package/dist/lyra111.cjs +1 -1
  34. package/dist/lyra111.js +61 -13
  35. package/dist/lyra112.cjs +1 -1
  36. package/dist/lyra112.js +2 -19
  37. package/dist/lyra113.cjs +1 -1
  38. package/dist/lyra113.js +2 -11
  39. package/dist/lyra114.cjs +9 -1
  40. package/dist/lyra114.js +47 -14
  41. package/dist/lyra115.cjs +9 -1
  42. package/dist/lyra115.js +83 -5
  43. package/dist/lyra116.cjs +1 -1
  44. package/dist/lyra116.js +17 -8
  45. package/dist/lyra117.cjs +1 -1
  46. package/dist/lyra117.js +13 -9
  47. package/dist/lyra118.cjs +1 -1
  48. package/dist/lyra118.js +19 -9
  49. package/dist/lyra119.cjs +1 -1
  50. package/dist/lyra119.js +10 -37
  51. package/dist/lyra12.cjs +1 -1
  52. package/dist/lyra12.js +3 -3
  53. package/dist/lyra120.cjs +1 -1
  54. package/dist/lyra120.js +15 -3
  55. package/dist/lyra121.cjs +1 -1
  56. package/dist/lyra121.js +5 -4
  57. package/dist/lyra122.cjs +1 -1
  58. package/dist/lyra122.js +9 -5
  59. package/dist/lyra123.cjs +1 -1
  60. package/dist/lyra123.js +10 -10
  61. package/dist/lyra124.cjs +1 -1
  62. package/dist/lyra124.js +8 -6
  63. package/dist/lyra125.cjs +1 -1
  64. package/dist/lyra125.js +38 -4
  65. package/dist/lyra126.cjs +1 -1
  66. package/dist/lyra126.js +3 -2
  67. package/dist/lyra127.cjs +1 -1
  68. package/dist/lyra127.js +4 -18
  69. package/dist/lyra128.cjs +1 -1
  70. package/dist/lyra128.js +4 -13
  71. package/dist/lyra129.cjs +1 -1
  72. package/dist/lyra129.js +10 -33
  73. package/dist/lyra13.cjs +1 -1
  74. package/dist/lyra13.js +1 -1
  75. package/dist/lyra130.cjs +1 -1
  76. package/dist/lyra130.js +6 -29
  77. package/dist/lyra131.cjs +1 -1
  78. package/dist/lyra131.js +4 -39
  79. package/dist/lyra132.cjs +1 -1
  80. package/dist/lyra132.js +2 -10
  81. package/dist/lyra133.cjs +1 -1
  82. package/dist/lyra133.js +18 -3
  83. package/dist/lyra134.cjs +1 -1
  84. package/dist/lyra134.js +12 -46
  85. package/dist/lyra135.cjs +1 -1
  86. package/dist/lyra135.js +33 -7
  87. package/dist/lyra136.cjs +1 -1
  88. package/dist/lyra136.js +30 -3
  89. package/dist/lyra137.cjs +1 -1
  90. package/dist/lyra137.js +38 -27
  91. package/dist/lyra138.cjs +1 -1
  92. package/dist/lyra138.js +9 -15
  93. package/dist/lyra139.cjs +1 -1
  94. package/dist/lyra139.js +3 -11
  95. package/dist/lyra14.cjs +1 -1
  96. package/dist/lyra14.js +13 -13
  97. package/dist/lyra140.cjs +1 -1
  98. package/dist/lyra140.js +47 -8
  99. package/dist/lyra141.cjs +1 -1
  100. package/dist/lyra141.js +7 -2
  101. package/dist/lyra142.cjs +1 -1
  102. package/dist/lyra142.js +2 -2
  103. package/dist/lyra143.cjs +1 -1
  104. package/dist/lyra143.js +28 -3
  105. package/dist/lyra144.cjs +1 -1
  106. package/dist/lyra144.js +16 -2
  107. package/dist/lyra145.cjs +1 -1
  108. package/dist/lyra145.js +10 -257
  109. package/dist/lyra146.cjs +1 -1
  110. package/dist/lyra146.js +8 -24
  111. package/dist/lyra147.cjs +1 -1
  112. package/dist/lyra147.js +2 -16
  113. package/dist/lyra148.cjs +1 -1
  114. package/dist/lyra148.js +3 -4
  115. package/dist/lyra149.cjs +1 -1
  116. package/dist/lyra149.js +3 -11
  117. package/dist/lyra15.cjs +1 -1
  118. package/dist/lyra15.js +2 -2
  119. package/dist/lyra150.cjs +1 -1
  120. package/dist/lyra150.js +2 -3
  121. package/dist/lyra151.cjs +1 -1
  122. package/dist/lyra151.js +256 -25
  123. package/dist/lyra152.cjs +1 -1
  124. package/dist/lyra152.js +24 -200
  125. package/dist/lyra153.cjs +1 -1
  126. package/dist/lyra153.js +16 -5
  127. package/dist/lyra154.cjs +1 -1
  128. package/dist/lyra154.js +4 -21
  129. package/dist/lyra155.cjs +1 -1
  130. package/dist/lyra155.js +10 -10
  131. package/dist/lyra156.cjs +1 -1
  132. package/dist/lyra156.js +3 -4
  133. package/dist/lyra157.cjs +1 -1
  134. package/dist/lyra157.js +25 -24
  135. package/dist/lyra158.cjs +1 -1
  136. package/dist/lyra158.js +200 -3
  137. package/dist/lyra159.cjs +1 -1
  138. package/dist/lyra159.js +4 -4
  139. package/dist/lyra16.cjs +1 -1
  140. package/dist/lyra16.js +3 -3
  141. package/dist/lyra160.cjs +1 -1
  142. package/dist/lyra160.js +21 -25
  143. package/dist/lyra161.cjs +1 -1
  144. package/dist/lyra161.js +11 -11
  145. package/dist/lyra162.cjs +1 -1
  146. package/dist/lyra162.js +4 -2
  147. package/dist/lyra163.cjs +1 -1
  148. package/dist/lyra163.js +25 -5
  149. package/dist/lyra164.cjs +1 -1
  150. package/dist/lyra164.js +3 -18
  151. package/dist/lyra165.cjs +1 -1
  152. package/dist/lyra165.js +4 -118
  153. package/dist/lyra166.cjs +1 -1
  154. package/dist/lyra166.js +24 -27
  155. package/dist/lyra167.cjs +1 -1
  156. package/dist/lyra167.js +11 -63
  157. package/dist/lyra168.cjs +1 -1
  158. package/dist/lyra168.js +2 -34
  159. package/dist/lyra169.cjs +1 -1
  160. package/dist/lyra169.js +6 -15
  161. package/dist/lyra17.cjs +1 -1
  162. package/dist/lyra17.js +14 -16
  163. package/dist/lyra170.cjs +1 -1
  164. package/dist/lyra170.js +16 -38
  165. package/dist/lyra171.cjs +1 -1
  166. package/dist/lyra171.js +119 -2
  167. package/dist/lyra172.cjs +1 -1
  168. package/dist/lyra172.js +28 -3
  169. package/dist/lyra173.cjs +1 -1
  170. package/dist/lyra173.js +62 -10
  171. package/dist/lyra174.cjs +1 -1
  172. package/dist/lyra174.js +34 -10
  173. package/dist/lyra175.cjs +1 -1
  174. package/dist/lyra175.js +15 -9
  175. package/dist/lyra176.cjs +1 -1
  176. package/dist/lyra176.js +39 -15
  177. package/dist/lyra177.cjs +1 -1
  178. package/dist/lyra177.js +2 -10
  179. package/dist/lyra178.cjs +1 -1
  180. package/dist/lyra178.js +3 -14
  181. package/dist/lyra179.cjs +1 -1
  182. package/dist/lyra179.js +10 -64
  183. package/dist/lyra18.cjs +1 -1
  184. package/dist/lyra18.js +2 -2
  185. package/dist/lyra180.cjs +1 -1
  186. package/dist/lyra180.js +10 -4
  187. package/dist/lyra181.cjs +1 -1
  188. package/dist/lyra181.js +9 -2
  189. package/dist/lyra182.cjs +1 -1
  190. package/dist/lyra182.js +16 -14
  191. package/dist/lyra183.cjs +1 -1
  192. package/dist/lyra183.js +9 -15
  193. package/dist/lyra184.cjs +1 -1
  194. package/dist/lyra184.js +14 -4
  195. package/dist/lyra185.cjs +1 -1
  196. package/dist/lyra185.js +65 -2
  197. package/dist/lyra186.cjs +1 -1
  198. package/dist/lyra186.js +4 -7
  199. package/dist/lyra187.cjs +1 -1
  200. package/dist/lyra187.js +2 -53
  201. package/dist/lyra188.cjs +1 -1
  202. package/dist/lyra188.js +15 -17
  203. package/dist/lyra189.cjs +1 -1
  204. package/dist/lyra189.js +16 -9
  205. package/dist/lyra190.cjs +1 -1
  206. package/dist/lyra190.js +4 -2
  207. package/dist/lyra191.cjs +1 -1
  208. package/dist/lyra191.js +2 -6
  209. package/dist/lyra192.cjs +1 -1
  210. package/dist/lyra192.js +6 -3
  211. package/dist/lyra193.cjs +1 -1
  212. package/dist/lyra193.js +53 -2
  213. package/dist/lyra194.cjs +1 -1
  214. package/dist/lyra194.js +17 -2
  215. package/dist/lyra195.cjs +1 -1
  216. package/dist/lyra195.js +9 -5
  217. package/dist/lyra196.cjs +1 -1
  218. package/dist/lyra196.js +2 -3
  219. package/dist/lyra197.cjs +1 -1
  220. package/dist/lyra197.js +6 -7
  221. package/dist/lyra198.cjs +1 -1
  222. package/dist/lyra198.js +3 -15
  223. package/dist/lyra199.cjs +1 -1
  224. package/dist/lyra199.js +2 -2
  225. package/dist/lyra2.cjs +1 -1
  226. package/dist/lyra2.js +23 -25
  227. package/dist/lyra20.cjs +1 -1
  228. package/dist/lyra20.js +1 -1
  229. package/dist/lyra200.cjs +1 -1
  230. package/dist/lyra200.js +2 -2
  231. package/dist/lyra201.cjs +1 -1
  232. package/dist/lyra201.js +5 -6
  233. package/dist/lyra202.cjs +1 -1
  234. package/dist/lyra202.js +3 -5
  235. package/dist/lyra203.cjs +1 -1
  236. package/dist/lyra203.js +7 -9
  237. package/dist/lyra204.cjs +1 -1
  238. package/dist/lyra204.js +15 -6
  239. package/dist/lyra205.cjs +1 -1
  240. package/dist/lyra205.js +2 -22
  241. package/dist/lyra206.cjs +1 -1
  242. package/dist/lyra206.js +2 -33
  243. package/dist/lyra207.cjs +1 -1
  244. package/dist/lyra207.js +6 -36
  245. package/dist/lyra208.cjs +1 -1
  246. package/dist/lyra208.js +5 -30
  247. package/dist/lyra209.cjs +1 -1
  248. package/dist/lyra209.js +8 -22
  249. package/dist/lyra21.cjs +1 -1
  250. package/dist/lyra21.js +2 -2
  251. package/dist/lyra210.cjs +1 -1
  252. package/dist/lyra210.js +6 -49
  253. package/dist/lyra211.cjs +1 -1
  254. package/dist/lyra211.js +22 -2
  255. package/dist/lyra212.cjs +1 -1
  256. package/dist/lyra212.js +33 -2
  257. package/dist/lyra213.cjs +1 -1
  258. package/dist/lyra213.js +35 -7
  259. package/dist/lyra214.cjs +1 -1
  260. package/dist/lyra214.js +30 -6
  261. package/dist/lyra215.cjs +1 -1
  262. package/dist/lyra215.js +22 -32
  263. package/dist/lyra216.cjs +1 -1
  264. package/dist/lyra216.js +45 -13
  265. package/dist/lyra217.cjs +1 -1
  266. package/dist/lyra217.js +2 -47
  267. package/dist/lyra218.cjs +1 -1
  268. package/dist/lyra218.js +2 -4
  269. package/dist/lyra219.cjs +1 -1
  270. package/dist/lyra219.js +7 -5
  271. package/dist/lyra22.cjs +1 -1
  272. package/dist/lyra22.js +2 -2
  273. package/dist/lyra220.cjs +1 -1
  274. package/dist/lyra220.js +6 -31
  275. package/dist/lyra221.cjs +1 -1
  276. package/dist/lyra221.js +32 -5
  277. package/dist/lyra222.cjs +1 -1
  278. package/dist/lyra222.js +17 -3
  279. package/dist/lyra223.cjs +1 -1
  280. package/dist/lyra223.js +45 -10
  281. package/dist/lyra224.cjs +1 -1
  282. package/dist/lyra224.js +4 -2
  283. package/dist/lyra225.cjs +1 -1
  284. package/dist/lyra225.js +5 -15
  285. package/dist/lyra226.cjs +1 -1
  286. package/dist/lyra226.js +32 -16
  287. package/dist/lyra227.cjs +1 -1
  288. package/dist/lyra227.js +6 -991
  289. package/dist/lyra228.cjs +1 -1
  290. package/dist/lyra228.js +4 -2
  291. package/dist/lyra229.cjs +1 -1
  292. package/dist/lyra229.js +12 -2
  293. package/dist/lyra230.cjs +1 -1
  294. package/dist/lyra230.js +2 -2
  295. package/dist/lyra231.cjs +1 -9
  296. package/dist/lyra231.js +14 -46
  297. package/dist/lyra232.cjs +1 -9
  298. package/dist/lyra232.js +3 -83
  299. package/dist/lyra233.cjs +1 -1
  300. package/dist/lyra233.js +2 -22
  301. package/dist/lyra234.cjs +1 -1
  302. package/dist/lyra234.js +2 -20
  303. package/dist/lyra235.cjs +1 -1
  304. package/dist/lyra235.js +22 -26
  305. package/dist/lyra236.cjs +1 -1
  306. package/dist/lyra236.js +20 -10
  307. package/dist/lyra237.cjs +1 -1
  308. package/dist/lyra237.js +26 -24
  309. package/dist/lyra238.cjs +1 -1
  310. package/dist/lyra238.js +10 -26
  311. package/dist/lyra239.cjs +1 -1
  312. package/dist/lyra239.js +18 -65
  313. package/dist/lyra24.cjs +1 -1
  314. package/dist/lyra24.js +1 -1
  315. package/dist/lyra240.cjs +1 -1
  316. package/dist/lyra240.js +18 -34
  317. package/dist/lyra241.cjs +1 -1
  318. package/dist/lyra241.js +65 -10
  319. package/dist/lyra242.cjs +1 -1
  320. package/dist/lyra242.js +30 -25
  321. package/dist/lyra243.cjs +1 -1
  322. package/dist/lyra243.js +12 -66
  323. package/dist/lyra244.cjs +1 -1
  324. package/dist/lyra244.js +37 -23
  325. package/dist/lyra245.cjs +1 -1
  326. package/dist/lyra245.js +63 -37
  327. package/dist/lyra246.cjs +1 -1
  328. package/dist/lyra246.js +22 -40
  329. package/dist/lyra247.cjs +1 -9
  330. package/dist/lyra247.js +39 -42
  331. package/dist/lyra248.cjs +1 -1
  332. package/dist/lyra248.js +41 -2
  333. package/dist/lyra249.cjs +9 -1
  334. package/dist/lyra249.js +45 -40
  335. package/dist/lyra250.cjs +1 -1
  336. package/dist/lyra250.js +2 -13
  337. package/dist/lyra251.cjs +1 -1
  338. package/dist/lyra251.js +41 -3
  339. package/dist/lyra252.cjs +1 -1
  340. package/dist/lyra252.js +11 -582
  341. package/dist/lyra253.cjs +1 -1
  342. package/dist/lyra253.js +4 -11
  343. package/dist/lyra254.cjs +1 -1
  344. package/dist/lyra254.js +582 -12
  345. package/dist/lyra255.cjs +1 -1
  346. package/dist/lyra255.js +11 -15
  347. package/dist/lyra256.cjs +1 -1
  348. package/dist/lyra256.js +2 -23
  349. package/dist/lyra257.cjs +1 -1
  350. package/dist/lyra257.js +29 -2
  351. package/dist/lyra258.cjs +1 -1
  352. package/dist/lyra258.js +6 -29
  353. package/dist/lyra259.cjs +1 -1
  354. package/dist/lyra259.js +3 -5
  355. package/dist/lyra26.cjs +1 -1
  356. package/dist/lyra26.js +1 -1
  357. package/dist/lyra260.cjs +1 -1
  358. package/dist/lyra260.js +14 -4
  359. package/dist/lyra261.cjs +1 -1
  360. package/dist/lyra261.js +14 -7
  361. package/dist/lyra262.cjs +1 -1
  362. package/dist/lyra262.js +21 -18
  363. package/dist/lyra263.cjs +1 -1
  364. package/dist/lyra263.js +7 -113
  365. package/dist/lyra264.cjs +1 -1
  366. package/dist/lyra264.js +111 -5
  367. package/dist/lyra265.cjs +1 -1
  368. package/dist/lyra265.js +7 -21
  369. package/dist/lyra266.cjs +1 -1
  370. package/dist/lyra266.js +22 -22
  371. package/dist/lyra267.cjs +1 -1
  372. package/dist/lyra267.js +22 -7
  373. package/dist/lyra268.cjs +1 -1
  374. package/dist/lyra268.js +7 -2
  375. package/dist/lyra269.cjs +1 -1
  376. package/dist/lyra269.js +2 -2
  377. package/dist/lyra27.cjs +1 -1
  378. package/dist/lyra27.js +2 -2
  379. package/dist/lyra270.cjs +1 -1
  380. package/dist/lyra270.js +20 -2
  381. package/dist/lyra272.cjs +1 -1
  382. package/dist/lyra272.js +1 -1
  383. package/dist/lyra274.cjs +1 -1
  384. package/dist/lyra274.js +1 -1
  385. package/dist/lyra275.cjs +1 -1
  386. package/dist/lyra275.js +2 -2
  387. package/dist/lyra279.cjs +1 -1
  388. package/dist/lyra279.js +1 -1
  389. package/dist/lyra28.cjs +1 -1
  390. package/dist/lyra28.js +2 -2
  391. package/dist/lyra283.cjs +1 -1
  392. package/dist/lyra283.js +12 -12
  393. package/dist/lyra284.cjs +1 -1
  394. package/dist/lyra284.js +8 -8
  395. package/dist/lyra286.cjs +1 -1
  396. package/dist/lyra286.js +1 -1
  397. package/dist/lyra287.cjs +1 -1
  398. package/dist/lyra287.js +2 -2
  399. package/dist/lyra288.cjs +1 -1
  400. package/dist/lyra288.js +5 -5
  401. package/dist/lyra291.cjs +1 -1
  402. package/dist/lyra291.js +3 -3
  403. package/dist/lyra293.cjs +1 -1
  404. package/dist/lyra293.js +5 -5
  405. package/dist/lyra294.cjs +1 -1
  406. package/dist/lyra294.js +2 -2
  407. package/dist/lyra295.cjs +1 -1
  408. package/dist/lyra295.js +1 -1
  409. package/dist/lyra296.cjs +1 -1
  410. package/dist/lyra296.js +1 -1
  411. package/dist/lyra297.cjs +1 -1
  412. package/dist/lyra297.js +1 -1
  413. package/dist/lyra299.cjs +1 -1
  414. package/dist/lyra299.js +5 -5
  415. package/dist/lyra3.cjs +1 -1
  416. package/dist/lyra3.js +2 -2
  417. package/dist/lyra301.cjs +1 -1
  418. package/dist/lyra301.js +1 -1
  419. package/dist/lyra302.cjs +1 -1
  420. package/dist/lyra302.js +2 -2
  421. package/dist/lyra303.cjs +1 -1
  422. package/dist/lyra303.js +1 -1
  423. package/dist/lyra304.cjs +1 -1
  424. package/dist/lyra304.js +1 -1
  425. package/dist/lyra310.cjs +1 -1
  426. package/dist/lyra310.js +10 -2
  427. package/dist/lyra311.cjs +1 -1
  428. package/dist/lyra311.js +2 -10
  429. package/dist/lyra313.cjs +1 -1
  430. package/dist/lyra313.js +69 -4
  431. package/dist/lyra314.cjs +1 -1
  432. package/dist/lyra314.js +4 -69
  433. package/dist/lyra315.cjs +1 -1
  434. package/dist/lyra315.js +2 -2
  435. package/dist/lyra316.cjs +1 -1
  436. package/dist/lyra316.js +1 -1
  437. package/dist/lyra317.cjs +1 -1
  438. package/dist/lyra317.js +1 -1
  439. package/dist/lyra318.cjs +1 -1
  440. package/dist/lyra318.js +4 -4
  441. package/dist/lyra32.cjs +1 -1
  442. package/dist/lyra32.js +3 -3
  443. package/dist/lyra320.cjs +1 -1
  444. package/dist/lyra320.js +7 -2
  445. package/dist/lyra321.cjs +1 -1
  446. package/dist/lyra321.js +2 -7
  447. package/dist/lyra324.cjs +1 -1
  448. package/dist/lyra324.js +1 -1
  449. package/dist/lyra325.cjs +1 -1
  450. package/dist/lyra325.js +1 -1
  451. package/dist/lyra326.cjs +1 -1
  452. package/dist/lyra326.js +2 -2
  453. package/dist/lyra327.cjs +1 -1
  454. package/dist/lyra327.js +7 -7
  455. package/dist/lyra33.cjs +1 -1
  456. package/dist/lyra33.js +2 -2
  457. package/dist/lyra34.cjs +1 -1
  458. package/dist/lyra34.js +3 -3
  459. package/dist/lyra35.cjs +1 -1
  460. package/dist/lyra35.js +3 -3
  461. package/dist/lyra36.cjs +1 -1
  462. package/dist/lyra36.js +1 -1
  463. package/dist/lyra38.cjs +1 -1
  464. package/dist/lyra38.js +2 -2
  465. package/dist/lyra39.cjs +1 -1
  466. package/dist/lyra39.js +2 -454
  467. package/dist/lyra4.cjs +1 -1
  468. package/dist/lyra4.js +1 -1
  469. package/dist/lyra40.cjs +9 -1
  470. package/dist/lyra40.js +29 -81
  471. package/dist/lyra41.cjs +19 -1
  472. package/dist/lyra41.js +598 -42
  473. package/dist/lyra42.cjs +1 -1
  474. package/dist/lyra42.js +406 -639
  475. package/dist/lyra43.cjs +1 -1
  476. package/dist/lyra43.js +82 -39
  477. package/dist/lyra44.cjs +1 -1
  478. package/dist/lyra44.js +43 -12
  479. package/dist/lyra45.cjs +1 -1
  480. package/dist/lyra45.js +642 -439
  481. package/dist/lyra46.cjs +1 -1
  482. package/dist/lyra46.js +37 -64
  483. package/dist/lyra47.cjs +1 -1
  484. package/dist/lyra47.js +12 -14
  485. package/dist/lyra48.cjs +1 -1
  486. package/dist/lyra48.js +457 -222
  487. package/dist/lyra49.cjs +1 -1
  488. package/dist/lyra49.js +66 -2
  489. package/dist/lyra5.cjs +1 -1
  490. package/dist/lyra5.js +2 -2
  491. package/dist/lyra50.cjs +1 -1
  492. package/dist/lyra50.js +14 -2
  493. package/dist/lyra51.cjs +1 -1
  494. package/dist/lyra51.js +249 -2
  495. package/dist/lyra53.cjs +1 -1
  496. package/dist/lyra53.js +19 -19
  497. package/dist/lyra54.js +2 -2
  498. package/dist/lyra55.js +2 -2
  499. package/dist/lyra56.cjs +1 -1
  500. package/dist/lyra56.js +2 -32
  501. package/dist/lyra57.js +2 -2
  502. package/dist/lyra58.js +2 -2
  503. package/dist/lyra59.cjs +1 -1
  504. package/dist/lyra59.js +2 -13
  505. package/dist/lyra60.cjs +1 -1
  506. package/dist/lyra60.js +4 -30
  507. package/dist/lyra61.cjs +1 -1
  508. package/dist/lyra61.js +13 -4
  509. package/dist/lyra62.cjs +1 -1
  510. package/dist/lyra62.js +30 -2
  511. package/dist/lyra63.cjs +1 -9
  512. package/dist/lyra63.js +30 -28
  513. package/dist/lyra64.cjs +1 -19
  514. package/dist/lyra64.js +2 -599
  515. package/dist/lyra65.cjs +1 -1
  516. package/dist/lyra65.js +4 -20
  517. package/dist/lyra67.cjs +1 -1
  518. package/dist/lyra67.js +12 -59
  519. package/dist/lyra68.cjs +1 -1
  520. package/dist/lyra68.js +23 -47
  521. package/dist/lyra69.cjs +1 -1
  522. package/dist/lyra69.js +8 -139
  523. package/dist/lyra7.cjs +1 -1
  524. package/dist/lyra7.js +2 -2
  525. package/dist/lyra70.cjs +1 -1
  526. package/dist/lyra70.js +37 -443
  527. package/dist/lyra71.cjs +1 -1
  528. package/dist/lyra71.js +1992 -224
  529. package/dist/lyra72.cjs +1 -1
  530. package/dist/lyra72.js +5 -813
  531. package/dist/lyra73.cjs +1 -1
  532. package/dist/lyra73.js +70 -373
  533. package/dist/lyra74.cjs +1 -1
  534. package/dist/lyra74.js +17 -124
  535. package/dist/lyra75.cjs +1 -1
  536. package/dist/lyra75.js +2 -271
  537. package/dist/lyra76.cjs +1 -1
  538. package/dist/lyra76.js +20 -39
  539. package/dist/lyra77.cjs +1 -1
  540. package/dist/lyra77.js +2 -43
  541. package/dist/lyra78.cjs +1 -1
  542. package/dist/lyra78.js +56 -30
  543. package/dist/lyra79.cjs +1 -1
  544. package/dist/lyra79.js +41 -137
  545. package/dist/lyra8.cjs +1 -1
  546. package/dist/lyra8.js +1 -1
  547. package/dist/lyra80.cjs +1 -1
  548. package/dist/lyra80.js +138 -12
  549. package/dist/lyra81.cjs +1 -1
  550. package/dist/lyra81.js +435 -58
  551. package/dist/lyra82.cjs +1 -1
  552. package/dist/lyra82.js +228 -18
  553. package/dist/lyra83.cjs +1 -1
  554. package/dist/lyra83.js +814 -12
  555. package/dist/lyra84.cjs +1 -1
  556. package/dist/lyra84.js +373 -23
  557. package/dist/lyra85.cjs +1 -1
  558. package/dist/lyra85.js +122 -8
  559. package/dist/lyra86.cjs +1 -1
  560. package/dist/lyra86.js +269 -37
  561. package/dist/lyra87.cjs +1 -1
  562. package/dist/lyra87.js +34 -1994
  563. package/dist/lyra88.cjs +1 -1
  564. package/dist/lyra88.js +42 -6
  565. package/dist/lyra89.cjs +1 -1
  566. package/dist/lyra89.js +32 -70
  567. package/dist/lyra9.cjs +1 -1
  568. package/dist/lyra9.js +2 -2
  569. package/dist/lyra90.cjs +1 -1
  570. package/dist/lyra90.js +145 -2
  571. package/dist/lyra91.cjs +1 -1
  572. package/dist/lyra91.js +16 -2
  573. package/dist/lyra92.cjs +1 -1
  574. package/dist/lyra92.js +68 -19
  575. package/dist/lyra93.cjs +1 -1
  576. package/dist/lyra93.js +20 -2
  577. package/dist/lyra94.cjs +1 -1
  578. package/dist/lyra94.js +6 -327
  579. package/dist/lyra95.cjs +1 -1
  580. package/dist/lyra95.js +28 -27
  581. package/dist/lyra96.cjs +1 -1
  582. package/dist/lyra96.js +98 -2
  583. package/dist/lyra97.cjs +1 -1
  584. package/dist/lyra97.js +35 -42
  585. package/dist/lyra98.cjs +1 -1
  586. package/dist/lyra98.js +118 -226
  587. package/dist/lyra99.cjs +1 -1
  588. package/dist/lyra99.js +23 -61
  589. package/dist/style.css +1 -1
  590. package/package.json +1 -1
package/dist/lyra14.js CHANGED
@@ -2,19 +2,19 @@ import { j as e } from "./lyra32.js";
2
2
  import { forwardRef as $ } from "react";
3
3
  import { useContextProps as b, Select as y, Label as N, Button as g, SelectValue as S, SelectContext as v } from "./lyra53.js";
4
4
  import { ListBox as w } from "./lyra17.js";
5
- import { cx as i } from "./lyra43.js";
6
- import "./lyra58.js";
5
+ import { cx as i } from "./lyra46.js";
6
+ import "./lyra54.js";
7
7
  import { Text as c } from "./lyra26.js";
8
- import "./lyra50.js";
8
+ import "./lyra55.js";
9
9
  import "./lyra16.js";
10
10
  import { SvgIcon as F } from "./lyra25.js";
11
11
  import "./lyra12.js";
12
12
  import "./lyra8.js";
13
- import "./lyra54.js";
14
- import { sharedInputFieldWrapperStyles as I, sharedInputlabelStyles as R, sharedInputHintStyles as B, sharedInputFieldStyles as C } from "./lyra15.js";
15
- import { Popover as L } from "./lyra19.js";
13
+ import "./lyra58.js";
14
+ import { sharedInputFieldWrapperStyles as I, sharedInputlabelStyles as B, sharedInputHintStyles as C, sharedInputFieldStyles as L } from "./lyra15.js";
15
+ import { Popover as M } from "./lyra19.js";
16
16
  import { twMerge as d } from "./lyra33.js";
17
- function M({
17
+ function P({
18
18
  label: s,
19
19
  hint: o,
20
20
  size: a = "medium",
@@ -43,7 +43,7 @@ function M({
43
43
  s ? /* @__PURE__ */ e.jsxs(
44
44
  N,
45
45
  {
46
- className: R(),
46
+ className: B(),
47
47
  style: { fontFamily: "var(--input-label-font-family)" },
48
48
  children: [
49
49
  s,
@@ -54,7 +54,7 @@ function M({
54
54
  o ? /* @__PURE__ */ e.jsx(
55
55
  "span",
56
56
  {
57
- className: B(),
57
+ className: C(),
58
58
  style: { fontFamily: "var(--input-hint-font-family)" },
59
59
  children: o
60
60
  }
@@ -66,7 +66,7 @@ function M({
66
66
  g,
67
67
  {
68
68
  className: ({ isDisabled: u, isFocusVisible: h, isHovered: j }) => d(
69
- C({
69
+ L({
70
70
  isDisabled: u,
71
71
  isHovered: j,
72
72
  isFocused: h,
@@ -115,8 +115,8 @@ function M({
115
115
  children: m
116
116
  }
117
117
  ),
118
- /* @__PURE__ */ e.jsx(L, { children: /* @__PURE__ */ e.jsx(
119
- w.Root,
118
+ /* @__PURE__ */ e.jsx(M, { children: /* @__PURE__ */ e.jsx(
119
+ w,
120
120
  {
121
121
  className: "outline-none",
122
122
  "aria-label": s ?? `options on select ${t.name}`,
@@ -128,7 +128,7 @@ function M({
128
128
  }
129
129
  );
130
130
  }
131
- const W = $(M);
131
+ const W = $(P);
132
132
  export {
133
133
  W as Select
134
134
  };
package/dist/lyra140.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./lyra160.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 r=require("react"),E=require("./lyra141.cjs"),v=require("./lyra142.cjs"),M=require("./lyra143.cjs"),g=require("./lyra144.cjs"),b=require("./lyra145.cjs"),S=require("./lyra146.cjs"),L=require("./lyra147.cjs"),G=require("./lyra126.cjs"),p=require("./lyra148.cjs"),w=require("./lyra149.cjs"),O=require("./lyra150.cjs");function j(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const C=j(r);function P({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:c}){e&&S.loadFeatures(e);function d(u,x){let a;const s={...r.useContext(E.MotionConfigContext),...u,layoutId:R(u)},{isStatic:l}=s,o=b.useCreateMotionContext(u),f=i(u,l);if(!l&&L.isBrowser){o.visualElement=M.useVisualElement(c,f,s,t);const y=r.useContext(w.SwitchLayoutGroupContext),q=r.useContext(p.LazyContext).strict;o.visualElement&&(a=o.visualElement.loadFeatures(s,q,e,y))}return C.createElement(v.MotionContext.Provider,{value:o},a&&o.visualElement?C.createElement(a,{visualElement:o.visualElement,...s}):null,n(c,u,g.useMotionRef(f,o.visualElement,x),f,l,o.visualElement))}const m=r.forwardRef(d);return m[O.motionComponentSymbol]=c,m}function R({layoutId:e}){const t=r.useContext(G.LayoutGroupContext).id;return t&&e!==void 0?t+"-"+e:e}exports.createMotionComponent=P;
package/dist/lyra140.js CHANGED
@@ -1,11 +1,50 @@
1
- import { featureDefinitions as n } from "./lyra160.js";
2
- function e(i) {
3
- for (const o in i)
4
- n[o] = {
5
- ...n[o],
6
- ...i[o]
7
- };
1
+ import * as f from "react";
2
+ import { forwardRef as d, useContext as r } from "react";
3
+ import { MotionConfigContext as y } from "./lyra141.js";
4
+ import { MotionContext as M } from "./lyra142.js";
5
+ import { useVisualElement as L } from "./lyra143.js";
6
+ import { useMotionRef as G } from "./lyra144.js";
7
+ import { useCreateMotionContext as S } from "./lyra145.js";
8
+ import { loadFeatures as w } from "./lyra146.js";
9
+ import { isBrowser as g } from "./lyra147.js";
10
+ import { LayoutGroupContext as R } from "./lyra126.js";
11
+ import { LazyContext as P } from "./lyra148.js";
12
+ import { SwitchLayoutGroupContext as $ } from "./lyra149.js";
13
+ import { motionComponentSymbol as b } from "./lyra150.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;
8
47
  }
9
48
  export {
10
- e as loadFeatures
49
+ K as createMotionComponent
11
50
  };
package/dist/lyra141.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 e=require("react"),o=e.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});exports.MotionConfigContext=o;
package/dist/lyra141.js CHANGED
@@ -1,4 +1,9 @@
1
- const e = typeof document < "u";
1
+ import { createContext as o } from "react";
2
+ const n = o({
3
+ transformPagePoint: (t) => t,
4
+ isStatic: !1,
5
+ reducedMotion: "never"
6
+ });
2
7
  export {
3
- e as isBrowser
8
+ n as MotionConfigContext
4
9
  };
package/dist/lyra142.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 t=require("react"),e=t.createContext({});exports.MotionContext=e;
package/dist/lyra142.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createContext as t } from "react";
2
- const o = t({ strict: !1 });
2
+ const e = t({});
3
3
  export {
4
- o as LazyContext
4
+ e as MotionContext
5
5
  };
package/dist/lyra143.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("react"),d=require("./lyra139.cjs"),x=require("./lyra142.cjs"),r=require("./lyra127.cjs"),l=require("./lyra148.cjs"),m=require("./lyra141.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/lyra143.js CHANGED
@@ -1,5 +1,30 @@
1
- import { createContext as t } from "react";
2
- const e = t({});
1
+ import { useContext as o, useRef as C, useInsertionEffect as d, useEffect as f } from "react";
2
+ import { PresenceContext as l } from "./lyra139.js";
3
+ import { MotionContext as x } from "./lyra142.js";
4
+ import { useIsomorphicLayoutEffect as a } from "./lyra127.js";
5
+ import { LazyContext as E } from "./lyra148.js";
6
+ import { MotionConfigContext as g } from "./lyra141.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;
27
+ }
3
28
  export {
4
- e as SwitchLayoutGroupContext
29
+ z as useVisualElement
5
30
  };
package/dist/lyra144.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 t=require("react"),c=require("./lyra154.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/lyra144.js CHANGED
@@ -1,4 +1,18 @@
1
- const o = Symbol.for("motionComponentSymbol");
1
+ import { useCallback as r } from "react";
2
+ import { isRefObject as p } from "./lyra154.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
- o as motionComponentSymbol
17
+ j as useMotionRef
4
18
  };
package/dist/lyra145.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./lyra146.cjs"),f=require("./lyra123.cjs"),P=require("./lyra147.cjs"),T=require("./lyra148.cjs"),y=require("./lyra149.cjs"),V=require("./lyra150.cjs"),q=require("./lyra151.cjs"),F=require("./lyra152.cjs"),j=require("./lyra153.cjs"),m=require("./lyra126.cjs"),R=require("./lyra154.cjs"),v=require("./lyra155.cjs"),w=require("./lyra156.cjs"),E=require("./lyra157.cjs"),x=require("./lyra158.cjs"),N=require("./lyra159.cjs"),C=require("./lyra160.cjs"),b=require("./lyra161.cjs"),g=require("./lyra162.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 r=require("react"),o=require("./lyra142.cjs"),u=require("./lyra252.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/lyra145.js CHANGED
@@ -1,260 +1,13 @@
1
- import { frame as c, cancelFrame as f } from "./lyra146.js";
2
- import { warning as b, invariant as S } from "./lyra123.js";
3
- import { createBox as P } from "./lyra147.js";
4
- import { isRefObject as T } from "./lyra148.js";
5
- import { initPrefersReducedMotion as y } from "./lyra149.js";
6
- import { hasReducedMotionListener as F, prefersReducedMotion as R } from "./lyra150.js";
7
- import { SubscriptionManager as j } from "./lyra151.js";
8
- import { motionValue as w } from "./lyra152.js";
9
- import { isWillChangeMotionValue as N } from "./lyra153.js";
10
- import { isMotionValue as m } from "./lyra126.js";
11
- import { transformProps as E } from "./lyra154.js";
12
- import { isControllingVariants as x, isVariantNode as B } from "./lyra155.js";
13
- import { isVariantLabel as L } from "./lyra156.js";
14
- import { updateMotionValuesFromProps as I } from "./lyra157.js";
15
- import { resolveVariantFromProps as O } from "./lyra158.js";
16
- import { warnOnce as A } from "./lyra159.js";
17
- import { featureDefinitions as g } from "./lyra160.js";
18
- import { variantProps as M } from "./lyra161.js";
19
- import { visualElementStore as V } from "./lyra162.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
- }
1
+ import { useContext as o, useMemo as i } from "react";
2
+ import { MotionContext as a } from "./lyra142.js";
3
+ import { getCurrentTreeVariants as m } from "./lyra252.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;
257
10
  }
258
11
  export {
259
- ot as VisualElement
12
+ C as useCreateMotionContext
260
13
  };
package/dist/lyra146.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./lyra207.cjs"),r=require("./lyra191.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("./lyra166.cjs");function n(i){for(const e in i)t.featureDefinitions[e]={...t.featureDefinitions[e],...i[e]}}exports.loadFeatures=n;
package/dist/lyra146.js CHANGED
@@ -1,27 +1,11 @@
1
- import { createRenderStep as f } from "./lyra207.js";
2
- import { frameData as r } from "./lyra191.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));
1
+ import { featureDefinitions as n } from "./lyra166.js";
2
+ function e(i) {
3
+ for (const o in i)
4
+ n[o] = {
5
+ ...n[o],
6
+ ...i[o]
7
+ };
21
8
  }
22
9
  export {
23
- g as cancelFrame,
24
- E as frame,
25
- o as steps,
26
- a as stepsOrder
10
+ e as loadFeatures
27
11
  };
package/dist/lyra147.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 e=typeof document<"u";exports.isBrowser=e;
package/dist/lyra147.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 e = typeof document < "u";
13
2
  export {
14
- e as createAxis,
15
- t as createAxisDelta,
16
- c as createBox,
17
- a as createDelta
3
+ e as isBrowser
18
4
  };
package/dist/lyra148.cjs CHANGED
@@ -1 +1 @@
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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=t.createContext({strict:!1});exports.LazyContext=e;
package/dist/lyra148.js CHANGED
@@ -1,6 +1,5 @@
1
- function e(t) {
2
- return typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
3
- }
1
+ import { createContext as t } from "react";
2
+ const o = t({ strict: !1 });
4
3
  export {
5
- e as isRefObject
4
+ o as LazyContext
6
5
  };
package/dist/lyra149.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./lyra141.cjs"),e=require("./lyra150.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=t.createContext({});exports.SwitchLayoutGroupContext=e;
package/dist/lyra149.js CHANGED
@@ -1,13 +1,5 @@
1
- import { isBrowser as o } from "./lyra141.js";
2
- import { hasReducedMotionListener as i, prefersReducedMotion as t } from "./lyra150.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
- }
1
+ import { createContext as t } from "react";
2
+ const e = t({});
11
3
  export {
12
- c as initPrefersReducedMotion
4
+ e as SwitchLayoutGroupContext
13
5
  };