@cbpds/web-components
Version:
Web components for the CBP Design System.
5 lines • 1.08 kB
JavaScript
/*!
* CPB Design System web components - built with Stencil
*/
import{r as i,h as t,a as s,g as e}from"./p-654179c2.js";import{s as d}from"./p-93ade441.js";const n="cbp-grid-item:not([hidden]){display:inherit;position:relative;max-width:100%}";const r=n;const h=class{constructor(t){i(this,t);this.gridColumnStart=undefined;this.gridColumnEnd=undefined;this.gridRowStart=undefined;this.gridRowEnd=undefined;this.alignSelf=undefined;this.justifySelf=undefined;this.gridArea=undefined;this.sx={}}componentWillLoad(){if(typeof this.sx=="string"){this.sx=JSON.parse(this.sx)||{}}d(this.host,Object.assign({"grid-column-start":this.gridColumnStart,"grid-column-end":this.gridColumnEnd,"grid-row-start":this.gridRowStart,"grid-row-end":this.gridRowEnd,"align-self":this.alignSelf,"justify-self":this.justifySelf,"grid-area":this.gridArea},this.sx))}render(){return t(s,{key:"73e18fd2866118b68da0963975f32c109cc8fd19"},t("slot",{key:"90bb5eabe8d0ee9a3370d1b4a622f2fc6fdeed4d"}))}get host(){return e(this)}};h.style=r;export{h as cbp_grid_item};
//# sourceMappingURL=p-43018518.entry.js.map