开源白板工具(SaaS),一体化白板,包含思维导图、流程图、自由画等。All in one open-source whiteboard tool with mind, flowchart, freehand and etc.
build: bump plait into 0.77.1 (#93)
pubuzhixing87788779f3120
diff --git a/package-lock.json b/package-lock.jsonindex e9c6096..9c30807 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,21 +1,21 @@{"name": "@drawnix/source",- "version": "0.0.1",+ "version": "0.0.2","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "@drawnix/source",- "version": "0.0.1",+ "version": "0.0.2","license": "MIT","dependencies": {"@floating-ui/react": "^0.26.24",- "@plait/common": "^0.76.0",- "@plait/core": "^0.76.0",- "@plait/draw": "^0.76.0",- "@plait/layouts": "^0.76.0",- "@plait/mind": "^0.76.0",- "@plait/text-plugins": "^0.76.0",+ "@plait/common": "^0.77.1",+ "@plait/core": "^0.77.1",+ "@plait/draw": "^0.77.1",+ "@plait/layouts": "^0.77.1",+ "@plait/mind": "^0.77.1",+ "@plait/text-plugins": "^0.77.1","ahooks": "^3.8.0","browser-fs-access": "^0.35.0","classnames": "^2.5.1",@@ -4345,17 +4345,17 @@}},"node_modules/@plait/common": {- "version": "0.76.0",- "resolved": "https://registry.npmjs.org/@plait/common/-/common-0.76.0.tgz",- "integrity": "sha512-I6uJITS/8gcxn5+HGlskUd2VqGut/ZoBn02oOYLcBpFROGI5QwtXBVUdneOPAdmq+8FZDeo2HNTCYnjPQPRbgw==",+ "version": "0.77.1",+ "resolved": "https://registry.npmjs.org/@plait/common/-/common-0.77.1.tgz",+ "integrity": "sha512-1d5R4fdItAyyxGBDoz0GClLNaWjZ7EcfgabzPnvXx2DJC7AfSOITIGy3KP1XfMghSaeCAlBIwmxEjXGCDu+GgA==","dependencies": {"tslib": "^2.3.0"}},"node_modules/@plait/core": {- "version": "0.76.0",- "resolved": "https://registry.npmjs.org/@plait/core/-/core-0.76.0.tgz",- "integrity": "sha512-8VG8h+sHEPZMSEsnq1zZCxVe9Ub9rx0AjLbIAkUi8MLZQ794a3adLWSrpOSkpYZ7IDo1jLXcSDFSUvlwidFMDA==",+ "version": "0.77.1",+ "resolved": "https://registry.npmjs.org/@plait/core/-/core-0.77.1.tgz",+ "integrity": "sha512-v2/cq2IhCoL4ck129mx1zskJa6YCloSs4kOUuxwTnembK5h2ALgsZioHIafekDW6VDcbz8ASn3uQUD1+p/HI3A==","dependencies": {"tslib": "^2.3.0"},@@ -4368,33 +4368,33 @@}},"node_modules/@plait/draw": {- "version": "0.76.0",- "resolved": "https://registry.npmjs.org/@plait/draw/-/draw-0.76.0.tgz",- "integrity": "sha512-zKLjs+g6RrALz7YymN6iLtEh+4QfSwrPAe6vp2qEa8msgdgLQgQkV2nwzHKQykeKgZlKajMlu16s3+Q3UFn/yQ==",+ "version": "0.77.1",+ "resolved": "https://registry.npmjs.org/@plait/draw/-/draw-0.77.1.tgz",+ "integrity": "sha512-/E6kT08bPfIwuSYxpHlPWlDXol0k8176JlxRSqgk+YJIFDafnr9J6xiFSubG9hWVamgUsq6mA1w411zeOzns4w==","dependencies": {"tslib": "^2.3.0"}},"node_modules/@plait/layouts": {- "version": "0.76.0",- "resolved": "https://registry.npmjs.org/@plait/layouts/-/layouts-0.76.0.tgz",- "integrity": "sha512-fwT/SbcvYBxrJXIUY+WALOTm7tQ0trs7WD4Y6BqcqKHX50B9OB4plPwelzC+I2NjIvKgJmpQxE21Re2JuaoJow==",+ "version": "0.77.1",+ "resolved": "https://registry.npmjs.org/@plait/layouts/-/layouts-0.77.1.tgz",+ "integrity": "sha512-occaz0DNcun0tqsZ2LTU948sOgohDAGQRIAfIrPpgvQagCzSPegaDab7QOJdS9m9cNIbp+64a0/B6zl6vUk7nQ==","dependencies": {"tslib": "^2.3.0"}},"node_modules/@plait/mind": {- "version": "0.76.0",- "resolved": "https://registry.npmjs.org/@plait/mind/-/mind-0.76.0.tgz",- "integrity": "sha512-xfAsGrya/67fs+cX+1MyuPFBb3J61HgltLUpwZ0Dp+e4fEBCUK98+adpI2gDPF+KCgZbn0Pm6O16NtdeyKUwgQ==",+ "version": "0.77.1",+ "resolved": "https://registry.npmjs.org/@plait/mind/-/mind-0.77.1.tgz",+ "integrity": "sha512-AtOPmjEVupcGtO8/NYPHCY8meNEwXR26eLZuERhuRn3Lczwzl8H/+52LZ4ezQIEfHCXMlRT21bxgghoi05DJ5w==","dependencies": {"tslib": "^2.3.0"}},"node_modules/@plait/text-plugins": {- "version": "0.76.0",- "resolved": "https://registry.npmjs.org/@plait/text-plugins/-/text-plugins-0.76.0.tgz",- "integrity": "sha512-gbOBfKVDe77MaG06bfOhDHvSMSCn14P9kcdv1mDXHdAqjfiM0jY8lBDv+RoOugynqzS8tzzXfElFod7VWU+NmQ==",+ "version": "0.77.1",+ "resolved": "https://registry.npmjs.org/@plait/text-plugins/-/text-plugins-0.77.1.tgz",+ "integrity": "sha512-O4dfjnhRMGVxoNspxznCn3iFbH3hn+iA+LBYZ6vzkGMJx7OaTl0LiAbq8oaZIdz++IWdjUD4LdAPr4ZdJebV4A==","dependencies": {"tslib": "^2.3.0"}diff --git a/package.json b/package.jsonindex 06d2817..eedc615 100644--- a/package.json+++ b/package.json@@ -10,12 +10,12 @@"private": true,"dependencies": {"@floating-ui/react": "^0.26.24",- "@plait/common": "^0.76.0",- "@plait/core": "^0.76.0",- "@plait/draw": "^0.76.0",- "@plait/layouts": "^0.76.0",- "@plait/mind": "^0.76.0",- "@plait/text-plugins": "^0.76.0",+ "@plait/common": "^0.77.1",+ "@plait/core": "^0.77.1",+ "@plait/draw": "^0.77.1",+ "@plait/layouts": "^0.77.1",+ "@plait/mind": "^0.77.1",+ "@plait/text-plugins": "^0.77.1","ahooks": "^3.8.0","browser-fs-access": "^0.35.0","classnames": "^2.5.1",diff --git a/packages/react-board/src/wrapper.tsx b/packages/react-board/src/wrapper.tsxindex a21e6d9..7b12ca4 100644--- a/packages/react-board/src/wrapper.tsx+++ b/packages/react-board/src/wrapper.tsx@@ -25,6 +25,7 @@ import {getSelectedElements,updateViewportOffset,initializeViewBox,+ withI18n,} from '@plait/core';import { BoardChangeData } from './plugins/board';import { useCallback, useEffect, useState } from 'react';@@ -195,8 +196,10 @@ const initializeBoard = (withSelection(withMoving(withBoard(- withOptions(- withReact(withImage(withText(createBoard(value, options))))+ withI18n(+ withOptions(+ withReact(withImage(withText(createBoard(value, options))))+ ))))