UNPKG

@cbpds/web-components

Version:
5 lines 758 B
/*! * CPB Design System web components - built with Stencil */ import{r as t,h as s,a,g as e}from"./p-8d4a80f0.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(s){t(this,s);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 s(a,{key:"72ab5e2df19b02db5aec573d0f8a089b526d9797",role:"tabpanel",id:this.name,"aria-labelledby":`${this.name}_tab`},s("slot",{key:"f1484a54199d9c792c679697a4234273ad6cb26e"}))}get host(){return e(this)}};o.style=d;export{o as cbp_tab_panel}; //# sourceMappingURL=p-f9a9a4c9.entry.js.map