@react-spring/konva
Advanced tools
Comparing version 9.0.0-beta.25 to 9.0.0-beta.27
@@ -15,3 +15,3 @@ 'use strict'; | ||
var animated = animated$1.withExtend(animated$1.createAnimatedComponent).extend(elements); | ||
var animated = animated$1.extendAnimated(animated$1.withAnimated, elements); | ||
@@ -18,0 +18,0 @@ shared.Globals.assign({ |
@@ -1,2 +0,1 @@ | ||
import { WithExtend } from '@react-spring/animated'; | ||
import { ElementType, ForwardRefExoticComponent, CSSProperties } from 'react'; | ||
@@ -16,3 +15,3 @@ import { ElementType as ElementType$1, ComponentPropsWithRef, AssignableKeys, SpringValue } from '@react-spring/shared'; | ||
}; | ||
declare const animated: WithExtend<CreateAnimated & KonvaComponents>; | ||
declare const animated: CreateAnimated & KonvaComponents; | ||
/** The type of an `animated()` component */ | ||
@@ -19,0 +18,0 @@ declare type AnimatedComponent<T extends ElementType$1> = ForwardRefExoticComponent<AnimatedProps<ComponentPropsWithRef<T>>>; |
import { Globals } from '@react-spring/shared'; | ||
import { createStringInterpolator } from '@react-spring/shared/stringInterpolation'; | ||
import colorNames from '@react-spring/shared/colors'; | ||
import { withExtend, createAnimatedComponent } from '@react-spring/animated'; | ||
import { extendAnimated, withAnimated } from '@react-spring/animated'; | ||
export * from '@react-spring/core'; | ||
@@ -9,3 +9,3 @@ | ||
const animated = withExtend(createAnimatedComponent).extend(elements); | ||
const animated = extendAnimated(withAnimated, elements); | ||
@@ -12,0 +12,0 @@ Globals.assign({ |
{ | ||
"name": "@react-spring/konva", | ||
"version": "9.0.0-beta.25", | ||
"version": "9.0.0-beta.27", | ||
"description": "Cross-platform animation engine", | ||
@@ -31,5 +31,5 @@ "keywords": [ | ||
"@babel/runtime": "^7.3.1", | ||
"@react-spring/animated": "^9.0.0-beta.25", | ||
"@react-spring/core": "^9.0.0-beta.25", | ||
"@react-spring/shared": "^9.0.0-beta.25" | ||
"@react-spring/animated": "^9.0.0-beta.27", | ||
"@react-spring/core": "^9.0.0-beta.27", | ||
"@react-spring/shared": "^9.0.0-beta.27" | ||
}, | ||
@@ -36,0 +36,0 @@ "devDependencies": { |
@@ -1,6 +0,2 @@ | ||
import { | ||
createAnimatedComponent, | ||
withExtend, | ||
WithExtend, | ||
} from '@react-spring/animated' | ||
import { withAnimated, extendAnimated } from '@react-spring/animated' | ||
import { CSSProperties, ForwardRefExoticComponent } from 'react' | ||
@@ -24,5 +20,6 @@ import { | ||
// Extend animated with all the available Konva elements | ||
export const animated: WithExtend< | ||
CreateAnimated & KonvaComponents | ||
> = withExtend(createAnimatedComponent as any).extend(elements) | ||
export const animated: CreateAnimated & KonvaComponents = extendAnimated( | ||
withAnimated, | ||
elements | ||
) | ||
@@ -29,0 +26,0 @@ export { animated as a } |
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
11756
194