From e57225c8123e022fd8953fb6b074ee75c8963c65 Mon Sep 17 00:00:00 2001 From: Ahmed Mostafa Date: Fri, 10 Feb 2023 17:06:40 +0200 Subject: [PATCH] Improve: Update @scaleflex/ui, @scaleflex/icons, konva & react-konva --- .../react-filerobot-image-editor/package.json | 10 +-- .../src/components/Topbar/SaveButton.jsx | 2 +- yarn.lock | 87 +++++++++++-------- 3 files changed, 58 insertions(+), 41 deletions(-) diff --git a/packages/react-filerobot-image-editor/package.json b/packages/react-filerobot-image-editor/package.json index 3fabed66..8213092a 100644 --- a/packages/react-filerobot-image-editor/package.json +++ b/packages/react-filerobot-image-editor/package.json @@ -29,11 +29,11 @@ ], "dependencies": { "@babel/runtime": "^7.17.2", - "@scaleflex/icons": "1.0.0-beta.80", - "@scaleflex/ui": "1.0.0-beta.80", - "konva": "8.3.2", + "@scaleflex/icons": "1.0.0-beta.99", + "@scaleflex/ui": "1.0.0-beta.99", + "konva": "8.4.2", "prop-types": "15.7.2", - "react-konva": "18.1.1" + "react-konva": "18.2.4" }, "peerDependencies": { "react": "18.2.0", @@ -43,4 +43,4 @@ "scripts": { "build:lib": "rimraf lib && cross-env BABEL_ENV=production NODE_ENV=production babel src -d lib --config-file ../../babel.config.json -D" } -} +} \ No newline at end of file diff --git a/packages/react-filerobot-image-editor/src/components/Topbar/SaveButton.jsx b/packages/react-filerobot-image-editor/src/components/Topbar/SaveButton.jsx index efb06791..bd3f4625 100644 --- a/packages/react-filerobot-image-editor/src/components/Topbar/SaveButton.jsx +++ b/packages/react-filerobot-image-editor/src/components/Topbar/SaveButton.jsx @@ -267,7 +267,7 @@ const SaveButton = () => { onChange={changeFileName} size="sm" placeholder={t('name')} - error={Boolean(imageFileInfo.name)} + error={!imageFileInfo.name} focusOnMount />