@amabeth/repeating-wheel-picker 1.0.0 → 1.1.0

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.
Files changed (2) hide show
  1. package/README.md +15 -2
  2. package/package.json +11 -5
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Readme
2
2
 
3
- A React Native wheel picker that allows endless scrolling through repeating content
3
+ A React Native wheel picker that allows endless scrolling through repeating content.
4
+ Supports custom types for picker data.
5
+
4
6
 
5
7
  ## Installation
6
8
 
@@ -8,8 +10,8 @@ A React Native wheel picker that allows endless scrolling through repeating cont
8
10
  npm install repeating-wheel-picker
9
11
  ```
10
12
 
11
- ## Usage
12
13
 
14
+ ## Usage
13
15
 
14
16
  ```tsx
15
17
  import RepeatingWheelPicker, {
@@ -29,16 +31,27 @@ return (
29
31
  ```
30
32
 
31
33
 
34
+ ## Example
35
+
36
+ ![](./assets/example-string-picker.gif) ![](./assets/example-custom-type-picker.gif)
37
+
38
+ ![](./assets/example-number-picker.gif) ![](./assets/example-boolean-picker.gif)
39
+
40
+
32
41
  ## Contributing
33
42
 
34
43
  Contributions are currently not intended.
35
44
 
45
+
36
46
  ## License
37
47
 
38
48
  [MIT](LICENSE)
39
49
 
50
+
40
51
  ## [Changelog](CHANGELOG.md)
41
52
 
53
+
42
54
  ## [Impressum / Imprint](https://amabeth.github.io/#imprint)
43
55
 
56
+
44
57
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amabeth/repeating-wheel-picker",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "A React Native wheel picker that allows endless scrolling through repeating content",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "!**/.*"
33
33
  ],
34
34
  "scripts": {
35
- "example": "yarn workspace repeating-wheel-picker-example",
35
+ "example": "cd example & npm start",
36
36
  "test": "jest",
37
37
  "typecheck": "tsc",
38
38
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
@@ -44,7 +44,11 @@
44
44
  "keywords": [
45
45
  "react-native",
46
46
  "ios",
47
- "android"
47
+ "android",
48
+ "expo",
49
+ "wheel",
50
+ "picker",
51
+ "wheel-picker"
48
52
  ],
49
53
  "repository": {
50
54
  "type": "git",
@@ -55,10 +59,13 @@
55
59
  "bugs": {
56
60
  "url": "https://github.com/amabeth/repeating-wheel-picker/issues"
57
61
  },
58
- "homepage": "https://github.com/amabeth/repeating-wheel-picker#readme",
62
+ "homepage": "https://amabeth.github.io/repeating-wheel-picker",
59
63
  "publishConfig": {
60
64
  "registry": "https://registry.npmjs.org/"
61
65
  },
66
+ "dependencies": {
67
+ "expo-linear-gradient": "^14.1.5"
68
+ },
62
69
  "devDependencies": {
63
70
  "@commitlint/config-conventional": "^19.6.0",
64
71
  "@eslint/compat": "^1.3.1",
@@ -85,7 +92,6 @@
85
92
  "typescript": "^5.8.3"
86
93
  },
87
94
  "peerDependencies": {
88
- "expo-linear-gradient": "^14.1.5",
89
95
  "react": "19.0.0",
90
96
  "react-native": "0.79.5"
91
97
  },