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 i,g as o}from"./p-8d4a80f0.js";import{s as n}from"./p-93ade441.js";const e="cbp-section:not([hidden]){display:block}";const a=e;const c=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)||{}}n(this.host,Object.assign({},this.sx))}render(){const s=this.tag;return t(i,{key:"c9aa802a0a6c288a8ed74130e47e9547911a9182"},this.tag!="none"?t(s,{"aria-label":this.accessibilityText},t("slot",null)):t("slot",null))}get host(){return o(this)}};c.style=a;export{c as cbp_section}; //# sourceMappingURL=p-6e063762.entry.js.map