@energycap/components 0.46.20 → 0.46.21
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.
package/package.json
CHANGED
|
@@ -2238,6 +2238,13 @@ declare class PopupContainerDirective implements OnInit, OnDestroy, OnInit {
|
|
|
2238
2238
|
* @memberof PopupContainerDirective
|
|
2239
2239
|
*/
|
|
2240
2240
|
private globalCloseSubscription?;
|
|
2241
|
+
/**
|
|
2242
|
+
* Element that had focus immediately before `show()` opened the popup, so it
|
|
2243
|
+
* can be restored on `hide()` if a consumer moved focus into the popup (WCAG 2.4.3).
|
|
2244
|
+
*
|
|
2245
|
+
* @memberof PopupContainerDirective
|
|
2246
|
+
*/
|
|
2247
|
+
private previouslyFocusedElement?;
|
|
2241
2248
|
/**
|
|
2242
2249
|
* Creates an instance of PopupContainerDirective.
|
|
2243
2250
|
* @param templateRef Reference to the popup template
|
|
@@ -2272,6 +2279,12 @@ declare class PopupContainerDirective implements OnInit, OnDestroy, OnInit {
|
|
|
2272
2279
|
* @memberof PopupContainerDirective
|
|
2273
2280
|
*/
|
|
2274
2281
|
hide(): void;
|
|
2282
|
+
/**
|
|
2283
|
+
* Whether the current `document.activeElement` is contained within the popup's DOM.
|
|
2284
|
+
*
|
|
2285
|
+
* @memberof PopupContainerDirective
|
|
2286
|
+
*/
|
|
2287
|
+
private isFocusInsidePopup;
|
|
2275
2288
|
/**
|
|
2276
2289
|
* Updates the popup container position
|
|
2277
2290
|
*/
|