react-native-windows 0.77.4 → 0.77.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Components/Button.windows.js +3 -0
- package/Libraries/Components/ScrollView/ScrollView.windows.js +1920 -0
- package/Microsoft.ReactNative/Fabric/Composition/CompositionDynamicAutomationProvider.cpp +159 -0
- package/Microsoft.ReactNative/Fabric/Composition/CompositionDynamicAutomationProvider.h +11 -0
- package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +24 -2
- package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.h +5 -0
- package/PropertySheets/Generated/PackageVersion.g.props +3 -3
- package/package.json +1 -1
|
@@ -152,6 +152,7 @@ type ButtonProps = $ReadOnly<{|
|
|
|
152
152
|
accessible?: ?boolean,
|
|
153
153
|
accessibilityActions?: ?$ReadOnlyArray<AccessibilityActionInfo>,
|
|
154
154
|
onAccessibilityAction?: ?(event: AccessibilityActionEvent) => mixed,
|
|
155
|
+
onAccessibilityTap?: ?() => mixed, // Windows
|
|
155
156
|
accessibilityState?: ?AccessibilityState,
|
|
156
157
|
|
|
157
158
|
/**
|
|
@@ -333,6 +334,7 @@ const Button: component(
|
|
|
333
334
|
accessibilityHint,
|
|
334
335
|
accessibilityLanguage,
|
|
335
336
|
onAccessibilityAction,
|
|
337
|
+
onAccessibilityTap, // Windows
|
|
336
338
|
tabIndex,
|
|
337
339
|
} = props;
|
|
338
340
|
const buttonStyles: Array<ViewStyleProp> = [styles.button];
|
|
@@ -391,6 +393,7 @@ const Button: component(
|
|
|
391
393
|
accessibilityLanguage={accessibilityLanguage}
|
|
392
394
|
accessibilityRole="button"
|
|
393
395
|
accessibilityState={_accessibilityState}
|
|
396
|
+
onAccessibilityTap={onAccessibilityTap} // Windows
|
|
394
397
|
importantForAccessibility={_importantForAccessibility}
|
|
395
398
|
hasTVPreferredFocus={hasTVPreferredFocus}
|
|
396
399
|
nextFocusDown={nextFocusDown}
|