@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-8d4a80f0.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:"107f6c7159032a57cdac7565d3422b5bb3690c1c"},t("slot",{key:"8f2405ac181e0eab39188927408ad45909b0c177"}))}get host(){return e(this)}};h.style=r;export{h as cbp_grid_item};
//# sourceMappingURL=p-26fc1957.entry.js.map