-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: rename password lock to credential lock * refactor: decrease size of network badges * refactor: add border radius to network select container * refactor: reposition account page header and fix broken scroll in tab containers * feat: add tab bar control component and use in asset and activity tabs * chore: squash * refactor: replace edit name with edit account and a new edit account modal * refactor: update select modal styles * chore: squash * refactor: remove pills from network select and use concise select * chore: squash * refactor: update inputs to have full border radius * chore: squash * refactor: use new password hook and update new password component to be more dumb * refactor: add amount input and address input hooks and update send asset modal
- Loading branch information
1 parent
734c89e
commit 65ca387
Showing
194 changed files
with
2,595 additions
and
1,823 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
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
101 changes: 66 additions & 35 deletions
101
src/extension/components/AccountSelect/AccountSelect.tsx
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
export { default } from './AccountSelect'; | ||
export { default as AccountSelectModal } from './AccountSelectModal'; | ||
export * from './types'; |
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
21 changes: 21 additions & 0 deletions
21
src/extension/components/AccountSelect/types/TAccountSelectModalProps.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// types | ||
import type { | ||
IAccountWithExtendedProps, | ||
IModalProps, | ||
IPropsWithContext, | ||
} from '@extension/types'; | ||
|
||
interface IAccountSelectModalProps { | ||
accounts: IAccountWithExtendedProps[]; | ||
allowWatchAccounts?: boolean; | ||
isOpen: boolean; | ||
multiple?: boolean; | ||
onSelect: (accounts: IAccountWithExtendedProps[]) => void; | ||
title?: string; | ||
} | ||
|
||
type TAccountSelectModalProps = IAccountSelectModalProps & | ||
IModalProps & | ||
IPropsWithContext; | ||
|
||
export default TAccountSelectModalProps; |
Oops, something went wrong.