@t007/dialog 0.0.33 → 0.0.34
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/dist/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ interface DialogOptions {
|
|
|
11
11
|
/** Browser behavior for handling dialog closure. @default "any". */
|
|
12
12
|
closedBy?: HTMLDialogElement["closedBy"];
|
|
13
13
|
/** Render dialog inside a specific root element instead of document body. */
|
|
14
|
-
rootElement?: HTMLElement;
|
|
14
|
+
rootElement?: HTMLElement | null;
|
|
15
15
|
/** Whether to restrict interactions to `rootElement` if provided. @default `true`. */
|
|
16
16
|
scoped?: boolean;
|
|
17
17
|
}
|
|
@@ -59,11 +59,11 @@ interface Dialog {
|
|
|
59
59
|
declare global {
|
|
60
60
|
interface T007Namespace {
|
|
61
61
|
/** Browser alert helper. */
|
|
62
|
-
alert: typeof
|
|
62
|
+
alert: typeof alert;
|
|
63
63
|
/** Browser confirm helper. */
|
|
64
|
-
confirm: typeof
|
|
64
|
+
confirm: typeof confirm;
|
|
65
65
|
/** Browser prompt helper. */
|
|
66
|
-
prompt: typeof
|
|
66
|
+
prompt: typeof prompt;
|
|
67
67
|
/** Dialog management object. */
|
|
68
68
|
dialog: Dialog;
|
|
69
69
|
}
|