react-native-wheel-pick 1.1.6 → 1.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +12 -7
- package/android/build.gradle +1 -1
- package/package.json +1 -5
package/NOTICE
CHANGED
|
@@ -12,5 +12,5 @@ https://github.com/lesliesam/react-native-wheel-picker
|
|
|
12
12
|
This project contains code copied from @wusuopu/react-native-wheel-picker:
|
|
13
13
|
https://github.com/wusuopu/react-native-wheel-picker
|
|
14
14
|
|
|
15
|
-
This project contains code copied from @pinguinjkeke/react-native-wheel-datepicker
|
|
15
|
+
This project contains code copied from @pinguinjkeke/react-native-wheel-datepicker:
|
|
16
16
|
https://github.com/pinguinjkeke/react-native-wheel-datepicker
|
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ React native wheel picker for both iOS and android. (Support DatePicker)
|
|
|
5
5
|
|
|
6
6
|
This is not original but inspired by [react-native-wheel-datepicker](https://github.com/pinguinjkeke/react-native-wheel-datepicker)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
## Preview
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
@@ -13,13 +13,13 @@ This is not original but inspired by [react-native-wheel-datepicker](https://git
|
|
|
13
13
|
|
|
14
14
|
- For Picker of iOS use [@react-native-picker/picker](https://github.com/react-native-picker/picker)
|
|
15
15
|
- For DatePicker of iOS use [@react-native-community/datetimepicker](https://github.com/react-native-datetimepicker/datetimepicker)
|
|
16
|
-
- For Picker and DatePicker of Android use WheelPicker of [
|
|
16
|
+
- For Picker and DatePicker of Android use WheelPicker of [AigeStudio](https://github.com/AigeStudio/WheelPicker)
|
|
17
17
|
|
|
18
18
|
## How to use
|
|
19
19
|
|
|
20
20
|
React Native >= 0.60+
|
|
21
21
|
```
|
|
22
|
-
npm install react-native-wheel-pick
|
|
22
|
+
npm install react-native-wheel-pick --save --legacy-peer-deps
|
|
23
23
|
npm install @react-native-picker/picker --save
|
|
24
24
|
npm install @react-native-community/datetimepicker --save
|
|
25
25
|
npx pod-install
|
|
@@ -123,6 +123,13 @@ import { Picker, DatePicker } from 'react-native-wheel-pick';
|
|
|
123
123
|
```
|
|
124
124
|
## Release Note
|
|
125
125
|
|
|
126
|
+
### 1.1.9 (July 3 2022)
|
|
127
|
+
- Support for peer dependencies React 18 by `--legacy-peer-deps`
|
|
128
|
+
|
|
129
|
+
### 1.1.7 (June 21 2022)
|
|
130
|
+
[Android]
|
|
131
|
+
- compileSdk -> compileSdkVersion
|
|
132
|
+
|
|
126
133
|
### 1.1.6 (June 20 2022)
|
|
127
134
|
- Add more step for How to use
|
|
128
135
|
|
|
@@ -144,9 +151,7 @@ import { Picker, DatePicker } from 'react-native-wheel-pick';
|
|
|
144
151
|
|
|
145
152
|
[Android]
|
|
146
153
|
- Update sdk support for SDK Version 30 (Google Play need sdk version 30+)
|
|
147
|
-
- Now android support for style of selectLine / selectBackground. Special thanks to [@kaisv7n](https://github.com/kaisv7n) for his pull request,
|
|
148
|
-
[Update WheelPicker version, exposed more methods and fixed crash on android](https://github.com/TronNatthakorn/react-native-wheel-pick/pull/12) I changed prop name for more understandable.
|
|
149
|
-
|
|
154
|
+
- Now android support for style of selectLine / selectBackground. Special thanks to [@kaisv7n](https://github.com/kaisv7n) for his pull request, [Update WheelPicker version, exposed more methods and fixed crash on android](https://github.com/TronNatthakorn/react-native-wheel-pick/pull/12) I changed prop name for more understandable.
|
|
150
155
|
- DatePicker of Android also support width.
|
|
151
156
|
- Deprecated some android prop that make library faster. (Atmospheric / Curved / visibleItemCount / itemSpace)
|
|
152
157
|
If you want it back pull request are welcome.
|
|
@@ -156,7 +161,7 @@ If you want it back pull request are welcome.
|
|
|
156
161
|
[IOS]
|
|
157
162
|
- Do not use PickerIOS and DatePickerIOS of 'react-native' anymore.
|
|
158
163
|
|
|
159
|
-
|
|
164
|
+
## FYI
|
|
160
165
|
|
|
161
166
|
For version 1.1.3 - I update this library support for React Native Version 0.68.2 / Android 11 / iOS 15.2
|
|
162
167
|
|
package/android/build.gradle
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-wheel-pick",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
4
4
|
"description": "React native wheel picker iOS style with android.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,13 +22,9 @@
|
|
|
22
22
|
"url": "https://github.com/TronNatthakorn/react-native-wheel-pick/issues"
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://github.com/TronNatthakorn/react-native-wheel-pick#readme",
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"moment": "^2.19.1"
|
|
27
|
-
},
|
|
28
25
|
"peerDependencies": {
|
|
29
26
|
"moment": ">=2.0.0",
|
|
30
27
|
"prop-types": "*",
|
|
31
|
-
"react-native": ">=0.45.0",
|
|
32
28
|
"deprecated-react-native-prop-types": ">=2.3.0",
|
|
33
29
|
"@react-native-community/datetimepicker": ">=6.1.3",
|
|
34
30
|
"@react-native-picker/picker": ">=2.4.1"
|