profinansy-ui-lib 2.0.39 → 2.0.40
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/Icons.stories.d.ts +5 -0
- package/dist/assets/images/Available.d.ts +1 -1
- package/dist/assets/images/PersonalOfferBunner.d.ts +1 -1
- package/dist/common.types.d.ts +46 -46
- package/dist/components/footer/Footer.stories.d.ts +11 -11
- package/dist/components/footer/components/AddressBlock/AddressBlock.d.ts +5 -5
- package/dist/components/footer/components/AddressBlock/AddressBlock.styled.d.ts +3 -3
- package/dist/components/footer/constants.d.ts +16 -16
- package/dist/components/footer/footer.d.ts +11 -11
- package/dist/components/footer/footer.styled.d.ts +30 -30
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/header/Header.stories.d.ts +21 -21
- package/dist/components/header/components/Burger/Burger.d.ts +6 -6
- package/dist/components/header/components/Burger/Burger.styled.d.ts +3 -3
- package/dist/components/header/components/Favourite/Favlourite.d.ts +8 -8
- package/dist/components/header/components/Favourite/Favourite.styled.d.ts +3 -3
- package/dist/components/header/components/HeaderCenter/HeaderCenter.d.ts +18 -18
- package/dist/components/header/components/HeaderRight/HeaderRight.d.ts +15 -15
- package/dist/components/header/components/PartnerButton/PartnerButton.d.ts +8 -8
- package/dist/components/header/components/PartnerButton/PartnerButton.styled.d.ts +1 -1
- package/dist/components/header/components/Premium/Premium.d.ts +9 -9
- package/dist/components/header/components/Premium/Premium.styled.d.ts +6 -6
- package/dist/components/header/components/UserAvatar/UserAvatar.d.ts +6 -6
- 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 +11 -11
- package/dist/components/header/components/header-link-item/header-link-item.styled.d.ts +28 -28
- package/dist/components/header/components/header-link-item/header-sub-link.d.ts +18 -18
- package/dist/components/header/components/user-dropdown-menu/components/BannerCommon/BannerCommon.d.ts +5 -5
- 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.d.ts +2 -2
- 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 +9 -9
- package/dist/components/header/components/user-dropdown-menu/components/PersonalInformation/PersonalInformation.styled.d.ts +14 -14
- package/dist/components/header/components/user-dropdown-menu/constants.d.ts +10 -10
- package/dist/components/header/components/user-dropdown-menu/user-dropdown-menu.d.ts +14 -14
- package/dist/components/header/components/user-dropdown-menu/user-dropdown-menu.styled.d.ts +13 -13
- package/dist/components/header/contstants/authLinks.d.ts +44 -44
- package/dist/components/header/contstants/clubLinks.d.ts +19 -19
- package/dist/components/header/contstants/guestLinks.d.ts +2 -2
- package/dist/components/header/contstants/leaderBoardLinks.d.ts +8 -8
- package/dist/components/header/contstants/links.d.ts +2 -2
- package/dist/components/header/contstants/paidLinks.d.ts +40 -40
- package/dist/components/header/header.d.ts +14 -14
- package/dist/components/header/header.styled.d.ts +15 -15
- package/dist/components/header/header.utils.d.ts +8 -8
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/header/useHeader.d.ts +10 -10
- package/dist/components/modals/Available/Available.d.ts +6 -6
- package/dist/components/modals/Available/Available.styled.d.ts +3 -3
- package/dist/components/modals/PersonalOffer/PersonalOffer.d.ts +5 -5
- package/dist/components/modals/PersonalOffer/PersonalOffer.styled.d.ts +3 -3
- package/dist/components/uikit/Avatar/Avatar.d.ts +3 -3
- package/dist/components/uikit/Avatar/Avatar.stories.d.ts +6 -6
- package/dist/components/uikit/Avatar/Avatar.styled.d.ts +6 -6
- package/dist/components/uikit/Avatar/Avatar.typed.d.ts +4 -4
- package/dist/components/uikit/Avatar/index.d.ts +1 -1
- package/dist/components/uikit/Button/Button.const.d.ts +135 -135
- package/dist/components/uikit/Button/Button.d.ts +4 -4
- package/dist/components/uikit/Button/Button.stories.d.ts +7 -7
- package/dist/components/uikit/Button/Button.styled.d.ts +22 -22
- package/dist/components/uikit/Button/Button.typed.d.ts +28 -28
- package/dist/components/uikit/Button/index.d.ts +2 -2
- package/dist/components/uikit/Card/Card.d.ts +4 -4
- package/dist/components/uikit/Card/Card.stories.d.ts +7 -7
- package/dist/components/uikit/Card/Card.styled.d.ts +12 -12
- package/dist/components/uikit/Card/Card.typed.d.ts +20 -20
- package/dist/components/uikit/Card/index.d.ts +1 -1
- package/dist/components/uikit/Checkbox/Checkbox.d.ts +3 -3
- package/dist/components/uikit/Checkbox/Checkbox.stories.d.ts +6 -6
- package/dist/components/uikit/Checkbox/Checkbox.styled.d.ts +18 -18
- package/dist/components/uikit/Checkbox/Checkbox.typed.d.ts +21 -21
- package/dist/components/uikit/Checkbox/index.d.ts +2 -2
- package/dist/components/uikit/CircleButton/CircleBotton.styled.d.ts +7 -7
- package/dist/components/uikit/CircleButton/CircleButton.const.d.ts +47 -47
- package/dist/components/uikit/CircleButton/CircleButton.d.ts +3 -3
- package/dist/components/uikit/CircleButton/CircleButton.stories.d.ts +7 -7
- package/dist/components/uikit/CircleButton/CircleButton.typed.d.ts +15 -15
- package/dist/components/uikit/CircleButton/index.d.ts +2 -2
- package/dist/components/uikit/Dropdown/Dropdown.d.ts +4 -4
- package/dist/components/uikit/Dropdown/Dropdown.stories.d.ts +7 -7
- package/dist/components/uikit/Dropdown/Dropdown.styled.d.ts +10 -10
- package/dist/components/uikit/Dropdown/Dropdown.typed.d.ts +13 -13
- package/dist/components/uikit/Dropdown/index.d.ts +1 -1
- package/dist/components/uikit/ErrorText/ErrorText.d.ts +3 -3
- package/dist/components/uikit/ErrorText/ErrorText.stories.d.ts +6 -6
- package/dist/components/uikit/ErrorText/ErrorText.styled.d.ts +1 -1
- package/dist/components/uikit/ErrorText/ErrorText.typed.d.ts +5 -5
- package/dist/components/uikit/ErrorText/index.d.ts +1 -1
- package/dist/components/uikit/FieldRow/FieldRow.d.ts +3 -3
- package/dist/components/uikit/FieldRow/FieldRow.stories.d.ts +6 -6
- package/dist/components/uikit/FieldRow/FieldRow.styled.d.ts +8 -8
- package/dist/components/uikit/FieldRow/FieldRow.typed.d.ts +16 -16
- package/dist/components/uikit/FieldRow/index.d.ts +1 -1
- package/dist/components/uikit/HiddenText/HiddenText.d.ts +3 -3
- package/dist/components/uikit/HiddenText/HiddenText.stories.d.ts +6 -6
- package/dist/components/uikit/HiddenText/HiddenText.styled.d.ts +7 -7
- package/dist/components/uikit/HiddenText/HiddenText.typed.d.ts +7 -7
- package/dist/components/uikit/HiddenText/index.d.ts +1 -1
- package/dist/components/uikit/Input/Input.const.d.ts +4 -4
- package/dist/components/uikit/Input/Input.d.ts +4 -4
- package/dist/components/uikit/Input/Input.stories.d.ts +7 -7
- package/dist/components/uikit/Input/Input.styled.d.ts +17 -17
- package/dist/components/uikit/Input/Input.typed.d.ts +26 -26
- package/dist/components/uikit/Input/Input.utils.d.ts +1 -1
- package/dist/components/uikit/Input/index.d.ts +2 -2
- package/dist/components/uikit/Loader/Loader.d.ts +3 -3
- package/dist/components/uikit/Loader/Loader.stories.d.ts +6 -6
- package/dist/components/uikit/Loader/Loader.styled.d.ts +9 -9
- package/dist/components/uikit/Loader/Loader.typed.d.ts +5 -5
- package/dist/components/uikit/Loader/index.d.ts +2 -2
- package/dist/components/uikit/Modal/Modal.d.ts +3 -3
- package/dist/components/uikit/Modal/Modal.stories.d.ts +6 -6
- package/dist/components/uikit/Modal/Modal.styled.d.ts +18 -18
- package/dist/components/uikit/Modal/Modal.typed.d.ts +32 -32
- package/dist/components/uikit/Modal/index.d.ts +1 -1
- package/dist/components/uikit/ModalMobile/ModalMobile.d.ts +3 -3
- package/dist/components/uikit/ModalMobile/ModalMobile.stories.d.ts +6 -6
- package/dist/components/uikit/ModalMobile/ModalMobile.styled.d.ts +10 -10
- package/dist/components/uikit/ModalMobile/ModalMobile.typed.d.ts +12 -12
- package/dist/components/uikit/ModalMobile/index.d.ts +1 -1
- package/dist/components/uikit/PasswordInput/PasswordInput.d.ts +3 -3
- package/dist/components/uikit/PasswordInput/PasswordInput.stories.d.ts +6 -6
- package/dist/components/uikit/PasswordInput/PasswordInput.styled.d.ts +5 -5
- package/dist/components/uikit/PasswordInput/PasswordInput.typed.d.ts +4 -4
- package/dist/components/uikit/PasswordInput/index.d.ts +1 -1
- package/dist/components/uikit/Popup/Popup.d.ts +3 -3
- package/dist/components/uikit/Popup/Popup.stories.d.ts +6 -6
- package/dist/components/uikit/Popup/Popup.styled.d.ts +21 -21
- package/dist/components/uikit/Popup/Popup.typed.d.ts +10 -10
- package/dist/components/uikit/Popup/index.d.ts +1 -1
- package/dist/components/uikit/Portal/Portal.d.ts +3 -3
- package/dist/components/uikit/Portal/Portal.stories.d.ts +6 -6
- package/dist/components/uikit/Portal/Portal.typed.d.ts +5 -5
- package/dist/components/uikit/Portal/index.d.ts +1 -1
- package/dist/components/uikit/Portal/usePortal.d.ts +2 -2
- package/dist/components/uikit/Radio/Radio.d.ts +3 -3
- package/dist/components/uikit/Radio/Radio.stories.d.ts +6 -6
- package/dist/components/uikit/Radio/Radio.styled.d.ts +16 -16
- package/dist/components/uikit/Radio/Radio.typed.d.ts +13 -13
- package/dist/components/uikit/Radio/index.d.ts +2 -2
- package/dist/components/uikit/Scroll/Scroll.d.ts +1 -1
- package/dist/components/uikit/SideModal/SideModal.d.ts +3 -3
- package/dist/components/uikit/SideModal/SideModal.stories.d.ts +6 -6
- package/dist/components/uikit/SideModal/SideModal.styled.d.ts +14 -14
- package/dist/components/uikit/SideModal/SideModal.typed.d.ts +13 -13
- package/dist/components/uikit/SideModal/index.d.ts +1 -1
- package/dist/components/uikit/Sidebar/Sidebar.d.ts +3 -3
- package/dist/components/uikit/Sidebar/Sidebar.stories.d.ts +6 -6
- package/dist/components/uikit/Sidebar/Sidebar.styled.d.ts +12 -12
- package/dist/components/uikit/Sidebar/Sidebar.typed.d.ts +8 -8
- package/dist/components/uikit/Sidebar/index.d.ts +1 -1
- package/dist/components/uikit/Skeleton/Skeleton.d.ts +3 -3
- package/dist/components/uikit/Skeleton/Skeleton.stories.d.ts +6 -6
- package/dist/components/uikit/Skeleton/Skeleton.styled.d.ts +3 -3
- package/dist/components/uikit/Skeleton/Skeleton.typed.d.ts +15 -15
- package/dist/components/uikit/Skeleton/index.d.ts +1 -1
- package/dist/components/uikit/Spinner/Spinner.d.ts +3 -0
- package/dist/components/uikit/Spinner/Spinner.stories.d.ts +6 -0
- package/dist/components/uikit/Spinner/Spinner.styled.d.ts +5 -0
- package/dist/components/uikit/Spinner/Spinner.typed.d.ts +6 -0
- package/dist/components/uikit/Spinner/index.d.ts +1 -0
- package/dist/components/uikit/Switch/Switch.d.ts +3 -3
- package/dist/components/uikit/Switch/Switch.styled.d.ts +16 -16
- package/dist/components/uikit/Switch/Switched.stories.d.ts +6 -6
- package/dist/components/uikit/Switch/Switched.typed.d.ts +17 -17
- package/dist/components/uikit/Switch/index.d.ts +1 -1
- package/dist/components/uikit/TabListCell/TabListCell.d.ts +3 -0
- package/dist/components/uikit/TabListCell/TabListCell.stories.d.ts +6 -0
- package/dist/components/uikit/TabListCell/TabListCell.styled.d.ts +7 -0
- package/dist/components/uikit/TabListCell/TabListCell.typed.d.ts +25 -0
- package/dist/components/uikit/TabListCell/index.d.ts +1 -0
- package/dist/components/uikit/TextButton/TextButton.const.d.ts +30 -30
- package/dist/components/uikit/TextButton/TextButton.d.ts +3 -3
- package/dist/components/uikit/TextButton/TextButton.stories.d.ts +6 -6
- package/dist/components/uikit/TextButton/TextButton.styled.d.ts +5 -5
- package/dist/components/uikit/TextButton/TextButton.typed.d.ts +16 -16
- package/dist/components/uikit/TextButton/index.d.ts +2 -2
- package/dist/components/uikit/Textarea/Textarea.d.ts +4 -4
- package/dist/components/uikit/Textarea/Textarea.stories.d.ts +7 -7
- package/dist/components/uikit/Textarea/Textarea.styled.d.ts +11 -11
- package/dist/components/uikit/Textarea/Textarea.typed.d.ts +14 -14
- package/dist/components/uikit/Textarea/index.d.ts +1 -1
- package/dist/components/uikit/Tooltip/Tooltip.d.ts +4 -4
- package/dist/components/uikit/Tooltip/Tooltip.stories.d.ts +7 -7
- package/dist/components/uikit/Tooltip/Tooltip.styled.d.ts +5 -5
- package/dist/components/uikit/Tooltip/Tooltip.typed.d.ts +15 -15
- package/dist/components/uikit/Tooltip/components/DefaultTooltip/DefaultTooltip.d.ts +6 -6
- package/dist/components/uikit/Tooltip/components/DefaultTooltip/DefaultTooltip.styled.d.ts +1 -1
- package/dist/components/uikit/Tooltip/index.d.ts +2 -2
- package/dist/components/uikit/storybook/StoryDescription/StoryDescription.d.ts +5 -5
- package/dist/components/uikit/storybook/StoryDescription/StoryDescription.styled.d.ts +1 -1
- package/dist/components/uikit/storybook/StoryExample/StoryExample.d.ts +6 -6
- package/dist/components/uikit/storybook/StoryExample/StoryExample.styled.d.ts +1 -1
- package/dist/components/uikit/storybook/StoryTitle/StoryTitle.d.ts +6 -6
- package/dist/components/uikit/storybook/StoryTitle/StoryTitle.styled.d.ts +1 -1
- package/dist/hooks/useBlockScroll.d.ts +2 -2
- package/dist/hooks/useBreakpoints.d.ts +6 -6
- package/dist/hooks/useClickOutside.d.ts +3 -3
- package/dist/hooks/useCurrentPath.d.ts +4 -4
- package/dist/hooks/useEscKeydownHandler.d.ts +1 -1
- package/dist/hooks/useGetVideoLink.d.ts +9 -9
- package/dist/hooks/useHidingChat.d.ts +2 -2
- package/dist/hooks/useTransitionModal.d.ts +7 -7
- package/dist/index.d.ts +27 -25
- package/dist/index.js +99 -47
- package/dist/utils.d.ts +6 -6
- package/package.json +65 -63
- package/readme.md +20 -10
|
@@ -1,135 +1,135 @@
|
|
|
1
|
-
export declare const Size: {
|
|
2
|
-
L: {
|
|
3
|
-
fontWeight: number;
|
|
4
|
-
fontSize: string;
|
|
5
|
-
lineHeight: string;
|
|
6
|
-
height: string;
|
|
7
|
-
maxHeight: string;
|
|
8
|
-
};
|
|
9
|
-
M: {
|
|
10
|
-
fontWeight: number;
|
|
11
|
-
fontSize: string;
|
|
12
|
-
lineHeight: string;
|
|
13
|
-
height: string;
|
|
14
|
-
maxHeight: string;
|
|
15
|
-
};
|
|
16
|
-
S: {
|
|
17
|
-
fontWeight: number;
|
|
18
|
-
fontSize: string;
|
|
19
|
-
lineHeight: string;
|
|
20
|
-
height: string;
|
|
21
|
-
maxHeight: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const Theme: {
|
|
25
|
-
Primary: {
|
|
26
|
-
default: {
|
|
27
|
-
color: string;
|
|
28
|
-
border: string;
|
|
29
|
-
background: string;
|
|
30
|
-
};
|
|
31
|
-
hover: {
|
|
32
|
-
background: string;
|
|
33
|
-
borderColor: string;
|
|
34
|
-
color: string;
|
|
35
|
-
};
|
|
36
|
-
active: {
|
|
37
|
-
background: string;
|
|
38
|
-
borderColor: string;
|
|
39
|
-
color: string;
|
|
40
|
-
};
|
|
41
|
-
disabled: {
|
|
42
|
-
background: string;
|
|
43
|
-
borderColor: string;
|
|
44
|
-
color: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
Secondary: {
|
|
48
|
-
default: {
|
|
49
|
-
color: string;
|
|
50
|
-
border: string;
|
|
51
|
-
background: string;
|
|
52
|
-
};
|
|
53
|
-
hover: {
|
|
54
|
-
background: string;
|
|
55
|
-
borderColor: string;
|
|
56
|
-
color: string;
|
|
57
|
-
};
|
|
58
|
-
active: {
|
|
59
|
-
background: string;
|
|
60
|
-
borderColor: string;
|
|
61
|
-
color: string;
|
|
62
|
-
};
|
|
63
|
-
disabled: {
|
|
64
|
-
background: string;
|
|
65
|
-
borderColor: string;
|
|
66
|
-
color: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
Tertiary: {
|
|
70
|
-
default: {
|
|
71
|
-
color: string;
|
|
72
|
-
border: string;
|
|
73
|
-
background: string;
|
|
74
|
-
};
|
|
75
|
-
hover: {
|
|
76
|
-
background: string;
|
|
77
|
-
borderColor: string;
|
|
78
|
-
color: string;
|
|
79
|
-
};
|
|
80
|
-
active: {
|
|
81
|
-
background: string;
|
|
82
|
-
borderColor: string;
|
|
83
|
-
color: string;
|
|
84
|
-
};
|
|
85
|
-
disabled: {
|
|
86
|
-
background: string;
|
|
87
|
-
borderColor: string;
|
|
88
|
-
color: string;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
Negative: {
|
|
92
|
-
default: {
|
|
93
|
-
color: string;
|
|
94
|
-
border: string;
|
|
95
|
-
background: string;
|
|
96
|
-
};
|
|
97
|
-
hover: {
|
|
98
|
-
background: string;
|
|
99
|
-
borderColor: string;
|
|
100
|
-
color: string;
|
|
101
|
-
};
|
|
102
|
-
active: {
|
|
103
|
-
background: string;
|
|
104
|
-
borderColor: string;
|
|
105
|
-
color: string;
|
|
106
|
-
};
|
|
107
|
-
disabled: {
|
|
108
|
-
background: string;
|
|
109
|
-
borderColor: string;
|
|
110
|
-
color: string;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
Neutral: {
|
|
114
|
-
default: {
|
|
115
|
-
color: string;
|
|
116
|
-
border: string;
|
|
117
|
-
background: string;
|
|
118
|
-
};
|
|
119
|
-
hover: {
|
|
120
|
-
background: string;
|
|
121
|
-
borderColor: string;
|
|
122
|
-
color: string;
|
|
123
|
-
};
|
|
124
|
-
active: {
|
|
125
|
-
background: string;
|
|
126
|
-
borderColor: string;
|
|
127
|
-
color: string;
|
|
128
|
-
};
|
|
129
|
-
disabled: {
|
|
130
|
-
background: string;
|
|
131
|
-
borderColor: string;
|
|
132
|
-
color: string;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
};
|
|
1
|
+
export declare const Size: {
|
|
2
|
+
L: {
|
|
3
|
+
fontWeight: number;
|
|
4
|
+
fontSize: string;
|
|
5
|
+
lineHeight: string;
|
|
6
|
+
height: string;
|
|
7
|
+
maxHeight: string;
|
|
8
|
+
};
|
|
9
|
+
M: {
|
|
10
|
+
fontWeight: number;
|
|
11
|
+
fontSize: string;
|
|
12
|
+
lineHeight: string;
|
|
13
|
+
height: string;
|
|
14
|
+
maxHeight: string;
|
|
15
|
+
};
|
|
16
|
+
S: {
|
|
17
|
+
fontWeight: number;
|
|
18
|
+
fontSize: string;
|
|
19
|
+
lineHeight: string;
|
|
20
|
+
height: string;
|
|
21
|
+
maxHeight: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const Theme: {
|
|
25
|
+
Primary: {
|
|
26
|
+
default: {
|
|
27
|
+
color: string;
|
|
28
|
+
border: string;
|
|
29
|
+
background: string;
|
|
30
|
+
};
|
|
31
|
+
hover: {
|
|
32
|
+
background: string;
|
|
33
|
+
borderColor: string;
|
|
34
|
+
color: string;
|
|
35
|
+
};
|
|
36
|
+
active: {
|
|
37
|
+
background: string;
|
|
38
|
+
borderColor: string;
|
|
39
|
+
color: string;
|
|
40
|
+
};
|
|
41
|
+
disabled: {
|
|
42
|
+
background: string;
|
|
43
|
+
borderColor: string;
|
|
44
|
+
color: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
Secondary: {
|
|
48
|
+
default: {
|
|
49
|
+
color: string;
|
|
50
|
+
border: string;
|
|
51
|
+
background: string;
|
|
52
|
+
};
|
|
53
|
+
hover: {
|
|
54
|
+
background: string;
|
|
55
|
+
borderColor: string;
|
|
56
|
+
color: string;
|
|
57
|
+
};
|
|
58
|
+
active: {
|
|
59
|
+
background: string;
|
|
60
|
+
borderColor: string;
|
|
61
|
+
color: string;
|
|
62
|
+
};
|
|
63
|
+
disabled: {
|
|
64
|
+
background: string;
|
|
65
|
+
borderColor: string;
|
|
66
|
+
color: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
Tertiary: {
|
|
70
|
+
default: {
|
|
71
|
+
color: string;
|
|
72
|
+
border: string;
|
|
73
|
+
background: string;
|
|
74
|
+
};
|
|
75
|
+
hover: {
|
|
76
|
+
background: string;
|
|
77
|
+
borderColor: string;
|
|
78
|
+
color: string;
|
|
79
|
+
};
|
|
80
|
+
active: {
|
|
81
|
+
background: string;
|
|
82
|
+
borderColor: string;
|
|
83
|
+
color: string;
|
|
84
|
+
};
|
|
85
|
+
disabled: {
|
|
86
|
+
background: string;
|
|
87
|
+
borderColor: string;
|
|
88
|
+
color: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
Negative: {
|
|
92
|
+
default: {
|
|
93
|
+
color: string;
|
|
94
|
+
border: string;
|
|
95
|
+
background: string;
|
|
96
|
+
};
|
|
97
|
+
hover: {
|
|
98
|
+
background: string;
|
|
99
|
+
borderColor: string;
|
|
100
|
+
color: string;
|
|
101
|
+
};
|
|
102
|
+
active: {
|
|
103
|
+
background: string;
|
|
104
|
+
borderColor: string;
|
|
105
|
+
color: string;
|
|
106
|
+
};
|
|
107
|
+
disabled: {
|
|
108
|
+
background: string;
|
|
109
|
+
borderColor: string;
|
|
110
|
+
color: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
Neutral: {
|
|
114
|
+
default: {
|
|
115
|
+
color: string;
|
|
116
|
+
border: string;
|
|
117
|
+
background: string;
|
|
118
|
+
};
|
|
119
|
+
hover: {
|
|
120
|
+
background: string;
|
|
121
|
+
borderColor: string;
|
|
122
|
+
color: string;
|
|
123
|
+
};
|
|
124
|
+
active: {
|
|
125
|
+
background: string;
|
|
126
|
+
borderColor: string;
|
|
127
|
+
color: string;
|
|
128
|
+
};
|
|
129
|
+
disabled: {
|
|
130
|
+
background: string;
|
|
131
|
+
borderColor: string;
|
|
132
|
+
color: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IButton } from './Button.typed';
|
|
3
|
-
declare const Button: React.ForwardRefExoticComponent<IButton & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
-
export { Button };
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IButton } from './Button.typed';
|
|
3
|
+
declare const Button: React.ForwardRefExoticComponent<IButton & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
+
export { Button };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: React.ForwardRefExoticComponent<import("./Button.typed").IButton & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Button: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: React.ForwardRefExoticComponent<import("./Button.typed").IButton & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Button: () => JSX.Element;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ButtonTheme, ButtonSize } from './Button.typed';
|
|
2
|
-
declare const Button: import("styled-components").StyledComponent<"button", any, {
|
|
3
|
-
size: ButtonSize;
|
|
4
|
-
width: string;
|
|
5
|
-
theme: ButtonTheme;
|
|
6
|
-
isText: boolean;
|
|
7
|
-
isIconLeft: boolean;
|
|
8
|
-
isIconRight: boolean;
|
|
9
|
-
isFill: boolean;
|
|
10
|
-
}, never>;
|
|
11
|
-
declare const IconLeft: import("styled-components").StyledComponent<"span", any, {
|
|
12
|
-
size: ButtonSize;
|
|
13
|
-
isText: boolean;
|
|
14
|
-
}, never>;
|
|
15
|
-
declare const IconRight: import("styled-components").StyledComponent<"span", any, {
|
|
16
|
-
size: ButtonSize;
|
|
17
|
-
isText: boolean;
|
|
18
|
-
}, never>;
|
|
19
|
-
declare const Loading: import("styled-components").StyledComponent<"div", any, {
|
|
20
|
-
theme: ButtonTheme;
|
|
21
|
-
}, never>;
|
|
22
|
-
export { Loading, IconRight, IconLeft, Button };
|
|
1
|
+
import { ButtonTheme, ButtonSize } from './Button.typed';
|
|
2
|
+
declare const Button: import("styled-components").StyledComponent<"button", any, {
|
|
3
|
+
size: ButtonSize;
|
|
4
|
+
width: string;
|
|
5
|
+
theme: ButtonTheme;
|
|
6
|
+
isText: boolean;
|
|
7
|
+
isIconLeft: boolean;
|
|
8
|
+
isIconRight: boolean;
|
|
9
|
+
isFill: boolean;
|
|
10
|
+
}, never>;
|
|
11
|
+
declare const IconLeft: import("styled-components").StyledComponent<"span", any, {
|
|
12
|
+
size: ButtonSize;
|
|
13
|
+
isText: boolean;
|
|
14
|
+
}, never>;
|
|
15
|
+
declare const IconRight: import("styled-components").StyledComponent<"span", any, {
|
|
16
|
+
size: ButtonSize;
|
|
17
|
+
isText: boolean;
|
|
18
|
+
}, never>;
|
|
19
|
+
declare const Loading: import("styled-components").StyledComponent<"div", any, {
|
|
20
|
+
theme: ButtonTheme;
|
|
21
|
+
}, never>;
|
|
22
|
+
export { Loading, IconRight, IconLeft, Button };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import CSS from 'csstype';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { SizeLoader } from '../Loader';
|
|
4
|
-
export declare enum ButtonTheme {
|
|
5
|
-
Primary = "Primary",
|
|
6
|
-
Secondary = "Secondary",
|
|
7
|
-
Tertiary = "Tertiary",
|
|
8
|
-
Negative = "Negative",
|
|
9
|
-
Neutral = "Neutral"
|
|
10
|
-
}
|
|
11
|
-
export type ButtonSize = 'L' | 'M' | 'S';
|
|
12
|
-
export interface IButton {
|
|
13
|
-
type?: 'submit' | 'button';
|
|
14
|
-
text?: string;
|
|
15
|
-
textCustom?: ReactNode;
|
|
16
|
-
loading?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
iconLeft?: ReactNode;
|
|
19
|
-
iconRight?: ReactNode;
|
|
20
|
-
theme?: ButtonTheme;
|
|
21
|
-
size?: ButtonSize;
|
|
22
|
-
style?: CSS.Properties;
|
|
23
|
-
width?: string;
|
|
24
|
-
onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
25
|
-
className?: string;
|
|
26
|
-
loaderSize?: SizeLoader;
|
|
27
|
-
isFill?: boolean;
|
|
28
|
-
}
|
|
1
|
+
import CSS from 'csstype';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
import { SizeLoader } from '../Loader';
|
|
4
|
+
export declare enum ButtonTheme {
|
|
5
|
+
Primary = "Primary",
|
|
6
|
+
Secondary = "Secondary",
|
|
7
|
+
Tertiary = "Tertiary",
|
|
8
|
+
Negative = "Negative",
|
|
9
|
+
Neutral = "Neutral"
|
|
10
|
+
}
|
|
11
|
+
export type ButtonSize = 'L' | 'M' | 'S';
|
|
12
|
+
export interface IButton {
|
|
13
|
+
type?: 'submit' | 'button';
|
|
14
|
+
text?: string;
|
|
15
|
+
textCustom?: ReactNode;
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
iconLeft?: ReactNode;
|
|
19
|
+
iconRight?: ReactNode;
|
|
20
|
+
theme?: ButtonTheme;
|
|
21
|
+
size?: ButtonSize;
|
|
22
|
+
style?: CSS.Properties;
|
|
23
|
+
width?: string;
|
|
24
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
25
|
+
className?: string;
|
|
26
|
+
loaderSize?: SizeLoader;
|
|
27
|
+
isFill?: boolean;
|
|
28
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Button } from './Button';
|
|
2
|
-
export { ButtonTheme
|
|
1
|
+
export { Button } from './Button';
|
|
2
|
+
export { ButtonTheme } from './Button.typed';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ICard } from './Card.typed';
|
|
3
|
-
declare const Card: React.ForwardRefExoticComponent<ICard & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
export { Card };
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ICard } from './Card.typed';
|
|
3
|
+
declare const Card: React.ForwardRefExoticComponent<ICard & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
export { Card };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: React.ForwardRefExoticComponent<import("./Card.typed").ICard & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Card: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: React.ForwardRefExoticComponent<import("./Card.typed").ICard & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Card: () => JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
declare const Container: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
-
width: string;
|
|
3
|
-
padding: string;
|
|
4
|
-
margin: string;
|
|
5
|
-
}, never>;
|
|
6
|
-
declare const Header: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
-
declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
-
declare const Title: import("styled-components").StyledComponent<"h2", any, {}, never>;
|
|
9
|
-
declare const TitleLink: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
10
|
-
declare const Hint: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
-
declare const Subtitle: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
12
|
-
export { Container, Header, TitleContainer, Title, TitleLink, Hint, Subtitle };
|
|
1
|
+
declare const Container: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
width: string;
|
|
3
|
+
padding: string;
|
|
4
|
+
margin: string;
|
|
5
|
+
}, never>;
|
|
6
|
+
declare const Header: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
declare const Title: import("styled-components").StyledComponent<"h2", any, {}, never>;
|
|
9
|
+
declare const TitleLink: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
10
|
+
declare const Hint: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
+
declare const Subtitle: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
12
|
+
export { Container, Header, TitleContainer, Title, TitleLink, Hint, Subtitle };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IPopup } from '../Popup/Popup.typed';
|
|
3
|
-
export interface ICard {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
title?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
classNameTitle?: string;
|
|
8
|
-
classNameHeader?: string;
|
|
9
|
-
padding?: string;
|
|
10
|
-
margin?: string;
|
|
11
|
-
width?: string;
|
|
12
|
-
/**Ссылка, если нужно сделать тайтл кликабельным*/
|
|
13
|
-
titleLink?: string;
|
|
14
|
-
/**Добавить подсказку к полю*/
|
|
15
|
-
hint?: IPopup;
|
|
16
|
-
/**Контент справа от заголовка*/
|
|
17
|
-
rightContent?: React.ReactElement;
|
|
18
|
-
/**Подзаголовок*/
|
|
19
|
-
subtitle?: string;
|
|
20
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IPopup } from '../Popup/Popup.typed';
|
|
3
|
+
export interface ICard {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
title?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
classNameTitle?: string;
|
|
8
|
+
classNameHeader?: string;
|
|
9
|
+
padding?: string;
|
|
10
|
+
margin?: string;
|
|
11
|
+
width?: string;
|
|
12
|
+
/**Ссылка, если нужно сделать тайтл кликабельным*/
|
|
13
|
+
titleLink?: string;
|
|
14
|
+
/**Добавить подсказку к полю*/
|
|
15
|
+
hint?: IPopup;
|
|
16
|
+
/**Контент справа от заголовка*/
|
|
17
|
+
rightContent?: React.ReactElement;
|
|
18
|
+
/**Подзаголовок*/
|
|
19
|
+
subtitle?: string;
|
|
20
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Card } from './Card';
|
|
1
|
+
export { Card } from './Card';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ICheckbox } from './Checkbox.typed';
|
|
2
|
-
declare const Checkbox: (props: ICheckbox) => JSX.Element;
|
|
3
|
-
export { Checkbox };
|
|
1
|
+
import { ICheckbox } from './Checkbox.typed';
|
|
2
|
+
declare const Checkbox: (props: ICheckbox) => JSX.Element;
|
|
3
|
+
export { Checkbox };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: (props: import("./Checkbox.typed").ICheckbox) => JSX.Element;
|
|
4
|
-
};
|
|
5
|
-
export default _default;
|
|
6
|
-
export declare const Checkbox: () => JSX.Element;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: (props: import("./Checkbox.typed").ICheckbox) => JSX.Element;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Checkbox: () => JSX.Element;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { CheckboxForm, CheckboxSize } from './Checkbox.typed';
|
|
2
|
-
declare const Element: import("styled-components").StyledComponent<"span", any, {
|
|
3
|
-
size: CheckboxSize;
|
|
4
|
-
form: CheckboxForm;
|
|
5
|
-
}, never>;
|
|
6
|
-
declare const Container: import("styled-components").StyledComponent<"label", any, {
|
|
7
|
-
align: string;
|
|
8
|
-
readonly: boolean;
|
|
9
|
-
}, never>;
|
|
10
|
-
declare const NativeInput: import("styled-components").StyledComponent<"input", any, {
|
|
11
|
-
type: "checkbox";
|
|
12
|
-
}, "type">;
|
|
13
|
-
declare const Text: import("styled-components").StyledComponent<"span", any, {
|
|
14
|
-
size: CheckboxSize;
|
|
15
|
-
isTextLeft: boolean;
|
|
16
|
-
color: string;
|
|
17
|
-
}, never>;
|
|
18
|
-
export { NativeInput, Container, Element, Text };
|
|
1
|
+
import { CheckboxForm, CheckboxSize } from './Checkbox.typed';
|
|
2
|
+
declare const Element: import("styled-components").StyledComponent<"span", any, {
|
|
3
|
+
size: CheckboxSize;
|
|
4
|
+
form: CheckboxForm;
|
|
5
|
+
}, never>;
|
|
6
|
+
declare const Container: import("styled-components").StyledComponent<"label", any, {
|
|
7
|
+
align: string;
|
|
8
|
+
readonly: boolean;
|
|
9
|
+
}, never>;
|
|
10
|
+
declare const NativeInput: import("styled-components").StyledComponent<"input", any, {
|
|
11
|
+
type: "checkbox";
|
|
12
|
+
}, "type">;
|
|
13
|
+
declare const Text: import("styled-components").StyledComponent<"span", any, {
|
|
14
|
+
size: CheckboxSize;
|
|
15
|
+
isTextLeft: boolean;
|
|
16
|
+
color: string;
|
|
17
|
+
}, never>;
|
|
18
|
+
export { NativeInput, Container, Element, Text };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type CheckboxSize = 'M' | 'S';
|
|
3
|
-
export declare enum CheckboxForm {
|
|
4
|
-
square = "square",
|
|
5
|
-
circle = "circle"
|
|
6
|
-
}
|
|
7
|
-
export interface ICheckbox {
|
|
8
|
-
checked?: boolean;
|
|
9
|
-
text?: string;
|
|
10
|
-
name?: string;
|
|
11
|
-
align?: 'center' | 'flex-start';
|
|
12
|
-
size?: CheckboxSize;
|
|
13
|
-
form?: CheckboxForm;
|
|
14
|
-
isTextLeft?: boolean;
|
|
15
|
-
color?: string;
|
|
16
|
-
value?: string | number;
|
|
17
|
-
readonly?: boolean;
|
|
18
|
-
classNameText?: string;
|
|
19
|
-
classNameContainer?: string;
|
|
20
|
-
onChange?: (value: boolean, e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
21
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type CheckboxSize = 'M' | 'S';
|
|
3
|
+
export declare enum CheckboxForm {
|
|
4
|
+
square = "square",
|
|
5
|
+
circle = "circle"
|
|
6
|
+
}
|
|
7
|
+
export interface ICheckbox {
|
|
8
|
+
checked?: boolean;
|
|
9
|
+
text?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
align?: 'center' | 'flex-start';
|
|
12
|
+
size?: CheckboxSize;
|
|
13
|
+
form?: CheckboxForm;
|
|
14
|
+
isTextLeft?: boolean;
|
|
15
|
+
color?: string;
|
|
16
|
+
value?: string | number;
|
|
17
|
+
readonly?: boolean;
|
|
18
|
+
classNameText?: string;
|
|
19
|
+
classNameContainer?: string;
|
|
20
|
+
onChange?: (value: boolean, e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
21
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Checkbox } from './Checkbox';
|
|
2
|
-
export { CheckboxSize, CheckboxForm } from './Checkbox.typed';
|
|
1
|
+
export { Checkbox } from './Checkbox';
|
|
2
|
+
export { CheckboxSize, CheckboxForm } from './Checkbox.typed';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const Button: import("styled-components").StyledComponent<"button", any, {
|
|
2
|
-
theme: string;
|
|
3
|
-
size: string;
|
|
4
|
-
direction: 'right' | 'left';
|
|
5
|
-
}, never>;
|
|
6
|
-
export declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
-
export { Button };
|
|
1
|
+
declare const Button: import("styled-components").StyledComponent<"button", any, {
|
|
2
|
+
theme: string;
|
|
3
|
+
size: string;
|
|
4
|
+
direction: 'right' | 'left';
|
|
5
|
+
}, never>;
|
|
6
|
+
export declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export { Button };
|