@react-spring/web
Advanced tools
Comparing version 9.0.0-beta.24 to 9.0.0-beta.25
@@ -7,4 +7,4 @@ 'use strict'; | ||
var _objectWithoutPropertiesLoose = _interopDefault(require('@babel/runtime/helpers/objectWithoutPropertiesLoose')); | ||
var core = require('@react-spring/core'); | ||
var _objectWithoutPropertiesLoose = _interopDefault(require('@babel/runtime/helpers/objectWithoutPropertiesLoose')); | ||
var stringInterpolation = require('@react-spring/shared/stringInterpolation'); | ||
@@ -123,3 +123,10 @@ var colorNames = _interopDefault(require('@react-spring/shared/colors')); | ||
applyAnimatedValues: applyAnimatedValues, | ||
createStringInterpolator: stringInterpolation.createStringInterpolator | ||
createStringInterpolator: stringInterpolation.createStringInterpolator, | ||
getComponentProps: function getComponentProps(_ref) { | ||
var scrollTop = _ref.scrollTop, | ||
scrollLeft = _ref.scrollLeft, | ||
props = _objectWithoutPropertiesLoose(_ref, ["scrollTop", "scrollLeft"]); | ||
return props; | ||
} | ||
}); | ||
@@ -126,0 +133,0 @@ |
11
index.js
@@ -0,4 +1,4 @@ | ||
import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose'; | ||
import { Globals } from '@react-spring/core'; | ||
export * from '@react-spring/core'; | ||
import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose'; | ||
import { createStringInterpolator } from '@react-spring/shared/stringInterpolation'; | ||
@@ -111,3 +111,10 @@ import colorNames from '@react-spring/shared/colors'; | ||
applyAnimatedValues, | ||
createStringInterpolator | ||
createStringInterpolator, | ||
getComponentProps: (_ref) => { | ||
let scrollTop = _ref.scrollTop, | ||
scrollLeft = _ref.scrollLeft, | ||
props = _objectWithoutPropertiesLoose(_ref, ["scrollTop", "scrollLeft"]); | ||
return props; | ||
} | ||
}); | ||
@@ -114,0 +121,0 @@ |
{ | ||
"name": "@react-spring/web", | ||
"version": "9.0.0-beta.24", | ||
"version": "9.0.0-beta.25", | ||
"description": "Cross-platform animation engine", | ||
@@ -31,5 +31,5 @@ "keywords": [ | ||
"@babel/runtime": "^7.3.1", | ||
"@react-spring/animated": "^9.0.0-beta.24", | ||
"@react-spring/core": "^9.0.0-beta.24", | ||
"@react-spring/shared": "^9.0.0-beta.24" | ||
"@react-spring/animated": "^9.0.0-beta.25", | ||
"@react-spring/core": "^9.0.0-beta.25", | ||
"@react-spring/shared": "^9.0.0-beta.25" | ||
}, | ||
@@ -36,0 +36,0 @@ "devDependencies": { |
@@ -11,2 +11,3 @@ import { Globals } from '@react-spring/core' | ||
createStringInterpolator, | ||
getComponentProps: ({ scrollTop, scrollLeft, ...props }) => props, | ||
}) | ||
@@ -13,0 +14,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
36680
603