Skip to content

Commit

Permalink
fix: migration relates problems (#1468)
Browse files Browse the repository at this point in the history
Co-authored-by: tim <[email protected]>
  • Loading branch information
dreamoftrees and glomotion authored Feb 13, 2024
1 parent c38732e commit 34b015c
Show file tree
Hide file tree
Showing 15 changed files with 44 additions and 65 deletions.
2 changes: 1 addition & 1 deletion packages/checkout/sdk-sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
},
"dependencies": {
"@biom3/react": "^0.20.0",
"@biom3/react": "^0.20.2",
"@imtbl/checkout-sdk": "0.0.0",
"@imtbl/checkout-widgets": "0.0.0",
"@imtbl/config": "0.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/checkout/widgets-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"@biom3/design-tokens": "^0.3.1",
"@biom3/react": "^0.20.0",
"@biom3/react": "^0.20.2",
"@ethersproject/providers": "^5.7.2",
"@imtbl/bridge-sdk": "0.0.0",
"@imtbl/checkout-sdk": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ export const selectOptionsContainerStyles = {
display: 'flex',
flexDirection: 'column',
gap: '2px',
paddingX: 'base.spacing.x4',
paddingBottom: 'base.spacing.x4',
};

export const selectOptionsLoadingIconStyles = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ export const transactionRejectedContainerStyles = {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
padding: '50px 0',
paddingY: '50px',
paddingX: 'base.spacing.x4',
height: '100%',
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
import { Box, MenuItem, ShimmerBox } from '@biom3/react';
import { MenuItem, ShimmerBox, Stack } from '@biom3/react';

export function Shimmer() {
return (
<Box sx={{
pt: 'base.spacing.x5',
px: 'base.spacing.x4',
}}
>
<Stack sx={{ gap: 'base.spacing.x2' }}>
<ShimmerBox sx={{
h: 'base.spacing.x4',
w: 'base.spacing.x32',
mb: 'base.spacing.x2',
mt: 'base.spacing.x2',
}}
/>
<Box sx={{ mb: 'base.spacing.x5' }}><MenuItem shimmer emphasized size="small" /></Box>
<Box sx={{ mb: 'base.spacing.x5' }}><MenuItem shimmer emphasized size="small" /></Box>
<Box sx={{ mb: 'base.spacing.x5' }}><MenuItem shimmer emphasized size="small" /></Box>
</Box>
<MenuItem shimmer emphasized size="small" />
<MenuItem shimmer emphasized size="small" />
<MenuItem shimmer emphasized size="small" />
</Stack>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ export function WalletAndNetworkSelector() {
}}
visible={fromNetworkDrawerOpen}
>
<Drawer.Content>
<Drawer.Content sx={{ paddingX: 'base.spacing.x4' }}>
<NetworkItem
key={imtblZkEvmNetworkName}
testId={testId}
Expand All @@ -472,7 +472,6 @@ export function WalletAndNetworkSelector() {
chainId={l1NetworkChainId}
/>
)}

</Drawer.Content>
</Drawer>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ export const walletItemListStyles = {
display: 'flex',
flexDirection: 'column',
gap: 'base.spacing.x1',
paddingX: 'base.spacing.x4',
};
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ export const containerStyles = {
flexDirection: 'column',
alignItems: 'center',
paddingTop: 'base.spacing.x6',
paddingBottom: 'base.spacing.x1',
paddingBottom: 'base.spacing.x4',
paddingX: 'base.spacing.x4',
height: '100%',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const settingsBoxStyle = {
display: 'flex',
flexDirection: 'column',
rowGap: 'base.spacing.x2',
marginX: 'base.spacing.x2',
paddingX: 'base.spacing.x4',
};

export const settingsDisconnectButtonStyle = { marginTop: '32px' };
2 changes: 1 addition & 1 deletion packages/checkout/widgets-sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"@biom3/design-tokens": "^0.3.1",
"@biom3/react": "^0.20.0",
"@biom3/react": "^0.20.2",
"@imtbl/checkout-sdk": "0.0.0",
"@imtbl/checkout-widgets": "0.0.0",
"@imtbl/config": "0.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/bridge/bridge-sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"lint": "eslint ./src --ext .ts --max-warnings=0",
"mapToken": "node --loader ts-node/esm ./src/mapToken.ts",
"pending": "node --loader ts-node/esm ./src/pending.ts",
"status": "node --loader ts-node/esm ./src/status.ts",
"setFlowRate": "node --loader ts-node/esm ./src/setFlowRate.ts",
"status": "node --loader ts-node/esm ./src/status.ts",
"withdraw": "node --loader ts-node/esm ./src/withdraw.ts",
"withdrawTx": "node --loader ts-node/esm ./src/withdrawTx.ts"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/passport/sdk-sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"dependencies": {
"@biom3/design-tokens": "^0.3.1",
"@biom3/react": "^0.20.0",
"@biom3/react": "^0.20.2",
"@imtbl/config": "0.0.0",
"@imtbl/core-sdk": "^2.4.0",
"@imtbl/passport": "0.0.0",
Expand Down Expand Up @@ -33,9 +33,9 @@
"scripts": {
"build": "next build",
"dev": "next dev",
"update-sdk-version": "scripts/updateSdkVersion.sh ../../internal/generated-clients/src/config/config.ts",
"export": "next export",
"lint": "eslint ./src --ext .ts --max-warnings=0",
"start": "next start"
"start": "next start",
"update-sdk-version": "scripts/updateSdkVersion.sh ../../internal/generated-clients/src/config/config.ts"
}
}
2 changes: 1 addition & 1 deletion packages/x-provider/src/sample-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
]
},
"dependencies": {
"@biom3/react": "^0.20.0",
"@biom3/react": "^0.20.2",
"@imtbl/core-sdk": "^2.4.0",
"@imtbl/sdk": "0.0.0",
"@testing-library/jest-dom": "^5.16.5",
Expand Down
3 changes: 2 additions & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@0xsequence/abi": "^1.4.3",
"@0xsequence/core": "^1.4.3",
"@biom3/design-tokens": "^0.3.1",
"@biom3/react": "^0.20.0",
"@biom3/react": "^0.20.2",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/abstract-signer": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
Expand All @@ -30,6 +30,7 @@
"crypto-browserify": "^3.12.0",
"enc-utils": "^3.0.0",
"ethers": "^5.7.2",
"global-const": "^0.1.2",
"https-browserify": "^1.0.0",
"i18next": "^23.7.6",
"i18next-browser-languagedetector": "^7.2.0",
Expand Down
59 changes: 19 additions & 40 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2160,7 +2160,7 @@ __metadata:
languageName: node
linkType: hard

"@biom3/design-tokens@npm:^0.3.1":
"@biom3/design-tokens@npm:^0.3.1, @biom3/design-tokens@npm:~0.3.1":
version: 0.3.1
resolution: "@biom3/design-tokens@npm:0.3.1"
dependencies:
Expand All @@ -2169,22 +2169,13 @@ __metadata:
languageName: node
linkType: hard

"@biom3/design-tokens@npm:~0.3.0":
version: 0.3.0
resolution: "@biom3/design-tokens@npm:0.3.0"
dependencies:
lodash.get: ^4.4.2
checksum: 8a2e6502f0039d551b05d01bdaf13e64b768c3d6494b6c75c092af799ab992eb79b3d6a007a03f31ad0e9b35e28ac037342ff4d6965f1a0902b5228a5f988871
languageName: node
linkType: hard

"@biom3/react@npm:^0.20.0":
version: 0.20.0
resolution: "@biom3/react@npm:0.20.0"
"@biom3/react@npm:^0.20.2":
version: 0.20.2
resolution: "@biom3/react@npm:0.20.2"
dependencies:
"@biom3/design-tokens": ~0.3.0
"@biom3/design-tokens": ~0.3.1
"@emotion/css": ^11.11.2
"@emotion/react": ^11.11.3
"@emotion/react": 11.11.1
"@rive-app/react-canvas": ^4.5.0
buffer: ^6.0.3
csstype: ^3.1.2
Expand All @@ -2199,7 +2190,7 @@ __metadata:
react-is: ^18.2.0
react-keyed-flatten-children: ^3.0.0
ts-deepmerge: ^6.2.0
checksum: 3dca862a7ec59475c0c987b432fbeb8a1d3300cfee15acfba7da31bb24c4659871028bd77fe8fd86907969bbf1949f5829317054a17d2882a982a54fa772efd5
checksum: d360544193f127e2372fad5fcdd62a43966b592794998c19503961554805ce2621f0ef2e59a25f5a47db331a367d5c2385d91b4e2cc5b18174c18a1e873fbe72
languageName: node
linkType: hard

Expand Down Expand Up @@ -2517,14 +2508,14 @@ __metadata:
languageName: node
linkType: hard

"@emotion/react@npm:^11.11.3":
version: 11.11.3
resolution: "@emotion/react@npm:11.11.3"
"@emotion/react@npm:11.11.1":
version: 11.11.1
resolution: "@emotion/react@npm:11.11.1"
dependencies:
"@babel/runtime": ^7.18.3
"@emotion/babel-plugin": ^11.11.0
"@emotion/cache": ^11.11.0
"@emotion/serialize": ^1.1.3
"@emotion/serialize": ^1.1.2
"@emotion/use-insertion-effect-with-fallbacks": ^1.0.1
"@emotion/utils": ^1.2.1
"@emotion/weak-memoize": ^0.3.1
Expand All @@ -2534,7 +2525,7 @@ __metadata:
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 2e4b223591569f0a41686d5bd72dc8778629b7be33267e4a09582979e6faee4d7218de84e76294ed827058d4384d75557b5d71724756539c1f235e9a69e62b2e
checksum: aec3c36650f5f0d3d4445ff44d73dd88712b1609645b6af3e6d08049cfbc51f1785fe13dea1a1d4ab1b0800d68f2339ab11e459687180362b1ef98863155aae5
languageName: node
linkType: hard

Expand All @@ -2551,19 +2542,6 @@ __metadata:
languageName: node
linkType: hard

"@emotion/serialize@npm:^1.1.3":
version: 1.1.3
resolution: "@emotion/serialize@npm:1.1.3"
dependencies:
"@emotion/hash": ^0.9.1
"@emotion/memoize": ^0.8.1
"@emotion/unitless": ^0.8.1
"@emotion/utils": ^1.2.1
csstype: ^3.0.2
checksum: 5a756ce7e2692322683978d8ed2e84eadd60bd6f629618a82c5018c84d98684b117e57fad0174f68ec2ec0ac089bb2e0bcc8ea8c2798eb904b6d3236aa046063
languageName: node
linkType: hard

"@emotion/sheet@npm:^1.2.2":
version: 1.2.2
resolution: "@emotion/sheet@npm:1.2.2"
Expand Down Expand Up @@ -3319,7 +3297,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@imtbl/checkout-sdk-sample-app@workspace:packages/checkout/sdk-sample-app"
dependencies:
"@biom3/react": ^0.20.0
"@biom3/react": ^0.20.2
"@imtbl/checkout-sdk": 0.0.0
"@imtbl/checkout-widgets": 0.0.0
"@imtbl/config": 0.0.0
Expand Down Expand Up @@ -3393,7 +3371,7 @@ __metadata:
resolution: "@imtbl/checkout-widgets-sample-app@workspace:packages/checkout/widgets-sample-app"
dependencies:
"@biom3/design-tokens": ^0.3.1
"@biom3/react": ^0.20.0
"@biom3/react": ^0.20.2
"@imtbl/checkout-sdk": 0.0.0
"@imtbl/checkout-widgets": 0.0.0
"@imtbl/config": 0.0.0
Expand Down Expand Up @@ -3422,7 +3400,7 @@ __metadata:
resolution: "@imtbl/checkout-widgets@workspace:packages/checkout/widgets-lib"
dependencies:
"@biom3/design-tokens": ^0.3.1
"@biom3/react": ^0.20.0
"@biom3/react": ^0.20.2
"@ethersproject/providers": ^5.7.2
"@imtbl/bridge-sdk": 0.0.0
"@imtbl/checkout-sdk": 0.0.0
Expand Down Expand Up @@ -3690,7 +3668,7 @@ __metadata:
resolution: "@imtbl/passport-sdk-sample-app@workspace:packages/passport/sdk-sample-app"
dependencies:
"@biom3/design-tokens": ^0.3.1
"@biom3/react": ^0.20.0
"@biom3/react": ^0.20.2
"@imtbl/config": 0.0.0
"@imtbl/core-sdk": ^2.4.0
"@imtbl/passport": 0.0.0
Expand Down Expand Up @@ -3779,7 +3757,7 @@ __metadata:
"@0xsequence/abi": ^1.4.3
"@0xsequence/core": ^1.4.3
"@biom3/design-tokens": ^0.3.1
"@biom3/react": ^0.20.0
"@biom3/react": ^0.20.2
"@ethersproject/abi": ^5.7.0
"@ethersproject/abstract-signer": ^5.7.0
"@ethersproject/providers": ^5.7.2
Expand Down Expand Up @@ -3822,6 +3800,7 @@ __metadata:
eslint: ^8.40.0
ethers: ^5.7.2
glob: ^10.2.3
global-const: ^0.1.2
https-browserify: ^1.0.0
i18next: ^23.7.6
i18next-browser-languagedetector: ^7.2.0
Expand Down Expand Up @@ -28012,7 +27991,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "x-provider-sample-app@workspace:packages/x-provider/src/sample-app"
dependencies:
"@biom3/react": ^0.20.0
"@biom3/react": ^0.20.2
"@imtbl/core-sdk": ^2.4.0
"@imtbl/sdk": 0.0.0
"@svgr/webpack": ^8.0.1
Expand Down

0 comments on commit 34b015c

Please sign in to comment.