@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.
- package/dist/components/accordion/accordion.d.ts +8 -10
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/components/list-box/list-box.d.ts +8 -10
- package/dist/components/list-box/list-box.d.ts.map +1 -1
- package/dist/lyra.cjs +1 -1
- package/dist/lyra.js +73 -69
- package/dist/lyra10.cjs +1 -1
- package/dist/lyra10.js +2 -2
- package/dist/lyra100.cjs +1 -1
- package/dist/lyra100.js +327 -6
- package/dist/lyra101.cjs +1 -1
- package/dist/lyra101.js +95 -24
- package/dist/lyra102.cjs +1 -1
- package/dist/lyra102.js +23 -95
- package/dist/lyra103.cjs +1 -1
- package/dist/lyra103.js +37 -34
- package/dist/lyra104.cjs +1 -1
- package/dist/lyra104.js +16 -135
- package/dist/lyra105.cjs +1 -1
- package/dist/lyra105.js +990 -23
- package/dist/lyra106.cjs +1 -1
- package/dist/lyra106.js +2 -98
- package/dist/lyra107.cjs +1 -1
- package/dist/lyra107.js +24 -24
- package/dist/lyra108.cjs +1 -1
- package/dist/lyra108.js +2 -39
- package/dist/lyra109.cjs +1 -1
- package/dist/lyra109.js +43 -3
- package/dist/lyra11.cjs +1 -1
- package/dist/lyra11.js +1 -1
- package/dist/lyra110.cjs +1 -1
- package/dist/lyra110.js +241 -17
- package/dist/lyra111.cjs +1 -1
- package/dist/lyra111.js +61 -13
- package/dist/lyra112.cjs +1 -1
- package/dist/lyra112.js +2 -19
- package/dist/lyra113.cjs +1 -1
- package/dist/lyra113.js +2 -11
- package/dist/lyra114.cjs +9 -1
- package/dist/lyra114.js +47 -14
- package/dist/lyra115.cjs +9 -1
- package/dist/lyra115.js +83 -5
- package/dist/lyra116.cjs +1 -1
- package/dist/lyra116.js +17 -8
- package/dist/lyra117.cjs +1 -1
- package/dist/lyra117.js +13 -9
- package/dist/lyra118.cjs +1 -1
- package/dist/lyra118.js +19 -9
- package/dist/lyra119.cjs +1 -1
- package/dist/lyra119.js +10 -37
- package/dist/lyra12.cjs +1 -1
- package/dist/lyra12.js +3 -3
- package/dist/lyra120.cjs +1 -1
- package/dist/lyra120.js +15 -3
- package/dist/lyra121.cjs +1 -1
- package/dist/lyra121.js +5 -4
- package/dist/lyra122.cjs +1 -1
- package/dist/lyra122.js +9 -5
- package/dist/lyra123.cjs +1 -1
- package/dist/lyra123.js +10 -10
- package/dist/lyra124.cjs +1 -1
- package/dist/lyra124.js +8 -6
- package/dist/lyra125.cjs +1 -1
- package/dist/lyra125.js +38 -4
- package/dist/lyra126.cjs +1 -1
- package/dist/lyra126.js +3 -2
- package/dist/lyra127.cjs +1 -1
- package/dist/lyra127.js +4 -18
- package/dist/lyra128.cjs +1 -1
- package/dist/lyra128.js +4 -13
- package/dist/lyra129.cjs +1 -1
- package/dist/lyra129.js +10 -33
- package/dist/lyra13.cjs +1 -1
- package/dist/lyra13.js +1 -1
- package/dist/lyra130.cjs +1 -1
- package/dist/lyra130.js +6 -29
- package/dist/lyra131.cjs +1 -1
- package/dist/lyra131.js +4 -39
- package/dist/lyra132.cjs +1 -1
- package/dist/lyra132.js +2 -10
- package/dist/lyra133.cjs +1 -1
- package/dist/lyra133.js +18 -3
- package/dist/lyra134.cjs +1 -1
- package/dist/lyra134.js +12 -46
- package/dist/lyra135.cjs +1 -1
- package/dist/lyra135.js +33 -7
- package/dist/lyra136.cjs +1 -1
- package/dist/lyra136.js +30 -3
- package/dist/lyra137.cjs +1 -1
- package/dist/lyra137.js +38 -27
- package/dist/lyra138.cjs +1 -1
- package/dist/lyra138.js +9 -15
- package/dist/lyra139.cjs +1 -1
- package/dist/lyra139.js +3 -11
- package/dist/lyra14.cjs +1 -1
- package/dist/lyra14.js +13 -13
- package/dist/lyra140.cjs +1 -1
- package/dist/lyra140.js +47 -8
- package/dist/lyra141.cjs +1 -1
- package/dist/lyra141.js +7 -2
- package/dist/lyra142.cjs +1 -1
- package/dist/lyra142.js +2 -2
- package/dist/lyra143.cjs +1 -1
- package/dist/lyra143.js +28 -3
- package/dist/lyra144.cjs +1 -1
- package/dist/lyra144.js +16 -2
- package/dist/lyra145.cjs +1 -1
- package/dist/lyra145.js +10 -257
- package/dist/lyra146.cjs +1 -1
- package/dist/lyra146.js +8 -24
- package/dist/lyra147.cjs +1 -1
- package/dist/lyra147.js +2 -16
- package/dist/lyra148.cjs +1 -1
- package/dist/lyra148.js +3 -4
- package/dist/lyra149.cjs +1 -1
- package/dist/lyra149.js +3 -11
- package/dist/lyra15.cjs +1 -1
- package/dist/lyra15.js +2 -2
- package/dist/lyra150.cjs +1 -1
- package/dist/lyra150.js +2 -3
- package/dist/lyra151.cjs +1 -1
- package/dist/lyra151.js +256 -25
- package/dist/lyra152.cjs +1 -1
- package/dist/lyra152.js +24 -200
- package/dist/lyra153.cjs +1 -1
- package/dist/lyra153.js +16 -5
- package/dist/lyra154.cjs +1 -1
- package/dist/lyra154.js +4 -21
- package/dist/lyra155.cjs +1 -1
- package/dist/lyra155.js +10 -10
- package/dist/lyra156.cjs +1 -1
- package/dist/lyra156.js +3 -4
- package/dist/lyra157.cjs +1 -1
- package/dist/lyra157.js +25 -24
- package/dist/lyra158.cjs +1 -1
- package/dist/lyra158.js +200 -3
- package/dist/lyra159.cjs +1 -1
- package/dist/lyra159.js +4 -4
- package/dist/lyra16.cjs +1 -1
- package/dist/lyra16.js +3 -3
- package/dist/lyra160.cjs +1 -1
- package/dist/lyra160.js +21 -25
- package/dist/lyra161.cjs +1 -1
- package/dist/lyra161.js +11 -11
- package/dist/lyra162.cjs +1 -1
- package/dist/lyra162.js +4 -2
- package/dist/lyra163.cjs +1 -1
- package/dist/lyra163.js +25 -5
- package/dist/lyra164.cjs +1 -1
- package/dist/lyra164.js +3 -18
- package/dist/lyra165.cjs +1 -1
- package/dist/lyra165.js +4 -118
- package/dist/lyra166.cjs +1 -1
- package/dist/lyra166.js +24 -27
- package/dist/lyra167.cjs +1 -1
- package/dist/lyra167.js +11 -63
- package/dist/lyra168.cjs +1 -1
- package/dist/lyra168.js +2 -34
- package/dist/lyra169.cjs +1 -1
- package/dist/lyra169.js +6 -15
- package/dist/lyra17.cjs +1 -1
- package/dist/lyra17.js +14 -16
- package/dist/lyra170.cjs +1 -1
- package/dist/lyra170.js +16 -38
- package/dist/lyra171.cjs +1 -1
- package/dist/lyra171.js +119 -2
- package/dist/lyra172.cjs +1 -1
- package/dist/lyra172.js +28 -3
- package/dist/lyra173.cjs +1 -1
- package/dist/lyra173.js +62 -10
- package/dist/lyra174.cjs +1 -1
- package/dist/lyra174.js +34 -10
- package/dist/lyra175.cjs +1 -1
- package/dist/lyra175.js +15 -9
- package/dist/lyra176.cjs +1 -1
- package/dist/lyra176.js +39 -15
- package/dist/lyra177.cjs +1 -1
- package/dist/lyra177.js +2 -10
- package/dist/lyra178.cjs +1 -1
- package/dist/lyra178.js +3 -14
- package/dist/lyra179.cjs +1 -1
- package/dist/lyra179.js +10 -64
- package/dist/lyra18.cjs +1 -1
- package/dist/lyra18.js +2 -2
- package/dist/lyra180.cjs +1 -1
- package/dist/lyra180.js +10 -4
- package/dist/lyra181.cjs +1 -1
- package/dist/lyra181.js +9 -2
- package/dist/lyra182.cjs +1 -1
- package/dist/lyra182.js +16 -14
- package/dist/lyra183.cjs +1 -1
- package/dist/lyra183.js +9 -15
- package/dist/lyra184.cjs +1 -1
- package/dist/lyra184.js +14 -4
- package/dist/lyra185.cjs +1 -1
- package/dist/lyra185.js +65 -2
- package/dist/lyra186.cjs +1 -1
- package/dist/lyra186.js +4 -7
- package/dist/lyra187.cjs +1 -1
- package/dist/lyra187.js +2 -53
- package/dist/lyra188.cjs +1 -1
- package/dist/lyra188.js +15 -17
- package/dist/lyra189.cjs +1 -1
- package/dist/lyra189.js +16 -9
- package/dist/lyra190.cjs +1 -1
- package/dist/lyra190.js +4 -2
- package/dist/lyra191.cjs +1 -1
- package/dist/lyra191.js +2 -6
- package/dist/lyra192.cjs +1 -1
- package/dist/lyra192.js +6 -3
- package/dist/lyra193.cjs +1 -1
- package/dist/lyra193.js +53 -2
- package/dist/lyra194.cjs +1 -1
- package/dist/lyra194.js +17 -2
- package/dist/lyra195.cjs +1 -1
- package/dist/lyra195.js +9 -5
- package/dist/lyra196.cjs +1 -1
- package/dist/lyra196.js +2 -3
- package/dist/lyra197.cjs +1 -1
- package/dist/lyra197.js +6 -7
- package/dist/lyra198.cjs +1 -1
- package/dist/lyra198.js +3 -15
- package/dist/lyra199.cjs +1 -1
- package/dist/lyra199.js +2 -2
- package/dist/lyra2.cjs +1 -1
- package/dist/lyra2.js +23 -25
- package/dist/lyra20.cjs +1 -1
- package/dist/lyra20.js +1 -1
- package/dist/lyra200.cjs +1 -1
- package/dist/lyra200.js +2 -2
- package/dist/lyra201.cjs +1 -1
- package/dist/lyra201.js +5 -6
- package/dist/lyra202.cjs +1 -1
- package/dist/lyra202.js +3 -5
- package/dist/lyra203.cjs +1 -1
- package/dist/lyra203.js +7 -9
- package/dist/lyra204.cjs +1 -1
- package/dist/lyra204.js +15 -6
- package/dist/lyra205.cjs +1 -1
- package/dist/lyra205.js +2 -22
- package/dist/lyra206.cjs +1 -1
- package/dist/lyra206.js +2 -33
- package/dist/lyra207.cjs +1 -1
- package/dist/lyra207.js +6 -36
- package/dist/lyra208.cjs +1 -1
- package/dist/lyra208.js +5 -30
- package/dist/lyra209.cjs +1 -1
- package/dist/lyra209.js +8 -22
- package/dist/lyra21.cjs +1 -1
- package/dist/lyra21.js +2 -2
- package/dist/lyra210.cjs +1 -1
- package/dist/lyra210.js +6 -49
- package/dist/lyra211.cjs +1 -1
- package/dist/lyra211.js +22 -2
- package/dist/lyra212.cjs +1 -1
- package/dist/lyra212.js +33 -2
- package/dist/lyra213.cjs +1 -1
- package/dist/lyra213.js +35 -7
- package/dist/lyra214.cjs +1 -1
- package/dist/lyra214.js +30 -6
- package/dist/lyra215.cjs +1 -1
- package/dist/lyra215.js +22 -32
- package/dist/lyra216.cjs +1 -1
- package/dist/lyra216.js +45 -13
- package/dist/lyra217.cjs +1 -1
- package/dist/lyra217.js +2 -47
- package/dist/lyra218.cjs +1 -1
- package/dist/lyra218.js +2 -4
- package/dist/lyra219.cjs +1 -1
- package/dist/lyra219.js +7 -5
- package/dist/lyra22.cjs +1 -1
- package/dist/lyra22.js +2 -2
- package/dist/lyra220.cjs +1 -1
- package/dist/lyra220.js +6 -31
- package/dist/lyra221.cjs +1 -1
- package/dist/lyra221.js +32 -5
- package/dist/lyra222.cjs +1 -1
- package/dist/lyra222.js +17 -3
- package/dist/lyra223.cjs +1 -1
- package/dist/lyra223.js +45 -10
- package/dist/lyra224.cjs +1 -1
- package/dist/lyra224.js +4 -2
- package/dist/lyra225.cjs +1 -1
- package/dist/lyra225.js +5 -15
- package/dist/lyra226.cjs +1 -1
- package/dist/lyra226.js +32 -16
- package/dist/lyra227.cjs +1 -1
- package/dist/lyra227.js +6 -991
- package/dist/lyra228.cjs +1 -1
- package/dist/lyra228.js +4 -2
- package/dist/lyra229.cjs +1 -1
- package/dist/lyra229.js +12 -2
- package/dist/lyra230.cjs +1 -1
- package/dist/lyra230.js +2 -2
- package/dist/lyra231.cjs +1 -9
- package/dist/lyra231.js +14 -46
- package/dist/lyra232.cjs +1 -9
- package/dist/lyra232.js +3 -83
- package/dist/lyra233.cjs +1 -1
- package/dist/lyra233.js +2 -22
- package/dist/lyra234.cjs +1 -1
- package/dist/lyra234.js +2 -20
- package/dist/lyra235.cjs +1 -1
- package/dist/lyra235.js +22 -26
- package/dist/lyra236.cjs +1 -1
- package/dist/lyra236.js +20 -10
- package/dist/lyra237.cjs +1 -1
- package/dist/lyra237.js +26 -24
- package/dist/lyra238.cjs +1 -1
- package/dist/lyra238.js +10 -26
- package/dist/lyra239.cjs +1 -1
- package/dist/lyra239.js +18 -65
- package/dist/lyra24.cjs +1 -1
- package/dist/lyra24.js +1 -1
- package/dist/lyra240.cjs +1 -1
- package/dist/lyra240.js +18 -34
- package/dist/lyra241.cjs +1 -1
- package/dist/lyra241.js +65 -10
- package/dist/lyra242.cjs +1 -1
- package/dist/lyra242.js +30 -25
- package/dist/lyra243.cjs +1 -1
- package/dist/lyra243.js +12 -66
- package/dist/lyra244.cjs +1 -1
- package/dist/lyra244.js +37 -23
- package/dist/lyra245.cjs +1 -1
- package/dist/lyra245.js +63 -37
- package/dist/lyra246.cjs +1 -1
- package/dist/lyra246.js +22 -40
- package/dist/lyra247.cjs +1 -9
- package/dist/lyra247.js +39 -42
- package/dist/lyra248.cjs +1 -1
- package/dist/lyra248.js +41 -2
- package/dist/lyra249.cjs +9 -1
- package/dist/lyra249.js +45 -40
- package/dist/lyra250.cjs +1 -1
- package/dist/lyra250.js +2 -13
- package/dist/lyra251.cjs +1 -1
- package/dist/lyra251.js +41 -3
- package/dist/lyra252.cjs +1 -1
- package/dist/lyra252.js +11 -582
- package/dist/lyra253.cjs +1 -1
- package/dist/lyra253.js +4 -11
- package/dist/lyra254.cjs +1 -1
- package/dist/lyra254.js +582 -12
- package/dist/lyra255.cjs +1 -1
- package/dist/lyra255.js +11 -15
- package/dist/lyra256.cjs +1 -1
- package/dist/lyra256.js +2 -23
- package/dist/lyra257.cjs +1 -1
- package/dist/lyra257.js +29 -2
- package/dist/lyra258.cjs +1 -1
- package/dist/lyra258.js +6 -29
- package/dist/lyra259.cjs +1 -1
- package/dist/lyra259.js +3 -5
- package/dist/lyra26.cjs +1 -1
- package/dist/lyra26.js +1 -1
- package/dist/lyra260.cjs +1 -1
- package/dist/lyra260.js +14 -4
- package/dist/lyra261.cjs +1 -1
- package/dist/lyra261.js +14 -7
- package/dist/lyra262.cjs +1 -1
- package/dist/lyra262.js +21 -18
- package/dist/lyra263.cjs +1 -1
- package/dist/lyra263.js +7 -113
- package/dist/lyra264.cjs +1 -1
- package/dist/lyra264.js +111 -5
- package/dist/lyra265.cjs +1 -1
- package/dist/lyra265.js +7 -21
- package/dist/lyra266.cjs +1 -1
- package/dist/lyra266.js +22 -22
- package/dist/lyra267.cjs +1 -1
- package/dist/lyra267.js +22 -7
- package/dist/lyra268.cjs +1 -1
- package/dist/lyra268.js +7 -2
- package/dist/lyra269.cjs +1 -1
- package/dist/lyra269.js +2 -2
- package/dist/lyra27.cjs +1 -1
- package/dist/lyra27.js +2 -2
- package/dist/lyra270.cjs +1 -1
- package/dist/lyra270.js +20 -2
- package/dist/lyra272.cjs +1 -1
- package/dist/lyra272.js +1 -1
- package/dist/lyra274.cjs +1 -1
- package/dist/lyra274.js +1 -1
- package/dist/lyra275.cjs +1 -1
- package/dist/lyra275.js +2 -2
- package/dist/lyra279.cjs +1 -1
- package/dist/lyra279.js +1 -1
- package/dist/lyra28.cjs +1 -1
- package/dist/lyra28.js +2 -2
- package/dist/lyra283.cjs +1 -1
- package/dist/lyra283.js +12 -12
- package/dist/lyra284.cjs +1 -1
- package/dist/lyra284.js +8 -8
- package/dist/lyra286.cjs +1 -1
- package/dist/lyra286.js +1 -1
- package/dist/lyra287.cjs +1 -1
- package/dist/lyra287.js +2 -2
- package/dist/lyra288.cjs +1 -1
- package/dist/lyra288.js +5 -5
- package/dist/lyra291.cjs +1 -1
- package/dist/lyra291.js +3 -3
- package/dist/lyra293.cjs +1 -1
- package/dist/lyra293.js +5 -5
- package/dist/lyra294.cjs +1 -1
- package/dist/lyra294.js +2 -2
- package/dist/lyra295.cjs +1 -1
- package/dist/lyra295.js +1 -1
- package/dist/lyra296.cjs +1 -1
- package/dist/lyra296.js +1 -1
- package/dist/lyra297.cjs +1 -1
- package/dist/lyra297.js +1 -1
- package/dist/lyra299.cjs +1 -1
- package/dist/lyra299.js +5 -5
- package/dist/lyra3.cjs +1 -1
- package/dist/lyra3.js +2 -2
- package/dist/lyra301.cjs +1 -1
- package/dist/lyra301.js +1 -1
- package/dist/lyra302.cjs +1 -1
- package/dist/lyra302.js +2 -2
- package/dist/lyra303.cjs +1 -1
- package/dist/lyra303.js +1 -1
- package/dist/lyra304.cjs +1 -1
- package/dist/lyra304.js +1 -1
- package/dist/lyra310.cjs +1 -1
- package/dist/lyra310.js +10 -2
- package/dist/lyra311.cjs +1 -1
- package/dist/lyra311.js +2 -10
- package/dist/lyra313.cjs +1 -1
- package/dist/lyra313.js +69 -4
- package/dist/lyra314.cjs +1 -1
- package/dist/lyra314.js +4 -69
- package/dist/lyra315.cjs +1 -1
- package/dist/lyra315.js +2 -2
- package/dist/lyra316.cjs +1 -1
- package/dist/lyra316.js +1 -1
- package/dist/lyra317.cjs +1 -1
- package/dist/lyra317.js +1 -1
- package/dist/lyra318.cjs +1 -1
- package/dist/lyra318.js +4 -4
- package/dist/lyra32.cjs +1 -1
- package/dist/lyra32.js +3 -3
- package/dist/lyra320.cjs +1 -1
- package/dist/lyra320.js +7 -2
- package/dist/lyra321.cjs +1 -1
- package/dist/lyra321.js +2 -7
- package/dist/lyra324.cjs +1 -1
- package/dist/lyra324.js +1 -1
- package/dist/lyra325.cjs +1 -1
- package/dist/lyra325.js +1 -1
- package/dist/lyra326.cjs +1 -1
- package/dist/lyra326.js +2 -2
- package/dist/lyra327.cjs +1 -1
- package/dist/lyra327.js +7 -7
- package/dist/lyra33.cjs +1 -1
- package/dist/lyra33.js +2 -2
- package/dist/lyra34.cjs +1 -1
- package/dist/lyra34.js +3 -3
- package/dist/lyra35.cjs +1 -1
- package/dist/lyra35.js +3 -3
- package/dist/lyra36.cjs +1 -1
- package/dist/lyra36.js +1 -1
- package/dist/lyra38.cjs +1 -1
- package/dist/lyra38.js +2 -2
- package/dist/lyra39.cjs +1 -1
- package/dist/lyra39.js +2 -454
- package/dist/lyra4.cjs +1 -1
- package/dist/lyra4.js +1 -1
- package/dist/lyra40.cjs +9 -1
- package/dist/lyra40.js +29 -81
- package/dist/lyra41.cjs +19 -1
- package/dist/lyra41.js +598 -42
- package/dist/lyra42.cjs +1 -1
- package/dist/lyra42.js +406 -639
- package/dist/lyra43.cjs +1 -1
- package/dist/lyra43.js +82 -39
- package/dist/lyra44.cjs +1 -1
- package/dist/lyra44.js +43 -12
- package/dist/lyra45.cjs +1 -1
- package/dist/lyra45.js +642 -439
- package/dist/lyra46.cjs +1 -1
- package/dist/lyra46.js +37 -64
- package/dist/lyra47.cjs +1 -1
- package/dist/lyra47.js +12 -14
- package/dist/lyra48.cjs +1 -1
- package/dist/lyra48.js +457 -222
- package/dist/lyra49.cjs +1 -1
- package/dist/lyra49.js +66 -2
- package/dist/lyra5.cjs +1 -1
- package/dist/lyra5.js +2 -2
- package/dist/lyra50.cjs +1 -1
- package/dist/lyra50.js +14 -2
- package/dist/lyra51.cjs +1 -1
- package/dist/lyra51.js +249 -2
- package/dist/lyra53.cjs +1 -1
- package/dist/lyra53.js +19 -19
- package/dist/lyra54.js +2 -2
- package/dist/lyra55.js +2 -2
- package/dist/lyra56.cjs +1 -1
- package/dist/lyra56.js +2 -32
- package/dist/lyra57.js +2 -2
- package/dist/lyra58.js +2 -2
- package/dist/lyra59.cjs +1 -1
- package/dist/lyra59.js +2 -13
- package/dist/lyra60.cjs +1 -1
- package/dist/lyra60.js +4 -30
- package/dist/lyra61.cjs +1 -1
- package/dist/lyra61.js +13 -4
- package/dist/lyra62.cjs +1 -1
- package/dist/lyra62.js +30 -2
- package/dist/lyra63.cjs +1 -9
- package/dist/lyra63.js +30 -28
- package/dist/lyra64.cjs +1 -19
- package/dist/lyra64.js +2 -599
- package/dist/lyra65.cjs +1 -1
- package/dist/lyra65.js +4 -20
- package/dist/lyra67.cjs +1 -1
- package/dist/lyra67.js +12 -59
- package/dist/lyra68.cjs +1 -1
- package/dist/lyra68.js +23 -47
- package/dist/lyra69.cjs +1 -1
- package/dist/lyra69.js +8 -139
- package/dist/lyra7.cjs +1 -1
- package/dist/lyra7.js +2 -2
- package/dist/lyra70.cjs +1 -1
- package/dist/lyra70.js +37 -443
- package/dist/lyra71.cjs +1 -1
- package/dist/lyra71.js +1992 -224
- package/dist/lyra72.cjs +1 -1
- package/dist/lyra72.js +5 -813
- package/dist/lyra73.cjs +1 -1
- package/dist/lyra73.js +70 -373
- package/dist/lyra74.cjs +1 -1
- package/dist/lyra74.js +17 -124
- package/dist/lyra75.cjs +1 -1
- package/dist/lyra75.js +2 -271
- package/dist/lyra76.cjs +1 -1
- package/dist/lyra76.js +20 -39
- package/dist/lyra77.cjs +1 -1
- package/dist/lyra77.js +2 -43
- package/dist/lyra78.cjs +1 -1
- package/dist/lyra78.js +56 -30
- package/dist/lyra79.cjs +1 -1
- package/dist/lyra79.js +41 -137
- package/dist/lyra8.cjs +1 -1
- package/dist/lyra8.js +1 -1
- package/dist/lyra80.cjs +1 -1
- package/dist/lyra80.js +138 -12
- package/dist/lyra81.cjs +1 -1
- package/dist/lyra81.js +435 -58
- package/dist/lyra82.cjs +1 -1
- package/dist/lyra82.js +228 -18
- package/dist/lyra83.cjs +1 -1
- package/dist/lyra83.js +814 -12
- package/dist/lyra84.cjs +1 -1
- package/dist/lyra84.js +373 -23
- package/dist/lyra85.cjs +1 -1
- package/dist/lyra85.js +122 -8
- package/dist/lyra86.cjs +1 -1
- package/dist/lyra86.js +269 -37
- package/dist/lyra87.cjs +1 -1
- package/dist/lyra87.js +34 -1994
- package/dist/lyra88.cjs +1 -1
- package/dist/lyra88.js +42 -6
- package/dist/lyra89.cjs +1 -1
- package/dist/lyra89.js +32 -70
- package/dist/lyra9.cjs +1 -1
- package/dist/lyra9.js +2 -2
- package/dist/lyra90.cjs +1 -1
- package/dist/lyra90.js +145 -2
- package/dist/lyra91.cjs +1 -1
- package/dist/lyra91.js +16 -2
- package/dist/lyra92.cjs +1 -1
- package/dist/lyra92.js +68 -19
- package/dist/lyra93.cjs +1 -1
- package/dist/lyra93.js +20 -2
- package/dist/lyra94.cjs +1 -1
- package/dist/lyra94.js +6 -327
- package/dist/lyra95.cjs +1 -1
- package/dist/lyra95.js +28 -27
- package/dist/lyra96.cjs +1 -1
- package/dist/lyra96.js +98 -2
- package/dist/lyra97.cjs +1 -1
- package/dist/lyra97.js +35 -42
- package/dist/lyra98.cjs +1 -1
- package/dist/lyra98.js +118 -226
- package/dist/lyra99.cjs +1 -1
- package/dist/lyra99.js +23 -61
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/lyra15.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./lyra46.cjs");require("./lyra59.cjs");const t=e.cva(["flex","flex-col"],{variants:{fullWidth:{true:"w-full",false:"w-fit"}}}),i=e.cva(["flex","items-center","outline-none","border","border-solid","rounded-[--input-radius]","font-sans","text-base","transition-all","ease-out","duration-150","placeholder:text-[--input-placeholder-color]"],{variants:{fullWidth:{true:"w-full",false:"w-fit"},isDisabled:{true:"bg-[--input-disabled-bg-color] text-[--input-text-disabled-color] cursor-not-allowed",false:"bg-[--input-background-color] text-[--input-text-color]"},size:{small:["px-[--input-padding-x-small]","py-[--input-padding-y-small]","text-[length:var(--input-text-size-small)]"],medium:["px-[--input-padding-x-medium]","py-[--input-padding-y-medium]","text-[length:var(--input-text-size-medium)]"],large:["px-[--input-padding-x-large]","py-[--input-padding-y-large]","text-[length:var(--input-text-size-large)]"]},validationState:{valid:"border-[--input-border-valid-color]",invalid:"border-[--input-border-invalid-color]"},isHovered:{true:""},isFocused:{true:""}},compoundVariants:[{validationState:void 0,isFocused:!1,isDisabled:!1,className:"border-[--input-border-default-color]"},{isDisabled:!1,isFocused:!1,validationState:void 0,isHovered:!0,className:"border-[--input-border-default-hover-color]"},{isFocused:!0,isDisabled:!1,validationState:void 0,className:"border-[--input-border-focused-color] ring ring-[--input-ring-focused-color]"},{isDisabled:!1,validationState:"valid",isFocused:!0,className:"ring !ring-[--input-ring-valid-color]"},{isDisabled:!1,isFocused:!0,validationState:"invalid",className:"ring !ring-[--input-ring-invalid-color]"}],defaultVariants:{isDisabled:!1}}),a=e.cva(["text-[--input-label-color]","text-[length:--input-label-size]","mb-[--input-label-margin-bottom]","transition-all","ease-out","duration-150"]),l=e.cva(["font-[--input-hint-weight]","text-[--input-hint-color]","mb-[--input-hint-margin-bottom]"],{variants:{size:{small:["text-[--input-hint-size-small]"],medium:["text-[--input-hint-size-medium]"],large:["text-[--input-hint-size-large]"]}}}),n=e.cva(["w-full","flex-grow","bg-transparent","outline-none","disabled:cursor-not-allowed"],{variants:{size:{small:["px-[--input-padding-x-small]","py-[--input-padding-y-small]","text-[length:var(--input-text-size-small)]"],medium:["px-[--input-padding-x-medium]","py-[--input-padding-y-medium]","text-[length:var(--input-text-size-medium)]"],large:["px-[--input-padding-x-large]","py-[--input-padding-y-large]","text-[length:var(--input-text-size-large)]"]}},defaultVariants:{size:"medium"}});exports.sharedInputFieldStyles=i;exports.sharedInputFieldWrapperStyles=t;exports.sharedInputHintStyles=l;exports.sharedInputStyles=n;exports.sharedInputlabelStyles=a;
|
package/dist/lyra15.js
CHANGED
package/dist/lyra150.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=Symbol.for("motionComponentSymbol");exports.motionComponentSymbol=o;
|
package/dist/lyra150.js
CHANGED
package/dist/lyra151.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./lyra152.cjs"),f=require("./lyra129.cjs"),P=require("./lyra153.cjs"),T=require("./lyra154.cjs"),y=require("./lyra155.cjs"),V=require("./lyra156.cjs"),q=require("./lyra157.cjs"),F=require("./lyra158.cjs"),j=require("./lyra159.cjs"),m=require("./lyra132.cjs"),R=require("./lyra160.cjs"),v=require("./lyra161.cjs"),w=require("./lyra162.cjs"),E=require("./lyra163.cjs"),x=require("./lyra164.cjs"),N=require("./lyra165.cjs"),C=require("./lyra166.cjs"),b=require("./lyra167.cjs"),g=require("./lyra168.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;
|
package/dist/lyra151.js
CHANGED
|
@@ -1,29 +1,260 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import { frame as c, cancelFrame as f } from "./lyra152.js";
|
|
2
|
+
import { warning as b, invariant as S } from "./lyra129.js";
|
|
3
|
+
import { createBox as P } from "./lyra153.js";
|
|
4
|
+
import { isRefObject as T } from "./lyra154.js";
|
|
5
|
+
import { initPrefersReducedMotion as y } from "./lyra155.js";
|
|
6
|
+
import { hasReducedMotionListener as F, prefersReducedMotion as R } from "./lyra156.js";
|
|
7
|
+
import { SubscriptionManager as j } from "./lyra157.js";
|
|
8
|
+
import { motionValue as w } from "./lyra158.js";
|
|
9
|
+
import { isWillChangeMotionValue as N } from "./lyra159.js";
|
|
10
|
+
import { isMotionValue as m } from "./lyra132.js";
|
|
11
|
+
import { transformProps as E } from "./lyra160.js";
|
|
12
|
+
import { isControllingVariants as x, isVariantNode as B } from "./lyra161.js";
|
|
13
|
+
import { isVariantLabel as L } from "./lyra162.js";
|
|
14
|
+
import { updateMotionValuesFromProps as I } from "./lyra163.js";
|
|
15
|
+
import { resolveVariantFromProps as O } from "./lyra164.js";
|
|
16
|
+
import { warnOnce as A } from "./lyra165.js";
|
|
17
|
+
import { featureDefinitions as g } from "./lyra166.js";
|
|
18
|
+
import { variantProps as M } from "./lyra167.js";
|
|
19
|
+
import { visualElementStore as V } from "./lyra168.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);
|
|
25
256
|
}
|
|
26
257
|
}
|
|
27
258
|
export {
|
|
28
|
-
|
|
259
|
+
ot as VisualElement
|
|
29
260
|
};
|
package/dist/lyra152.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./lyra213.cjs"),r=require("./lyra197.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;
|
package/dist/lyra152.js
CHANGED
|
@@ -1,203 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}, this.scheduleVelocityCheck = () => n.postRender(this.velocityCheck), this.velocityCheck = ({ timestamp: i }) => {
|
|
22
|
-
i !== this.lastUpdated && (this.prev = this.current, this.events.velocityChange && this.events.velocityChange.notify(this.getVelocity()));
|
|
23
|
-
}, this.hasAnimated = !1, this.prev = this.current = t, this.canTrackVelocity = p(this.current), this.owner = e.owner;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Adds a function that will be notified when the `MotionValue` is updated.
|
|
27
|
-
*
|
|
28
|
-
* It returns a function that, when called, will cancel the subscription.
|
|
29
|
-
*
|
|
30
|
-
* When calling `onChange` inside a React component, it should be wrapped with the
|
|
31
|
-
* `useEffect` hook. As it returns an unsubscribe function, this should be returned
|
|
32
|
-
* from the `useEffect` function to ensure you don't add duplicate subscribers..
|
|
33
|
-
*
|
|
34
|
-
* ```jsx
|
|
35
|
-
* export const MyComponent = () => {
|
|
36
|
-
* const x = useMotionValue(0)
|
|
37
|
-
* const y = useMotionValue(0)
|
|
38
|
-
* const opacity = useMotionValue(1)
|
|
39
|
-
*
|
|
40
|
-
* useEffect(() => {
|
|
41
|
-
* function updateOpacity() {
|
|
42
|
-
* const maxXY = Math.max(x.get(), y.get())
|
|
43
|
-
* const newOpacity = transform(maxXY, [0, 100], [1, 0])
|
|
44
|
-
* opacity.set(newOpacity)
|
|
45
|
-
* }
|
|
46
|
-
*
|
|
47
|
-
* const unsubscribeX = x.on("change", updateOpacity)
|
|
48
|
-
* const unsubscribeY = y.on("change", updateOpacity)
|
|
49
|
-
*
|
|
50
|
-
* return () => {
|
|
51
|
-
* unsubscribeX()
|
|
52
|
-
* unsubscribeY()
|
|
53
|
-
* }
|
|
54
|
-
* }, [])
|
|
55
|
-
*
|
|
56
|
-
* return <motion.div style={{ x }} />
|
|
57
|
-
* }
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* @param subscriber - A function that receives the latest value.
|
|
61
|
-
* @returns A function that, when called, will cancel this subscription.
|
|
62
|
-
*
|
|
63
|
-
* @deprecated
|
|
64
|
-
*/
|
|
65
|
-
onChange(t) {
|
|
66
|
-
return process.env.NODE_ENV !== "production" && l(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", t);
|
|
67
|
-
}
|
|
68
|
-
on(t, e) {
|
|
69
|
-
this.events[t] || (this.events[t] = new c());
|
|
70
|
-
const i = this.events[t].add(e);
|
|
71
|
-
return t === "change" ? () => {
|
|
72
|
-
i(), n.read(() => {
|
|
73
|
-
this.events.change.getSize() || this.stop();
|
|
74
|
-
});
|
|
75
|
-
} : i;
|
|
76
|
-
}
|
|
77
|
-
clearListeners() {
|
|
78
|
-
for (const t in this.events)
|
|
79
|
-
this.events[t].clear();
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Attaches a passive effect to the `MotionValue`.
|
|
83
|
-
*
|
|
84
|
-
* @internal
|
|
85
|
-
*/
|
|
86
|
-
attach(t, e) {
|
|
87
|
-
this.passiveEffect = t, this.stopPassiveEffect = e;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Sets the state of the `MotionValue`.
|
|
91
|
-
*
|
|
92
|
-
* @remarks
|
|
93
|
-
*
|
|
94
|
-
* ```jsx
|
|
95
|
-
* const x = useMotionValue(0)
|
|
96
|
-
* x.set(10)
|
|
97
|
-
* ```
|
|
98
|
-
*
|
|
99
|
-
* @param latest - Latest value to set.
|
|
100
|
-
* @param render - Whether to notify render subscribers. Defaults to `true`
|
|
101
|
-
*
|
|
102
|
-
* @public
|
|
103
|
-
*/
|
|
104
|
-
set(t, e = !0) {
|
|
105
|
-
!e || !this.passiveEffect ? this.updateAndNotify(t, e) : this.passiveEffect(t, this.updateAndNotify);
|
|
106
|
-
}
|
|
107
|
-
setWithVelocity(t, e, i) {
|
|
108
|
-
this.set(e), this.prev = t, this.timeDelta = i;
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Set the state of the `MotionValue`, stopping any active animations,
|
|
112
|
-
* effects, and resets velocity to `0`.
|
|
113
|
-
*/
|
|
114
|
-
jump(t) {
|
|
115
|
-
this.updateAndNotify(t), this.prev = t, this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Returns the latest state of `MotionValue`
|
|
119
|
-
*
|
|
120
|
-
* @returns - The latest state of `MotionValue`
|
|
121
|
-
*
|
|
122
|
-
* @public
|
|
123
|
-
*/
|
|
124
|
-
get() {
|
|
125
|
-
return this.current;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* @public
|
|
129
|
-
*/
|
|
130
|
-
getPrevious() {
|
|
131
|
-
return this.prev;
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Returns the latest velocity of `MotionValue`
|
|
135
|
-
*
|
|
136
|
-
* @returns - The latest velocity of `MotionValue`. Returns `0` if the state is non-numerical.
|
|
137
|
-
*
|
|
138
|
-
* @public
|
|
139
|
-
*/
|
|
140
|
-
getVelocity() {
|
|
141
|
-
return this.canTrackVelocity ? (
|
|
142
|
-
// These casts could be avoided if parseFloat would be typed better
|
|
143
|
-
f(parseFloat(this.current) - parseFloat(this.prev), this.timeDelta)
|
|
144
|
-
) : 0;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Registers a new animation to control this `MotionValue`. Only one
|
|
148
|
-
* animation can drive a `MotionValue` at one time.
|
|
149
|
-
*
|
|
150
|
-
* ```jsx
|
|
151
|
-
* value.start()
|
|
152
|
-
* ```
|
|
153
|
-
*
|
|
154
|
-
* @param animation - A function that starts the provided animation
|
|
155
|
-
*
|
|
156
|
-
* @internal
|
|
157
|
-
*/
|
|
158
|
-
start(t) {
|
|
159
|
-
return this.stop(), new Promise((e) => {
|
|
160
|
-
this.hasAnimated = !0, this.animation = t(e), this.events.animationStart && this.events.animationStart.notify();
|
|
161
|
-
}).then(() => {
|
|
162
|
-
this.events.animationComplete && this.events.animationComplete.notify(), this.clearAnimation();
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
* Stop the currently active animation.
|
|
167
|
-
*
|
|
168
|
-
* @public
|
|
169
|
-
*/
|
|
170
|
-
stop() {
|
|
171
|
-
this.animation && (this.animation.stop(), this.events.animationCancel && this.events.animationCancel.notify()), this.clearAnimation();
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* Returns `true` if this value is currently animating.
|
|
175
|
-
*
|
|
176
|
-
* @public
|
|
177
|
-
*/
|
|
178
|
-
isAnimating() {
|
|
179
|
-
return !!this.animation;
|
|
180
|
-
}
|
|
181
|
-
clearAnimation() {
|
|
182
|
-
delete this.animation;
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
* Destroy and clean up subscribers to this `MotionValue`.
|
|
186
|
-
*
|
|
187
|
-
* The `MotionValue` hooks like `useMotionValue` and `useTransform` automatically
|
|
188
|
-
* handle the lifecycle of the returned `MotionValue`, so this method is only necessary if you've manually
|
|
189
|
-
* created a `MotionValue` via the `motionValue` function.
|
|
190
|
-
*
|
|
191
|
-
* @public
|
|
192
|
-
*/
|
|
193
|
-
destroy() {
|
|
194
|
-
this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
function C(s, t) {
|
|
198
|
-
return new v(s, t);
|
|
1
|
+
import { createRenderStep as f } from "./lyra213.js";
|
|
2
|
+
import { frameData as r } from "./lyra197.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));
|
|
199
21
|
}
|
|
200
22
|
export {
|
|
201
|
-
|
|
202
|
-
|
|
23
|
+
g as cancelFrame,
|
|
24
|
+
E as frame,
|
|
25
|
+
o as steps,
|
|
26
|
+
a as stepsOrder
|
|
203
27
|
};
|
package/dist/lyra153.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=()=>({translate:0,scale:1,origin:0,originPoint:0}),a=()=>({x:e(),y:e()}),t=()=>({min:0,max:0}),c=()=>({x:t(),y:t()});exports.createAxis=t;exports.createAxisDelta=e;exports.createBox=c;exports.createDelta=a;
|
package/dist/lyra153.js
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
+
});
|
|
5
13
|
export {
|
|
6
|
-
|
|
14
|
+
e as createAxis,
|
|
15
|
+
t as createAxisDelta,
|
|
16
|
+
c as createBox,
|
|
17
|
+
a as createDelta
|
|
7
18
|
};
|
package/dist/lyra154.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function t(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}exports.isRefObject=t;
|
package/dist/lyra154.js
CHANGED
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
"y",
|
|
5
|
-
"z",
|
|
6
|
-
"translateX",
|
|
7
|
-
"translateY",
|
|
8
|
-
"translateZ",
|
|
9
|
-
"scale",
|
|
10
|
-
"scaleX",
|
|
11
|
-
"scaleY",
|
|
12
|
-
"rotate",
|
|
13
|
-
"rotateX",
|
|
14
|
-
"rotateY",
|
|
15
|
-
"rotateZ",
|
|
16
|
-
"skew",
|
|
17
|
-
"skewX",
|
|
18
|
-
"skewY"
|
|
19
|
-
], e = new Set(t);
|
|
1
|
+
function e(t) {
|
|
2
|
+
return typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
|
|
3
|
+
}
|
|
20
4
|
export {
|
|
21
|
-
|
|
22
|
-
e as transformProps
|
|
5
|
+
e as isRefObject
|
|
23
6
|
};
|