Skip to content

Commit 7355d8e

Browse files
committed
upgrade reanimated version
1 parent 95a1044 commit 7355d8e

File tree

7 files changed

+119
-25
lines changed

7 files changed

+119
-25
lines changed

.yarn/install-state.gz

38.4 KB
Binary file not shown.

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.28.1](https://github.com/nandorojo/moti/compare/v0.28.0...v0.28.1) (2024-02-22)
7+
8+
**Note:** Version bump only for package moti
9+
10+
11+
12+
13+
14+
## [0.28.1](https://github.com/nandorojo/moti/compare/v0.28.0...v0.28.1) (2024-02-22)
15+
16+
**Note:** Version bump only for package moti
17+
18+
19+
20+
21+
622
# [0.28.0](https://github.com/nandorojo/moti/compare/v0.27.1...v0.28.0) (2024-02-22)
723

824
**Note:** Version bump only for package moti

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
],
66
"npmClient": "npm",
77
"useWorkspaces": true,
8-
"version": "0.28.0",
8+
"version": "0.28.1",
99
"command": {
1010
"publish": {
1111
"allowBranch": "master",

packages/moti/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,22 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [0.28.1](https://github.com/nandorojo/moti/compare/v0.28.0...v0.28.1) (2024-02-22)
7+
8+
**Note:** Version bump only for package moti
9+
10+
11+
12+
13+
14+
## [0.28.1](https://github.com/nandorojo/moti/compare/v0.28.0...v0.28.1) (2024-02-22)
15+
16+
**Note:** Version bump only for package moti
17+
18+
19+
20+
21+
622
# [0.28.0](https://github.com/nandorojo/moti/compare/v0.27.1...v0.28.0) (2024-02-22)
723

824
**Note:** Version bump only for package moti

packages/moti/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"expo-linear-gradient": "^10.0.3",
5252
"expo-module-scripts": "^3.4.1",
5353
"react-native-linear-gradient": "^2.6.2",
54-
"react-native-reanimated": "3.5.4",
54+
"react-native-reanimated": "3.11.0",
5555
"typescript": "^5.2.0"
5656
},
5757
"react-native-builder-bob": {

packages/moti/src/core/use-motify.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,13 +553,22 @@ export function useMotify<Animate>({
553553
delayMs = transition?.[transformKey]?.delay
554554
}
555555

556+
let configKey = transformKey
557+
if (
558+
transition &&
559+
'transform' in transition &&
560+
!(configKey in transition)
561+
) {
562+
configKey = 'transform'
563+
}
564+
556565
const {
557566
animation,
558567
config,
559568
shouldRepeat,
560569
repeatCount,
561570
repeatReverse,
562-
} = animationConfig(transformKey, transition)
571+
} = animationConfig(configKey, transition)
563572

564573
let finalValue = animation(transformValue, config, callback)
565574
if (shouldRepeat) {

yarn.lock

Lines changed: 75 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,13 @@ __metadata:
391391
languageName: node
392392
linkType: hard
393393

394+
"@babel/helper-plugin-utils@npm:^7.24.0, @babel/helper-plugin-utils@npm:^7.24.5":
395+
version: 7.24.5
396+
resolution: "@babel/helper-plugin-utils@npm:7.24.5"
397+
checksum: 10c0/4ae40094e6a2f183281213344f4df60c66b16b19a2bc38d2bb11810a6dc0a0e7ec638957d0e433ff8b615775b8f3cd1b7edbf59440d1b50e73c389fc22913377
398+
languageName: node
399+
linkType: hard
400+
394401
"@babel/helper-remap-async-to-generator@npm:^7.18.9, @babel/helper-remap-async-to-generator@npm:^7.22.20":
395402
version: 7.22.20
396403
resolution: "@babel/helper-remap-async-to-generator@npm:7.22.20"
@@ -955,6 +962,17 @@ __metadata:
955962
languageName: node
956963
linkType: hard
957964

965+
"@babel/plugin-transform-arrow-functions@npm:^7.0.0-0":
966+
version: 7.24.1
967+
resolution: "@babel/plugin-transform-arrow-functions@npm:7.24.1"
968+
dependencies:
969+
"@babel/helper-plugin-utils": "npm:^7.24.0"
970+
peerDependencies:
971+
"@babel/core": ^7.0.0-0
972+
checksum: 10c0/f44bfacf087dc21b422bab99f4e9344ee7b695b05c947dacae66de05c723ab9d91800be7edc1fa016185e8c819f3aca2b4a5f66d8a4d1e47d9bad80b8fa55b8e
973+
languageName: node
974+
linkType: hard
975+
958976
"@babel/plugin-transform-async-generator-functions@npm:^7.23.9":
959977
version: 7.23.9
960978
resolution: "@babel/plugin-transform-async-generator-functions@npm:7.23.9"
@@ -1286,6 +1304,18 @@ __metadata:
12861304
languageName: node
12871305
linkType: hard
12881306

1307+
"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.0.0-0":
1308+
version: 7.24.1
1309+
resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.24.1"
1310+
dependencies:
1311+
"@babel/helper-plugin-utils": "npm:^7.24.0"
1312+
"@babel/plugin-syntax-nullish-coalescing-operator": "npm:^7.8.3"
1313+
peerDependencies:
1314+
"@babel/core": ^7.0.0-0
1315+
checksum: 10c0/c8532951506fb031287280cebeef10aa714f8a7cea2b62a13c805f0e0af945ba77a7c87e4bbbe4c37fe973e0e5d5e649cfac7f0374f57efc54cdf9656362a392
1316+
languageName: node
1317+
linkType: hard
1318+
12891319
"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.23.4":
12901320
version: 7.23.4
12911321
resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.23.4"
@@ -1310,17 +1340,6 @@ __metadata:
13101340
languageName: node
13111341
linkType: hard
13121342

1313-
"@babel/plugin-transform-object-assign@npm:^7.16.7":
1314-
version: 7.23.3
1315-
resolution: "@babel/plugin-transform-object-assign@npm:7.23.3"
1316-
dependencies:
1317-
"@babel/helper-plugin-utils": "npm:^7.22.5"
1318-
peerDependencies:
1319-
"@babel/core": ^7.0.0-0
1320-
checksum: 10c0/44467e8bd8eaae3fe54834dac9d1647d2b2598529a90722281832f6905d485c05e37b5fbd6fd7660c5d2e32e6f005824cda8a9321ddac2e2d619536fafc9783c
1321-
languageName: node
1322-
linkType: hard
1323-
13241343
"@babel/plugin-transform-object-rest-spread@npm:^7.12.13, @babel/plugin-transform-object-rest-spread@npm:^7.23.4":
13251344
version: 7.23.4
13261345
resolution: "@babel/plugin-transform-object-rest-spread@npm:7.23.4"
@@ -1360,6 +1379,19 @@ __metadata:
13601379
languageName: node
13611380
linkType: hard
13621381

1382+
"@babel/plugin-transform-optional-chaining@npm:^7.0.0-0":
1383+
version: 7.24.5
1384+
resolution: "@babel/plugin-transform-optional-chaining@npm:7.24.5"
1385+
dependencies:
1386+
"@babel/helper-plugin-utils": "npm:^7.24.5"
1387+
"@babel/helper-skip-transparent-expression-wrappers": "npm:^7.22.5"
1388+
"@babel/plugin-syntax-optional-chaining": "npm:^7.8.3"
1389+
peerDependencies:
1390+
"@babel/core": ^7.0.0-0
1391+
checksum: 10c0/f4e9446ec69f58f40b7843ce7603cfc50332976e6e794d4ddbe6b24670cd50ebc7766c4e3cbaecf0fbb744e98cbfbb54146f4e966314b1d58511b8bbf3d2722b
1392+
languageName: node
1393+
linkType: hard
1394+
13631395
"@babel/plugin-transform-optional-chaining@npm:^7.23.3, @babel/plugin-transform-optional-chaining@npm:^7.23.4":
13641396
version: 7.23.4
13651397
resolution: "@babel/plugin-transform-optional-chaining@npm:7.23.4"
@@ -1542,6 +1574,17 @@ __metadata:
15421574
languageName: node
15431575
linkType: hard
15441576

1577+
"@babel/plugin-transform-shorthand-properties@npm:^7.0.0-0":
1578+
version: 7.24.1
1579+
resolution: "@babel/plugin-transform-shorthand-properties@npm:7.24.1"
1580+
dependencies:
1581+
"@babel/helper-plugin-utils": "npm:^7.24.0"
1582+
peerDependencies:
1583+
"@babel/core": ^7.0.0-0
1584+
checksum: 10c0/8273347621183aada3cf1f3019d8d5f29467ba13a75b72cb405bc7f23b7e05fd85f4edb1e4d9f0103153dddb61826a42dc24d466480d707f8932c1923a4c25fa
1585+
languageName: node
1586+
linkType: hard
1587+
15451588
"@babel/plugin-transform-spread@npm:^7.0.0, @babel/plugin-transform-spread@npm:^7.23.3":
15461589
version: 7.23.3
15471590
resolution: "@babel/plugin-transform-spread@npm:7.23.3"
@@ -1565,6 +1608,17 @@ __metadata:
15651608
languageName: node
15661609
linkType: hard
15671610

1611+
"@babel/plugin-transform-template-literals@npm:^7.0.0-0":
1612+
version: 7.24.1
1613+
resolution: "@babel/plugin-transform-template-literals@npm:7.24.1"
1614+
dependencies:
1615+
"@babel/helper-plugin-utils": "npm:^7.24.0"
1616+
peerDependencies:
1617+
"@babel/core": ^7.0.0-0
1618+
checksum: 10c0/f73bcda5488eb81c6e7a876498d9e6b72be32fca5a4d9db9053491a2d1300cd27b889b463fd2558f3cd5826a85ed00f61d81b234aa55cb5a0abf1b6fa1bd5026
1619+
languageName: node
1620+
linkType: hard
1621+
15681622
"@babel/plugin-transform-template-literals@npm:^7.23.3":
15691623
version: 7.23.3
15701624
resolution: "@babel/plugin-transform-template-literals@npm:7.23.3"
@@ -13337,7 +13391,7 @@ __metadata:
1333713391
expo-module-scripts: "npm:^3.4.1"
1333813392
framer-motion: "npm:^6.5.1"
1333913393
react-native-linear-gradient: "npm:^2.6.2"
13340-
react-native-reanimated: "npm:3.5.4"
13394+
react-native-reanimated: "npm:3.11.0"
1334113395
typescript: "npm:^5.2.0"
1334213396
peerDependencies:
1334313397
react-native-reanimated: "*"
@@ -15024,24 +15078,23 @@ __metadata:
1502415078
languageName: node
1502515079
linkType: hard
1502615080

15027-
"react-native-reanimated@npm:3.5.4":
15028-
version: 3.5.4
15029-
resolution: "react-native-reanimated@npm:3.5.4"
15081+
"react-native-reanimated@npm:3.11.0":
15082+
version: 3.11.0
15083+
resolution: "react-native-reanimated@npm:3.11.0"
1503015084
dependencies:
15031-
"@babel/plugin-transform-object-assign": "npm:^7.16.7"
15085+
"@babel/plugin-transform-arrow-functions": "npm:^7.0.0-0"
15086+
"@babel/plugin-transform-nullish-coalescing-operator": "npm:^7.0.0-0"
15087+
"@babel/plugin-transform-optional-chaining": "npm:^7.0.0-0"
15088+
"@babel/plugin-transform-shorthand-properties": "npm:^7.0.0-0"
15089+
"@babel/plugin-transform-template-literals": "npm:^7.0.0-0"
1503215090
"@babel/preset-typescript": "npm:^7.16.7"
1503315091
convert-source-map: "npm:^2.0.0"
1503415092
invariant: "npm:^2.2.4"
1503515093
peerDependencies:
1503615094
"@babel/core": ^7.0.0-0
15037-
"@babel/plugin-proposal-nullish-coalescing-operator": ^7.0.0-0
15038-
"@babel/plugin-proposal-optional-chaining": ^7.0.0-0
15039-
"@babel/plugin-transform-arrow-functions": ^7.0.0-0
15040-
"@babel/plugin-transform-shorthand-properties": ^7.0.0-0
15041-
"@babel/plugin-transform-template-literals": ^7.0.0-0
1504215095
react: "*"
1504315096
react-native: "*"
15044-
checksum: 10c0/68182fdc5725bee1220f06a850eb94d81f119d8e661d55be601d83ebfd01268e84529ab5677691dc3d5f408378b30ef059834f8859c3e4584c5e97754619d3f5
15097+
checksum: 10c0/e41047ae2bf1abe760a6ed1b24300c4064028230800898405b7b414a9d4bcc5aabbc250ddeffa945f103d7629e1cb50e031956fcd197f1ccd18da5059a4203b1
1504515098
languageName: node
1504615099
linkType: hard
1504715100

0 commit comments

Comments
 (0)