From 59f3190ddad39807c2ee07227b78ebb70c5522f9 Mon Sep 17 00:00:00 2001 From: bd <331677620@qq.com> Date: Wed, 15 May 2024 13:15:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E4=B8=8B=E7=9A=84=E5=8F=98=E9=87=8F=E7=BC=A9=E6=94=BE=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + packages/painter/CHANGELOG.md | 6 ++++++ packages/painter/package.json | 2 +- packages/painter/src/Painter.tsx | 8 ++++---- packages/pdf-viewer/CHANGELOG.md | 7 +++++++ packages/pdf-viewer/package.json | 4 ++-- 6 files changed, 21 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 4e99af2..c7b7cc8 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "build": "echo \"ok\"", "deploy": "npm run docs:build && npm run docs:deploy", "c": "changeset", + "cv": "changeset; changeset version;", "cv:pre": "changeset version --snapshot prepublish --snapshot-prerelease-template {tag}-${TIMESTAMP}", "pub": "npm run test && changeset publish && git push", "pub:only": "npm run test && changeset publish", diff --git a/packages/painter/CHANGELOG.md b/packages/painter/CHANGELOG.md index 6493ad8..8660d88 100644 --- a/packages/painter/CHANGELOG.md +++ b/packages/painter/CHANGELOG.md @@ -1,5 +1,11 @@ # @orca-fe/painter +## 1.4.55 + +### Patch Changes + +- fix: 修复图片下的缩放变量问题 + ## 1.4.54 ### Patch Changes diff --git a/packages/painter/package.json b/packages/painter/package.json index 4c39467..1753fda 100644 --- a/packages/painter/package.json +++ b/packages/painter/package.json @@ -1,6 +1,6 @@ { "name": "@orca-fe/painter", - "version": "1.4.54", + "version": "1.4.55", "description": "Konva Painter", "keywords": [ "react", diff --git a/packages/painter/src/Painter.tsx b/packages/painter/src/Painter.tsx index 5bb1f96..edac93f 100644 --- a/packages/painter/src/Painter.tsx +++ b/packages/painter/src/Painter.tsx @@ -333,10 +333,10 @@ const Painter = forwardRef(function (props: PainterProp dataIndex, ); }} - style={{ - // @ts-expect-error 允许 variable - '--transformer-layout-scale': 'var(--scale-factor)', - }} + // style={{ + // // @ts-expect-error 允许 variable + // '--transformer-layout-scale': 'var(--scale-factor)', + // }} > {(item, index) => ( <> diff --git a/packages/pdf-viewer/CHANGELOG.md b/packages/pdf-viewer/CHANGELOG.md index fbfe636..28a8e43 100644 --- a/packages/pdf-viewer/CHANGELOG.md +++ b/packages/pdf-viewer/CHANGELOG.md @@ -1,5 +1,12 @@ # @orca-fe/pdf-viewer +## 1.21.9 + +### Patch Changes + +- Updated dependencies + - @orca-fe/painter@1.4.55 + ## 1.21.8 ### Patch Changes diff --git a/packages/pdf-viewer/package.json b/packages/pdf-viewer/package.json index 0162e32..94cde5e 100644 --- a/packages/pdf-viewer/package.json +++ b/packages/pdf-viewer/package.json @@ -1,6 +1,6 @@ { "name": "@orca-fe/pdf-viewer", - "version": "1.21.8", + "version": "1.21.9", "description": "PDF Viewer", "keywords": [ "react", @@ -40,7 +40,7 @@ "dependencies": { "@orca-fe/hooks": "^1.12.0", "@orca-fe/jss-plugin-auto-prefix": "^0.0.1", - "@orca-fe/painter": "^1.4.54", + "@orca-fe/painter": "^1.4.55", "@orca-fe/pdfjs-dist-browserify": "^3.8.24", "@orca-fe/pocket": "^3.4.4", "@orca-fe/simple-jss": "^0.0.3",