diff --git a/packages/checkout/sdk-sample-app/package.json b/packages/checkout/sdk-sample-app/package.json index e408d08870..4013b245c9 100644 --- a/packages/checkout/sdk-sample-app/package.json +++ b/packages/checkout/sdk-sample-app/package.json @@ -14,7 +14,7 @@ ] }, "dependencies": { - "@biom3/react": "^0.19.34", + "@biom3/react": "^0.19.40", "@imtbl/checkout-sdk": "0.0.0", "@imtbl/checkout-widgets": "0.0.0", "@imtbl/config": "0.0.0", diff --git a/packages/checkout/widgets-lib/package.json b/packages/checkout/widgets-lib/package.json index de41f328fa..dc242b7f48 100644 --- a/packages/checkout/widgets-lib/package.json +++ b/packages/checkout/widgets-lib/package.json @@ -14,8 +14,8 @@ ] }, "dependencies": { - "@biom3/design-tokens": "0.2.9", - "@biom3/react": "^0.19.34", + "@biom3/design-tokens": "^0.2.10", + "@biom3/react": "^0.19.40", "@ethersproject/providers": "^5.7.2", "@imtbl/bridge-sdk": "0.0.0", "@imtbl/checkout-sdk": "0.0.0", diff --git a/packages/checkout/widgets-lib/src/widgets/bridge/components/BridgeReviewSummary.tsx b/packages/checkout/widgets-lib/src/widgets/bridge/components/BridgeReviewSummary.tsx index e8247097ef..0495d2677b 100644 --- a/packages/checkout/widgets-lib/src/widgets/bridge/components/BridgeReviewSummary.tsx +++ b/packages/checkout/widgets-lib/src/widgets/bridge/components/BridgeReviewSummary.tsx @@ -36,7 +36,6 @@ import { bridgeReviewWrapperStyles, gasAmountHeadingStyles, topMenuItemStyles, - walletLogoStyles, } from './BridgeReviewSummaryStyles'; import { BridgeContext } from '../context/BridgeContext'; import { ViewActions, ViewContext } from '../../../context/view-context/ViewContext'; @@ -248,7 +247,7 @@ export function BridgeReviewSummary() { {fromWalletProviderName && ( )} @@ -285,7 +284,7 @@ export function BridgeReviewSummary() { {toWalletProviderName && ( )} diff --git a/packages/checkout/widgets-lib/src/widgets/bridge/components/BridgeReviewSummaryStyles.ts b/packages/checkout/widgets-lib/src/widgets/bridge/components/BridgeReviewSummaryStyles.ts index 14ce2c56d8..eb504e5cb2 100644 --- a/packages/checkout/widgets-lib/src/widgets/bridge/components/BridgeReviewSummaryStyles.ts +++ b/packages/checkout/widgets-lib/src/widgets/bridge/components/BridgeReviewSummaryStyles.ts @@ -1,5 +1,3 @@ -import { WalletProviderName } from '@imtbl/checkout-sdk'; - export const topMenuItemStyles = { borderBottomLeftRadius: '0px', borderBottomRightRadius: '0px', @@ -36,13 +34,6 @@ export const arrowIconStyles = { transform: 'rotate(270deg)', }; -export const walletLogoStyles = (walletName: WalletProviderName) => ({ - minWidth: 'base.icon.size.400', - padding: walletName === WalletProviderName.PASSPORT ? 'base.spacing.x1' : '', - backgroundColor: 'base.color.translucent.standard.200', - borderRadius: 'base.borderRadius.x2', -}); - export const gasAmountHeadingStyles = { marginBottom: 'base.spacing.x4', color: 'base.color.text.secondary', diff --git a/packages/checkout/widgets-lib/src/widgets/bridge/components/WalletItem.tsx b/packages/checkout/widgets-lib/src/widgets/bridge/components/WalletItem.tsx index e5beb5aae2..1456de12b9 100644 --- a/packages/checkout/widgets-lib/src/widgets/bridge/components/WalletItem.tsx +++ b/packages/checkout/widgets-lib/src/widgets/bridge/components/WalletItem.tsx @@ -2,7 +2,6 @@ import { WalletProviderName } from '@imtbl/checkout-sdk'; import { MenuItem } from '@biom3/react'; import { useState } from 'react'; import { useTranslation } from 'react-i18next'; -import { walletItemLogoStyles } from './WalletItemStyles'; export interface WalletItemProps { testId: string; @@ -42,7 +41,7 @@ export function WalletItem({ > {t(`wallets.${walletProviderName}.heading`)} diff --git a/packages/checkout/widgets-lib/src/widgets/bridge/components/WalletItemStyles.ts b/packages/checkout/widgets-lib/src/widgets/bridge/components/WalletItemStyles.ts deleted file mode 100644 index 9c1db60230..0000000000 --- a/packages/checkout/widgets-lib/src/widgets/bridge/components/WalletItemStyles.ts +++ /dev/null @@ -1,6 +0,0 @@ -export const walletItemLogoStyles = { - minWidth: 'base.icon.size.500', - padding: 'base.spacing.x1', - backgroundColor: 'base.color.translucent.standard.100', - borderRadius: 'base.borderRadius.x2', -}; diff --git a/packages/checkout/widgets-lib/src/widgets/connect/components/WalletItem.tsx b/packages/checkout/widgets-lib/src/widgets/connect/components/WalletItem.tsx index 2af0e927b0..fc37309cb1 100644 --- a/packages/checkout/widgets-lib/src/widgets/connect/components/WalletItem.tsx +++ b/packages/checkout/widgets-lib/src/widgets/connect/components/WalletItem.tsx @@ -24,12 +24,7 @@ export function WalletItem(props: WalletProps) { > {t(`wallets.${wallet.walletProviderName}.heading`)} diff --git a/packages/checkout/widgets-sample-app/package.json b/packages/checkout/widgets-sample-app/package.json index 2d3538431e..e4717d9b60 100644 --- a/packages/checkout/widgets-sample-app/package.json +++ b/packages/checkout/widgets-sample-app/package.json @@ -14,8 +14,8 @@ ] }, "dependencies": { - "@biom3/design-tokens": "0.2.9", - "@biom3/react": "^0.19.34", + "@biom3/design-tokens": "^0.2.10", + "@biom3/react": "^0.19.40", "@imtbl/checkout-sdk": "0.0.0", "@imtbl/checkout-widgets": "0.0.0", "@imtbl/config": "0.0.0", diff --git a/packages/config/package.json b/packages/config/package.json index f875f819fc..7d989de3ab 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -6,12 +6,12 @@ "bugs": "https://github.com/immutable/ts-immutable-sdk/issues", "dependencies": { "@imtbl/core-sdk": "^2.4.0", - "@magic-ext/oidc": "^4.2.0", + "@magic-ext/oidc": "4.2.0", "@metamask/detect-provider": "^2.0.0", "axios": "^1.6.5", "ethers": "^5.7.2", "magic-sdk": "^21.2.0", - "oidc-client-ts": "^2.2.1" + "oidc-client-ts": "2.2.1" }, "devDependencies": { "@rollup/plugin-typescript": "^11.0.0", diff --git a/packages/internal/toolkit/package.json b/packages/internal/toolkit/package.json index d389586404..94bf4e7522 100644 --- a/packages/internal/toolkit/package.json +++ b/packages/internal/toolkit/package.json @@ -9,14 +9,14 @@ "@ethersproject/providers": "^5.7.2", "@ethersproject/wallet": "^5.7.0", "@imtbl/core-sdk": "^2.4.0", - "@magic-ext/oidc": "^4.2.0", + "@magic-ext/oidc": "4.2.0", "@metamask/detect-provider": "^2.0.0", "axios": "^1.6.5", "bn.js": "^5.2.1", "enc-utils": "^3.0.0", "ethers": "^5.7.2", "magic-sdk": "^21.2.0", - "oidc-client-ts": "^2.2.1" + "oidc-client-ts": "2.2.1" }, "devDependencies": { "@rollup/plugin-typescript": "^11.0.0", diff --git a/packages/passport/sdk-sample-app/package.json b/packages/passport/sdk-sample-app/package.json index a40bfb302a..ccdfad67c7 100644 --- a/packages/passport/sdk-sample-app/package.json +++ b/packages/passport/sdk-sample-app/package.json @@ -2,8 +2,8 @@ "name": "@imtbl/passport-sdk-sample-app", "version": "0.1.0", "dependencies": { - "@biom3/design-tokens": "0.2.9", - "@biom3/react": "^0.19.34", + "@biom3/design-tokens": "^0.2.10", + "@biom3/react": "^0.19.40", "@imtbl/config": "0.0.0", "@imtbl/core-sdk": "^2.4.0", "@imtbl/immutablex-client": "0.0.0", diff --git a/packages/passport/sdk/package.json b/packages/passport/sdk/package.json index 3cf3a1741b..5c64b85180 100644 --- a/packages/passport/sdk/package.json +++ b/packages/passport/sdk/package.json @@ -15,13 +15,13 @@ "@imtbl/immutablex-client": "0.0.0", "@imtbl/provider": "0.0.0", "@imtbl/toolkit": "0.0.0", - "@magic-ext/oidc": "^4.2.0", + "@magic-ext/oidc": "4.2.0", "@metamask/detect-provider": "^2.0.0", "axios": "^1.6.5", "ethers": "^5.7.2", "jwt-decode": "^3.1.2", "magic-sdk": "^21.2.0", - "oidc-client-ts": "^2.2.1" + "oidc-client-ts": "2.2.1" }, "devDependencies": { "@rollup/plugin-typescript": "^11.0.0", diff --git a/packages/provider/package.json b/packages/provider/package.json index 53dc5a97e0..e2f9339292 100644 --- a/packages/provider/package.json +++ b/packages/provider/package.json @@ -8,12 +8,12 @@ "@imtbl/config": "0.0.0", "@imtbl/core-sdk": "^2.4.0", "@imtbl/toolkit": "0.0.0", - "@magic-ext/oidc": "^4.2.0", + "@magic-ext/oidc": "4.2.0", "@metamask/detect-provider": "^2.0.0", "axios": "^1.6.5", "ethers": "^5.7.2", "magic-sdk": "^21.2.0", - "oidc-client-ts": "^2.2.1" + "oidc-client-ts": "2.2.1" }, "devDependencies": { "@rollup/plugin-typescript": "^11.0.0", diff --git a/packages/provider/src/sample-app/package.json b/packages/provider/src/sample-app/package.json index 21aa693316..159db21a86 100644 --- a/packages/provider/src/sample-app/package.json +++ b/packages/provider/src/sample-app/package.json @@ -14,7 +14,7 @@ ] }, "dependencies": { - "@biom3/react": "^0.19.34", + "@biom3/react": "^0.19.40", "@imtbl/core-sdk": "^2.4.0", "@imtbl/sdk": "0.0.0", "@testing-library/jest-dom": "^5.16.5", diff --git a/sdk/package.json b/sdk/package.json index 6541426287..2e2afbbcd6 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -8,8 +8,8 @@ "dependencies": { "@0xsequence/abi": "^1.4.3", "@0xsequence/core": "^1.4.3", - "@biom3/design-tokens": "0.2.9", - "@biom3/react": "^0.19.34", + "@biom3/design-tokens": "^0.2.10", + "@biom3/react": "^0.19.40", "@ethersproject/abi": "^5.7.0", "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/providers": "^5.7.2", @@ -17,7 +17,7 @@ "@imtbl/core-sdk": "^2.4.0", "@imtbl/react-analytics": "0.2.1-alpha", "@jest/globals": "^29.5.0", - "@magic-ext/oidc": "^4.2.0", + "@magic-ext/oidc": "4.2.0", "@metamask/detect-provider": "^2.0.0", "@opensea/seaport-js": "2.0.7", "@uniswap/router-sdk": "^1.4.0", @@ -35,7 +35,7 @@ "i18next-browser-languagedetector": "^7.2.0", "jwt-decode": "^3.1.2", "magic-sdk": "^21.2.0", - "oidc-client-ts": "^2.2.1", + "oidc-client-ts": "2.2.1", "os-browserify": "^0.3.0", "pako": "^2.1.0", "react-i18next": "^13.5.0", @@ -127,7 +127,7 @@ }, "repository": "immutable/ts-immutable-sdk.git", "resolutions": { - "@biom3/design-tokens": "0.2.9", + "@biom3/design-tokens": "^0.2.10", "@openzeppelin/contracts": "3.4.2-solc-0.7" }, "scripts": { diff --git a/yarn.lock b/yarn.lock index b4b99255ff..32e1eddcba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2160,7 +2160,7 @@ __metadata: languageName: node linkType: hard -"@biom3/design-tokens@npm:*, @biom3/design-tokens@npm:0.2.9": +"@biom3/design-tokens@npm:*": version: 0.2.9 resolution: "@biom3/design-tokens@npm:0.2.9" dependencies: @@ -2169,9 +2169,18 @@ __metadata: languageName: node linkType: hard -"@biom3/react@npm:^0.19.34": - version: 0.19.34 - resolution: "@biom3/react@npm:0.19.34" +"@biom3/design-tokens@npm:^0.2.10": + version: 0.2.10 + resolution: "@biom3/design-tokens@npm:0.2.10" + dependencies: + lodash.get: ^4.4.2 + checksum: f2a3a16087ab7eeb2ebb86d1c97ae3263a20e774cdbcf0d71a1d81d65607e99ff0d2ddb275f71a7334158ac30373fe4ff402a93c8ef206e8d46f5cd9a744c4d2 + languageName: node + linkType: hard + +"@biom3/react@npm:^0.19.40": + version: 0.19.40 + resolution: "@biom3/react@npm:0.19.40" dependencies: "@biom3/design-tokens": "*" "@emotion/css": ^11.11.2 @@ -2190,7 +2199,7 @@ __metadata: react-is: ^18.2.0 react-keyed-flatten-children: ^3.0.0 ts-deepmerge: ^6.2.0 - checksum: bb0005a870342636e921423d6604b11a3d4dca490a31b5e29230d2a0a94e2f219fbd85d3c6886ba7ed9f92b5a4ea81f5d430cfdd788318ade3bacdba827db13c + checksum: cfd094f9276e517a5ff8264214ba0efa04a06734ccc2843691d8288705727a170b4ffd2fafb0f4644baa042b46b5fac3d6e98cf86826f458870b8cece4a0861d languageName: node linkType: hard @@ -3297,7 +3306,7 @@ __metadata: version: 0.0.0-use.local resolution: "@imtbl/checkout-sdk-sample-app@workspace:packages/checkout/sdk-sample-app" dependencies: - "@biom3/react": ^0.19.34 + "@biom3/react": ^0.19.40 "@imtbl/checkout-sdk": 0.0.0 "@imtbl/checkout-widgets": 0.0.0 "@imtbl/config": 0.0.0 @@ -3369,8 +3378,8 @@ __metadata: version: 0.0.0-use.local resolution: "@imtbl/checkout-widgets-sample-app@workspace:packages/checkout/widgets-sample-app" dependencies: - "@biom3/design-tokens": 0.2.9 - "@biom3/react": ^0.19.34 + "@biom3/design-tokens": ^0.2.10 + "@biom3/react": ^0.19.40 "@imtbl/checkout-sdk": 0.0.0 "@imtbl/checkout-widgets": 0.0.0 "@imtbl/config": 0.0.0 @@ -3398,8 +3407,8 @@ __metadata: version: 0.0.0-use.local resolution: "@imtbl/checkout-widgets@workspace:packages/checkout/widgets-lib" dependencies: - "@biom3/design-tokens": 0.2.9 - "@biom3/react": ^0.19.34 + "@biom3/design-tokens": ^0.2.10 + "@biom3/react": ^0.19.40 "@ethersproject/providers": ^5.7.2 "@imtbl/bridge-sdk": 0.0.0 "@imtbl/checkout-sdk": 0.0.0 @@ -3455,7 +3464,7 @@ __metadata: resolution: "@imtbl/config@workspace:packages/config" dependencies: "@imtbl/core-sdk": ^2.4.0 - "@magic-ext/oidc": ^4.2.0 + "@magic-ext/oidc": 4.2.0 "@metamask/detect-provider": ^2.0.0 "@rollup/plugin-typescript": ^11.0.0 "@swc/core": ^1.3.36 @@ -3473,7 +3482,7 @@ __metadata: jest: ^29.4.3 jest-environment-jsdom: ^29.4.3 magic-sdk: ^21.2.0 - oidc-client-ts: ^2.2.1 + oidc-client-ts: 2.2.1 prettier: ^2.8.7 rollup: ^3.17.2 ts-node: ^10.9.1 @@ -3662,8 +3671,8 @@ __metadata: version: 0.0.0-use.local resolution: "@imtbl/passport-sdk-sample-app@workspace:packages/passport/sdk-sample-app" dependencies: - "@biom3/design-tokens": 0.2.9 - "@biom3/react": ^0.19.34 + "@biom3/design-tokens": ^0.2.10 + "@biom3/react": ^0.19.40 "@imtbl/config": 0.0.0 "@imtbl/core-sdk": ^2.4.0 "@imtbl/immutablex-client": 0.0.0 @@ -3703,7 +3712,7 @@ __metadata: "@imtbl/immutablex-client": 0.0.0 "@imtbl/provider": 0.0.0 "@imtbl/toolkit": 0.0.0 - "@magic-ext/oidc": ^4.2.0 + "@magic-ext/oidc": 4.2.0 "@metamask/detect-provider": ^2.0.0 "@rollup/plugin-typescript": ^11.0.0 "@swc/core": ^1.3.36 @@ -3726,7 +3735,7 @@ __metadata: jwt-encode: ^1.0.1 magic-sdk: ^21.2.0 msw: ^1.2.2 - oidc-client-ts: ^2.2.1 + oidc-client-ts: 2.2.1 prettier: ^2.8.7 rollup: ^3.17.2 ts-node: ^10.9.1 @@ -3741,7 +3750,7 @@ __metadata: "@imtbl/config": 0.0.0 "@imtbl/core-sdk": ^2.4.0 "@imtbl/toolkit": 0.0.0 - "@magic-ext/oidc": ^4.2.0 + "@magic-ext/oidc": 4.2.0 "@metamask/detect-provider": ^2.0.0 "@rollup/plugin-typescript": ^11.0.0 "@swc/core": ^1.3.36 @@ -3759,7 +3768,7 @@ __metadata: jest: ^29.4.3 jest-environment-jsdom: ^29.4.3 magic-sdk: ^21.2.0 - oidc-client-ts: ^2.2.1 + oidc-client-ts: 2.2.1 prettier: ^2.8.7 rollup: ^3.17.2 ts-node: ^10.9.1 @@ -3783,8 +3792,8 @@ __metadata: dependencies: "@0xsequence/abi": ^1.4.3 "@0xsequence/core": ^1.4.3 - "@biom3/design-tokens": 0.2.9 - "@biom3/react": ^0.19.34 + "@biom3/design-tokens": ^0.2.10 + "@biom3/react": ^0.19.40 "@ethersproject/abi": ^5.7.0 "@ethersproject/abstract-signer": ^5.7.0 "@ethersproject/providers": ^5.7.2 @@ -3804,7 +3813,7 @@ __metadata: "@imtbl/react-analytics": 0.2.1-alpha "@imtbl/version-check": 0.0.0 "@jest/globals": ^29.5.0 - "@magic-ext/oidc": ^4.2.0 + "@magic-ext/oidc": 4.2.0 "@metamask/detect-provider": ^2.0.0 "@opensea/seaport-js": 2.0.7 "@rollup/plugin-commonjs": ^24.0.1 @@ -3832,7 +3841,7 @@ __metadata: i18next-browser-languagedetector: ^7.2.0 jwt-decode: ^3.1.2 magic-sdk: ^21.2.0 - oidc-client-ts: ^2.2.1 + oidc-client-ts: 2.2.1 os-browserify: ^0.3.0 pako: ^2.1.0 react-i18next: ^13.5.0 @@ -3858,7 +3867,7 @@ __metadata: "@ethersproject/providers": ^5.7.2 "@ethersproject/wallet": ^5.7.0 "@imtbl/core-sdk": ^2.4.0 - "@magic-ext/oidc": ^4.2.0 + "@magic-ext/oidc": 4.2.0 "@metamask/detect-provider": ^2.0.0 "@rollup/plugin-typescript": ^11.0.0 "@swc/core": ^1.3.36 @@ -3878,7 +3887,7 @@ __metadata: jest: ^29.4.3 jest-environment-jsdom: ^29.4.3 magic-sdk: ^21.2.0 - oidc-client-ts: ^2.2.1 + oidc-client-ts: 2.2.1 prettier: ^2.8.7 rollup: ^3.17.2 ts-node: ^10.9.1 @@ -4603,7 +4612,7 @@ __metadata: languageName: node linkType: hard -"@magic-ext/oidc@npm:^4.2.0": +"@magic-ext/oidc@npm:4.2.0": version: 4.2.0 resolution: "@magic-ext/oidc@npm:4.2.0" checksum: 7bd51bf45168b7456a963f87c9118617f73c9a7e2c427b4bd786775f5fb80c90e90cbb10069e8a670587a8b20871bf4aa706f9fdef7f5981f007550b2adfc947 @@ -21036,13 +21045,13 @@ __metadata: languageName: node linkType: hard -"oidc-client-ts@npm:^2.2.1": - version: 2.2.4 - resolution: "oidc-client-ts@npm:2.2.4" +"oidc-client-ts@npm:2.2.1": + version: 2.2.1 + resolution: "oidc-client-ts@npm:2.2.1" dependencies: crypto-js: ^4.1.1 jwt-decode: ^3.1.2 - checksum: fe50944a4141c29f6439581d9850d4d3200a0083ee4e22b15dca8e164a08f53e975d522b1e3aa129b85862e1677c22f789fe90c8668b94482d97c569190657a2 + checksum: 83bc815d59a1221bdf2a39aff505941f1bf9aba542a59cc9cbe677b85fc06d4f555d55c1b0a6ad8ca76c57bacc423e1b03de5b7cef3d93c403126143f1152943 languageName: node linkType: hard @@ -24112,7 +24121,7 @@ __metadata: version: 0.0.0-use.local resolution: "sample-app@workspace:packages/provider/src/sample-app" dependencies: - "@biom3/react": ^0.19.34 + "@biom3/react": ^0.19.40 "@imtbl/core-sdk": ^2.4.0 "@imtbl/sdk": 0.0.0 "@svgr/webpack": ^8.0.1