@momo-kits/date-picker 0.0.66-alpha.1 → 0.0.66-alpha.3

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.
@@ -261,10 +261,11 @@ export default class WheelPicker extends Component {
261
261
  {this.renderHiddenItem(this.numberItem, this.heightItem)}
262
262
  {items.map((valueItem, index) => (
263
263
  <View
264
- // eslint-disable-next-line react/no-array-index-key=
264
+ // eslint-disable-next-line react/no-array-index-key
265
+ accessibilityLabel={
266
+ value === index ? `Select ${preFix}/Selected` : ''
267
+ }
265
268
  key={index}
266
- accessibilityLabel={`Selected/${valueItem}/${preFix}`}
267
- access
268
269
  style={{
269
270
  flex: 1,
270
271
  height: this.heightItem,
@@ -278,6 +279,7 @@ export default class WheelPicker extends Component {
278
279
  fontSize: value === index ? ScaleSize(20) : ScaleSize(16),
279
280
  }}>
280
281
  {valueItem}
282
+ {/* {reversePreFix ? `${valueItem} ${preFix}` : `${preFix} ${valueItem}`} */}
281
283
  </Text>
282
284
  </View>
283
285
  ))}
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
- "name": "@momo-kits/date-picker",
3
- "version": "0.0.66-alpha.1",
4
- "private": false,
5
- "main": "index.js",
6
- "dependencies": {},
7
- "peerDependencies": {
8
- "@momo-kits/core": ">=0.0.5-beta",
9
- "lodash": "^4.17.15",
10
- "prop-types": "^15.7.2",
11
- "react": "16.9.0",
12
- "react-native": ">=0.55"
13
- },
14
- "devDependencies": {},
15
- "license": "MoMo"
2
+ "name": "@momo-kits/date-picker",
3
+ "version": "0.0.66-alpha.3",
4
+ "private": false,
5
+ "main": "index.js",
6
+ "dependencies": {},
7
+ "peerDependencies": {
8
+ "@momo-kits/core": ">=0.0.5-beta",
9
+ "lodash": "^4.17.15",
10
+ "prop-types": "^15.7.2",
11
+ "react": "16.9.0",
12
+ "react-native": ">=0.55"
13
+ },
14
+ "devDependencies": {},
15
+ "license": "MoMo"
16
16
  }