react-native 0.83.0-nightly-20250906-44b2da0df → 0.83.0-nightly-20250908-02e3a999e
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/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/react/renderer/components/view/platform/android/react/renderer/components/view/HostPlatformViewProps.cpp +1 -1
- package/ReactCommon/react/renderer/graphics/platform/android/react/renderer/graphics/HostPlatformColor.h +1 -1
- package/ReactCommon/react/renderer/graphics/platform/android/react/renderer/graphics/PlatformColorParser.h +1 -1
- package/ReactCommon/react/renderer/graphics/platform/cxx/react/renderer/graphics/HostPlatformColor.h +1 -1
- package/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/HostPlatformColor.h +8 -8
- package/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/HostPlatformColor.mm +11 -11
- package/package.json +8 -8
- package/sdks/hermesc/osx-bin/hermes +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
|
@@ -29,7 +29,7 @@ export default class ReactNativeVersion {
|
|
|
29
29
|
static major: number = 0;
|
|
30
30
|
static minor: number = 83;
|
|
31
31
|
static patch: number = 0;
|
|
32
|
-
static prerelease: string | null = 'nightly-
|
|
32
|
+
static prerelease: string | null = 'nightly-20250908-02e3a999e';
|
|
33
33
|
|
|
34
34
|
static getVersionString(): string {
|
|
35
35
|
return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`;
|
package/React/Base/RCTVersion.m
CHANGED
|
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
|
|
|
24
24
|
RCTVersionMajor: @(0),
|
|
25
25
|
RCTVersionMinor: @(83),
|
|
26
26
|
RCTVersionPatch: @(0),
|
|
27
|
-
RCTVersionPrerelease: @"nightly-
|
|
27
|
+
RCTVersionPrerelease: @"nightly-20250908-02e3a999e",
|
|
28
28
|
};
|
|
29
29
|
});
|
|
30
30
|
return __rnVersion;
|
|
@@ -22,7 +22,7 @@ constexpr struct {
|
|
|
22
22
|
int32_t Major = 0;
|
|
23
23
|
int32_t Minor = 83;
|
|
24
24
|
int32_t Patch = 0;
|
|
25
|
-
std::string_view Prerelease = "nightly-
|
|
25
|
+
std::string_view Prerelease = "nightly-20250908-02e3a999e";
|
|
26
26
|
} ReactNativeVersion;
|
|
27
27
|
|
|
28
28
|
} // namespace facebook::react
|
|
@@ -310,7 +310,7 @@ static void updateBorderColorPropValue(
|
|
|
310
310
|
const std::optional<SharedColor>& newColor,
|
|
311
311
|
const std::optional<SharedColor>& oldColor) {
|
|
312
312
|
if (newColor != oldColor) {
|
|
313
|
-
result[propName] = *newColor.
|
|
313
|
+
result[propName] = newColor.has_value() ? *newColor.value() : NULL;
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
316
|
|
|
@@ -42,7 +42,7 @@ inline SharedColor parsePlatformColor(
|
|
|
42
42
|
auto color =
|
|
43
43
|
getColorFromJava(fabricUIManager, surfaceId, *javaResourcePaths);
|
|
44
44
|
|
|
45
|
-
auto argb = (
|
|
45
|
+
auto argb = (int64_t)color;
|
|
46
46
|
auto ratio = 255.f;
|
|
47
47
|
colorComponents.alpha = ((argb >> 24) & 0xFF) / ratio;
|
|
48
48
|
colorComponents.red = ((argb >> 16) & 0xFF) / ratio;
|
package/ReactCommon/react/renderer/graphics/platform/ios/react/renderer/graphics/HostPlatformColor.h
CHANGED
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
namespace facebook::react {
|
|
15
15
|
|
|
16
16
|
struct DynamicColor {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
int32_t lightColor = 0;
|
|
18
|
+
int32_t darkColor = 0;
|
|
19
|
+
int32_t highContrastLightColor = 0;
|
|
20
|
+
int32_t highContrastDarkColor = 0;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
struct Color {
|
|
24
|
-
Color(
|
|
24
|
+
Color(int32_t color);
|
|
25
25
|
Color(const DynamicColor& dynamicColor);
|
|
26
26
|
Color(const ColorComponents& components);
|
|
27
27
|
Color() : uiColor_(nullptr){};
|
|
28
|
-
|
|
28
|
+
int32_t getColor() const;
|
|
29
29
|
std::size_t getUIColorHash() const;
|
|
30
30
|
|
|
31
31
|
static Color createSemanticColor(std::vector<std::string>& semanticItems);
|
|
@@ -38,7 +38,7 @@ struct Color {
|
|
|
38
38
|
|
|
39
39
|
ColorComponents getColorComponents() const {
|
|
40
40
|
float ratio = 255;
|
|
41
|
-
|
|
41
|
+
int32_t primitiveColor = getColor();
|
|
42
42
|
return ColorComponents{
|
|
43
43
|
.red = (float)((primitiveColor >> 16) & 0xff) / ratio,
|
|
44
44
|
.green = (float)((primitiveColor >> 8) & 0xff) / ratio,
|
|
@@ -47,7 +47,7 @@ struct Color {
|
|
|
47
47
|
}
|
|
48
48
|
bool operator==(const Color& other) const;
|
|
49
49
|
bool operator!=(const Color& other) const;
|
|
50
|
-
operator
|
|
50
|
+
operator int32_t() const {
|
|
51
51
|
return getColor();
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -36,7 +36,7 @@ bool UIColorIsP3ColorSpace(const std::shared_ptr<void> &uiColor)
|
|
|
36
36
|
return false;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
UIColor *_Nullable UIColorFromInt32(
|
|
39
|
+
UIColor *_Nullable UIColorFromInt32(int32_t intColor)
|
|
40
40
|
{
|
|
41
41
|
CGFloat a = CGFloat((intColor >> 24) & 0xFF) / 255.0;
|
|
42
42
|
CGFloat r = CGFloat((intColor >> 16) & 0xFF) / 255.0;
|
|
@@ -49,10 +49,10 @@ UIColor *_Nullable UIColorFromInt32(uint32_t intColor)
|
|
|
49
49
|
|
|
50
50
|
UIColor *_Nullable UIColorFromDynamicColor(const facebook::react::DynamicColor &dynamicColor)
|
|
51
51
|
{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
int32_t light = dynamicColor.lightColor;
|
|
53
|
+
int32_t dark = dynamicColor.darkColor;
|
|
54
|
+
int32_t highContrastLight = dynamicColor.highContrastLightColor;
|
|
55
|
+
int32_t highContrastDark = dynamicColor.highContrastDarkColor;
|
|
56
56
|
|
|
57
57
|
UIColor *lightColor = UIColorFromInt32(light);
|
|
58
58
|
UIColor *darkColor = UIColorFromInt32(dark);
|
|
@@ -83,7 +83,7 @@ UIColor *_Nullable UIColorFromDynamicColor(const facebook::react::DynamicColor &
|
|
|
83
83
|
return nil;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
int32_t ColorFromColorComponents(const facebook::react::ColorComponents &components)
|
|
87
87
|
{
|
|
88
88
|
float ratio = 255;
|
|
89
89
|
auto color = ((int32_t)round((float)components.alpha * ratio) & 0xff) << 24 |
|
|
@@ -92,7 +92,7 @@ uint32_t ColorFromColorComponents(const facebook::react::ColorComponents &compon
|
|
|
92
92
|
return color;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
int32_t ColorFromUIColor(UIColor *color)
|
|
96
96
|
{
|
|
97
97
|
CGFloat rgba[4];
|
|
98
98
|
[color getRed:&rgba[0] green:&rgba[1] blue:&rgba[2] alpha:&rgba[3]];
|
|
@@ -100,7 +100,7 @@ uint32_t ColorFromUIColor(UIColor *color)
|
|
|
100
100
|
{.red = (float)rgba[0], .green = (float)rgba[1], .blue = (float)rgba[2], .alpha = (float)rgba[3]});
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
int32_t ColorFromUIColorForSpecificTraitCollection(
|
|
104
104
|
const std::shared_ptr<void> &uiColor,
|
|
105
105
|
UITraitCollection *traitCollection)
|
|
106
106
|
{
|
|
@@ -113,7 +113,7 @@ uint32_t ColorFromUIColorForSpecificTraitCollection(
|
|
|
113
113
|
return 0;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
int32_t ColorFromUIColor(const std::shared_ptr<void> &uiColor)
|
|
117
117
|
{
|
|
118
118
|
return ColorFromUIColorForSpecificTraitCollection(uiColor, [UITraitCollection currentTraitCollection]);
|
|
119
119
|
}
|
|
@@ -172,7 +172,7 @@ std::size_t hashFromUIColor(const std::shared_ptr<void> &uiColor)
|
|
|
172
172
|
|
|
173
173
|
} // anonymous namespace
|
|
174
174
|
|
|
175
|
-
Color::Color(
|
|
175
|
+
Color::Color(int32_t color)
|
|
176
176
|
{
|
|
177
177
|
uiColor_ = wrapManagedObject(UIColorFromInt32(color));
|
|
178
178
|
uiColorHashValue_ = facebook::react::hash_combine(color, 0);
|
|
@@ -217,7 +217,7 @@ bool Color::operator!=(const Color &other) const
|
|
|
217
217
|
return !(*this == other);
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
|
|
220
|
+
int32_t Color::getColor() const
|
|
221
221
|
{
|
|
222
222
|
return ColorFromUIColor(uiColor_);
|
|
223
223
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native",
|
|
3
|
-
"version": "0.83.0-nightly-
|
|
3
|
+
"version": "0.83.0-nightly-20250908-02e3a999e",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -159,13 +159,13 @@
|
|
|
159
159
|
},
|
|
160
160
|
"dependencies": {
|
|
161
161
|
"@jest/create-cache-key-function": "^29.7.0",
|
|
162
|
-
"@react-native/assets-registry": "0.83.0-nightly-
|
|
163
|
-
"@react-native/codegen": "0.83.0-nightly-
|
|
164
|
-
"@react-native/community-cli-plugin": "0.83.0-nightly-
|
|
165
|
-
"@react-native/gradle-plugin": "0.83.0-nightly-
|
|
166
|
-
"@react-native/js-polyfills": "0.83.0-nightly-
|
|
167
|
-
"@react-native/normalize-colors": "0.83.0-nightly-
|
|
168
|
-
"@react-native/virtualized-lists": "0.83.0-nightly-
|
|
162
|
+
"@react-native/assets-registry": "0.83.0-nightly-20250908-02e3a999e",
|
|
163
|
+
"@react-native/codegen": "0.83.0-nightly-20250908-02e3a999e",
|
|
164
|
+
"@react-native/community-cli-plugin": "0.83.0-nightly-20250908-02e3a999e",
|
|
165
|
+
"@react-native/gradle-plugin": "0.83.0-nightly-20250908-02e3a999e",
|
|
166
|
+
"@react-native/js-polyfills": "0.83.0-nightly-20250908-02e3a999e",
|
|
167
|
+
"@react-native/normalize-colors": "0.83.0-nightly-20250908-02e3a999e",
|
|
168
|
+
"@react-native/virtualized-lists": "0.83.0-nightly-20250908-02e3a999e",
|
|
169
169
|
"abort-controller": "^3.0.0",
|
|
170
170
|
"anser": "^1.4.9",
|
|
171
171
|
"ansi-regex": "^5.0.0",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|