@office-iss/react-native-win32 0.75.2 → 0.76.0-preview.2
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/.eslintrc.js +11 -0
- package/.flowconfig +5 -4
- package/CHANGELOG.json +191 -47
- package/CHANGELOG.md +63 -28
- package/Libraries/Alert/Alert.js +3 -0
- package/Libraries/Animated/AnimatedEvent.js +1 -1
- package/Libraries/Animated/AnimatedImplementation.js +7 -7
- package/Libraries/Animated/NativeAnimatedAllowlist.js +111 -0
- package/Libraries/Animated/animations/Animation.js +11 -1
- package/Libraries/Animated/animations/DecayAnimation.js +1 -1
- package/Libraries/Animated/animations/SpringAnimation.js +1 -1
- package/Libraries/Animated/animations/TimingAnimation.js +2 -1
- package/Libraries/Animated/components/AnimatedScrollView.js +3 -2
- package/Libraries/Animated/createAnimatedComponent.js +10 -9
- package/Libraries/Animated/nodes/AnimatedColor.js +1 -1
- package/Libraries/Animated/nodes/AnimatedInterpolation.js +3 -2
- package/Libraries/Animated/nodes/AnimatedNode.js +42 -33
- package/Libraries/Animated/nodes/AnimatedObject.js +56 -50
- package/Libraries/Animated/nodes/AnimatedProps.js +77 -40
- package/Libraries/Animated/nodes/AnimatedStyle.js +103 -59
- package/Libraries/Animated/nodes/AnimatedTracking.js +1 -1
- package/Libraries/Animated/nodes/AnimatedTransform.js +102 -67
- package/Libraries/Animated/nodes/AnimatedValue.js +2 -1
- package/Libraries/Animated/nodes/AnimatedWithChildren.js +21 -22
- package/Libraries/Animated/useAnimatedProps.js +142 -7
- package/Libraries/BatchedBridge/NativeModules.js +2 -0
- package/Libraries/Blob/FileReader.js +1 -1
- package/Libraries/Blob/URL.js +2 -62
- package/Libraries/Blob/URLSearchParams.js +71 -0
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +1 -1
- package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +17 -0
- package/Libraries/Components/RefreshControl/__mocks__/RefreshControlMock.js +1 -1
- package/Libraries/Components/ScrollView/ScrollView.js +131 -169
- package/Libraries/Components/ScrollView/ScrollViewNativeComponent.js +3 -0
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +1 -1
- package/Libraries/Components/StatusBar/StatusBar.js +3 -1
- package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +10 -0
- package/Libraries/Components/TextInput/TextInput.d.ts +32 -2
- package/Libraries/Components/TextInput/TextInput.js +230 -94
- package/Libraries/Components/TextInput/TextInput.win32.js +230 -100
- package/Libraries/Components/View/ReactNativeStyleAttributes.js +23 -1
- package/Libraries/Components/View/ReactNativeViewAttributes.js +2 -0
- package/Libraries/Components/View/ReactNativeViewAttributes.win32.js +2 -0
- package/Libraries/Components/View/ViewAccessibility.d.ts +15 -0
- package/Libraries/Components/View/ViewNativeComponent.js +0 -1
- package/Libraries/Components/View/ViewPropTypes.js +14 -0
- package/Libraries/Components/View/ViewPropTypes.win32.js +14 -0
- package/Libraries/Core/ExceptionsManager.js +2 -0
- package/Libraries/Core/InitializeCore.js +3 -1
- package/Libraries/Core/ReactFiberErrorDialog.js +3 -0
- package/Libraries/Core/ReactNativeVersion.js +4 -4
- package/Libraries/Core/ReactNativeVersionCheck.win32.js +1 -1
- package/Libraries/Core/setUpDeveloperTools.js +5 -1
- package/Libraries/Core/setUpErrorHandling.js +7 -1
- package/Libraries/Core/setUpGlobals.js +1 -0
- package/Libraries/Core/setUpReactRefresh.js +0 -4
- package/Libraries/Image/AssetSourceResolver.js +28 -1
- package/Libraries/Image/Image.android.js +9 -14
- package/Libraries/Image/Image.ios.js +11 -22
- package/Libraries/Image/Image.win32.js +11 -24
- package/Libraries/Image/ImageBackground.js +1 -8
- package/Libraries/Image/ImageUtils.js +9 -9
- package/Libraries/Image/ImageViewNativeComponent.js +1 -0
- package/Libraries/Inspector/Inspector.js +3 -2
- package/Libraries/Inspector/Inspector.win32.js +3 -2
- package/Libraries/Inspector/InspectorPanel.js +16 -10
- package/Libraries/Inspector/NetworkOverlay.js +1 -1
- package/Libraries/Interaction/TaskQueue.js +1 -0
- package/Libraries/Lists/FlatList.js +1 -1
- package/Libraries/Lists/SectionList.js +2 -2
- package/Libraries/Lists/SectionListModern.js +3 -3
- package/Libraries/LogBox/Data/LogBoxData.js +24 -3
- package/Libraries/LogBox/LogBoxNotificationContainer.js +3 -2
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +9 -8
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js +9 -29
- package/Libraries/Modal/Modal.js +0 -1
- package/Libraries/NativeComponent/BaseViewConfig.android.js +9 -1
- package/Libraries/NativeComponent/BaseViewConfig.ios.js +17 -1
- package/Libraries/NativeComponent/BaseViewConfig.win32.js +17 -1
- package/Libraries/NativeComponent/NativeComponentRegistry.js +22 -22
- package/Libraries/NativeComponent/StaticViewConfigValidator.js +0 -21
- package/Libraries/Network/XMLHttpRequest.js +4 -2
- package/Libraries/ReactNative/AppContainer-dev.js +1 -5
- package/Libraries/ReactNative/AppContainer-prod.js +1 -5
- package/Libraries/ReactNative/AppContainer.js +0 -1
- package/Libraries/ReactNative/AppRegistry.js +0 -6
- package/Libraries/ReactNative/BridgelessUIManager.js +1 -0
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.js +1 -1
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +5 -5
- package/Libraries/ReactNative/RendererImplementation.js +26 -4
- package/Libraries/ReactNative/getNativeComponentAttributes.js +12 -0
- package/Libraries/ReactNative/renderApplication.js +0 -2
- package/Libraries/Renderer/shims/ReactNativeTypes.js +11 -4
- package/Libraries/StyleSheet/StyleSheet.js +1 -1
- package/Libraries/StyleSheet/StyleSheet.win32.js +1 -1
- package/Libraries/StyleSheet/StyleSheetTypes.d.ts +152 -2
- package/Libraries/StyleSheet/StyleSheetTypes.js +60 -5
- package/Libraries/StyleSheet/processBackgroundImage.js +384 -0
- package/Libraries/StyleSheet/processBoxShadow.js +209 -0
- package/Libraries/StyleSheet/processFilter.js +231 -42
- package/Libraries/Text/Text.js +394 -196
- package/Libraries/Text/Text.win32.js +442 -229
- package/Libraries/Text/TextNativeComponent.js +2 -1
- package/Libraries/Text/TextNativeComponent.win32.js +1 -1
- package/Libraries/TurboModule/TurboModuleRegistry.js +13 -50
- package/Libraries/Types/CodegenTypes.js +3 -1
- package/Libraries/Utilities/Appearance.js +108 -84
- package/Libraries/Utilities/DevLoadingView.js +2 -4
- package/Libraries/Utilities/HMRClient.js +8 -6
- package/Libraries/Utilities/ReactNativeTestTools.js +1 -1
- package/Libraries/Utilities/createPerformanceLogger.js +0 -9
- package/Libraries/Utilities/stringifyViewConfig.js +22 -0
- package/Libraries/Utilities/useColorScheme.js +3 -3
- package/Libraries/WebSocket/WebSocket.js +1 -1
- package/Libraries/promiseRejectionTrackingOptions.js +1 -1
- package/Libraries/vendor/emitter/EventEmitter.js +6 -5
- package/flow/jest.js +2 -2
- package/index.js +3 -1
- package/index.win32.js +3 -1
- package/jest/mockComponent.js +4 -1
- package/jest/mockModal.js +1 -3
- package/jest/mockScrollView.js +1 -1
- package/jest/renderer.js +2 -2
- package/jest/setup.js +16 -13
- package/jest.config.js +1 -2
- package/overrides.json +22 -22
- package/package.json +32 -30
- package/src/private/animated/NativeAnimatedHelper.js +438 -0
- package/src/private/animated/NativeAnimatedHelper.win32.js +440 -0
- package/src/private/animated/NativeAnimatedValidation.js +64 -0
- package/src/private/components/HScrollViewNativeComponents.js +56 -0
- package/src/private/components/SafeAreaView_INTERNAL_DO_NOT_USE.js +29 -0
- package/src/private/components/VScrollViewNativeComponents.js +48 -0
- package/src/private/components/useSyncOnScroll.js +48 -0
- package/src/private/featureflags/ReactNativeFeatureFlags.js +166 -16
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +29 -5
- package/src/private/fusebox/FuseboxSessionObserver.js +42 -0
- package/{Libraries/Core → src/private/renderer/errorhandling}/ErrorHandlers.js +14 -4
- package/src/private/setup/setUpDOM.js +28 -0
- package/src/private/setup/setUpIntersectionObserver.js +27 -0
- package/src/private/setup/setUpMutationObserver.js +26 -0
- package/src/private/setup/setUpPerformanceObserver.js +64 -0
- package/src/private/specs/modules/NativeAppearance.js +3 -3
- package/src/private/specs/modules/NativeLinkingManager.js +1 -1
- package/src/private/specs/modules/NativePlatformConstantsWin.js +7 -0
- package/src/private/specs/modules/NativeSampleTurboModule.js +14 -1
- package/src/private/webapis/dom/nodes/ReadOnlyNode.js +6 -4
- package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver}/IntersectionObserver.js +5 -3
- package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver}/IntersectionObserverEntry.js +3 -3
- package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver}/IntersectionObserverManager.js +14 -17
- package/src/private/{specs/modules → webapis/intersectionobserver/specs}/NativeIntersectionObserver.js +2 -2
- package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver/specs}/__mocks__/NativeIntersectionObserver.js +4 -4
- package/{Libraries/MutationObserver → src/private/webapis/mutationobserver}/MutationObserver.js +5 -3
- package/{Libraries/MutationObserver → src/private/webapis/mutationobserver}/MutationObserverManager.js +24 -15
- package/{Libraries/MutationObserver → src/private/webapis/mutationobserver}/MutationRecord.js +4 -6
- package/src/private/{specs/modules → webapis/mutationobserver/specs}/NativeMutationObserver.js +2 -2
- package/{Libraries/MutationObserver → src/private/webapis/mutationobserver/specs}/__mocks__/NativeMutationObserver.js +5 -5
- package/src/private/webapis/performance/{EventCounts.js → EventTiming.js} +65 -3
- package/src/private/webapis/performance/LongTasks.js +39 -0
- package/src/private/webapis/performance/Performance.js +22 -9
- package/src/private/webapis/performance/PerformanceEntry.js +36 -18
- package/src/private/webapis/performance/PerformanceObserver.js +29 -43
- package/src/private/webapis/performance/RawPerformanceEntry.js +24 -1
- package/src/private/webapis/performance/UserTiming.js +17 -12
- package/src/private/webapis/performance/specs/NativePerformanceObserver.js +1 -1
- package/src-win/Libraries/Components/View/ViewAccessibility.d.ts +15 -0
- package/types/experimental.d.ts +12 -98
- package/Libraries/Animated/NativeAnimatedHelper.js +0 -615
- package/Libraries/Animated/NativeAnimatedHelper.win32.js +0 -617
- package/Libraries/Core/setUpIntersectionObserver.js +0 -16
- package/Libraries/Core/setUpMutationObserver.js +0 -16
- package/Libraries/Core/setUpPerformanceObserver.js +0 -18
- package/Libraries/IntersectionObserver/NativeIntersectionObserver.js +0 -13
- package/Libraries/MutationObserver/NativeMutationObserver.js +0 -13
- package/Libraries/Utilities/verifyComponentAttributeEquivalence.js +0 -135
- package/src/private/core/setUpDOM.js +0 -18
- package/src/private/webapis/performance/PerformanceEventTiming.js +0 -55
- /package/src/private/{core → styles}/composeStyles.js +0 -0
package/.eslintrc.js
CHANGED
|
@@ -6,6 +6,17 @@ module.exports = {
|
|
|
6
6
|
"react-hooks/rules-of-hooks": "warn",
|
|
7
7
|
},
|
|
8
8
|
overrides: [
|
|
9
|
+
{
|
|
10
|
+
files: ['*.js', '*.js.flow', '*.jsx'],
|
|
11
|
+
parser: 'hermes-eslint',
|
|
12
|
+
rules: {
|
|
13
|
+
// These rules are not required with hermes-eslint
|
|
14
|
+
'ft-flow/define-flow-type': 0,
|
|
15
|
+
'ft-flow/use-flow-type': 0,
|
|
16
|
+
// flow handles this check for us, so it's not required
|
|
17
|
+
'no-undef': 0,
|
|
18
|
+
},
|
|
19
|
+
},
|
|
9
20
|
{
|
|
10
21
|
files: ['*.ts', '*.tsx'],
|
|
11
22
|
excludedFiles: ['*.d.ts'],
|
package/.flowconfig
CHANGED
|
@@ -54,8 +54,6 @@
|
|
|
54
54
|
.*/node_modules/sample-apps/.*
|
|
55
55
|
.*/node_modules/playground/.*
|
|
56
56
|
|
|
57
|
-
; Ignore templates for 'react-native init'
|
|
58
|
-
<PROJECT_ROOT>/packages/react-native/template/.*
|
|
59
57
|
<PROJECT_ROOT>/packages/react-native/sdks/.*
|
|
60
58
|
|
|
61
59
|
; Ignore the codegen e2e tests
|
|
@@ -67,6 +65,9 @@
|
|
|
67
65
|
; Ignore "BUCK" generated dirs
|
|
68
66
|
<PROJECT_ROOT>/\.buckd/
|
|
69
67
|
|
|
68
|
+
; Ignore cache files
|
|
69
|
+
.*/node_modules/.cache*
|
|
70
|
+
|
|
70
71
|
; Ignore the src-win folder - flow files are combined with ones from react-native into the root Libraries folder
|
|
71
72
|
.*/react-native-win32/src-win/.*
|
|
72
73
|
|
|
@@ -127,7 +128,7 @@ module.name_mapper='^@office-iss/react-native-win32$' -> '<PROJECT_ROOT>/index.w
|
|
|
127
128
|
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/\1'
|
|
128
129
|
module.name_mapper='^@office-iss/react-native-win32/\(.*\)$' -> '<PROJECT_ROOT>\/1'
|
|
129
130
|
module.name_mapper='^@react-native/dev-middleware$' -> '<PROJECT_ROOT>/\1'
|
|
130
|
-
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/Libraries/Image/RelativeImageStub'
|
|
131
|
+
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\|xml\)$' -> '<PROJECT_ROOT>/Libraries/Image/RelativeImageStub'
|
|
131
132
|
|
|
132
133
|
suppress_type=$FlowIssue
|
|
133
134
|
suppress_type=$FlowFixMe
|
|
@@ -159,4 +160,4 @@ untyped-import
|
|
|
159
160
|
untyped-type-import
|
|
160
161
|
|
|
161
162
|
[version]
|
|
162
|
-
^0.
|
|
163
|
+
^0.245.2
|
package/CHANGELOG.json
CHANGED
|
@@ -2,121 +2,265 @@
|
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
6
|
-
"version": "0.
|
|
7
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
5
|
+
"date": "Fri, 11 Oct 2024 20:16:43 GMT",
|
|
6
|
+
"version": "0.76.0-preview.2",
|
|
7
|
+
"tag": "@office-iss/react-native-win32_v0.76.0-preview.2",
|
|
8
8
|
"comments": {
|
|
9
|
-
"
|
|
9
|
+
"prerelease": [
|
|
10
10
|
{
|
|
11
|
-
"author": "
|
|
11
|
+
"author": "jthysell@microsoft.com",
|
|
12
|
+
"package": "@office-iss/react-native-win32",
|
|
13
|
+
"commit": "9614bfe01650f577bf573989faecac1d0989c93d",
|
|
14
|
+
"comment": "Update to @react-native-community/cli@15.0.0-alpha.2"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "email not defined",
|
|
12
18
|
"package": "@office-iss/react-native-win32",
|
|
13
|
-
"commit": "
|
|
14
|
-
"comment": "integrate 0.
|
|
19
|
+
"commit": "6e76721bda69d1c8603a211729b89056743eb01f",
|
|
20
|
+
"comment": "integrate RN 0.76.0-rc3"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "email not defined",
|
|
24
|
+
"package": "@office-iss/react-native-win32",
|
|
25
|
+
"commit": "c1536386579b67da32092327aacbb821730dab02",
|
|
26
|
+
"comment": "integrate 0.76.0-rc.4"
|
|
15
27
|
}
|
|
16
28
|
]
|
|
17
29
|
}
|
|
18
30
|
},
|
|
19
31
|
{
|
|
20
|
-
"date": "Mon,
|
|
21
|
-
"version": "0.
|
|
22
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
32
|
+
"date": "Mon, 30 Sep 2024 23:20:39 GMT",
|
|
33
|
+
"version": "0.76.0-preview.1",
|
|
34
|
+
"tag": "@office-iss/react-native-win32_v0.76.0-preview.1",
|
|
23
35
|
"comments": {
|
|
24
|
-
"
|
|
36
|
+
"prerelease": [
|
|
25
37
|
{
|
|
26
38
|
"author": "tatianakapos@microsoft.com",
|
|
27
39
|
"package": "@office-iss/react-native-win32",
|
|
28
|
-
"commit": "
|
|
29
|
-
"comment": "
|
|
40
|
+
"commit": "739dfc5f58c5921fcab5eacb1aa0009396252995",
|
|
41
|
+
"comment": "Promote 0.76 to preview"
|
|
30
42
|
}
|
|
31
43
|
]
|
|
32
44
|
}
|
|
33
45
|
},
|
|
34
46
|
{
|
|
35
|
-
"date": "
|
|
36
|
-
"version": "0.
|
|
37
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
47
|
+
"date": "Thu, 26 Sep 2024 17:38:26 GMT",
|
|
48
|
+
"version": "0.0.0-canary.263",
|
|
49
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.263",
|
|
38
50
|
"comments": {
|
|
39
|
-
"
|
|
51
|
+
"prerelease": [
|
|
52
|
+
{
|
|
53
|
+
"author": "1422161+marlenecota@users.noreply.github.com",
|
|
54
|
+
"package": "@office-iss/react-native-win32",
|
|
55
|
+
"commit": "ca03cc6d24f6863ef5f94aab8755e8fb61e34c8f",
|
|
56
|
+
"comment": "RN Integration 9/9"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "beachball",
|
|
60
|
+
"package": "@office-iss/react-native-win32",
|
|
61
|
+
"comment": "Bump @rnw-scripts/eslint-config to v1.2.27",
|
|
62
|
+
"commit": "not available"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"author": "beachball",
|
|
66
|
+
"package": "@office-iss/react-native-win32",
|
|
67
|
+
"comment": "Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.31",
|
|
68
|
+
"commit": "not available"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"author": "beachball",
|
|
72
|
+
"package": "@office-iss/react-native-win32",
|
|
73
|
+
"comment": "Bump @rnw-scripts/just-task to v2.3.44",
|
|
74
|
+
"commit": "not available"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "beachball",
|
|
78
|
+
"package": "@office-iss/react-native-win32",
|
|
79
|
+
"comment": "Bump react-native-platform-override to v1.9.46",
|
|
80
|
+
"commit": "not available"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"date": "Sat, 07 Sep 2024 05:14:10 GMT",
|
|
87
|
+
"version": "0.0.0-canary.262",
|
|
88
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.262",
|
|
89
|
+
"comments": {
|
|
90
|
+
"prerelease": [
|
|
40
91
|
{
|
|
41
92
|
"author": "tatianakapos@microsoft.com",
|
|
42
93
|
"package": "@office-iss/react-native-win32",
|
|
43
|
-
"commit": "
|
|
44
|
-
"comment": "
|
|
94
|
+
"commit": "55e32071ac30a673c7830f717fcbd1a3a228dcff",
|
|
95
|
+
"comment": "switch to optimized text"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"author": "34109996+chiaramooney@users.noreply.github.com",
|
|
99
|
+
"package": "@office-iss/react-native-win32",
|
|
100
|
+
"commit": "409bf6e085cc1aa6421cff078037f7b3774bd8ec",
|
|
101
|
+
"comment": "Integrate 8/31"
|
|
45
102
|
}
|
|
46
103
|
]
|
|
47
104
|
}
|
|
48
105
|
},
|
|
49
106
|
{
|
|
50
|
-
"date": "
|
|
51
|
-
"version": "0.
|
|
52
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
107
|
+
"date": "Thu, 05 Sep 2024 05:13:45 GMT",
|
|
108
|
+
"version": "0.0.0-canary.261",
|
|
109
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.261",
|
|
53
110
|
"comments": {
|
|
54
111
|
"prerelease": [
|
|
55
112
|
{
|
|
56
|
-
"author": "
|
|
113
|
+
"author": "34109996+chiaramooney@users.noreply.github.com",
|
|
57
114
|
"package": "@office-iss/react-native-win32",
|
|
58
|
-
"commit": "
|
|
59
|
-
"comment": "
|
|
115
|
+
"commit": "277d6f06a3e1bf1650cd9d1e7b4f22e0619968e9",
|
|
116
|
+
"comment": "Integrate 8/20"
|
|
60
117
|
}
|
|
61
118
|
]
|
|
62
119
|
}
|
|
63
120
|
},
|
|
64
121
|
{
|
|
65
|
-
"date": "
|
|
66
|
-
"version": "0.
|
|
67
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
122
|
+
"date": "Wed, 28 Aug 2024 05:14:44 GMT",
|
|
123
|
+
"version": "0.0.0-canary.260",
|
|
124
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.260",
|
|
68
125
|
"comments": {
|
|
69
126
|
"prerelease": [
|
|
70
127
|
{
|
|
71
128
|
"author": "tatianakapos@microsoft.com",
|
|
72
129
|
"package": "@office-iss/react-native-win32",
|
|
73
|
-
"commit": "
|
|
74
|
-
"comment": "
|
|
130
|
+
"commit": "98197a259f5e7c97c877e361dd70b048343e65a8",
|
|
131
|
+
"comment": "integrate 0.76.0-nightly-20240816-17017d2b8"
|
|
75
132
|
}
|
|
76
133
|
]
|
|
77
134
|
}
|
|
78
135
|
},
|
|
79
136
|
{
|
|
80
|
-
"date": "
|
|
81
|
-
"version": "0.
|
|
82
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
137
|
+
"date": "Thu, 22 Aug 2024 05:24:27 GMT",
|
|
138
|
+
"version": "0.0.0-canary.259",
|
|
139
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.259",
|
|
83
140
|
"comments": {
|
|
84
141
|
"prerelease": [
|
|
85
142
|
{
|
|
86
143
|
"author": "tatianakapos@microsoft.com",
|
|
87
144
|
"package": "@office-iss/react-native-win32",
|
|
88
|
-
"commit": "
|
|
89
|
-
"comment": "integrate
|
|
145
|
+
"commit": "bccbec07eeeda80b870765f2b207a6616b69732b",
|
|
146
|
+
"comment": "integrate react native nightly 7-19"
|
|
90
147
|
}
|
|
91
148
|
]
|
|
92
149
|
}
|
|
93
150
|
},
|
|
94
151
|
{
|
|
95
|
-
"date": "
|
|
96
|
-
"version": "0.
|
|
97
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
152
|
+
"date": "Thu, 08 Aug 2024 05:16:47 GMT",
|
|
153
|
+
"version": "0.0.0-canary.258",
|
|
154
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.258",
|
|
98
155
|
"comments": {
|
|
99
156
|
"prerelease": [
|
|
100
157
|
{
|
|
101
|
-
"author": "
|
|
158
|
+
"author": "jthysell@microsoft.com",
|
|
159
|
+
"package": "@office-iss/react-native-win32",
|
|
160
|
+
"commit": "c5dff02edd12aa4a9529b325c7630eb558d375f7",
|
|
161
|
+
"comment": "Integrate 7/1"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"author": "beachball",
|
|
165
|
+
"package": "@office-iss/react-native-win32",
|
|
166
|
+
"comment": "Bump @rnw-scripts/eslint-config to v1.2.26",
|
|
167
|
+
"commit": "not available"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"author": "beachball",
|
|
102
171
|
"package": "@office-iss/react-native-win32",
|
|
103
|
-
"
|
|
104
|
-
"
|
|
172
|
+
"comment": "Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.30",
|
|
173
|
+
"commit": "not available"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"author": "beachball",
|
|
177
|
+
"package": "@office-iss/react-native-win32",
|
|
178
|
+
"comment": "Bump @rnw-scripts/just-task to v2.3.43",
|
|
179
|
+
"commit": "not available"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"author": "beachball",
|
|
183
|
+
"package": "@office-iss/react-native-win32",
|
|
184
|
+
"comment": "Bump react-native-platform-override to v1.9.45",
|
|
185
|
+
"commit": "not available"
|
|
105
186
|
}
|
|
106
187
|
]
|
|
107
188
|
}
|
|
108
189
|
},
|
|
109
190
|
{
|
|
110
|
-
"date": "
|
|
111
|
-
"version": "0.
|
|
112
|
-
"tag": "@office-iss/react-native-win32_v0.
|
|
191
|
+
"date": "Wed, 24 Jul 2024 05:24:34 GMT",
|
|
192
|
+
"version": "0.0.0-canary.257",
|
|
193
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.257",
|
|
113
194
|
"comments": {
|
|
114
195
|
"prerelease": [
|
|
115
196
|
{
|
|
116
|
-
"author": "
|
|
197
|
+
"author": "yajurgrover24@gmail.com",
|
|
198
|
+
"package": "@office-iss/react-native-win32",
|
|
199
|
+
"commit": "7b187af8b17b433ac02a8aff0051684924da4217",
|
|
200
|
+
"comment": "integrate 6/14"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"author": "beachball",
|
|
204
|
+
"package": "@office-iss/react-native-win32",
|
|
205
|
+
"comment": "Bump @rnw-scripts/eslint-config to v1.2.25",
|
|
206
|
+
"commit": "not available"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"author": "beachball",
|
|
210
|
+
"package": "@office-iss/react-native-win32",
|
|
211
|
+
"comment": "Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.29",
|
|
212
|
+
"commit": "not available"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"author": "beachball",
|
|
216
|
+
"package": "@office-iss/react-native-win32",
|
|
217
|
+
"comment": "Bump @rnw-scripts/just-task to v2.3.42",
|
|
218
|
+
"commit": "not available"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"author": "beachball",
|
|
117
222
|
"package": "@office-iss/react-native-win32",
|
|
118
|
-
"
|
|
119
|
-
"
|
|
223
|
+
"comment": "Bump react-native-platform-override to v1.9.44",
|
|
224
|
+
"commit": "not available"
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"date": "Wed, 10 Jul 2024 05:15:28 GMT",
|
|
231
|
+
"version": "0.0.0-canary.256",
|
|
232
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.256",
|
|
233
|
+
"comments": {
|
|
234
|
+
"prerelease": [
|
|
235
|
+
{
|
|
236
|
+
"author": "yajurgrover24@gmail.com",
|
|
237
|
+
"package": "@office-iss/react-native-win32",
|
|
238
|
+
"commit": "8a91af57691e38ed9ee537ec5a7aaa74f8bae1eb",
|
|
239
|
+
"comment": "Integrate 6/13"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"author": "beachball",
|
|
243
|
+
"package": "@office-iss/react-native-win32",
|
|
244
|
+
"comment": "Bump @rnw-scripts/eslint-config to v1.2.24",
|
|
245
|
+
"commit": "not available"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"author": "beachball",
|
|
249
|
+
"package": "@office-iss/react-native-win32",
|
|
250
|
+
"comment": "Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.28",
|
|
251
|
+
"commit": "not available"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"author": "beachball",
|
|
255
|
+
"package": "@office-iss/react-native-win32",
|
|
256
|
+
"comment": "Bump @rnw-scripts/just-task to v2.3.41",
|
|
257
|
+
"commit": "not available"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"author": "beachball",
|
|
261
|
+
"package": "@office-iss/react-native-win32",
|
|
262
|
+
"comment": "Bump react-native-platform-override to v1.9.43",
|
|
263
|
+
"commit": "not available"
|
|
120
264
|
}
|
|
121
265
|
]
|
|
122
266
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,72 +1,107 @@
|
|
|
1
1
|
# Change Log - @office-iss/react-native-win32
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Fri, 11 Oct 2024 20:16:43 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## 0.
|
|
7
|
+
## 0.76.0-preview.2
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Fri, 11 Oct 2024 20:16:43 GMT
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Changes
|
|
12
12
|
|
|
13
|
-
-
|
|
13
|
+
- Update to @react-native-community/cli@15.0.0-alpha.2 (jthysell@microsoft.com)
|
|
14
|
+
- integrate RN 0.76.0-rc3 (email not defined)
|
|
15
|
+
- integrate 0.76.0-rc.4 (email not defined)
|
|
14
16
|
|
|
15
|
-
## 0.
|
|
17
|
+
## 0.76.0-preview.1
|
|
16
18
|
|
|
17
|
-
Mon,
|
|
19
|
+
Mon, 30 Sep 2024 23:20:39 GMT
|
|
18
20
|
|
|
19
|
-
###
|
|
21
|
+
### Changes
|
|
20
22
|
|
|
21
|
-
-
|
|
23
|
+
- Promote 0.76 to preview (tatianakapos@microsoft.com)
|
|
22
24
|
|
|
23
|
-
## 0.
|
|
25
|
+
## 0.0.0-canary.263
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
Thu, 26 Sep 2024 17:38:26 GMT
|
|
26
28
|
|
|
27
|
-
###
|
|
29
|
+
### Changes
|
|
30
|
+
|
|
31
|
+
- RN Integration 9/9 (1422161+marlenecota@users.noreply.github.com)
|
|
32
|
+
- Bump @rnw-scripts/eslint-config to v1.2.27
|
|
33
|
+
- Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.31
|
|
34
|
+
- Bump @rnw-scripts/just-task to v2.3.44
|
|
35
|
+
- Bump react-native-platform-override to v1.9.46
|
|
36
|
+
|
|
37
|
+
## 0.0.0-canary.262
|
|
38
|
+
|
|
39
|
+
Sat, 07 Sep 2024 05:14:10 GMT
|
|
40
|
+
|
|
41
|
+
### Changes
|
|
42
|
+
|
|
43
|
+
- switch to optimized text (tatianakapos@microsoft.com)
|
|
44
|
+
- Integrate 8/31 (34109996+chiaramooney@users.noreply.github.com)
|
|
45
|
+
|
|
46
|
+
## 0.0.0-canary.261
|
|
47
|
+
|
|
48
|
+
Thu, 05 Sep 2024 05:13:45 GMT
|
|
49
|
+
|
|
50
|
+
### Changes
|
|
28
51
|
|
|
29
|
-
-
|
|
52
|
+
- Integrate 8/20 (34109996+chiaramooney@users.noreply.github.com)
|
|
30
53
|
|
|
31
|
-
## 0.
|
|
54
|
+
## 0.0.0-canary.260
|
|
32
55
|
|
|
33
|
-
|
|
56
|
+
Wed, 28 Aug 2024 05:14:44 GMT
|
|
34
57
|
|
|
35
58
|
### Changes
|
|
36
59
|
|
|
37
|
-
- integrate 0.
|
|
60
|
+
- integrate 0.76.0-nightly-20240816-17017d2b8 (tatianakapos@microsoft.com)
|
|
38
61
|
|
|
39
|
-
## 0.
|
|
62
|
+
## 0.0.0-canary.259
|
|
40
63
|
|
|
41
|
-
|
|
64
|
+
Thu, 22 Aug 2024 05:24:27 GMT
|
|
42
65
|
|
|
43
66
|
### Changes
|
|
44
67
|
|
|
45
|
-
-
|
|
68
|
+
- integrate react native nightly 7-19 (tatianakapos@microsoft.com)
|
|
46
69
|
|
|
47
|
-
## 0.
|
|
70
|
+
## 0.0.0-canary.258
|
|
48
71
|
|
|
49
|
-
|
|
72
|
+
Thu, 08 Aug 2024 05:16:47 GMT
|
|
50
73
|
|
|
51
74
|
### Changes
|
|
52
75
|
|
|
53
|
-
-
|
|
76
|
+
- Integrate 7/1 (jthysell@microsoft.com)
|
|
77
|
+
- Bump @rnw-scripts/eslint-config to v1.2.26
|
|
78
|
+
- Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.30
|
|
79
|
+
- Bump @rnw-scripts/just-task to v2.3.43
|
|
80
|
+
- Bump react-native-platform-override to v1.9.45
|
|
54
81
|
|
|
55
|
-
## 0.
|
|
82
|
+
## 0.0.0-canary.257
|
|
56
83
|
|
|
57
|
-
|
|
84
|
+
Wed, 24 Jul 2024 05:24:34 GMT
|
|
58
85
|
|
|
59
86
|
### Changes
|
|
60
87
|
|
|
61
|
-
- integrate
|
|
88
|
+
- integrate 6/14 (yajurgrover24@gmail.com)
|
|
89
|
+
- Bump @rnw-scripts/eslint-config to v1.2.25
|
|
90
|
+
- Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.29
|
|
91
|
+
- Bump @rnw-scripts/just-task to v2.3.42
|
|
92
|
+
- Bump react-native-platform-override to v1.9.44
|
|
62
93
|
|
|
63
|
-
## 0.
|
|
94
|
+
## 0.0.0-canary.256
|
|
64
95
|
|
|
65
|
-
|
|
96
|
+
Wed, 10 Jul 2024 05:15:28 GMT
|
|
66
97
|
|
|
67
98
|
### Changes
|
|
68
99
|
|
|
69
|
-
-
|
|
100
|
+
- Integrate 6/13 (yajurgrover24@gmail.com)
|
|
101
|
+
- Bump @rnw-scripts/eslint-config to v1.2.24
|
|
102
|
+
- Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.28
|
|
103
|
+
- Bump @rnw-scripts/just-task to v2.3.41
|
|
104
|
+
- Bump react-native-platform-override to v1.9.43
|
|
70
105
|
|
|
71
106
|
## 0.0.0-canary.255
|
|
72
107
|
|
package/Libraries/Alert/Alert.js
CHANGED
|
@@ -98,10 +98,13 @@ class Alert {
|
|
|
98
98
|
const onAction = (action, buttonKey) => {
|
|
99
99
|
if (action === constants.buttonClicked) {
|
|
100
100
|
if (buttonKey === constants.buttonNeutral) {
|
|
101
|
+
// $FlowFixMe[incompatible-type]
|
|
101
102
|
buttonNeutral.onPress && buttonNeutral.onPress();
|
|
102
103
|
} else if (buttonKey === constants.buttonNegative) {
|
|
104
|
+
// $FlowFixMe[incompatible-type]
|
|
103
105
|
buttonNegative.onPress && buttonNegative.onPress();
|
|
104
106
|
} else if (buttonKey === constants.buttonPositive) {
|
|
107
|
+
// $FlowFixMe[incompatible-type]
|
|
105
108
|
buttonPositive.onPress && buttonPositive.onPress();
|
|
106
109
|
}
|
|
107
110
|
} else if (action === constants.dismissed) {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import type {PlatformConfig} from './AnimatedPlatformConfig';
|
|
14
14
|
|
|
15
15
|
import {findNodeHandle} from '../ReactNative/RendererProxy';
|
|
16
|
-
import NativeAnimatedHelper from '
|
|
16
|
+
import NativeAnimatedHelper from '../../src/private/animated/NativeAnimatedHelper';
|
|
17
17
|
import AnimatedValue from './nodes/AnimatedValue';
|
|
18
18
|
import AnimatedValueXY from './nodes/AnimatedValueXY';
|
|
19
19
|
import invariant from 'invariant';
|
|
@@ -39,7 +39,7 @@ import AnimatedValue from './nodes/AnimatedValue';
|
|
|
39
39
|
import AnimatedValueXY from './nodes/AnimatedValueXY';
|
|
40
40
|
|
|
41
41
|
export type CompositeAnimation = {
|
|
42
|
-
start: (callback?: ?EndCallback) => void,
|
|
42
|
+
start: (callback?: ?EndCallback, isLooping?: boolean) => void,
|
|
43
43
|
stop: () => void,
|
|
44
44
|
reset: () => void,
|
|
45
45
|
_startNativeLoop: (iterations?: number) => void,
|
|
@@ -234,8 +234,8 @@ const timing = function (
|
|
|
234
234
|
|
|
235
235
|
return (
|
|
236
236
|
maybeVectorAnim(value, config, timing) || {
|
|
237
|
-
start: function (callback?: ?EndCallback): void {
|
|
238
|
-
start(value, config, callback);
|
|
237
|
+
start: function (callback?: ?EndCallback, isLooping?: boolean): void {
|
|
238
|
+
start(value, {...config, isLooping}, callback);
|
|
239
239
|
},
|
|
240
240
|
|
|
241
241
|
stop: function (): void {
|
|
@@ -305,7 +305,7 @@ const sequence = function (
|
|
|
305
305
|
): CompositeAnimation {
|
|
306
306
|
let current = 0;
|
|
307
307
|
return {
|
|
308
|
-
start: function (callback?: ?EndCallback) {
|
|
308
|
+
start: function (callback?: ?EndCallback, isLooping?: boolean) {
|
|
309
309
|
const onComplete = function (result: EndResult) {
|
|
310
310
|
if (!result.finished) {
|
|
311
311
|
callback && callback(result);
|
|
@@ -321,13 +321,13 @@ const sequence = function (
|
|
|
321
321
|
return;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
animations[current].start(onComplete);
|
|
324
|
+
animations[current].start(onComplete, isLooping);
|
|
325
325
|
};
|
|
326
326
|
|
|
327
327
|
if (animations.length === 0) {
|
|
328
328
|
callback && callback({finished: true});
|
|
329
329
|
} else {
|
|
330
|
-
animations[current].start(onComplete);
|
|
330
|
+
animations[current].start(onComplete, isLooping);
|
|
331
331
|
}
|
|
332
332
|
},
|
|
333
333
|
|
|
@@ -477,7 +477,7 @@ const loop = function (
|
|
|
477
477
|
} else {
|
|
478
478
|
iterationsSoFar++;
|
|
479
479
|
resetBeforeIteration && animation.reset();
|
|
480
|
-
animation.start(restart);
|
|
480
|
+
animation.start(restart, iterations === -1);
|
|
481
481
|
}
|
|
482
482
|
};
|
|
483
483
|
if (!animation || iterations === 0) {
|