From ae32e4b1f108f0348d4093240e3d381028a8ac01 Mon Sep 17 00:00:00 2001 From: Suvendu Kumar Date: Mon, 11 Feb 2019 12:38:45 +0530 Subject: [PATCH 1/2] NBKS with NB(2.11.0),RN(0.58.3) --- package.json | 5 +++-- src/screens/form/pickerInput.js | 2 +- src/screens/icon/basic.js | 4 ++-- src/screens/icon/platform-specific.js | 4 ++-- src/screens/icon/state.js | 2 +- src/screens/list/list-icon.js | 2 +- src/screens/picker/backButtonPicker.js | 2 +- src/screens/picker/customHeaderPicker.js | 2 +- src/screens/picker/headerPicker.js | 2 +- src/screens/picker/headerStylePicker.js | 2 +- src/screens/picker/picker-text-itemtext.js | 2 +- src/screens/picker/picker-with-icon.js | 2 +- src/screens/picker/placeholderPicker.js | 2 +- 13 files changed, 17 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 393dac64c..f67290240 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "NativebaseKitchenSink", - "version": "2.7.0", + "version": "2.11.0", "private": true, "devDependencies": { "babel-eslint": "7.2.3", @@ -36,8 +36,9 @@ "native-base": "https://github.com/GeekyAnts/NativeBase#master", "prop-types": "^15.6.2", "react": "16.5.0", - "react-native": "0.57.1", + "react-native": "0.58.3", "react-navigation": "1.5.0", + "scheduler": "^0.12.0", "styled-components": "^3.4.5" } } \ No newline at end of file diff --git a/src/screens/form/pickerInput.js b/src/screens/form/pickerInput.js index 06b0d6e80..a9a91caf4 100644 --- a/src/screens/form/pickerInput.js +++ b/src/screens/form/pickerInput.js @@ -48,7 +48,7 @@ class PickerInput extends Component { } + iosIcon={} style={{ width: undefined }} placeholder="Select your SIM" placeholderStyle={{ color: "#bfc6ea" }} diff --git a/src/screens/icon/basic.js b/src/screens/icon/basic.js index 52a330472..ea6eef285 100644 --- a/src/screens/icon/basic.js +++ b/src/screens/icon/basic.js @@ -148,7 +148,7 @@ class BasicIcon extends Component { /> person - + apps @@ -54,7 +54,7 @@ class PlatformSpecificIcon extends Component { paper - + cart diff --git a/src/screens/icon/state.js b/src/screens/icon/state.js index a0ef7c411..3701586a2 100644 --- a/src/screens/icon/state.js +++ b/src/screens/icon/state.js @@ -227,7 +227,7 @@ class StateIcon extends Component { - + ionic diff --git a/src/screens/list/list-icon.js b/src/screens/list/list-icon.js index d89451ff9..347e6328c 100644 --- a/src/screens/list/list-icon.js +++ b/src/screens/list/list-icon.js @@ -58,7 +58,7 @@ class NHListIcon extends Component { diff --git a/src/screens/picker/backButtonPicker.js b/src/screens/picker/backButtonPicker.js index 302cc1a3e..2748db644 100644 --- a/src/screens/picker/backButtonPicker.js +++ b/src/screens/picker/backButtonPicker.js @@ -47,7 +47,7 @@ class RegularPicker extends Component {
} + iosIcon={} headerBackButtonText="Baaack!" style={{ width: undefined }} selectedValue={this.state.selected3} diff --git a/src/screens/picker/customHeaderPicker.js b/src/screens/picker/customHeaderPicker.js index a7d085538..06564129a 100644 --- a/src/screens/picker/customHeaderPicker.js +++ b/src/screens/picker/customHeaderPicker.js @@ -59,7 +59,7 @@ class RegularPicker extends Component { } mode="dropdown" - iosIcon={} + iosIcon={} style={{ width: undefined }} selectedValue={this.state.selected1} onValueChange={this.onValueChange.bind(this)} diff --git a/src/screens/picker/headerPicker.js b/src/screens/picker/headerPicker.js index 6213cc96f..24f827bc9 100644 --- a/src/screens/picker/headerPicker.js +++ b/src/screens/picker/headerPicker.js @@ -51,7 +51,7 @@ class RegularPicker extends Component { } + iosIcon={} style={{ width: Platform.OS === "ios" ? undefined : 120 }} selectedValue={this.state.selected4} onValueChange={this.onValueChange4.bind(this)} diff --git a/src/screens/picker/headerStylePicker.js b/src/screens/picker/headerStylePicker.js index dc947d3cc..ed71d26bc 100644 --- a/src/screens/picker/headerStylePicker.js +++ b/src/screens/picker/headerStylePicker.js @@ -47,7 +47,7 @@ class RegularPicker extends Component { } + iosIcon={} headerStyle={{ backgroundColor: "#b95dd3" }} headerBackButtonTextStyle={{ color: "#fff" }} headerTitleStyle={{ color: "#fff" }} diff --git a/src/screens/picker/picker-text-itemtext.js b/src/screens/picker/picker-text-itemtext.js index 5d579796a..3ed8884d2 100644 --- a/src/screens/picker/picker-text-itemtext.js +++ b/src/screens/picker/picker-text-itemtext.js @@ -47,7 +47,7 @@ class PickerTextItemText extends Component { } + iosIcon={} style={{ width: undefined }} placeholder="Select your SIM" textStyle={{ color: "#5cb85c" }} diff --git a/src/screens/picker/picker-with-icon.js b/src/screens/picker/picker-with-icon.js index 12f34919c..f32d14e83 100644 --- a/src/screens/picker/picker-with-icon.js +++ b/src/screens/picker/picker-with-icon.js @@ -48,7 +48,7 @@ class PickerWithIcon extends Component { } + iosIcon={} style={{ width: undefined }} selectedValue={this.state.selected1} onValueChange={this.onValueChange.bind(this)} diff --git a/src/screens/picker/placeholderPicker.js b/src/screens/picker/placeholderPicker.js index f058f19b8..4fc58e1b9 100644 --- a/src/screens/picker/placeholderPicker.js +++ b/src/screens/picker/placeholderPicker.js @@ -47,7 +47,7 @@ class RegularPicker extends Component { } + iosIcon={} style={{ width: undefined }} placeholder="Select your SIM" placeholderStyle={{ color: "#bfc6ea" }} From bf8ddd2a6da6dc0a494a3d333ee9699fac7765eb Mon Sep 17 00:00:00 2001 From: Suvendu Kumar Date: Mon, 11 Feb 2019 12:57:01 +0530 Subject: [PATCH 2/2] NBKS App with NB(2.11.0), RN(0.58.3) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f67290240..c33d64cfd 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "color": "1.0.3", "lodash": "4.17.10", "moment": "2.13.0", - "native-base": "https://github.com/GeekyAnts/NativeBase#master", + "native-base": "2.11.0", "prop-types": "^15.6.2", "react": "16.5.0", "react-native": "0.58.3",