react-native-unistyles 3.0.0-nightly-20250422 → 3.0.0-nightly-20250423
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 +1 -0
- package/package.json +1 -1
- package/plugin/index.js +3 -0
package/README.md
CHANGED
|
@@ -28,6 +28,7 @@ yarn add react-native-edge-to-edge react-native-nitro-modules@0.25.2
|
|
|
28
28
|
|
|
29
29
|
| react-native-unistyles | react-native-nitro-modules |
|
|
30
30
|
|------------------------|----------------------------|
|
|
31
|
+
| 3.0.0-nightly-20250422 | 0.25.2 |
|
|
31
32
|
| 3.0.0-rc.2 | 0.25.2 |
|
|
32
33
|
|
|
33
34
|
Then follow [installation guides](https://unistyl.es/v3/start/getting-started) for your platform.
|
package/package.json
CHANGED
package/plugin/index.js
CHANGED
|
@@ -831,6 +831,9 @@ function index_default() {
|
|
|
831
831
|
if (path2.node.object.name !== state.file.reactNativeCommonJSName || !t6.isIdentifier(path2.node.property)) {
|
|
832
832
|
return;
|
|
833
833
|
}
|
|
834
|
+
if (!REACT_NATIVE_COMPONENT_NAMES.includes(path2.node.property.name)) {
|
|
835
|
+
return;
|
|
836
|
+
}
|
|
834
837
|
if (!state.reactNativeImports[path2.node.property.name]) {
|
|
835
838
|
const uniqueId = path2.scope.generateUidIdentifier(`reactNativeUnistyles_${path2.node.property.name}`);
|
|
836
839
|
state.reactNativeImports[path2.node.property.name] = uniqueId.name;
|