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.
@@ -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-20250906-44b2da0df';
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}` : ''}`;
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(83),
26
26
  RCTVersionPatch: @(0),
27
- RCTVersionPrerelease: @"nightly-20250906-44b2da0df",
27
+ RCTVersionPrerelease: @"nightly-20250908-02e3a999e",
28
28
  };
29
29
  });
30
30
  return __rnVersion;
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.83.0-nightly-20250906-44b2da0df
1
+ VERSION_NAME=0.83.0-nightly-20250908-02e3a999e
2
2
  HERMES_VERSION_NAME=1000.0.0
3
3
  react.internal.publishingGroup=com.facebook.react
4
4
  react.internal.hermesPublishingGroup=com.facebook.hermes
@@ -15,6 +15,6 @@ public object ReactNativeVersion {
15
15
  "major" to 0,
16
16
  "minor" to 83,
17
17
  "patch" to 0,
18
- "prerelease" to "nightly-20250906-44b2da0df"
18
+ "prerelease" to "nightly-20250908-02e3a999e"
19
19
  )
20
20
  }
@@ -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-20250906-44b2da0df";
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.value_or(SharedColor());
313
+ result[propName] = newColor.has_value() ? *newColor.value() : NULL;
314
314
  }
315
315
  }
316
316
 
@@ -12,7 +12,7 @@
12
12
 
13
13
  namespace facebook::react {
14
14
 
15
- using Color = uint32_t;
15
+ using Color = int32_t;
16
16
 
17
17
  namespace HostPlatformColor {
18
18
  constexpr facebook::react::Color UndefinedColor = 0;
@@ -42,7 +42,7 @@ inline SharedColor parsePlatformColor(
42
42
  auto color =
43
43
  getColorFromJava(fabricUIManager, surfaceId, *javaResourcePaths);
44
44
 
45
- auto argb = (uint32_t)color;
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;
@@ -13,7 +13,7 @@
13
13
 
14
14
  namespace facebook::react {
15
15
 
16
- using Color = uint32_t;
16
+ using Color = int32_t;
17
17
 
18
18
  namespace HostPlatformColor {
19
19
  constexpr facebook::react::Color UndefinedColor = 0;
@@ -14,18 +14,18 @@
14
14
  namespace facebook::react {
15
15
 
16
16
  struct DynamicColor {
17
- uint32_t lightColor = 0;
18
- uint32_t darkColor = 0;
19
- uint32_t highContrastLightColor = 0;
20
- uint32_t highContrastDarkColor = 0;
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(uint32_t color);
24
+ Color(int32_t color);
25
25
  Color(const DynamicColor& dynamicColor);
26
26
  Color(const ColorComponents& components);
27
27
  Color() : uiColor_(nullptr){};
28
- uint32_t getColor() const;
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
- uint32_t primitiveColor = getColor();
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 uint32_t() const {
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(uint32_t intColor)
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
- uint32_t light = dynamicColor.lightColor;
53
- uint32_t dark = dynamicColor.darkColor;
54
- uint32_t highContrastLight = dynamicColor.highContrastLightColor;
55
- uint32_t highContrastDark = dynamicColor.highContrastDarkColor;
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
- uint32_t ColorFromColorComponents(const facebook::react::ColorComponents &components)
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
- uint32_t ColorFromUIColor(UIColor *color)
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
- uint32_t ColorFromUIColorForSpecificTraitCollection(
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
- uint32_t ColorFromUIColor(const std::shared_ptr<void> &uiColor)
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(uint32_t 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
- uint32_t Color::getColor() const
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-20250906-44b2da0df",
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-20250906-44b2da0df",
163
- "@react-native/codegen": "0.83.0-nightly-20250906-44b2da0df",
164
- "@react-native/community-cli-plugin": "0.83.0-nightly-20250906-44b2da0df",
165
- "@react-native/gradle-plugin": "0.83.0-nightly-20250906-44b2da0df",
166
- "@react-native/js-polyfills": "0.83.0-nightly-20250906-44b2da0df",
167
- "@react-native/normalize-colors": "0.83.0-nightly-20250906-44b2da0df",
168
- "@react-native/virtualized-lists": "0.83.0-nightly-20250906-44b2da0df",
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