@office-iss/react-native-win32 0.76.1 → 0.77.0-preview.1

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 (248) hide show
  1. package/.eslintignore +1 -1
  2. package/.flowconfig +5 -1
  3. package/CHANGELOG.json +172 -46
  4. package/CHANGELOG.md +78 -24
  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 +96 -46
  22. package/Libraries/Animated/nodes/AnimatedStyle.js +108 -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/XHRInterceptor.js +63 -14
  132. package/Libraries/Network/XMLHttpRequest.js +26 -1
  133. package/Libraries/NewAppScreen/components/HermesBadge.js +1 -1
  134. package/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +49 -2
  135. package/Libraries/PermissionsAndroid/PermissionsAndroid.js +4 -4
  136. package/Libraries/Pressability/HoverState.js +2 -0
  137. package/Libraries/Pressability/HoverState.win32.js +2 -0
  138. package/Libraries/Pressability/Pressability.js +2 -3
  139. package/Libraries/Pressability/Pressability.win32.js +2 -3
  140. package/Libraries/Pressability/usePressability.js +4 -1
  141. package/Libraries/ReactNative/AppContainer.js +1 -1
  142. package/Libraries/ReactNative/AppRegistry.js +1 -11
  143. package/Libraries/ReactNative/DisplayMode.js +1 -1
  144. package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.js +2 -3
  145. package/Libraries/ReactNative/RendererImplementation.js +18 -17
  146. package/Libraries/ReactNative/getCachedComponentWithDebugName.js +1 -3
  147. package/Libraries/ReactNative/renderApplication.js +9 -8
  148. package/Libraries/ReactNative/requireNativeComponent.js +5 -2
  149. package/Libraries/Renderer/shims/ReactFabric.js +3 -3
  150. package/Libraries/Renderer/shims/ReactFeatureFlags.js +2 -2
  151. package/Libraries/Renderer/shims/ReactNative.js +3 -3
  152. package/Libraries/Renderer/shims/ReactNativeTypes.js +22 -35
  153. package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +5 -6
  154. package/Libraries/Renderer/shims/createReactNativeComponentClass.js +2 -2
  155. package/Libraries/StyleSheet/StyleSheet.js +7 -1
  156. package/Libraries/StyleSheet/StyleSheet.win32.js +7 -1
  157. package/Libraries/StyleSheet/StyleSheetTypes.d.ts +13 -2
  158. package/Libraries/StyleSheet/StyleSheetTypes.js +24 -6
  159. package/Libraries/StyleSheet/processBackgroundImage.js +87 -110
  160. package/Libraries/StyleSheet/processTransform.js +3 -34
  161. package/Libraries/Text/Text.js +248 -249
  162. package/Libraries/Text/Text.win32.js +282 -295
  163. package/Libraries/Text/TextNativeComponent.js +0 -1
  164. package/Libraries/TurboModule/TurboModuleRegistry.js +5 -5
  165. package/Libraries/Types/CoreEventTypes.d.ts +3 -10
  166. package/Libraries/Types/CoreEventTypes.js +4 -6
  167. package/Libraries/Types/CoreEventTypes.win32.js +4 -6
  168. package/Libraries/Utilities/Appearance.js +3 -1
  169. package/Libraries/Utilities/BackHandler.android.js +6 -18
  170. package/Libraries/Utilities/BackHandler.d.ts +0 -4
  171. package/Libraries/Utilities/BackHandler.ios.js +0 -7
  172. package/Libraries/Utilities/BackHandler.win32.js +6 -18
  173. package/Libraries/Utilities/FocusManager.win32.js +1 -1
  174. package/Libraries/Utilities/HMRClient.js +3 -4
  175. package/Libraries/Utilities/Platform.flow.js +2 -2
  176. package/Libraries/Utilities/Platform.flow.win32.js +3 -2
  177. package/Libraries/Utilities/__mocks__/BackHandler.js +3 -8
  178. package/Libraries/Utilities/codegenNativeComponent.js +1 -1
  179. package/Libraries/Utilities/useMergeRefs.js +26 -7
  180. package/Libraries/WebSocket/WebSocketEvent.js +4 -1
  181. package/Libraries/WebSocket/WebSocketInterceptor.js +31 -13
  182. package/Libraries/__flowtests__/ReactNativeTypes-flowtest.js +6 -5
  183. package/Libraries/promiseRejectionTrackingOptions.js +1 -1
  184. package/index.js +10 -3
  185. package/index.win32.js +10 -3
  186. package/jest/setup.js +36 -1
  187. package/overrides.json +37 -37
  188. package/package.json +20 -20
  189. package/src/private/animated/NativeAnimatedHelper.js +18 -16
  190. package/src/private/animated/NativeAnimatedHelper.win32.js +18 -15
  191. package/src/private/animated/useAnimatedPropsMemo.js +348 -0
  192. package/src/private/components/HScrollViewNativeComponents.js +1 -27
  193. package/src/private/components/SafeAreaView_INTERNAL_DO_NOT_USE.js +11 -8
  194. package/src/private/components/VScrollViewNativeComponents.js +2 -25
  195. package/src/private/debugging/ReactDevToolsSettingsManager.android.js +20 -0
  196. package/src/private/debugging/ReactDevToolsSettingsManager.ios.js +30 -0
  197. package/src/private/debugging/ReactDevToolsSettingsManager.win32.js +20 -0
  198. package/src/private/{fusebox → debugging}/setUpFuseboxReactDevToolsDispatcher.js +6 -0
  199. package/src/private/devmenu/DevMenu.d.ts +20 -0
  200. package/src/private/devmenu/DevMenu.js +31 -0
  201. package/src/private/featureflags/ReactNativeFeatureFlags.js +95 -86
  202. package/src/private/featureflags/ReactNativeFeatureFlagsBase.js +8 -2
  203. package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +17 -19
  204. package/src/private/fusebox/specs/NativeReactDevToolsRuntimeSettingsModule.js +34 -0
  205. package/src/private/setup/setUpDOM.js +14 -6
  206. package/src/private/setup/setUpMutationObserver.js +5 -0
  207. package/src/private/specs/components/AndroidHorizontalScrollContentViewNativeComponent.js +1 -0
  208. package/src/private/specs/components/RCTModalHostViewNativeComponent.js +8 -0
  209. package/src/private/specs/modules/NativeAccessibilityInfo.js +9 -0
  210. package/src/private/specs/modules/NativeAccessibilityInfoWin32.js +9 -0
  211. package/src/private/specs/modules/NativeAccessibilityManager.js +4 -0
  212. package/src/private/specs/modules/NativeActionSheetManager.js +2 -0
  213. package/src/private/specs/modules/NativeAppearance.js +4 -10
  214. package/src/private/specs/modules/NativeExceptionsManager.js +0 -12
  215. package/src/private/specs/modules/{NativeDevToolsSettingsManager.js → NativeReactDevToolsSettingsManager.js} +3 -5
  216. package/src/private/webapis/dom/geometry/DOMRect.js +2 -2
  217. package/src/private/webapis/dom/geometry/DOMRectReadOnly.js +2 -2
  218. package/src/private/webapis/dom/nodes/ReactNativeElement.js +2 -3
  219. package/src/private/webapis/intersectionobserver/IntersectionObserver.js +102 -11
  220. package/src/private/webapis/intersectionobserver/IntersectionObserverEntry.js +26 -0
  221. package/src/private/webapis/intersectionobserver/IntersectionObserverManager.js +1 -0
  222. package/src/private/webapis/intersectionobserver/specs/NativeIntersectionObserver.js +1 -0
  223. package/src/private/webapis/intersectionobserver/specs/__mocks__/NativeIntersectionObserver.js +9 -0
  224. package/src/private/webapis/performance/EventTiming.js +13 -8
  225. package/src/private/webapis/performance/Performance.js +66 -73
  226. package/src/private/webapis/performance/PerformanceEntry.js +2 -5
  227. package/src/private/webapis/performance/PerformanceObserver.js +65 -164
  228. package/src/private/webapis/performance/RawPerformanceEntry.js +1 -1
  229. package/src/private/webapis/performance/UserTiming.js +11 -7
  230. package/src/private/webapis/performance/Utilities.js +18 -0
  231. package/src/private/webapis/performance/specs/NativePerformance.js +71 -2
  232. package/src/private/webapis/performance/specs/__mocks__/NativePerformanceMock.js +267 -0
  233. package/src-win/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +19 -3
  234. package/src-win/Libraries/Components/View/ViewPropTypes.d.ts +7 -0
  235. package/types/index.d.ts +1 -1
  236. package/types/public/ReactNativeTypes.d.ts +4 -8
  237. package/Libraries/DevToolsSettings/DevToolsSettingsManager.android.js +0 -35
  238. package/Libraries/DevToolsSettings/DevToolsSettingsManager.d.ts +0 -20
  239. package/Libraries/DevToolsSettings/DevToolsSettingsManager.ios.js +0 -49
  240. package/Libraries/DevToolsSettings/DevToolsSettingsManager.win32.js +0 -35
  241. package/Libraries/DevToolsSettings/NativeDevToolsSettingsManager.js +0 -13
  242. package/Libraries/ReactNative/ReactFabricInternals.js +0 -17
  243. package/src/private/components/useSyncOnScroll.js +0 -48
  244. package/src/private/webapis/performance/specs/NativePerformanceObserver.js +0 -61
  245. package/src/private/webapis/performance/specs/__mocks__/NativePerformance.js +0 -67
  246. package/src/private/webapis/performance/specs/__mocks__/NativePerformanceObserver.js +0 -127
  247. package/types/experimental.d.ts +0 -59
  248. /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,118 +2,244 @@
2
2
  "name": "@office-iss/react-native-win32",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 25 Nov 2024 16:29:21 GMT",
6
- "version": "0.76.1",
7
- "tag": "@office-iss/react-native-win32_v0.76.1",
5
+ "date": "Fri, 20 Dec 2024 18:20:31 GMT",
6
+ "version": "0.77.0-preview.1",
7
+ "tag": "@office-iss/react-native-win32_v0.77.0-preview.1",
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": "435591fdfc78e5847bb9dd9bd36c20352c2d3385",
14
- "comment": "integrate rn 76.2"
13
+ "commit": "a9fce025c8ade8cedac7c773d009583c373a47a2",
14
+ "comment": "Promote 0.77 to preview"
15
15
  }
16
16
  ]
17
17
  }
18
18
  },
19
19
  {
20
- "date": "Tue, 12 Nov 2024 00:02:25 GMT",
21
- "version": "0.76.0",
22
- "tag": "@office-iss/react-native-win32_v0.76.0",
20
+ "date": "Wed, 18 Dec 2024 06:22:23 GMT",
21
+ "version": "0.0.0-canary.276",
22
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.276",
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": "1d9e51e78069deb922129373406cacd33817d29e",
29
- "comment": "Promote 0.76 to latest"
28
+ "commit": "d669d78450c97decf9f9f5acc09e526ddf8dd911",
29
+ "comment": "integrate RN-Nightly 0.77.0-nightly-20241125-4cffff35e"
30
30
  }
31
31
  ]
32
32
  }
33
33
  },
34
34
  {
35
- "date": "Mon, 04 Nov 2024 16:28:49 GMT",
36
- "version": "0.76.0-preview.5",
37
- "tag": "@office-iss/react-native-win32_v0.76.0-preview.5",
35
+ "date": "Sat, 14 Dec 2024 06:29:12 GMT",
36
+ "version": "0.0.0-canary.275",
37
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.275",
38
38
  "comments": {
39
39
  "prerelease": [
40
40
  {
41
41
  "author": "tatianakapos@microsoft.com",
42
42
  "package": "@office-iss/react-native-win32",
43
- "commit": "80dbd3740b4183dc8c898a89923f784f13996c35",
44
- "comment": "integrate RN 0.76.0 and fix babel.config"
43
+ "commit": "13d41421a38fa7ebe4c08a8f421baffebf14dac5",
44
+ "comment": "integrate RN Nightly 0.77.0-nightly-20241118-3986eefed"
45
45
  }
46
46
  ]
47
47
  }
48
48
  },
49
49
  {
50
- "date": "Mon, 28 Oct 2024 15:29:51 GMT",
51
- "version": "0.76.0-preview.4",
52
- "tag": "@office-iss/react-native-win32_v0.76.0-preview.4",
50
+ "date": "Fri, 06 Dec 2024 06:22:27 GMT",
51
+ "version": "0.0.0-canary.274",
52
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.274",
53
53
  "comments": {
54
54
  "prerelease": [
55
55
  {
56
- "author": "jthysell@microsoft.com",
56
+ "author": "yajurgrover24@gmail.com",
57
57
  "package": "@office-iss/react-native-win32",
58
- "commit": "3aa853272cbdc109f14e38511c0cae9f8243872f",
59
- "comment": "Fix repo linting with prettier"
58
+ "commit": "40c1c59be8c9046213d5eeffae7dfe45caedcb5a",
59
+ "comment": "Integrate 10/31"
60
+ }
61
+ ]
62
+ }
63
+ },
64
+ {
65
+ "date": "Sat, 23 Nov 2024 06:23:15 GMT",
66
+ "version": "0.0.0-canary.273",
67
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.273",
68
+ "comments": {
69
+ "prerelease": [
70
+ {
71
+ "author": "yajurgrover24@gmail.com",
72
+ "package": "@office-iss/react-native-win32",
73
+ "commit": "8be39042bf044cb756904b4750f10cb0725bb36b",
74
+ "comment": "Integrate 10/20"
75
+ }
76
+ ]
77
+ }
78
+ },
79
+ {
80
+ "date": "Fri, 15 Nov 2024 06:22:29 GMT",
81
+ "version": "0.0.0-canary.272",
82
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.272",
83
+ "comments": {
84
+ "prerelease": [
85
+ {
86
+ "author": "yajurgrover24@gmail.com",
87
+ "package": "@office-iss/react-native-win32",
88
+ "commit": "9576b188ef25b0ed64643cd9bb3f411e790a1862",
89
+ "comment": "test integrate 10/15"
90
+ }
91
+ ]
92
+ }
93
+ },
94
+ {
95
+ "date": "Thu, 07 Nov 2024 06:24:18 GMT",
96
+ "version": "0.0.0-canary.271",
97
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.271",
98
+ "comments": {
99
+ "prerelease": [
100
+ {
101
+ "author": "yajurgrover24@gmail.com",
102
+ "package": "@office-iss/react-native-win32",
103
+ "commit": "346ba4e17efa3d1cf2481f7b998eb4de1ab8f073",
104
+ "comment": "Integrate 10/10"
60
105
  }
61
106
  ]
62
107
  }
63
108
  },
64
109
  {
65
- "date": "Mon, 21 Oct 2024 15:36:46 GMT",
66
- "version": "0.76.0-preview.3",
67
- "tag": "@office-iss/react-native-win32_v0.76.0-preview.3",
110
+ "date": "Sat, 02 Nov 2024 05:28:14 GMT",
111
+ "version": "0.0.0-canary.270",
112
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.270",
68
113
  "comments": {
69
114
  "prerelease": [
70
115
  {
71
116
  "author": "tatianakapos@microsoft.com",
72
117
  "package": "@office-iss/react-native-win32",
73
- "commit": "8bf96071813e2c3ba9c6c72d97ee41f31a24fbdc",
74
- "comment": "integrate 0.76.0-rc.6"
118
+ "commit": "15e5afbf41a7b58eb98bc47eb58db530d9daa9ff",
119
+ "comment": "adds default Modal"
75
120
  }
76
121
  ]
77
122
  }
78
123
  },
79
124
  {
80
- "date": "Fri, 11 Oct 2024 20:17:22 GMT",
81
- "version": "0.76.0-preview.2",
82
- "tag": "@office-iss/react-native-win32_v0.76.0-preview.2",
125
+ "date": "Wed, 23 Oct 2024 05:31:16 GMT",
126
+ "version": "0.0.0-canary.269",
127
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.269",
83
128
  "comments": {
84
129
  "prerelease": [
85
130
  {
86
131
  "author": "jthysell@microsoft.com",
87
132
  "package": "@office-iss/react-native-win32",
88
- "commit": "9614bfe01650f577bf573989faecac1d0989c93d",
89
- "comment": "Update to @react-native-community/cli@15.0.0-alpha.2"
133
+ "commit": "4d45e818929692b0bd4e3f836c190a94c616587b",
134
+ "comment": "Fix ignore files and update cli timeout"
135
+ }
136
+ ]
137
+ }
138
+ },
139
+ {
140
+ "date": "Sat, 19 Oct 2024 05:29:45 GMT",
141
+ "version": "0.0.0-canary.268",
142
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.268",
143
+ "comments": {
144
+ "prerelease": [
145
+ {
146
+ "author": "jthysell@microsoft.com",
147
+ "package": "@office-iss/react-native-win32",
148
+ "commit": "d0c7fa8199238da974905788351a45694fa39e57",
149
+ "comment": "Fix repo linting with prettier"
90
150
  },
91
151
  {
92
- "author": "email not defined",
152
+ "author": "beachball",
93
153
  "package": "@office-iss/react-native-win32",
94
- "commit": "6e76721bda69d1c8603a211729b89056743eb01f",
95
- "comment": "integrate RN 0.76.0-rc3"
154
+ "comment": "Bump @rnw-scripts/eslint-config to v1.2.30",
155
+ "commit": "not available"
96
156
  },
97
157
  {
98
- "author": "email not defined",
158
+ "author": "beachball",
159
+ "package": "@office-iss/react-native-win32",
160
+ "comment": "Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.34",
161
+ "commit": "not available"
162
+ },
163
+ {
164
+ "author": "beachball",
99
165
  "package": "@office-iss/react-native-win32",
100
- "commit": "c1536386579b67da32092327aacbb821730dab02",
101
- "comment": "integrate 0.76.0-rc.4"
166
+ "comment": "Bump @rnw-scripts/just-task to v2.3.47",
167
+ "commit": "not available"
168
+ },
169
+ {
170
+ "author": "beachball",
171
+ "package": "@office-iss/react-native-win32",
172
+ "comment": "Bump react-native-platform-override to v1.9.49",
173
+ "commit": "not available"
102
174
  }
103
175
  ]
104
176
  }
105
177
  },
106
178
  {
107
- "date": "Mon, 30 Sep 2024 23:20:39 GMT",
108
- "version": "0.76.0-preview.1",
109
- "tag": "@office-iss/react-native-win32_v0.76.0-preview.1",
179
+ "date": "Wed, 16 Oct 2024 05:20:54 GMT",
180
+ "version": "0.0.0-canary.267",
181
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.267",
110
182
  "comments": {
111
183
  "prerelease": [
112
184
  {
113
185
  "author": "tatianakapos@microsoft.com",
114
186
  "package": "@office-iss/react-native-win32",
115
- "commit": "739dfc5f58c5921fcab5eacb1aa0009396252995",
116
- "comment": "Promote 0.76 to preview"
187
+ "commit": "e265163b8cab921b5643d552775403b45c01bf6f",
188
+ "comment": "integrate rn nightly 0.77.0-nightly-20241001-223e98cc4"
189
+ }
190
+ ]
191
+ }
192
+ },
193
+ {
194
+ "date": "Thu, 10 Oct 2024 18:14:30 GMT",
195
+ "version": "0.0.0-canary.266",
196
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.266",
197
+ "comments": {
198
+ "prerelease": [
199
+ {
200
+ "author": "jthysell@microsoft.com",
201
+ "package": "@office-iss/react-native-win32",
202
+ "commit": "61bde52b38ce5f74aa09d68974dcda306023f378",
203
+ "comment": "Update to @react-native-community/cli@15.0.0-alpha.2"
204
+ }
205
+ ]
206
+ }
207
+ },
208
+ {
209
+ "date": "Mon, 07 Oct 2024 19:54:26 GMT",
210
+ "version": "0.0.0-canary.265",
211
+ "tag": "@office-iss/react-native-win32_v0.0.0-canary.265",
212
+ "comments": {
213
+ "prerelease": [
214
+ {
215
+ "author": "tatianakapos@microsoft.com",
216
+ "package": "@office-iss/react-native-win32",
217
+ "commit": "eb6b345ee2128d56f32c85f1702bb093e0375a1f",
218
+ "comment": "integrate RN nightly 0.77.0-nightly-20240921-1747f57c6"
219
+ },
220
+ {
221
+ "author": "beachball",
222
+ "package": "@office-iss/react-native-win32",
223
+ "comment": "Bump @rnw-scripts/eslint-config to v1.2.29",
224
+ "commit": "not available"
225
+ },
226
+ {
227
+ "author": "beachball",
228
+ "package": "@office-iss/react-native-win32",
229
+ "comment": "Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.33",
230
+ "commit": "not available"
231
+ },
232
+ {
233
+ "author": "beachball",
234
+ "package": "@office-iss/react-native-win32",
235
+ "comment": "Bump @rnw-scripts/just-task to v2.3.46",
236
+ "commit": "not available"
237
+ },
238
+ {
239
+ "author": "beachball",
240
+ "package": "@office-iss/react-native-win32",
241
+ "comment": "Bump react-native-platform-override to v1.9.48",
242
+ "commit": "not available"
117
243
  }
118
244
  ]
119
245
  }
package/CHANGELOG.md CHANGED
@@ -1,66 +1,120 @@
1
1
  # Change Log - @office-iss/react-native-win32
2
2
 
3
- <!-- This log was last generated on Mon, 25 Nov 2024 16:29:21 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Fri, 20 Dec 2024 18:20:31 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 0.76.1
7
+ ## 0.77.0-preview.1
8
8
 
9
- Mon, 25 Nov 2024 16:29:21 GMT
9
+ Fri, 20 Dec 2024 18:20:31 GMT
10
10
 
11
- ### Patches
11
+ ### Changes
12
12
 
13
- - integrate rn 76.2 (tatianakapos@microsoft.com)
13
+ - Promote 0.77 to preview (email not defined)
14
14
 
15
- ## 0.76.0
15
+ ## 0.0.0-canary.276
16
16
 
17
- Tue, 12 Nov 2024 00:02:25 GMT
17
+ Wed, 18 Dec 2024 06:22:23 GMT
18
18
 
19
- ### Patches
19
+ ### Changes
20
+
21
+ - integrate RN-Nightly 0.77.0-nightly-20241125-4cffff35e (email not defined)
22
+
23
+ ## 0.0.0-canary.275
24
+
25
+ Sat, 14 Dec 2024 06:29:12 GMT
26
+
27
+ ### Changes
28
+
29
+ - integrate RN Nightly 0.77.0-nightly-20241118-3986eefed (tatianakapos@microsoft.com)
30
+
31
+ ## 0.0.0-canary.274
32
+
33
+ Fri, 06 Dec 2024 06:22:27 GMT
34
+
35
+ ### Changes
36
+
37
+ - Integrate 10/31 (yajurgrover24@gmail.com)
38
+
39
+ ## 0.0.0-canary.273
40
+
41
+ Sat, 23 Nov 2024 06:23:15 GMT
42
+
43
+ ### Changes
44
+
45
+ - Integrate 10/20 (yajurgrover24@gmail.com)
46
+
47
+ ## 0.0.0-canary.272
48
+
49
+ Fri, 15 Nov 2024 06:22:29 GMT
50
+
51
+ ### Changes
52
+
53
+ - test integrate 10/15 (yajurgrover24@gmail.com)
54
+
55
+ ## 0.0.0-canary.271
56
+
57
+ Thu, 07 Nov 2024 06:24:18 GMT
58
+
59
+ ### Changes
60
+
61
+ - Integrate 10/10 (yajurgrover24@gmail.com)
62
+
63
+ ## 0.0.0-canary.270
64
+
65
+ Sat, 02 Nov 2024 05:28:14 GMT
66
+
67
+ ### Changes
20
68
 
21
- - Promote 0.76 to latest (tatianakapos@microsoft.com)
69
+ - adds default Modal (tatianakapos@microsoft.com)
22
70
 
23
- ## 0.76.0-preview.5
71
+ ## 0.0.0-canary.269
24
72
 
25
- Mon, 04 Nov 2024 16:28:49 GMT
73
+ Wed, 23 Oct 2024 05:31:16 GMT
26
74
 
27
75
  ### Changes
28
76
 
29
- - integrate RN 0.76.0 and fix babel.config (tatianakapos@microsoft.com)
77
+ - Fix ignore files and update cli timeout (jthysell@microsoft.com)
30
78
 
31
- ## 0.76.0-preview.4
79
+ ## 0.0.0-canary.268
32
80
 
33
- Mon, 28 Oct 2024 15:29:51 GMT
81
+ Sat, 19 Oct 2024 05:29:45 GMT
34
82
 
35
83
  ### Changes
36
84
 
37
85
  - Fix repo linting with prettier (jthysell@microsoft.com)
86
+ - Bump @rnw-scripts/eslint-config to v1.2.30
87
+ - Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.34
88
+ - Bump @rnw-scripts/just-task to v2.3.47
89
+ - Bump react-native-platform-override to v1.9.49
38
90
 
39
- ## 0.76.0-preview.3
91
+ ## 0.0.0-canary.267
40
92
 
41
- Mon, 21 Oct 2024 15:36:46 GMT
93
+ Wed, 16 Oct 2024 05:20:54 GMT
42
94
 
43
95
  ### Changes
44
96
 
45
- - integrate 0.76.0-rc.6 (tatianakapos@microsoft.com)
97
+ - integrate rn nightly 0.77.0-nightly-20241001-223e98cc4 (tatianakapos@microsoft.com)
46
98
 
47
- ## 0.76.0-preview.2
99
+ ## 0.0.0-canary.266
48
100
 
49
- Fri, 11 Oct 2024 20:17:22 GMT
101
+ Thu, 10 Oct 2024 18:14:30 GMT
50
102
 
51
103
  ### Changes
52
104
 
53
105
  - Update to @react-native-community/cli@15.0.0-alpha.2 (jthysell@microsoft.com)
54
- - integrate RN 0.76.0-rc3 (email not defined)
55
- - integrate 0.76.0-rc.4 (email not defined)
56
106
 
57
- ## 0.76.0-preview.1
107
+ ## 0.0.0-canary.265
58
108
 
59
- Mon, 30 Sep 2024 23:20:39 GMT
109
+ Mon, 07 Oct 2024 19:54:26 GMT
60
110
 
61
111
  ### Changes
62
112
 
63
- - Promote 0.76 to preview (tatianakapos@microsoft.com)
113
+ - integrate RN nightly 0.77.0-nightly-20240921-1747f57c6 (tatianakapos@microsoft.com)
114
+ - Bump @rnw-scripts/eslint-config to v1.2.29
115
+ - Bump @rnw-scripts/jest-out-of-tree-snapshot-resolver to v1.1.33
116
+ - Bump @rnw-scripts/just-task to v2.3.46
117
+ - Bump react-native-platform-override to v1.9.48
64
118
 
65
119
  ## 0.0.0-canary.263
66
120
 
@@ -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
  },
@@ -8,6 +8,8 @@
8
8
  * @format
9
9
  */
10
10
 
11
+ import type {AnimatedPropsAllowlist} from './nodes/AnimatedProps';
12
+
11
13
  import * as ReactNativeFeatureFlags from '../../src/private/featureflags/ReactNativeFeatureFlags';
12
14
 
13
15
  /**
@@ -16,7 +18,7 @@ import * as ReactNativeFeatureFlags from '../../src/private/featureflags/ReactNa
16
18
  * In general native animated implementation should support any numeric or color property that
17
19
  * doesn't need to be updated through the shadow view hierarchy (all non-layout properties).
18
20
  */
19
- const SUPPORTED_COLOR_STYLES: {[string]: boolean} = {
21
+ const SUPPORTED_COLOR_STYLES: {[string]: true} = {
20
22
  backgroundColor: true,
21
23
  borderBottomColor: true,
22
24
  borderColor: true,
@@ -29,7 +31,7 @@ const SUPPORTED_COLOR_STYLES: {[string]: boolean} = {
29
31
  tintColor: true,
30
32
  };
31
33
 
32
- const SUPPORTED_STYLES: {[string]: boolean} = {
34
+ const SUPPORTED_STYLES: {[string]: true} = {
33
35
  ...SUPPORTED_COLOR_STYLES,
34
36
  borderBottomEndRadius: true,
35
37
  borderBottomLeftRadius: true,
@@ -58,7 +60,7 @@ const SUPPORTED_STYLES: {[string]: boolean} = {
58
60
  translateY: true,
59
61
  };
60
62
 
61
- const SUPPORTED_TRANSFORMS: {[string]: boolean} = {
63
+ const SUPPORTED_TRANSFORMS: {[string]: true} = {
62
64
  translateX: true,
63
65
  translateY: true,
64
66
  scale: true,
@@ -71,10 +73,12 @@ const SUPPORTED_TRANSFORMS: {[string]: boolean} = {
71
73
  perspective: true,
72
74
  skewX: true,
73
75
  skewY: true,
74
- matrix: ReactNativeFeatureFlags.shouldUseAnimatedObjectForTransform(),
76
+ ...(ReactNativeFeatureFlags.shouldUseAnimatedObjectForTransform()
77
+ ? {matrix: true}
78
+ : {}),
75
79
  };
76
80
 
77
- const SUPPORTED_INTERPOLATION_PARAMS: {[string]: boolean} = {
81
+ const SUPPORTED_INTERPOLATION_PARAMS: {[string]: true} = {
78
82
  inputRange: true,
79
83
  outputRange: true,
80
84
  extrapolate: true,
@@ -82,6 +86,13 @@ const SUPPORTED_INTERPOLATION_PARAMS: {[string]: boolean} = {
82
86
  extrapolateLeft: true,
83
87
  };
84
88
 
89
+ /**
90
+ * Default allowlist for component props that support native animated values.
91
+ */
92
+ export default {
93
+ style: SUPPORTED_STYLES,
94
+ } as AnimatedPropsAllowlist;
95
+
85
96
  export function allowInterpolationParam(param: string): void {
86
97
  SUPPORTED_INTERPOLATION_PARAMS[param] = true;
87
98
  }
@@ -95,17 +106,17 @@ export function allowTransformProp(prop: string): void {
95
106
  }
96
107
 
97
108
  export function isSupportedColorStyleProp(prop: string): boolean {
98
- return SUPPORTED_COLOR_STYLES[prop] === true;
109
+ return Object.hasOwn(SUPPORTED_COLOR_STYLES, prop);
99
110
  }
100
111
 
101
112
  export function isSupportedInterpolationParam(param: string): boolean {
102
- return SUPPORTED_INTERPOLATION_PARAMS[param] === true;
113
+ return Object.hasOwn(SUPPORTED_INTERPOLATION_PARAMS, param);
103
114
  }
104
115
 
105
116
  export function isSupportedStyleProp(prop: string): boolean {
106
- return SUPPORTED_STYLES[prop] === true;
117
+ return Object.hasOwn(SUPPORTED_STYLES, prop);
107
118
  }
108
119
 
109
120
  export function isSupportedTransformProp(prop: string): boolean {
110
- return SUPPORTED_TRANSFORMS[prop] === true;
121
+ return Object.hasOwn(SUPPORTED_TRANSFORMS, prop);
111
122
  }