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 DetailedListWrapper = view_container_1.styled.div `
width: 100%;
`;
exports.DetailedListWrapper = DetailedListWrapper;
/**
* @todo isColumnView is not working right now
* this logic will be changed by using React.Context
*
* @note was just a typo - currently it's in by using breakpoints
*/
// flex-direction: ${props => (props.isColumnView === true ? 'column' : 'row')};
const DetailedListItemPanel = view_container_1.styled.dl `
display: flex;
flex-direction: row;
@media (max-width: 767px) {
flex-direction: column;
}
`;
exports.DetailedListItemPanel = DetailedListItemPanel;
const DetailedListLabel = view_container_1.styled.dt `
${props => props.isColon === true &&
view_container_1.styled.css `
&::after {
content: ':';
}
`};
`;
exports.DetailedListLabel = DetailedListLabel;
const DetailedListValue = view_container_1.styled.dd `
@media (max-width: 767px) {
margin: 10px 0;
}
`;
exports.DetailedListValue = DetailedListValue;
//# sourceMappingURL=styled.js.map