UNPKG

@cbpds/web-components

Version:
5 lines 892 B
/*! * CPB Design System web components - built with Stencil */ import{r as t,h as i,a as s,g as o}from"./p-654179c2.js";import{s as c}from"./p-93ade441.js";const e="cbp-multicol{display:block}cbp-multicol>*{max-width:100%}cbp-multicol[nobreak]>*{break-inside:avoid}";const n=e;const d=class{constructor(i){t(this,i);this.columns=undefined;this.width=undefined;this.gap=undefined;this.rule=undefined;this.nobreak=undefined;this.sx={}}componentWillLoad(){if(typeof this.sx=="string"){this.sx=JSON.parse(this.sx)||{}}c(this.host,Object.assign({"column-count":this.columns,"column-width":this.width,"column-gap":this.gap,"column-rule":this.rule},this.sx))}render(){return i(s,{key:"87a9bf82ff63b4afbba4f5116bcf95390ceb03d8"},i("slot",{key:"5b54a408036c4a85b519387af7b3d461d6d45c11"}))}get host(){return o(this)}};d.style=n;export{d as cbp_multicol}; //# sourceMappingURL=p-04dfeebd.entry.js.map