import{__decorate as t}from"tslib";import{html as s}from"lit";import{customElement as e}from"lit/decorators.js";import{s as i}from"./nile-list.css.esm.js";import{N as l}from"../internal/nile-element.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let r=class extends l{static get styles(){return[i]}handleListItemClick(t){const s=t.target.innerText;this.emit("nile-list-click",{value:s})}render(){return s`
      <slot @nile-list-item-click="${this.handleListItemClick}"> </slot>
    `}};r=t([e("nile-list")],r);export{r as N};
