UNPKG

@cbpds/web-components

Version:
5 lines 879 B
/*! * CPB Design System web components - built with Stencil */ import{r as s,h as e,a as t,g as i}from"./p-654179c2.js";import{s as n}from"./p-93ade441.js";const h="cbp-flex-item:not([hidden]){display:block}";const f=h;const o=class{constructor(e){s(this,e);this.alignSelf=undefined;this.order=undefined;this.flexGrow=undefined;this.flexShrink=undefined;this.flexBasis=undefined;this.sx={}}componentWillLoad(){if(typeof this.sx=="string"){this.sx=JSON.parse(this.sx)||{}}n(this.host,Object.assign({"align-self":this.alignSelf,order:this.order,"flex-grow":this.flexGrow,"flex-shrink":this.flexShrink,"flex-basis":this.flexBasis},this.sx))}render(){return e(t,{key:"6626f482159918ae5b06af8aeb700e0a6cb3f403"},e("slot",{key:"69fb7a18bc77181b74a4316eb528eda820700e1f"}))}get host(){return i(this)}};o.style=f;export{o as cbp_flex_item}; //# sourceMappingURL=p-dd5f698c.entry.js.map