react-native 0.82.0-nightly-20250806-5936f29d6 → 0.82.0-nightly-20250807-2768c8444

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.
Files changed (89) hide show
  1. package/Libraries/Animated/NativeAnimatedAllowlist.js +1 -0
  2. package/Libraries/Animated/nodes/AnimatedColor.js +8 -8
  3. package/Libraries/Animated/nodes/AnimatedInterpolation.js +4 -4
  4. package/Libraries/Animated/nodes/AnimatedProps.js +2 -2
  5. package/Libraries/Animated/nodes/AnimatedStyle.js +3 -3
  6. package/Libraries/Components/TextInput/TextInput.js +6 -1
  7. package/Libraries/Core/ReactNativeVersion.js +1 -1
  8. package/Libraries/Interaction/InteractionManager.js +1 -1
  9. package/Libraries/Network/React-RCTNetwork.podspec +1 -1
  10. package/Libraries/StyleSheet/splitLayoutProps.js +2 -2
  11. package/Libraries/Text/Text.js +509 -235
  12. package/React/Base/RCTVersion.m +1 -1
  13. package/React/CoreModules/React-CoreModules.podspec +1 -1
  14. package/React/Fabric/Mounting/ComponentViews/Modal/RCTModalHostViewComponentView.mm +22 -0
  15. package/React/React-RCTFabric.podspec +1 -0
  16. package/React/Runtime/React-RCTRuntime.podspec +1 -0
  17. package/ReactAndroid/gradle.properties +1 -1
  18. package/ReactAndroid/src/main/java/com/facebook/react/bridge/JSInstance.kt +2 -2
  19. package/ReactAndroid/src/main/java/com/facebook/react/modules/network/InspectorNetworkReporter.kt +5 -0
  20. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.kt +1 -1
  21. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java +25 -13
  22. package/ReactAndroid/src/main/jni/CMakeLists.txt +0 -3
  23. package/ReactAndroid/src/main/jni/react/devsupport/CMakeLists.txt +2 -1
  24. package/ReactAndroid/src/main/jni/react/{jni/InspectorNetworkReporter.cpp → devsupport/JInspectorNetworkReporter.cpp} +24 -23
  25. package/ReactAndroid/src/main/jni/react/{jni/InspectorNetworkReporter.h → devsupport/JInspectorNetworkReporter.h} +5 -5
  26. package/ReactAndroid/src/main/jni/react/devsupport/OnLoad.cpp +3 -0
  27. package/ReactAndroid/src/main/jni/react/jni/CMakeLists.txt +0 -3
  28. package/ReactAndroid/src/main/jni/react/jni/OnLoad.cpp +0 -2
  29. package/ReactAndroid/src/main/jni/react/runtime/jni/JReactHostInspectorTarget.cpp +3 -0
  30. package/ReactAndroid/src/main/jni/react/runtime/jni/JReactHostInspectorTarget.h +2 -0
  31. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  32. package/ReactCommon/hermes/React-hermes.podspec +1 -0
  33. package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +4 -3
  34. package/ReactCommon/jsinspector-modern/HostAgent.cpp +15 -3
  35. package/ReactCommon/jsinspector-modern/HostAgent.h +22 -0
  36. package/ReactCommon/jsinspector-modern/HostTarget.cpp +72 -0
  37. package/ReactCommon/jsinspector-modern/HostTarget.h +69 -0
  38. package/ReactCommon/jsinspector-modern/HostTargetTraceRecording.cpp +54 -0
  39. package/ReactCommon/jsinspector-modern/HostTargetTraceRecording.h +86 -0
  40. package/ReactCommon/jsinspector-modern/HostTargetTracing.cpp +55 -0
  41. package/ReactCommon/jsinspector-modern/InspectorFlags.cpp +7 -0
  42. package/ReactCommon/jsinspector-modern/InspectorFlags.h +6 -0
  43. package/ReactCommon/jsinspector-modern/InspectorUtilities.cpp +8 -0
  44. package/ReactCommon/jsinspector-modern/InspectorUtilities.h +19 -0
  45. package/ReactCommon/jsinspector-modern/InstanceAgent.cpp +32 -13
  46. package/ReactCommon/jsinspector-modern/InstanceAgent.h +24 -17
  47. package/ReactCommon/jsinspector-modern/InstanceTarget.cpp +27 -0
  48. package/ReactCommon/jsinspector-modern/InstanceTarget.h +22 -0
  49. package/ReactCommon/jsinspector-modern/RuntimeAgent.cpp +20 -0
  50. package/ReactCommon/jsinspector-modern/RuntimeAgent.h +22 -0
  51. package/ReactCommon/jsinspector-modern/RuntimeTarget.cpp +12 -0
  52. package/ReactCommon/jsinspector-modern/RuntimeTarget.h +20 -0
  53. package/ReactCommon/jsinspector-modern/SessionState.h +6 -0
  54. package/ReactCommon/jsinspector-modern/TracingAgent.cpp +27 -78
  55. package/ReactCommon/jsinspector-modern/TracingAgent.h +7 -22
  56. package/ReactCommon/jsinspector-modern/tracing/InstanceTracingProfile.h +2 -3
  57. package/ReactCommon/jsinspector-modern/tracing/PerformanceTracer.cpp +1 -1
  58. package/ReactCommon/jsinspector-modern/tracing/TargetTracingAgent.h +33 -0
  59. package/ReactCommon/jsinspector-modern/tracing/TraceRecordingState.h +39 -0
  60. package/ReactCommon/jsinspector-modern/tracing/TraceRecordingStateSerializer.cpp +68 -0
  61. package/ReactCommon/jsinspector-modern/tracing/TraceRecordingStateSerializer.h +42 -0
  62. package/ReactCommon/jsinspector-modern/tracing/TracingMode.h +17 -0
  63. package/ReactCommon/jsitooling/React-jsitooling.podspec +1 -0
  64. package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +1 -0
  65. package/ReactCommon/react/performance/cdpmetrics/React-performancecdpmetrics.podspec +3 -0
  66. package/ReactCommon/react/renderer/components/image/ImageProps.cpp +25 -1
  67. package/ReactCommon/react/renderer/components/image/ImageProps.h +1 -1
  68. package/ReactCommon/react/renderer/components/safeareaview/SafeAreaViewShadowNode.cpp +2 -1
  69. package/ReactCommon/react/renderer/components/safeareaview/SafeAreaViewShadowNode.h +1 -0
  70. package/ReactCommon/react/renderer/components/text/ParagraphShadowNode.cpp +1 -0
  71. package/jest/local-setup.js +2 -2
  72. package/jest/mock.js +1 -1
  73. package/jest/mockComponent.js +8 -8
  74. package/jest/mockNativeComponent.js +2 -2
  75. package/jest/mocks/Modal.js +1 -1
  76. package/jest/mocks/ViewNativeComponent.js +1 -1
  77. package/jest/setup.js +2 -2
  78. package/package.json +8 -8
  79. package/react-native.config.js +1 -1
  80. package/scripts/codegen/codegen-utils.js +4 -4
  81. package/scripts/codegen/generate-artifacts-executor/utils.js +1 -1
  82. package/scripts/react_native_pods.rb +19 -0
  83. package/sdks/hermesc/osx-bin/hermes +0 -0
  84. package/sdks/hermesc/osx-bin/hermesc +0 -0
  85. package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
  86. package/src/private/animated/createAnimatedPropsHook.js +2 -2
  87. package/src/private/animated/createAnimatedPropsMemoHook.js +6 -6
  88. package/src/private/components/virtualview/VirtualView.js +1 -1
  89. package/types_generated/Libraries/Text/Text.d.ts +1 -6
@@ -48,6 +48,7 @@ const SUPPORTED_STYLES: {[string]: true} = {
48
48
  borderStartStartRadius: true,
49
49
  elevation: true,
50
50
  opacity: true,
51
+ filter: true,
51
52
  transform: true,
52
53
  zIndex: true,
53
54
  /* ios styles */
@@ -60,12 +60,12 @@ function processColor(
60
60
  }
61
61
 
62
62
  if (isRgbaValue(color)) {
63
- // $FlowIgnore[incompatible-cast] - Type is verified above
63
+ // $FlowFixMe[incompatible-cast] - Type is verified above
64
64
  return (color: RgbaValue);
65
65
  }
66
66
 
67
67
  let normalizedColor: ?ProcessedColorValue = normalizeColor(
68
- // $FlowIgnore[incompatible-cast] - Type is verified above
68
+ // $FlowFixMe[incompatible-cast] - Type is verified above
69
69
  (color: ColorValue),
70
70
  );
71
71
  if (normalizedColor === undefined || normalizedColor === null) {
@@ -125,7 +125,7 @@ export default class AnimatedColor extends AnimatedWithChildren {
125
125
  let value: RgbaValue | RgbaAnimatedValue | ColorValue =
126
126
  valueIn ?? defaultColor;
127
127
  if (isRgbaAnimatedValue(value)) {
128
- // $FlowIgnore[incompatible-cast] - Type is verified above
128
+ // $FlowFixMe[incompatible-cast] - Type is verified above
129
129
  const rgbaAnimatedValue: RgbaAnimatedValue = (value: RgbaAnimatedValue);
130
130
  this.r = rgbaAnimatedValue.r;
131
131
  this.g = rgbaAnimatedValue.g;
@@ -133,14 +133,14 @@ export default class AnimatedColor extends AnimatedWithChildren {
133
133
  this.a = rgbaAnimatedValue.a;
134
134
  } else {
135
135
  const processedColor: RgbaValue | NativeColorValue =
136
- // $FlowIgnore[incompatible-cast] - Type is verified above
136
+ // $FlowFixMe[incompatible-cast] - Type is verified above
137
137
  processColor((value: ColorValue | RgbaValue)) ?? defaultColor;
138
138
  let initColor: RgbaValue = defaultColor;
139
139
  if (isRgbaValue(processedColor)) {
140
- // $FlowIgnore[incompatible-cast] - Type is verified above
140
+ // $FlowFixMe[incompatible-cast] - Type is verified above
141
141
  initColor = (processedColor: RgbaValue);
142
142
  } else {
143
- // $FlowIgnore[incompatible-cast] - Type is verified above
143
+ // $FlowFixMe[incompatible-cast] - Type is verified above
144
144
  this.nativeColor = (processedColor: NativeColorValue);
145
145
  }
146
146
 
@@ -170,7 +170,7 @@ export default class AnimatedColor extends AnimatedWithChildren {
170
170
  processColor(value) ?? defaultColor;
171
171
  this._withSuspendedCallbacks(() => {
172
172
  if (isRgbaValue(processedColor)) {
173
- // $FlowIgnore[incompatible-type] - Type is verified above
173
+ // $FlowFixMe[incompatible-type] - Type is verified above
174
174
  const rgbaValue: RgbaValue = processedColor;
175
175
  this.r.setValue(rgbaValue.r);
176
176
  this.g.setValue(rgbaValue.g);
@@ -181,7 +181,7 @@ export default class AnimatedColor extends AnimatedWithChildren {
181
181
  shouldUpdateNodeConfig = true;
182
182
  }
183
183
  } else {
184
- // $FlowIgnore[incompatible-type] - Type is verified above
184
+ // $FlowFixMe[incompatible-type] - Type is verified above
185
185
  const nativeColor: NativeColorValue = processedColor;
186
186
  if (this.nativeColor !== nativeColor) {
187
187
  this.nativeColor = nativeColor;
@@ -224,7 +224,7 @@ function createStringInterpolation(
224
224
  outputRange.every(output =>
225
225
  output.components.every(
226
226
  (component, i) =>
227
- // $FlowIgnoreMe[invalid-compare]
227
+ // $FlowFixMe[invalid-compare]
228
228
  typeof component === 'number' || component === firstOutput[i],
229
229
  ),
230
230
  ),
@@ -235,9 +235,9 @@ function createStringInterpolation(
235
235
  const numericComponents: $ReadOnlyArray<$ReadOnlyArray<number>> =
236
236
  outputRange.map(output =>
237
237
  isColor
238
- ? // $FlowIgnoreMe[incompatible-call]
238
+ ? // $FlowFixMe[incompatible-type]
239
239
  output.components
240
- : // $FlowIgnoreMe[incompatible-call]
240
+ : // $FlowFixMe[incompatible-call]
241
241
  output.components.filter(c => typeof c === 'number'),
242
242
  );
243
243
  const interpolations = numericComponents[0].map((_, i) =>
@@ -393,7 +393,7 @@ export default class AnimatedInterpolation<
393
393
  let outputRange = this._config.outputRange;
394
394
  let outputType = null;
395
395
  if (typeof outputRange[0] === 'string') {
396
- // $FlowIgnoreMe[incompatible-cast]
396
+ // $FlowFixMe[incompatible-cast]
397
397
  outputRange = ((outputRange: $ReadOnlyArray<string>).map(value => {
398
398
  const processedColor = processColor(value);
399
399
  if (typeof processedColor === 'number') {
@@ -325,8 +325,8 @@ export default class AnimatedProps extends AnimatedNode {
325
325
 
326
326
  // Supported versions of JSC do not implement the newer Object.hasOwn. Remove
327
327
  // this shim when they do.
328
- // $FlowIgnore[method-unbinding]
328
+ // $FlowFixMe[method-unbinding]
329
329
  const _hasOwnProp = Object.prototype.hasOwnProperty;
330
330
  const hasOwn: (obj: $ReadOnly<{...}>, prop: string) => boolean =
331
- // $FlowIgnore[method-unbinding]
331
+ // $FlowFixMe[method-unbinding]
332
332
  Object.hasOwn ?? ((obj, prop) => _hasOwnProp.call(obj, prop));
@@ -123,7 +123,7 @@ export default class AnimatedStyle extends AnimatedWithChildren {
123
123
  this._style = style;
124
124
 
125
125
  if ((Platform.OS as string) === 'web') {
126
- // $FlowIgnore[cannot-write] - Intentional shadowing.
126
+ // $FlowFixMe[cannot-write] - Intentional shadowing.
127
127
  this.__getValueForStyle = resultStyle => [
128
128
  originalStyleForWeb,
129
129
  resultStyle,
@@ -249,8 +249,8 @@ export default class AnimatedStyle extends AnimatedWithChildren {
249
249
 
250
250
  // Supported versions of JSC do not implement the newer Object.hasOwn. Remove
251
251
  // this shim when they do.
252
- // $FlowIgnore[method-unbinding]
252
+ // $FlowFixMe[method-unbinding]
253
253
  const _hasOwnProp = Object.prototype.hasOwnProperty;
254
254
  const hasOwn: (obj: $ReadOnly<{...}>, prop: string) => boolean =
255
- // $FlowIgnore[method-unbinding]
255
+ // $FlowFixMe[method-unbinding]
256
256
  Object.hasOwn ?? ((obj, prop) => _hasOwnProp.call(obj, prop));
@@ -618,6 +618,9 @@ function InternalTextInput(props: TextInputProps): React.Node {
618
618
  // so omitting onBlur and onFocus pressability handlers here.
619
619
  const {onBlur, onFocus, ...eventHandlers} = usePressability(config);
620
620
 
621
+ const _accessibilityLabel =
622
+ props?.['aria-label'] ?? props?.accessibilityLabel;
623
+
621
624
  let _accessibilityState;
622
625
  if (
623
626
  accessibilityState != null ||
@@ -681,6 +684,7 @@ function InternalTextInput(props: TextInputProps): React.Node {
681
684
  {...otherProps}
682
685
  {...eventHandlers}
683
686
  acceptDragAndDropTypes={props.experimental_acceptDragAndDropTypes}
687
+ accessibilityLabel={_accessibilityLabel}
684
688
  accessibilityState={_accessibilityState}
685
689
  accessible={accessible}
686
690
  submitBehavior={submitBehavior}
@@ -744,8 +748,9 @@ function InternalTextInput(props: TextInputProps): React.Node {
744
748
  {...otherProps}
745
749
  {...colorProps}
746
750
  {...eventHandlers}
747
- accessibilityState={_accessibilityState}
751
+ accessibilityLabel={_accessibilityLabel}
748
752
  accessibilityLabelledBy={_accessibilityLabelledBy}
753
+ accessibilityState={_accessibilityState}
749
754
  accessible={accessible}
750
755
  acceptDragAndDropTypes={props.experimental_acceptDragAndDropTypes}
751
756
  autoCapitalize={autoCapitalize}
@@ -29,7 +29,7 @@ export default class ReactNativeVersion {
29
29
  static major: number = 0;
30
30
  static minor: number = 82;
31
31
  static patch: number = 0;
32
- static prerelease: string | null = 'nightly-20250806-5936f29d6';
32
+ static prerelease: string | null = 'nightly-20250807-2768c8444';
33
33
 
34
34
  static getVersionString(): string {
35
35
  return `${this.major}.${this.minor}.${this.patch}${this.prerelease != null ? `-${this.prerelease}` : ''}`;
@@ -164,7 +164,7 @@ const InteractionManagerStub = {
164
164
  */
165
165
  addListener(
166
166
  eventType: string,
167
- // $FlowIgnore[unclear-type]
167
+ // $FlowFixMe[unclear-type]
168
168
  listener: (...args: any) => mixed,
169
169
  context: mixed,
170
170
  ): EventSubscription {
@@ -43,7 +43,7 @@ Pod::Spec.new do |s|
43
43
  s.dependency "RCTTypeSafety"
44
44
  s.dependency "React-jsi"
45
45
  s.dependency "React-Core/RCTNetworkHeaders"
46
-
46
+ add_dependency(s, "React-debug")
47
47
  add_dependency(s, "React-RCTFBReactNativeSpec")
48
48
  add_dependency(s, "ReactCommon", :subspec => "turbomodule/core", :additional_framework_paths => ["react/nativemodule/core"])
49
49
  add_dependency(s, "React-featureflags")
@@ -18,9 +18,9 @@ export default function splitLayoutProps(props: ?____ViewStyle_Internal): {
18
18
  let inner: ?____ViewStyle_Internal = null;
19
19
 
20
20
  if (props != null) {
21
- // $FlowIgnore[incompatible-exact] Will contain a subset of keys from `props`.
21
+ // $FlowFixMe[incompatible-exact] Will contain a subset of keys from `props`.
22
22
  outer = {};
23
- // $FlowIgnore[incompatible-exact] Will contain a subset of keys from `props`.
23
+ // $FlowFixMe[incompatible-exact] Will contain a subset of keys from `props`.
24
24
  inner = {};
25
25
 
26
26
  for (const prop of Object.keys(props)) {