sit-onyx 1.0.0-beta.264 → 1.0.0-beta.265

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.
@@ -30,6 +30,7 @@ declare const __VLS_component: import('vue').DefineComponent<OnyxDialogProps, {}
30
30
  alert: boolean;
31
31
  open: boolean;
32
32
  modal: boolean;
33
+ disableClosingOnBackdropClick: boolean;
33
34
  alignment: import('./types.js', { with: { "resolution-mode": "import" } }).DialogAlignment;
34
35
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
35
36
  dialogRef: HTMLDialogElement;
@@ -14,6 +14,10 @@ export type OnyxDialogProps = DensityProp & {
14
14
  * Also the `close` event is emitted when pressing "Escape".
15
15
  */
16
16
  modal?: boolean;
17
+ /**
18
+ * Whether to prevent closing the dialog when clicking outside of it.
19
+ */
20
+ disableClosingOnBackdropClick?: boolean;
17
21
  /**
18
22
  * Whether the dialog is an [alert dialog](https://www.w3.org/WAI/ARIA/apg/patterns/alertdialog/).
19
23
  * Should be set for better accessibility / screen reader support when the dialog
@@ -46,6 +46,7 @@ declare function __VLS_template(): {
46
46
  readonly density?: import('../../composables/density.js', { with: { "resolution-mode": "import" } }).Density | undefined;
47
47
  readonly alert?: boolean | undefined;
48
48
  readonly open?: boolean | undefined;
49
+ readonly disableClosingOnBackdropClick?: boolean | undefined;
49
50
  readonly alignment?: Exclude<import('../OnyxDialog/types.ts', { with: { "resolution-mode": "import" } }).DialogAlignment, "center"> | undefined;
50
51
  readonly modal?: boolean | undefined;
51
52
  readonly onClose?: (() => any) | undefined;
@@ -129,6 +130,7 @@ declare const __VLS_component: import('vue').DefineComponent<OnyxSidebarProps, {
129
130
  readonly density?: import('../../composables/density.js', { with: { "resolution-mode": "import" } }).Density | undefined;
130
131
  readonly alert?: boolean | undefined;
131
132
  readonly open?: boolean | undefined;
133
+ readonly disableClosingOnBackdropClick?: boolean | undefined;
132
134
  readonly alignment?: Exclude<import('../OnyxDialog/types.ts', { with: { "resolution-mode": "import" } }).DialogAlignment, "center"> | undefined;
133
135
  readonly modal?: boolean | undefined;
134
136
  readonly onClose?: (() => any) | undefined;