mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-28 20:35:19 +08:00
chore: upgrade react-native-paper
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
"test": "jest",
|
"test": "jest",
|
||||||
"flow": "flow",
|
"flow": "flow",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"build": "babel --no-babelrc --plugins=syntax-jsx,syntax-class-properties,syntax-object-rest-spread,transform-flow-strip-types src --out-dir dist --ignore '**/__tests__/**'",
|
"build": "babel --no-babelrc --plugins=syntax-jsx,syntax-class-properties,syntax-object-rest-spread,transform-flow-strip-types,react-native-paper/babel src --out-dir dist --ignore '**/__tests__/**'",
|
||||||
"prepublish": "yarn build"
|
"prepublish": "yarn build"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
"hoist-non-react-statics": "^2.5.0",
|
"hoist-non-react-statics": "^2.5.0",
|
||||||
"prop-types": "^15.6.0",
|
"prop-types": "^15.6.0",
|
||||||
"react-lifecycles-compat": "^1.0.2",
|
"react-lifecycles-compat": "^1.0.2",
|
||||||
"react-native-paper": "^1.2.5",
|
"react-native-paper": "^1.4.0",
|
||||||
"react-native-safe-area-view": "^0.7.0",
|
"react-native-safe-area-view": "^0.7.0",
|
||||||
"react-native-tab-view": "~0.0.77"
|
"react-native-tab-view": "~0.0.77"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/* @flow */
|
/* @flow */
|
||||||
|
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import BottomNavigation from 'react-native-paper/src/components/BottomNavigation';
|
import { BottomNavigation } from 'react-native-paper';
|
||||||
import createTabNavigator, {
|
import createTabNavigator, {
|
||||||
type InjectedProps,
|
type InjectedProps,
|
||||||
} from '../utils/createTabNavigator';
|
} from '../utils/createTabNavigator';
|
||||||
|
|||||||
@@ -1486,6 +1486,13 @@ create-react-context@^0.2.1:
|
|||||||
fbjs "^0.8.0"
|
fbjs "^0.8.0"
|
||||||
gud "^1.0.0"
|
gud "^1.0.0"
|
||||||
|
|
||||||
|
create-react-context@^0.2.2:
|
||||||
|
version "0.2.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/create-react-context/-/create-react-context-0.2.2.tgz#9836542f9aaa22868cd7d4a6f82667df38019dca"
|
||||||
|
dependencies:
|
||||||
|
fbjs "^0.8.0"
|
||||||
|
gud "^1.0.0"
|
||||||
|
|
||||||
cross-spawn@^5.0.1, cross-spawn@^5.1.0:
|
cross-spawn@^5.0.1, cross-spawn@^5.1.0:
|
||||||
version "5.1.0"
|
version "5.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
|
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
|
||||||
@@ -1590,7 +1597,7 @@ deep-is@~0.1.3:
|
|||||||
version "0.1.3"
|
version "0.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
|
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
|
||||||
|
|
||||||
deepmerge@^2.0.1:
|
deepmerge@^2.1.0:
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-2.1.0.tgz#511a54fff405fc346f0240bb270a3e9533a31102"
|
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-2.1.0.tgz#511a54fff405fc346f0240bb270a3e9533a31102"
|
||||||
|
|
||||||
@@ -4366,6 +4373,10 @@ react-lifecycles-compat@^1.0.2:
|
|||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-1.0.2.tgz#551d8b1d156346e5fcf30ffac9b32ce3f78b8850"
|
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-1.0.2.tgz#551d8b1d156346e5fcf30ffac9b32ce3f78b8850"
|
||||||
|
|
||||||
|
react-lifecycles-compat@^3.0.2:
|
||||||
|
version "3.0.2"
|
||||||
|
resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.2.tgz#7279047275bd727a912e25f734c0559527e84eff"
|
||||||
|
|
||||||
react-native-dismiss-keyboard@1.0.0:
|
react-native-dismiss-keyboard@1.0.0:
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/react-native-dismiss-keyboard/-/react-native-dismiss-keyboard-1.0.0.tgz#32886242b3f2317e121f3aeb9b0a585e2b879b49"
|
resolved "https://registry.yarnpkg.com/react-native-dismiss-keyboard/-/react-native-dismiss-keyboard-1.0.0.tgz#32886242b3f2317e121f3aeb9b0a585e2b879b49"
|
||||||
@@ -4382,14 +4393,15 @@ react-native-drawer-layout@1.3.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
react-native-dismiss-keyboard "1.0.0"
|
react-native-dismiss-keyboard "1.0.0"
|
||||||
|
|
||||||
react-native-paper@^1.2.5:
|
react-native-paper@^1.4.0:
|
||||||
version "1.2.5"
|
version "1.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/react-native-paper/-/react-native-paper-1.2.5.tgz#3a4480ca967aae4b3e65a987116973dd012d1fa8"
|
resolved "https://registry.yarnpkg.com/react-native-paper/-/react-native-paper-1.4.0.tgz#33bd477cde1468b63e60bdb0c9a500822d03cdca"
|
||||||
dependencies:
|
dependencies:
|
||||||
color "^2.0.1"
|
color "^2.0.1"
|
||||||
create-react-context "^0.2.1"
|
create-react-context "^0.2.2"
|
||||||
deepmerge "^2.0.1"
|
deepmerge "^2.1.0"
|
||||||
hoist-non-react-statics "^2.5.0"
|
hoist-non-react-statics "^2.5.0"
|
||||||
|
react-lifecycles-compat "^3.0.2"
|
||||||
|
|
||||||
react-native-safe-area-view@^0.7.0:
|
react-native-safe-area-view@^0.7.0:
|
||||||
version "0.7.0"
|
version "0.7.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user