-
Notifications
You must be signed in to change notification settings - Fork 896
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f4a7e3
commit dca5183
Showing
11 changed files
with
621 additions
and
13 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
32 changes: 32 additions & 0 deletions
32
...e_wallet_ui/components/desktop/popup-modals/zcash_sync_modal/zcash_sync_modal.stories.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright (c) 2025 The Brave Authors. All rights reserved. | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
// You can obtain one at https://mozilla.org/MPL/2.0/. | ||
|
||
import * as React from 'react' | ||
|
||
// Mocks | ||
import { mockAccount } from '../../../../common/constants/mocks' | ||
|
||
// Components | ||
import { | ||
WalletPageStory // | ||
} from '../../../../stories/wrappers/wallet-page-story-wrapper' | ||
import { ZCashSyncModal } from './zcash_sync_modal' | ||
|
||
export const _ZCashSyncModal = { | ||
render: () => { | ||
return ( | ||
<WalletPageStory> | ||
<ZCashSyncModal | ||
account={mockAccount} | ||
onClose={() => {}} | ||
/> | ||
</WalletPageStory> | ||
) | ||
} | ||
} | ||
|
||
export default { | ||
component: ZCashSyncModal | ||
} |
32 changes: 32 additions & 0 deletions
32
...rave_wallet_ui/components/desktop/popup-modals/zcash_sync_modal/zcash_sync_modal.style.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,32 @@ | ||
// Copyright (c) 2025 The Brave Authors. All rights reserved. | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
// You can obtain one at https://mozilla.org/MPL/2.0/. | ||
|
||
import styled from 'styled-components' | ||
import Progress from '@brave/leo/react/progressRing' | ||
|
||
// Constants | ||
import { layoutPanelWidth } from '../../wallet-page-wrapper/wallet-page-wrapper.style' | ||
|
||
// Shared Styles | ||
import { Column, Row } from '../../../shared/style' | ||
|
||
export const ProgressRing = styled(Progress)` | ||
--leo-progressring-size: 144px; | ||
margin-bottom: 24px; | ||
` | ||
|
||
export const ContentWrapper = styled(Column)` | ||
padding: 16px 32px; | ||
@media screen and (max-width: ${layoutPanelWidth}px) { | ||
padding: 16px; | ||
} | ||
` | ||
|
||
export const ButtonRow = styled(Row)` | ||
padding: 32px; | ||
@media screen and (max-width: ${layoutPanelWidth}px) { | ||
padding: 24px 16px; | ||
} | ||
` |
Oops, something went wrong.