Skip to content

Commit

Permalink
[0.62] add accessibilityValue prop (facebook#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgny authored Mar 30, 2020
1 parent 075dae6 commit 9b97e4a
Show file tree
Hide file tree
Showing 64 changed files with 76 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ActivityIndicator.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/ActivityIndicator.re
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/CheckBox.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/CheckBox.re
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/DatePickerIOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/DatePickerIOS.re
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/DrawerLayoutAndroid.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/DrawerLayoutAndroid.re
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/FlatList.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/FlatList.re
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/KeyboardAvoidingView.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/KeyboardAvoidingView.re
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/MaskedViewIOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/MaskedViewIOS.re
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/Picker.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/Picker.re
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/PickerIOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/PickerIOS.re
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/ProgressBarAndroid.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/ProgressBarAndroid.re
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/ProgressViewIOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/ProgressViewIOS.re
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/RefreshControl.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/RefreshControl.re
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/SafeAreaView.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/SafeAreaView.re
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/ScrollView.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/ScrollView.re
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/SectionList.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/SectionList.re
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/SegmentedControlIOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/SegmentedControlIOS.re
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/Slider.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/Slider.re
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/SnapshotViewIOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/SnapshotViewIOS.re
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/Switch.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/Switch.re
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
2 changes: 2 additions & 0 deletions src/components/TabBarIOS.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down Expand Up @@ -158,6 +159,7 @@ module Item = {
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
2 changes: 2 additions & 0 deletions src/components/TabBarIOS.re
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down Expand Up @@ -151,6 +152,7 @@ module Item = {
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/TextInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/TextInput.re
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/ToolbarAndroid.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/ToolbarAndroid.re
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~accessible: bool=?,
~collapsable: bool=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/TouchableHighlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~delayLongPress: int=?,
~delayPressIn: int=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/TouchableHighlight.re
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~delayLongPress: int=?,
~delayPressIn: int=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/TouchableNativeFeedback.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~delayLongPress: int=?,
~delayPressIn: int=?,
Expand Down
1 change: 1 addition & 0 deletions src/components/TouchableNativeFeedback.re
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ external make:
=?,
~accessibilityState: Accessibility.state=?,
~accessibilityTraits: array(AccessibilityTrait.t)=?,
~accessibilityValue: Accessibility.value=?,
~accessibilityViewIsModal: bool=?,
~delayLongPress: int=?,
~delayPressIn: int=?,
Expand Down
Loading

0 comments on commit 9b97e4a

Please sign in to comment.