aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-11-17 17:03:16 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2023-11-19 14:41:16 +0100
commitde7f87b5f1c59f038c54affc80f9e4a93a4485fa (patch)
tree6511070a6e1913b2cbc7eda2b0120f6284561400 /subprojects/frontend
parentbuild: silence test-fixtures publication warning (diff)
downloadrefinery-de7f87b5f1c59f038c54affc80f9e4a93a4485fa.tar.gz
refinery-de7f87b5f1c59f038c54affc80f9e4a93a4485fa.tar.zst
refinery-de7f87b5f1c59f038c54affc80f9e4a93a4485fa.zip
chore(deps): bump dependencies
Diffstat (limited to 'subprojects/frontend')
-rw-r--r--subprojects/frontend/config/detectDevModeOptions.ts6
-rw-r--r--subprojects/frontend/package.json78
-rw-r--r--subprojects/frontend/src/DirectionalSplitPane.tsx5
-rw-r--r--subprojects/frontend/src/graph/VisibilityDialog.tsx9
4 files changed, 52 insertions, 46 deletions
diff --git a/subprojects/frontend/config/detectDevModeOptions.ts b/subprojects/frontend/config/detectDevModeOptions.ts
index 6052e047..7a3de4cb 100644
--- a/subprojects/frontend/config/detectDevModeOptions.ts
+++ b/subprojects/frontend/config/detectDevModeOptions.ts
@@ -63,6 +63,11 @@ export default function detectDevModeOptions(): DevModeOptions {
63 const api = detectListenOptions('API', '127.0.0.1', 1312); 63 const api = detectListenOptions('API', '127.0.0.1', 1312);
64 const publicAddress = detectListenOptions('PUBLIC', listen.host, listen.port); 64 const publicAddress = detectListenOptions('PUBLIC', listen.host, listen.port);
65 65
66 if (listen.secure) {
67 // Since nodejs 20, we'd need to pass in HTTPS options manually.
68 throw new Error(`Preview on secure port ${listen.port} is not supported`);
69 }
70
66 const backendConfig: BackendConfig = { 71 const backendConfig: BackendConfig = {
67 webSocketURL: `${listenURL(publicAddress, 'ws')}/${API_ENDPOINT}`, 72 webSocketURL: `${listenURL(publicAddress, 'ws')}/${API_ENDPOINT}`,
68 }; 73 };
@@ -75,7 +80,6 @@ export default function detectDevModeOptions(): DevModeOptions {
75 host: listen.host, 80 host: listen.host,
76 port: listen.port, 81 port: listen.port,
77 strictPort: true, 82 strictPort: true,
78 https: listen.secure,
79 headers: { 83 headers: {
80 // Enable strict origin isolation, see e.g., 84 // Enable strict origin isolation, see e.g.,
81 // https://github.com/vitejs/vite/issues/3909#issuecomment-1065893956 85 // https://github.com/vitejs/vite/issues/3909#issuecomment-1065893956
diff --git a/subprojects/frontend/package.json b/subprojects/frontend/package.json
index 748cc78d..e710a506 100644
--- a/subprojects/frontend/package.json
+++ b/subprojects/frontend/package.json
@@ -28,74 +28,74 @@
28 }, 28 },
29 "homepage": "https://refinery.tools", 29 "homepage": "https://refinery.tools",
30 "dependencies": { 30 "dependencies": {
31 "@codemirror/autocomplete": "^6.10.2", 31 "@codemirror/autocomplete": "^6.11.0",
32 "@codemirror/commands": "^6.3.0", 32 "@codemirror/commands": "^6.3.0",
33 "@codemirror/language": "^6.9.1", 33 "@codemirror/language": "^6.9.2",
34 "@codemirror/lint": "^6.4.2", 34 "@codemirror/lint": "^6.4.2",
35 "@codemirror/search": "^6.5.4", 35 "@codemirror/search": "^6.5.4",
36 "@codemirror/state": "^6.3.1", 36 "@codemirror/state": "^6.3.1",
37 "@codemirror/view": "^6.21.3", 37 "@codemirror/view": "^6.22.0",
38 "@emotion/react": "^11.11.1", 38 "@emotion/react": "^11.11.1",
39 "@emotion/styled": "^11.11.0", 39 "@emotion/styled": "^11.11.0",
40 "@fontsource-variable/jetbrains-mono": "^5.0.16", 40 "@fontsource-variable/jetbrains-mono": "^5.0.18",
41 "@fontsource-variable/open-sans": "^5.0.16", 41 "@fontsource-variable/open-sans": "^5.0.18",
42 "@hpcc-js/wasm": "^2.14.1", 42 "@hpcc-js/wasm": "^2.14.1",
43 "@lezer/common": "^1.1.0", 43 "@lezer/common": "^1.1.1",
44 "@lezer/highlight": "^1.1.6", 44 "@lezer/highlight": "^1.2.0",
45 "@lezer/lr": "^1.3.13", 45 "@lezer/lr": "^1.3.14",
46 "@material-icons/svg": "^1.0.33", 46 "@material-icons/svg": "^1.0.33",
47 "@mui/icons-material": "5.14.14", 47 "@mui/icons-material": "5.14.18",
48 "@mui/material": "5.14.14", 48 "@mui/material": "5.14.18",
49 "@mui/system": "^5.14.14", 49 "@mui/system": "^5.14.18",
50 "@mui/x-data-grid": "^6.16.2", 50 "@mui/x-data-grid": "^6.18.1",
51 "ansi-styles": "^6.2.1", 51 "ansi-styles": "^6.2.1",
52 "csstype": "^3.1.2", 52 "csstype": "^3.1.2",
53 "d3": "^7.8.5", 53 "d3": "^7.8.5",
54 "d3-graphviz": "patch:d3-graphviz@npm%3A5.1.0#~/.yarn/patches/d3-graphviz-npm-5.1.0-ba6bed3fec.patch", 54 "d3-graphviz": "patch:d3-graphviz@npm%3A5.2.0#~/.yarn/patches/d3-graphviz-npm-5.2.0-161b1fbad4.patch",
55 "d3-selection": "^3.0.0", 55 "d3-selection": "^3.0.0",
56 "d3-zoom": "patch:d3-zoom@npm%3A3.0.0#~/.yarn/patches/d3-zoom-npm-3.0.0-18f706a421.patch", 56 "d3-zoom": "patch:d3-zoom@npm%3A3.0.0#~/.yarn/patches/d3-zoom-npm-3.0.0-18f706a421.patch",
57 "escape-string-regexp": "^5.0.0", 57 "escape-string-regexp": "^5.0.0",
58 "lodash-es": "^4.17.21", 58 "lodash-es": "^4.17.21",
59 "loglevel": "^1.8.1", 59 "loglevel": "^1.8.1",
60 "loglevel-plugin-prefix": "^0.8.4", 60 "loglevel-plugin-prefix": "^0.8.4",
61 "mobx": "^6.10.2", 61 "mobx": "^6.11.0",
62 "mobx-react-lite": "^4.0.5", 62 "mobx-react-lite": "^4.0.5",
63 "ms": "^2.1.3", 63 "ms": "^2.1.3",
64 "nanoid": "^5.0.2", 64 "nanoid": "^5.0.3",
65 "notistack": "^3.0.1", 65 "notistack": "^3.0.1",
66 "react": "^18.2.0", 66 "react": "^18.2.0",
67 "react-dom": "^18.2.0", 67 "react-dom": "^18.2.0",
68 "react-resize-detector": "^9.1.0", 68 "react-resize-detector": "^9.1.0",
69 "xstate": "^4.38.2", 69 "xstate": "^4.38.3",
70 "zod": "^3.22.4" 70 "zod": "^3.22.4"
71 }, 71 },
72 "devDependencies": { 72 "devDependencies": {
73 "@lezer/generator": "^1.5.1", 73 "@lezer/generator": "^1.5.1",
74 "@types/d3": "^7.4.2", 74 "@types/d3": "^7.4.3",
75 "@types/d3-graphviz": "^2.6.9", 75 "@types/d3-graphviz": "^2.6.10",
76 "@types/d3-selection": "^3.0.8", 76 "@types/d3-selection": "^3.0.10",
77 "@types/d3-zoom": "^3.0.6", 77 "@types/d3-zoom": "^3.0.8",
78 "@types/eslint": "^8.44.6", 78 "@types/eslint": "^8.44.7",
79 "@types/html-minifier-terser": "^7.0.1", 79 "@types/html-minifier-terser": "^7.0.2",
80 "@types/lodash-es": "^4.17.10", 80 "@types/lodash-es": "^4.17.11",
81 "@types/micromatch": "^4.0.4", 81 "@types/micromatch": "^4.0.5",
82 "@types/ms": "^0.7.33", 82 "@types/ms": "^0.7.34",
83 "@types/node": "^18.18.6", 83 "@types/node": "^20.9.2",
84 "@types/pnpapi": "^0.0.4", 84 "@types/pnpapi": "^0.0.5",
85 "@types/react": "^18.2.29", 85 "@types/react": "^18.2.37",
86 "@types/react-dom": "^18.2.14", 86 "@types/react-dom": "^18.2.15",
87 "@typescript-eslint/eslint-plugin": "^6.8.0", 87 "@typescript-eslint/eslint-plugin": "^6.11.0",
88 "@typescript-eslint/parser": "^6.8.0", 88 "@typescript-eslint/parser": "^6.11.0",
89 "@vitejs/plugin-react-swc": "^3.4.0", 89 "@vitejs/plugin-react-swc": "^3.5.0",
90 "@xstate/cli": "^0.5.7", 90 "@xstate/cli": "^0.5.11",
91 "cross-env": "^7.0.3", 91 "cross-env": "^7.0.3",
92 "eslint": "^8.51.0", 92 "eslint": "^8.54.0",
93 "eslint-config-airbnb": "^19.0.4", 93 "eslint-config-airbnb": "^19.0.4",
94 "eslint-config-airbnb-typescript": "^17.1.0", 94 "eslint-config-airbnb-typescript": "^17.1.0",
95 "eslint-config-prettier": "^9.0.0", 95 "eslint-config-prettier": "^9.0.0",
96 "eslint-import-resolver-typescript": "^3.6.1", 96 "eslint-import-resolver-typescript": "^3.6.1",
97 "eslint-plugin-import": "^2.28.1", 97 "eslint-plugin-import": "^2.29.0",
98 "eslint-plugin-jsx-a11y": "^6.7.1", 98 "eslint-plugin-jsx-a11y": "^6.8.0",
99 "eslint-plugin-mobx": "^0.0.9", 99 "eslint-plugin-mobx": "^0.0.9",
100 "eslint-plugin-prettier": "^5.0.1", 100 "eslint-plugin-prettier": "^5.0.1",
101 "eslint-plugin-react": "^7.33.2", 101 "eslint-plugin-react": "^7.33.2",
@@ -103,10 +103,10 @@
103 "html-minifier-terser": "^7.2.0", 103 "html-minifier-terser": "^7.2.0",
104 "micromatch": "^4.0.5", 104 "micromatch": "^4.0.5",
105 "pnpapi": "^0.0.0", 105 "pnpapi": "^0.0.0",
106 "prettier": "^3.0.3", 106 "prettier": "^3.1.0",
107 "typescript": "5.2.2", 107 "typescript": "5.2.2",
108 "vite": "^4.5.0", 108 "vite": "^5.0.0",
109 "vite-plugin-pwa": "^0.16.5", 109 "vite-plugin-pwa": "^0.17.0",
110 "workbox-window": "^7.0.0" 110 "workbox-window": "^7.0.0"
111 } 111 }
112} 112}
diff --git a/subprojects/frontend/src/DirectionalSplitPane.tsx b/subprojects/frontend/src/DirectionalSplitPane.tsx
index 59c8b739..110bb202 100644
--- a/subprojects/frontend/src/DirectionalSplitPane.tsx
+++ b/subprojects/frontend/src/DirectionalSplitPane.tsx
@@ -64,9 +64,8 @@ export default function DirectionalSplitPane({
64 [axis]: '0px', 64 [axis]: '0px',
65 display: showLeftOnly || showRightOnly ? 'none' : 'flex', 65 display: showLeftOnly || showRightOnly ? 'none' : 'flex',
66 flexDirection: direction, 66 flexDirection: direction,
67 [horizontalSplit 67 [horizontalSplit ? 'borderBottom' : 'borderRight']:
68 ? 'borderBottom' 68 `1px solid ${theme.palette.outer.border}`,
69 : 'borderRight']: `1px solid ${theme.palette.outer.border}`,
70 }} 69 }}
71 > 70 >
72 <Box 71 <Box
diff --git a/subprojects/frontend/src/graph/VisibilityDialog.tsx b/subprojects/frontend/src/graph/VisibilityDialog.tsx
index f1fef28b..bfdcd59f 100644
--- a/subprojects/frontend/src/graph/VisibilityDialog.tsx
+++ b/subprojects/frontend/src/graph/VisibilityDialog.tsx
@@ -210,7 +210,10 @@ function VisibilityDialog({
210 } 210 }
211 /> 211 />
212 </td> 212 </td>
213 <td onClick={() => graph.cycleVisibility(name)}> 213 <td
214 onClick={() => graph.cycleVisibility(name)}
215 aria-label="Toggle visiblity"
216 >
214 <div className="VisibilityDialog-nowrap"> 217 <div className="VisibilityDialog-nowrap">
215 <RelationName metadata={metadata} abbreviate={graph.abbreviate} /> 218 <RelationName metadata={metadata} abbreviate={graph.abbreviate} />
216 </div> 219 </div>
@@ -261,10 +264,10 @@ function VisibilityDialog({
261 <table cellSpacing={0}> 264 <table cellSpacing={0}>
262 <thead> 265 <thead>
263 <tr> 266 <tr>
264 <th> 267 <th aria-label="Show true and error values">
265 <LabelIcon /> 268 <LabelIcon />
266 </th> 269 </th>
267 <th> 270 <th aria-label="Show unknown values">
268 <LabelOutlinedIcon /> 271 <LabelOutlinedIcon />
269 </th> 272 </th>
270 <th>Symbol</th> 273 <th>Symbol</th>