@react-spring/web
Advanced tools
Comparing version 9.5.5 to 9.6.0
@@ -20,2 +20,3 @@ import { CSSProperties, ForwardRefExoticComponent, ElementType, ComponentPropsWithRef } from 'react'; | ||
scrollLeft?: number; | ||
viewBox?: string; | ||
}>>; | ||
@@ -22,0 +23,0 @@ /** The props of an `animated()` component */ |
@@ -25,3 +25,3 @@ 'use strict'; | ||
const _excluded$2 = ["style", "children", "scrollTop", "scrollLeft"]; | ||
const _excluded$2 = ["style", "children", "scrollTop", "scrollLeft", "viewBox"]; | ||
const isCustomPropRE = /^--/; | ||
@@ -48,3 +48,4 @@ | ||
scrollTop, | ||
scrollLeft | ||
scrollLeft, | ||
viewBox | ||
} = _ref, | ||
@@ -83,2 +84,6 @@ attributes = _objectWithoutPropertiesLoose(_ref, _excluded$2); | ||
} | ||
if (viewBox !== void 0) { | ||
instance.setAttribute('viewBox', viewBox); | ||
} | ||
} | ||
@@ -85,0 +90,0 @@ let isUnitlessNumber = { |
@@ -25,3 +25,3 @@ 'use strict'; | ||
const _excluded$2 = ["style", "children", "scrollTop", "scrollLeft"]; | ||
const _excluded$2 = ["style", "children", "scrollTop", "scrollLeft", "viewBox"]; | ||
const isCustomPropRE = /^--/; | ||
@@ -48,3 +48,4 @@ | ||
scrollTop, | ||
scrollLeft | ||
scrollLeft, | ||
viewBox | ||
} = _ref, | ||
@@ -83,2 +84,6 @@ attributes = _objectWithoutPropertiesLoose(_ref, _excluded$2); | ||
} | ||
if (viewBox !== void 0) { | ||
instance.setAttribute('viewBox', viewBox); | ||
} | ||
} | ||
@@ -85,0 +90,0 @@ let isUnitlessNumber = { |
@@ -22,3 +22,3 @@ import { Globals } from '@react-spring/core'; | ||
const _excluded$2 = ["style", "children", "scrollTop", "scrollLeft"]; | ||
const _excluded$2 = ["style", "children", "scrollTop", "scrollLeft", "viewBox"]; | ||
const isCustomPropRE = /^--/; | ||
@@ -45,3 +45,4 @@ | ||
scrollTop, | ||
scrollLeft | ||
scrollLeft, | ||
viewBox | ||
} = _ref, | ||
@@ -80,2 +81,6 @@ attributes = _objectWithoutPropertiesLoose(_ref, _excluded$2); | ||
} | ||
if (viewBox !== void 0) { | ||
instance.setAttribute('viewBox', viewBox); | ||
} | ||
} | ||
@@ -82,0 +87,0 @@ let isUnitlessNumber = { |
{ | ||
"name": "@react-spring/web", | ||
"version": "9.5.5", | ||
"version": "9.6.0", | ||
"main": "dist/react-spring-web.cjs.js", | ||
@@ -30,6 +30,6 @@ "module": "dist/react-spring-web.esm.js", | ||
"dependencies": { | ||
"@react-spring/animated": "~9.5.5", | ||
"@react-spring/core": "~9.5.5", | ||
"@react-spring/shared": "~9.5.5", | ||
"@react-spring/types": "~9.5.5" | ||
"@react-spring/animated": "~9.6.0", | ||
"@react-spring/core": "~9.6.0", | ||
"@react-spring/shared": "~9.6.0", | ||
"@react-spring/types": "~9.6.0" | ||
}, | ||
@@ -36,0 +36,0 @@ "peerDependencies": { |
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
31905
761
+ Added@react-spring/animated@9.6.1(transitive)
+ Added@react-spring/core@9.6.1(transitive)
+ Added@react-spring/rafz@9.6.1(transitive)
+ Added@react-spring/shared@9.6.1(transitive)
+ Added@react-spring/types@9.6.1(transitive)
- Removed@react-spring/animated@9.5.5(transitive)
- Removed@react-spring/core@9.5.5(transitive)
- Removed@react-spring/rafz@9.5.5(transitive)
- Removed@react-spring/shared@9.5.5(transitive)
- Removed@react-spring/types@9.5.5(transitive)
Updated@react-spring/core@~9.6.0
Updated@react-spring/shared@~9.6.0
Updated@react-spring/types@~9.6.0