Skip to content

Commit 516c900

Browse files
authored
Merge pull request #22 from chainstacklabs/codex/theme-safe-icons-and-deps-refresh
Refresh dependencies and fix protocol icon theming
2 parents 68f52f2 + eb5f1cb commit 516c900

8 files changed

Lines changed: 886 additions & 1269 deletions

File tree

package-lock.json

Lines changed: 851 additions & 1221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"homepage": "https://chainstats.org/",
55
"private": false,
66
"dependencies": {
7-
"@ant-design/icons": "^6.1.0",
8-
"antd": "^6.3.0",
9-
"axios": "^1.13.5",
7+
"@ant-design/icons": "^6.1.1",
8+
"antd": "^6.3.5",
9+
"axios": "^1.15.0",
1010
"cryptocurrency-icons": "^0.18.1",
11-
"react": "^19.2.4",
12-
"react-dom": "^19.2.4",
13-
"sass": "^1.97.3",
14-
"web-vitals": "^5.1.0"
11+
"react": "^19.2.5",
12+
"react-dom": "^19.2.5",
13+
"sass": "^1.99.0",
14+
"web-vitals": "^5.2.0"
1515
},
1616
"scripts": {
1717
"start": "vite",
@@ -26,11 +26,14 @@
2626
"@testing-library/jest-dom": "^6.9.1",
2727
"@testing-library/react": "^16.3.2",
2828
"@testing-library/user-event": "^14.6.1",
29-
"@vitejs/plugin-react": "^5.0.2",
29+
"@vitejs/plugin-react": "^6.0.1",
3030
"gh-pages": "^6.3.0",
31-
"jsdom": "^28.1.0",
32-
"vite": "^7.1.5",
33-
"vite-plugin-svgr": "^4.5.0",
34-
"vitest": "^4.0.18"
31+
"jsdom": "^29.0.2",
32+
"vite": "^8.0.8",
33+
"vite-plugin-svgr": "^5.2.0",
34+
"vitest": "^4.1.4"
35+
},
36+
"overrides": {
37+
"picomatch": "^4.0.4"
3538
}
3639
}

src/components/ProtocolIcon/ProtocolIcon.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import Sonic from './sonic.svg?react';
2929
import Celo from './celo.svg?react';
3030
import Hyperliquid from './hyperliquid.svg?react';
3131
import Klaytn from './klaytn.svg?react';
32+
import Megaeth from './megaeth.svg?react';
3233
import Monad from './monad.svg?react';
3334
import Plasma from './plasma.svg?react';
3435
import Tempo from './tempo.svg?react';
@@ -76,6 +77,7 @@ const iconTypes = {
7677
Celo: <Celo />,
7778
Klaytn: <Klaytn />,
7879
Hyperliquid: <Hyperliquid />,
80+
Megaeth: <Megaeth />,
7981
Monad: <Monad />,
8082
Plasma: <Plasma />,
8183
Tempo: <Tempo />,

src/components/ProtocolIcon/ProtocolIcon.test.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { describe, expect, it } from 'vitest';
33
import ProtocolIcon from './ProtocolIcon';
44

55
describe('ProtocolIcon', () => {
6-
it.each(['Monad', 'Plasma', 'Tempo', 'Unichain'])(
6+
it.each(['Megaeth', 'Monad', 'Plasma', 'Tempo', 'Unichain'])(
77
'renders an SVG icon for %s',
88
(protocolName) => {
99
const { container } = render(<ProtocolIcon protocolName={protocolName} />);
Lines changed: 3 additions & 6 deletions
Loading
Lines changed: 1 addition & 2 deletions
Loading
Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 8 additions & 27 deletions
Loading

0 commit comments

Comments
 (0)