react-remove-scroll
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -16,3 +16,3 @@ import * as tslib_1 from "tslib"; | ||
}), callbacks = _a[0], setCallbacks = _a[1]; | ||
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert; | ||
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, rest = tslib_1.__rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert"]); | ||
var SideCar = sideCar; | ||
@@ -22,3 +22,3 @@ var containerProps = tslib_1.__assign({ ref: useMergeRefs([ | ||
parentRef | ||
]) }, callbacks); | ||
]) }, rest, callbacks); | ||
return (React.createElement(React.Fragment, null, | ||
@@ -25,0 +25,0 @@ enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, lockRef: ref })), |
@@ -18,3 +18,3 @@ "use strict"; | ||
}), callbacks = _a[0], setCallbacks = _a[1]; | ||
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert; | ||
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, rest = tslib_1.__rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert"]); | ||
var SideCar = sideCar; | ||
@@ -24,3 +24,3 @@ var containerProps = tslib_1.__assign({ ref: use_callback_ref_1.useMergeRefs([ | ||
parentRef | ||
]) }, callbacks); | ||
]) }, rest, callbacks); | ||
return (React.createElement(React.Fragment, null, | ||
@@ -27,0 +27,0 @@ enabled && (React.createElement(SideCar, { sideCar: medium_1.effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, lockRef: ref })), |
{ | ||
"name": "react-remove-scroll", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Disables scroll outside of `children` node.", | ||
@@ -5,0 +5,0 @@ "main": "dist/es5/index.js", |
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
41056
752