@fluid-topics/ft-button 1.2.49 → 1.2.51

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.
@@ -46,6 +46,7 @@ export declare class FtBaseButton extends FtBaseButton_base implements FtBaseBut
46
46
  private resolveIcon;
47
47
  focus(): void;
48
48
  focusWithoutTooltip(): void;
49
+ showTemporaryTooltip(text: string, duration: number): Promise<void> | undefined;
49
50
  private setTooltipManual;
50
51
  click(): void;
51
52
  private getLabel;
@@ -113,6 +113,10 @@ class FtBaseButton extends toFtFormComponent(FtLitElement, "button") {
113
113
  (_a = this.button) === null || _a === void 0 ? void 0 : _a.focus();
114
114
  this.setTooltipManual(false);
115
115
  }
116
+ showTemporaryTooltip(text, duration) {
117
+ var _a;
118
+ return (_a = this.tooltip) === null || _a === void 0 ? void 0 : _a.showTemporaryText(text, duration);
119
+ }
116
120
  setTooltipManual(manualTooltip) {
117
121
  if (this.tooltip) {
118
122
  this.tooltip.manual = manualTooltip;