diff --git a/integrations/vscode/package-lock.json b/integrations/vscode/package-lock.json index a69150867..70ec4c597 100644 --- a/integrations/vscode/package-lock.json +++ b/integrations/vscode/package-lock.json @@ -1,6 +1,6 @@ { "name": "vscode-paperclip", - "version": "20.4.36", + "version": "20.4.37", "lockfileVersion": 2, "requires": true, "publishConfig": { @@ -9,12 +9,12 @@ "packages": { "": { "name": "vscode-paperclip", - "version": "20.4.36", + "version": "20.4.37", "license": "MIT", "dependencies": { - "@paperclip-ui/common": "^20.4.36", - "@paperclip-ui/proto": "^20.4.36", - "@paperclip-ui/releases": "^20.4.36", + "@paperclip-ui/common": "^20.4.37", + "@paperclip-ui/proto": "^20.4.37", + "@paperclip-ui/releases": "^20.4.37", "execa": "^5.1.1", "get-port": "^3.2.0", "immer": "^9.0.15", diff --git a/integrations/vscode/package.json b/integrations/vscode/package.json index dc3882499..c5d748e9b 100644 --- a/integrations/vscode/package.json +++ b/integrations/vscode/package.json @@ -1,7 +1,7 @@ { "name": "vscode-paperclip", "displayName": "Paperclip", - "version": "20.4.36", + "version": "20.4.37", "publisher": "crcn", "preview": true, "private": true, @@ -99,9 +99,9 @@ }, "dependencies": { "@improbable-eng/grpc-web-node-http-transport": "^0.15.0", - "@paperclip-ui/common": "^20.4.36", - "@paperclip-ui/proto": "^20.4.36", - "@paperclip-ui/releases": "^20.4.36", + "@paperclip-ui/common": "^20.4.37", + "@paperclip-ui/proto": "^20.4.37", + "@paperclip-ui/releases": "^20.4.37", "color": "^4.2.3", "execa": "^5.1.1", "get-port": "^3.2.0", diff --git a/lerna.json b/lerna.json index 194965469..6a8ba785a 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "$schema": "node_modules/lerna/schemas/lerna-schema.json", "useNx": true, "npmClient": "yarn", - "version": "20.4.36" + "version": "20.4.37" } diff --git a/libs/core/package.json b/libs/core/package.json index 0c48352bd..46ceb9294 100644 --- a/libs/core/package.json +++ b/libs/core/package.json @@ -1,6 +1,6 @@ { "name": "@paperclip-ui/core", - "version": "20.4.36", + "version": "20.4.37", "description": "", "main": "lib/index.js", "scripts": { diff --git a/libs/designer-rust/package.json b/libs/designer-rust/package.json index 7c9c7f407..a880e02f2 100644 --- a/libs/designer-rust/package.json +++ b/libs/designer-rust/package.json @@ -1,6 +1,6 @@ { "name": "@paperclip-ui/designer-rust", - "version": "20.4.36", + "version": "20.4.37", "description": "", "main": "index.js", "private": true, diff --git a/libs/designer/package.json b/libs/designer/package.json index 183f9ad46..d60351ac5 100644 --- a/libs/designer/package.json +++ b/libs/designer/package.json @@ -1,6 +1,6 @@ { "name": "@paperclip-ui/designer", - "version": "20.4.36", + "version": "20.4.37", "description": "", "main": "index.js", "private": true, @@ -21,9 +21,9 @@ "@babel/preset-env": "^7.20.2", "@babel/preset-typescript": "^7.18.6", "@improbable-eng/grpc-web-node-http-transport": "^0.15.0", - "@paperclip-ui/evaluator": "^20.4.36", - "@paperclip-ui/parser": "^20.4.36", - "@paperclip-ui/workspace": "^20.4.36", + "@paperclip-ui/evaluator": "^20.4.37", + "@paperclip-ui/parser": "^20.4.37", + "@paperclip-ui/workspace": "^20.4.37", "@types/jest": "^29.2.3", "@types/react": "^18.0.21", "@types/react-dom": "^18.0.6", @@ -49,9 +49,9 @@ "webpack-dev-server": "^4.11.1" }, "dependencies": { - "@paperclip-ui/core": "^20.4.36", - "@paperclip-ui/proto": "^20.4.36", - "@paperclip-ui/web-renderer": "^20.4.36", + "@paperclip-ui/core": "^20.4.37", + "@paperclip-ui/proto": "^20.4.37", + "@paperclip-ui/web-renderer": "^20.4.37", "@types/color": "^3.0.3", "classnames": "^2.3.2", "color": "^4.2.3", @@ -60,7 +60,7 @@ "grpc-web": "^1.3.1", "immer": "^9.0.15", "lodash": "^4.17.21", - "paperclip-loader": "^20.4.36", + "paperclip-loader": "^20.4.37", "raw-loader": "^4.0.2", "react-dnd": "^16.0.1", "react-dnd-html5-backend": "^16.0.1", diff --git a/libs/designer/src/ui/logic/Editor/EditorPanels/Center/Toolbar/index.tsx b/libs/designer/src/ui/logic/Editor/EditorPanels/Center/Toolbar/index.tsx index c8ad13544..b17e3fbe0 100644 --- a/libs/designer/src/ui/logic/Editor/EditorPanels/Center/Toolbar/index.tsx +++ b/libs/designer/src/ui/logic/Editor/EditorPanels/Center/Toolbar/index.tsx @@ -9,39 +9,45 @@ import { } from "@paperclip-ui/designer/src/state"; import { DesignerEvent } from "@paperclip-ui/designer/src/events"; -export const Toolbar = (Base: React.FC) => () => { - const { - zoom, - insertMode, - onInsertElementClick, - onInsertTextClick, - onInsertResourceClick, - } = useToolbar(); +export const Toolbar = + (Base: React.FC) => () => { + const { + zoom, + insertMode, + onInsertElementClick, + onInsertTextClick, + onInsertResourceClick, + } = useToolbar(); - return ( - - - - - - - - - - - - - - {zoom}% - - - ); -}; + return ( + + + + + + + + + + {zoom}% + + + ); + }; const useToolbar = () => { const canvas = useSelector(getCanvas); diff --git a/libs/evaluator/package.json b/libs/evaluator/package.json index 99be72ef7..7f5430f46 100644 --- a/libs/evaluator/package.json +++ b/libs/evaluator/package.json @@ -1,6 +1,6 @@ { "name": "@paperclip-ui/evaluator", - "version": "20.4.36", + "version": "20.4.37", "private": true, "publishConfig": { "access": "public" @@ -14,7 +14,7 @@ "author": "", "license": "ISC", "dependencies": { - "@paperclip-ui/proto": "^20.4.36" + "@paperclip-ui/proto": "^20.4.37" }, "gitHead": "8104e4d9b0b976b8c8eccf1e4eee194a251bc76e" } diff --git a/libs/js-common/package.json b/libs/js-common/package.json index c91729ec9..ebb7689d8 100644 --- a/libs/js-common/package.json +++ b/libs/js-common/package.json @@ -1,6 +1,6 @@ { "name": "@paperclip-ui/common", - "version": "20.4.36", + "version": "20.4.37", "description": "", "main": "lib/index.js", "publishConfig": { diff --git a/libs/node-cli/package.json b/libs/node-cli/package.json index ed1b841fb..2bf6acad5 100644 --- a/libs/node-cli/package.json +++ b/libs/node-cli/package.json @@ -1,6 +1,6 @@ { "name": "@paperclip-ui/cli", - "version": "20.4.36", + "version": "20.4.37", "description": "", "main": "lib/index.js", "publishConfig": { @@ -18,7 +18,7 @@ "author": "", "license": "ISC", "dependencies": { - "@paperclip-ui/releases": "^20.4.36", + "@paperclip-ui/releases": "^20.4.37", "execa": "^5.1.1" }, "gitHead": "9cbfaf54c043385661768ba1b1a41de3ec872d1d" diff --git a/libs/paperclip-loader/package.json b/libs/paperclip-loader/package.json index 3256060a3..789797ad4 100644 --- a/libs/paperclip-loader/package.json +++ b/libs/paperclip-loader/package.json @@ -1,6 +1,6 @@ { "name": "paperclip-loader", - "version": "20.4.36", + "version": "20.4.37", "description": "", "main": "lib/index.js", "scripts": { diff --git a/libs/paperclip/package.json b/libs/paperclip/package.json index 70e16d1b8..15a4a08de 100644 --- a/libs/paperclip/package.json +++ b/libs/paperclip/package.json @@ -1,6 +1,6 @@ { "name": "paperclip", - "version": "20.4.36", + "version": "20.4.37", "description": "", "main": "index.js", "bin": "node_modules/@paperclip-ui/cli/bin/paperclip", diff --git a/libs/parser/package.json b/libs/parser/package.json index 3c2724de9..f8b198b33 100644 --- a/libs/parser/package.json +++ b/libs/parser/package.json @@ -1,6 +1,6 @@ { "name": "@paperclip-ui/parser", - "version": "20.4.36", + "version": "20.4.37", "description": "", "main": "lib/index.js", "scripts": { @@ -13,7 +13,7 @@ "author": "", "license": "ISC", "dependencies": { - "@paperclip-ui/proto": "^20.4.36" + "@paperclip-ui/proto": "^20.4.37" }, "gitHead": "9cbfaf54c043385661768ba1b1a41de3ec872d1d" } diff --git a/libs/proto/package.json b/libs/proto/package.json index 4ff3ab2c3..a01eab17c 100644 --- a/libs/proto/package.json +++ b/libs/proto/package.json @@ -1,6 +1,6 @@ { "name": "@paperclip-ui/proto", - "version": "20.4.36", + "version": "20.4.37", "description": "", "main": "index.js", "scripts": { @@ -28,7 +28,7 @@ "dependencies": { "@grpc/grpc-js": "^1.7.3", "@improbable-eng/grpc-web": "^0.15.0", - "@paperclip-ui/common": "^20.4.36", + "@paperclip-ui/common": "^20.4.37", "@types/node": "^18.11.9", "browser-headers": "^0.4.1", "rxjs": "^7.5.7", diff --git a/libs/releases/package.json b/libs/releases/package.json index b61b26f7a..6f33f230e 100644 --- a/libs/releases/package.json +++ b/libs/releases/package.json @@ -1,6 +1,6 @@ { "name": "@paperclip-ui/releases", - "version": "20.4.36", + "version": "20.4.37", "description": "", "main": "lib/index.js", "scripts": { diff --git a/libs/web-renderer/package.json b/libs/web-renderer/package.json index ced7cd06e..56bde7f26 100644 --- a/libs/web-renderer/package.json +++ b/libs/web-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@paperclip-ui/web-renderer", - "version": "20.4.36", + "version": "20.4.37", "description": "", "main": "lib/index.js", "private": true, @@ -14,8 +14,8 @@ "author": "", "license": "ISC", "dependencies": { - "@paperclip-ui/common": "^20.4.36", - "@paperclip-ui/proto": "^20.4.36", + "@paperclip-ui/common": "^20.4.37", + "@paperclip-ui/proto": "^20.4.37", "html-entities": "^1.2.1" }, "gitHead": "8104e4d9b0b976b8c8eccf1e4eee194a251bc76e" diff --git a/libs/workspace/package.json b/libs/workspace/package.json index 315251f49..0e006f46b 100644 --- a/libs/workspace/package.json +++ b/libs/workspace/package.json @@ -1,6 +1,6 @@ { "name": "@paperclip-ui/workspace", - "version": "20.4.36", + "version": "20.4.37", "description": "", "main": "index.js", "private": true, @@ -41,13 +41,13 @@ "ts-loader": "^9.3.1" }, "dependencies": { - "@paperclip-ui/designer": "^20.4.36", - "@paperclip-ui/proto": "^20.4.36", - "@paperclip-ui/web-renderer": "^20.4.36", + "@paperclip-ui/designer": "^20.4.37", + "@paperclip-ui/proto": "^20.4.37", + "@paperclip-ui/web-renderer": "^20.4.37", "grpc-web": "^1.3.1", "immer": "^9.0.15", "mocha": "^10.1.0", - "paperclip-loader": "^20.4.36", + "paperclip-loader": "^20.4.37", "react-dnd": "^16.0.1", "react-dnd-html5-backend": "^16.0.1", "react-hotkeys-hook": "^3.4.7", diff --git a/yarn.lock b/yarn.lock index 115483823..f038358c4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2224,14 +2224,14 @@ __metadata: version: 0.0.0-use.local resolution: "@paperclip-ui/cli@workspace:libs/node-cli" dependencies: - "@paperclip-ui/releases": ^20.4.36 + "@paperclip-ui/releases": ^20.4.37 execa: ^5.1.1 bin: paperclip: bin/paperclip languageName: unknown linkType: soft -"@paperclip-ui/common@^20.4.36, @paperclip-ui/common@workspace:^, @paperclip-ui/common@workspace:libs/js-common": +"@paperclip-ui/common@^20.4.37, @paperclip-ui/common@workspace:^, @paperclip-ui/common@workspace:libs/js-common": version: 0.0.0-use.local resolution: "@paperclip-ui/common@workspace:libs/js-common" dependencies: @@ -2241,7 +2241,7 @@ __metadata: languageName: unknown linkType: soft -"@paperclip-ui/core@^20.4.36, @paperclip-ui/core@workspace:libs/core": +"@paperclip-ui/core@^20.4.37, @paperclip-ui/core@workspace:libs/core": version: 0.0.0-use.local resolution: "@paperclip-ui/core@workspace:libs/core" dependencies: @@ -2262,7 +2262,7 @@ __metadata: languageName: unknown linkType: soft -"@paperclip-ui/designer@^20.4.36, @paperclip-ui/designer@workspace:libs/designer": +"@paperclip-ui/designer@^20.4.37, @paperclip-ui/designer@workspace:libs/designer": version: 0.0.0-use.local resolution: "@paperclip-ui/designer@workspace:libs/designer" dependencies: @@ -2270,12 +2270,12 @@ __metadata: "@babel/preset-env": ^7.20.2 "@babel/preset-typescript": ^7.18.6 "@improbable-eng/grpc-web-node-http-transport": ^0.15.0 - "@paperclip-ui/core": ^20.4.36 - "@paperclip-ui/evaluator": ^20.4.36 - "@paperclip-ui/parser": ^20.4.36 - "@paperclip-ui/proto": ^20.4.36 - "@paperclip-ui/web-renderer": ^20.4.36 - "@paperclip-ui/workspace": ^20.4.36 + "@paperclip-ui/core": ^20.4.37 + "@paperclip-ui/evaluator": ^20.4.37 + "@paperclip-ui/parser": ^20.4.37 + "@paperclip-ui/proto": ^20.4.37 + "@paperclip-ui/web-renderer": ^20.4.37 + "@paperclip-ui/workspace": ^20.4.37 "@types/color": ^3.0.3 "@types/jest": ^29.2.3 "@types/react": ^18.0.21 @@ -2298,7 +2298,7 @@ __metadata: lodash: ^4.17.21 mini-css-extract-plugin: ^2.6.1 nodemon: ^2.0.20 - paperclip-loader: ^20.4.36 + paperclip-loader: ^20.4.37 process: ^0.11.10 protoc-gen-grpc-web: ^1.4.0 raw-loader: ^4.0.2 @@ -2317,29 +2317,29 @@ __metadata: languageName: unknown linkType: soft -"@paperclip-ui/evaluator@^20.4.36, @paperclip-ui/evaluator@workspace:libs/evaluator": +"@paperclip-ui/evaluator@^20.4.37, @paperclip-ui/evaluator@workspace:libs/evaluator": version: 0.0.0-use.local resolution: "@paperclip-ui/evaluator@workspace:libs/evaluator" dependencies: - "@paperclip-ui/proto": ^20.4.36 + "@paperclip-ui/proto": ^20.4.37 languageName: unknown linkType: soft -"@paperclip-ui/parser@^20.4.36, @paperclip-ui/parser@workspace:libs/parser": +"@paperclip-ui/parser@^20.4.37, @paperclip-ui/parser@workspace:libs/parser": version: 0.0.0-use.local resolution: "@paperclip-ui/parser@workspace:libs/parser" dependencies: - "@paperclip-ui/proto": ^20.4.36 + "@paperclip-ui/proto": ^20.4.37 languageName: unknown linkType: soft -"@paperclip-ui/proto@^20.4.36, @paperclip-ui/proto@workspace:^, @paperclip-ui/proto@workspace:libs/proto": +"@paperclip-ui/proto@^20.4.37, @paperclip-ui/proto@workspace:^, @paperclip-ui/proto@workspace:libs/proto": version: 0.0.0-use.local resolution: "@paperclip-ui/proto@workspace:libs/proto" dependencies: "@grpc/grpc-js": ^1.7.3 "@improbable-eng/grpc-web": ^0.15.0 - "@paperclip-ui/common": ^20.4.36 + "@paperclip-ui/common": ^20.4.37 "@types/node": ^18.11.9 browser-headers: ^0.4.1 protoc-gen-grpc-js: ^0.4.0 @@ -2352,7 +2352,7 @@ __metadata: languageName: unknown linkType: soft -"@paperclip-ui/releases@^20.4.36, @paperclip-ui/releases@workspace:libs/releases": +"@paperclip-ui/releases@^20.4.37, @paperclip-ui/releases@workspace:libs/releases": version: 0.0.0-use.local resolution: "@paperclip-ui/releases@workspace:libs/releases" dependencies: @@ -2365,17 +2365,17 @@ __metadata: languageName: unknown linkType: soft -"@paperclip-ui/web-renderer@^20.4.36, @paperclip-ui/web-renderer@workspace:libs/web-renderer": +"@paperclip-ui/web-renderer@^20.4.37, @paperclip-ui/web-renderer@workspace:libs/web-renderer": version: 0.0.0-use.local resolution: "@paperclip-ui/web-renderer@workspace:libs/web-renderer" dependencies: - "@paperclip-ui/common": ^20.4.36 - "@paperclip-ui/proto": ^20.4.36 + "@paperclip-ui/common": ^20.4.37 + "@paperclip-ui/proto": ^20.4.37 html-entities: ^1.2.1 languageName: unknown linkType: soft -"@paperclip-ui/workspace@^20.4.36, @paperclip-ui/workspace@workspace:libs/workspace": +"@paperclip-ui/workspace@^20.4.37, @paperclip-ui/workspace@workspace:libs/workspace": version: 0.0.0-use.local resolution: "@paperclip-ui/workspace@workspace:libs/workspace" dependencies: @@ -2383,9 +2383,9 @@ __metadata: "@babel/preset-env": ^7.20.2 "@babel/preset-typescript": ^7.18.6 "@improbable-eng/grpc-web-node-http-transport": ^0.15.0 - "@paperclip-ui/designer": ^20.4.36 - "@paperclip-ui/proto": ^20.4.36 - "@paperclip-ui/web-renderer": ^20.4.36 + "@paperclip-ui/designer": ^20.4.37 + "@paperclip-ui/proto": ^20.4.37 + "@paperclip-ui/web-renderer": ^20.4.37 "@types/lodash": ^4.14.191 "@types/react": ^18.0.21 "@types/react-dom": ^18.0.6 @@ -2403,7 +2403,7 @@ __metadata: mini-css-extract-plugin: ^2.6.1 mocha: ^10.1.0 nodemon: ^2.0.20 - paperclip-loader: ^20.4.36 + paperclip-loader: ^20.4.37 process: ^0.11.10 protoc-gen-grpc-web: ^1.4.0 react: ^18.2.0 @@ -11559,7 +11559,7 @@ __metadata: languageName: node linkType: hard -"paperclip-loader@^20.4.36, paperclip-loader@workspace:libs/paperclip-loader": +"paperclip-loader@^20.4.37, paperclip-loader@workspace:libs/paperclip-loader": version: 0.0.0-use.local resolution: "paperclip-loader@workspace:libs/paperclip-loader" dependencies: @@ -15192,9 +15192,9 @@ __metadata: resolution: "vscode-paperclip@workspace:integrations/vscode" dependencies: "@improbable-eng/grpc-web-node-http-transport": ^0.15.0 - "@paperclip-ui/common": ^20.4.36 - "@paperclip-ui/proto": ^20.4.36 - "@paperclip-ui/releases": ^20.4.36 + "@paperclip-ui/common": ^20.4.37 + "@paperclip-ui/proto": ^20.4.37 + "@paperclip-ui/releases": ^20.4.37 "@types/get-port": ^4.2.0 "@types/node": ^18.7.21 "@types/vscode": ^1.73.0