Skip to content

Commit 92ff329

Browse files
Merge pull request #34 from creativetimofficial/v1.3.0
V1.3.0
2 parents 285adf1 + 0a31ff5 commit 92ff329

File tree

7 files changed

+67
-31
lines changed

7 files changed

+67
-31
lines changed

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
## [1.3.0] 2020 - 11 - 06
2+
### Updated dependencies
3+
- updated `@react-native-community/[email protected]` to `@react-native-community/[email protected]`
4+
- updated `expo@37` to `expo@39`
5+
6+
7+
8+
9+
- updated `react-native SDK@37` to `react-native SDK@39`
10+
11+
12+
13+
14+
15+
- changed the git source for react-native-modal-dropdown
16+
### Updated files
17+
- App.js - removed `packagerOpts` which solved Expo failed loading
18+
- Components.js - fixed layout for ScrollView, Horizontal Gallery and Select positioning
19+
- Header.js - fixed search input autofocusing and creating an error where the back button wouldn't work anymore keeping the user in a loop
20+
21+
## [1.2.0] 2020 - 06 - 20
22+
### Updated dependencies
23+
24+
25+
26+
27+
28+
29+
- updated `@react-native-community/[email protected]` to `@react-native-community/[email protected]`
30+
- updated `react-native [email protected]` to `react-native [email protected]`
31+
32+
- updated `Expo @36.0.0` to `Expo @37.0.0`
33+
- updated `@react-navigation/[email protected]` to `@react-navigation/[email protected]`
34+
- updated `@react-navigation/[email protected]` to `@react-navigation/[email protected]`
35+
- updated `@react-navigation/[email protected]` to `@react-navigation/[email protected]`
36+
- updated `@react-navigation/[email protected]` to `@react-navigation/[email protected]`
37+
- updated `@react-navigation/[email protected]` to `@react-navigation/[email protected]`
38+
39+
### Updated files
40+
- change function for fontLoading in `App.js`, this should fix the often occurrence of the error
41+
- moved `assets/font/now.json` to `assets/config/now.json` in order to make sure there wouldn't be any issue with the build for Android
42+
- edited `Header.js` in order to fix the Pro routing error
43+
- edited `Screens.js` and fixed the headerless Components Screen
44+
145
## [1.1.0] 2020 - 03 - 12
246
### Removed dependencies
347
- removed `[email protected]`

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# [Now UI React Native](https://creativetimofficial.github.io/now-ui-react-native/docs/#) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social&logo=twitter)](https://twitter.com/home?status=now-ui%20React%20Native,%20a%20cool%20NowUI%20React%20Native%20App%20Template%20%E2%9D%A4%EF%B8%8F%20https%3A//bit.ly/2KAj86H%20%23reactnative%20%23NowUI%20%23designsystem%20%23developers%20via%20%40CreativeTim)
22

33

4-
![version](https://img.shields.io/badge/version-1.2.0-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/now-ui-react-native.svg?style=flat)](https://github.com/creativetimofficial/now-ui-react-native/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/creativetimofficial/now-ui-react-native.svg?maxAge=2592000)](https://github.com/creativetimofficial/now-ui-react-native/issues?q=is%3Aissue+is%3Aclosed)
4+
![version](https://img.shields.io/badge/version-1.3.0-blue.svg) [![GitHub issues open](https://img.shields.io/github/issues/creativetimofficial/now-ui-react-native.svg?style=flat)](https://github.com/creativetimofficial/now-ui-react-native/issues?q=is%3Aopen+is%3Aissue) [![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/creativetimofficial/now-ui-react-native.svg?maxAge=2592000)](https://github.com/creativetimofficial/now-ui-react-native/issues?q=is%3Aissue+is%3Aclosed)
55

66

77
![Product Gif](https://raw.githubusercontent.com/creativetimofficial/public-assets/master/now-ui-react-native/opt_nurn_thumbnail.jpg)

app.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"name": "Now UI React Native",
44
"slug": "now-ui-react-native",
55
"privacy": "public",
6-
"sdkVersion": "37.0.0",
6+
"sdkVersion": "39.0.0",
77
"platforms": [
88
"ios",
99
"android"
1010
],
11-
"version": "1.2.0",
11+
"version": "1.3.0",
1212
"orientation": "portrait",
1313
"icon": "./assets/icon.png",
1414
"splash": {
@@ -25,11 +25,6 @@
2525
"ios": {
2626
"supportsTablet": true
2727
},
28-
"packagerOpts": {
29-
"assetExts": [
30-
"ttf"
31-
]
32-
},
3328
"description": "Now UI React Native, based on Now UI Design System. Coded by Creative Tim"
3429
}
3530
}

components/Header.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { withNavigation } from '@react-navigation/compat';
3-
import { TouchableOpacity, StyleSheet, Platform, Dimensions } from 'react-native';
3+
import { TouchableOpacity, StyleSheet, Platform, Dimensions, Keyboard } from 'react-native';
44
import { Button, Block, NavBar, Text, theme, Button as GaButton } from 'galio-framework';
55

66
import Icon from './Icon';
@@ -115,7 +115,7 @@ class Header extends React.Component {
115115
style={styles.search}
116116
placeholder="What are you looking for?"
117117
placeholderTextColor={'#8898AA'}
118-
onFocus={() => navigation.navigate('Pro')}
118+
onFocus={() => {Keyboard.dismiss(); navigation.navigate('Pro')}}
119119
iconContent={
120120
<Icon size={16} color={theme.COLORS.MUTED} name="zoom-bold2x" family="NowExtra" />
121121
}

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "now-ui-react-native",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"description": "Now UI React Native, based on Now UI Design System. Coded by Creative Tim",
55
"main": "node_modules/expo/AppEntry.js",
66
"scripts": {
@@ -15,29 +15,29 @@
1515
"url": "git+https://github.com/creativetimofficial/now-ui-react-native.git"
1616
},
1717
"dependencies": {
18-
"@react-native-community/masked-view": "0.1.6",
18+
"@react-native-community/masked-view": "0.1.10",
1919
"@react-navigation/bottom-tabs": "^5.5.1",
2020
"@react-navigation/compat": "^5.1.25",
2121
"@react-navigation/drawer": "5.8.1",
2222
"@react-navigation/native": "5.5.0",
2323
"@react-navigation/stack": "5.4.1",
24-
"expo": "^37.0.0",
25-
"expo-asset": "~8.1.5",
26-
"expo-font": "~8.1.0",
27-
"galio-framework": "^0.6.3",
24+
"expo": "^39.0.0",
25+
"expo-asset": "~8.2.0",
26+
"expo-font": "~8.3.0",
27+
"galio-framework": "^0.7.1",
2828
"prop-types": "^15.7.2",
29-
"react": "16.9.0",
30-
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
31-
"react-native-gesture-handler": "~1.6.0",
32-
"react-native-modal-dropdown": "^0.7.0",
33-
"react-native-reanimated": "~1.7.0",
34-
"react-native-svg": "11.0.1",
35-
"react-native-safe-area-context": "0.7.3",
36-
"react-native-screens": "~2.2.0"
29+
"react": "16.13.1",
30+
"react-native": "https://github.com/expo/react-native/archive/sdk-39.0.3.tar.gz",
31+
"react-native-gesture-handler": "~1.7.0",
32+
"react-native-modal-dropdown": "git+https://github.com/siemiatj/react-native-modal-dropdown.git",
33+
"react-native-reanimated": "~1.13.0",
34+
"react-native-svg": "12.1.0",
35+
"react-native-safe-area-context": "3.1.4",
36+
"react-native-screens": "~2.10.1"
3737
},
3838
"devDependencies": {
3939
"babel-eslint": "^10.0.3",
40-
"babel-preset-expo": "^8.2.1"
40+
"babel-preset-expo": "^8.3.0"
4141
},
4242
"keywords": [
4343
"now react native",

screens/Components.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class Components extends React.Component {
110110
</Button>
111111
</Block>
112112
<Block row space="between">
113-
<Block flex left>
113+
<Block flex left style={{marginTop: 8}}>
114114
<Select defaultIndex={1} options={['01', '02', '03', '04', '05']} />
115115
</Block>
116116
<Block flex>
@@ -511,9 +511,6 @@ class Components extends React.Component {
511511
showsHorizontalScrollIndicator={false}
512512
showsVerticalScrollIndicator={false}
513513
scrollEventThrottle={16}
514-
onScroll={Animated.event([
515-
{ nativeEvent: { contentOffset: { x: this.scrollX } } },
516-
])}
517514
contentContainerStyle={{
518515
width: width * 2
519516
}}>
@@ -557,7 +554,7 @@ class Components extends React.Component {
557554
<Block flex center>
558555
<ScrollView
559556
showsVerticalScrollIndicator={false}
560-
contentContainerStyle={{ paddingBottom: 30 }}
557+
contentContainerStyle={{ paddingBottom: 30, width }}
561558
>
562559
{this.renderButtons()}
563560
{this.renderText()}

screens/Profile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const Profile = () => {
109109
<Block
110110
middle
111111
row
112-
style={{ position: 'absolute', width: width, top: height * 0.6 - 22, zIndex: 99 }}
112+
style={{ position: 'absolute', width: width, top: height * 0.6 - 26, zIndex: 99 }}
113113
>
114114
<Button style={{ width: 114, height: 44, marginHorizontal: 5, elevation: 0 }} textStyle={{ fontSize: 16 }} round>
115115
Follow

0 commit comments

Comments
 (0)