profinansy-ui-lib 2.0.19 → 2.0.21
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/assets/arrowLeft-icon.d.ts +3 -0
- package/dist/components/uikit/CircleButton/CircleBotton.styled.d.ts +7 -0
- package/dist/components/uikit/CircleButton/CircleButton.const.d.ts +50 -0
- package/dist/components/uikit/CircleButton/CircleButton.d.ts +3 -0
- package/dist/components/uikit/CircleButton/CircleButton.stories.d.ts +7 -0
- package/dist/components/uikit/CircleButton/CircleButton.typed.d.ts +19 -0
- package/dist/components/uikit/CircleButton/index.d.ts +2 -0
- package/dist/components/uikit/SideModal/SideModal.d.ts +3 -0
- package/dist/components/uikit/SideModal/SideModal.stories.d.ts +6 -0
- package/dist/components/uikit/SideModal/SideModal.styled.d.ts +14 -0
- package/dist/components/uikit/SideModal/SideModal.typed.d.ts +13 -0
- package/dist/components/uikit/SideModal/index.d.ts +1 -0
- package/dist/components/uikit/Sidebar/Sidebar.d.ts +3 -0
- package/dist/components/uikit/Sidebar/Sidebar.stories.d.ts +6 -0
- package/dist/components/uikit/Sidebar/Sidebar.styled.d.ts +13 -0
- package/dist/components/uikit/Sidebar/Sidebar.typed.d.ts +8 -0
- package/dist/components/uikit/Sidebar/index.d.ts +1 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +323 -245
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Button: import("styled-components").StyledComponent<"button", any, {
|
|
3
|
+
theme: string;
|
|
4
|
+
size: string;
|
|
5
|
+
}, never>;
|
|
6
|
+
declare const ChevronStyle: import("styled-components").StyledComponent<import("react").FC<import("../../../common.types").IconsInterface>, any, {}, never>;
|
|
7
|
+
export { Button, ChevronStyle };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const CircleButtonSize: {
|
|
2
|
+
large: {
|
|
3
|
+
size: string;
|
|
4
|
+
sizeSvg: string;
|
|
5
|
+
};
|
|
6
|
+
medium: {
|
|
7
|
+
size: string;
|
|
8
|
+
sizeSvg: string;
|
|
9
|
+
};
|
|
10
|
+
small: {
|
|
11
|
+
size: string;
|
|
12
|
+
sizeSvg: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const CircleButtonTheme: {
|
|
16
|
+
Dark: {
|
|
17
|
+
default: {
|
|
18
|
+
background: string;
|
|
19
|
+
border: string;
|
|
20
|
+
fill: string;
|
|
21
|
+
};
|
|
22
|
+
hover: {
|
|
23
|
+
background: string;
|
|
24
|
+
border: string;
|
|
25
|
+
fill: string;
|
|
26
|
+
};
|
|
27
|
+
active: {
|
|
28
|
+
background: string;
|
|
29
|
+
border: string;
|
|
30
|
+
fill: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
Light: {
|
|
34
|
+
default: {
|
|
35
|
+
background: string;
|
|
36
|
+
border: string;
|
|
37
|
+
fill: string;
|
|
38
|
+
};
|
|
39
|
+
hover: {
|
|
40
|
+
background: string;
|
|
41
|
+
border: string;
|
|
42
|
+
fill: string;
|
|
43
|
+
};
|
|
44
|
+
active: {
|
|
45
|
+
background: string;
|
|
46
|
+
border: string;
|
|
47
|
+
fill: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import CSS from 'csstype';
|
|
3
|
+
export declare enum Size {
|
|
4
|
+
L = "large",
|
|
5
|
+
M = "medium",
|
|
6
|
+
S = "small"
|
|
7
|
+
}
|
|
8
|
+
export declare enum Theme {
|
|
9
|
+
Dark = "Dark",
|
|
10
|
+
Light = "Light"
|
|
11
|
+
}
|
|
12
|
+
export interface ICircleButton {
|
|
13
|
+
direction?: 'left' | 'right';
|
|
14
|
+
style?: CSS.Properties;
|
|
15
|
+
className?: string;
|
|
16
|
+
theme?: Theme;
|
|
17
|
+
size?: Size;
|
|
18
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Wrapper: import("styled-components").StyledComponent<"div", any, {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
}, never>;
|
|
5
|
+
declare const Layout: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
declare const Sidebar: import("styled-components").StyledComponent<"div", any, {
|
|
7
|
+
width: string;
|
|
8
|
+
}, never>;
|
|
9
|
+
declare const Header: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
+
declare const LeftWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
+
declare const Title: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
12
|
+
declare const Content: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
|
+
declare const ButtonStyle: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button.typed").IButton & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
|
|
14
|
+
export { Wrapper, Layout, Sidebar, Header, LeftWrapper, Title, Content, ButtonStyle };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
|
+
export interface ISideModal {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
title: string;
|
|
5
|
+
classNameHeader?: string;
|
|
6
|
+
classNameContent?: string;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/**Контент справа от заголовка*/
|
|
9
|
+
rightContent?: ReactElement;
|
|
10
|
+
onClose?: () => void;
|
|
11
|
+
onBack?: () => void;
|
|
12
|
+
width?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SideModal } from './SideModal';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const Wrapper: import("styled-components").StyledComponent<"div", any, {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
}, never>;
|
|
5
|
+
declare const Layout: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
declare const Sidebar: import("styled-components").StyledComponent<"div", any, {
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
}, never>;
|
|
9
|
+
declare const Header: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
+
declare const Title: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
11
|
+
declare const Content: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
+
declare const CloseIconStyle: import("styled-components").StyledComponent<import("react").FC<import("../../../common.types").IconsInterface>, any, {}, never>;
|
|
13
|
+
export { Wrapper, Layout, Sidebar, Header, Title, Content, CloseIconStyle };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Sidebar } from './Sidebar';
|
package/dist/index.d.ts
CHANGED
|
@@ -11,4 +11,7 @@ import { ErrorText } from './components/uikit/ErrorText';
|
|
|
11
11
|
import { Avatar } from './components/uikit/Avatar';
|
|
12
12
|
import { Tooltip, DefaultTooltip } from './components/uikit/Tooltip';
|
|
13
13
|
import { Modal } from './components/uikit/Modal';
|
|
14
|
-
|
|
14
|
+
import { SideModal } from './components/uikit/SideModal';
|
|
15
|
+
import { CircleButton } from './components/uikit/CircleButton';
|
|
16
|
+
import { Sidebar } from './components/uikit/Sidebar';
|
|
17
|
+
export { Footer, Header, CheckboxForm, CheckboxSize, Checkbox, Radio, RadioSize, Portal, Loader, SizeLoader, Button, ButtonSize, ButtonTheme, TextButton, TextButtonTheme, RegexPattern, Input, ErrorText, Avatar, Tooltip, DefaultTooltip, Modal, SideModal, CircleButton, Sidebar };
|