profinansy-ui-lib 3.1.14 → 3.1.16
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/Alert/index.d.ts +1 -0
- package/dist/components/uikit/Modal/Modal.styled.d.ts +0 -4
- package/dist/components/uikit/Modal/Modal.typed.d.ts +2 -0
- package/dist/components/uikit/SideModal/SideModal.stories.d.ts +7 -0
- package/dist/components/uikit/SideModal/SideModal.styled.d.ts +12 -10
- package/dist/components/uikit/SideModal/SideModal.typed.d.ts +11 -8
- package/dist/index.d.ts +2 -2
- package/dist/index.js +131 -227
- package/dist/theme/theme.const.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/uikit/SideModal/components/ModalInSidebar.d.ts +0 -9
- package/dist/components/uikit/SideModal/components/ModalInSidebar.styled.d.ts +0 -5
- package/dist/components/uikit/Sidebar/Sidebar.d.ts +0 -3
- package/dist/components/uikit/Sidebar/Sidebar.stories.d.ts +0 -6
- package/dist/components/uikit/Sidebar/Sidebar.styled.d.ts +0 -13
- package/dist/components/uikit/Sidebar/Sidebar.typed.d.ts +0 -8
- package/dist/components/uikit/Sidebar/index.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Alert } from './Alert';
|
|
@@ -2,10 +2,6 @@ export declare const Wrapper: import("styled-components").StyledComponent<"div",
|
|
|
2
2
|
open: boolean;
|
|
3
3
|
}, never>;
|
|
4
4
|
export declare const Layout: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const ContentWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6
|
-
open: boolean;
|
|
7
|
-
showCloseButton: boolean;
|
|
8
|
-
}, never>;
|
|
9
5
|
export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
10
6
|
open: boolean;
|
|
11
7
|
showCloseButton: boolean;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
3
|
component: (props: import("./SideModal.typed").ISideModal) => JSX.Element;
|
|
4
|
+
tags: string[];
|
|
5
|
+
parameters: {
|
|
6
|
+
design: {
|
|
7
|
+
type: string;
|
|
8
|
+
url: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
4
11
|
};
|
|
5
12
|
export default _default;
|
|
6
13
|
export declare const SideModal: () => JSX.Element;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
1
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
2
|
isOpen: boolean;
|
|
3
3
|
}, never>;
|
|
4
|
-
declare const Layout: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
declare const Sidebar: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6
|
-
vh: number;
|
|
4
|
+
export declare const Layout: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const Sidebar: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7
6
|
headerHeight: number;
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
}, never>;
|
|
9
|
+
export declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
export declare const LeftWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
+
export declare const Title: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
+
export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
13
|
+
bottomHeight: number;
|
|
8
14
|
}, never>;
|
|
9
|
-
declare const
|
|
10
|
-
declare const
|
|
11
|
-
declare const Title: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
-
declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
-
declare const BottomContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
14
|
-
export { Wrapper, Layout, Sidebar, Header, LeftWrapper, Title, Content, BottomContent };
|
|
15
|
+
export declare const BottomContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
+
export declare const CloseButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { IAlert } from '../Alert/Alert.typed';
|
|
2
3
|
export interface ISideModal {
|
|
4
|
+
/** Состояние попапа. */
|
|
3
5
|
isOpen: boolean;
|
|
6
|
+
/** Заголовок попапа */
|
|
4
7
|
title: string;
|
|
5
|
-
|
|
8
|
+
/** Класс для попапа */
|
|
6
9
|
classNameContent?: string;
|
|
10
|
+
/** Класс для хэдера попапа */
|
|
11
|
+
classNameHeader?: string;
|
|
12
|
+
/** Контент попапа. */
|
|
7
13
|
children: ReactNode;
|
|
8
14
|
/**Контент справа от заголовка*/
|
|
9
15
|
rightContent?: ReactElement;
|
|
16
|
+
/**Контент, закрепленный снизу попапа*/
|
|
10
17
|
bottomContent?: ReactElement;
|
|
18
|
+
/** Действие при закрытии попапа. */
|
|
11
19
|
onClose?: () => void;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
onClose: () => void;
|
|
15
|
-
isOpen: boolean;
|
|
16
|
-
content: ReactElement;
|
|
17
|
-
title: string;
|
|
18
|
-
};
|
|
20
|
+
/** Пропсы для попапа Alert. */
|
|
21
|
+
alert?: IAlert;
|
|
19
22
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { LayoutSideMenu } from './components/layouts/LayoutSideMenu';
|
|
|
6
6
|
import { useHidingFromApp } from './hooks/useHiddingFromApp';
|
|
7
7
|
import { useHidingChat } from './hooks/useHidingChat';
|
|
8
8
|
import { useGetHeaderHeight, useHeaderHeightListener } from './hooks/useHeaderHeight';
|
|
9
|
+
import { Alert } from './components/uikit/Alert';
|
|
9
10
|
import { Checkbox } from './components/uikit/Checkbox';
|
|
10
11
|
import { Radio } from './components/uikit/Radio';
|
|
11
12
|
import { Portal } from './components/uikit/Portal';
|
|
@@ -20,7 +21,6 @@ import { Modal } from './components/uikit/Modal';
|
|
|
20
21
|
import { SideModal } from './components/uikit/SideModal';
|
|
21
22
|
import { CircleButton } from './components/uikit/CircleButton';
|
|
22
23
|
import { ArrowButton } from './components/uikit/ArrowButton';
|
|
23
|
-
import { Sidebar } from './components/uikit/Sidebar';
|
|
24
24
|
import { HiddenText } from './components/uikit/HiddenText';
|
|
25
25
|
import { PasswordInput } from './components/uikit/PasswordInput';
|
|
26
26
|
import { Dropdown } from './components/uikit/Dropdown';
|
|
@@ -40,4 +40,4 @@ import { ThemeProvider, useMode } from './theme/ThemeProvider';
|
|
|
40
40
|
import eventBus from './utils/eventBus';
|
|
41
41
|
import { BusEvent } from './utils/eventBus/events';
|
|
42
42
|
import { INSTRUMENTS_TYPES } from './hooks/useSearchInstruments';
|
|
43
|
-
export { INSTRUMENTS_TYPES, eventBus, BusEvent, Footer, Header, OldHeader, SideMenu, Checkbox, Radio, Portal, Loader, Button, TextButton, RegexPattern, Input, Textarea, ErrorText, Avatar, Tooltip, DefaultTooltip, Modal, SideModal, CircleButton, ArrowButton,
|
|
43
|
+
export { INSTRUMENTS_TYPES, eventBus, BusEvent, Footer, Header, OldHeader, SideMenu, Alert, Checkbox, Radio, Portal, Loader, Button, TextButton, RegexPattern, Input, Textarea, ErrorText, Avatar, Tooltip, DefaultTooltip, Modal, SideModal, CircleButton, ArrowButton, Tabs, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, IPopup, FieldRow, Card, Switch, Spinner, Skeleton, TabListCell, palette, ThemeProvider, useMode, useHidingChat, useHidingFromApp, useGetHeaderHeight, useHeaderHeightListener, LayoutSideMenu };
|