react-native-windows 0.77.3 → 0.77.5

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 (38) hide show
  1. package/Libraries/Components/Button.windows.js +3 -0
  2. package/Libraries/Components/Pressable/Pressable.windows.js +3 -0
  3. package/Libraries/Components/ScrollView/ScrollView.windows.js +1920 -0
  4. package/Libraries/Components/TextInput/TextInput.windows.js +3 -0
  5. package/Libraries/Components/Touchable/TouchableBounce.windows.js +2 -0
  6. package/Libraries/Components/Touchable/TouchableNativeFeedback.windows.js +2 -0
  7. package/Libraries/Components/Touchable/TouchableOpacity.windows.js +2 -0
  8. package/Libraries/Components/Touchable/TouchableWithoutFeedback.windows.js +2 -0
  9. package/Libraries/Components/View/View.windows.js +3 -0
  10. package/Libraries/Components/View/ViewAccessibility.d.ts +7 -2
  11. package/Libraries/Components/View/ViewAccessibility.windows.js +1 -0
  12. package/Libraries/Components/View/ViewPropTypes.windows.js +1 -0
  13. package/Libraries/Core/ReactNativeVersion.js +1 -1
  14. package/Libraries/Core/setUpDeveloperTools.js +2 -3
  15. package/Libraries/Image/Image.windows.js +2 -0
  16. package/Libraries/Text/Text.windows.js +4 -0
  17. package/Libraries/Text/TextProps.windows.js +1 -0
  18. package/Libraries/Utilities/HMRClient.js +0 -28
  19. package/Libraries/Utilities/HMRClientProdShim.js +0 -1
  20. package/Microsoft.ReactNative/Fabric/Composition/CompositionDynamicAutomationProvider.cpp +374 -21
  21. package/Microsoft.ReactNative/Fabric/Composition/CompositionDynamicAutomationProvider.h +21 -0
  22. package/Microsoft.ReactNative/Fabric/Composition/CompositionTextProvider.cpp +115 -0
  23. package/Microsoft.ReactNative/Fabric/Composition/CompositionTextProvider.h +41 -0
  24. package/Microsoft.ReactNative/Fabric/Composition/CompositionTextRangeProvider.cpp +298 -0
  25. package/Microsoft.ReactNative/Fabric/Composition/CompositionTextRangeProvider.h +59 -0
  26. package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp +1 -2
  27. package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +24 -2
  28. package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.h +5 -0
  29. package/Microsoft.ReactNative/Fabric/Composition/UiaHelpers.cpp +14 -10
  30. package/Microsoft.ReactNative/Fabric/Composition/UiaHelpers.h +3 -2
  31. package/PropertySheets/Generated/PackageVersion.g.props +3 -3
  32. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/AccessibilityPrimitives.h +1 -0
  33. package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/accessibilityPropsConversions.h +4 -0
  34. package/Shared/Networking/WinRTWebSocketResource.cpp +369 -7
  35. package/Shared/Networking/WinRTWebSocketResource.h +118 -0
  36. package/Shared/Shared.vcxitems +6 -0
  37. package/Shared/Shared.vcxitems.filters +8 -0
  38. package/package.json +9 -9
@@ -164,6 +164,7 @@ type ButtonProps = $ReadOnly<{|
164
164
  'aria-disabled'?: ?boolean,
165
165
  'aria-expanded'?: ?boolean,
166
166
  'aria-selected'?: ?boolean,
167
+ 'aria-readonly'?: ?boolean, // Windows
167
168
  'aria-multiselectable'?: ?boolean, // Windows
168
169
  'aria-required'?: ?boolean, // Windows
169
170
 
@@ -312,6 +313,7 @@ const Button: component(
312
313
  'aria-expanded': ariaExpanded,
313
314
  'aria-label': ariaLabel,
314
315
  'aria-selected': ariaSelected,
316
+ 'aria-readonly': ariaReadOnly, // Windows
315
317
  'aria-multiselectable': ariaMultiselectable, // Windows
316
318
  'aria-required': ariaRequired, // Windows
317
319
  importantForAccessibility,
@@ -349,6 +351,7 @@ const Button: component(
349
351
  disabled: ariaDisabled ?? accessibilityState?.disabled,
350
352
  expanded: ariaExpanded ?? accessibilityState?.expanded,
351
353
  selected: ariaSelected ?? accessibilityState?.selected,
354
+ readOnly: ariaReadOnly ?? accessibilityState?.readOnly, // Windows
352
355
  multiselectable: ariaMultiselectable ?? accessibilityState?.multiselectable, // Windows
353
356
  required: ariaRequired ?? accessibilityState?.required, // Windows
354
357
  };
@@ -75,6 +75,7 @@ type Props = $ReadOnly<{|
75
75
  'aria-disabled'?: ?boolean,
76
76
  'aria-expanded'?: ?boolean,
77
77
  'aria-selected'?: ?boolean,
78
+ 'aria-readonly'?: ?boolean, // Windows
78
79
  'aria-multiselectable'?: ?boolean, // Windows
79
80
  'aria-required'?: ?boolean, // Windows
80
81
  /**
@@ -264,6 +265,7 @@ function Pressable(
264
265
  'aria-expanded': ariaExpanded,
265
266
  'aria-label': ariaLabel,
266
267
  'aria-selected': ariaSelected,
268
+ 'aria-readonly': ariaReadOnly,
267
269
  'aria-multiselectable': ariaMultiselectable, // Windows
268
270
  'aria-required': ariaRequired, // Windows
269
271
  cancelable,
@@ -309,6 +311,7 @@ function Pressable(
309
311
  disabled: ariaDisabled ?? accessibilityState?.disabled,
310
312
  expanded: ariaExpanded ?? accessibilityState?.expanded,
311
313
  selected: ariaSelected ?? accessibilityState?.selected,
314
+ readOnly: ariaReadOnly ?? accessibilityState?.readOnly,
312
315
  multiselectable: ariaMultiselectable ?? accessibilityState?.multiselectable, // Windows
313
316
  required: ariaRequired ?? accessibilityState?.required, // Windows
314
317
  };