@momo-kits/calendar 0.0.47-rc.1 → 0.0.48-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/calendar",
3
- "version": "0.0.47-rc.1",
3
+ "version": "0.0.48-beta.1",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "dependencies": {
package/src/Day/index.js CHANGED
@@ -139,6 +139,7 @@ class Day extends Component {
139
139
  ]}>
140
140
  {this.isValid && this.isInScope ? (
141
141
  <TouchableHighlight
142
+ accessibilityLabel={`CalendarDay${this.props.index}`}
142
143
  style={[style.day, (this.isStart || this.isEnd) && style.focused]}
143
144
  underlayColor="rgba(255, 255, 255, 0.35)"
144
145
  onPress={this.chooseDay}>
@@ -26,6 +26,7 @@ const HeaderControl = forwardRef(({ onPressBackArrow, onPressNextArrow, selected
26
26
  return (
27
27
  <View style={styles.container}>
28
28
  <TouchableOpacity
29
+ accessibilityLabel={`CalendarBack`}
29
30
  style={styles.btnLeft}
30
31
  onPress={onPressBackArrow}
31
32
  >
@@ -35,6 +36,7 @@ const HeaderControl = forwardRef(({ onPressBackArrow, onPressNextArrow, selected
35
36
  {headerFormat}
36
37
  </Text.H4>
37
38
  <TouchableOpacity
39
+ accessibilityLabel={`CalendarNext`}
38
40
  style={styles.btnRight}
39
41
  onPress={onPressNextArrow}
40
42
  >