Icon2() {
  switch (this.variant.toLowerCase()) {
    case "close":
      return html`<rh-icon set="microns" icon="close"></rh-icon>`;
    case "play":
      return html`<rh-icon set="ui" icon="play-fill"></rh-icon>`;
    default:
      return html`<rh-icon set="${this.iconSet ?? "ui"}" icon="${this.icon}"></rh-icon>`;
  }
};
RhButton.styles = [styles];
RhButton.formAssociated = true;
RhButton.shadowRootOptions = {
  ...LitElement.shadowRootOptions,
  delegatesFocus: true
};
__decorate([
  property({ reflect: true, type: Boolean })
], RhButton.prototype, "disabled", void 0);
__decorate([
  property({ reflect: true })
], RhButton.prototype, "type", void 0);
__decorate([
  property()
], RhButton.prototype, "label", void 0);
__decorate([
  property()
], RhButton.prototype, "value", void 0);
__decorate([
  property()
], RhButton.prototype, "name", void 0);
__decorate([
  property()
], RhButton.prototype, "icon", void 0);
__decorate([
  property({ attribute: "icon-set" })
], RhButton.prototype, "iconSet", void 0);
__decorate([
  query("button")
], RhButton.prototype, "_button", void 0);
__decorate([
  property({ reflect: true })
], RhButton.prototype, "variant", void 0);
__decorate([
  property({ type: Boolean, reflect: true })
], RhButton.prototype, "danger", void 0);
__decorate([
  colorContextConsumer()
], RhButton.prototype, "on", void 0);
RhButton = __decorate([
  customElement("rh-button")
], RhButton);
export {
  RhButton
};
//# sourceMappingURL=@rhds_elements_rh-button_rh-button__js.js.map
Ә