@fluid-topics/ft-button 2.2.32 → 2.2.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,6 +23,7 @@ export declare class FtButton extends FtButton_base implements FtButtonPropertie
23
23
  ariaLabel: string | null;
24
24
  ariaHasPopup: string | null;
25
25
  ariaPressed: string | null;
26
+ ariaExpanded: string | null;
26
27
  tooltipPosition: Position;
27
28
  hideTooltip: boolean;
28
29
  forceTooltip: boolean;
@@ -45,6 +45,7 @@ export class FtButton extends toFtFormComponent(FtLitElement) {
45
45
  this.ariaLabel = null;
46
46
  this.ariaHasPopup = null;
47
47
  this.ariaPressed = null;
48
+ this.ariaExpanded = null;
48
49
  this.tooltipPosition = "bottom";
49
50
  this.hideTooltip = false;
50
51
  this.forceTooltip = false;
@@ -97,6 +98,7 @@ export class FtButton extends toFtFormComponent(FtLitElement) {
97
98
  aria-label="${ifDefined((_c = this.ariaLabel) !== null && _c !== void 0 ? _c : this.label)}"
98
99
  aria-haspopup="${ifDefined(this.ariaHasPopup)}"
99
100
  aria-pressed="${ifDefined(this.ariaPressed)}"
101
+ aria-expanded="${ifDefined(this.ariaExpanded)}"
100
102
  ?disabled=${this.isDisabled()}>
101
103
  ${content}
102
104
  </button>
@@ -234,6 +236,9 @@ __decorate([
234
236
  __decorate([
235
237
  property({ attribute: "aria-pressed" })
236
238
  ], FtButton.prototype, "ariaPressed", void 0);
239
+ __decorate([
240
+ property({ attribute: "aria-expanded" })
241
+ ], FtButton.prototype, "ariaExpanded", void 0);
237
242
  __decorate([
238
243
  property()
239
244
  ], FtButton.prototype, "tooltipPosition", void 0);