Skip to content

Commit f054afb

Browse files
chore: update-dependencies
1 parent 944de42 commit f054afb

File tree

7 files changed

+748
-143
lines changed

7 files changed

+748
-143
lines changed

web-devtools/eslint.config.mjs

-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export default [
3030
"plugin:react-hooks/recommended",
3131
"plugin:import/recommended",
3232
"plugin:import/react",
33-
"plugin:security/recommended",
3433
"plugin:@typescript-eslint/recommended",
3534
"plugin:prettier/recommended",
3635
"prettier"
@@ -41,7 +40,6 @@ export default [
4140
react: fixupPluginRules(react),
4241
"react-hooks": fixupPluginRules(reactHooks),
4342
security: fixupPluginRules(security),
44-
import: fixupPluginRules(_import),
4543
},
4644

4745
languageOptions: {

web-devtools/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@
2929
"@graphql-codegen/client-preset": "^4.5.0",
3030
"@svgr/webpack": "^8.1.0",
3131
"@types/node": "^20.17.6",
32-
"@types/react": "npm:[email protected]",
33-
"@types/react-dom": "npm:[email protected].1",
32+
"@types/react": "^18.3.12",
33+
"@types/react-dom": "^18.3.1",
3434
"@types/react-is": "^18.3.0",
3535
"@types/styled-components": "^5.1.34",
3636
"@typescript-eslint/eslint-plugin": "^8.15.0",
3737
"@typescript-eslint/parser": "^8.15.0",
3838
"@typescript-eslint/utils": "^8.15.0",
3939
"@wagmi/cli": "^2.1.18",
4040
"eslint": "^9.15.0",
41-
"eslint-config-next": "15.0.3",
41+
"eslint-config-next": "^15.0.3",
4242
"eslint-config-prettier": "^9.1.0",
4343
"eslint-import-resolver-typescript": "^3.6.3",
4444
"eslint-plugin-react": "^7.37.2",
@@ -57,12 +57,12 @@
5757
"graphql": "^16.9.0",
5858
"graphql-request": "^7.1.2",
5959
"next": "15.0.3",
60-
"react": "19.0.0-rc-66855b96-20241106",
61-
"react-dom": "19.0.0-rc-66855b96-20241106",
60+
"react": "^18.3.1",
61+
"react-dom": "^18.3.1",
6262
"react-is": "^18.3.1",
63-
"react-markdown": "^8.0.7",
63+
"react-markdown": "^9.0.1",
6464
"react-toastify": "^10.0.6",
65-
"styled-components": "^5.3.11",
65+
"styled-components": "^6.1.13",
6666
"typewriter-effect": "^2.21.0",
6767
"vanilla-jsoneditor": "^0.21.6",
6868
"viem": "^2.21.48",

web-devtools/src/app/(main)/ruler/SelectArbitrable.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const SelectContainer = styled.div`
4848
position: relative;
4949
`;
5050

51-
const StyledField = styled(Field as any)`
51+
const StyledField = styled(Field)`
5252
width: auto;
5353
${landscapeStyle(
5454
() => css`

web-devtools/src/layout/Header/navbar/index.tsx

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ import { useOpenContext } from "../MobileHeader";
88

99
import Explore from "./Explore";
1010

11-
const Wrapper = styled.div<{ isOpen: boolean }>`
12-
visibility: ${({ isOpen }) => (isOpen ? "visible" : "hidden")};
11+
const Wrapper = styled.div<{ $isOpen: boolean }>`
12+
visibility: ${({ $isOpen }) => ($isOpen ? "visible" : "hidden")};
1313
position: absolute;
1414
top: 100%;
1515
left: 0;
1616
width: 100vw;
1717
z-index: 30;
1818
`;
1919

20-
const Container = styled.div<{ isOpen: boolean }>`
20+
const Container = styled.div<{ $isOpen: boolean }>`
2121
position: absolute;
2222
top: 0;
2323
left: 0;
@@ -29,8 +29,8 @@ const Container = styled.div<{ isOpen: boolean }>`
2929
border: 1px solid ${({ theme }) => theme.klerosUIComponentsStroke};
3030
box-shadow: 0px 2px 3px ${({ theme }) => theme.klerosUIComponentsDefaultShadow};
3131
transform-origin: top;
32-
transform: scaleY(${({ isOpen }) => (isOpen ? "1" : "0")});
33-
visibility: ${({ isOpen }) => (isOpen ? "visible" : "hidden")};
32+
transform: scaleY(${({ $isOpen }) => ($isOpen ? "1" : "0")});
33+
visibility: ${({ $isOpen }) => ($isOpen ? "visible" : "hidden")};
3434
transition-property: transform, visibility;
3535
transition-duration: ${({ theme }) => theme.klerosUIComponentsTransitionSpeed};
3636
transition-timing-function: ease;
@@ -47,8 +47,8 @@ const NavBar: React.FC = () => {
4747

4848
return (
4949
<>
50-
<Wrapper {...{ isOpen }}>
51-
<Container {...{ isOpen }}>
50+
<Wrapper {...{ $isOpen: isOpen }}>
51+
<Container {...{ $isOpen: isOpen }}>
5252
<Explore />
5353
</Container>
5454
</Wrapper>

web-devtools/src/styles/landscapeStyle.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { css, DefaultTheme, FlattenInterpolation, ThemeProps } from "styled-components";
1+
import { css, RuleSet } from "styled-components";
22

33
export const BREAKPOINT_LANDSCAPE = 900;
44

5-
export const landscapeStyle = (styleFn: () => FlattenInterpolation<ThemeProps<DefaultTheme>>) => css`
5+
export const landscapeStyle = (styleFn: () => RuleSet<object>) => css`
66
@media (min-width: ${BREAKPOINT_LANDSCAPE}px) {
77
${() => styleFn()}
88
}

web/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@kleros/kleros-v2-prettier-config": "workspace:^",
5757
"@kleros/kleros-v2-tsconfig": "workspace:^",
5858
"@types/busboy": "^1.5.4",
59-
"@types/react": "18.3.12",
59+
"@types/react": "^18.3.12",
6060
"@types/react-dom": "^18.3.1",
6161
"@types/styled-components": "^5.1.34",
6262
"@typescript-eslint/eslint-plugin": "^8.15.0",
@@ -117,7 +117,7 @@
117117
"react-scripts": "^5.0.1",
118118
"react-toastify": "^9.1.3",
119119
"react-use": "^17.5.1",
120-
"styled-components": "^5.3.11",
120+
"styled-components": "^6.1.13",
121121
"viem": "^2.21.48",
122122
"wagmi": "^2.13.0"
123123
}

0 commit comments

Comments
 (0)