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 e}from"./p-436f46fe.js";import{s as c}from"./p-93ade441.js";const o="cbp-multicol{display:block}cbp-multicol>*{max-width:100%}cbp-multicol[nobreak]>*{break-inside:avoid}";const n=o;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:"6359ea6c271837d2d0220b1343dbdcee2c003e84"},i("slot",{key:"14a5a10ccaa4265238d7b14abfa52d5f04acd898"}))}get host(){return e(this)}};d.style=n;export{d as cbp_multicol}; //# sourceMappingURL=p-f8c5c971.entry.js.map