import { tag_styles_default } from "./chunk.ANN75NG2.js"; import { SlIconButton } from "./chunk.Y77CZW56.js"; import { LocalizeController } from "./chunk.NH3SRVOC.js"; import { e } from "./chunk.UZVKBFXH.js"; import { ShoelaceElement, n } from "./chunk.SEXBCYCU.js"; import { x } from "./chunk.CXZZ2LVK.js"; import { __decorateClass } from "./chunk.KIILAQWQ.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 = 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 };