@react-spring/konva
Advanced tools
Comparing version 9.0.0-beta.22 to 9.0.0-beta.23
@@ -13,39 +13,15 @@ 'use strict'; | ||
const elements = [ | ||
'Arc', | ||
'Arrow', | ||
'Circle', | ||
'Ellipse', | ||
'FastLayer', | ||
'Group', | ||
'Image', | ||
'Label', | ||
'Layer', | ||
'Line', | ||
'Path', | ||
'Rect', | ||
'RegularPolygon', | ||
'Ring', | ||
'Shape', | ||
'Sprite', | ||
'Star', | ||
'Tag', | ||
'Text', | ||
'TextPath', | ||
'Transformer', | ||
'Wedge', | ||
]; | ||
var elements = ['Arc', 'Arrow', 'Circle', 'Ellipse', 'FastLayer', 'Group', 'Image', 'Label', 'Layer', 'Line', 'Path', 'Rect', 'RegularPolygon', 'Ring', 'Shape', 'Sprite', 'Star', 'Tag', 'Text', 'TextPath', 'Transformer', 'Wedge']; | ||
// Extend animated with all the available Konva elements | ||
const animated = animated$1.withExtend(animated$1.createAnimatedComponent).extend(elements); | ||
var animated = animated$1.withExtend(animated$1.createAnimatedComponent).extend(elements); | ||
shared.Globals.assign({ | ||
defaultElement: 'Group', | ||
createStringInterpolator: stringInterpolation.createStringInterpolator, | ||
colorNames, | ||
applyAnimatedValues(instance, props) { | ||
if (!instance.nodeType) | ||
return false; | ||
instance._applyProps(instance, props); | ||
}, | ||
defaultElement: 'Group', | ||
createStringInterpolator: stringInterpolation.createStringInterpolator, | ||
colorNames: colorNames, | ||
applyAnimatedValues: function applyAnimatedValues(instance, props) { | ||
if (!instance.nodeType) return false; | ||
instance._applyProps(instance, props); | ||
} | ||
}); | ||
@@ -52,0 +28,0 @@ |
44
index.js
@@ -7,39 +7,17 @@ import { Globals } from '@react-spring/shared'; | ||
const elements = [ | ||
'Arc', | ||
'Arrow', | ||
'Circle', | ||
'Ellipse', | ||
'FastLayer', | ||
'Group', | ||
'Image', | ||
'Label', | ||
'Layer', | ||
'Line', | ||
'Path', | ||
'Rect', | ||
'RegularPolygon', | ||
'Ring', | ||
'Shape', | ||
'Sprite', | ||
'Star', | ||
'Tag', | ||
'Text', | ||
'TextPath', | ||
'Transformer', | ||
'Wedge', | ||
]; | ||
const elements = ['Arc', 'Arrow', 'Circle', 'Ellipse', 'FastLayer', 'Group', 'Image', 'Label', 'Layer', 'Line', 'Path', 'Rect', 'RegularPolygon', 'Ring', 'Shape', 'Sprite', 'Star', 'Tag', 'Text', 'TextPath', 'Transformer', 'Wedge']; | ||
// Extend animated with all the available Konva elements | ||
const animated = withExtend(createAnimatedComponent).extend(elements); | ||
Globals.assign({ | ||
defaultElement: 'Group', | ||
createStringInterpolator, | ||
colorNames, | ||
applyAnimatedValues(instance, props) { | ||
if (!instance.nodeType) | ||
return false; | ||
instance._applyProps(instance, props); | ||
}, | ||
defaultElement: 'Group', | ||
createStringInterpolator, | ||
colorNames, | ||
applyAnimatedValues(instance, props) { | ||
if (!instance.nodeType) return false; | ||
instance._applyProps(instance, props); | ||
} | ||
}); | ||
@@ -46,0 +24,0 @@ |
{ | ||
"name": "@react-spring/konva", | ||
"version": "9.0.0-beta.22", | ||
"version": "9.0.0-beta.23", | ||
"description": "Cross-platform animation engine", | ||
@@ -31,6 +31,5 @@ "keywords": [ | ||
"@babel/runtime": "^7.3.1", | ||
"@react-spring/animated": "^9.0.0-beta.21", | ||
"@react-spring/core": "^9.0.0-beta.22", | ||
"@react-spring/shared": "^9.0.0-beta.21", | ||
"tslib": "^1.9.3" | ||
"@react-spring/animated": "^9.0.0-beta.23", | ||
"@react-spring/core": "^9.0.0-beta.23", | ||
"@react-spring/shared": "^9.0.0-beta.23" | ||
}, | ||
@@ -37,0 +36,0 @@ "devDependencies": { |
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
11978
7
198
- Removedtslib@^1.9.3
- Removedtslib@1.14.1(transitive)