carbon-react
Version:
A library of reusable React components for easily building user interfaces.
2 lines (1 loc) • 1.07 kB
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),t=require("../../../__internal__/form-field/form-field.style.js"),i=require("../../icon/icon.style.js"),l=require("../checkbox.style.js"),n=require("../../../__internal__/label/label.style.js"),o=require("../../../__internal__/validations/validation-icon.style.js");function r(e){return e&&e.__esModule?e:{default:e}}const a=r(e).default.div.withConfig({displayName:"checkbox-group.style__StyledCheckboxGroup",componentId:"sc-e51b1b6e-0"})(["display:flex;flex-direction:column;","::before{font-size:16px;}&& ","{margin:0;}& ","{margin-bottom:var(--spacing150);:last-of-type{margin-bottom:0;}}& > ","{& > ","{margin-bottom:4px;vertical-align:middle;","{display:inline-block;}}}"," ",""],i.default,t.default,l.default,t.default,n.StyledLabelContainer,o.default,(({legendInline:t})=>t&&e.css(["",":first-child{padding-top:4px;}"],l.default)),(({inline:t})=>t&&e.css(["flex-direction:row;","{margin:0;:not(:first-of-type){margin-left:32px;}}"],l.default)));exports.default=a;