Repository URL to install this package:
|
Version:
0.9.6 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Buttons_1 = require("presets/Buttons");
const Button_1 = require("atoms/Button");
const BaseWrapper = styled.div `
position: relative;
flex: 0 0 100%;
flex-direction: column;
display: none;
align-items: flex-end;
flex-wrap: wrap;
${props => !props.isVisible &&
styled.css `
display: flex;
`};
`;
exports.BaseWrapper = BaseWrapper;
const PrintButton = styled.withComponent(Buttons_1.PrimaryButton) `
margin-bottom: 15px;
background: #00a2db;
width: 100%;
`;
exports.PrintButton = PrintButton;
const OrderAgainButton = styled.withComponent(Buttons_1.PrimaryButton) `
margin-bottom: 15px;
background: #a3afc3;
`;
exports.OrderAgainButton = OrderAgainButton;
const ReturnButton = styled.withComponent(Buttons_1.PrimaryButton) `
background: #a3afc3;
`;
exports.ReturnButton = ReturnButton;
const CancelButton = styled.withComponent(Buttons_1.PrimaryButton) `
background: #a3afc3;
`;
exports.CancelButton = CancelButton;
const StyledPrintButton = styled.withComponent(PrintButton).attrs({
'data-qa': 'qa-order-return-trigger',
}) ``;
exports.StyledPrintButton = StyledPrintButton;
const StyledOrderAgainButton = styled.withComponent(OrderAgainButton).attrs({
'data-qa': 'qa-order-again-trigger',
}) ``;
exports.StyledOrderAgainButton = StyledOrderAgainButton;
const StyledReturnButton = styled.withComponent(ReturnButton).attrs({
'data-qa': 'qa-write-review-trigger',
}) ``;
exports.StyledReturnButton = StyledReturnButton;
const SectionWrapper = styled.div `
display: flex;
flex-wrap: wrap;
width: 100%;
flex-direction: column;
align-items: flex-end;
${PrintButton}, ${OrderAgainButton}, ${ReturnButton} {
border-radius: 4px;
width: 162px;
height: 44px;
padding: 0 8px;
/* display: none; */
/* ${props => !props.isVisible &&
styled.css `
display: flex;
`}; */
@media (max-width: 767px) {
width: 100%;
}
${Button_1.ButtonLabel} {
font-size: 18px;
font-weight: 500;
text-transform: capitalize;
margin: 0;
}
}
`;
exports.SectionWrapper = SectionWrapper;
//# sourceMappingURL=styled.js.map