react-konva
Advanced tools
Comparing version 18.1.0 to 18.1.1
@@ -63,4 +63,4 @@ // special file for minimal import | ||
export var FastLayer: KonvaNodeComponent<Konva.FastLayer, Konva.LayerConfig>; | ||
export var Group: KonvaNodeComponent<Konva.Group>; | ||
export var Label: KonvaNodeComponent<Konva.Label>; | ||
export var Group: KonvaNodeComponent<Konva.Group, Konva.GroupConfig>; | ||
export var Label: KonvaNodeComponent<Konva.Label, Konva.LabelConfig>; | ||
@@ -67,0 +67,0 @@ /** Shapes */ |
@@ -12,3 +12,3 @@ /** | ||
import ReactFiberReconciler from 'react-reconciler'; | ||
import { LegacyRoot } from 'react-reconciler/constants'; | ||
import { ConcurrentRoot } from 'react-reconciler/constants'; | ||
import * as HostConfig from './ReactKonvaHostConfig'; | ||
@@ -47,3 +47,3 @@ import { applyNodeProps, toggleStrictMode } from './makeUpdates'; | ||
_setRef(stage.current); | ||
fiberRef.current = KonvaRenderer.createContainer(stage.current, LegacyRoot, false, null); | ||
fiberRef.current = KonvaRenderer.createContainer(stage.current, ConcurrentRoot, false, null); | ||
KonvaRenderer.updateContainer(props.children, fiberRef.current); | ||
@@ -50,0 +50,0 @@ return () => { |
@@ -63,4 +63,4 @@ // special file for minimal import | ||
export var FastLayer: KonvaNodeComponent<Konva.FastLayer, Konva.LayerConfig>; | ||
export var Group: KonvaNodeComponent<Konva.Group>; | ||
export var Label: KonvaNodeComponent<Konva.Label>; | ||
export var Group: KonvaNodeComponent<Konva.Group, Konva.GroupConfig>; | ||
export var Label: KonvaNodeComponent<Konva.Label, Konva.LabelConfig>; | ||
@@ -67,0 +67,0 @@ /** Shapes */ |
@@ -74,3 +74,3 @@ /** | ||
_setRef(stage.current); | ||
fiberRef.current = exports.KonvaRenderer.createContainer(stage.current, constants_1.LegacyRoot, false, null); | ||
fiberRef.current = exports.KonvaRenderer.createContainer(stage.current, constants_1.ConcurrentRoot, false, null); | ||
exports.KonvaRenderer.updateContainer(props.children, fiberRef.current); | ||
@@ -77,0 +77,0 @@ return () => { |
@@ -5,3 +5,3 @@ { | ||
"description": "React binding to canvas element via Konva framework", | ||
"version": "18.1.0", | ||
"version": "18.1.1", | ||
"keywords": [ | ||
@@ -49,12 +49,12 @@ "react", | ||
"@types/mocha": "^9.1.1", | ||
"@types/react": "18.0.8", | ||
"@types/react": "18.0.9", | ||
"chai": "4.3.6", | ||
"konva": "^8.3.5", | ||
"konva": "^8.3.9", | ||
"mocha-headless-chrome": "^4.0.0", | ||
"parcel": "^2.5.0", | ||
"parcel": "^2.6.0", | ||
"process": "^0.11.10", | ||
"react": "^18.1.0", | ||
"react-dom": "^18.1.0", | ||
"sinon": "^13.0.2", | ||
"typescript": "^4.6.4", | ||
"sinon": "^14.0.0", | ||
"typescript": "^4.7.2", | ||
"use-image": "^1.0.12", | ||
@@ -61,0 +61,0 @@ "util": "^0.12.4" |
@@ -63,4 +63,4 @@ // special file for minimal import | ||
export var FastLayer: KonvaNodeComponent<Konva.FastLayer, Konva.LayerConfig>; | ||
export var Group: KonvaNodeComponent<Konva.Group>; | ||
export var Label: KonvaNodeComponent<Konva.Label>; | ||
export var Group: KonvaNodeComponent<Konva.Group, Konva.GroupConfig>; | ||
export var Label: KonvaNodeComponent<Konva.Label, Konva.LabelConfig>; | ||
@@ -67,0 +67,0 @@ /** Shapes */ |
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
57766