File tree Expand file tree Collapse file tree 3 files changed +14
-25
lines changed
app/components/Entity/components/ConfigureWorkflowInputs/components/Main/components/Stepper/components/Step/SequencingStep/components/UploadMyData Expand file tree Collapse file tree 3 files changed +14
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- import { PALETTE } from "@databiosphere/findable-ui/lib/styles/common/constants/palette" ;
21import styled from "@emotion/styled" ;
3- import { Paper } from "@mui/material" ;
2+ import { Alert } from "@mui/material" ;
43
5- export const StyledPaper = styled ( Paper ) `
6- background-color: ${ PALETTE . SMOKE_LIGHT } ;
7- display: grid;
8- gap: 8px;
9- justify-items: center;
10- padding: 24px;
11- text-align: center;
4+ export const StyledAlert = styled ( Alert ) `
5+ padding: 20px;
126 width: 100%;
137` ;
Original file line number Diff line number Diff line change 11import { Props } from "./types" ;
2- import { StyledPaper } from "./uploadMyData.styles" ;
3- import { Typography } from "@mui/material" ;
2+ import { Typography , AlertTitle } from "@mui/material" ;
43import { TYPOGRAPHY_PROPS } from "@databiosphere/findable-ui/lib/styles/common/mui/typography" ;
5- import { PAPER_PROPS } from ". /constants" ;
4+ import { ALERT_PROPS } from "@databiosphere/findable-ui/lib/components/common/Alert /constants" ;
65import { useEffect } from "react" ;
6+ import { StyledAlert } from "./uploadMyData.styles" ;
77
88export const UploadMyData = ( { onConfigure, stepKey } : Props ) : JSX . Element => {
99 useEffect ( ( ) => {
1010 onConfigure ( stepKey , [ ] ) ;
1111 } , [ onConfigure , stepKey ] ) ;
1212 return (
13- < StyledPaper { ...PAPER_PROPS } >
14- < Typography
15- color = { TYPOGRAPHY_PROPS . COLOR . INK_LIGHT }
16- variant = { TYPOGRAPHY_PROPS . VARIANT . BODY_400 }
17- >
18- I'll upload my data directly to Galaxy.
13+ < StyledAlert { ...ALERT_PROPS . STANDARD_INFO } >
14+ < AlertTitle variant = { TYPOGRAPHY_PROPS . VARIANT . BODY_LARGE_500 } >
15+ Upload Your Data in Galaxy
16+ </ AlertTitle >
17+ < Typography variant = { TYPOGRAPHY_PROPS . VARIANT . BODY_400_2_LINES } >
18+ You will have an opportunity to upload your own data to your Galaxy
19+ history.
1920 </ Typography >
20- </ StyledPaper >
21+ </ StyledAlert >
2122 ) ;
2223} ;
You can’t perform that action at this time.
0 commit comments