|
1 | 1 | import React, { useEffect, useState } from "react"; |
2 | 2 | import styled from "@emotion/styled"; |
3 | | -import { BlackButton, TransparencyButton } from "./style/global-style"; |
| 3 | +import { |
| 4 | + BlackButtonStyle, |
| 5 | + TransparentButtonStyle, |
| 6 | +} from "@ui/core/button-style"; |
4 | 7 | import { Button } from "@material-ui/core"; |
5 | | -import { ProgressBar } from "./animation/progress-bar"; |
| 8 | +import { AnimatedProgressBar } from "./animation/animated-progress-bar"; |
6 | 9 | import { AnimatedCheckIcon } from "./animation/animated-check-icon"; |
7 | 10 | import { motion } from "framer-motion"; |
8 | | -import { Preview } from "."; |
9 | | -import { CheckIcon } from "./Icon/check-icon"; |
| 11 | +import { Preview } from "@ui/previewer"; |
| 12 | +import CheckIcon from "@assistant/icons/check"; |
10 | 13 |
|
11 | 14 | const step = [ |
12 | 15 | "converting design to universal format", |
@@ -40,7 +43,7 @@ export function UploadSteps() { |
40 | 43 | return ( |
41 | 44 | <> |
42 | 45 | <Preview auto /> |
43 | | - {isLoading && <ProgressBar contorl={animateHandle} />} |
| 46 | + {isLoading && <AnimatedProgressBar contorl={animateHandle} />} |
44 | 47 | <InnerWrapper variants={fieldVariants} animate="make-active"> |
45 | 48 | {isLoading ? ( |
46 | 49 | <Loading> |
@@ -148,11 +151,11 @@ const IconBox = styled.div` |
148 | 151 | `; |
149 | 152 |
|
150 | 153 | const CheckButton = styled(Button)` |
151 | | - ${BlackButton}; |
| 154 | + ${BlackButtonStyle}; |
152 | 155 | width: 100%; |
153 | 156 | `; |
154 | 157 | const UncheckButton = styled(Button)` |
155 | | - ${TransparencyButton} |
| 158 | + ${TransparentButtonStyle} |
156 | 159 | width: 100%; |
157 | 160 | cursor: pointer; |
158 | 161 | text-transform: initial; |
|
0 commit comments