profinansy-ui-lib 3.5.92 → 3.5.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.
- package/dist/components/uikit/Input/Input.stories.d.ts +0 -2
- package/dist/components/uikit/Input/Input.typed.d.ts +0 -1
- package/dist/components/uikit/Modal/Modal.d.ts +1 -0
- package/dist/components/uikit/Modal/Modal.styled.d.ts +2 -2
- package/dist/components/uikit/Modal/useOverlayModal.d.ts +4 -0
- package/dist/components/uikit/SideModal/SideModal.typed.d.ts +0 -2
- package/dist/hooks/useTransitionModal.d.ts +1 -2
- package/dist/index.js +15 -15
- package/package.json +1 -1
|
@@ -2,8 +2,6 @@ import React from 'react';
|
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: React.ForwardRefExoticComponent<import("./Input.typed").IInput & React.RefAttributes<HTMLInputElement>>;
|
|
5
|
-
tags: string[];
|
|
6
5
|
};
|
|
7
6
|
export default _default;
|
|
8
7
|
export declare const Input: () => JSX.Element;
|
|
9
|
-
export declare const NegativeInput: () => JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
|
-
open: boolean;
|
|
3
|
+
$open: boolean;
|
|
4
4
|
isOverflowAuto: boolean;
|
|
5
5
|
}, never>;
|
|
6
6
|
export declare const Layout: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
7
|
export declare const ContentWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
8
|
export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
9
|
-
open: boolean;
|
|
9
|
+
$open: boolean;
|
|
10
10
|
showCloseButton: boolean;
|
|
11
11
|
isOverflowAuto: boolean;
|
|
12
12
|
maxWidth: string;
|
|
@@ -32,8 +32,6 @@ export interface ISideModal {
|
|
|
32
32
|
modal?: IModal;
|
|
33
33
|
/** Пропсы для попапа Alert. */
|
|
34
34
|
alert?: IAlert;
|
|
35
|
-
/** Использовать ли внутренний механизм закрытия. */
|
|
36
|
-
isCloseInside?: boolean;
|
|
37
35
|
/** Отключить анимацию выезда из-за экрана при открытии. */
|
|
38
36
|
withoutAnimation?: boolean;
|
|
39
37
|
}
|
|
@@ -2,12 +2,11 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
declare function useControlsForModal(handleClose: () => void): void;
|
|
3
3
|
interface ITransition {
|
|
4
4
|
isOpen: boolean;
|
|
5
|
-
isCloseInside?: boolean;
|
|
6
5
|
children: ReactNode;
|
|
7
6
|
onClose: () => void;
|
|
8
7
|
onBeforeClose?: () => void;
|
|
9
8
|
}
|
|
10
|
-
declare function useTransitionModal({ isOpen,
|
|
9
|
+
declare function useTransitionModal({ isOpen, onClose, onBeforeClose, children }: ITransition): {
|
|
11
10
|
animation: boolean;
|
|
12
11
|
content: any;
|
|
13
12
|
showModal: boolean;
|