-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3573 from Emurgo/sorin/YOEXT-1225/fix-modal
fix: Delegate modal dialog
- Loading branch information
Showing
7 changed files
with
611 additions
and
4 deletions.
There are no files selected for viewing
280 changes: 280 additions & 0 deletions
280
packages/yoroi-extension/app/assets/images/revamp/no-complete-orders.inline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
272 changes: 272 additions & 0 deletions
272
packages/yoroi-extension/app/assets/images/revamp/no-open-orders.inline.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
packages/yoroi-extension/app/containers/swap/orders/NoCompleteOrders.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// @flow | ||
|
||
import { Stack, Typography } from '@mui/material'; | ||
import { ReactComponent as NoCompleteOders } from '../../../assets/images/revamp/no-complete-orders.inline.svg'; | ||
import type { Node } from 'react'; | ||
|
||
const NoCompleteOrders = (): Node => { | ||
return ( | ||
<Stack direction="column" justifyContent="center" alignItems="center" flex={1} pt="98px"> | ||
<NoCompleteOders /> | ||
<Typography variant="h4" fontWeight="500" color="ds.text_gray_normal" mt="52px" pb="8px"> | ||
No orders completed yet | ||
</Typography> | ||
</Stack> | ||
); | ||
}; | ||
|
||
export default NoCompleteOrders; |
21 changes: 21 additions & 0 deletions
21
packages/yoroi-extension/app/containers/swap/orders/NoOpenOrders.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// @flow | ||
|
||
import { Stack, Typography } from '@mui/material'; | ||
import type { Node } from 'react'; | ||
import { ReactComponent as NoOpenOders } from '../../../assets/images/revamp/no-open-orders.inline.svg'; | ||
|
||
const NoOpenOrders = (): Node => { | ||
return ( | ||
<Stack direction="column" justifyContent="center" alignItems="center" flex={1} pt="98px"> | ||
<NoOpenOders /> | ||
<Typography variant="h4" fontWeight="500" color="ds.text_gray_normal" mt="52px" pb="8px"> | ||
No orders available yet | ||
</Typography> | ||
<Typography variant="body1" color="ds.text_gray_medium" width="343px" textAlign="center"> | ||
Start doing the swap operations to see your open orders here | ||
</Typography> | ||
</Stack> | ||
); | ||
}; | ||
|
||
export default NoOpenOrders; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters