@holper/react-native-holper-storybook 0.6.14 → 0.6.17

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.
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import {TouchableOpacity, ViewPropTypes, ActivityIndicator} from 'react-native';
3
+ import {TouchableOpacity, ActivityIndicator} from 'react-native';
4
+ import {ViewPropTypes} from 'deprecated-react-native-prop-types';
4
5
  import withPreventDoubleClick from './../PreventDoubleClick';
5
6
  import {Colors} from '../../configs/constants';
6
7
  import style from './style';
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { View, ViewPropTypes, TouchableOpacity } from 'react-native';
3
+ import { View, TouchableOpacity } from 'react-native';
4
+ import {ViewPropTypes} from 'deprecated-react-native-prop-types';
4
5
  import withPreventDoubleClick from '../PreventDoubleClick';
5
6
  import style from './style';
6
7
 
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { SafeAreaView } from 'react-native-safe-area-context';
4
- import { TouchableWithoutFeedback, Keyboard, ViewPropTypes, ScrollView, View } from 'react-native';
4
+ import { TouchableWithoutFeedback, Keyboard, ScrollView, View } from 'react-native';
5
+ import {ViewPropTypes} from 'deprecated-react-native-prop-types';
5
6
  import style from './style';
6
7
 
7
8
  const Container = ({ fullScreen, enableScroll, style: customStyle, scrollStyle, children, ...props }) => (
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { View, ScrollView, RefreshControl, KeyboardAvoidingView, Platform, ViewPropTypes } from 'react-native';
3
+ import { View, ScrollView, RefreshControl, KeyboardAvoidingView, Platform } from 'react-native';
4
+ import {ViewPropTypes} from 'deprecated-react-native-prop-types';
4
5
  import style from './style';
5
6
 
6
7
  const FloatingContainer = ({
@@ -1,6 +1,7 @@
1
1
  import React, { useState } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { Image, View, ViewPropTypes } from 'react-native';
3
+ import { Image, View } from 'react-native';
4
+ import {ViewPropTypes} from 'deprecated-react-native-prop-types';
4
5
  import style from './style';
5
6
 
6
7
  const ImageResponsive = ({ source, style: customStyle, avatar, ...props }) => {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "main": "lib/index.js",
3
3
  "name": "@holper/react-native-holper-storybook",
4
4
  "description": "A component library for Holper projects",
5
- "version": "0.6.14",
5
+ "version": "0.6.17",
6
6
  "license": "MIT",
7
7
  "files": [
8
8
  "lib",
@@ -27,21 +27,22 @@
27
27
  "storybook-publish": "./build.sh"
28
28
  },
29
29
  "dependencies": {
30
- "@react-native-async-storage/async-storage": "~1.15.0",
31
- "expo-camera": "~12.1.2",
32
- "expo-font": "~10.0.4",
33
- "expo-image-manipulator": "~10.2.0",
34
- "expo-image-picker": "~12.0.1",
35
- "expo-media-library": "~14.0.0",
30
+ "@react-native-async-storage/async-storage": "~1.17.3",
31
+ "deprecated-react-native-prop-types": "^2.3.0",
32
+ "expo-camera": "~12.2.0",
33
+ "expo-font": "~10.1.0",
34
+ "expo-image-manipulator": "~10.3.1",
35
+ "expo-image-picker": "~13.1.1",
36
+ "expo-media-library": "~14.1.0",
36
37
  "moment": "^2.29.3",
37
38
  "prop-types": "^15.8.1",
38
39
  "react-native-countdown-circle-timer": "^3.0.9",
39
40
  "react-native-deck-swiper": "^2.0.5",
40
41
  "react-native-flash-message": "^0.2.1",
41
42
  "react-native-picker-select": "^8.0.4",
42
- "react-native-safe-area-context": "3.3.2",
43
+ "react-native-safe-area-context": "4.2.4",
43
44
  "react-native-status-bar-height": "^2.6.0",
44
- "react-native-svg": "12.1.1",
45
+ "react-native-svg": "12.3.0",
45
46
  "react-native-vector-icons": "^9.1.0"
46
47
  },
47
48
  "devDependencies": {
@@ -54,19 +55,18 @@
54
55
  "@storybook/react-native": "^5.3.23",
55
56
  "@storybook/react-native-server": "^5.3.23",
56
57
  "babel-loader": "^8.2.2",
57
- "expo": "^44.0.0",
58
- "expo-asset": "~8.4.5",
59
- "expo-status-bar": "~1.2.0",
60
- "react": "17.0.1",
61
- "react-dom": "17.0.1",
62
- "react-native": "0.64.3",
63
- "react-native-web": "0.17.1"
58
+ "expo": "^45.0.0",
59
+ "expo-asset": "~8.5.0",
60
+ "expo-status-bar": "~1.3.0",
61
+ "react": "17.0.2",
62
+ "react-dom": "17.0.2",
63
+ "react-native": "0.68.2",
64
+ "react-native-web": "0.17.7"
64
65
  },
65
66
  "peerDependencies": {
66
67
  "expo-camera": "^12.2.0",
67
68
  "react": ">=16.13.1",
68
69
  "react-dom": ">=16.13.1",
69
- "react-native": ">=0.60.0",
70
- "react-native-safe-area-context": "^3.3.2"
70
+ "react-native": ">=0.60.0"
71
71
  }
72
72
  }