profinansy-ui-lib 2.0.53 → 2.0.55
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/footer/components/AddressBlock/AddressBlock.styled.d.ts +3 -3
- package/dist/components/footer/footer.styled.d.ts +28 -28
- package/dist/components/header/Header.stories.d.ts +0 -2
- package/dist/components/header/components/Burger/Burger.styled.d.ts +1 -1
- package/dist/components/header/components/Favourite/Favourite.styled.d.ts +1 -1
- package/dist/components/header/components/HeaderCenter/HeaderCenter.d.ts +1 -2
- package/dist/components/header/components/HeaderRight/HeaderRight.d.ts +1 -2
- package/dist/components/header/components/PartnerButton/PartnerButton.styled.d.ts +1 -1
- package/dist/components/header/components/Premium/Premium.styled.d.ts +3 -3
- package/dist/components/header/components/UserAvatar/UserAvatar.styled.d.ts +2 -2
- package/dist/components/header/components/header-link-item/header-link-item.d.ts +0 -1
- package/dist/components/header/components/header-link-item/header-link-item.styled.d.ts +8 -14
- package/dist/components/header/components/header-link-item/header-sub-link.d.ts +0 -1
- package/dist/components/header/components/user-dropdown-menu/components/BannerCommon/BannerCommon.styled.d.ts +4 -4
- package/dist/components/header/components/user-dropdown-menu/components/CourseBanner/CourseBanner.styled.d.ts +5 -5
- package/dist/components/header/components/user-dropdown-menu/components/PersonalInformation/PersonalInformation.d.ts +1 -2
- package/dist/components/header/components/user-dropdown-menu/components/PersonalInformation/PersonalInformation.styled.d.ts +6 -12
- package/dist/components/header/components/user-dropdown-menu/user-dropdown-menu.d.ts +1 -2
- package/dist/components/header/components/user-dropdown-menu/user-dropdown-menu.styled.d.ts +10 -15
- package/dist/components/header/header.d.ts +0 -1
- package/dist/components/header/header.styled.d.ts +8 -13
- package/dist/components/header/header.utils.d.ts +5 -4
- package/dist/components/modals/Available/Available.styled.d.ts +3 -3
- package/dist/components/modals/PersonalOffer/PersonalOffer.styled.d.ts +3 -3
- package/dist/components/uikit/Avatar/Avatar.styled.d.ts +2 -2
- package/dist/components/uikit/Button/Button.const.d.ts +6 -6
- package/dist/components/uikit/Button/Button.styled.d.ts +7 -7
- package/dist/components/uikit/Button/Button.typed.d.ts +2 -8
- package/dist/components/uikit/Button/index.d.ts +0 -1
- package/dist/components/uikit/Card/Card.styled.d.ts +7 -7
- package/dist/components/uikit/Checkbox/Checkbox.styled.d.ts +4 -4
- package/dist/components/uikit/CircleButton/CircleBotton.styled.d.ts +2 -3
- package/dist/components/uikit/CircleButton/CircleButton.const.d.ts +0 -36
- package/dist/components/uikit/CircleButton/CircleButton.typed.d.ts +0 -5
- package/dist/components/uikit/CircleButton/index.d.ts +0 -1
- package/dist/components/uikit/Dropdown/Dropdown.styled.d.ts +4 -4
- package/dist/components/uikit/ErrorText/ErrorText.styled.d.ts +1 -1
- package/dist/components/uikit/FieldRow/FieldRow.styled.d.ts +5 -5
- package/dist/components/uikit/HiddenText/HiddenText.styled.d.ts +2 -2
- package/dist/components/uikit/Input/Input.styled.d.ts +5 -5
- package/dist/components/uikit/Loader/Loader.styled.d.ts +2 -2
- package/dist/components/uikit/Modal/Modal.styled.d.ts +7 -12
- package/dist/components/uikit/Modal/Modal.typed.d.ts +0 -2
- package/dist/components/uikit/ModalMobile/ModalMobile.styled.d.ts +5 -5
- package/dist/components/uikit/PasswordInput/PasswordInput.styled.d.ts +4 -4
- package/dist/components/uikit/Popup/Popup.d.ts +1 -1
- package/dist/components/uikit/Popup/Popup.stories.d.ts +1 -1
- package/dist/components/uikit/Popup/Popup.styled.d.ts +8 -17
- package/dist/components/uikit/Popup/Popup.typed.d.ts +0 -1
- package/dist/components/uikit/Radio/Radio.styled.d.ts +4 -4
- package/dist/components/uikit/SideModal/SideModal.styled.d.ts +9 -9
- package/dist/components/uikit/SideModal/components/ModalInSidebar.styled.d.ts +5 -5
- package/dist/components/uikit/Sidebar/Sidebar.styled.d.ts +7 -7
- package/dist/components/uikit/Skeleton/Skeleton.styled.d.ts +1 -1
- package/dist/components/uikit/Spinner/Spinner.styled.d.ts +1 -1
- package/dist/components/uikit/Switch/Switch.styled.d.ts +5 -5
- package/dist/components/uikit/TabListCell/TabListCell.styled.d.ts +2 -2
- package/dist/components/uikit/TextButton/TextButton.const.d.ts +2 -2
- package/dist/components/uikit/TextButton/TextButton.d.ts +1 -1
- package/dist/components/uikit/TextButton/TextButton.stories.d.ts +1 -1
- package/dist/components/uikit/TextButton/TextButton.styled.d.ts +4 -4
- package/dist/components/uikit/TextButton/TextButton.typed.d.ts +2 -5
- package/dist/components/uikit/TextButton/index.d.ts +0 -1
- package/dist/components/uikit/Textarea/Textarea.styled.d.ts +4 -4
- package/dist/components/uikit/Tooltip/Tooltip.styled.d.ts +2 -2
- package/dist/components/uikit/Tooltip/components/DefaultTooltip/DefaultTooltip.styled.d.ts +1 -1
- package/dist/components/uikit/storybook/StoryDescription/StoryDescription.styled.d.ts +1 -1
- package/dist/components/uikit/storybook/StoryExample/StoryExample.styled.d.ts +1 -1
- package/dist/components/uikit/storybook/StoryTitle/StoryTitle.styled.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +101 -114
- package/package.json +1 -1
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import CSS from 'csstype';
|
|
3
3
|
export type Size = 'L' | 'M' | 'S';
|
|
4
|
-
export declare enum Theme {
|
|
5
|
-
Dark = "Dark",
|
|
6
|
-
Light = "Light"
|
|
7
|
-
}
|
|
8
4
|
export interface ICircleButton {
|
|
9
5
|
direction?: 'left' | 'right';
|
|
10
6
|
style?: CSS.Properties;
|
|
11
7
|
className?: string;
|
|
12
|
-
theme?: Theme;
|
|
13
8
|
size?: Size;
|
|
14
9
|
onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
15
10
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const Container: import("styled-components").StyledComponent<"div",
|
|
2
|
-
declare const List: import("styled-components").StyledComponent<"div",
|
|
1
|
+
declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
declare const List: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
3
|
down: number;
|
|
4
4
|
left: number;
|
|
5
5
|
isOpen: boolean;
|
|
6
6
|
withoutAnimation: boolean;
|
|
7
7
|
}, never>;
|
|
8
|
-
declare const StoryList: import("styled-components").StyledComponent<"div",
|
|
9
|
-
declare const StoryItem: import("styled-components").StyledComponent<"div",
|
|
8
|
+
declare const StoryList: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
declare const StoryItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
10
10
|
export { Container, List, StoryList, StoryItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Text: import("styled-components").StyledComponent<"span",
|
|
1
|
+
export declare const Text: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const Container: import("styled-components").StyledComponent<"div",
|
|
1
|
+
declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
2
|
marginBottom: number;
|
|
3
3
|
}, never>;
|
|
4
|
-
declare const Label: import("styled-components").StyledComponent<"label",
|
|
5
|
-
declare const Required: import("styled-components").StyledComponent<"span",
|
|
6
|
-
declare const Hint: import("styled-components").StyledComponent<"div",
|
|
7
|
-
declare const InputContainer: import("styled-components").StyledComponent<"div",
|
|
4
|
+
declare const Label: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
declare const Required: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
declare const Hint: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
declare const InputContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
8
|
export { Container, Label, Required, Hint, InputContainer };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const Container: import("styled-components").StyledComponent<"div",
|
|
1
|
+
declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
2
|
maxWidth: string;
|
|
3
3
|
}, never>;
|
|
4
|
-
declare const CutContainer: import("styled-components").StyledComponent<"div",
|
|
4
|
+
declare const CutContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
5
5
|
maxWidth: string;
|
|
6
6
|
}, never>;
|
|
7
7
|
export { Container, CutContainer };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export declare const Container: import("styled-components").StyledComponent<"div",
|
|
2
|
-
export declare const Content: import("styled-components").StyledComponent<"div",
|
|
3
|
-
export declare const Icon: import("styled-components").StyledComponent<"span",
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const Icon: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
|
4
4
|
iconBorder: boolean;
|
|
5
5
|
} & {
|
|
6
6
|
iconBorder: boolean;
|
|
7
7
|
}, never>;
|
|
8
|
-
export declare const RightText: import("styled-components").StyledComponent<"span",
|
|
8
|
+
export declare const RightText: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
|
9
9
|
iconBorder: boolean;
|
|
10
10
|
} & {
|
|
11
11
|
iconBorder: boolean;
|
|
12
12
|
rightTextColor: string;
|
|
13
13
|
}, never>;
|
|
14
|
-
export declare const Input: import("styled-components").StyledComponent<"input",
|
|
14
|
+
export declare const Input: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
|
|
15
15
|
icon: boolean;
|
|
16
16
|
error: boolean;
|
|
17
17
|
}, never>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SizeLoader } from './Loader.typed';
|
|
2
|
-
declare const Container: import("styled-components").StyledComponent<"div",
|
|
2
|
+
declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
3
|
size: SizeLoader;
|
|
4
4
|
}, never>;
|
|
5
|
-
declare const Dot: import("styled-components").StyledComponent<"div",
|
|
5
|
+
declare const Dot: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6
6
|
color: string;
|
|
7
7
|
size: SizeLoader;
|
|
8
8
|
}, never>;
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
export declare const Wrapper: import("styled-components").StyledComponent<"div",
|
|
1
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
2
|
open: boolean;
|
|
3
3
|
}, never>;
|
|
4
|
-
export declare const Layout: import("styled-components").StyledComponent<"div",
|
|
5
|
-
export declare const Content: import("styled-components").StyledComponent<"div",
|
|
6
|
-
|
|
7
|
-
}, never>;
|
|
8
|
-
export declare const Header: import("styled-components").StyledComponent<"div", any, {
|
|
4
|
+
export declare const Layout: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
export declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
9
7
|
borderHeader: boolean;
|
|
10
8
|
}, never>;
|
|
11
|
-
export declare const Title: import("styled-components").StyledComponent<"h2",
|
|
12
|
-
theme: 'light' | 'dark';
|
|
9
|
+
export declare const Title: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {
|
|
13
10
|
titlePosition: 'left' | 'center';
|
|
14
11
|
}, never>;
|
|
15
|
-
export declare const Subtitle: import("styled-components").StyledComponent<"span",
|
|
16
|
-
|
|
17
|
-
}, never>;
|
|
18
|
-
export declare const CloseButton: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
+
export declare const Subtitle: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
13
|
+
export declare const CloseButton: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -14,8 +14,6 @@ export interface IModal {
|
|
|
14
14
|
title?: string;
|
|
15
15
|
/** Подзаголовок модалки */
|
|
16
16
|
subtitle?: string;
|
|
17
|
-
/** Тема */
|
|
18
|
-
theme?: 'light' | 'dark';
|
|
19
17
|
/** инлайновые стили для контента попапа */
|
|
20
18
|
styleContent?: CSSProperties;
|
|
21
19
|
/** инлайновые стили для фона попапа */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const Wrapper: import("styled-components").StyledComponent<"div",
|
|
1
|
+
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",
|
|
5
|
-
declare const Content: import("styled-components").StyledComponent<"div",
|
|
4
|
+
declare const Layout: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
}, never>;
|
|
8
|
-
declare const Header: import("styled-components").StyledComponent<"div",
|
|
9
|
-
declare const Title: import("styled-components").StyledComponent<"span",
|
|
8
|
+
declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
declare const Title: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
10
10
|
export { Wrapper, Layout, Content, Header, Title };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare const Container: import("styled-components").StyledComponent<"div",
|
|
2
|
-
declare const EyeIconStyle: import("styled-components").StyledComponent<any,
|
|
3
|
-
declare const EyeCloseIconStyle: import("styled-components").StyledComponent<any,
|
|
4
|
-
declare const Wrapper: import("styled-components").StyledComponent<"div",
|
|
1
|
+
declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
declare const EyeIconStyle: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
|
|
3
|
+
declare const EyeCloseIconStyle: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
|
|
4
|
+
declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
export { Container, EyeCloseIconStyle, EyeIconStyle, Wrapper };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IPopup } from './Popup.typed';
|
|
2
|
-
declare const Popup: ({ content, classNameBlock, targetClass, isHover, width,
|
|
2
|
+
declare const Popup: ({ content, classNameBlock, targetClass, isHover, width, targetElement }: IPopup) => JSX.Element;
|
|
3
3
|
export { Popup };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: ({ content, classNameBlock, targetClass, isHover, width,
|
|
3
|
+
component: ({ content, classNameBlock, targetClass, isHover, width, targetElement }: import("./Popup.typed").IPopup) => JSX.Element;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const Popup: () => JSX.Element;
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
import { IPopup } from './Popup.typed';
|
|
2
|
-
declare const Container: import("styled-components").StyledComponent<"div",
|
|
3
|
-
theme: IPopup['theme'];
|
|
2
|
+
declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
3
|
width: IPopup['width'];
|
|
5
4
|
}, never>;
|
|
6
|
-
declare const Content: import("styled-components").StyledComponent<"div",
|
|
7
|
-
|
|
8
|
-
}, never>;
|
|
9
|
-
declare const
|
|
10
|
-
|
|
11
|
-
}, never>;
|
|
12
|
-
declare const
|
|
13
|
-
declare const Link: import("styled-components").StyledComponent<"span", any, {
|
|
14
|
-
theme: IPopup['theme'];
|
|
15
|
-
}, never>;
|
|
16
|
-
declare const Description: import("styled-components").StyledComponent<"p", any, {
|
|
17
|
-
theme: IPopup['theme'];
|
|
18
|
-
}, never>;
|
|
19
|
-
declare const Ifram: import("styled-components").StyledComponent<"iframe", any, {}, never>;
|
|
20
|
-
declare const Target: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
declare const Title: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
declare const PlayBtn: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
declare const Link: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
declare const Description: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
declare const Ifram: import("styled-components").StyledComponent<"iframe", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
+
declare const Target: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
21
12
|
export { Container, Title, Content, PlayBtn, Link, Description, Ifram, Target };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RadioSize } from './Radio.typed';
|
|
2
|
-
declare const Element: import("styled-components").StyledComponent<"span",
|
|
2
|
+
declare const Element: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
|
3
3
|
size: RadioSize;
|
|
4
4
|
}, never>;
|
|
5
|
-
declare const Container: import("styled-components").StyledComponent<"label",
|
|
5
|
+
declare const Container: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {
|
|
6
6
|
align: 'center' | 'flex-start';
|
|
7
7
|
}, never>;
|
|
8
|
-
declare const NativeInput: import("styled-components").StyledComponent<"input",
|
|
8
|
+
declare const NativeInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
|
|
9
9
|
type: "radio";
|
|
10
10
|
}, "type">;
|
|
11
|
-
declare const Text: import("styled-components").StyledComponent<"span",
|
|
11
|
+
declare const Text: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
|
12
12
|
size: RadioSize;
|
|
13
13
|
isTextLeft: boolean;
|
|
14
14
|
color: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const Wrapper: import("styled-components").StyledComponent<"div",
|
|
2
|
+
declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
3
|
isOpen: boolean;
|
|
4
4
|
}, never>;
|
|
5
|
-
declare const Layout: import("styled-components").StyledComponent<"div",
|
|
6
|
-
declare const Sidebar: import("styled-components").StyledComponent<"div",
|
|
7
|
-
declare const Header: import("styled-components").StyledComponent<"div",
|
|
8
|
-
declare const LeftWrapper: import("styled-components").StyledComponent<"div",
|
|
9
|
-
declare const Title: import("styled-components").StyledComponent<"span",
|
|
10
|
-
declare const Content: import("styled-components").StyledComponent<"div",
|
|
11
|
-
declare const ButtonStyle: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button.typed").IButton & import("react").RefAttributes<HTMLButtonElement>>,
|
|
12
|
-
declare const BottomContent: import("styled-components").StyledComponent<"div",
|
|
5
|
+
declare const Layout: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
+
declare const Sidebar: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
+
declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
declare const LeftWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
declare const Title: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
+
declare const ButtonStyle: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Button/Button.typed").IButton & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
12
|
+
declare const BottomContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
13
|
export { Wrapper, Layout, Sidebar, Header, LeftWrapper, Title, Content, ButtonStyle, BottomContent };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const Wrapper: import("styled-components").StyledComponent<"div",
|
|
2
|
-
export declare const Content: import("styled-components").StyledComponent<"div",
|
|
3
|
-
export declare const Header: import("styled-components").StyledComponent<"div",
|
|
4
|
-
export declare const CloseButton: import("styled-components").StyledComponent<"div",
|
|
5
|
-
export declare const Title: import("styled-components").StyledComponent<"h2",
|
|
1
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const CloseButton: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
+
export declare const Title: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
declare const Wrapper: import("styled-components").StyledComponent<"div",
|
|
1
|
+
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",
|
|
5
|
-
declare const Sidebar: import("styled-components").StyledComponent<"div",
|
|
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
6
|
isOpen: boolean;
|
|
7
7
|
}, never>;
|
|
8
|
-
declare const Header: import("styled-components").StyledComponent<"div",
|
|
9
|
-
declare const Title: import("styled-components").StyledComponent<"span",
|
|
10
|
-
declare const Content: import("styled-components").StyledComponent<"div",
|
|
11
|
-
declare const CloseIconStyle: import("styled-components").StyledComponent<any,
|
|
8
|
+
declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
declare const Title: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
11
|
+
declare const CloseIconStyle: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
|
|
12
12
|
export { Wrapper, Layout, Sidebar, Header, Title, Content, CloseIconStyle };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ISkeleton } from './Skeleton.typed';
|
|
2
|
-
declare const Skeleton: import("styled-components").StyledComponent<"div",
|
|
2
|
+
declare const Skeleton: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, ISkeleton, never>;
|
|
3
3
|
export { Skeleton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SizeSpinner } from './Spinner.typed';
|
|
2
|
-
export declare const Container: import("styled-components").StyledComponent<"div",
|
|
2
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
3
|
color: string;
|
|
4
4
|
size: SizeSpinner;
|
|
5
5
|
}, never>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { SwitchSize } from './Switched.typed';
|
|
2
|
-
declare const Hint: import("styled-components").StyledComponent<"div",
|
|
3
|
-
declare const Element: import("styled-components").StyledComponent<"span",
|
|
2
|
+
declare const Hint: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
declare const Element: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
|
4
4
|
size: SwitchSize;
|
|
5
5
|
isTextLeft: boolean;
|
|
6
6
|
}, never>;
|
|
7
|
-
declare const Text: import("styled-components").StyledComponent<"span",
|
|
7
|
+
declare const Text: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {
|
|
8
8
|
size: SwitchSize;
|
|
9
9
|
isTextLeft: boolean;
|
|
10
10
|
color: string;
|
|
11
11
|
}, never>;
|
|
12
|
-
declare const NativeInput: import("styled-components").StyledComponent<"input",
|
|
12
|
+
declare const NativeInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {
|
|
13
13
|
sizeInput: SwitchSize;
|
|
14
14
|
}, never>;
|
|
15
|
-
declare const Container: import("styled-components").StyledComponent<"label",
|
|
15
|
+
declare const Container: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
|
|
16
16
|
export { Hint, Element, Text, NativeInput, Container };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SizeTabCell } from './TabListCell.typed';
|
|
2
|
-
declare const Container: import("styled-components").StyledComponent<"div",
|
|
3
|
-
declare const Tab: import("styled-components").StyledComponent<"button",
|
|
2
|
+
declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
declare const Tab: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
4
4
|
size: SizeTabCell;
|
|
5
5
|
active: boolean;
|
|
6
6
|
}, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITextButton } from './TextButton.typed';
|
|
2
|
-
declare const TextButton: ({ type,
|
|
2
|
+
declare const TextButton: ({ type, mode, text, style, onClick, className, iconLeft, disabled }: ITextButton) => JSX.Element;
|
|
3
3
|
export { TextButton };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: ({ type,
|
|
3
|
+
component: ({ type, mode, text, style, onClick, className, iconLeft, disabled }: import("./TextButton.typed").ITextButton) => JSX.Element;
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const TextButton: () => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const TextButton: import("styled-components").StyledComponent<"button",
|
|
3
|
-
|
|
1
|
+
import { TMode } from './TextButton.typed';
|
|
2
|
+
export declare const TextButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
3
|
+
mode: TMode;
|
|
4
4
|
}, never>;
|
|
5
|
-
export declare const IconLeft: import("styled-components").StyledComponent<"span",
|
|
5
|
+
export declare const IconLeft: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import CSS from 'csstype';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
export
|
|
4
|
-
Blue = "Blue",
|
|
5
|
-
Gray = "Gray"
|
|
6
|
-
}
|
|
3
|
+
export type TMode = 'blue' | 'gray';
|
|
7
4
|
export interface ITextButton {
|
|
8
5
|
type?: 'submit' | 'button';
|
|
9
6
|
className?: string;
|
|
10
7
|
text?: string;
|
|
11
8
|
disabled?: boolean;
|
|
12
|
-
|
|
9
|
+
mode?: TMode;
|
|
13
10
|
iconLeft?: ReactNode;
|
|
14
11
|
style?: CSS.Properties;
|
|
15
12
|
onClick?: () => void;
|
|
@@ -4,8 +4,8 @@ interface IProps {
|
|
|
4
4
|
height: number;
|
|
5
5
|
resize: ITextarea['resize'];
|
|
6
6
|
}
|
|
7
|
-
export declare const Container: import("styled-components").StyledComponent<"div",
|
|
8
|
-
export declare const Content: import("styled-components").StyledComponent<"div",
|
|
9
|
-
export declare const Length: import("styled-components").StyledComponent<"span",
|
|
10
|
-
export declare const Textarea: import("styled-components").StyledComponent<"textarea",
|
|
7
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
export declare const Length: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
export declare const Textarea: import("styled-components").StyledComponent<"textarea", import("styled-components").DefaultTheme, IProps, never>;
|
|
11
11
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const Container: import("styled-components").StyledComponent<"div",
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
2
|
y: number;
|
|
3
3
|
x: number;
|
|
4
4
|
}, never>;
|
|
5
|
-
export declare const PopupContainer: import("styled-components").StyledComponent<"div",
|
|
5
|
+
export declare const PopupContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Container: import("styled-components").StyledComponent<"div",
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Component: import("styled-components").StyledComponent<"p",
|
|
1
|
+
export declare const Component: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const Block: import("styled-components").StyledComponent<"div",
|
|
1
|
+
export declare const Block: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const H2: import("styled-components").StyledComponent<"h2",
|
|
1
|
+
export declare const H2: import("styled-components").StyledComponent<"h2", import("styled-components").DefaultTheme, {}, never>;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import { Checkbox, CheckboxForm } from './components/uikit/Checkbox';
|
|
|
6
6
|
import { Radio } from './components/uikit/Radio';
|
|
7
7
|
import { Portal } from './components/uikit/Portal';
|
|
8
8
|
import { Loader } from './components/uikit/Loader';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { Button } from './components/uikit/Button';
|
|
10
|
+
import { TextButton } from './components/uikit/TextButton';
|
|
11
11
|
import { RegexPattern, Input } from './components/uikit/Input';
|
|
12
12
|
import { ErrorText } from './components/uikit/ErrorText';
|
|
13
13
|
import { Avatar } from './components/uikit/Avatar';
|
|
@@ -29,4 +29,4 @@ import { Skeleton } from './components/uikit/Skeleton';
|
|
|
29
29
|
import { TabListCell } from './components/uikit/TabListCell';
|
|
30
30
|
import { palette } from './theme/theme.const';
|
|
31
31
|
import { ThemeProvider, useMode } from './theme/ThemeProvider';
|
|
32
|
-
export { Footer, Header, CheckboxForm, Checkbox, Radio, Portal, Loader, Button,
|
|
32
|
+
export { Footer, Header, CheckboxForm, Checkbox, Radio, Portal, Loader, Button, TextButton, RegexPattern, Input, ErrorText, Avatar, Tooltip, DefaultTooltip, Modal, SideModal, CircleButton, Sidebar, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, FieldRow, Card, Switch, Spinner, Skeleton, TabListCell, palette, ThemeProvider, useMode, useHidingChat, useHidingFromApp };
|