react-native-theme-transition 2.0.0 → 2.0.1
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/README.md +4 -4
- package/README.npm.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
<p align="center">
|
|
16
|
-
<img src="https://
|
|
16
|
+
<img src="https://raw.githubusercontent.com/marioprieta/react-native-theme-transition/main/assets/videos/raw.gif" width="400" alt="React Native Theme Transition demo" />
|
|
17
17
|
</p>
|
|
18
18
|
|
|
19
19
|
## Features
|
|
20
20
|
|
|
21
21
|
- **Nine transition styles.** `fade`, `circularReveal`, `heart`, `star`, `wipe`, `slide`, `split`, `pixelize`, `dissolve`.
|
|
22
|
-
- **Expo Go ready.** Works on Expo SDK
|
|
22
|
+
- **Expo Go ready.** Works on Expo SDK 55+ out of the box. Bare React Native CLI also supported.
|
|
23
23
|
- **Full TypeScript inference.** `useTheme()` and `setTheme()` know your theme names and color tokens without manual generics.
|
|
24
24
|
- **System theme built in.** Follows OS appearance with zero-flash startup.
|
|
25
25
|
- **Strict runtime validation.** Invalid options throw immediately with clear error messages.
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
|
|
35
35
|
## Try it
|
|
36
36
|
|
|
37
|
-
- [Snack](https://snack.expo.dev/@mariops03/react-native-theme-transition) Live playground with the 9 transitions
|
|
37
|
+
- [Snack](https://snack.expo.dev/@mariops03/react-native-theme-transition) Live playground with the 9 transitions. **Open it on iOS** — Snack's Android preview runs slowly and the animations don't render (this is a Snack limitation, not a library one; animations run fine on real Android devices and in release builds).
|
|
38
38
|
- [Docs](https://react-native-theme-transition.vercel.app) API reference, recipes, migration guide.
|
|
39
39
|
|
|
40
40
|
## Installation
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
# Expo (SDK
|
|
43
|
+
# Expo (SDK 55+)
|
|
44
44
|
npx expo install react-native-theme-transition @shopify/react-native-skia react-native-worklets
|
|
45
45
|
|
|
46
46
|
# React Native CLI
|
package/README.npm.md
CHANGED
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
<p align="center">
|
|
16
|
-
<img src="https://
|
|
16
|
+
<img src="https://raw.githubusercontent.com/marioprieta/react-native-theme-transition/main/assets/videos/raw.gif" width="400" alt="React Native Theme Transition demo" />
|
|
17
17
|
</p>
|
|
18
18
|
|
|
19
19
|
## Features
|
|
20
20
|
|
|
21
21
|
- **Nine transition styles.** `fade`, `circularReveal`, `heart`, `star`, `wipe`, `slide`, `split`, `pixelize`, `dissolve`.
|
|
22
|
-
- **Expo Go ready.** Works on Expo SDK
|
|
22
|
+
- **Expo Go ready.** Works on Expo SDK 55+ out of the box. Bare React Native CLI also supported.
|
|
23
23
|
- **Full TypeScript inference.** `useTheme()` and `setTheme()` know your theme names and color tokens without manual generics.
|
|
24
24
|
- **System theme built in.** Follows OS appearance with zero-flash startup.
|
|
25
25
|
- **Strict runtime validation.** Invalid options throw immediately with clear error messages.
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
|
|
35
35
|
## Try it
|
|
36
36
|
|
|
37
|
-
- [Snack](https://snack.expo.dev/@mariops03/react-native-theme-transition) Live playground with the 9 transitions
|
|
37
|
+
- [Snack](https://snack.expo.dev/@mariops03/react-native-theme-transition) Live playground with the 9 transitions. **Open it on iOS** — Snack's Android preview runs slowly and the animations don't render (this is a Snack limitation, not a library one; animations run fine on real Android devices and in release builds).
|
|
38
38
|
- [Docs](https://react-native-theme-transition.vercel.app) API reference, recipes, migration guide.
|
|
39
39
|
|
|
40
40
|
## Installation
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
# Expo (SDK
|
|
43
|
+
# Expo (SDK 55+)
|
|
44
44
|
npx expo install react-native-theme-transition @shopify/react-native-skia react-native-worklets
|
|
45
45
|
|
|
46
46
|
# React Native CLI
|
package/package.json
CHANGED