@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.
Files changed (178) hide show
  1. package/.eslintrc.js +11 -0
  2. package/.flowconfig +5 -4
  3. package/CHANGELOG.json +191 -47
  4. package/CHANGELOG.md +63 -28
  5. package/Libraries/Alert/Alert.js +3 -0
  6. package/Libraries/Animated/AnimatedEvent.js +1 -1
  7. package/Libraries/Animated/AnimatedImplementation.js +7 -7
  8. package/Libraries/Animated/NativeAnimatedAllowlist.js +111 -0
  9. package/Libraries/Animated/animations/Animation.js +11 -1
  10. package/Libraries/Animated/animations/DecayAnimation.js +1 -1
  11. package/Libraries/Animated/animations/SpringAnimation.js +1 -1
  12. package/Libraries/Animated/animations/TimingAnimation.js +2 -1
  13. package/Libraries/Animated/components/AnimatedScrollView.js +3 -2
  14. package/Libraries/Animated/createAnimatedComponent.js +10 -9
  15. package/Libraries/Animated/nodes/AnimatedColor.js +1 -1
  16. package/Libraries/Animated/nodes/AnimatedInterpolation.js +3 -2
  17. package/Libraries/Animated/nodes/AnimatedNode.js +42 -33
  18. package/Libraries/Animated/nodes/AnimatedObject.js +56 -50
  19. package/Libraries/Animated/nodes/AnimatedProps.js +77 -40
  20. package/Libraries/Animated/nodes/AnimatedStyle.js +103 -59
  21. package/Libraries/Animated/nodes/AnimatedTracking.js +1 -1
  22. package/Libraries/Animated/nodes/AnimatedTransform.js +102 -67
  23. package/Libraries/Animated/nodes/AnimatedValue.js +2 -1
  24. package/Libraries/Animated/nodes/AnimatedWithChildren.js +21 -22
  25. package/Libraries/Animated/useAnimatedProps.js +142 -7
  26. package/Libraries/BatchedBridge/NativeModules.js +2 -0
  27. package/Libraries/Blob/FileReader.js +1 -1
  28. package/Libraries/Blob/URL.js +2 -62
  29. package/Libraries/Blob/URLSearchParams.js +71 -0
  30. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +1 -1
  31. package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +17 -0
  32. package/Libraries/Components/RefreshControl/__mocks__/RefreshControlMock.js +1 -1
  33. package/Libraries/Components/ScrollView/ScrollView.js +131 -169
  34. package/Libraries/Components/ScrollView/ScrollViewNativeComponent.js +3 -0
  35. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +1 -1
  36. package/Libraries/Components/StatusBar/StatusBar.js +3 -1
  37. package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +10 -0
  38. package/Libraries/Components/TextInput/TextInput.d.ts +32 -2
  39. package/Libraries/Components/TextInput/TextInput.js +230 -94
  40. package/Libraries/Components/TextInput/TextInput.win32.js +230 -100
  41. package/Libraries/Components/View/ReactNativeStyleAttributes.js +23 -1
  42. package/Libraries/Components/View/ReactNativeViewAttributes.js +2 -0
  43. package/Libraries/Components/View/ReactNativeViewAttributes.win32.js +2 -0
  44. package/Libraries/Components/View/ViewAccessibility.d.ts +15 -0
  45. package/Libraries/Components/View/ViewNativeComponent.js +0 -1
  46. package/Libraries/Components/View/ViewPropTypes.js +14 -0
  47. package/Libraries/Components/View/ViewPropTypes.win32.js +14 -0
  48. package/Libraries/Core/ExceptionsManager.js +2 -0
  49. package/Libraries/Core/InitializeCore.js +3 -1
  50. package/Libraries/Core/ReactFiberErrorDialog.js +3 -0
  51. package/Libraries/Core/ReactNativeVersion.js +4 -4
  52. package/Libraries/Core/ReactNativeVersionCheck.win32.js +1 -1
  53. package/Libraries/Core/setUpDeveloperTools.js +5 -1
  54. package/Libraries/Core/setUpErrorHandling.js +7 -1
  55. package/Libraries/Core/setUpGlobals.js +1 -0
  56. package/Libraries/Core/setUpReactRefresh.js +0 -4
  57. package/Libraries/Image/AssetSourceResolver.js +28 -1
  58. package/Libraries/Image/Image.android.js +9 -14
  59. package/Libraries/Image/Image.ios.js +11 -22
  60. package/Libraries/Image/Image.win32.js +11 -24
  61. package/Libraries/Image/ImageBackground.js +1 -8
  62. package/Libraries/Image/ImageUtils.js +9 -9
  63. package/Libraries/Image/ImageViewNativeComponent.js +1 -0
  64. package/Libraries/Inspector/Inspector.js +3 -2
  65. package/Libraries/Inspector/Inspector.win32.js +3 -2
  66. package/Libraries/Inspector/InspectorPanel.js +16 -10
  67. package/Libraries/Inspector/NetworkOverlay.js +1 -1
  68. package/Libraries/Interaction/TaskQueue.js +1 -0
  69. package/Libraries/Lists/FlatList.js +1 -1
  70. package/Libraries/Lists/SectionList.js +2 -2
  71. package/Libraries/Lists/SectionListModern.js +3 -3
  72. package/Libraries/LogBox/Data/LogBoxData.js +24 -3
  73. package/Libraries/LogBox/LogBoxNotificationContainer.js +3 -2
  74. package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +9 -8
  75. package/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js +9 -29
  76. package/Libraries/Modal/Modal.js +0 -1
  77. package/Libraries/NativeComponent/BaseViewConfig.android.js +9 -1
  78. package/Libraries/NativeComponent/BaseViewConfig.ios.js +17 -1
  79. package/Libraries/NativeComponent/BaseViewConfig.win32.js +17 -1
  80. package/Libraries/NativeComponent/NativeComponentRegistry.js +22 -22
  81. package/Libraries/NativeComponent/StaticViewConfigValidator.js +0 -21
  82. package/Libraries/Network/XMLHttpRequest.js +4 -2
  83. package/Libraries/ReactNative/AppContainer-dev.js +1 -5
  84. package/Libraries/ReactNative/AppContainer-prod.js +1 -5
  85. package/Libraries/ReactNative/AppContainer.js +0 -1
  86. package/Libraries/ReactNative/AppRegistry.js +0 -6
  87. package/Libraries/ReactNative/BridgelessUIManager.js +1 -0
  88. package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.js +1 -1
  89. package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +5 -5
  90. package/Libraries/ReactNative/RendererImplementation.js +26 -4
  91. package/Libraries/ReactNative/getNativeComponentAttributes.js +12 -0
  92. package/Libraries/ReactNative/renderApplication.js +0 -2
  93. package/Libraries/Renderer/shims/ReactNativeTypes.js +11 -4
  94. package/Libraries/StyleSheet/StyleSheet.js +1 -1
  95. package/Libraries/StyleSheet/StyleSheet.win32.js +1 -1
  96. package/Libraries/StyleSheet/StyleSheetTypes.d.ts +152 -2
  97. package/Libraries/StyleSheet/StyleSheetTypes.js +60 -5
  98. package/Libraries/StyleSheet/processBackgroundImage.js +384 -0
  99. package/Libraries/StyleSheet/processBoxShadow.js +209 -0
  100. package/Libraries/StyleSheet/processFilter.js +231 -42
  101. package/Libraries/Text/Text.js +394 -196
  102. package/Libraries/Text/Text.win32.js +442 -229
  103. package/Libraries/Text/TextNativeComponent.js +2 -1
  104. package/Libraries/Text/TextNativeComponent.win32.js +1 -1
  105. package/Libraries/TurboModule/TurboModuleRegistry.js +13 -50
  106. package/Libraries/Types/CodegenTypes.js +3 -1
  107. package/Libraries/Utilities/Appearance.js +108 -84
  108. package/Libraries/Utilities/DevLoadingView.js +2 -4
  109. package/Libraries/Utilities/HMRClient.js +8 -6
  110. package/Libraries/Utilities/ReactNativeTestTools.js +1 -1
  111. package/Libraries/Utilities/createPerformanceLogger.js +0 -9
  112. package/Libraries/Utilities/stringifyViewConfig.js +22 -0
  113. package/Libraries/Utilities/useColorScheme.js +3 -3
  114. package/Libraries/WebSocket/WebSocket.js +1 -1
  115. package/Libraries/promiseRejectionTrackingOptions.js +1 -1
  116. package/Libraries/vendor/emitter/EventEmitter.js +6 -5
  117. package/flow/jest.js +2 -2
  118. package/index.js +3 -1
  119. package/index.win32.js +3 -1
  120. package/jest/mockComponent.js +4 -1
  121. package/jest/mockModal.js +1 -3
  122. package/jest/mockScrollView.js +1 -1
  123. package/jest/renderer.js +2 -2
  124. package/jest/setup.js +16 -13
  125. package/jest.config.js +1 -2
  126. package/overrides.json +22 -22
  127. package/package.json +32 -30
  128. package/src/private/animated/NativeAnimatedHelper.js +438 -0
  129. package/src/private/animated/NativeAnimatedHelper.win32.js +440 -0
  130. package/src/private/animated/NativeAnimatedValidation.js +64 -0
  131. package/src/private/components/HScrollViewNativeComponents.js +56 -0
  132. package/src/private/components/SafeAreaView_INTERNAL_DO_NOT_USE.js +29 -0
  133. package/src/private/components/VScrollViewNativeComponents.js +48 -0
  134. package/src/private/components/useSyncOnScroll.js +48 -0
  135. package/src/private/featureflags/ReactNativeFeatureFlags.js +166 -16
  136. package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +29 -5
  137. package/src/private/fusebox/FuseboxSessionObserver.js +42 -0
  138. package/{Libraries/Core → src/private/renderer/errorhandling}/ErrorHandlers.js +14 -4
  139. package/src/private/setup/setUpDOM.js +28 -0
  140. package/src/private/setup/setUpIntersectionObserver.js +27 -0
  141. package/src/private/setup/setUpMutationObserver.js +26 -0
  142. package/src/private/setup/setUpPerformanceObserver.js +64 -0
  143. package/src/private/specs/modules/NativeAppearance.js +3 -3
  144. package/src/private/specs/modules/NativeLinkingManager.js +1 -1
  145. package/src/private/specs/modules/NativePlatformConstantsWin.js +7 -0
  146. package/src/private/specs/modules/NativeSampleTurboModule.js +14 -1
  147. package/src/private/webapis/dom/nodes/ReadOnlyNode.js +6 -4
  148. package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver}/IntersectionObserver.js +5 -3
  149. package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver}/IntersectionObserverEntry.js +3 -3
  150. package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver}/IntersectionObserverManager.js +14 -17
  151. package/src/private/{specs/modules → webapis/intersectionobserver/specs}/NativeIntersectionObserver.js +2 -2
  152. package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver/specs}/__mocks__/NativeIntersectionObserver.js +4 -4
  153. package/{Libraries/MutationObserver → src/private/webapis/mutationobserver}/MutationObserver.js +5 -3
  154. package/{Libraries/MutationObserver → src/private/webapis/mutationobserver}/MutationObserverManager.js +24 -15
  155. package/{Libraries/MutationObserver → src/private/webapis/mutationobserver}/MutationRecord.js +4 -6
  156. package/src/private/{specs/modules → webapis/mutationobserver/specs}/NativeMutationObserver.js +2 -2
  157. package/{Libraries/MutationObserver → src/private/webapis/mutationobserver/specs}/__mocks__/NativeMutationObserver.js +5 -5
  158. package/src/private/webapis/performance/{EventCounts.js → EventTiming.js} +65 -3
  159. package/src/private/webapis/performance/LongTasks.js +39 -0
  160. package/src/private/webapis/performance/Performance.js +22 -9
  161. package/src/private/webapis/performance/PerformanceEntry.js +36 -18
  162. package/src/private/webapis/performance/PerformanceObserver.js +29 -43
  163. package/src/private/webapis/performance/RawPerformanceEntry.js +24 -1
  164. package/src/private/webapis/performance/UserTiming.js +17 -12
  165. package/src/private/webapis/performance/specs/NativePerformanceObserver.js +1 -1
  166. package/src-win/Libraries/Components/View/ViewAccessibility.d.ts +15 -0
  167. package/types/experimental.d.ts +12 -98
  168. package/Libraries/Animated/NativeAnimatedHelper.js +0 -615
  169. package/Libraries/Animated/NativeAnimatedHelper.win32.js +0 -617
  170. package/Libraries/Core/setUpIntersectionObserver.js +0 -16
  171. package/Libraries/Core/setUpMutationObserver.js +0 -16
  172. package/Libraries/Core/setUpPerformanceObserver.js +0 -18
  173. package/Libraries/IntersectionObserver/NativeIntersectionObserver.js +0 -13
  174. package/Libraries/MutationObserver/NativeMutationObserver.js +0 -13
  175. package/Libraries/Utilities/verifyComponentAttributeEquivalence.js +0 -135
  176. package/src/private/core/setUpDOM.js +0 -18
  177. package/src/private/webapis/performance/PerformanceEventTiming.js +0 -55
  178. /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.238.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": "Mon, 30 Sep 2024 15:15:30 GMT",
6
- "version": "0.75.2",
7
- "tag": "@office-iss/react-native-win32_v0.75.2",
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
- "patch": [
9
+ "prerelease": [
10
10
  {
11
- "author": "tatianakapos@microsoft.com",
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": "cad883d48893bef40110a0f15be7abac071dd15b",
14
- "comment": "integrate 0.75.3"
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, 02 Sep 2024 15:14:59 GMT",
21
- "version": "0.75.1",
22
- "tag": "@office-iss/react-native-win32_v0.75.1",
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
- "patch": [
36
+ "prerelease": [
25
37
  {
26
38
  "author": "tatianakapos@microsoft.com",
27
39
  "package": "@office-iss/react-native-win32",
28
- "commit": "576f06fd10e020c30e9e204e189c5133a0cbd038",
29
- "comment": "integrate 0.75.2"
40
+ "commit": "739dfc5f58c5921fcab5eacb1aa0009396252995",
41
+ "comment": "Promote 0.76 to preview"
30
42
  }
31
43
  ]
32
44
  }
33
45
  },
34
46
  {
35
- "date": "Mon, 19 Aug 2024 20:18:59 GMT",
36
- "version": "0.75.0",
37
- "tag": "@office-iss/react-native-win32_v0.75.0",
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
- "patch": [
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": "ba3dd8c01553d45225124eaab38a13d8aa0b8b20",
44
- "comment": "Promote 0.75 to latest"
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": "Mon, 12 Aug 2024 15:18:28 GMT",
51
- "version": "0.75.0-preview.5",
52
- "tag": "@office-iss/react-native-win32_v0.75.0-preview.5",
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": "email not defined",
113
+ "author": "34109996+chiaramooney@users.noreply.github.com",
57
114
  "package": "@office-iss/react-native-win32",
58
- "commit": "36274bc5374a75cb75565749adb1d5295724dfc8",
59
- "comment": "integrate 0.75.0-rc.7"
115
+ "commit": "277d6f06a3e1bf1650cd9d1e7b4f22e0619968e9",
116
+ "comment": "Integrate 8/20"
60
117
  }
61
118
  ]
62
119
  }
63
120
  },
64
121
  {
65
- "date": "Mon, 05 Aug 2024 15:25:47 GMT",
66
- "version": "0.75.0-preview.4",
67
- "tag": "@office-iss/react-native-win32_v0.75.0-preview.4",
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": "79179c5c221cbce9ae727f0546c6b77c3dc861be",
74
- "comment": "consolidate rn dependencies"
130
+ "commit": "98197a259f5e7c97c877e361dd70b048343e65a8",
131
+ "comment": "integrate 0.76.0-nightly-20240816-17017d2b8"
75
132
  }
76
133
  ]
77
134
  }
78
135
  },
79
136
  {
80
- "date": "Wed, 31 Jul 2024 21:16:47 GMT",
81
- "version": "0.75.0-preview.3",
82
- "tag": "@office-iss/react-native-win32_v0.75.0-preview.3",
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": "32b32b325f3005913a8ec72d7051e5f4a519a813",
89
- "comment": "integrate 0.75.0-rc.6"
145
+ "commit": "bccbec07eeeda80b870765f2b207a6616b69732b",
146
+ "comment": "integrate react native nightly 7-19"
90
147
  }
91
148
  ]
92
149
  }
93
150
  },
94
151
  {
95
- "date": "Mon, 29 Jul 2024 15:20:55 GMT",
96
- "version": "0.75.0-preview.2",
97
- "tag": "@office-iss/react-native-win32_v0.75.0-preview.2",
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": "tatianakapos@microsoft.com",
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
- "commit": "d5feb184a8555cfc8169dd1c15d4630fff567ffc",
104
- "comment": "integrate RN 0.75.0-rc.5"
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": "Mon, 15 Jul 2024 16:52:20 GMT",
111
- "version": "0.75.0-preview.1",
112
- "tag": "@office-iss/react-native-win32_v0.75.0-preview.1",
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": "tatianakapos@microsoft.com",
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
- "commit": "cc2575a9ff19cc9109f48ea93f5b6694c92a7c1f",
119
- "comment": "Promote 0.75 to preview"
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 Mon, 30 Sep 2024 15:15:30 GMT and should not be manually modified.
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.75.2
7
+ ## 0.76.0-preview.2
8
8
 
9
- Mon, 30 Sep 2024 15:15:30 GMT
9
+ Fri, 11 Oct 2024 20:16:43 GMT
10
10
 
11
- ### Patches
11
+ ### Changes
12
12
 
13
- - integrate 0.75.3 (tatianakapos@microsoft.com)
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.75.1
17
+ ## 0.76.0-preview.1
16
18
 
17
- Mon, 02 Sep 2024 15:14:59 GMT
19
+ Mon, 30 Sep 2024 23:20:39 GMT
18
20
 
19
- ### Patches
21
+ ### Changes
20
22
 
21
- - integrate 0.75.2 (tatianakapos@microsoft.com)
23
+ - Promote 0.76 to preview (tatianakapos@microsoft.com)
22
24
 
23
- ## 0.75.0
25
+ ## 0.0.0-canary.263
24
26
 
25
- Mon, 19 Aug 2024 20:18:59 GMT
27
+ Thu, 26 Sep 2024 17:38:26 GMT
26
28
 
27
- ### Patches
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
- - Promote 0.75 to latest (tatianakapos@microsoft.com)
52
+ - Integrate 8/20 (34109996+chiaramooney@users.noreply.github.com)
30
53
 
31
- ## 0.75.0-preview.5
54
+ ## 0.0.0-canary.260
32
55
 
33
- Mon, 12 Aug 2024 15:18:28 GMT
56
+ Wed, 28 Aug 2024 05:14:44 GMT
34
57
 
35
58
  ### Changes
36
59
 
37
- - integrate 0.75.0-rc.7 (email not defined)
60
+ - integrate 0.76.0-nightly-20240816-17017d2b8 (tatianakapos@microsoft.com)
38
61
 
39
- ## 0.75.0-preview.4
62
+ ## 0.0.0-canary.259
40
63
 
41
- Mon, 05 Aug 2024 15:25:47 GMT
64
+ Thu, 22 Aug 2024 05:24:27 GMT
42
65
 
43
66
  ### Changes
44
67
 
45
- - consolidate rn dependencies (tatianakapos@microsoft.com)
68
+ - integrate react native nightly 7-19 (tatianakapos@microsoft.com)
46
69
 
47
- ## 0.75.0-preview.3
70
+ ## 0.0.0-canary.258
48
71
 
49
- Wed, 31 Jul 2024 21:16:47 GMT
72
+ Thu, 08 Aug 2024 05:16:47 GMT
50
73
 
51
74
  ### Changes
52
75
 
53
- - integrate 0.75.0-rc.6 (tatianakapos@microsoft.com)
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.75.0-preview.2
82
+ ## 0.0.0-canary.257
56
83
 
57
- Mon, 29 Jul 2024 15:20:55 GMT
84
+ Wed, 24 Jul 2024 05:24:34 GMT
58
85
 
59
86
  ### Changes
60
87
 
61
- - integrate RN 0.75.0-rc.5 (tatianakapos@microsoft.com)
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.75.0-preview.1
94
+ ## 0.0.0-canary.256
64
95
 
65
- Mon, 15 Jul 2024 16:52:20 GMT
96
+ Wed, 10 Jul 2024 05:15:28 GMT
66
97
 
67
98
  ### Changes
68
99
 
69
- - Promote 0.75 to preview (tatianakapos@microsoft.com)
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
 
@@ -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 './NativeAnimatedHelper';
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) {