@profitliga/ui 1.2.91 → 1.2.93

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,6 +11,8 @@ export interface IDialogContentProps extends DialogContentProps {
11
11
  closeButton?: IDialogCloseProps;
12
12
  width?: number;
13
13
  class?: ClassValue;
14
+ headerClass?: ClassValue;
15
+ wrapperClass?: ClassValue;
14
16
  }
15
17
  declare function __VLS_template(): {
16
18
  attrs: Partial<{}>;
@@ -43,6 +45,8 @@ declare const __VLS_component: DefineComponent<IDialogContentProps, {}, {}, {},
43
45
  width: number;
44
46
  disableOutsidePointerEvents: boolean;
45
47
  closeButton: IDialogCloseProps;
48
+ headerClass: string | false | Record<string, any> | ClassValue[] | null;
49
+ wrapperClass: string | false | Record<string, any> | ClassValue[] | null;
46
50
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
47
51
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
48
52
  export default _default;
@@ -11,7 +11,11 @@ type __VLS_Props = {
11
11
  alt?: string;
12
12
  size?: 'small' | 'medium' | 'large' | 'full';
13
13
  fullScreen?: boolean;
14
- fullScreenZ?: number;
14
+ /**
15
+ * z-index модалки просмотра. `'auto'` — выдать слой поверх всех
16
+ * уже открытых overlay.
17
+ */
18
+ fullScreenZ?: number | 'auto';
15
19
  viewInfo?: boolean;
16
20
  hideDelete?: boolean;
17
21
  };
@@ -1,17 +1,17 @@
1
1
  import { Ref } from 'vue';
2
- declare function open(src: string, alt?: string, zIndex?: number): void;
2
+ declare function open(src: string, alt?: string, zIndex?: number | 'auto'): void;
3
3
  declare function close(): void;
4
4
  export declare function useImageModal(): {
5
5
  state: Readonly< Ref<{
6
6
  readonly isOpen: boolean;
7
7
  readonly src: string | null;
8
8
  readonly alt: string | null;
9
- readonly zIndex?: number | undefined;
9
+ readonly zIndex?: number | "auto" | undefined;
10
10
  }, {
11
11
  readonly isOpen: boolean;
12
12
  readonly src: string | null;
13
13
  readonly alt: string | null;
14
- readonly zIndex?: number | undefined;
14
+ readonly zIndex?: number | "auto" | undefined;
15
15
  }>>;
16
16
  open: typeof open;
17
17
  close: typeof close;
@@ -39,3 +39,9 @@ export declare const AlertDialogOverDrawer: Story;
39
39
  * видны поверх любого открытого overlay.
40
40
  */
41
41
  export declare const ToastOverEverything: Story;
42
+ /**
43
+ * Просмотр картинки во весь экран, открытый из `Drawer`.
44
+ * Регресс-кейс: `Image` передавал в модалку `fullScreenZ = 1` как явный
45
+ * z-index, из-за чего просмотр уезжал под Drawer вместе с его затемнением.
46
+ */
47
+ export declare const ImageModalInsideDrawer: Story;