@stackoverflow/stacks 1.0.1 → 1.3.0

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.
@@ -80,13 +80,17 @@ export declare class PopoverController extends BasePopoverController {
80
80
  private boundHideOnOutsideClick;
81
81
  private boundHideOnEscapePress;
82
82
  /**
83
- * Toggles optional classes in addition to BasePopoverController.shown
83
+ * Toggles optional classes and accessibility attributes in addition to BasePopoverController.shown
84
84
  */
85
85
  protected shown(dispatcher?: Element | null): void;
86
86
  /**
87
- * Toggles optional classes in addition to BasePopoverController.hidden
87
+ * Toggles optional classes and accessibility attributes in addition to BasePopoverController.hidden
88
88
  */
89
89
  protected hidden(dispatcher?: Element | null): void;
90
+ /**
91
+ * Initializes accessibility attributes in addition to BasePopoverController.connect
92
+ */
93
+ connect(): void;
90
94
  /**
91
95
  * Binds global events to the document for hiding popovers on user interaction
92
96
  */
@@ -110,6 +114,11 @@ export declare class PopoverController extends BasePopoverController {
110
114
  * @param {boolean=} show - A boolean indicating whether this is being triggered by a show or hide.
111
115
  */
112
116
  private toggleOptionalClasses;
117
+ /**
118
+ * Toggles accessibility attributes based on whether the popover is shown or not
119
+ * @param {boolean=} show - A boolean indicating whether this is being triggered by a show or hide.
120
+ */
121
+ private toggleAccessibilityAttributes;
113
122
  }
114
123
  /**
115
124
  * Helper to manually show an s-popover element via external JS