import { tag_styles_default } from "./chunk.6VP72EQR.js"; import { SlIconButton } from "./chunk.E7U2HBHY.js"; import { LocalizeController } from "./chunk.2SU6QBUU.js"; import { e } from "./chunk.3RBSSBZT.js"; import { component_styles_default } from "./chunk.INZSKSLC.js"; import { ShoelaceElement, n } from "./chunk.OGQ452CI.js"; import { x } from "./chunk.OOP2EFQH.js"; import { __decorateClass } from "./chunk.W27M6RDR.js"; // src/components/tag/tag.component.ts var SlTag = class extends ShoelaceElement { constructor() { super(...arguments); this.localize = new LocalizeController(this); this.variant = "neutral"; this.size = "medium"; this.pill = false; this.removable = false; } handleRemoveClick() { this.emit("sl-remove"); } render() { return x` ${this.removable ? x` ` : ""} `; } }; SlTag.styles = [component_styles_default, tag_styles_default]; SlTag.dependencies = { "sl-icon-button": SlIconButton }; __decorateClass([ n({ reflect: true }) ], SlTag.prototype, "variant", 2); __decorateClass([ n({ reflect: true }) ], SlTag.prototype, "size", 2); __decorateClass([ n({ type: Boolean, reflect: true }) ], SlTag.prototype, "pill", 2); __decorateClass([ n({ type: Boolean }) ], SlTag.prototype, "removable", 2); export { SlTag };