@office-iss/react-native-win32 0.76.2 → 0.77.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 (249) hide show
  1. package/.eslintignore +1 -1
  2. package/.flowconfig +5 -1
  3. package/CHANGELOG.json +179 -53
  4. package/CHANGELOG.md +82 -28
  5. package/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +1 -0
  6. package/Libraries/ActionSheetIOS/ActionSheetIOS.js +13 -0
  7. package/Libraries/Animated/AnimatedEvent.js +1 -1
  8. package/Libraries/Animated/AnimatedImplementation.js +2 -2
  9. package/Libraries/Animated/NativeAnimatedAllowlist.js +20 -9
  10. package/Libraries/Animated/animations/Animation.js +60 -25
  11. package/Libraries/Animated/animations/DecayAnimation.js +26 -38
  12. package/Libraries/Animated/animations/SpringAnimation.js +33 -39
  13. package/Libraries/Animated/animations/TimingAnimation.js +34 -42
  14. package/Libraries/Animated/components/AnimatedFlatList.js +1 -1
  15. package/Libraries/Animated/components/AnimatedSectionList.js +3 -1
  16. package/Libraries/Animated/createAnimatedComponent.js +60 -33
  17. package/Libraries/Animated/nodes/AnimatedColor.js +1 -1
  18. package/Libraries/Animated/nodes/AnimatedInterpolation.js +1 -1
  19. package/Libraries/Animated/nodes/AnimatedNode.js +39 -45
  20. package/Libraries/Animated/nodes/AnimatedObject.js +13 -3
  21. package/Libraries/Animated/nodes/AnimatedProps.js +104 -46
  22. package/Libraries/Animated/nodes/AnimatedStyle.js +116 -39
  23. package/Libraries/Animated/nodes/AnimatedTransform.js +56 -23
  24. package/Libraries/Animated/nodes/AnimatedValue.js +1 -1
  25. package/Libraries/Animated/nodes/AnimatedWithChildren.js +1 -3
  26. package/Libraries/Animated/useAnimatedProps.js +41 -35
  27. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +19 -3
  28. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +77 -5
  29. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.win32.js +82 -5
  30. package/Libraries/Components/ActivityIndicator/ActivityIndicator.js +4 -4
  31. package/Libraries/Components/Button.js +9 -4
  32. package/Libraries/Components/Button.win32.js +12 -4
  33. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js +3 -1
  34. package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +7 -0
  35. package/Libraries/Components/Pressable/Pressable.js +4 -4
  36. package/Libraries/Components/Pressable/Pressable.win32.js +4 -4
  37. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.android.js +13 -7
  38. package/Libraries/Components/RefreshControl/__mocks__/RefreshControlMock.js +3 -2
  39. package/Libraries/Components/SafeAreaView/SafeAreaView.js +4 -4
  40. package/Libraries/Components/SafeAreaView/SafeAreaView.win32.js +4 -4
  41. package/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +0 -1
  42. package/Libraries/Components/ScrollView/ScrollView.js +49 -88
  43. package/Libraries/Components/ScrollView/ScrollViewCommands.js +1 -1
  44. package/Libraries/Components/ScrollView/ScrollViewContext.js +2 -0
  45. package/Libraries/Components/ScrollView/ScrollViewNativeComponent.js +0 -2
  46. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +8 -9
  47. package/Libraries/Components/Switch/Switch.js +8 -6
  48. package/Libraries/Components/TextInput/InputAccessoryView.js +1 -1
  49. package/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js +4 -4
  50. package/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js +6 -4
  51. package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +2 -1
  52. package/Libraries/Components/TextInput/TextInput.d.ts +27 -4
  53. package/Libraries/Components/TextInput/TextInput.flow.js +36 -19
  54. package/Libraries/Components/TextInput/TextInput.js +37 -13
  55. package/Libraries/Components/TextInput/TextInput.win32.js +40 -15
  56. package/Libraries/Components/TextInput/TextInputState.js +11 -13
  57. package/Libraries/Components/TextInput/TextInputState.win32.js +13 -16
  58. package/Libraries/Components/TextInput/Win32TextInputNativeComponent.js +3 -0
  59. package/Libraries/Components/Touchable/BoundingDimensions.js +11 -3
  60. package/Libraries/Components/Touchable/Position.js +7 -2
  61. package/Libraries/Components/Touchable/Touchable.js +4 -0
  62. package/Libraries/Components/Touchable/Touchable.win32.js +4 -0
  63. package/Libraries/Components/Touchable/TouchableBounce.js +6 -2
  64. package/Libraries/Components/Touchable/TouchableHighlight.js +5 -5
  65. package/Libraries/Components/Touchable/TouchableOpacity.js +6 -5
  66. package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +1 -2
  67. package/Libraries/Components/View/ReactNativeStyleAttributes.js +6 -1
  68. package/Libraries/Components/View/View.js +4 -4
  69. package/Libraries/Components/View/View.win32.js +4 -4
  70. package/Libraries/Components/View/ViewNativeComponent.js +6 -98
  71. package/Libraries/Components/View/ViewPropTypes.d.ts +7 -0
  72. package/Libraries/Components/View/ViewPropTypes.js +0 -3
  73. package/Libraries/Components/View/ViewPropTypes.win32.js +0 -3
  74. package/Libraries/Components/View/ViewWin32.js +1 -0
  75. package/Libraries/Core/ExceptionsManager.js +50 -29
  76. package/Libraries/Core/ReactNativeVersion.js +3 -3
  77. package/Libraries/Core/__mocks__/NativeExceptionsManager.js +0 -1
  78. package/Libraries/Core/setUpBatchedBridge.js +1 -10
  79. package/Libraries/Core/setUpDeveloperTools.js +1 -5
  80. package/Libraries/Core/setUpErrorHandling.js +20 -18
  81. package/Libraries/Core/setUpReactDevTools.js +107 -8
  82. package/Libraries/Core/setUpSegmentFetcher.js +1 -0
  83. package/Libraries/Core/setUpTimers.js +21 -18
  84. package/Libraries/Debugging/DebuggingOverlay.js +4 -5
  85. package/Libraries/Image/AssetSourceResolver.js +12 -1
  86. package/Libraries/Image/Image.android.js +1 -5
  87. package/Libraries/Image/Image.d.ts +20 -29
  88. package/Libraries/Image/Image.ios.js +0 -2
  89. package/Libraries/Image/Image.win32.js +0 -2
  90. package/Libraries/Image/ImageBackground.js +2 -5
  91. package/Libraries/Image/ImageProps.js +7 -6
  92. package/Libraries/Image/ImageResizeMode.d.ts +8 -1
  93. package/Libraries/Image/ImageResizeMode.js +4 -1
  94. package/Libraries/Image/ImageSource.d.ts +0 -2
  95. package/Libraries/Image/ImageSource.js +0 -2
  96. package/Libraries/Image/ImageTypes.flow.js +11 -9
  97. package/Libraries/Image/ImageUtils.js +6 -3
  98. package/Libraries/Image/ImageViewNativeComponent.js +5 -3
  99. package/Libraries/Inspector/Inspector.js +1 -0
  100. package/Libraries/Inspector/Inspector.win32.js +2 -1
  101. package/Libraries/Inspector/NetworkOverlay.js +4 -0
  102. package/Libraries/Inspector/ReactDevToolsOverlay.js +8 -14
  103. package/Libraries/Inspector/getInspectorDataForViewAtPoint.js +3 -5
  104. package/Libraries/Interaction/InteractionManager.js +6 -1
  105. package/Libraries/Interaction/InteractionManagerStub.js +176 -0
  106. package/Libraries/Interaction/TouchHistoryMath.js +22 -19
  107. package/Libraries/JSInspector/NetworkAgent.js +1 -1
  108. package/Libraries/Lists/FlatList.d.ts +1 -2
  109. package/Libraries/Lists/FlatList.js +2 -2
  110. package/Libraries/Lists/SectionListModern.js +7 -7
  111. package/Libraries/Lists/__flowtests__/FlatList-flowtest.js +2 -2
  112. package/Libraries/Lists/__flowtests__/SectionList-flowtest.js +1 -1
  113. package/Libraries/LogBox/Data/LogBoxData.js +3 -3
  114. package/Libraries/LogBox/LogBox.js +18 -5
  115. package/Libraries/LogBox/LogBoxInspectorContainer.js +1 -1
  116. package/Libraries/LogBox/LogBoxNotificationContainer.js +2 -2
  117. package/Libraries/LogBox/UI/AnsiHighlight.js +26 -17
  118. package/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js +6 -1
  119. package/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.win32.js +6 -1
  120. package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +1 -1
  121. package/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js +1 -1
  122. package/Libraries/LogBox/UI/LogBoxInspectorStackFrames.js +1 -1
  123. package/Libraries/LogBox/UI/LogBoxMessage.js +2 -2
  124. package/Libraries/Modal/Modal.d.ts +12 -0
  125. package/Libraries/Modal/Modal.js +31 -4
  126. package/Libraries/NativeComponent/BaseViewConfig.android.js +72 -1
  127. package/Libraries/NativeComponent/BaseViewConfig.ios.js +2 -1
  128. package/Libraries/NativeComponent/BaseViewConfig.win32.js +3 -11
  129. package/Libraries/NativeComponent/NativeComponentRegistry.js +3 -3
  130. package/Libraries/NativeComponent/StaticViewConfigValidator.js +0 -1
  131. package/Libraries/Network/FormData.js +11 -3
  132. package/Libraries/Network/XHRInterceptor.js +63 -14
  133. package/Libraries/Network/XMLHttpRequest.js +26 -1
  134. package/Libraries/NewAppScreen/components/HermesBadge.js +1 -1
  135. package/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +49 -2
  136. package/Libraries/PermissionsAndroid/PermissionsAndroid.js +4 -4
  137. package/Libraries/Pressability/HoverState.js +2 -0
  138. package/Libraries/Pressability/HoverState.win32.js +2 -0
  139. package/Libraries/Pressability/Pressability.js +2 -3
  140. package/Libraries/Pressability/Pressability.win32.js +2 -3
  141. package/Libraries/Pressability/usePressability.js +4 -1
  142. package/Libraries/ReactNative/AppContainer.js +1 -1
  143. package/Libraries/ReactNative/AppRegistry.js +1 -11
  144. package/Libraries/ReactNative/DisplayMode.js +1 -1
  145. package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.js +2 -3
  146. package/Libraries/ReactNative/RendererImplementation.js +18 -17
  147. package/Libraries/ReactNative/getCachedComponentWithDebugName.js +1 -3
  148. package/Libraries/ReactNative/renderApplication.js +9 -8
  149. package/Libraries/ReactNative/requireNativeComponent.js +5 -2
  150. package/Libraries/Renderer/shims/ReactFabric.js +3 -3
  151. package/Libraries/Renderer/shims/ReactFeatureFlags.js +2 -2
  152. package/Libraries/Renderer/shims/ReactNative.js +3 -3
  153. package/Libraries/Renderer/shims/ReactNativeTypes.js +22 -35
  154. package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +5 -6
  155. package/Libraries/Renderer/shims/createReactNativeComponentClass.js +2 -2
  156. package/Libraries/StyleSheet/StyleSheet.js +7 -1
  157. package/Libraries/StyleSheet/StyleSheet.win32.js +7 -1
  158. package/Libraries/StyleSheet/StyleSheetTypes.d.ts +13 -2
  159. package/Libraries/StyleSheet/StyleSheetTypes.js +24 -6
  160. package/Libraries/StyleSheet/processBackgroundImage.js +87 -110
  161. package/Libraries/StyleSheet/processTransform.js +3 -34
  162. package/Libraries/Text/Text.js +248 -249
  163. package/Libraries/Text/Text.win32.js +282 -295
  164. package/Libraries/Text/TextNativeComponent.js +0 -1
  165. package/Libraries/TurboModule/TurboModuleRegistry.js +5 -5
  166. package/Libraries/Types/CoreEventTypes.d.ts +3 -10
  167. package/Libraries/Types/CoreEventTypes.js +4 -6
  168. package/Libraries/Types/CoreEventTypes.win32.js +4 -6
  169. package/Libraries/Utilities/Appearance.js +3 -1
  170. package/Libraries/Utilities/BackHandler.android.js +6 -18
  171. package/Libraries/Utilities/BackHandler.d.ts +0 -4
  172. package/Libraries/Utilities/BackHandler.ios.js +0 -7
  173. package/Libraries/Utilities/BackHandler.win32.js +6 -18
  174. package/Libraries/Utilities/FocusManager.win32.js +1 -1
  175. package/Libraries/Utilities/HMRClient.js +3 -4
  176. package/Libraries/Utilities/Platform.flow.js +2 -2
  177. package/Libraries/Utilities/Platform.flow.win32.js +3 -2
  178. package/Libraries/Utilities/__mocks__/BackHandler.js +3 -8
  179. package/Libraries/Utilities/codegenNativeComponent.js +1 -1
  180. package/Libraries/Utilities/useMergeRefs.js +26 -7
  181. package/Libraries/WebSocket/WebSocketEvent.js +4 -1
  182. package/Libraries/WebSocket/WebSocketInterceptor.js +31 -13
  183. package/Libraries/__flowtests__/ReactNativeTypes-flowtest.js +6 -5
  184. package/Libraries/promiseRejectionTrackingOptions.js +1 -1
  185. package/index.js +10 -3
  186. package/index.win32.js +10 -3
  187. package/jest/setup.js +36 -1
  188. package/overrides.json +37 -37
  189. package/package.json +20 -20
  190. package/src/private/animated/NativeAnimatedHelper.js +18 -16
  191. package/src/private/animated/NativeAnimatedHelper.win32.js +18 -15
  192. package/src/private/animated/useAnimatedPropsMemo.js +356 -0
  193. package/src/private/components/HScrollViewNativeComponents.js +1 -27
  194. package/src/private/components/SafeAreaView_INTERNAL_DO_NOT_USE.js +11 -8
  195. package/src/private/components/VScrollViewNativeComponents.js +2 -25
  196. package/src/private/debugging/ReactDevToolsSettingsManager.android.js +20 -0
  197. package/src/private/debugging/ReactDevToolsSettingsManager.ios.js +30 -0
  198. package/src/private/debugging/ReactDevToolsSettingsManager.win32.js +20 -0
  199. package/src/private/{fusebox → debugging}/setUpFuseboxReactDevToolsDispatcher.js +6 -0
  200. package/src/private/devmenu/DevMenu.d.ts +20 -0
  201. package/src/private/devmenu/DevMenu.js +31 -0
  202. package/src/private/featureflags/ReactNativeFeatureFlags.js +95 -86
  203. package/src/private/featureflags/ReactNativeFeatureFlagsBase.js +8 -2
  204. package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +17 -19
  205. package/src/private/fusebox/specs/NativeReactDevToolsRuntimeSettingsModule.js +34 -0
  206. package/src/private/setup/setUpDOM.js +14 -6
  207. package/src/private/setup/setUpMutationObserver.js +5 -0
  208. package/src/private/specs/components/AndroidHorizontalScrollContentViewNativeComponent.js +1 -0
  209. package/src/private/specs/components/RCTModalHostViewNativeComponent.js +8 -0
  210. package/src/private/specs/modules/NativeAccessibilityInfo.js +9 -0
  211. package/src/private/specs/modules/NativeAccessibilityInfoWin32.js +9 -0
  212. package/src/private/specs/modules/NativeAccessibilityManager.js +4 -0
  213. package/src/private/specs/modules/NativeActionSheetManager.js +2 -0
  214. package/src/private/specs/modules/NativeAppearance.js +4 -10
  215. package/src/private/specs/modules/NativeExceptionsManager.js +0 -12
  216. package/src/private/specs/modules/{NativeDevToolsSettingsManager.js → NativeReactDevToolsSettingsManager.js} +3 -5
  217. package/src/private/webapis/dom/geometry/DOMRect.js +2 -2
  218. package/src/private/webapis/dom/geometry/DOMRectReadOnly.js +2 -2
  219. package/src/private/webapis/dom/nodes/ReactNativeElement.js +2 -3
  220. package/src/private/webapis/intersectionobserver/IntersectionObserver.js +102 -11
  221. package/src/private/webapis/intersectionobserver/IntersectionObserverEntry.js +26 -0
  222. package/src/private/webapis/intersectionobserver/IntersectionObserverManager.js +1 -0
  223. package/src/private/webapis/intersectionobserver/specs/NativeIntersectionObserver.js +1 -0
  224. package/src/private/webapis/intersectionobserver/specs/__mocks__/NativeIntersectionObserver.js +9 -0
  225. package/src/private/webapis/performance/EventTiming.js +13 -8
  226. package/src/private/webapis/performance/Performance.js +66 -73
  227. package/src/private/webapis/performance/PerformanceEntry.js +2 -5
  228. package/src/private/webapis/performance/PerformanceObserver.js +65 -164
  229. package/src/private/webapis/performance/RawPerformanceEntry.js +1 -1
  230. package/src/private/webapis/performance/UserTiming.js +11 -7
  231. package/src/private/webapis/performance/Utilities.js +18 -0
  232. package/src/private/webapis/performance/specs/NativePerformance.js +71 -2
  233. package/src/private/webapis/performance/specs/__mocks__/NativePerformanceMock.js +267 -0
  234. package/src-win/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +19 -3
  235. package/src-win/Libraries/Components/View/ViewPropTypes.d.ts +7 -0
  236. package/types/index.d.ts +1 -1
  237. package/types/public/ReactNativeTypes.d.ts +4 -8
  238. package/Libraries/DevToolsSettings/DevToolsSettingsManager.android.js +0 -35
  239. package/Libraries/DevToolsSettings/DevToolsSettingsManager.d.ts +0 -20
  240. package/Libraries/DevToolsSettings/DevToolsSettingsManager.ios.js +0 -49
  241. package/Libraries/DevToolsSettings/DevToolsSettingsManager.win32.js +0 -35
  242. package/Libraries/DevToolsSettings/NativeDevToolsSettingsManager.js +0 -13
  243. package/Libraries/ReactNative/ReactFabricInternals.js +0 -17
  244. package/src/private/components/useSyncOnScroll.js +0 -48
  245. package/src/private/webapis/performance/specs/NativePerformanceObserver.js +0 -61
  246. package/src/private/webapis/performance/specs/__mocks__/NativePerformance.js +0 -67
  247. package/src/private/webapis/performance/specs/__mocks__/NativePerformanceObserver.js +0 -127
  248. package/types/experimental.d.ts +0 -59
  249. /package/src/private/{fusebox → debugging}/FuseboxSessionObserver.js +0 -0
package/.eslintignore CHANGED
@@ -11,4 +11,4 @@
11
11
  /src
12
12
  /src-win/rntypes
13
13
  /types
14
- /flow-typed
14
+ /flow-typed
package/.flowconfig CHANGED
@@ -88,6 +88,9 @@
88
88
  ; helloworld
89
89
  <PROJECT_ROOT>/packages/helloworld/ios/Pods/
90
90
 
91
+ ; Ignore rn-tester Pods
92
+ <PROJECT_ROOT>/packages/rn-tester/Pods/
93
+
91
94
  [untyped]
92
95
  .*/node_modules/@react-native-community/cli/.*/.*
93
96
  ; Should work out how to do this properly
@@ -136,6 +139,7 @@ suppress_type=$FlowFixMeProps
136
139
  suppress_type=$FlowFixMeState
137
140
  suppress_type=$FlowFixMeEmpty
138
141
 
142
+ ban_spread_key_props=true
139
143
 
140
144
  sharedmemory.hash_table_pow=21
141
145
 
@@ -160,4 +164,4 @@ untyped-import
160
164
  untyped-type-import
161
165
 
162
166
  [version]
163
- ^0.245.2
167
+ ^0.253.0
package/CHANGELOG.json CHANGED
@@ -2,133 +2,259 @@
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 16 Dec 2024 16:30:21 GMT",
6
- "version": "0.76.2",
7
- "tag": "@office-iss/react-native-win32_v0.76.2",
5
+ "date": "Tue, 07 Jan 2025 01:00:45 GMT",
6
+ "version": "0.77.0-preview.2",
7
+ "tag": "@office-iss/react-native-win32_v0.77.0-preview.2",
8
8
  "comments": {
9
- "patch": [
9
+ "prerelease": [
10
10
  {
11
- "author": "tatianakapos@microsoft.com",
11
+ "author": "email not defined",
12
12
  "package": "@office-iss/react-native-win32",
13
- "commit": "41f26e2a668c97f30134adfe73706d49ca7ab1cb",
14
- "comment": "adds default Modal"
13
+ "commit": "e70d4987c0929e4eb4125342c53cf6566e19af00",
14
+ "comment": "integrate rn 0.77.0-rc.4"
15
15
  }
16
16
  ]
17
17
  }
18
18
  },
19
19
  {
20
- "date": "Mon, 25 Nov 2024 16:29:57 GMT",
21
- "version": "0.76.1",
22
- "tag": "@office-iss/react-native-win32_v0.76.1",
20
+ "date": "Fri, 20 Dec 2024 18:21:24 GMT",
21
+ "version": "0.77.0-preview.1",
22
+ "tag": "@office-iss/react-native-win32_v0.77.0-preview.1",
23
23
  "comments": {
24
- "patch": [
24
+ "prerelease": [
25
25
  {
26
- "author": "tatianakapos@microsoft.com",
26
+ "author": "email not defined",
27
27
  "package": "@office-iss/react-native-win32",
28
- "commit": "435591fdfc78e5847bb9dd9bd36c20352c2d3385",
29
- "comment": "integrate rn 76.2"
28
+ "commit": "a9fce025c8ade8cedac7c773d009583c373a47a2",
29
+ "comment": "Promote 0.77 to preview"
30
30
  }
31
31
  ]
32
32
  }
33
33
  },
34
34
  {
35
- "date": "Tue, 12 Nov 2024 00:02:25 GMT",
36
- "version": "0.76.0",
37
- "tag": "@office-iss/react-native-win32_v0.76.0",
35
+ "date": "Wed, 18 Dec 2024 06:22:23 GMT",
36
+ "version": "0.0.0-canary.276",
37
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.276",
38
38
  "comments": {
39
- "patch": [
39
+ "prerelease": [
40
40
  {
41
- "author": "tatianakapos@microsoft.com",
41
+ "author": "email not defined",
42
42
  "package": "@office-iss/react-native-win32",
43
- "commit": "1d9e51e78069deb922129373406cacd33817d29e",
44
- "comment": "Promote 0.76 to latest"
43
+ "commit": "d669d78450c97decf9f9f5acc09e526ddf8dd911",
44
+ "comment": "integrate RN-Nightly 0.77.0-nightly-20241125-4cffff35e"
45
45
  }
46
46
  ]
47
47
  }
48
48
  },
49
49
  {
50
- "date": "Mon, 04 Nov 2024 16:28:49 GMT",
51
- "version": "0.76.0-preview.5",
52
- "tag": "@office-iss/react-native-win32_v0.76.0-preview.5",
50
+ "date": "Sat, 14 Dec 2024 06:29:12 GMT",
51
+ "version": "0.0.0-canary.275",
52
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.275",
53
53
  "comments": {
54
54
  "prerelease": [
55
55
  {
56
56
  "author": "tatianakapos@microsoft.com",
57
57
  "package": "@office-iss/react-native-win32",
58
- "commit": "80dbd3740b4183dc8c898a89923f784f13996c35",
59
- "comment": "integrate RN 0.76.0 and fix babel.config"
58
+ "commit": "13d41421a38fa7ebe4c08a8f421baffebf14dac5",
59
+ "comment": "integrate RN Nightly 0.77.0-nightly-20241118-3986eefed"
60
60
  }
61
61
  ]
62
62
  }
63
63
  },
64
64
  {
65
- "date": "Mon, 28 Oct 2024 15:29:51 GMT",
66
- "version": "0.76.0-preview.4",
67
- "tag": "@office-iss/react-native-win32_v0.76.0-preview.4",
65
+ "date": "Fri, 06 Dec 2024 06:22:27 GMT",
66
+ "version": "0.0.0-canary.274",
67
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.274",
68
68
  "comments": {
69
69
  "prerelease": [
70
70
  {
71
- "author": "jthysell@microsoft.com",
71
+ "author": "yajurgrover24@gmail.com",
72
72
  "package": "@office-iss/react-native-win32",
73
- "commit": "3aa853272cbdc109f14e38511c0cae9f8243872f",
74
- "comment": "Fix repo linting with prettier"
73
+ "commit": "40c1c59be8c9046213d5eeffae7dfe45caedcb5a",
74
+ "comment": "Integrate 10/31"
75
75
  }
76
76
  ]
77
77
  }
78
78
  },
79
79
  {
80
- "date": "Mon, 21 Oct 2024 15:36:46 GMT",
81
- "version": "0.76.0-preview.3",
82
- "tag": "@office-iss/react-native-win32_v0.76.0-preview.3",
80
+ "date": "Sat, 23 Nov 2024 06:23:15 GMT",
81
+ "version": "0.0.0-canary.273",
82
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.273",
83
+ "comments": {
84
+ "prerelease": [
85
+ {
86
+ "author": "yajurgrover24@gmail.com",
87
+ "package": "@office-iss/react-native-win32",
88
+ "commit": "8be39042bf044cb756904b4750f10cb0725bb36b",
89
+ "comment": "Integrate 10/20"
90
+ }
91
+ ]
92
+ }
93
+ },
94
+ {
95
+ "date": "Fri, 15 Nov 2024 06:22:29 GMT",
96
+ "version": "0.0.0-canary.272",
97
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.272",
98
+ "comments": {
99
+ "prerelease": [
100
+ {
101
+ "author": "yajurgrover24@gmail.com",
102
+ "package": "@office-iss/react-native-win32",
103
+ "commit": "9576b188ef25b0ed64643cd9bb3f411e790a1862",
104
+ "comment": "test integrate 10/15"
105
+ }
106
+ ]
107
+ }
108
+ },
109
+ {
110
+ "date": "Thu, 07 Nov 2024 06:24:18 GMT",
111
+ "version": "0.0.0-canary.271",
112
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.271",
113
+ "comments": {
114
+ "prerelease": [
115
+ {
116
+ "author": "yajurgrover24@gmail.com",
117
+ "package": "@office-iss/react-native-win32",
118
+ "commit": "346ba4e17efa3d1cf2481f7b998eb4de1ab8f073",
119
+ "comment": "Integrate 10/10"
120
+ }
121
+ ]
122
+ }
123
+ },
124
+ {
125
+ "date": "Sat, 02 Nov 2024 05:28:14 GMT",
126
+ "version": "0.0.0-canary.270",
127
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.270",
83
128
  "comments": {
84
129
  "prerelease": [
85
130
  {
86
131
  "author": "tatianakapos@microsoft.com",
87
132
  "package": "@office-iss/react-native-win32",
88
- "commit": "8bf96071813e2c3ba9c6c72d97ee41f31a24fbdc",
89
- "comment": "integrate 0.76.0-rc.6"
133
+ "commit": "15e5afbf41a7b58eb98bc47eb58db530d9daa9ff",
134
+ "comment": "adds default Modal"
90
135
  }
91
136
  ]
92
137
  }
93
138
  },
94
139
  {
95
- "date": "Fri, 11 Oct 2024 20:17:22 GMT",
96
- "version": "0.76.0-preview.2",
97
- "tag": "@office-iss/react-native-win32_v0.76.0-preview.2",
140
+ "date": "Wed, 23 Oct 2024 05:31:16 GMT",
141
+ "version": "0.0.0-canary.269",
142
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.269",
98
143
  "comments": {
99
144
  "prerelease": [
100
145
  {
101
146
  "author": "jthysell@microsoft.com",
102
147
  "package": "@office-iss/react-native-win32",
103
- "commit": "9614bfe01650f577bf573989faecac1d0989c93d",
104
- "comment": "Update to @react-native-community/cli@15.0.0-alpha.2"
148
+ "commit": "4d45e818929692b0bd4e3f836c190a94c616587b",
149
+ "comment": "Fix ignore files and update cli timeout"
150
+ }
151
+ ]
152
+ }
153
+ },
154
+ {
155
+ "date": "Sat, 19 Oct 2024 05:29:45 GMT",
156
+ "version": "0.0.0-canary.268",
157
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.268",
158
+ "comments": {
159
+ "prerelease": [
160
+ {
161
+ "author": "jthysell@microsoft.com",
162
+ "package": "@office-iss/react-native-win32",
163
+ "commit": "d0c7fa8199238da974905788351a45694fa39e57",
164
+ "comment": "Fix repo linting with prettier"
105
165
  },
106
166
  {
107
- "author": "email not defined",
167
+ "author": "beachball",
108
168
  "package": "@office-iss/react-native-win32",
109
- "commit": "6e76721bda69d1c8603a211729b89056743eb01f",
110
- "comment": "integrate RN 0.76.0-rc3"
169
+ "comment": "Bump @rnw-scripts/eslint-config to v1.2.30",
170
+ "commit": "not available"
111
171
  },
112
172
  {
113
- "author": "email not defined",
173
+ "author": "beachball",
174
+ "package": "@office-iss/react-native-win32",
175
+ "comment": "Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.34",
176
+ "commit": "not available"
177
+ },
178
+ {
179
+ "author": "beachball",
180
+ "package": "@office-iss/react-native-win32",
181
+ "comment": "Bump @rnw-scripts/just-task to v2.3.47",
182
+ "commit": "not available"
183
+ },
184
+ {
185
+ "author": "beachball",
186
+ "package": "@office-iss/react-native-win32",
187
+ "comment": "Bump react-native-platform-override to v1.9.49",
188
+ "commit": "not available"
189
+ }
190
+ ]
191
+ }
192
+ },
193
+ {
194
+ "date": "Wed, 16 Oct 2024 05:20:54 GMT",
195
+ "version": "0.0.0-canary.267",
196
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.267",
197
+ "comments": {
198
+ "prerelease": [
199
+ {
200
+ "author": "tatianakapos@microsoft.com",
201
+ "package": "@office-iss/react-native-win32",
202
+ "commit": "e265163b8cab921b5643d552775403b45c01bf6f",
203
+ "comment": "integrate rn nightly 0.77.0-nightly-20241001-223e98cc4"
204
+ }
205
+ ]
206
+ }
207
+ },
208
+ {
209
+ "date": "Thu, 10 Oct 2024 18:14:30 GMT",
210
+ "version": "0.0.0-canary.266",
211
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.266",
212
+ "comments": {
213
+ "prerelease": [
214
+ {
215
+ "author": "jthysell@microsoft.com",
114
216
  "package": "@office-iss/react-native-win32",
115
- "commit": "c1536386579b67da32092327aacbb821730dab02",
116
- "comment": "integrate 0.76.0-rc.4"
217
+ "commit": "61bde52b38ce5f74aa09d68974dcda306023f378",
218
+ "comment": "Update to @react-native-community/cli@15.0.0-alpha.2"
117
219
  }
118
220
  ]
119
221
  }
120
222
  },
121
223
  {
122
- "date": "Mon, 30 Sep 2024 23:20:39 GMT",
123
- "version": "0.76.0-preview.1",
124
- "tag": "@office-iss/react-native-win32_v0.76.0-preview.1",
224
+ "date": "Mon, 07 Oct 2024 19:54:26 GMT",
225
+ "version": "0.0.0-canary.265",
226
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.265",
125
227
  "comments": {
126
228
  "prerelease": [
127
229
  {
128
230
  "author": "tatianakapos@microsoft.com",
129
231
  "package": "@office-iss/react-native-win32",
130
- "commit": "739dfc5f58c5921fcab5eacb1aa0009396252995",
131
- "comment": "Promote 0.76 to preview"
232
+ "commit": "eb6b345ee2128d56f32c85f1702bb093e0375a1f",
233
+ "comment": "integrate RN nightly 0.77.0-nightly-20240921-1747f57c6"
234
+ },
235
+ {
236
+ "author": "beachball",
237
+ "package": "@office-iss/react-native-win32",
238
+ "comment": "Bump @rnw-scripts/eslint-config to v1.2.29",
239
+ "commit": "not available"
240
+ },
241
+ {
242
+ "author": "beachball",
243
+ "package": "@office-iss/react-native-win32",
244
+ "comment": "Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.33",
245
+ "commit": "not available"
246
+ },
247
+ {
248
+ "author": "beachball",
249
+ "package": "@office-iss/react-native-win32",
250
+ "comment": "Bump @rnw-scripts/just-task to v2.3.46",
251
+ "commit": "not available"
252
+ },
253
+ {
254
+ "author": "beachball",
255
+ "package": "@office-iss/react-native-win32",
256
+ "comment": "Bump react-native-platform-override to v1.9.48",
257
+ "commit": "not available"
132
258
  }
133
259
  ]
134
260
  }
package/CHANGELOG.md CHANGED
@@ -1,74 +1,128 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- <!-- This log was last generated on Mon, 16 Dec 2024 16:30:21 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Tue, 07 Jan 2025 01:00:45 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.76.2
7
+ ## 0.77.0-preview.2
8
8
 
9
- Mon, 16 Dec 2024 16:30:21 GMT
9
+ Tue, 07 Jan 2025 01:00:45 GMT
10
10
 
11
- ### Patches
11
+ ### Changes
12
12
 
13
- - adds default Modal (tatianakapos@microsoft.com)
13
+ - integrate rn 0.77.0-rc.4 (email not defined)
14
14
 
15
- ## 0.76.1
15
+ ## 0.77.0-preview.1
16
16
 
17
- Mon, 25 Nov 2024 16:29:57 GMT
17
+ Fri, 20 Dec 2024 18:21:24 GMT
18
18
 
19
- ### Patches
19
+ ### Changes
20
20
 
21
- - integrate rn 76.2 (tatianakapos@microsoft.com)
21
+ - Promote 0.77 to preview (email not defined)
22
22
 
23
- ## 0.76.0
23
+ ## 0.0.0-canary.276
24
24
 
25
- Tue, 12 Nov 2024 00:02:25 GMT
25
+ Wed, 18 Dec 2024 06:22:23 GMT
26
26
 
27
- ### Patches
27
+ ### Changes
28
+
29
+ - integrate RN-Nightly 0.77.0-nightly-20241125-4cffff35e (email not defined)
30
+
31
+ ## 0.0.0-canary.275
32
+
33
+ Sat, 14 Dec 2024 06:29:12 GMT
34
+
35
+ ### Changes
36
+
37
+ - integrate RN Nightly 0.77.0-nightly-20241118-3986eefed (tatianakapos@microsoft.com)
38
+
39
+ ## 0.0.0-canary.274
40
+
41
+ Fri, 06 Dec 2024 06:22:27 GMT
42
+
43
+ ### Changes
44
+
45
+ - Integrate 10/31 (yajurgrover24@gmail.com)
46
+
47
+ ## 0.0.0-canary.273
48
+
49
+ Sat, 23 Nov 2024 06:23:15 GMT
50
+
51
+ ### Changes
52
+
53
+ - Integrate 10/20 (yajurgrover24@gmail.com)
54
+
55
+ ## 0.0.0-canary.272
56
+
57
+ Fri, 15 Nov 2024 06:22:29 GMT
58
+
59
+ ### Changes
60
+
61
+ - test integrate 10/15 (yajurgrover24@gmail.com)
62
+
63
+ ## 0.0.0-canary.271
64
+
65
+ Thu, 07 Nov 2024 06:24:18 GMT
66
+
67
+ ### Changes
68
+
69
+ - Integrate 10/10 (yajurgrover24@gmail.com)
70
+
71
+ ## 0.0.0-canary.270
72
+
73
+ Sat, 02 Nov 2024 05:28:14 GMT
74
+
75
+ ### Changes
28
76
 
29
- - Promote 0.76 to latest (tatianakapos@microsoft.com)
77
+ - adds default Modal (tatianakapos@microsoft.com)
30
78
 
31
- ## 0.76.0-preview.5
79
+ ## 0.0.0-canary.269
32
80
 
33
- Mon, 04 Nov 2024 16:28:49 GMT
81
+ Wed, 23 Oct 2024 05:31:16 GMT
34
82
 
35
83
  ### Changes
36
84
 
37
- - integrate RN 0.76.0 and fix babel.config (tatianakapos@microsoft.com)
85
+ - Fix ignore files and update cli timeout (jthysell@microsoft.com)
38
86
 
39
- ## 0.76.0-preview.4
87
+ ## 0.0.0-canary.268
40
88
 
41
- Mon, 28 Oct 2024 15:29:51 GMT
89
+ Sat, 19 Oct 2024 05:29:45 GMT
42
90
 
43
91
  ### Changes
44
92
 
45
93
  - Fix repo linting with prettier (jthysell@microsoft.com)
94
+ - Bump @rnw-scripts/eslint-config to v1.2.30
95
+ - Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.34
96
+ - Bump @rnw-scripts/just-task to v2.3.47
97
+ - Bump react-native-platform-override to v1.9.49
46
98
 
47
- ## 0.76.0-preview.3
99
+ ## 0.0.0-canary.267
48
100
 
49
- Mon, 21 Oct 2024 15:36:46 GMT
101
+ Wed, 16 Oct 2024 05:20:54 GMT
50
102
 
51
103
  ### Changes
52
104
 
53
- - integrate 0.76.0-rc.6 (tatianakapos@microsoft.com)
105
+ - integrate rn nightly 0.77.0-nightly-20241001-223e98cc4 (tatianakapos@microsoft.com)
54
106
 
55
- ## 0.76.0-preview.2
107
+ ## 0.0.0-canary.266
56
108
 
57
- Fri, 11 Oct 2024 20:17:22 GMT
109
+ Thu, 10 Oct 2024 18:14:30 GMT
58
110
 
59
111
  ### Changes
60
112
 
61
113
  - Update to @react-native-community/cli@15.0.0-alpha.2 (jthysell@microsoft.com)
62
- - integrate RN 0.76.0-rc3 (email not defined)
63
- - integrate 0.76.0-rc.4 (email not defined)
64
114
 
65
- ## 0.76.0-preview.1
115
+ ## 0.0.0-canary.265
66
116
 
67
- Mon, 30 Sep 2024 23:20:39 GMT
117
+ Mon, 07 Oct 2024 19:54:26 GMT
68
118
 
69
119
  ### Changes
70
120
 
71
- - Promote 0.76 to preview (tatianakapos@microsoft.com)
121
+ - integrate RN nightly 0.77.0-nightly-20240921-1747f57c6 (tatianakapos@microsoft.com)
122
+ - Bump @rnw-scripts/eslint-config to v1.2.29
123
+ - Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.33
124
+ - Bump @rnw-scripts/just-task to v2.3.46
125
+ - Bump react-native-platform-override to v1.9.48
72
126
 
73
127
  ## 0.0.0-canary.263
74
128
 
@@ -22,6 +22,7 @@ export interface ActionSheetIOSOptions {
22
22
  anchor?: number | undefined;
23
23
  tintColor?: ColorValue | ProcessedColorValue | undefined;
24
24
  cancelButtonTintColor?: ColorValue | ProcessedColorValue | undefined;
25
+ disabledButtonTintColor?: ColorValue | ProcessedColorValue | undefined;
25
26
  userInterfaceStyle?: 'light' | 'dark' | undefined;
26
27
  disabledButtonIndices?: number[] | undefined;
27
28
  }
@@ -49,6 +49,7 @@ const ActionSheetIOS = {
49
49
  +anchor?: ?number,
50
50
  +tintColor?: ColorValue | ProcessedColorValue,
51
51
  +cancelButtonTintColor?: ColorValue | ProcessedColorValue,
52
+ +disabledButtonTintColor?: ColorValue | ProcessedColorValue,
52
53
  +userInterfaceStyle?: string,
53
54
  +disabledButtonIndices?: Array<number>,
54
55
  |},
@@ -64,6 +65,7 @@ const ActionSheetIOS = {
64
65
  const {
65
66
  tintColor,
66
67
  cancelButtonTintColor,
68
+ disabledButtonTintColor,
67
69
  destructiveButtonIndex,
68
70
  ...remainingOptions
69
71
  } = options;
@@ -77,6 +79,10 @@ const ActionSheetIOS = {
77
79
 
78
80
  const processedTintColor = processColor(tintColor);
79
81
  const processedCancelButtonTintColor = processColor(cancelButtonTintColor);
82
+ const processedDisabledButtonTintColor = processColor(
83
+ disabledButtonTintColor,
84
+ );
85
+
80
86
  invariant(
81
87
  processedTintColor == null || typeof processedTintColor === 'number',
82
88
  'Unexpected color given for ActionSheetIOS.showActionSheetWithOptions tintColor',
@@ -86,6 +92,11 @@ const ActionSheetIOS = {
86
92
  typeof processedCancelButtonTintColor === 'number',
87
93
  'Unexpected color given for ActionSheetIOS.showActionSheetWithOptions cancelButtonTintColor',
88
94
  );
95
+ invariant(
96
+ processedDisabledButtonTintColor == null ||
97
+ typeof processedDisabledButtonTintColor === 'number',
98
+ 'Unexpected color given for ActionSheetIOS.showActionSheetWithOptions disabledButtonTintColor',
99
+ );
89
100
  RCTActionSheetManager.showActionSheetWithOptions(
90
101
  {
91
102
  ...remainingOptions,
@@ -93,6 +104,8 @@ const ActionSheetIOS = {
93
104
  tintColor: processedTintColor,
94
105
  // $FlowFixMe[incompatible-call]
95
106
  cancelButtonTintColor: processedCancelButtonTintColor,
107
+ // $FlowFixMe[incompatible-call]
108
+ disabledButtonTintColor: processedDisabledButtonTintColor,
96
109
  destructiveButtonIndices,
97
110
  },
98
111
  callback,
@@ -12,8 +12,8 @@
12
12
 
13
13
  import type {PlatformConfig} from './AnimatedPlatformConfig';
14
14
 
15
- import {findNodeHandle} from '../ReactNative/RendererProxy';
16
15
  import NativeAnimatedHelper from '../../src/private/animated/NativeAnimatedHelper';
16
+ import {findNodeHandle} from '../ReactNative/RendererProxy';
17
17
  import AnimatedValue from './nodes/AnimatedValue';
18
18
  import AnimatedValueXY from './nodes/AnimatedValueXY';
19
19
  import invariant from 'invariant';
@@ -373,7 +373,7 @@ const parallel = function (
373
373
  const stopTogether = !(config && config.stopTogether === false);
374
374
 
375
375
  const result = {
376
- start: function (callback?: ?EndCallback) {
376
+ start: function (callback?: ?EndCallback, isLooping?: boolean) {
377
377
  if (doneCount === animations.length) {
378
378
  callback && callback({finished: true});
379
379
  return;
@@ -397,7 +397,7 @@ const parallel = function (
397
397
  if (!animation) {
398
398
  cb({finished: true});
399
399
  } else {
400
- animation.start(cb);
400
+ animation.start(cb, isLooping);
401
401
  }
402
402
  });
403
403
  },