Skip to content

Commit 5de39c9

Browse files
fix: pick right status bar color when dark text should be used fixed #30
1 parent 5d1d32f commit 5de39c9

File tree

12 files changed

+12266
-12644
lines changed

12 files changed

+12266
-12644
lines changed

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- Endless (virtual) scrolling
1919
- Performant
2020
- Great React Native Web support
21-
21+
- No dependencies outside of ([react-native-paper](https://callstack.github.io/react-native-paper/))
2222

2323
[![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)
2424

@@ -51,18 +51,6 @@ npm
5151
npm install react-native-paper-dates --save
5252
```
5353

54-
### Web
55-
If you use react-native-web and want to use this library you'll need to install react-window.
56-
57-
Yarn
58-
```
59-
yarn add react-window
60-
```
61-
62-
npm
63-
```
64-
npm install react-window --save
65-
```
6654

6755
## Usage
6856

example/ios/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ PODS:
296296
- React-Core (= 0.63.2)
297297
- React-cxxreact (= 0.63.2)
298298
- React-jsi (= 0.63.2)
299-
- RNLocalize (1.4.2):
299+
- RNLocalize (2.0.1):
300300
- React-Core
301301
- RNVectorIcons (7.0.0):
302302
- React
@@ -465,11 +465,11 @@ SPEC CHECKSUMS:
465465
React-RCTText: 1b6773e776e4b33f90468c20fe3b16ca3e224bb8
466466
React-RCTVibration: 4d2e726957f4087449739b595f107c0d4b6c2d2d
467467
ReactCommon: a0a1edbebcac5e91338371b72ffc66aa822792ce
468-
RNLocalize: 452d4118e338dee1e5ca3fac4d5a11a4ab26a46a
468+
RNLocalize: 41026b7c14878f1a1b381bc79f668f1fbf841adb
469469
RNVectorIcons: da6fe858f5a65d7bbc3379540a889b0b12aa5976
470470
Yoga: 7740b94929bbacbddda59bf115b5317e9a161598
471471
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
472472

473473
PODFILE CHECKSUM: 53e4f48bb461ee5c681e56f9585d69e13b985966
474474

475-
COCOAPODS: 1.9.3
475+
COCOAPODS: 1.10.0

example/ios/example.xcodeproj/project.pbxproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -406,13 +406,11 @@
406406
);
407407
inputPaths = (
408408
"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources.sh",
409-
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
410409
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf",
411410
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
412411
);
413412
name = "[CP] Copy Pods Resources";
414413
outputPaths = (
415-
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf",
416414
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialCommunityIcons.ttf",
417415
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
418416
);
@@ -486,13 +484,11 @@
486484
);
487485
inputPaths = (
488486
"${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-resources.sh",
489-
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf",
490487
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf",
491488
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
492489
);
493490
name = "[CP] Copy Pods Resources";
494491
outputPaths = (
495-
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AntDesign.ttf",
496492
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/MaterialCommunityIcons.ttf",
497493
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
498494
);

example/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"react-dom": "^16.14.0",
2727
"react-native": "0.63.2",
2828
"react-native-localize": "^2.0.1",
29+
"react-native-paper": "^4.5.0",
2930
"react-native-vector-icons": "https://github.com/RichardLindhout/react-native-vector-icons",
3031
"react-native-web": "^0.14.8",
3132
"react-scripts": "3.4.3"
@@ -35,7 +36,7 @@
3536
"@babel/runtime": "^7.11.2",
3637
"@react-native-community/eslint-config": "^2.0.0",
3738
"@types/react": "^16.9.46",
38-
"@types/react-native": "^0.63.8",
39+
"@types/react-native": "0.63.40",
3940
"babel-jest": "^26.3.0",
4041
"babel-plugin-import": "^1.13.0",
4142
"babel-plugin-module-resolver": "^4.0.0",
@@ -46,7 +47,7 @@
4647
"metro-react-native-babel-preset": "^0.63.0",
4748
"react-app-rewired": "^2.1.6",
4849
"react-test-renderer": "16.13.1",
49-
"typescript": "^4.0.2"
50+
"typescript": "^4.1.0"
5051
},
5152
"jest": {
5253
"preset": "react-native"

0 commit comments

Comments
 (0)