Skip to content

Commit e63e6ee

Browse files
authored
Merge pull request #41 from creativetimofficial/symphony-dev
Updated-v1
2 parents ce32ff2 + 4dbb23b commit e63e6ee

File tree

4 files changed

+114
-30
lines changed

4 files changed

+114
-30
lines changed

CHANGELOG.md

+48-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,39 @@
1+
## [1.5.1] 2022-07-20
2+
3+
### Updated dependencies
4+
5+
- Fixed the dual header shown issue.
6+
- Updated @react-native-masked-view/masked-view@0.2.4 to @react-native-masked-view/masked-view@0.2.6
7+
- Updated expo@^42.0.0 to expo@45.0.0
8+
- Updated expo-app-loading@~1.1.2 to expo-app-loading@2.0.0
9+
- Updated expo-expo-asset@~8.3.2 to expo-asset@8.5.0
10+
- Updated expo-font@~9.2.1 to expo-font@10.1.0
11+
- Updated expo-module-core@^0.2.0 to expo-module-core@0.9.2
12+
- Updated react@16.13.1 to react@17.0.2
13+
- Updated react-native@42.0.0 to react@0.68.2
14+
- Updated react-native-gesture-handler@^1.10.3 to react-native-gesture-handler@2.2.1
15+
- Updated react-native-reanimated@~2.2.0 to react-native-reanimated@2.8.0
16+
- Updated react-native-safe-area-context@3.2.0 to react-native-safe-area-context@4.2.4
17+
- Updated react-native-screens@~3.4.0 to react-native-screens@3.11.1
18+
- Updated react-native-svg@12.1.1 to react-native-screens@12.3.0
19+
- Updated dev dependencies
20+
- Updated babel-preset-expo@8.3.0 to babel-preset-expo@9.1.0
21+
- Updated Babel Config
22+
- Added a new plugin of react-native-reanimated/plugin
23+
124
## [1.5.0] 2022-04-12
25+
226
### Updated dependencies
3-
- dependencies updated
4-
- `expo` module core added
27+
28+
- dependencies updated
29+
- `expo` module core added
530
- `stackNavigator` and `drawerNavigation` changes (color scheme set)
631
- syntax update in header `Shown`
732

833
## [1.4.0] 2020 - 03 - 08
34+
935
### Updated dependencies
36+
1037
- updated `@react-navigation/drawer@5.8.1` to `@react-navigation/drawer@5.12.4`
1138
- updated `@react-navigation/native@5.5.0` to `@react-navigation/native@5.9.3`
1239
- updated `@react-navigation/stack@5.4.1` to `@react-navigation/stack@5.14.3`
@@ -20,10 +47,13 @@
2047
- added `expo-app-loading@1.01`
2148

2249
### Updated files
50+
2351
- `useNativeDriver` warning solved for `Tabs.js`
2452

2553
## [1.3.0] 2020 - 11 - 06
54+
2655
### Updated dependencies
56+
2757
- updated `@react-native-community/masked-view@0.1.6` to `@react-native-community/masked-view@0.1.10`
2858
- updated `expo@37` to `expo@39`
2959
- updated `expo-asset@8.1.5` to `expo-asset@8.2.0`
@@ -37,16 +67,20 @@
3767
- updated `react-native-screens@2.2.0` to `react-native-screens@2.10.1`
3868
- updated `react-native-svg@11.0.1` to `react-native-svg@12.1.0`
3969
- changed the git source for react-native-modal-dropdown
70+
4071
### Updated files
72+
4173
- App.js - removed `packagerOpts` which solved Expo failed loading
4274
- Components.js - fixed layout for ScrollView, Horizontal Gallery and Select positioning
4375
- Header.js - fixed search input autofocusing and creating an error where the back button wouldn't work anymore keeping the user in a loop
4476

4577
## [1.2.0] 2020 - 06 - 20
78+
4679
### Updated dependencies
80+
4781
- updated `expo-asset@8.0.0` to `expo-asset@8.1.5`
4882
- updated `expo-font@8.0.0` to `expo-font@8.1.0`
49-
- updated `react-native-gesture-handler@1.5.0` to `react-native-gesture-handler@1.6.0`
83+
- updated `react-native-gesture-handler@1.5.0` to `react-native-gesture-handler@1.6.0`
5084
- updated `react-native-reanimated@1.4.0` to `react-native-reanimated@1.7.0`
5185
- updated `react-native-screens@2.0.0-alpha.12` to `react-native-screens@2.2.0`
5286
- updated `react-native-safe-area-context@0.6.0` to `react-native-safe-area-context@0.7.3`
@@ -61,15 +95,20 @@
6195
- updated `@react-navigation/drawer@5.0.0` to `@react-navigation/drawer@5.8.1`
6296

6397
### Updated files
98+
6499
- change function for fontLoading in `App.js`, this should fix the often occurrence of the error
65100
- 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
66101
- edited `Header.js` in order to fix the Pro routing error
67102
- edited `Screens.js` and fixed the headerless Components Screen
68103

69104
## [1.1.0] 2020 - 03 - 12
105+
70106
### Removed dependencies
107+
71108
- removed `react-navigation@4.0.10`
109+
72110
### Added dependencies
111+
73112
- added `@react-navigation/compat@5.0.0`
74113
- added `@react-navigation/drawer@5.0.0`
75114
- added `@react-navigation/native@5.0.0`
@@ -78,20 +117,26 @@
78117
- added `react-native-reanimated@1.4.0`
79118
- added `react-native-safe-area-context@0.6.0`
80119
- added `react-native-screeens@2.0.0-alpha.12`
120+
81121
### Updated dependencies
122+
82123
- updated `expo@35.0.0` to `expo@36.0.1`
83124
- updated `expo-asset@7.0.0` to `expo-asset@8.0.0`
84125
- updated `expo-font@7.0.0` to `expo-font@8.0.0`
85126
- updated `react@16.8.3` to `react@16.9.0`
86127
- updated `babel-preset-expo@7.1.0` to `babel-preset-expo@8.0.0`
128+
87129
### Updated files
130+
88131
- changed the whole routing from `Screens.js` because `react-navigation@5.0.0` has a new dynamic API
89132
- changed `Menu.js` for a new Drawer custom component
90133
- changed `DrawerItem.js` for a new type of `<DrawerCustomItem />`
91134
- changed props and variables so that the new `react-navigation` API could work with the following files: `Header.js`, `Pro.js`, `Settings.js`, `Search.js`, `Cart.js`, 'Card.js`, `Onboarding.js`
92135

93136
## [1.0.1] 2019-11-12
137+
94138
### HotFix
139+
95140
- small fix on responsive for Profile Page
96141
- added pre-cache for images for a faster experience
97142

babel.config.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1-
module.exports = function(api) {
1+
module.exports = function (api) {
22
api.cache(true);
33
return {
44
presets: ['babel-preset-expo'],
5+
plugins: [
6+
[
7+
'module-resolver',
8+
{
9+
extensions: ['.tsx', '.ts', '.js', '.json'],
10+
},
11+
],
12+
'react-native-reanimated/plugin',
13+
],
514
};
615
};

navigation/Screens.js

+35-5
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,41 @@ function AppStack(props) {
191191
}}
192192
initialRouteName="Home"
193193
>
194-
<Drawer.Screen name="Home" component={HomeStack} />
195-
<Drawer.Screen name="Components" component={ComponentsStack} />
196-
<Drawer.Screen name="Articles" component={ArticlesStack} />
197-
<Drawer.Screen name="Profile" component={ProfileStack} />
198-
<Drawer.Screen name="Account" component={AccountStack} />
194+
<Drawer.Screen
195+
name="Home"
196+
component={HomeStack}
197+
options={{
198+
headerShown: false,
199+
}}
200+
/>
201+
<Drawer.Screen
202+
name="Components"
203+
component={ComponentsStack}
204+
options={{
205+
headerShown: false,
206+
}}
207+
/>
208+
<Drawer.Screen
209+
name="Articles"
210+
component={ArticlesStack}
211+
options={{
212+
headerShown: false,
213+
}}
214+
/>
215+
<Drawer.Screen
216+
name="Profile"
217+
component={ProfileStack}
218+
options={{
219+
headerShown: false,
220+
}}
221+
/>
222+
<Drawer.Screen
223+
name="Account"
224+
component={AccountStack}
225+
options={{
226+
headerShown: false,
227+
}}
228+
/>
199229
</Drawer.Navigator>
200230
);
201231
}

package.json

+21-21
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,31 @@
1515
"url": "git+https://github.com/creativetimofficial/now-ui-react-native.git"
1616
},
1717
"dependencies": {
18-
"@react-native-masked-view/masked-view": "0.2.4",
19-
"@react-navigation/bottom-tabs": "^6.3.1",
20-
"@react-navigation/compat": "^5.1.25",
18+
"@react-native-masked-view/masked-view": "0.2.6",
19+
"@react-navigation/bottom-tabs": "6.3.1",
20+
"@react-navigation/compat": "5.1.25",
2121
"@react-navigation/drawer": "6.4.1",
22-
"@react-navigation/native": "^6.0.10",
23-
"@react-navigation/stack": "^6.2.1",
24-
"expo": "^42.0.0",
25-
"expo-app-loading": "1.1.2",
26-
"expo-asset": "~8.3.2",
27-
"expo-font": "~9.2.1",
28-
"expo-modules-core": "^0.2.0",
29-
"galio-framework": "^0.8.0",
30-
"prop-types": "^15.7.2",
31-
"react": "16.13.1",
32-
"react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
33-
"react-native-gesture-handler": "^1.10.3",
22+
"@react-navigation/native": "6.0.10",
23+
"@react-navigation/stack": "6.2.1",
24+
"expo": "45.0.0",
25+
"expo-app-loading": "2.0.0",
26+
"expo-asset": "8.5.0",
27+
"expo-font": "10.1.0",
28+
"expo-modules-core": "0.9.2",
29+
"galio-framework": "0.8.0",
30+
"prop-types": "15.7.2",
31+
"react": "17.0.2",
32+
"react-native": "0.68.2",
33+
"react-native-gesture-handler": "2.2.1",
3434
"react-native-modal-dropdown": "git+https://github.com/siemiatj/react-native-modal-dropdown.git",
35-
"react-native-reanimated": "~2.2.0",
36-
"react-native-safe-area-context": "3.2.0",
37-
"react-native-screens": "~3.4.0",
38-
"react-native-svg": "12.1.1"
35+
"react-native-reanimated": "2.8.0",
36+
"react-native-safe-area-context": "4.2.4",
37+
"react-native-screens": "3.11.1",
38+
"react-native-svg": "12.3.0"
3939
},
4040
"devDependencies": {
41-
"babel-eslint": "^10.0.3",
42-
"babel-preset-expo": "8.3.0"
41+
"babel-eslint": "10.0.3",
42+
"babel-preset-expo": "9.1.0"
4343
},
4444
"keywords": [
4545
"now react native",

0 commit comments

Comments
 (0)