@cbpds/web-components
Version:
Web components for the CBP Design System.
5 lines • 763 B
JavaScript
/*!
* CPB Design System web components - built with Stencil
*/
import{r as t,h as e,a as s,g as a}from"./p-654179c2.js";import{s as i}from"./p-93ade441.js";const n="cbp-tab-panel{display:none}cbp-tab-panel[selected]{display:block}";const d=n;const o=class{constructor(e){t(this,e);this.name=undefined;this.selected=undefined;this.sx={}}componentWillLoad(){if(typeof this.sx=="string"){this.sx=JSON.parse(this.sx)||{}}i(this.host,Object.assign({},this.sx))}render(){return e(s,{key:"d30745c39739d225e699dc7328c363b323110f05",role:"tabpanel",id:this.name,"aria-labelledby":`${this.name}_tab`},e("slot",{key:"28744de83a30547bed91e3130d40ad73bce2770a"}))}get host(){return a(this)}};o.style=d;export{o as cbp_tab_panel};
//# sourceMappingURL=p-becdabfc.entry.js.map