react-native-windows 0.0.0-canary.697 → 0.0.0-canary.698

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 (24) hide show
  1. package/.flowconfig +2 -4
  2. package/Libraries/Blob/FileReader.js +1 -2
  3. package/Libraries/Components/SafeAreaView/SafeAreaView.js +4 -5
  4. package/Libraries/Components/SafeAreaView/SafeAreaView.windows.js +4 -8
  5. package/Libraries/Core/ReactNativeVersion.js +1 -1
  6. package/Libraries/Network/XMLHttpRequest.js +1 -1
  7. package/Libraries/ReactNative/AppContainer.js +2 -3
  8. package/Libraries/ReactNative/BridgelessUIManager.js +2 -2
  9. package/Libraries/Settings/{Settings.android.js → Settings.js} +4 -4
  10. package/Libraries/Text/Text.js +7 -1
  11. package/Libraries/Text/Text.windows.js +7 -1
  12. package/Libraries/Types/CoreEventTypes.d.ts +5 -2
  13. package/Libraries/Utilities/SceneTracker.js +1 -1
  14. package/Microsoft.ReactNative/Fabric/AbiViewComponentDescriptor.cpp +0 -14
  15. package/Microsoft.ReactNative/Fabric/AbiViewComponentDescriptor.h +0 -5
  16. package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp +17 -11
  17. package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/Color.cpp +6 -0
  18. package/Microsoft.ReactNative.Managed/packages.lock.json +2 -66
  19. package/PropertySheets/Generated/PackageVersion.g.props +2 -2
  20. package/package.json +9 -9
  21. package/types/modules/globals.d.ts +1 -0
  22. /package/Libraries/Components/DrawerAndroid/{DrawerLayoutAndroid.ios.js → DrawerLayoutAndroid.js} +0 -0
  23. /package/Libraries/Components/ProgressBarAndroid/{ProgressBarAndroid.ios.js → ProgressBarAndroid.js} +0 -0
  24. /package/Libraries/Components/ToastAndroid/{ToastAndroid.ios.js → ToastAndroid.js} +0 -0
package/.flowconfig CHANGED
@@ -83,10 +83,8 @@ flow/
83
83
  ../node_modules/.flow/flow-typed/
84
84
 
85
85
  [options]
86
+ experimental.global_find_ref=true
86
87
  enums=true
87
- conditional_type=true
88
- mapped_type=true
89
- type_guards=true
90
88
 
91
89
  emoji=true
92
90
 
@@ -135,4 +133,4 @@ untyped-import
135
133
  untyped-type-import
136
134
 
137
135
  [version]
138
- ^0.212.0
136
+ ^0.213.1
@@ -12,8 +12,7 @@ import type Blob from './Blob';
12
12
 
13
13
  import NativeFileReaderModule from './NativeFileReaderModule';
14
14
  import {toByteArray} from 'base64-js';
15
-
16
- const EventTarget = require('event-target-shim');
15
+ import EventTarget from 'event-target-shim';
17
16
 
18
17
  type ReadyState =
19
18
  | 0 // EMPTY
@@ -25,10 +25,9 @@ let exported: React.AbstractComponent<ViewProps, React.ElementRef<typeof View>>;
25
25
  * limitation of the screen, such as rounded corners or camera notches (aka
26
26
  * sensor housing area on iPhone X).
27
27
  */
28
- if (Platform.OS === 'android') {
29
- exported = View;
30
- } else {
31
- exported = require('./RCTSafeAreaViewNativeComponent').default;
32
- }
28
+ exported = Platform.select({
29
+ ios: require('./RCTSafeAreaViewNativeComponent').default,
30
+ default: View,
31
+ });
33
32
 
34
33
  export default exported;
@@ -25,13 +25,9 @@ let exported: React.AbstractComponent<ViewProps, React.ElementRef<typeof View>>;
25
25
  * limitation of the screen, such as rounded corners or camera notches (aka
26
26
  * sensor housing area on iPhone X).
27
27
  */
28
-
29
- // [Windows - Added windows to if
30
- if (Platform.OS === 'android' || Platform.OS === 'windows') {
31
- // Windows]
32
- exported = View;
33
- } else {
34
- exported = require('./RCTSafeAreaViewNativeComponent').default;
35
- }
28
+ exported = Platform.select({
29
+ ios: require('./RCTSafeAreaViewNativeComponent').default,
30
+ default: View,
31
+ });
36
32
 
37
33
  export default exported;
@@ -13,5 +13,5 @@ exports.version = {
13
13
  major: 0,
14
14
  minor: 73,
15
15
  patch: 0,
16
- prerelease: 'nightly-20230721-ccc50ddd2',
16
+ prerelease: 'nightly-20230728-c168a4f88',
17
17
  };
@@ -13,12 +13,12 @@
13
13
  import type {IPerformanceLogger} from '../Utilities/createPerformanceLogger';
14
14
 
15
15
  import {type EventSubscription} from '../vendor/emitter/EventEmitter';
16
+ import EventTarget from 'event-target-shim';
16
17
 
17
18
  const BlobManager = require('../Blob/BlobManager');
18
19
  const GlobalPerformanceLogger = require('../Utilities/GlobalPerformanceLogger');
19
20
  const RCTNetworking = require('./RCTNetworking').default;
20
21
  const base64 = require('base64-js');
21
- const EventTarget = require('event-target-shim');
22
22
  const invariant = require('invariant');
23
23
 
24
24
  const DEBUG_NETWORK_SEND_DELAY: false = false; // Set to a number of milliseconds when debugging
@@ -34,7 +34,6 @@ type State = {|
34
34
  devtoolsOverlay: ?React.Node,
35
35
  traceUpdateOverlay: ?React.Node,
36
36
  mainKey: number,
37
- hasError: boolean,
38
37
  |};
39
38
 
40
39
  class AppContainer extends React.Component<Props, State> {
@@ -43,7 +42,6 @@ class AppContainer extends React.Component<Props, State> {
43
42
  devtoolsOverlay: null,
44
43
  traceUpdateOverlay: null,
45
44
  mainKey: 1,
46
- hasError: false,
47
45
  };
48
46
  _mainRef: ?React.ElementRef<typeof View>;
49
47
  _subscription: ?EventSubscription = null;
@@ -128,10 +126,11 @@ class AppContainer extends React.Component<Props, State> {
128
126
  </Wrapper>
129
127
  );
130
128
  }
129
+
131
130
  return (
132
131
  <RootTagContext.Provider value={createRootTag(this.props.rootTag)}>
133
132
  <View style={styles.appContainer} pointerEvents="box-none">
134
- {!this.state.hasError && innerView}
133
+ {innerView}
135
134
  {this.state.traceUpdateOverlay}
136
135
  {this.state.devtoolsOverlay}
137
136
  {this.state.inspector}
@@ -31,7 +31,7 @@ function getCachedConstants(): Object {
31
31
 
32
32
  module.exports = {
33
33
  getViewManagerConfig: (viewManagerName: string): mixed => {
34
- if (ReactNativeFeatureFlags.enableNativeViewConfigsInBridgelessMode) {
34
+ if (ReactNativeFeatureFlags.enableNativeViewConfigsInBridgelessMode()) {
35
35
  return getCachedConstants()[viewManagerName];
36
36
  } else {
37
37
  console.error(
@@ -46,7 +46,7 @@ module.exports = {
46
46
  return unstable_hasComponent(viewManagerName);
47
47
  },
48
48
  getConstants: (): Object => {
49
- if (ReactNativeFeatureFlags.enableNativeViewConfigsInBridgelessMode) {
49
+ if (ReactNativeFeatureFlags.enableNativeViewConfigsInBridgelessMode()) {
50
50
  return getCachedConstants();
51
51
  } else {
52
52
  console.error(errorMessageForMethod('getConstants'));
@@ -12,21 +12,21 @@
12
12
 
13
13
  const Settings = {
14
14
  get(key: string): mixed {
15
- console.warn('Settings is not yet supported on Android');
15
+ console.warn('Settings is not yet supported on this platform.');
16
16
  return null;
17
17
  },
18
18
 
19
19
  set(settings: Object) {
20
- console.warn('Settings is not yet supported on Android');
20
+ console.warn('Settings is not yet supported on this platform.');
21
21
  },
22
22
 
23
23
  watchKeys(keys: string | Array<string>, callback: Function): number {
24
- console.warn('Settings is not yet supported on Android');
24
+ console.warn('Settings is not yet supported on this platform.');
25
25
  return -1;
26
26
  },
27
27
 
28
28
  clearWatch(watchId: number) {
29
- console.warn('Settings is not yet supported on Android');
29
+ console.warn('Settings is not yet supported on this platform.');
30
30
  },
31
31
  };
32
32
 
@@ -105,7 +105,13 @@ const Text: React.AbstractComponent<
105
105
  onLongPress,
106
106
  onPress,
107
107
  onPressIn(event: PressEvent) {
108
- setHighlighted(!suppressHighlighting);
108
+ // Updating isHighlighted causes unnecessary re-renders for platforms that don't use it
109
+ // in the best case, and cause issues with text selection in the worst case. Forcing
110
+ // the isHighlighted prop to false on all platforms except iOS.
111
+ setHighlighted(
112
+ (suppressHighlighting == null || !suppressHighlighting) &&
113
+ Platform.OS === 'ios',
114
+ );
109
115
  onPressIn?.(event);
110
116
  },
111
117
  onPressOut(event: PressEvent) {
@@ -115,7 +115,13 @@ const Text: React.AbstractComponent<
115
115
  onLongPress,
116
116
  onPress,
117
117
  onPressIn(event: PressEvent) {
118
- setHighlighted(!suppressHighlighting);
118
+ // Updating isHighlighted causes unnecessary re-renders for platforms that don't use it
119
+ // in the best case, and cause issues with text selection in the worst case. Forcing
120
+ // the isHighlighted prop to false on all platforms except iOS.
121
+ setHighlighted(
122
+ (suppressHighlighting == null || !suppressHighlighting) &&
123
+ Platform.OS === 'ios',
124
+ );
119
125
  onPressIn?.(event);
120
126
  },
121
127
  onPressOut(event: PressEvent) {
@@ -8,7 +8,6 @@
8
8
  */
9
9
 
10
10
  import type * as React from 'react';
11
- import {NodeHandle} from '../ReactNative/RendererProxy';
12
11
  import {HostComponent} from '../../types/public/ReactNativeTypes';
13
12
 
14
13
  export interface LayoutRectangle {
@@ -42,7 +41,11 @@ export interface TextLayoutEventData extends TargetedEvent {
42
41
 
43
42
  // Similar to React.SyntheticEvent except for nativeEvent
44
43
  export interface NativeSyntheticEvent<T>
45
- extends React.BaseSyntheticEvent<T, NodeHandle, NodeHandle> {}
44
+ extends React.BaseSyntheticEvent<
45
+ T,
46
+ React.ElementRef<HostComponent<unknown>>,
47
+ React.ElementRef<HostComponent<unknown>>
48
+ > {}
46
49
 
47
50
  export interface NativeTouchEvent {
48
51
  /**
@@ -10,7 +10,7 @@
10
10
 
11
11
  'use strict';
12
12
 
13
- export type Scene = {name: string, ...};
13
+ export type Scene = {name: string, [string]: mixed, ...};
14
14
 
15
15
  let _listeners: Array<(scene: Scene) => void> = [];
16
16
 
@@ -101,20 +101,6 @@ facebook::react::Props::Shared AbiViewComponentDescriptor::cloneProps(
101
101
  return shadowNodeProps;
102
102
  };
103
103
 
104
- facebook::react::Props::Shared AbiViewComponentDescriptor::interpolateProps(
105
- const facebook::react::PropsParserContext &context,
106
- facebook::react::Float animationProgress,
107
- const facebook::react::Props::Shared &props,
108
- const facebook::react::Props::Shared &newProps) const {
109
- facebook::react::Props::Shared interpolatedPropsShared = cloneProps(context, newProps, {});
110
-
111
- if (ConcreteShadowNode::BaseTraits().check(facebook::react::ShadowNodeTraits::Trait::ViewKind)) {
112
- facebook::react::interpolateViewProps(animationProgress, props, newProps, interpolatedPropsShared);
113
- }
114
-
115
- return interpolatedPropsShared;
116
- };
117
-
118
104
  facebook::react::State::Shared AbiViewComponentDescriptor::createInitialState(
119
105
  facebook::react::Props::Shared const &props,
120
106
  facebook::react::ShadowNodeFamily::Shared const &family) const {
@@ -53,11 +53,6 @@ class AbiViewComponentDescriptor : public facebook::react::ComponentDescriptor {
53
53
  const facebook::react::PropsParserContext &context,
54
54
  const facebook::react::Props::Shared &props,
55
55
  const facebook::react::RawProps &rawProps) const override;
56
- facebook::react::Props::Shared interpolateProps(
57
- const facebook::react::PropsParserContext &context,
58
- facebook::react::Float animationProgress,
59
- const facebook::react::Props::Shared &props,
60
- const facebook::react::Props::Shared &newProps) const override;
61
56
  virtual facebook::react::State::Shared createInitialState(
62
57
  facebook::react::Props::Shared const &props,
63
58
  facebook::react::ShadowNodeFamily::Shared const &family) const override;
@@ -340,8 +340,8 @@ struct CompTextHost : public winrt::implements<CompTextHost, ITextHost> {
340
340
 
341
341
  //@cmember Get the background (either opaque or transparent)
342
342
  HRESULT TxGetBackStyle(TXTBACKSTYLE *pstyle) override {
343
+ // We draw the background color as part of the composition visual, not the text
343
344
  *pstyle = TXTBACK_TRANSPARENT;
344
- //*pstyle = TXTBACK_OPAQUE;
345
345
  return S_OK;
346
346
  }
347
347
 
@@ -643,6 +643,10 @@ void WindowsTextInputComponentView::updateProps(
643
643
  m_needsRedraw = true;
644
644
  }
645
645
 
646
+ if (oldTextInputProps.backgroundColor != newTextInputProps.backgroundColor) {
647
+ m_needsRedraw = true;
648
+ }
649
+
646
650
  /*
647
651
  if (oldTextInputProps.textAttributes.foregroundColor != newTextInputProps.textAttributes.foregroundColor) {
648
652
  if (newTextInputProps.textAttributes.foregroundColor)
@@ -693,16 +697,6 @@ void WindowsTextInputComponentView::updateProps(
693
697
  m_element.CharacterCasing(xaml::Controls::CharacterCasing::Normal);
694
698
  }
695
699
  }
696
-
697
- if (oldViewProps.backgroundColor != newViewProps.backgroundColor) {
698
- auto color = *newViewProps.backgroundColor;
699
-
700
- if (newViewProps.backgroundColor) {
701
- m_element.ViewBackground(SolidColorBrushFrom(newViewProps.backgroundColor));
702
- } else {
703
- m_element.ClearValue(winrt::Microsoft::ReactNative::ViewPanel::ViewBackgroundProperty());
704
- }
705
- }
706
700
  */
707
701
 
708
702
  m_props = std::static_pointer_cast<facebook::react::WindowsTextInputProps const>(props);
@@ -1053,6 +1047,18 @@ void WindowsTextInputComponentView::DrawText() noexcept {
1053
1047
 
1054
1048
  winrt::check_hresult(m_textServices->OnTxInPlaceActivate(&rcClient));
1055
1049
 
1050
+ if (facebook::react::isColorMeaningful(m_props->backgroundColor)) {
1051
+ auto backgroundColor = m_props->backgroundColor.AsD2DColor();
1052
+ winrt::com_ptr<ID2D1SolidColorBrush> backgroundBrush;
1053
+ winrt::check_hresult(d2dDeviceContext->CreateSolidColorBrush(backgroundColor, backgroundBrush.put()));
1054
+ const D2D1_RECT_F fillRect = {
1055
+ static_cast<float>(rcClient.left) / m_layoutMetrics.pointScaleFactor,
1056
+ static_cast<float>(rcClient.top) / m_layoutMetrics.pointScaleFactor,
1057
+ static_cast<float>(rcClient.right) / m_layoutMetrics.pointScaleFactor,
1058
+ static_cast<float>(rcClient.bottom) / m_layoutMetrics.pointScaleFactor};
1059
+ d2dDeviceContext->FillRectangle(fillRect, backgroundBrush.get());
1060
+ }
1061
+
1056
1062
  // TODO keep track of proper invalid rect
1057
1063
  auto hrDraw = m_textServices->TxDrawD2D(d2dDeviceContext.get(), &rc, nullptr, TXTVIEW_ACTIVE);
1058
1064
  winrt::check_hresult(hrDraw);
@@ -144,11 +144,17 @@ winrt::Windows::UI::Color ResolvePlatformColor(Color const *const color) {
144
144
  }
145
145
 
146
146
  D2D1::ColorF SharedColor::AsD2DColor() const {
147
+ if (!m_color) {
148
+ return D2D1::ColorF{0, 0.0};
149
+ }
147
150
  winrt::Windows::UI::Color color = ResolvePlatformColor(m_color.get());
148
151
  return {color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f};
149
152
  }
150
153
 
151
154
  winrt::Windows::UI::Color SharedColor::AsWindowsColor() const {
155
+ if (!m_color) {
156
+ return winrt::Windows::UI::Color{0, 0, 0, 0};
157
+ }
152
158
  return ResolvePlatformColor(m_color.get());
153
159
  }
154
160
 
@@ -24,21 +24,11 @@
24
24
  "Microsoft.SourceLink.Common": "1.1.1"
25
25
  }
26
26
  },
27
- "boost": {
28
- "type": "Transitive",
29
- "resolved": "1.76.0",
30
- "contentHash": "p+w3YvNdXL8Cu9Fzrmexssu0tZbWxuf6ywsQqHjDlKFE5ojXHof1HIyMC3zDLfLnh80dIeFcEUAuR2Asg/XHRA=="
31
- },
32
27
  "Microsoft.Build.Tasks.Git": {
33
28
  "type": "Transitive",
34
29
  "resolved": "1.1.1",
35
30
  "contentHash": "AT3HlgTjsqHnWpBHSNeR0KxbLZD7bztlZVj7I8vgeYG9SYqbeFGh0TM/KVtC6fg53nrWHl3VfZFvb5BiQFcY6Q=="
36
31
  },
37
- "Microsoft.JavaScript.Hermes": {
38
- "type": "Transitive",
39
- "resolved": "0.1.15",
40
- "contentHash": "My/u5RvxoymtwWokoweU6iVpuP79w271UjadcmSNqnQ9ESIv00tlVP4sHnIiN3t2lJNDeciyE1EVF4swGPECKQ=="
41
- },
42
32
  "Microsoft.Net.Native.Compiler": {
43
33
  "type": "Transitive",
44
34
  "resolved": "2.2.7-rel-27913-00",
@@ -70,19 +60,6 @@
70
60
  "resolved": "1.1.1",
71
61
  "contentHash": "WMcGpWKrmJmzrNeuaEb23bEMnbtR/vLmvZtkAP5qWu7vQsY59GqfRJd65sFpBszbd2k/bQ8cs8eWawQKAabkVg=="
72
62
  },
73
- "Microsoft.UI.Xaml": {
74
- "type": "Transitive",
75
- "resolved": "2.8.0",
76
- "contentHash": "vxdHxTr63s5KVtNddMFpgvjBjUH50z7seq/5jLWmmSuf8poxg+sXrywkofUdE8ZstbpO9y3FL/IXXUcPYbeesA==",
77
- "dependencies": {
78
- "Microsoft.Web.WebView2": "1.0.1264.42"
79
- }
80
- },
81
- "Microsoft.Web.WebView2": {
82
- "type": "Transitive",
83
- "resolved": "1.0.1264.42",
84
- "contentHash": "7OBUTkzQ5VI/3gb0ufi5U4zjuCowAJwQg2li0zXXzqkM+S1kmOlivTy1R4jAW+gY5Vyg510M+qMAESCQUjrfgA=="
85
- },
86
63
  "NETStandard.Library": {
87
64
  "type": "Transitive",
88
65
  "resolved": "2.0.3",
@@ -167,7 +144,6 @@
167
144
  "folly": {
168
145
  "type": "Project",
169
146
  "dependencies": {
170
- "boost": "[1.76.0, )",
171
147
  "fmt": "[1.0.0, )"
172
148
  }
173
149
  },
@@ -176,18 +152,13 @@
176
152
  "dependencies": {
177
153
  "Common": "[1.0.0, )",
178
154
  "Folly": "[1.0.0, )",
179
- "Microsoft.JavaScript.Hermes": "[0.1.15, )",
180
- "Microsoft.SourceLink.GitHub": "[1.1.1, )",
181
- "Microsoft.UI.Xaml": "[2.8.0, )",
182
- "ReactCommon": "[1.0.0, )",
183
- "boost": "[1.76.0, )"
155
+ "ReactCommon": "[1.0.0, )"
184
156
  }
185
157
  },
186
158
  "reactcommon": {
187
159
  "type": "Project",
188
160
  "dependencies": {
189
- "Folly": "[1.0.0, )",
190
- "boost": "[1.76.0, )"
161
+ "Folly": "[1.0.0, )"
191
162
  }
192
163
  }
193
164
  },
@@ -205,11 +176,6 @@
205
176
  "runtime.win10-arm.Microsoft.NETCore.UniversalWindowsPlatform": "6.2.9"
206
177
  }
207
178
  },
208
- "Microsoft.Web.WebView2": {
209
- "type": "Transitive",
210
- "resolved": "1.0.1264.42",
211
- "contentHash": "7OBUTkzQ5VI/3gb0ufi5U4zjuCowAJwQg2li0zXXzqkM+S1kmOlivTy1R4jAW+gY5Vyg510M+qMAESCQUjrfgA=="
212
- },
213
179
  "runtime.win10-arm.Microsoft.NETCore.UniversalWindowsPlatform": {
214
180
  "type": "Transitive",
215
181
  "resolved": "6.2.9",
@@ -230,11 +196,6 @@
230
196
  "runtime.win10-arm-aot.Microsoft.NETCore.UniversalWindowsPlatform": "6.2.9"
231
197
  }
232
198
  },
233
- "Microsoft.Web.WebView2": {
234
- "type": "Transitive",
235
- "resolved": "1.0.1264.42",
236
- "contentHash": "7OBUTkzQ5VI/3gb0ufi5U4zjuCowAJwQg2li0zXXzqkM+S1kmOlivTy1R4jAW+gY5Vyg510M+qMAESCQUjrfgA=="
237
- },
238
199
  "runtime.win10-arm-aot.Microsoft.NETCore.UniversalWindowsPlatform": {
239
200
  "type": "Transitive",
240
201
  "resolved": "6.2.9",
@@ -255,11 +216,6 @@
255
216
  "runtime.win10-arm64-aot.Microsoft.NETCore.UniversalWindowsPlatform": "6.2.9"
256
217
  }
257
218
  },
258
- "Microsoft.Web.WebView2": {
259
- "type": "Transitive",
260
- "resolved": "1.0.1264.42",
261
- "contentHash": "7OBUTkzQ5VI/3gb0ufi5U4zjuCowAJwQg2li0zXXzqkM+S1kmOlivTy1R4jAW+gY5Vyg510M+qMAESCQUjrfgA=="
262
- },
263
219
  "runtime.win10-arm64-aot.Microsoft.NETCore.UniversalWindowsPlatform": {
264
220
  "type": "Transitive",
265
221
  "resolved": "6.2.9",
@@ -280,11 +236,6 @@
280
236
  "runtime.win10-x64.Microsoft.NETCore.UniversalWindowsPlatform": "6.2.9"
281
237
  }
282
238
  },
283
- "Microsoft.Web.WebView2": {
284
- "type": "Transitive",
285
- "resolved": "1.0.1264.42",
286
- "contentHash": "7OBUTkzQ5VI/3gb0ufi5U4zjuCowAJwQg2li0zXXzqkM+S1kmOlivTy1R4jAW+gY5Vyg510M+qMAESCQUjrfgA=="
287
- },
288
239
  "runtime.win10-x64.Microsoft.NETCore.UniversalWindowsPlatform": {
289
240
  "type": "Transitive",
290
241
  "resolved": "6.2.9",
@@ -305,11 +256,6 @@
305
256
  "runtime.win10-x64-aot.Microsoft.NETCore.UniversalWindowsPlatform": "6.2.9"
306
257
  }
307
258
  },
308
- "Microsoft.Web.WebView2": {
309
- "type": "Transitive",
310
- "resolved": "1.0.1264.42",
311
- "contentHash": "7OBUTkzQ5VI/3gb0ufi5U4zjuCowAJwQg2li0zXXzqkM+S1kmOlivTy1R4jAW+gY5Vyg510M+qMAESCQUjrfgA=="
312
- },
313
259
  "runtime.win10-x64-aot.Microsoft.NETCore.UniversalWindowsPlatform": {
314
260
  "type": "Transitive",
315
261
  "resolved": "6.2.9",
@@ -330,11 +276,6 @@
330
276
  "runtime.win10-x86.Microsoft.NETCore.UniversalWindowsPlatform": "6.2.9"
331
277
  }
332
278
  },
333
- "Microsoft.Web.WebView2": {
334
- "type": "Transitive",
335
- "resolved": "1.0.1264.42",
336
- "contentHash": "7OBUTkzQ5VI/3gb0ufi5U4zjuCowAJwQg2li0zXXzqkM+S1kmOlivTy1R4jAW+gY5Vyg510M+qMAESCQUjrfgA=="
337
- },
338
279
  "runtime.win10-x86.Microsoft.NETCore.UniversalWindowsPlatform": {
339
280
  "type": "Transitive",
340
281
  "resolved": "6.2.9",
@@ -355,11 +296,6 @@
355
296
  "runtime.win10-x86-aot.Microsoft.NETCore.UniversalWindowsPlatform": "6.2.9"
356
297
  }
357
298
  },
358
- "Microsoft.Web.WebView2": {
359
- "type": "Transitive",
360
- "resolved": "1.0.1264.42",
361
- "contentHash": "7OBUTkzQ5VI/3gb0ufi5U4zjuCowAJwQg2li0zXXzqkM+S1kmOlivTy1R4jAW+gY5Vyg510M+qMAESCQUjrfgA=="
362
- },
363
299
  "runtime.win10-x86-aot.Microsoft.NETCore.UniversalWindowsPlatform": {
364
300
  "type": "Transitive",
365
301
  "resolved": "6.2.9",
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.0.0-canary.697</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.0.0-canary.698</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>0</ReactNativeWindowsMinor>
16
16
  <ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>true</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>8fec9dd58a708841614a40aa1d691c39697884aa</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>ae282e6dd9a90058827d02d134892ac84bd5ab32</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.0.0-canary.697",
3
+ "version": "0.0.0-canary.698",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,17 +23,17 @@
23
23
  "dependencies": {
24
24
  "@babel/runtime": "^7.0.0",
25
25
  "@jest/create-cache-key-function": "^29.2.1",
26
- "@react-native-community/cli": "12.0.0-alpha.6",
27
- "@react-native-community/cli-platform-android": "12.0.0-alpha.6",
28
- "@react-native-community/cli-platform-ios": "12.0.0-alpha.6",
26
+ "@react-native-community/cli": "12.0.0-alpha.7",
27
+ "@react-native-community/cli-platform-android": "12.0.0-alpha.7",
28
+ "@react-native-community/cli-platform-ios": "12.0.0-alpha.7",
29
29
  "@react-native-windows/cli": "0.0.0-canary.185",
30
30
  "@react-native/assets": "1.0.0",
31
31
  "@react-native/assets-registry": "0.73.0-nightly-20230622-0201e51bb",
32
32
  "@react-native/codegen": "0.73.0-nightly-20230711-f396067cc",
33
- "@react-native/gradle-plugin": "0.73.0-nightly-20230717-eadbfb86c",
33
+ "@react-native/gradle-plugin": "0.73.0-nightly-20230726-bae63d492",
34
34
  "@react-native/js-polyfills": "0.73.0-nightly-20230622-0201e51bb",
35
35
  "@react-native/normalize-colors": "0.73.0-nightly-20230622-0201e51bb",
36
- "@react-native/virtualized-lists": "0.73.0-nightly-20230714-4c944540f",
36
+ "@react-native/virtualized-lists": "0.73.0-nightly-20230728-c168a4f88",
37
37
  "abort-controller": "^3.0.0",
38
38
  "anser": "^1.4.9",
39
39
  "ansi-regex": "^5.0.0",
@@ -77,17 +77,17 @@
77
77
  "flow-bin": "^0.209.0",
78
78
  "jscodeshift": "^0.14.0",
79
79
  "just-scripts": "^1.3.3",
80
- "metro-config": "0.76.2",
80
+ "@react-native/metro-config": "^0.73.0",
81
81
  "prettier": "^2.4.1",
82
82
  "react": "18.2.0",
83
- "react-native": "0.73.0-nightly-20230721-ccc50ddd2",
83
+ "react-native": "0.73.0-nightly-20230728-c168a4f88",
84
84
  "react-native-platform-override": "^1.9.14",
85
85
  "react-refresh": "^0.4.0",
86
86
  "typescript": "^4.9.5"
87
87
  },
88
88
  "peerDependencies": {
89
89
  "react": "18.2.0",
90
- "react-native": "0.73.0-nightly-20230721-ccc50ddd2"
90
+ "react-native": "0.73.0-nightly-20230728-c168a4f88"
91
91
  },
92
92
  "beachball": {
93
93
  "defaultNpmTag": "canary",
@@ -187,6 +187,7 @@ declare interface Request extends Object, Body {
187
187
  readonly mode: RequestMode_;
188
188
  readonly referrer: string;
189
189
  readonly url: string;
190
+ readonly signal: AbortSignal | undefined;
190
191
  clone(): Request;
191
192
  }
192
193