react-window-decorators
Advanced tools
Comparing version 1.0.1 to 1.0.2
# Changelog | ||
### v1.0.2 | ||
30.07.2018. | ||
**Changed** | ||
* Added `scrollPosition` as an `scrollPositionY` alias for backwards compatibility | ||
----- | ||
### v1.0.1 | ||
12.07.2018. | ||
**Updated** | ||
* Updated `window-scroll-manager` version | ||
----- | ||
### v1.0.0 | ||
@@ -4,0 +24,0 @@ |
@@ -54,3 +54,5 @@ 'use strict'; | ||
scrollPositionX: scrollPositionX, | ||
scrollPositionY: scrollPositionY | ||
scrollPositionY: scrollPositionY, | ||
// Alias for scrollPositionY for backwards compatibility | ||
scrollPosition: scrollPositionY | ||
}; | ||
@@ -86,3 +88,5 @@ return _this; | ||
scrollPositionX: newScrollPositionX, | ||
scrollPositionY: newScrollPositionY | ||
scrollPositionY: newScrollPositionY, | ||
// Alias for scrollPositionY for backwards compatibility | ||
scrollPosition: newScrollPositionY | ||
}); | ||
@@ -103,2 +107,4 @@ }); | ||
scrollPositionY: scrollPositionY | ||
// Alias for scrollPositionY for backwards compatibility | ||
, scrollPosition: scrollPositionY | ||
})); | ||
@@ -105,0 +111,0 @@ } |
{ | ||
"name": "react-window-decorators", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"private": false, | ||
@@ -49,3 +49,3 @@ "license": "MIT", | ||
"prop-types": "^15.5.8", | ||
"window-scroll-manager": "^1.1.0" | ||
"window-scroll-manager": "^1.1.2" | ||
}, | ||
@@ -52,0 +52,0 @@ "peerDependencies": { |
@@ -27,2 +27,4 @@ import React, { Component } from 'react'; | ||
scrollPositionY, | ||
// Alias for scrollPositionY for backwards compatibility | ||
scrollPosition: scrollPositionY, | ||
}; | ||
@@ -53,2 +55,4 @@ } | ||
scrollPositionY: newScrollPositionY, | ||
// Alias for scrollPositionY for backwards compatibility | ||
scrollPosition: newScrollPositionY, | ||
}); | ||
@@ -70,2 +74,4 @@ }); | ||
scrollPositionY={ scrollPositionY } | ||
// Alias for scrollPositionY for backwards compatibility | ||
scrollPosition={ scrollPositionY } | ||
/> | ||
@@ -72,0 +78,0 @@ ); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38067
781
Updatedwindow-scroll-manager@^1.1.2