@office-iss/react-native-win32 0.72.0-preview.5 → 0.72.0
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/CHANGELOG.json +31 -1
- package/CHANGELOG.md +24 -8
- package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +0 -1
- package/Libraries/Components/TextInput/TextInput.d.ts +121 -86
- package/Libraries/Components/TextInput/TextInput.flow.js +121 -135
- package/Libraries/Components/TextInput/TextInput.js +126 -155
- package/Libraries/Components/TextInput/TextInput.win32.js +121 -135
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/PermissionsAndroid/PermissionsAndroid.js +0 -2
- package/Libraries/StyleSheet/StyleSheetTypes.d.ts +1 -13
- package/overrides.json +2 -2
- package/package.json +16 -15
- package/types/experimental.d.ts +101 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
|
-
"version": "0.72.0
|
|
3
|
+
"version": "0.72.0",
|
|
4
4
|
"description": "Implementation of react native on top of Office's Win32 platform.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,29 +26,29 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.0.0",
|
|
28
28
|
"@jest/create-cache-key-function": "^29.2.1",
|
|
29
|
-
"@react-native-community/cli": "11.2
|
|
30
|
-
"@react-native-community/cli-platform-android": "11.2
|
|
31
|
-
"@react-native-community/cli-platform-ios": "11.2
|
|
29
|
+
"@react-native-community/cli": "11.3.2",
|
|
30
|
+
"@react-native-community/cli-platform-android": "11.3.2",
|
|
31
|
+
"@react-native-community/cli-platform-ios": "11.3.2",
|
|
32
32
|
"@react-native/assets": "1.0.0",
|
|
33
33
|
"@react-native/assets-registry": "^0.72.0",
|
|
34
|
-
"@react-native/codegen": "^0.72.
|
|
35
|
-
"@react-native/gradle-plugin": "^0.72.
|
|
34
|
+
"@react-native/codegen": "^0.72.6",
|
|
35
|
+
"@react-native/gradle-plugin": "^0.72.10",
|
|
36
36
|
"@react-native/js-polyfills": "^0.72.1",
|
|
37
37
|
"@react-native/normalize-colors": "^0.72.0",
|
|
38
|
-
"@react-native/virtualized-lists": "^0.72.
|
|
38
|
+
"@react-native/virtualized-lists": "^0.72.5",
|
|
39
39
|
"abort-controller": "^3.0.0",
|
|
40
40
|
"anser": "^1.4.9",
|
|
41
41
|
"art": "^0.10.0",
|
|
42
42
|
"base64-js": "^1.1.2",
|
|
43
|
-
"deprecated-react-native-prop-types": "
|
|
43
|
+
"deprecated-react-native-prop-types": "4.1.0",
|
|
44
44
|
"event-target-shim": "^5.0.1",
|
|
45
45
|
"flow-enums-runtime": "^0.0.5",
|
|
46
46
|
"invariant": "^2.2.4",
|
|
47
47
|
"jest-environment-node": "^29.2.1",
|
|
48
48
|
"jsc-android": "^250231.0.0",
|
|
49
49
|
"memoize-one": "^5.0.0",
|
|
50
|
-
"metro-runtime": "0.76.
|
|
51
|
-
"metro-source-map": "0.76.
|
|
50
|
+
"metro-runtime": "0.76.5",
|
|
51
|
+
"metro-source-map": "0.76.5",
|
|
52
52
|
"mkdirp": "^0.5.1",
|
|
53
53
|
"nullthrows": "^1.1.1",
|
|
54
54
|
"pretty-format": "^26.5.2",
|
|
@@ -58,8 +58,9 @@
|
|
|
58
58
|
"react-refresh": "^0.4.0",
|
|
59
59
|
"react-shallow-renderer": "^16.15.0",
|
|
60
60
|
"regenerator-runtime": "^0.13.2",
|
|
61
|
-
"scheduler": "
|
|
61
|
+
"scheduler": "0.24.0-canary-efb381bbf-20230505",
|
|
62
62
|
"stacktrace-parser": "^0.1.10",
|
|
63
|
+
"use-sync-external-store": "^1.0.0",
|
|
63
64
|
"whatwg-fetch": "^3.0.0",
|
|
64
65
|
"ws": "^6.2.2",
|
|
65
66
|
"yargs": "^17.6.2"
|
|
@@ -82,20 +83,20 @@
|
|
|
82
83
|
"just-scripts": "^1.3.3",
|
|
83
84
|
"prettier": "^2.4.1",
|
|
84
85
|
"react": "18.2.0",
|
|
85
|
-
"react-native": "0.72.0
|
|
86
|
+
"react-native": "0.72.0",
|
|
86
87
|
"react-native-platform-override": "^1.9.4",
|
|
87
88
|
"typescript": "^4.9.5"
|
|
88
89
|
},
|
|
89
90
|
"peerDependencies": {
|
|
90
91
|
"react": "18.2.0",
|
|
91
|
-
"react-native": "0.
|
|
92
|
+
"react-native": "^0.72.0"
|
|
92
93
|
},
|
|
93
94
|
"beachball": {
|
|
94
|
-
"defaultNpmTag": "
|
|
95
|
+
"defaultNpmTag": "latest",
|
|
95
96
|
"disallowedChangeTypes": [
|
|
96
97
|
"major",
|
|
97
98
|
"minor",
|
|
98
|
-
"
|
|
99
|
+
"prerelease"
|
|
99
100
|
]
|
|
100
101
|
},
|
|
101
102
|
"promoteRelease": true,
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
* @format
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* These are types for things that are present for New Architecture enabled apps
|
|
12
|
+
* which is currently considered experimental.
|
|
13
|
+
*
|
|
14
|
+
* To load the types declared here in an actual project, there are three ways.
|
|
15
|
+
*
|
|
16
|
+
* 1. If your `tsconfig.json` already has a `"types"` array in the `"compilerOptions"` section,
|
|
17
|
+
* is to add `"react-native/types/experimental"` to the `"types"` array.
|
|
18
|
+
*
|
|
19
|
+
* 2. Alternatively, a specific import syntax can to be used from a typescript file.
|
|
20
|
+
* This module does not exist in reality, which is why the {} is important:
|
|
21
|
+
*
|
|
22
|
+
* ```ts
|
|
23
|
+
* import {} from 'react-native/types/experimental'
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* 3. It is also possible to include it through a triple-slash reference:
|
|
27
|
+
*
|
|
28
|
+
* ```ts
|
|
29
|
+
* /// <reference types="react-native/types/experimental" />
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* Either the import or the reference only needs to appear once, anywhere in the project.
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
import {DimensionValue} from 'react-native/Libraries/StyleSheet/StyleSheetTypes';
|
|
36
|
+
|
|
37
|
+
export {};
|
|
38
|
+
|
|
39
|
+
declare module '.' {
|
|
40
|
+
export interface FlexStyle {
|
|
41
|
+
/**
|
|
42
|
+
* Equivalent to `marginVertical`
|
|
43
|
+
*/
|
|
44
|
+
marginBlock?: DimensionValue | undefined;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Equivalent to `marginBottom`
|
|
48
|
+
*/
|
|
49
|
+
marginBlockEnd?: DimensionValue | undefined;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Equivalent to `marginTop`
|
|
53
|
+
*/
|
|
54
|
+
marginBlockStart?: DimensionValue | undefined;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Equivalent to `marginHorizontal`
|
|
58
|
+
*/
|
|
59
|
+
marginInline?: DimensionValue | undefined;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Equivalent to `marginEnd`
|
|
63
|
+
*/
|
|
64
|
+
marginInlineEnd?: DimensionValue | undefined;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Equivalent to `marginStart`
|
|
68
|
+
*/
|
|
69
|
+
marginInlineStart?: DimensionValue | undefined;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Equivalent to `paddingVertical`
|
|
73
|
+
*/
|
|
74
|
+
paddingBlock?: DimensionValue | undefined;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Equivalent to `paddingBottom`
|
|
78
|
+
*/
|
|
79
|
+
paddingBlockEnd?: DimensionValue | undefined;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Equivalent to `paddingTop`
|
|
83
|
+
*/
|
|
84
|
+
paddingBlockStart?: DimensionValue | undefined;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Equivalent to `paddingHorizontal`
|
|
88
|
+
*/
|
|
89
|
+
paddingInline?: DimensionValue | undefined;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Equivalent to `paddingEnd`
|
|
93
|
+
*/
|
|
94
|
+
paddingInlineEnd?: DimensionValue | undefined;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Equivalent to `paddingStart`
|
|
98
|
+
*/
|
|
99
|
+
paddingInlineStart?: DimensionValue | undefined;
|
|
100
|
+
}
|
|
101
|
+
}
|