@react-spring/web
Advanced tools
Comparing version 9.2.1 to 9.2.2
@@ -25,2 +25,3 @@ 'use strict'; | ||
const _excluded$2 = ["style", "children", "scrollTop", "scrollLeft"]; | ||
const isCustomPropRE = /^--/; | ||
@@ -49,3 +50,3 @@ | ||
} = _ref, | ||
attributes = _objectWithoutPropertiesLoose(_ref, ["style", "children", "scrollTop", "scrollLeft"]); | ||
attributes = _objectWithoutPropertiesLoose(_ref, _excluded$2); | ||
@@ -134,2 +135,3 @@ const values = Object.values(attributes); | ||
const _excluded$1 = ["x", "y", "z"]; | ||
const domTransforms = /^(matrix|translate|scale|rotate|skew)/; | ||
@@ -150,3 +152,3 @@ const pxTransforms = /^(translate)/; | ||
} = _ref, | ||
style = _objectWithoutPropertiesLoose(_ref, ["x", "y", "z"]); | ||
style = _objectWithoutPropertiesLoose(_ref, _excluded$1); | ||
@@ -227,2 +229,3 @@ const inputs = []; | ||
const _excluded = ["scrollTop", "scrollLeft"]; | ||
core.Globals.assign({ | ||
@@ -236,4 +239,4 @@ batchedUpdates: reactDom.unstable_batchedUpdates, | ||
createAnimatedStyle: style => new AnimatedStyle(style), | ||
getComponentProps: (_ref) => { | ||
let props = _objectWithoutPropertiesLoose(_ref, ["scrollTop", "scrollLeft"]); | ||
getComponentProps: _ref => { | ||
let props = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
@@ -240,0 +243,0 @@ return props; |
@@ -25,2 +25,3 @@ 'use strict'; | ||
const _excluded$2 = ["style", "children", "scrollTop", "scrollLeft"]; | ||
const isCustomPropRE = /^--/; | ||
@@ -49,3 +50,3 @@ | ||
} = _ref, | ||
attributes = _objectWithoutPropertiesLoose(_ref, ["style", "children", "scrollTop", "scrollLeft"]); | ||
attributes = _objectWithoutPropertiesLoose(_ref, _excluded$2); | ||
@@ -134,2 +135,3 @@ const values = Object.values(attributes); | ||
const _excluded$1 = ["x", "y", "z"]; | ||
const domTransforms = /^(matrix|translate|scale|rotate|skew)/; | ||
@@ -150,3 +152,3 @@ const pxTransforms = /^(translate)/; | ||
} = _ref, | ||
style = _objectWithoutPropertiesLoose(_ref, ["x", "y", "z"]); | ||
style = _objectWithoutPropertiesLoose(_ref, _excluded$1); | ||
@@ -227,2 +229,3 @@ const inputs = []; | ||
const _excluded = ["scrollTop", "scrollLeft"]; | ||
core.Globals.assign({ | ||
@@ -236,4 +239,4 @@ batchedUpdates: reactDom.unstable_batchedUpdates, | ||
createAnimatedStyle: style => new AnimatedStyle(style), | ||
getComponentProps: (_ref) => { | ||
let props = _objectWithoutPropertiesLoose(_ref, ["scrollTop", "scrollLeft"]); | ||
getComponentProps: _ref => { | ||
let props = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
@@ -240,0 +243,0 @@ return props; |
@@ -22,2 +22,3 @@ import { Globals } from '@react-spring/core'; | ||
const _excluded$2 = ["style", "children", "scrollTop", "scrollLeft"]; | ||
const isCustomPropRE = /^--/; | ||
@@ -46,3 +47,3 @@ | ||
} = _ref, | ||
attributes = _objectWithoutPropertiesLoose(_ref, ["style", "children", "scrollTop", "scrollLeft"]); | ||
attributes = _objectWithoutPropertiesLoose(_ref, _excluded$2); | ||
@@ -131,2 +132,3 @@ const values = Object.values(attributes); | ||
const _excluded$1 = ["x", "y", "z"]; | ||
const domTransforms = /^(matrix|translate|scale|rotate|skew)/; | ||
@@ -147,3 +149,3 @@ const pxTransforms = /^(translate)/; | ||
} = _ref, | ||
style = _objectWithoutPropertiesLoose(_ref, ["x", "y", "z"]); | ||
style = _objectWithoutPropertiesLoose(_ref, _excluded$1); | ||
@@ -224,2 +226,3 @@ const inputs = []; | ||
const _excluded = ["scrollTop", "scrollLeft"]; | ||
Globals.assign({ | ||
@@ -233,4 +236,4 @@ batchedUpdates: unstable_batchedUpdates, | ||
createAnimatedStyle: style => new AnimatedStyle(style), | ||
getComponentProps: (_ref) => { | ||
let props = _objectWithoutPropertiesLoose(_ref, ["scrollTop", "scrollLeft"]); | ||
getComponentProps: _ref => { | ||
let props = _objectWithoutPropertiesLoose(_ref, _excluded); | ||
@@ -237,0 +240,0 @@ return props; |
{ | ||
"name": "@react-spring/web", | ||
"version": "9.2.1", | ||
"version": "9.2.2", | ||
"main": "dist/react-spring-web.cjs.js", | ||
@@ -5,0 +5,0 @@ "module": "dist/react-spring-web.esm.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
31812
752
13