import{h,Host}from"@stencil/core";let id=0;export class ScTabPanel{constructor(){this.componentId="tab-panel-"+ ++id,this.name="",this.active=!1}render(){return this.el.id=this.el.id||this.componentId,h(Host,{key:"a09a0309ecbbc7d4cd02cf1aec3fe66550e05a1c",style:{display:this.active?"block":"none"}},h("div",{key:"05e538d0a9c0486ea673985dcdd5ade07c71f083",part:"base",class:"tab-panel",role:"tabpanel","aria-hidden":this.active?"false":"true"},h("slot",{key:"f38c49db0f5651daa4eee3debeff896e8639009f"})))}static get is(){return"sc-tab-panel"}static get encapsulation(){return"shadow"}static get originalStyleUrls(){return{$:["sc-tab-panel.scss"]}}static get styleUrls(){return{$:["sc-tab-panel.css"]}}static get properties(){return{name:{type:"string",mutable:!1,complexType:{original:"string",resolved:"string",references:{}},required:!1,optional:!1,docs:{tags:[],text:"The tab panel's name."},attribute:"name",reflect:!0,defaultValue:"''"},active:{type:"boolean",mutable:!1,complexType:{original:"boolean",resolved:"boolean",references:{}},required:!1,optional:!1,docs:{tags:[],text:"When true, the tab panel will be shown."},attribute:"active",reflect:!0,defaultValue:"false"}}}static get elementRef(){return"el"}}