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 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
- # Preview
8
+ ## Preview
9
9
 
10
10
  ![](https://i.ibb.co/4W7h12M/rn-wl-pk-1-1-13.png)
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 [WheelPicker](https://github.com/AigeStudio/WheelPicker)
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
- # FYI
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
 
@@ -11,7 +11,7 @@ apply plugin: 'com.android.library'
11
11
  //}
12
12
 
13
13
  android {
14
- compileSdk 30
14
+ compileSdkVersion 30
15
15
  /// buildToolsVersion '30.0.2'
16
16
  defaultConfig {
17
17
  minSdkVersion 16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-wheel-pick",
3
- "version": "1.1.6",
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"