Skip to content

Commit 066e8fa

Browse files
fix: remove unused dependency and readme improvements
1 parent 0383c54 commit 066e8fa

File tree

4 files changed

+33
-29
lines changed

4 files changed

+33
-29
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: ['https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7B9KKQLXTEW9Q&source=url']

README.md

Lines changed: 30 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
---
44
<br>
55

6-
6+
77
- Smooth and fast cross platform Material Design **date** picker and **time** picker for React Native Paper
8-
- Tested on Android, iOS and the web platform!
8+
- Tested on Android, iOS and the web
99
- Uses the native Date.Intl API's which work out of the box on the web / iOS (automatic day name, month translations without bundle size increase)
1010
- Simple API
1111
- Typesafe
@@ -14,8 +14,24 @@
1414
- Great React Native Web support
1515

1616

17-
[![Demo of react-native-paper-dates](https://user-images.githubusercontent.com/6492229/98866767-bd3f2780-246d-11eb-890e-3491b47c95c5.gif)](https://www.youtube.com/watch?v=SHhQU2doTug)
18-
GIF above is sluggish, click on the image to view video in better frame rate. (https://www.youtube.com/watch?v=SHhQU2doTug)
17+
[![Demo of react-native-paper-dates](https://user-images.githubusercontent.com/6492229/98866767-bd3f2780-246d-11eb-890e-3491b47c95c5.gif)](https://www.youtube.com/watch?v=SHhQU2doTug)
18+
19+
View video in better frame [on YouTube](https://www.youtube.com/watch?v=SHhQU2doTug)
20+
21+
22+
## About us
23+
We want developers to be able to build software faster using modern tools like GraphQL, Golang and React Native.
24+
25+
Give us a follow on Twitter:
26+
[RichardLindhout](https://twitter.com/RichardLindhout),
27+
[web_ridge](https://twitter.com/web_ridge)
28+
29+
## Donate
30+
Instead of spending all your money on a M1 Mac, give some to us so we can buy one.
31+
32+
[Donate with PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7B9KKQLXTEW9Q&source=url)
33+
34+
1935
## Getting started
2036

2137
Yarn
@@ -189,15 +205,15 @@ If that is **not possible** use the following props on the surrounding ScrollVie
189205
keyboardShouldPersistTaps="handled"
190206
contentInsetAdjustmentBehavior="always"
191207
```
192-
This is to prevent the need to press 2 times before save works (1 press for closing keyboard, 1 press for confirm/close)
193-
(https://github.com/facebook/react-native/issues/10138)
208+
This is to prevent the need to press 2 times before save or close button in modal works (1 press for closing keyboard, 1 press for confirm/close)
209+
[React Native Issue: #10138](https://github.com/facebook/react-native/issues/10138)
194210

195211
## Android Caveats
196212

197213
You will need to add a polyfill for the Intl API on Android if:
198214

199-
- You have Hermes enabled (https://github.com/facebook/hermes/issues/23)
200-
- You have Hermes disabled and you want to support locales outside of en-US and you don't have the org.webkit:android-jsc-intl:+ variant enabled in your app/build.gradle
215+
- You have [Hermes](https://github.com/facebook/hermes/issues/23) enabled
216+
- You have [Hermes](https://github.com/facebook/hermes/issues/23) disabled and you want to support locales outside of en-US and you don't have the org.webkit:android-jsc-intl:+ variant enabled in your app/build.gradle
201217

202218
Install polyfills with Yarn
203219

@@ -211,7 +227,7 @@ or npm
211227
npm install react-native-localize @formatjs/intl-pluralrules @formatjs/intl-getcanonicallocales @formatjs/intl-listformat @formatjs/intl-displaynames @formatjs/intl-locale @formatjs/intl-datetimeformat @formatjs/intl-numberformat @formatjs/intl-relativetimeformat --save
212228
```
213229

214-
`./index.js`
230+
In your app starting entrypoint e.g. `./index.js`
215231

216232
```javascript
217233
// on top of your index.js file
@@ -261,14 +277,8 @@ See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the
261277
MIT
262278

263279

264-
## About us
265-
We want developers to be able to build software faster using modern tools like GraphQL, Golang, React Native.
266-
267-
Follow us on Twitter:
268-
- https://twitter.com/RichardLindhout
269-
- https://twitter.com/web_ridge
270-
271-
### You probably like these
272-
- Simple translations in React (Native): https://github.com/web-ridge/react-ridge-translations
273-
- Simple global state management in React (Native): https://github.com/web-ridge/react-ridge-state
274-
- 1 command utility for React Native (Web) project: https://github.com/web-ridge/create-react-native-web-application
280+
### Checkout our other libraries
281+
- Smooth and fast cross platform Material Design Tabs for React Native Paper: [react-native-paper-tabs](https://github.com/web-ridge/react-native-paper-tabs)
282+
- Simple translations in React (Native): [react-ridge-translations](https://github.com/web-ridge/react-ridge-translations)
283+
- Simple global state management in React (Native): [react-ridge-state](https://github.com/web-ridge/react-ridge-state)
284+
- 1 command utility for React Native (Web) project: [create-react-native-web-application](https://github.com/web-ridge/create-react-native-web-application)

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-paper-dates",
3-
"version": "0.2.6",
3+
"version": "0.2.7",
44
"description": "Performant Date Picker for React Native Paper",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",
@@ -148,7 +148,5 @@
148148
"typescript"
149149
]
150150
},
151-
"dependencies": {
152-
"react-native-web-hover": "^0.2.7"
153-
}
151+
"dependencies": {}
154152
}

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8117,11 +8117,6 @@ react-native-paper@^4.5.0:
81178117
color "^3.1.2"
81188118
react-native-iphone-x-helper "^1.3.1"
81198119

8120-
react-native-web-hover@^0.2.7:
8121-
version "0.2.9"
8122-
resolved "https://registry.yarnpkg.com/react-native-web-hover/-/react-native-web-hover-0.2.9.tgz#aee61d09cb92fce93f55fa7c9d6ebbd28899fded"
8123-
integrity sha512-6hXQMLptJPDn67xlgmA6eh42LWlHb2THjaedNqW5N8rwutEqsta/zoCYTAJNz+1U/tGW9ZrZVXitUnoLie/itQ==
8124-
81258120
81268121
version "0.63.2"
81278122
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.63.2.tgz#eaebf3430577b37fbd66ef228a86b3408259ef8e"

0 commit comments

Comments
 (0)