@cbpds/web-components
Version:
Web components for the CBP Design System.
5 lines • 892 B
JavaScript
/*!
* CPB Design System web components - built with Stencil
*/
import{r as t,h as i,a as s,g as e}from"./p-8d4a80f0.js";import{s as o}from"./p-93ade441.js";const n="cbp-multicol{display:block}cbp-multicol>*{max-width:100%}cbp-multicol[nobreak]>*{break-inside:avoid}";const c=n;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)||{}}o(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:"2fc98da64da9e517513021a19e76d41c642b36f7"},i("slot",{key:"f2375dcab2cf5af8defb1dfeae7b816aef4bb969"}))}get host(){return e(this)}};d.style=c;export{d as cbp_multicol};
//# sourceMappingURL=p-bc76f090.entry.js.map