Skip to content

Commit f3e3512

Browse files
committed
Merge branch 'master' into release
2 parents 000576a + 85157b1 commit f3e3512

File tree

19 files changed

+114
-38
lines changed

19 files changed

+114
-38
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ When contributing to this repository, please first discuss the change you wish t
77

88
## Pull Request Process
99

10-
1. First make sure the environment is working and synced with master. For installation details go [here](https://github.com/wix/react-native-ui-lib/blob/master/markdowns/getting-started/setup.md#demo-app)
10+
1. First make sure the environment is working and synced with master. For installation details go [here](https://wix.github.io/react-native-ui-lib/docs/getting-started/setup#demo-app)
1111
2. Before submitting a PR we suggest running `npm run pre-push` command that verifies our lint, TS and tests were not broken.
1212
3. Please use our PR prefixes accordingly. `fix` for bugfix, `feat` for feature, `infra` for infrastructure changes and `docs` for documentation related changes (e.g `fix/ButtonStyle`, `feat/Avatar_colorProp`)
1313
4. Please don't change our PR template.

android/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,20 @@ buildscript {
3333

3434
allprojects {
3535
repositories {
36+
exclusiveContent {
37+
// We get React Native's Android binaries exclusively through npm,
38+
// from a local Maven repo inside node_modules/react-native/.
39+
// (The use of exclusiveContent prevents looking elsewhere like Maven Central
40+
// and potentially getting a wrong version.)
41+
filter {
42+
includeGroup "com.facebook.react"
43+
}
44+
forRepository {
45+
maven {
46+
url "$rootDir/../node_modules/react-native/android"
47+
}
48+
}
49+
}
3650
maven {
3751
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
3852
url("$rootDir/../node_modules/react-native/android")

demo/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unicorn-demo-app",
3-
"version": "1.1.14",
3+
"version": "1.1.16",
44
"main": "src/index.js",
55
"author": "Ethan Sharabi <[email protected]>",
66
"license": "MIT",
@@ -20,8 +20,8 @@
2020
"shell-utils": "^1.0.10"
2121
},
2222
"peerDependencies": {
23-
"react": "^16.0.0",
24-
"react-native": "^0.51.0",
23+
"react": "^18.0.0",
24+
"react-native": "^0.69.1",
2525
"react-native-ui-lib": "*",
2626
"semver": "^5.5.0"
2727
}

demo/src/screens/componentScreens/PickerScreen.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ export default class PickerScreen extends Component {
126126
<Picker
127127
title="Wheel Picker"
128128
placeholder="Pick a Language"
129-
// useNativePicker
130-
useWheelPicker
129+
useNativePicker
130+
// useWheelPicker
131131
value={this.state.nativePickerValue}
132132
onChange={nativePickerValue => this.setState({nativePickerValue})}
133133
rightIconSource={dropdown}

expoDemo/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import 'react-native-gesture-handler';
12
import React from 'react';
23
import {AppRegistry} from 'react-native';
34
import {map} from 'lodash';

expoDemo/babel.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
module.exports = function(api) {
1+
module.exports = function (api) {
22
api.cache(true);
33
return {
44
presets: ['babel-preset-expo'],
5+
plugins: ['react-native-reanimated/plugin']
56
};
67
};

expoDemo/package.json

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,30 @@
88
"eject": "expo eject"
99
},
1010
"dependencies": {
11-
"@react-navigation/native": "^6.0.4",
12-
"@react-navigation/stack": "^6.0.9",
13-
"expo": "~42.0.1",
14-
"expo-status-bar": "~1.0.4",
11+
"@react-native/normalize-color": "^2.0.0",
12+
"@react-navigation/native": "^6.0.13",
13+
"@react-navigation/stack": "^6.0.13",
14+
"expo": "^46.0.0",
15+
"expo-status-bar": "~1.4.0",
1516
"fuzzysearch": "^1.0.3",
1617
"lodash": "^4.17.21",
17-
"react": "16.13.1",
18-
"react-dom": "16.13.1",
19-
"react-native": "https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz",
20-
"react-native-gesture-handler": "~1.10.2",
21-
"react-native-reanimated": "~2.2.0",
22-
"react-native-safe-area-context": "3.2.0",
23-
"react-native-screens": "~3.4.0",
24-
"react-native-svg": "12.1.1",
18+
"react": "18.0.0",
19+
"react-dom": "18.0.0",
20+
"react-native": "0.69.6",
21+
"react-native-gesture-handler": "~2.5.0",
22+
"react-native-reanimated": "~2.9.1",
23+
"react-native-safe-area-context": "4.3.1",
24+
"react-native-screens": "~3.15.0",
25+
"react-native-svg": "12.3.0",
2526
"react-native-ui-lib": "snapshot",
26-
"react-native-web": "~0.13.12",
27+
"react-native-web": "~0.18.7",
2728
"unicorn-demo-app": "snapshot"
28-
},
29+
},
2930
"devDependencies": {
30-
"@babel/core": "^7.9.0",
31-
"@types/react": "~16.9.35",
32-
"@types/react-native": "~0.63.2",
33-
"typescript": "~4.0.0"
31+
"@babel/core": "^7.18.6",
32+
"@types/react": "~18.0.0",
33+
"@types/react-native": "~0.69.1",
34+
"typescript": "^4.6.3"
3435
},
3536
"private": true
3637
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"react-native-gesture-handler": "2.5.0",
108108
"react-native-haptic-feedback": "^1.11.0",
109109
"react-native-linear-gradient": "2.5.6",
110-
"react-native-navigation": "7.29.0",
110+
"react-native-navigation": "7.30.0",
111111
"react-native-reanimated": "2.8.0",
112112
"react-native-shimmer-placeholder": "^2.0.6",
113113
"react-native-svg": "^12.1.0",

src/components/dash/dash.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Dash",
3-
"category": "lists",
3+
"category": "infra",
44
"description": "Dashed line Component",
55
"images": [],
66
"props": [

src/components/gradient/Gradient.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Gradient",
3-
"category": "overlays",
3+
"category": "infra",
44
"description": "Gradient Component",
55
"images": [],
66
"props": [

0 commit comments

Comments
 (0)