Skip to content

Commit

Permalink
update 2023-01-20
Browse files Browse the repository at this point in the history
  • Loading branch information
lavrton committed Jan 20, 2023
1 parent 5349e12 commit 9dea888
Show file tree
Hide file tree
Showing 211 changed files with 216 additions and 216 deletions.
12 changes: 6 additions & 6 deletions konva.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
})(this, (function () { 'use strict';

/*
* Konva JavaScript Framework v8.4.1
* Konva JavaScript Framework v8.4.2
* http://konvajs.org/
* Licensed under the MIT
* Date: Thu Jan 19 2023
* Date: Fri Jan 20 2023
*
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
* Modified work Copyright (C) 2014 - present by Anton Lavrenov (Konva)
Expand All @@ -35,7 +35,7 @@
: {};
const Konva$2 = {
_global: glob,
version: '8.4.1',
version: '8.4.2',
isBrowser: detectBrowser(),
isUnminified: /param/.test(function (param) { }.toString()),
dblClickWindow: 400,
Expand Down Expand Up @@ -13753,12 +13753,12 @@
}
}
// if element height is fixed, abort if adding one more line would overflow
if (fixedHeight && currentHeightPx + lineHeightPx > maxHeightPx) {
break;
}
if (this.textArr[this.textArr.length - 1]) {
this.textArr[this.textArr.length - 1].lastInParagraph = true;
}
if (fixedHeight && currentHeightPx + lineHeightPx > maxHeightPx) {
break;
}
}
this.textHeight = fontSize;
// var maxTextWidth = 0;
Expand Down
2 changes: 1 addition & 1 deletion main-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "parcel build index.html"
},
"dependencies": {
"konva": "8.4.1"
"konva": "8.4.2"
},
"devDependencies": {
"@babel/core": "8.3.5",
Expand Down
2 changes: 1 addition & 1 deletion react-demos/animation_demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0",
Expand Down
2 changes: 1 addition & 1 deletion react-demos/basic_demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0"
Expand Down
2 changes: 1 addition & 1 deletion react-demos/canvas_portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0",
Expand Down
2 changes: 1 addition & 1 deletion react-demos/complex_animations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"dependencies": {
"@react-spring/konva": "9.2.3",
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0"
Expand Down
2 changes: 1 addition & 1 deletion react-demos/custom_shape/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0"
Expand Down
2 changes: 1 addition & 1 deletion react-demos/dom_portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0",
Expand Down
2 changes: 1 addition & 1 deletion react-demos/drag_and_drop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0"
Expand Down
2 changes: 1 addition & 1 deletion react-demos/drop_image_into_stage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0",
Expand Down
2 changes: 1 addition & 1 deletion react-demos/filters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0",
Expand Down
2 changes: 1 addition & 1 deletion react-demos/free-drawing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0"
Expand Down
2 changes: 1 addition & 1 deletion react-demos/image-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0"
Expand Down
2 changes: 1 addition & 1 deletion react-demos/images/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0",
Expand Down
2 changes: 1 addition & 1 deletion react-demos/refs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0"
Expand Down
2 changes: 1 addition & 1 deletion react-demos/seats-reservation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"keywords": [],
"main": "src/index.js",
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0",
Expand Down
2 changes: 1 addition & 1 deletion react-demos/shapes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0"
Expand Down
2 changes: 1 addition & 1 deletion react-demos/simple_animations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0"
Expand Down
2 changes: 1 addition & 1 deletion react-demos/transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0"
Expand Down
2 changes: 1 addition & 1 deletion react-demos/undo_redo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0"
Expand Down
2 changes: 1 addition & 1 deletion react-demos/window-frame-design-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"keywords": [],
"main": "src/index.js",
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"mobx": "6.1.8",
"mobx-react": "7.1.0",
"react": "18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion react-demos/zIndex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"konva"
],
"dependencies": {
"konva": "8.4.1",
"konva": "8.4.2",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-konva": "18.0.0-0"
Expand Down
2 changes: 1 addition & 1 deletion source/downloads/code/animations/Moving.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Animate Position Demo</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion source/downloads/code/animations/Rotation.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Rotation Animation Demo</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion source/downloads/code/animations/Scaling.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Scale Animation Demo</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion source/downloads/code/animations/Stop_Animation.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Stop Animation Demo</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion source/downloads/code/clipping/Clipping_Function.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Clipping Function Demo</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion source/downloads/code/clipping/Clipping_Regions.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Simple Clipping Demo</title>
<style>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Load Complex Stage Demo</title>
<style>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Load Complex Stage Demo</title>
<style>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva High Quality Export Demo</title>
<style>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Save Stage Demo</title>
<style>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Simple Load Demo</title>
<style>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Stage Data URL Demo</title>
<style>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Complex Drag and Drop Bounds Demo</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion source/downloads/code/drag_and_drop/Drag_Events.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Drag Events Demo</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion source/downloads/code/drag_and_drop/Drag_a_Group.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Drag and Drop a Group Demo</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion source/downloads/code/drag_and_drop/Drag_a_Line.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Drag and Drop a Line Demo</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion source/downloads/code/drag_and_drop/Drag_a_Stage.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Drag and Drop the Stage Demo</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion source/downloads/code/drag_and_drop/Drag_an_Image.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Drag and Drop an Image Demo</title>
<style>
Expand Down
2 changes: 1 addition & 1 deletion source/downloads/code/drag_and_drop/Drag_and_Drop.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://unpkg.com/[email protected].1/konva.min.js"></script>
<script src="https://unpkg.com/[email protected].2/konva.min.js"></script>
<meta charset="utf-8" />
<title>Konva Drag and Drop Demo</title>
<style>
Expand Down
Loading

0 comments on commit 9dea888

Please sign in to comment.