From 9edef6af78e7f67ade7dfd815871d53a37f37ab7 Mon Sep 17 00:00:00 2001 From: Stephan Krusche Date: Sat, 15 Jul 2023 12:00:55 +0200 Subject: [PATCH] revert redux update because it would lead to problems --- package.json | 2 +- .../__snapshots__/update-pane-test.tsx.snap | 20 +++++----- .../default-element-popup-test.tsx.snap | 4 +- .../default-relationship-popup-test.tsx.snap | 2 +- .../uml-classifier-update-test.tsx.snap | 22 +++++----- .../flowchart-decision-update-test.tsx.snap | 4 +- .../flowchart-flowline-update-test.tsx.snap | 6 +-- ...owchart-function-call-update-test.tsx.snap | 4 +- ...lowchart-input-output-update-test.tsx.snap | 4 +- .../flowchart-process-update-test.tsx.snap | 4 +- .../flowchart-terminal-update-test.tsx.snap | 4 +- .../class-association-popup-test.tsx.snap | 14 +++---- ...uml-communication-link-popup-test.tsx.snap | 40 +++++++++---------- .../deployment-node-popup-test.tsx.snap | 6 +-- .../uml-object-name-test.tsx.snap | 8 ++-- .../uml-petri-net-arc-update-test.tsx.snap | 6 +-- .../uml-petri-net-place-update-test.tsx.snap | 10 ++--- ...eachability-graph-arc-update-test.tsx.snap | 6 +-- ...ability-graph-marking-update-test.tsx.snap | 4 +- yarn.lock | 8 ++-- 20 files changed, 89 insertions(+), 89 deletions(-) diff --git a/package.json b/package.json index d34daf664..f51cf7cc0 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "react": "18.2.0", "react-color": "2.19.3", "react-dom": "18.2.0", - "react-redux": "8.1.1", + "react-redux": "8.0.7", "react-tooltip": "4.5.1", "redux": "4.2.1", "redux-saga": "1.2.3", diff --git a/src/tests/unit/components/update-pane/__snapshots__/update-pane-test.tsx.snap b/src/tests/unit/components/update-pane/__snapshots__/update-pane-test.tsx.snap index d97947ea4..2760fd5cf 100644 --- a/src/tests/unit/components/update-pane/__snapshots__/update-pane-test.tsx.snap +++ b/src/tests/unit/components/update-pane/__snapshots__/update-pane-test.tsx.snap @@ -32,7 +32,7 @@ exports[`test update pane render with element 1`] = ` -ms-overflow-style: -ms-autohiding-scrollbar; border: 1px solid var(--apollon-gray,#e9ecef); background-position: calc(50% + 24.5px) calc(50% + 24.5px); - background-size: 50px 50px,50px 50px, 10px 10px,10px 10px; + background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px; background-image: linear-gradient(to right,var(--apollon-grid,rgba(36,39,36,0.1)) 1px,transparent 1px), linear-gradient(to bottom,var(--apollon-grid,rgba(36,39,36,0.1)) 1px,transparent 1px), linear-gradient(to right,var(--apollon-gray,#e9ecef) 1px,transparent 1px), linear-gradient(to bottom,var(--apollon-gray,#e9ecef) 1px,transparent 1px); background-repeat: repeat; background-attachment: local; @@ -53,8 +53,8 @@ exports[`test update pane render with element 1`] = ` overflow: visible; padding: 0.375em 0.75em; text-transform: none; - -webkit-transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -153,8 +153,8 @@ exports[`test update pane render with element 1`] = ` margin: 0; overflow: visible; padding: 0.375em 0.75em; - -webkit-transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out; - transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out; + -webkit-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } .c7:focus { @@ -606,7 +606,7 @@ exports[`test update pane render with relationship 1`] = ` -ms-overflow-style: -ms-autohiding-scrollbar; border: 1px solid var(--apollon-gray,#e9ecef); background-position: calc(50% + 24.5px) calc(50% + 24.5px); - background-size: 50px 50px,50px 50px, 10px 10px,10px 10px; + background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px; background-image: linear-gradient(to right,var(--apollon-grid,rgba(36,39,36,0.1)) 1px,transparent 1px), linear-gradient(to bottom,var(--apollon-grid,rgba(36,39,36,0.1)) 1px,transparent 1px), linear-gradient(to right,var(--apollon-gray,#e9ecef) 1px,transparent 1px), linear-gradient(to bottom,var(--apollon-gray,#e9ecef) 1px,transparent 1px); background-repeat: repeat; background-attachment: local; @@ -627,8 +627,8 @@ exports[`test update pane render with relationship 1`] = ` overflow: visible; padding: 0.375em 0.75em; text-transform: none; - -webkit-transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; @@ -694,8 +694,8 @@ exports[`test update pane render with relationship 1`] = ` margin: 0; overflow: visible; padding: 0.375em 0.75em; - -webkit-transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out; - transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out; + -webkit-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; + transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } .c16:focus { diff --git a/src/tests/unit/packages/common/default-element-popup/__snapshots__/default-element-popup-test.tsx.snap b/src/tests/unit/packages/common/default-element-popup/__snapshots__/default-element-popup-test.tsx.snap index cd2459e65..1b4310e56 100644 --- a/src/tests/unit/packages/common/default-element-popup/__snapshots__/default-element-popup-test.tsx.snap +++ b/src/tests/unit/packages/common/default-element-popup/__snapshots__/default-element-popup-test.tsx.snap @@ -10,11 +10,11 @@ exports[`test default element popup render 1`] = ` class="sc-jxOSlx WMFeS" > @@ -113,12 +113,12 @@ exports[`test class association popup render 1`] = ` class="sc-esYiGF jnEhCX" > diff --git a/src/tests/unit/packages/flowchart/flowchart-decision/__snapshots__/flowchart-decision-update-test.tsx.snap b/src/tests/unit/packages/flowchart/flowchart-decision/__snapshots__/flowchart-decision-update-test.tsx.snap index cad73b127..eec278bbb 100644 --- a/src/tests/unit/packages/flowchart/flowchart-decision/__snapshots__/flowchart-decision-update-test.tsx.snap +++ b/src/tests/unit/packages/flowchart/flowchart-decision/__snapshots__/flowchart-decision-update-test.tsx.snap @@ -9,13 +9,13 @@ exports[`test flowchart decision update render 1`] = ` class="sc-jnOGJG djsxMp" > diff --git a/src/tests/unit/packages/uml-deployment-diagram/uml-deployment-node/uml-deployment-node-popup/__snapshots__/deployment-node-popup-test.tsx.snap b/src/tests/unit/packages/uml-deployment-diagram/uml-deployment-node/uml-deployment-node-popup/__snapshots__/deployment-node-popup-test.tsx.snap index e46edb135..2ac375d0d 100644 --- a/src/tests/unit/packages/uml-deployment-diagram/uml-deployment-node/uml-deployment-node-popup/__snapshots__/deployment-node-popup-test.tsx.snap +++ b/src/tests/unit/packages/uml-deployment-diagram/uml-deployment-node/uml-deployment-node-popup/__snapshots__/deployment-node-popup-test.tsx.snap @@ -9,12 +9,12 @@ exports[`test deployment node popup render 1`] = ` class="sc-gmPhUn kYucFZ" >