-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace drawer with dialog, add containers and global header f…
…ooters, refactor onboarding, ref #4371
- Loading branch information
1 parent
988e23f
commit 2572118
Showing
171 changed files
with
2,209 additions
and
1,787 deletions.
There are no files selected for viewing
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
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,48 @@ | ||
import { breakpoints } from '@leather-wallet/tokens'; | ||
|
||
import { POPUP_HEIGHT, POPUP_WIDTH } from '../src/shared/constants'; | ||
|
||
export const customViewports = { | ||
extension: { | ||
name: 'Extension Popout', | ||
styles: { | ||
width: `${POPUP_WIDTH}px`, | ||
height: `${POPUP_HEIGHT}px`, | ||
}, | ||
}, | ||
sm: { | ||
name: 'sm', | ||
styles: { | ||
width: breakpoints.sm, | ||
height: '100%', | ||
}, | ||
}, | ||
md: { | ||
name: 'md', | ||
styles: { | ||
width: breakpoints.md, | ||
height: '100%', | ||
}, | ||
}, | ||
lg: { | ||
name: 'lg', | ||
styles: { | ||
width: breakpoints.lg, | ||
height: '100%', | ||
}, | ||
}, | ||
xl: { | ||
name: 'xl', | ||
styles: { | ||
width: breakpoints.xl, | ||
height: '100%', | ||
}, | ||
}, | ||
'2xl': { | ||
name: '2xl', | ||
styles: { | ||
width: breakpoints['2xl'], | ||
height: '100%', | ||
}, | ||
}, | ||
}; |
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 was deleted.
Oops, something went wrong.
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
7 changes: 2 additions & 5 deletions
7
src/app/common/hooks/use-drawers.ts → src/app/common/hooks/use-dialogs.ts
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.