Fix/14303 show private keys (#14314)

feature/default_network_editable
George Marshall 3 years ago committed by GitHub
parent 44b4b9b012
commit c516760382
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 37
      ui/components/app/modals/export-private-key-modal/export-private-key-modal.stories.js
  2. 3
      ui/components/app/modals/export-private-key-modal/index.scss
  3. 2
      ui/components/app/modals/qr-scanner/qr-scanner.component.js
  4. 2
      ui/components/app/qr-hardware-popover/enhanced-reader.js
  5. 2
      ui/components/app/transaction-decoding/transaction-decoding.component.js
  6. 2
      ui/components/ui/loading-screen/loading-screen.component.js

@ -0,0 +1,37 @@
import React from 'react';
import ExportPrivateKeyModal from '.';
export default {
title: 'Components/App/Modals/ExportPrivateKeyModal',
id: __filename,
argTypes: {
exportAccount: {
action: 'exportAccount',
},
selectedIdentity: {
control: 'object',
},
warning: {
control: 'node',
},
showAccountDetailModal: {
action: 'showAccountDetailModal',
},
hideModal: {
action: 'hideModal',
},
hideWarning: {
action: 'hideWarning',
},
clearAccountDetails: {
action: 'clearAccountDetails',
},
previousModalState: {
control: 'text',
},
},
};
export const DefaultStory = (args) => <ExportPrivateKeyModal {...args} />;
DefaultStory.storyName = 'Default';

@ -28,7 +28,7 @@
&__password--error {
@include H6;
color: var(--color-text-muted);
color: var(--color-text-default);
margin-bottom: 10px;
}
@ -76,6 +76,7 @@
@include Paragraph;
color: var(--color-error-default);
background-color: var(--color-background-default);
border: none;
height: 75px;
width: 100%;

@ -251,7 +251,7 @@ export default class QrScanner extends Component {
}}
/>
{ready === READY_STATE.READY ? null : (
<Spinner color="var(--color-secondary-muted)" />
<Spinner color="var(--color-secondary-default)" />
)}
</div>
</div>

@ -55,7 +55,7 @@ const EnhancedReader = ({ handleScan }) => {
filter: 'blur(4px)',
}}
/>
{canplay ? null : <Spinner color="var(--color-secondary-muted)" />}
{canplay ? null : <Spinner color="var(--color-secondary-default)" />}
</div>
);
};

@ -202,7 +202,7 @@ export default function TransactionDecoding({ to = '', inputData: data = '' }) {
if (loading) {
return (
<div className="tx-insight-loading">
<Spinner color="var(--color-secondary-muted)" />
<Spinner color="var(--color-secondary-default)" />
</div>
);
}

@ -35,7 +35,7 @@ class LoadingScreen extends Component {
<div className="loading-overlay__container">
{this.props.showLoadingSpinner && (
<Spinner
color="var(--color-secondary-muted)"
color="var(--color-secondary-default)"
className="loading-overlay__spinner"
/>
)}

Loading…
Cancel
Save