Merge pull request #20268 from overleaf/revert-19885-mj-resizeable-panels

Revert "[web] Upgrade react-resizable-panels"

GitOrigin-RevId: 65b6cf9656c1116f77ae5dc3ceec1106e898d6f9
This commit is contained in:
Mathias Jakobsen 2024-09-04 10:28:27 +01:00 committed by Copybot
parent 1a8cf9b87d
commit 99269d3928
3 changed files with 11 additions and 11 deletions

16
package-lock.json generated
View file

@ -35221,9 +35221,9 @@
} }
}, },
"node_modules/react-resizable-panels": { "node_modules/react-resizable-panels": {
"version": "2.1.1", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/react-resizable-panels/-/react-resizable-panels-2.1.1.tgz", "resolved": "https://registry.npmjs.org/react-resizable-panels/-/react-resizable-panels-1.0.3.tgz",
"integrity": "sha512-+cUV/yZBYfiBj+WJtpWDJ3NtR4zgDZfHt3+xtaETKE+FCvp+RK/NJxacDQKxMHgRUTSkfA6AnGljQ5QZNsCQoA==", "integrity": "sha512-d54mBF/T6S51ZAU7s8SjLMa9hnLIhBHi35GJkdzC+gsEOpm8IEQ5odJid1AWi8neGfGm2HDANGo8Ndc6C8ISdw==",
"dev": true, "dev": true,
"peerDependencies": { "peerDependencies": {
"react": "^16.14.0 || ^17.0.0 || ^18.0.0", "react": "^16.14.0 || ^17.0.0 || ^18.0.0",
@ -44848,7 +44848,7 @@
"react-linkify": "^1.0.0-alpha", "react-linkify": "^1.0.0-alpha",
"react-overlays": "^0.9.3", "react-overlays": "^0.9.3",
"react-refresh": "^0.14.0", "react-refresh": "^0.14.0",
"react-resizable-panels": "^2.1.1", "react-resizable-panels": "^1.0.3",
"resolve-url-loader": "^5.0.0", "resolve-url-loader": "^5.0.0",
"samlp": "^7.0.2", "samlp": "^7.0.2",
"sandboxed-module": "overleaf/node-sandboxed-module#cafa2d60f17ce75cc023e6f296eb8de79d92d35d", "sandboxed-module": "overleaf/node-sandboxed-module#cafa2d60f17ce75cc023e6f296eb8de79d92d35d",
@ -53468,7 +53468,7 @@
"react-linkify": "^1.0.0-alpha", "react-linkify": "^1.0.0-alpha",
"react-overlays": "^0.9.3", "react-overlays": "^0.9.3",
"react-refresh": "^0.14.0", "react-refresh": "^0.14.0",
"react-resizable-panels": "^2.1.1", "react-resizable-panels": "^1.0.3",
"recurly": "^4.0.0", "recurly": "^4.0.0",
"referer-parser": "github:overleaf/nodejs-referer-parser#8b8b103762d05b7be4cfa2f810e1d408be67d7bb", "referer-parser": "github:overleaf/nodejs-referer-parser#8b8b103762d05b7be4cfa2f810e1d408be67d7bb",
"request": "^2.88.2", "request": "^2.88.2",
@ -75662,9 +75662,9 @@
"dev": true "dev": true
}, },
"react-resizable-panels": { "react-resizable-panels": {
"version": "2.1.1", "version": "1.0.3",
"resolved": "https://registry.npmjs.org/react-resizable-panels/-/react-resizable-panels-2.1.1.tgz", "resolved": "https://registry.npmjs.org/react-resizable-panels/-/react-resizable-panels-1.0.3.tgz",
"integrity": "sha512-+cUV/yZBYfiBj+WJtpWDJ3NtR4zgDZfHt3+xtaETKE+FCvp+RK/NJxacDQKxMHgRUTSkfA6AnGljQ5QZNsCQoA==", "integrity": "sha512-d54mBF/T6S51ZAU7s8SjLMa9hnLIhBHi35GJkdzC+gsEOpm8IEQ5odJid1AWi8neGfGm2HDANGo8Ndc6C8ISdw==",
"dev": true, "dev": true,
"requires": {} "requires": {}
}, },

View file

@ -45,9 +45,9 @@ export const EditorAndPdf: FC = () => {
hidden: view === 'history', hidden: view === 'history',
})} })}
> >
{/* ide */} {/* main */}
<Panel <Panel
id="panel-ide" id="panel-main"
order={1} order={1}
defaultSize={50} defaultSize={50}
minSize={5} minSize={5}

View file

@ -343,7 +343,7 @@
"react-linkify": "^1.0.0-alpha", "react-linkify": "^1.0.0-alpha",
"react-overlays": "^0.9.3", "react-overlays": "^0.9.3",
"react-refresh": "^0.14.0", "react-refresh": "^0.14.0",
"react-resizable-panels": "^2.1.1", "react-resizable-panels": "^1.0.3",
"resolve-url-loader": "^5.0.0", "resolve-url-loader": "^5.0.0",
"samlp": "^7.0.2", "samlp": "^7.0.2",
"sandboxed-module": "overleaf/node-sandboxed-module#cafa2d60f17ce75cc023e6f296eb8de79d92d35d", "sandboxed-module": "overleaf/node-sandboxed-module#cafa2d60f17ce75cc023e6f296eb8de79d92d35d",