Skip to content

Commit

Permalink
jest jak jest
Browse files Browse the repository at this point in the history
  • Loading branch information
aexol committed Feb 6, 2024
1 parent 072e170 commit 1cd4169
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 20 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/editor-worker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-editor-worker",
"version": "7.1.7",
"version": "7.1.8",
"private": false,
"license": "MIT",
"description": "Visual node editor for GraphQL",
Expand Down
4 changes: 2 additions & 2 deletions packages/editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphql-editor",
"version": "7.1.7",
"version": "7.1.8",
"private": false,
"license": "MIT",
"description": "Visual node editor for GraphQL",
Expand Down Expand Up @@ -45,7 +45,7 @@
"file-saver": "^2.0.5",
"framer-motion": "^10.12.16",
"fuzzyjs": "^5.0.1",
"graphql-editor-worker": "^7.1.7",
"graphql-editor-worker": "^7.1.8",
"graphql-js-tree": "^1.0.9",
"graphql-language-service": "3.1.4",
"html-to-image": "^1.10.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ export const LinesDiagram = React.forwardRef<
) => {
if (simulatedNodes && !props.hide) {
const size = wrapper.getBoundingClientRect();
changeZoomInTopBar(state.scale);
changeZoomInTopBar;
// changeZoomInTopBar(state.scale);
if (!size) return;
requestAnimationFrame((timeStamp) => {
const delta = timeStamp - lastTimestamp;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,20 @@ export const Field: React.FC<FieldProps> = ({ node }) => {
const nodeClick = (n: ParserField) => {
const parent = getParentOfField(n);
if (parent) {
const isFocus = !!(focusMode && filteredFocusedNodes);
if (isFocus) {
setTypeRelatedNodesToFocusedNode(parent);
if (!filteredFocusedNodes.find((ffn) => ffn.id === parent.id)) {
return;
}
}
setSelectedNodeId({
source: "relation",
value: {
id: parent.id,
name: parent.name,
},
});

const isFocus = !!(focusMode && filteredFocusedNodes);
if (isFocus) {
setTypeRelatedNodesToFocusedNode(parent);
}
}
};
return (
Expand Down
4 changes: 2 additions & 2 deletions packages/sandbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sandbox",
"version": "7.1.7",
"version": "7.1.8",
"private": false,
"license": "MIT",
"description": "Visual node editor for GraphQL",
Expand Down Expand Up @@ -49,7 +49,7 @@
"@aexol-studio/styling-system": "^0.0.8",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"graphql-editor": "^7.1.7",
"graphql-editor": "^7.1.8",
"graphql-js-tree": "^0.1.6",
"socket.io-client": "^4.7.2",
"y-monaco": "^0.1.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/socket-live-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "socket-live-test",
"version": "2.1.7",
"version": "2.1.8",
"description": "testing editor live",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/svg-ts-sync/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svg-ts-sync",
"version": "1.1.7",
"version": "1.1.8",
"private": false,
"license": "MIT",
"description": "Sync folders with svg's to react typescript components",
Expand Down

0 comments on commit 1cd4169

Please sign in to comment.