@office-iss/react-native-win32 0.81.0-preview.3 → 0.81.0-preview.6

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/.flowconfig CHANGED
@@ -5,6 +5,9 @@
5
5
  .*/*[.]macos.js
6
6
  .*/*[.]windesktop.js
7
7
 
8
+ ; Ignore all flow directory contents in node_modules
9
+ .*/flow/.*
10
+
8
11
  ; Ignore fb_internal modules
9
12
  <PROJECT_ROOT>/packages/react-native/src/fb_internal/.*
10
13
 
package/CHANGELOG.json CHANGED
@@ -2,7 +2,43 @@
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Sat, 06 Dec 2025 16:30:31 GMT",
5
+ "date": "Mon, 15 Dec 2025 16:32:37 GMT",
6
+ "version": "0.81.0-preview.6",
7
+ "tag": "@office-iss/react-native-win32_v0.81.0-preview.6",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "66076509+vineethkuttan@users.noreply.github.com",
12
+ "package": "@office-iss/react-native-win32",
13
+ "commit": "eba0afc668e103f80fbcc4a5408636dde1e0bbd3",
14
+ "comment": "Integrate 81.5"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Wed, 10 Dec 2025 18:44:29 GMT",
21
+ "version": "0.81.0-preview.5",
22
+ "tag": "@office-iss/react-native-win32_v0.81.0-preview.5",
23
+ "comments": {
24
+ "prerelease": [
25
+ {
26
+ "author": "vmorozov@microsoft.com",
27
+ "package": "@office-iss/react-native-win32",
28
+ "commit": "f8c11e35831ed3a036757abf53f7d3959c186634",
29
+ "comment": "Fix NPM dist tags and make some NPM private"
30
+ },
31
+ {
32
+ "author": "beachball",
33
+ "package": "@office-iss/react-native-win32",
34
+ "comment": "Bump react-native-platform-override to v0.81.0-preview.10",
35
+ "commit": "not available"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "date": "Sat, 06 Dec 2025 16:30:52 GMT",
6
42
  "version": "0.81.0-preview.3",
7
43
  "tag": "@office-iss/react-native-win32_v0.81.0-preview.3",
8
44
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,17 +1,34 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- <!-- This log was last generated on Sat, 06 Dec 2025 16:30:31 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Mon, 15 Dec 2025 16:32:37 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.81.0-preview.3
7
+ ## 0.81.0-preview.6
8
8
 
9
- Sat, 06 Dec 2025 16:30:31 GMT
9
+ Mon, 15 Dec 2025 16:32:37 GMT
10
10
 
11
11
  ### Changes
12
12
 
13
- - removed nightly to use 81 directly (66076509+vineethkuttan@users.noreply.github.com)
13
+ - Integrate 81.5 (66076509+vineethkuttan@users.noreply.github.com)
14
14
 
15
+ ## 0.81.0-preview.5
16
+
17
+ Wed, 10 Dec 2025 18:44:29 GMT
18
+
19
+ ### Changes
20
+
21
+ - Fix NPM dist tags and make some NPM private (vmorozov@microsoft.com)
22
+ - Bump react-native-platform-override to v0.81.0-preview.10
23
+
24
+ ## 0.81.0-preview.3
25
+
26
+ Sat, 06 Dec 2025 16:30:52 GMT
27
+
28
+ ### Changes
29
+
30
+ - removed nightly to use 81 directly (66076509+vineethkuttan@users.noreply.github.com)
31
+
15
32
  ## 0.81.0-preview.1
16
33
 
17
34
  Mon, 17 Nov 2025 16:41:29 GMT
@@ -264,7 +264,7 @@ const Switch: component(
264
264
  disabled,
265
265
  onTintColor: trackColorForTrue,
266
266
  style: StyleSheet.compose(
267
- {height: 31, width: 51},
267
+ {alignSelf: 'flex-start' as const},
268
268
  StyleSheet.compose(
269
269
  style,
270
270
  ios_backgroundColor == null
@@ -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}
@@ -721,6 +721,9 @@ function InternalTextInput(props: TextInputProps): React.Node {
721
721
  props.onKeyUpCapture && props.onKeyUpCapture(event);
722
722
  };
723
723
 
724
+ const _accessibilityLabel =
725
+ props?.['aria-label'] ?? props?.accessibilityLabel;
726
+
724
727
  let _accessibilityState;
725
728
  if (
726
729
  accessibilityState != null ||
@@ -789,6 +792,7 @@ function InternalTextInput(props: TextInputProps): React.Node {
789
792
  {...otherProps}
790
793
  {...eventHandlers}
791
794
  acceptDragAndDropTypes={props.experimental_acceptDragAndDropTypes}
795
+ accessibilityLabel={_accessibilityLabel}
792
796
  accessibilityErrorMessage={accessibilityErrorMessage}
793
797
  accessibilityState={_accessibilityState}
794
798
  accessible={accessible}
@@ -853,6 +857,7 @@ function InternalTextInput(props: TextInputProps): React.Node {
853
857
  {...otherProps}
854
858
  {...colorProps}
855
859
  {...eventHandlers}
860
+ accessibilityLabel={_accessibilityLabel}
856
861
  accessibilityErrorMessage={accessibilityErrorMessage}
857
862
  accessibilityState={_accessibilityState}
858
863
  accessibilityLabelledBy={_accessibilityLabelledBy}
@@ -23,7 +23,7 @@ import {use} from 'react';
23
23
  *
24
24
  * @see https://reactnative.dev/docs/view
25
25
  */
26
- export default component View(
26
+ component View(
27
27
  ref?: React.RefSetter<React.ElementRef<typeof ViewNativeComponent>>,
28
28
  ...props: ViewProps
29
29
  ) {
@@ -213,3 +213,7 @@ export default component View(
213
213
  }
214
214
  return actualView;
215
215
  }
216
+
217
+ View.displayName = 'View';
218
+
219
+ export default View;
@@ -17,6 +17,6 @@ export const version: $ReadOnly<{
17
17
  }> = {
18
18
  major: 0,
19
19
  minor: 81,
20
- patch: 0,
21
- prerelease: 'rc.0',
20
+ patch: 5,
21
+ prerelease: null,
22
22
  };
@@ -0,0 +1,114 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @flow strict
8
+ * @format
9
+ */
10
+
11
+ // Declarations for functionality exposed by the Hermes VM.
12
+ //
13
+ // For backwards-compatibility, code that uses such functionality must also
14
+ // check explicitly at run-time whether the object(s) and method(s) exist, and
15
+ // fail safely if not.
16
+
17
+ /**
18
+ * HermesInternalType is an object containing functions used to interact with
19
+ * the VM in a way that is not standardized by the JS spec.
20
+ * There are limited guarantees about these functions, and they should not be
21
+ * widely used. Consult with the Hermes team before using any of these.
22
+ * There may be other visible properties on this object; however, those are
23
+ * only exposed for testing purposes: do not use them.
24
+ */
25
+ declare type $HermesInternalType = {
26
+ // All members are optional because they may not exist when OTA'd to older
27
+ // VMs.
28
+
29
+ +getNumGCs?: () => number,
30
+ +getGCTime?: () => number,
31
+ +getNativeCallTime?: () => number,
32
+ +getNativeCallCount?: () => number,
33
+ +getGCCPUTime?: () => number,
34
+
35
+ /**
36
+ * Hermes can embed an "epilogue" to the bytecode file with arbitrary bytes.
37
+ * At most one epilogue will exist per bytecode module (which can be
38
+ * different than a JS module).
39
+ * Calling this function will return all such epilogues and convert the
40
+ * bytes to numbers in the range of 0-255.
41
+ */
42
+ +getEpilogues?: () => Array<Array<number>>,
43
+
44
+ /**
45
+ * Query the VM for various statistics about performance.
46
+ * There are no guarantees about what keys exist in it, but they can be
47
+ * printed for informational purposes.
48
+ * @return An object that maps strings to various types of performance
49
+ * statistics.
50
+ */
51
+ +getInstrumentedStats?: () => {[string]: number | string, ...},
52
+
53
+ /**
54
+ * Query the VM for any sort of runtime properties that it wants to report.
55
+ * There are no guarantees about what keys exist in it, but they can be
56
+ * printed for informational purposes.
57
+ * @return An object that maps strings to various types of runtime properties.
58
+ */
59
+ +getRuntimeProperties?: () => {
60
+ 'OSS Release Version': string,
61
+ Build: string,
62
+ [string]: mixed,
63
+ },
64
+
65
+ /**
66
+ * Tell Hermes that at this point the surface has transitioned from TTI to
67
+ * post-TTI. The VM can change some of its internal behavior to optimize for
68
+ * post-TTI scenarios.
69
+ * This can be called several times but will have no effect after the first
70
+ * call.
71
+ */
72
+ +ttiReached?: () => void,
73
+
74
+ /**
75
+ * Tell Hermes that at this point the surface has transitioned from TTRC to
76
+ * post-TTRC. The VM can change some of its internal behavior to optimize for
77
+ * post-TTRC scenarios.
78
+ * This can be called several times but will have no effect after the first
79
+ * call.
80
+ */
81
+ +ttrcReached?: () => void,
82
+
83
+ /**
84
+ * Query the VM to see whether or not it enabled Promise.
85
+ */
86
+ +hasPromise?: () => boolean,
87
+
88
+ /**
89
+ * Enable promise rejection tracking with the given options.
90
+ * The API mirrored the `promise` npm package, therefore it's typed same as
91
+ * the `enable` function of module `promise/setimmediate/rejection-tracking`
92
+ * declared in ./flow-typed/npm/promise_v8.x.x.js.
93
+ */
94
+ +enablePromiseRejectionTracker?: (
95
+ options: ?{
96
+ whitelist?: ?Array<mixed>,
97
+ allRejections?: ?boolean,
98
+ onUnhandled?: ?(number, mixed) => void,
99
+ onHandled?: ?(number, mixed) => void,
100
+ },
101
+ ) => void,
102
+
103
+ /**
104
+ * Query the VM to see whether or not it use the engine Job queue.
105
+ */
106
+ +useEngineQueue?: () => boolean,
107
+
108
+ /**
109
+ * Enqueue a JavaScript callback function as a Job into the engine Job queue.
110
+ */
111
+ +enqueueJob?: <TArguments: Array<mixed>>(
112
+ jobCallback: (...args: TArguments) => mixed,
113
+ ) => void,
114
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @flow strict
8
+ * @format
9
+ */
10
+
11
+ // This type allows Facebook to internally Override
12
+ // this type to allow our internationalization type which
13
+ // is a string at runtime but Flow doesn't know that.
14
+ declare type Stringish = string;