Update dependencies
Fix missing peer dependencies: - warning " > @graphql-codegen/client-preset@4.8.0" has unmet peer dependency "graphql-sock@^1.0.0". - warning " > @graphql-codegen/typescript-operations@4.6.0" has unmet peer dependency "graphql-sock@^1.0.0" Ignore missing peer dependency for "mui-nested-menu" (package itself doesn't get used but a copy&pasted and modified version of its "NestedMenuItem" component
This commit is contained in:
61
package.json
61
package.json
@@ -32,33 +32,34 @@
|
|||||||
"*.{ts,tsx,js,jsx}": "eslint --fix"
|
"*.{ts,tsx,js,jsx}": "eslint --fix"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@apollo/client": "3.13.1",
|
"@apollo/client": "3.13.8",
|
||||||
"@emotion/cache": "11.14.0",
|
"@emotion/cache": "11.14.0",
|
||||||
"@emotion/react": "11.14.0",
|
"@emotion/react": "11.14.0",
|
||||||
"@emotion/styled": "11.14.0",
|
"@emotion/styled": "11.14.0",
|
||||||
"@fontsource/roboto": "5.1.1",
|
"@fontsource/roboto": "5.2.5",
|
||||||
"@juggle/resize-observer": "3.4.0",
|
"@juggle/resize-observer": "3.4.0",
|
||||||
"@loadable/component": "5.16.4",
|
"@loadable/component": "5.16.4",
|
||||||
"@mui/icons-material": "6.4.4",
|
"@mui/icons-material": "7.0.2",
|
||||||
"@mui/material": "6.4.4",
|
"@mui/material": "7.0.2",
|
||||||
"@mui/system": "6.3.0",
|
"@mui/system": "7.0.2",
|
||||||
"@mui/utils": "6.4.3",
|
"@mui/utils": "7.0.2",
|
||||||
"@mui/x-date-pickers": "7.26.0",
|
"@mui/x-date-pickers": "8.0.0",
|
||||||
"@vibrant/color": "4.0.0",
|
"@vibrant/color": "4.0.0",
|
||||||
"apollo-upload-client": "18.0.1",
|
"apollo-upload-client": "18.0.1",
|
||||||
"csstype": "3.1.3",
|
"csstype": "3.1.3",
|
||||||
"dayjs": "1.11.13",
|
"dayjs": "1.11.13",
|
||||||
"fast-average-color": "9.4.0",
|
"fast-average-color": "9.5.0",
|
||||||
"file-selector": "2.1.2",
|
"file-selector": "2.1.2",
|
||||||
"graphql": "16.10.0",
|
"graphql": "16.10.0",
|
||||||
|
"graphql-sock": "1.0.1",
|
||||||
"graphql-tag": "2.12.6",
|
"graphql-tag": "2.12.6",
|
||||||
"graphql-ws": "6.0.4",
|
"graphql-ws": "6.0.4",
|
||||||
"html-react-parser": "5.2.2",
|
"html-react-parser": "5.2.3",
|
||||||
"i18next": "24.2.2",
|
"i18next": "25.0.0",
|
||||||
"i18next-browser-languagedetector": "8.0.3",
|
"i18next-browser-languagedetector": "8.0.4",
|
||||||
"i18next-http-backend": "3.0.2",
|
"i18next-http-backend": "3.0.2",
|
||||||
"jsonrepair": "3.12.0",
|
"jsonrepair": "3.12.0",
|
||||||
"material-ui-popup-state": "5.3.3",
|
"material-ui-popup-state": "5.3.5",
|
||||||
"mui-nested-menu": "4.0.1",
|
"mui-nested-menu": "4.0.1",
|
||||||
"node-vibrant": "4.0.3",
|
"node-vibrant": "4.0.3",
|
||||||
"notistack": "3.0.2",
|
"notistack": "3.0.2",
|
||||||
@@ -66,36 +67,36 @@
|
|||||||
"react": "18.3.1",
|
"react": "18.3.1",
|
||||||
"react-beautiful-dnd": "13.1.1",
|
"react-beautiful-dnd": "13.1.1",
|
||||||
"react-dom": "18.3.1",
|
"react-dom": "18.3.1",
|
||||||
"react-hotkeys-hook": "4.6.1",
|
"react-hotkeys-hook": "5.0.1",
|
||||||
"react-i18next": "15.4.0",
|
"react-i18next": "15.4.1",
|
||||||
"react-lazily": "0.9.2",
|
"react-lazily": "0.9.2",
|
||||||
"react-router-dom": "6.26.1",
|
"react-router-dom": "6.26.1",
|
||||||
"react-virtuoso": "4.12.5",
|
"react-virtuoso": "4.12.6",
|
||||||
"sanitize-html": "2.14.0",
|
"sanitize-html": "2.16.0",
|
||||||
"stylis": "4.3.6",
|
"stylis": "4.3.6",
|
||||||
"stylis-plugin-rtl": "2.1.1",
|
"stylis-plugin-rtl": "2.1.1",
|
||||||
"use-long-press": "3.2.0",
|
"use-long-press": "3.3.0",
|
||||||
"use-query-params": "2.2.1",
|
"use-query-params": "2.2.1",
|
||||||
"webfontloader": "1.6.28"
|
"webfontloader": "1.6.28"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@graphql-codegen/cli": "5.0.5",
|
"@graphql-codegen/cli": "5.0.5",
|
||||||
"@graphql-codegen/client-preset": "4.6.2",
|
"@graphql-codegen/client-preset": "4.8.0",
|
||||||
"@graphql-codegen/typescript-apollo-client-helpers": "3.0.0",
|
"@graphql-codegen/typescript-apollo-client-helpers": "3.0.0",
|
||||||
"@graphql-codegen/typescript-operations": "4.4.0",
|
"@graphql-codegen/typescript-operations": "4.6.0",
|
||||||
"@types/apollo-upload-client": "18.0.0",
|
"@types/apollo-upload-client": "18.0.0",
|
||||||
"@types/node": "22.13.4",
|
"@types/node": "22.14.1",
|
||||||
"@types/react": "18.3.5",
|
"@types/react": "18.3.5",
|
||||||
"@types/react-beautiful-dnd": "13.1.8",
|
"@types/react-beautiful-dnd": "13.1.8",
|
||||||
"@types/react-dom": "18.3.0",
|
"@types/react-dom": "18.3.0",
|
||||||
"@types/sanitize-html": "2.13.0",
|
"@types/sanitize-html": "2.15.0",
|
||||||
"@types/stylis": "4.2.7",
|
"@types/stylis": "4.2.7",
|
||||||
"@types/webfontloader": "1.6.38",
|
"@types/webfontloader": "1.6.38",
|
||||||
"@types/yargs": "17.0.33",
|
"@types/yargs": "17.0.33",
|
||||||
"@typescript-eslint/eslint-plugin": "7.16.1",
|
"@typescript-eslint/eslint-plugin": "7.16.1",
|
||||||
"@typescript-eslint/parser": "7.16.1",
|
"@typescript-eslint/parser": "7.16.1",
|
||||||
"@vitejs/plugin-legacy": "6.0.1",
|
"@vitejs/plugin-legacy": "6.1.0",
|
||||||
"@vitejs/plugin-react-swc": "3.8.0",
|
"@vitejs/plugin-react-swc": "3.9.0",
|
||||||
"eslint": "8.57.0",
|
"eslint": "8.57.0",
|
||||||
"eslint-config-airbnb": "19.0.4",
|
"eslint-config-airbnb": "19.0.4",
|
||||||
"eslint-config-airbnb-typescript": "18.0.0",
|
"eslint-config-airbnb-typescript": "18.0.0",
|
||||||
@@ -104,18 +105,18 @@
|
|||||||
"eslint-plugin-import": "2.31.0",
|
"eslint-plugin-import": "2.31.0",
|
||||||
"eslint-plugin-jsx-a11y": "6.10.2",
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
||||||
"eslint-plugin-no-relative-import-paths": "1.6.1",
|
"eslint-plugin-no-relative-import-paths": "1.6.1",
|
||||||
"eslint-plugin-prettier": "5.2.3",
|
"eslint-plugin-prettier": "5.2.6",
|
||||||
"eslint-plugin-react": "7.37.4",
|
"eslint-plugin-react": "7.37.5",
|
||||||
"eslint-plugin-react-hooks": "4.6.2",
|
"eslint-plugin-react-hooks": "4.6.2",
|
||||||
"eslint-plugin-unused-imports": "3.2.0",
|
"eslint-plugin-unused-imports": "3.2.0",
|
||||||
"husky": "9.1.7",
|
"husky": "9.1.7",
|
||||||
"lint-staged": "15.4.3",
|
"lint-staged": "15.5.1",
|
||||||
"prettier": "3.5.1",
|
"prettier": "3.5.3",
|
||||||
"syncyarnlock": "1.0.19",
|
"syncyarnlock": "1.0.19",
|
||||||
"terser": "5.39.0",
|
"terser": "5.39.0",
|
||||||
"tsx": "4.19.2",
|
"tsx": "4.19.3",
|
||||||
"typescript": "5.7.3",
|
"typescript": "5.8.3",
|
||||||
"vite": "6.1.0",
|
"vite": "6.3.1",
|
||||||
"vite-tsconfig-paths": "5.1.4",
|
"vite-tsconfig-paths": "5.1.4",
|
||||||
"yargs": "17.7.2"
|
"yargs": "17.7.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,15 +11,15 @@ import { useHotkeysContext } from 'react-hotkeys-hook';
|
|||||||
import { HotkeyScope } from '@/modules/hotkeys/Hotkeys.types.ts';
|
import { HotkeyScope } from '@/modules/hotkeys/Hotkeys.types.ts';
|
||||||
|
|
||||||
export const useDisableAllHotkeysWhileMounted = (shouldDisable?: boolean) => {
|
export const useDisableAllHotkeysWhileMounted = (shouldDisable?: boolean) => {
|
||||||
const { enabledScopes, enableScope, disableScope } = useHotkeysContext();
|
const { activeScopes, enableScope, disableScope } = useHotkeysContext();
|
||||||
const previouslyEnabledScopes = useRef<typeof enabledScopes>([]);
|
const previouslyEnabledScopes = useRef<typeof activeScopes>([]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!shouldDisable) {
|
if (!shouldDisable) {
|
||||||
return () => {};
|
return () => {};
|
||||||
}
|
}
|
||||||
|
|
||||||
previouslyEnabledScopes.current = [...enabledScopes];
|
previouslyEnabledScopes.current = [...activeScopes];
|
||||||
|
|
||||||
enableScope(HotkeyScope.NONE);
|
enableScope(HotkeyScope.NONE);
|
||||||
previouslyEnabledScopes.current.forEach(disableScope);
|
previouslyEnabledScopes.current.forEach(disableScope);
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import React, {
|
|||||||
useRef,
|
useRef,
|
||||||
useState,
|
useState,
|
||||||
} from 'react';
|
} from 'react';
|
||||||
import Grid, { Grid2TypeMap as GridTypeMap } from '@mui/material/Grid2';
|
import Grid, { GridTypeMap } from '@mui/material/Grid';
|
||||||
import Box, { BoxProps } from '@mui/material/Box';
|
import Box, { BoxProps } from '@mui/material/Box';
|
||||||
import { GridItemProps, GridStateSnapshot, VirtuosoGrid } from 'react-virtuoso';
|
import { GridItemProps, GridStateSnapshot, VirtuosoGrid } from 'react-virtuoso';
|
||||||
import { useLocation } from 'react-router-dom';
|
import { useLocation } from 'react-router-dom';
|
||||||
|
|||||||
Reference in New Issue
Block a user