From a49a49db90a2cf346fa57407889e2c850ae68007 Mon Sep 17 00:00:00 2001 From: Melisa Anabella Rossi Date: Mon, 5 Feb 2024 15:56:19 -0300 Subject: [PATCH] fix: update decentraland ui (#340) --- package-lock.json | 46 +++--------------------- package.json | 2 +- src/components/Navbar/Navbar.types.ts | 2 +- src/components/SignInPage/SignInPage.tsx | 2 +- 4 files changed, 7 insertions(+), 45 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9d3d6175..c98fc560 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "connected-react-router": "^6.9.1", "decentraland-dapps": "^17.6.0", "decentraland-transactions": "^1.46.0", - "decentraland-ui": "^4.35.7", + "decentraland-ui": "^5.6.0", "dotenv": "8.2.0", "dotenv-expand": "5.1.0", "ethers": "^5.7.2", @@ -8747,44 +8747,6 @@ } } }, - "node_modules/decentraland-dapps/node_modules/decentraland-ui": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/decentraland-ui/-/decentraland-ui-5.5.0.tgz", - "integrity": "sha512-jBkpYRQCSpMKIPgosKCzJ5+n4JMgpHMhtujsa2bMooYVeJfVAwLBrwJFHuHu/O/fjUWoxiL47p3BYvvJOOWdAA==", - "dependencies": { - "@dcl/schemas": "^9.12.0", - "@dcl/ui-env": "^1.4.0", - "balloon-css": "^0.5.0", - "classnames": "^2.3.2", - "dayjs": "^1.11.10", - "deep-equal": "^2.0.5", - "ethereum-blockies": "^0.1.1", - "events": "^3.3.0", - "fp-future": "^1.0.1", - "parallax-js": "^3.1.0", - "react": "^16.8.0 || ^17.0.0", - "react-dom": "^16.8.0 || ^17.0.0", - "react-responsive": "^9.0.0-beta.3", - "react-semantic-ui-datepickers": "^2.17.2", - "react-tile-map": "^0.4.1", - "recharts": "^2.3.2", - "semantic-ui-css": "^2.4.1", - "semantic-ui-react": "^2.0.3", - "uuid": "^9.0.1" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0", - "react-dom": "^16.8.0 || ^17.0.0" - }, - "peerDependenciesMeta": { - "react": { - "optional": true - }, - "react-dom": { - "optional": true - } - } - }, "node_modules/decentraland-dapps/node_modules/react-intl": { "version": "5.25.1", "resolved": "https://registry.npmjs.org/react-intl/-/react-intl-5.25.1.tgz", @@ -8862,9 +8824,9 @@ } }, "node_modules/decentraland-ui": { - "version": "4.35.7", - "resolved": "https://registry.npmjs.org/decentraland-ui/-/decentraland-ui-4.35.7.tgz", - "integrity": "sha512-iicLMQK0Bgcl5dcpV+c/x8ebVKoNkIhIQkB2JQWwD69WjJztXE2cUJyR0zFTDsravZU0XzVbNRIewLLJv++4yw==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/decentraland-ui/-/decentraland-ui-5.6.0.tgz", + "integrity": "sha512-MH59imZAAn00DG4RmzQseZGYypn48+7Ud1hlcr2RWAdW4Lns1LmeUt5VnjE582OztSa5U4yg6NuLAOcCoDaj1Q==", "dependencies": { "@dcl/schemas": "^9.12.0", "@dcl/ui-env": "^1.4.0", diff --git a/package.json b/package.json index 4a1ebe31..00b1f417 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "connected-react-router": "^6.9.1", "decentraland-dapps": "^17.6.0", "decentraland-transactions": "^1.46.0", - "decentraland-ui": "^4.35.7", + "decentraland-ui": "^5.6.0", "dotenv": "8.2.0", "dotenv-expand": "5.1.0", "ethers": "^5.7.2", diff --git a/src/components/Navbar/Navbar.types.ts b/src/components/Navbar/Navbar.types.ts index a8f14b64..15bae5d2 100644 --- a/src/components/Navbar/Navbar.types.ts +++ b/src/components/Navbar/Navbar.types.ts @@ -1,6 +1,6 @@ import { Dispatch } from 'redux' import { CallHistoryMethodAction } from 'connected-react-router' -import { NavbarProps } from 'decentraland-ui' +import { NavbarProps } from 'decentraland-ui/dist/components/Navbar/Navbar.types' export type Props = Partial & { hasActivity: boolean diff --git a/src/components/SignInPage/SignInPage.tsx b/src/components/SignInPage/SignInPage.tsx index 578aed64..b9e9d2c4 100644 --- a/src/components/SignInPage/SignInPage.tsx +++ b/src/components/SignInPage/SignInPage.tsx @@ -19,7 +19,7 @@ const SignInPage = ({ isAuthDappEnabled, isConnecting }: Props) => { }, [isAuthDappEnabled, isConnecting]) return ( <> - +