@sinequa/galactik 2.1.0 → 2.1.1
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
|
@@ -6239,6 +6239,11 @@ export declare class DialogComponent {
|
|
|
6239
6239
|
*/
|
|
6240
6240
|
isPopover: import("@angular/core").WritableSignal<boolean>;
|
|
6241
6241
|
isModal: import("@angular/core").WritableSignal<boolean>;
|
|
6242
|
+
private readonly injector;
|
|
6243
|
+
/** Element focused before the `[dialog]` path opened, given its focus back on close. */
|
|
6244
|
+
private opener;
|
|
6245
|
+
private releaseInert;
|
|
6246
|
+
constructor();
|
|
6242
6247
|
/**
|
|
6243
6248
|
* Opens the dialog by displaying the modal.
|
|
6244
6249
|
*
|
|
@@ -6258,6 +6263,13 @@ export declare class DialogComponent {
|
|
|
6258
6263
|
* This method assumes that `dialog` is a reference to a native dialog element and `isOpen` is a state management property.
|
|
6259
6264
|
*/
|
|
6260
6265
|
showModal(): void;
|
|
6266
|
+
/**
|
|
6267
|
+
* `[dialog]` path only — a native `<dialog>` gets all of this from `showModal()`. Makes the page
|
|
6268
|
+
* behind inert (no Tab out of the modal, hidden from assistive technology), then moves the focus in.
|
|
6269
|
+
* Inert first: the opener loses the focus it held, so nothing is left focused behind the scrim.
|
|
6270
|
+
*/
|
|
6271
|
+
private holdBackground;
|
|
6272
|
+
private releaseBackground;
|
|
6261
6273
|
/**
|
|
6262
6274
|
* Shows the dialog as a popover element.
|
|
6263
6275
|
*
|