UNPKG

@cbpds/web-components

Version:
5 lines 687 B
/*! * CPB Design System web components - built with Stencil */ import{r as t,h as e,a as s,g as i}from"./p-436f46fe.js";import{s as a}from"./p-93ade441.js";const r=class{constructor(e){t(this,e);this.color=undefined;this.selected=undefined;this.sx={}}componentWillLoad(){if(typeof this.sx=="string"){this.sx=JSON.parse(this.sx)||{}}a(this.host,Object.assign({},this.sx))}stateChangedHandler({detail:{checked:t}}){this.selected=t}render(){return e(s,{key:"54a0690012fad5f6c837017aca04a959f5c5a479",role:"listitem"},e("slot",{key:"343ae2882b86be584798c6487de8b047094eadd9"}))}get host(){return i(this)}};export{r as cbp_structured_list_item}; //# sourceMappingURL=p-8bcb678d.entry.js.map