react-stickynode
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -63,3 +63,3 @@ /** | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function () { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; } | ||
@@ -571,2 +571,3 @@ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); } | ||
innerClass: _propTypes.default.string, | ||
className: _propTypes.default.string, | ||
onStateChange: _propTypes.default.func, | ||
@@ -573,0 +574,0 @@ shouldFreeze: _propTypes.default.func, |
{ | ||
"name": "react-stickynode", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "A performant and comprehensive React sticky component", | ||
@@ -46,3 +46,3 @@ "main": "index.js", | ||
"@babel/register": "^7.9.0", | ||
"@testing-library/react": "^10.0.4", | ||
"@testing-library/react": "^11.0.1", | ||
"babel-jest": "^26.0.1", | ||
@@ -58,10 +58,10 @@ "coveralls": "^3.1.0", | ||
"grunt-contrib-clean": "^2.0.0", | ||
"grunt-contrib-connect": "^2.1.0", | ||
"grunt-contrib-connect": "^3.0.0", | ||
"grunt-contrib-watch": "^1.0.0", | ||
"grunt-saucelabs": "^9.0.1", | ||
"grunt-webpack": "^3.1.3", | ||
"grunt-webpack": "^4.0.2", | ||
"jest": "^26.0.1", | ||
"jsdom": "^16.2.2", | ||
"minimist": "^1.2.5", | ||
"mocha": "^7.1.2", | ||
"mocha": "^8.0.1", | ||
"pre-commit": "^1.0.0", | ||
@@ -68,0 +68,0 @@ "react": "^16.13.1", |
@@ -56,2 +56,3 @@ # react-stickynode | ||
| `innerClass` | String | Class name to be applied to the inner element (`''` by default). | | ||
| `className` | String | Class name to be applied to the element independent of the sticky state. | | ||
| `releasedClass` | String | Class name to be applied to the element when the sticky state is released (`released` by default). | | ||
@@ -58,0 +59,0 @@ | `onStateChange` | Function | Callback for when the sticky state changes. See below. | |
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
40063
9
712
129