UNPKG

@cbpds/web-components

Version:
5 lines 723 B
/*! * CPB Design System web components - built with Stencil */ import{r as s,h as t,a as e,g as i}from"./p-654179c2.js";import{s as o}from"./p-93ade441.js";const n="cbp-section:not([hidden]){display:block}";const c=n;const a=class{constructor(t){s(this,t);this.tag="none";this.accessibilityText=undefined;this.sx={}}componentWillLoad(){if(typeof this.sx=="string"){this.sx=JSON.parse(this.sx)||{}}o(this.host,Object.assign({},this.sx))}render(){const s=this.tag;return t(e,{key:"0e38e31b8e50fcbcd00efa3af888ebf292744cca"},this.tag!="none"?t(s,{"aria-label":this.accessibilityText},t("slot",null)):t("slot",null))}get host(){return i(this)}};a.style=c;export{a as cbp_section}; //# sourceMappingURL=p-6a4d6e52.entry.js.map