react-simple-pull-to-refresh 1.3.0 → 1.3.3
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/README.md
CHANGED
|
@@ -83,6 +83,12 @@ return (
|
|
|
83
83
|
|
|
84
84
|
## Changelog
|
|
85
85
|
|
|
86
|
+
1.3.3: Update package.json peerDependencies to support react 18 - (From: [@mjauernig](https://github.com/mjauernig))
|
|
87
|
+
|
|
88
|
+
1.3.2: Fix build issue encountered with 1.3.1
|
|
89
|
+
|
|
90
|
+
1.3.1: Fix issue preventing fixed elements to work properly - (From: [@ManuDoni](https://github.com/ManuDoni))
|
|
91
|
+
|
|
86
92
|
1.3.0: Add a _resistance_ prop, that allows to adjust the pull down difficulty - (From: [@joshuahiggins](https://github.com/joshuahiggins))
|
|
87
93
|
|
|
88
94
|
1.2.5: Fix event listenter leaks - (From: [@d-s-x](https://github.com/d-s-x))
|
package/build/index.cjs.js
CHANGED
|
@@ -179,7 +179,7 @@ var PullToRefresh = function (_a) {
|
|
|
179
179
|
if (childrenRef.current) {
|
|
180
180
|
childrenRef.current.style.overflowX = 'hidden';
|
|
181
181
|
childrenRef.current.style.overflowY = 'auto';
|
|
182
|
-
childrenRef.current.style.transform = "
|
|
182
|
+
childrenRef.current.style.transform = "unset";
|
|
183
183
|
}
|
|
184
184
|
if (pullDownRef.current) {
|
|
185
185
|
pullDownRef.current.style.opacity = '0';
|
package/build/index.esm.js
CHANGED
|
@@ -174,7 +174,7 @@ var PullToRefresh = function (_a) {
|
|
|
174
174
|
if (childrenRef.current) {
|
|
175
175
|
childrenRef.current.style.overflowX = 'hidden';
|
|
176
176
|
childrenRef.current.style.overflowY = 'auto';
|
|
177
|
-
childrenRef.current.style.transform = "
|
|
177
|
+
childrenRef.current.style.transform = "unset";
|
|
178
178
|
}
|
|
179
179
|
if (pullDownRef.current) {
|
|
180
180
|
pullDownRef.current.style.opacity = '0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-simple-pull-to-refresh",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "A Simple Pull To Refresh Component for React Application",
|
|
5
5
|
"main": "build/index.cjs.js",
|
|
6
6
|
"module": "build/index.esm.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@types/react": "^16.9.9",
|
|
32
32
|
"@types/react-dom": "^16.9.2",
|
|
33
33
|
"ncp": "^2.0.0",
|
|
34
|
-
"node-sass": "^
|
|
34
|
+
"node-sass": "^7.0.1",
|
|
35
35
|
"npm-run-all": "^4.1.5",
|
|
36
36
|
"rollup": "^1.25.0",
|
|
37
37
|
"rollup-plugin-delete": "^1.1.0",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"typescript": "3.7.5"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"react": "^16.10.2 || ^17.0.0",
|
|
44
|
-
"react-dom": "^16.10.2 || ^17.0.0"
|
|
43
|
+
"react": "^16.10.2 || ^17.0.0 || ^18.0.0",
|
|
44
|
+
"react-dom": "^16.10.2 || ^17.0.0 || ^18.0.0"
|
|
45
45
|
},
|
|
46
46
|
"files": [
|
|
47
47
|
"build"
|