@stackoverflow/stacks 2.5.7 → 2.5.8

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.
@@ -9,6 +9,7 @@ export declare class TooltipController extends BasePopoverController {
9
9
  private boundHide;
10
10
  private boundHideIfWithin;
11
11
  private boundHideOnEscapeKeyEvent;
12
+ private boundHideIfNotFocused;
12
13
  private boundClearActiveTimeout;
13
14
  private activeTimeout;
14
15
  /**
@@ -59,6 +60,11 @@ export declare class TooltipController extends BasePopoverController {
59
60
  * @param event An event object from s-popover:shown
60
61
  */
61
62
  private hideIfWithin;
63
+ /**
64
+ * Hides the tooltip if the focus is not on the popover element.
65
+ * @param event A focusout event object from the reference or popover element
66
+ */
67
+ private hideIfNotFocused;
62
68
  private hideOnEscapeKeyEvent;
63
69
  /**
64
70
  * Binds mouse events to show/hide on reference element hover