@lumx/vue 4.24.1-alpha.1 → 4.24.1-next.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.
@@ -11,12 +11,7 @@ export type DialogProps = Pick<BaseDialogProps, 'forceFooterDivider' | 'forceHea
11
11
  size?: DialogSizes;
12
12
  /** Z-axis position. */
13
13
  zIndex?: number;
14
- /**
15
- * Additional props for the dialog container element.
16
- * Set `'aria-modal': false` to make the dialog non-modal: the page stays usable (no focus trap, no overlay,
17
- * no close on click away, rendered in place instead of in a portal) and escape only closes the dialog when the
18
- * focus is inside.
19
- */
14
+ /** Additional props for the dialog container element. */
20
15
  dialogProps?: GenericProps;
21
16
  /** Reference to the parent element that triggered modal opening (gets focus back on close). */
22
17
  parentElement?: HTMLElement;
@@ -30,7 +25,7 @@ export type DialogProps = Pick<BaseDialogProps, 'forceFooterDivider' | 'forceHea
30
25
  preventCloseOnEscape?: boolean;
31
26
  /** Whether to keep the dialog open on clickaway. */
32
27
  preventCloseOnClick?: boolean;
33
- /** Whether to disable body scroll when the dialog is open (ignored on a non-modal dialog: the page stays usable). */
28
+ /** Whether to disable body scroll when the dialog is open. */
34
29
  disableBodyScroll?: boolean;
35
30
  };
36
31
  export declare const emitSchema: {
@@ -49,12 +44,7 @@ declare const Dialog: import('vue').DefineSetupFnComponent<DialogProps, {
49
44
  size?: DialogSizes;
50
45
  /** Z-axis position. */
51
46
  zIndex?: number;
52
- /**
53
- * Additional props for the dialog container element.
54
- * Set `'aria-modal': false` to make the dialog non-modal: the page stays usable (no focus trap, no overlay,
55
- * no close on click away, rendered in place instead of in a portal) and escape only closes the dialog when the
56
- * focus is inside.
57
- */
47
+ /** Additional props for the dialog container element. */
58
48
  dialogProps?: GenericProps;
59
49
  /** Reference to the parent element that triggered modal opening (gets focus back on close). */
60
50
  parentElement?: HTMLElement;
@@ -68,7 +58,7 @@ declare const Dialog: import('vue').DefineSetupFnComponent<DialogProps, {
68
58
  preventCloseOnEscape?: boolean;
69
59
  /** Whether to keep the dialog open on clickaway. */
70
60
  preventCloseOnClick?: boolean;
71
- /** Whether to disable body scroll when the dialog is open (ignored on a non-modal dialog: the page stays usable). */
61
+ /** Whether to disable body scroll when the dialog is open. */
72
62
  disableBodyScroll?: boolean;
73
63
  } & {
74
64
  onClose?: (() => any) | undefined;
@@ -88,17 +88,6 @@ export declare const PreventCloseOnClick: {
88
88
  children: string;
89
89
  };
90
90
  };
91
- export declare const NonModal: {
92
- args: {
93
- dialogProps: {
94
- 'aria-modal': boolean;
95
- };
96
- header: string;
97
- footer: string;
98
- children: string;
99
- };
100
- play(): Promise<void>;
101
- };
102
91
  /**
103
92
  * More complex header/footer using Vue named slots
104
93
  */