Repository URL to install this package:
Version:
0.9.6 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const view_container_1 = require("view-container");
const Button_1 = require("atoms/Button");
const PlusIcon_1 = require("atoms/Icons/PlusIcon");
const MinusIcon_1 = require("atoms/Icons/MinusIcon");
const StyledInput = view_container_1.styled.input `
width: 40px;
border: 0;
display: inline-flex;
text-align: center;
font-size: 14px;
`;
exports.StyledInput = StyledInput;
const InputBoxWrapper = view_container_1.styled.div ``;
exports.InputBoxWrapper = InputBoxWrapper;
const StyledButton = view_container_1.styled.withComponent(Button_1.Button) `
border: 0;
background-color: transparent;
padding: 0;
${props => props.isDisabled === true &&
view_container_1.styled.css `
opacity: 0.5;
cursor: not-allowed;
`}
`;
exports.StyledButton = StyledButton;
const StyledPlusIcon = view_container_1.styled.withComponent(PlusIcon_1.PlusIcon) ``;
exports.StyledPlusIcon = StyledPlusIcon;
const StyledMinusIcon = view_container_1.styled.withComponent(MinusIcon_1.MinusIcon) ``;
exports.StyledMinusIcon = StyledMinusIcon;
const InnerWrapper = view_container_1.styled.section `
display: flex;
flex-direction: row;
align-items: center;
.arrow-wrapper {
width: 10px;
height: 9px;
}
`;
exports.InnerWrapper = InnerWrapper;
const IncrementerWrapper = view_container_1.styled.div `
display: inline-flex;
width: 100px;
border: 1px solid black;
padding: 10px;
justify-content: space-between;
`;
exports.IncrementerWrapper = IncrementerWrapper;
//# sourceMappingURL=styled.js.map