esoftplay 0.0.213 → 0.0.215

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/bin/build.js CHANGED
@@ -311,8 +311,6 @@ export default function App() {
311
311
  }`;
312
312
  let expoLib = [
313
313
  '@expo/vector-icons',
314
- '@react-native-firebase/app',
315
- '@react-native-firebase/messaging',
316
314
  '@react-native-async-storage/async-storage',
317
315
  '@react-native-masked-view/masked-view',
318
316
  '@react-native-community/netinfo',
@@ -2,7 +2,7 @@
2
2
  import { LibComponent } from 'esoftplay/cache/lib/component/import';
3
3
  import { LibFocus } from 'esoftplay/cache/lib/focus/import';
4
4
  import React from 'react';
5
- import { Platform, ScrollView, StyleSheet, Text, View, ViewStyle } from 'react-native';
5
+ import { Platform, ScrollView, StyleSheet, Text, TouchableOpacity, View, ViewStyle } from 'react-native';
6
6
 
7
7
  export interface LibCarrouselProps {
8
8
  children: any,
@@ -158,9 +158,9 @@ export default class m extends LibComponent<LibCarrouselProps, LibCarrouselState
158
158
  pages.push(<View><Text>You are supposed to add children inside Carousel</Text></View>);
159
159
  }
160
160
  return pages.map((page, i) => (
161
- <View activeOpacity={1} style={[{ ...size }, pageStyle]} key={`page${i}`}>
161
+ <TouchableOpacity activeOpacity={1} style={[{ ...size }, pageStyle]} key={`page${i}`}>
162
162
  {page}
163
- </View>
163
+ </TouchableOpacity>
164
164
  ));
165
165
  }
166
166
 
@@ -343,13 +343,13 @@ export default class m extends LibComponent<LibCarrouselProps, LibCarrouselState
343
343
  const bullets: any[] = [];
344
344
  for (let i = 0; i < pageLength; i += 1) {
345
345
  bullets.push(
346
- <View activeOpacity={1} onPress={() => this.animateToPage(i)} key={`bullet${i}`}>
346
+ <TouchableOpacity activeOpacity={1} onPress={() => this.animateToPage(i)} key={`bullet${i}`}>
347
347
  <View
348
348
  style={i === this.state.currentPage ?
349
349
  [styles.chosenBullet, this.props.chosenBulletStyle] :
350
350
  [styles.bullet, this.props.bulletStyle]}
351
351
  />
352
- </View>);
352
+ </TouchableOpacity>);
353
353
  }
354
354
  return (
355
355
  <View style={[styles.bullets, this.props.bulletsContainerStyle]} pointerEvents="box-none">
@@ -366,16 +366,16 @@ export default class m extends LibComponent<LibCarrouselProps, LibCarrouselState
366
366
  return (
367
367
  <View style={styles.arrows} pointerEvents="box-none">
368
368
  <View style={[styles.arrowsContainer, this.props.arrowsContainerStyle]} pointerEvents="box-none">
369
- <View onPress={this._animatePreviousPage} style={this.props.arrowStyle} >
369
+ <TouchableOpacity onPress={this._animatePreviousPage} style={this.props.arrowStyle} >
370
370
  <Text style={this.props.leftArrowStyle}>
371
371
  {this.props.leftArrowText ? this.props.leftArrowText : 'Left'}
372
372
  </Text>
373
- </View>
374
- <View onPress={this._animateNextPage} style={this.props.arrowStyle} >
373
+ </TouchableOpacity>
374
+ <TouchableOpacity onPress={this._animateNextPage} style={this.props.arrowStyle} >
375
375
  <Text style={this.props.rightArrowStyle}>
376
376
  {this.props.rightArrowText ? this.props.rightArrowText : 'Right'}
377
377
  </Text>
378
- </View>
378
+ </TouchableOpacity>
379
379
  </View>
380
380
  </View>
381
381
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay",
3
- "version": "0.0.213",
3
+ "version": "0.0.215",
4
4
  "description": "embedding data from esoftplay framework (web based) into mobile app",
5
5
  "main": "cache/index.js",
6
6
  "types": "../../index.d.ts",