profinansy-ui-lib 3.8.1 → 3.8.2
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/banners/TextBlackBanner/TextBlackBanner.styled.d.ts +2 -30
- package/dist/components/blocks/Navigation/components/NewFeature/NewFeature.styled.d.ts +2 -30
- package/dist/components/blocks/header/components/Cart/components/CartItem/CartStyled.styled.d.ts +2 -30
- package/dist/components/blocks/header/components/header-link-item/components/Hit/Hit.d.ts +2 -30
- package/dist/components/blocks/header/components/header-link-item/components/MoreItems/MoreItems.styled.d.ts +4 -60
- package/dist/components/blocks/header/components/header-link-item/components/New/New.d.ts +2 -30
- package/dist/components/blocks/header/components/header-link-item/header-link-item.styled.d.ts +2 -30
- package/dist/components/blocks/header/components/userMenu/components/PersonalInformation/PersonalInformation.styled.d.ts +2 -30
- package/dist/components/blocks/search/components/InstrumentItem/InstrumentItem.styled.d.ts +6 -90
- package/dist/components/blocks/search/components/Item.styled.d.ts +2 -30
- package/dist/components/blocks/search/components/SearchNotFound/SearchNotFound.styled.d.ts +2 -30
- package/dist/components/blocks/search/hooks/useFavourites.d.ts +4 -2
- package/dist/components/blocks/sideMenu/components/FooterSlot/FooterSlot.d.ts +4 -3
- package/dist/components/blocks/sideMenu/components/SubPages/SubPages.styled.d.ts +2 -30
- package/dist/components/layouts/LayoutSideMenu/LayoutSideMenu.tyled.d.ts +4 -3
- package/dist/components/uikit/Bubbles/Bubbles.styled.d.ts +2 -30
- package/dist/components/uikit/Card/Card.d.ts +2 -20
- package/dist/components/uikit/Card/Card.typed.d.ts +5 -3
- package/dist/components/uikit/Checkbox/Checkbox.styled.d.ts +2 -30
- package/dist/components/uikit/DragScroll/DragScroll.d.ts +5 -2
- package/dist/components/uikit/Dropdown/Dropdown.d.ts +1 -13
- package/dist/components/uikit/Dropdown/Dropdown.typed.d.ts +5 -3
- package/dist/components/uikit/FieldRow/FieldRow.typed.d.ts +5 -3
- package/dist/components/uikit/FilterButton/FilterButton.d.ts +2 -19
- package/dist/components/uikit/FilterButton/FilterButton.typed.d.ts +8 -5
- package/dist/components/uikit/FilterButton/components/Drop/Drop.d.ts +2 -14
- package/dist/components/uikit/FilterButton/components/Mobile/MobileFilter.d.ts +2 -18
- package/dist/components/uikit/HiddenText/HiddenText.typed.d.ts +8 -3
- package/dist/components/uikit/Hint/Hint.typed.d.ts +5 -3
- package/dist/components/uikit/Modal/Modal.styled.d.ts +4 -60
- package/dist/components/uikit/Modal/Modal.typed.d.ts +5 -3
- package/dist/components/uikit/ModalMobile/ModalMobile.typed.d.ts +5 -3
- package/dist/components/uikit/Portal/Portal.typed.d.ts +4 -3
- package/dist/components/uikit/Radio/Radio.styled.d.ts +2 -30
- package/dist/components/uikit/SegmentControl/SegmentControl.styled.d.ts +2 -30
- package/dist/components/uikit/Select/components/ValueContainerWithImage/ValueContainerWithImage.styled.d.ts +2 -30
- package/dist/components/uikit/SideModal/SideModal.typed.d.ts +5 -3
- package/dist/components/uikit/Table/components/TCellText/TCellText.d.ts +5 -3
- package/dist/components/uikit/Tabs/Tabs.styled.d.ts +2 -30
- package/dist/components/uikit/Tooltip/Tooltip.d.ts +4 -3
- package/dist/components/uikit/Tooltip/Tooltip.typed.d.ts +5 -3
- package/dist/components/uikit/Typography/Typography.d.ts +2 -15
- package/dist/components/uikit/Typography/Typography.typed.d.ts +5 -3
- package/dist/components/uikit/storybook/StoryExample/StoryExample.d.ts +5 -2
- package/dist/components/uikit/storybook/StoryTitle/StoryTitle.d.ts +4 -3
- package/dist/config.d.ts +4 -3
- package/dist/hooks/useTransitionModal.d.ts +4 -3
- package/dist/localization/translations/urls.d.ts +2 -0
- package/dist/localization/useLocalization.d.ts +4 -3
- package/dist/profinansy-ui-lib.cjs.js +2 -2
- package/dist/profinansy-ui-lib.cjs.js.map +1 -1
- package/dist/profinansy-ui-lib.es.js +8 -2
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/theme/ThemeProvider.d.ts +8 -3
- package/package.json +1 -1
|
@@ -1,21 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IFilterButtonRef } from './FilterButton.typed';
|
|
3
|
-
declare const FilterButton: React.ForwardRefExoticComponent<
|
|
4
|
-
text?: string;
|
|
5
|
-
activeElements: number;
|
|
6
|
-
isStroke?: boolean;
|
|
7
|
-
size?: "M" | "S" | "XS";
|
|
8
|
-
padding?: string;
|
|
9
|
-
resetFilter?: () => void;
|
|
10
|
-
handleConfirm?: () => void;
|
|
11
|
-
isConfirmWithoutClose?: boolean;
|
|
12
|
-
isCancelWithoutClose?: boolean;
|
|
13
|
-
handleCustomOpen?: () => void;
|
|
14
|
-
withoutTextOnMobile?: boolean;
|
|
15
|
-
widthDrop?: number;
|
|
16
|
-
heightDrop?: number;
|
|
17
|
-
customIcon?: React.ReactNode;
|
|
18
|
-
} & {
|
|
19
|
-
children?: React.ReactNode;
|
|
20
|
-
} & React.RefAttributes<IFilterButtonRef>>;
|
|
2
|
+
import { IFilterButton, IFilterButtonRef } from './FilterButton.typed';
|
|
3
|
+
declare const FilterButton: React.ForwardRefExoticComponent<IFilterButton & React.RefAttributes<IFilterButtonRef>>;
|
|
21
4
|
export { FilterButton };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { Placement } from '@floating-ui/react';
|
|
3
|
-
export
|
|
3
|
+
export interface IFilterButton {
|
|
4
4
|
/**Текст кнопки */
|
|
5
5
|
text?: string;
|
|
6
6
|
/**Количество выбранных элементов */
|
|
@@ -29,13 +29,16 @@ export type IFilterButton = PropsWithChildren<{
|
|
|
29
29
|
heightDrop?: number;
|
|
30
30
|
/** Слот под кастомную иконку */
|
|
31
31
|
customIcon?: ReactNode;
|
|
32
|
-
|
|
32
|
+
/** Контент*/
|
|
33
|
+
children: ReactNode;
|
|
34
|
+
}
|
|
33
35
|
export interface IFilterButtonRef {
|
|
34
36
|
handleClose: () => void;
|
|
35
37
|
}
|
|
36
|
-
export
|
|
38
|
+
export interface IDropFilter {
|
|
37
39
|
targetElement: ReactNode;
|
|
38
40
|
placement?: Placement;
|
|
41
|
+
children: ReactNode;
|
|
39
42
|
padding: string;
|
|
40
43
|
widthDrop: number;
|
|
41
44
|
heightDrop: number;
|
|
@@ -43,4 +46,4 @@ export type IDropFilter = PropsWithChildren<{
|
|
|
43
46
|
handleConfirm?: () => void;
|
|
44
47
|
isConfirmWithoutClose?: boolean;
|
|
45
48
|
isCancelWithoutClose?: boolean;
|
|
46
|
-
}
|
|
49
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Placement } from '@floating-ui/react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { IFilterButtonRef } from '../../FilterButton.typed';
|
|
3
|
+
import { IDropFilter, IFilterButtonRef } from '../../FilterButton.typed';
|
|
4
4
|
export declare function useDrop({ placement }: {
|
|
5
5
|
placement?: Placement;
|
|
6
6
|
}): {
|
|
@@ -49,16 +49,4 @@ export declare function useDrop({ placement }: {
|
|
|
49
49
|
open: boolean;
|
|
50
50
|
setOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
51
51
|
};
|
|
52
|
-
export declare const FilterDrop: React.ForwardRefExoticComponent<
|
|
53
|
-
targetElement: React.ReactNode;
|
|
54
|
-
placement?: Placement;
|
|
55
|
-
padding: string;
|
|
56
|
-
widthDrop: number;
|
|
57
|
-
heightDrop: number;
|
|
58
|
-
resetFilter?: () => void;
|
|
59
|
-
handleConfirm?: () => void;
|
|
60
|
-
isConfirmWithoutClose?: boolean;
|
|
61
|
-
isCancelWithoutClose?: boolean;
|
|
62
|
-
} & {
|
|
63
|
-
children?: React.ReactNode;
|
|
64
|
-
} & React.RefAttributes<IFilterButtonRef>>;
|
|
52
|
+
export declare const FilterDrop: React.ForwardRefExoticComponent<IDropFilter & React.RefAttributes<IFilterButtonRef>>;
|
|
@@ -1,20 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
activeElements: number;
|
|
5
|
-
isStroke?: boolean;
|
|
6
|
-
size?: "M" | "S" | "XS";
|
|
7
|
-
padding?: string;
|
|
8
|
-
resetFilter?: () => void;
|
|
9
|
-
handleConfirm?: () => void;
|
|
10
|
-
isConfirmWithoutClose?: boolean;
|
|
11
|
-
isCancelWithoutClose?: boolean;
|
|
12
|
-
handleCustomOpen?: () => void;
|
|
13
|
-
withoutTextOnMobile?: boolean;
|
|
14
|
-
widthDrop?: number;
|
|
15
|
-
heightDrop?: number;
|
|
16
|
-
customIcon?: React.ReactNode;
|
|
17
|
-
} & {
|
|
18
|
-
children?: React.ReactNode;
|
|
19
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
import { IFilterButton } from '../../FilterButton.typed';
|
|
3
|
+
declare const MobileFilter: React.ForwardRefExoticComponent<IFilterButton & React.RefAttributes<unknown>>;
|
|
20
4
|
export { MobileFilter };
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
type IHiddenTextBase = {
|
|
3
|
+
/**Дочерний элемент (в 90% случаев это должен быть typography) */
|
|
4
|
+
children: ReactElement;
|
|
5
|
+
};
|
|
6
|
+
export type EllipsisMode = IHiddenTextBase & {
|
|
3
7
|
/**Режим скрытия текста */
|
|
4
8
|
mode?: 'ellipsis';
|
|
5
9
|
};
|
|
6
|
-
export type MultilineMode =
|
|
10
|
+
export type MultilineMode = IHiddenTextBase & {
|
|
7
11
|
/**Режим скрытия текста */
|
|
8
12
|
mode?: 'multiline';
|
|
9
13
|
/**Количество линий */
|
|
@@ -11,3 +15,4 @@ export type MultilineMode = PropsWithChildren & {
|
|
|
11
15
|
};
|
|
12
16
|
export type IHiddenText = EllipsisMode | MultilineMode;
|
|
13
17
|
export type IHiddenTextWithoutChildren = Omit<EllipsisMode, 'children'> | Omit<MultilineMode, 'children'>;
|
|
18
|
+
export {};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { Placement } from '@floating-ui/react';
|
|
3
|
-
export
|
|
3
|
+
export interface IHint {
|
|
4
4
|
/**Расположение хинта*/
|
|
5
5
|
placement?: Placement;
|
|
6
6
|
/**Текст хинта*/
|
|
7
7
|
text: string;
|
|
8
8
|
/**Должен ли открываться на телефонах по клику*/
|
|
9
9
|
isClickMobile?: boolean;
|
|
10
|
-
|
|
10
|
+
/**Таргет элемент*/
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
}
|
|
@@ -19,69 +19,13 @@ export declare const Header: import("styled-components/dist/types").IStyledCompo
|
|
|
19
19
|
export declare const FirstLineHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
20
20
|
adaptiveRightContent: number;
|
|
21
21
|
}>> & string;
|
|
22
|
-
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<{
|
|
23
|
-
tag?: keyof JSX.IntrinsicElements;
|
|
24
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold" | {
|
|
25
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold";
|
|
26
|
-
resolution: number;
|
|
27
|
-
}[];
|
|
28
|
-
className?: string;
|
|
29
|
-
title?: string;
|
|
30
|
-
valueNumber?: number;
|
|
31
|
-
onClick?: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
32
|
-
colorName?: "link" | "content" | "black" | "blue" | "gray" | "green" | "olive" | "orange" | "pink" | "red" | "turquoise" | "violet" | "primary" | "secondary" | "tertiary" | "fourth" | "contrast" | "contrastThemed" | "accent" | "accentSecondary" | "positive" | "warning" | "negative" | "info" | "secondaryAlpha" | "field" | "fieldSecondary" | "accentSecondaryTint" | "positiveTint" | "warningTint" | "negativeTint" | "bottomActions" | "contrastThemRev" | "warring" | "brandBackground" | "brandBackgroundHover" | "brandText" | "secondaryBrandBackground" | "secondaryBrandBackgroundHover" | "secondaryBrandText" | "outlineBrandBackground" | "outlineBrandBackgroundHover" | "outlineBrandText" | "outlineBrandBorder" | "outlineBrandBorderHover" | "systemBackground" | "systemBackgroundHover" | "systemText" | "successBackground" | "successBackgroundHover" | "successText" | "warningBackground" | "warningBackgroundHover" | "warningText" | "criticalBackground" | "criticalBackgroundHover" | "criticalText" | "neutralBackground" | "neutralBackgroundHover" | "neutralText" | "supportive" | "brand" | "brandAlpha" | "accentDark" | "red2" | "mediumBlue" | "darkBlue" | "lightBlue" | "navyBlue" | "lightBlueTint" | "orangeTint" | "greenTint" | "oliveTint" | "violetTint" | "redTint" | "pinkTint" | "turquoiseTint" | "darkBlueTint";
|
|
33
|
-
colorCategory?: "text" | "club" | "stroke" | "background" | "icons" | "interactiveButtons" | "interactiveControls" | "other" | "shadow" | "statesBackground" | "gradient";
|
|
34
|
-
} & {
|
|
35
|
-
children?: import("react").ReactNode;
|
|
36
|
-
} & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
22
|
+
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
37
23
|
ref?: import("react").Ref<HTMLElement>;
|
|
38
24
|
}, {
|
|
39
25
|
titlePosition: 'left' | 'center';
|
|
40
|
-
}>> & string & Omit<import("react").ForwardRefExoticComponent<{
|
|
41
|
-
|
|
42
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold" | {
|
|
43
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold";
|
|
44
|
-
resolution: number;
|
|
45
|
-
}[];
|
|
46
|
-
className?: string;
|
|
47
|
-
title?: string;
|
|
48
|
-
valueNumber?: number;
|
|
49
|
-
onClick?: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
50
|
-
colorName?: "link" | "content" | "black" | "blue" | "gray" | "green" | "olive" | "orange" | "pink" | "red" | "turquoise" | "violet" | "primary" | "secondary" | "tertiary" | "fourth" | "contrast" | "contrastThemed" | "accent" | "accentSecondary" | "positive" | "warning" | "negative" | "info" | "secondaryAlpha" | "field" | "fieldSecondary" | "accentSecondaryTint" | "positiveTint" | "warningTint" | "negativeTint" | "bottomActions" | "contrastThemRev" | "warring" | "brandBackground" | "brandBackgroundHover" | "brandText" | "secondaryBrandBackground" | "secondaryBrandBackgroundHover" | "secondaryBrandText" | "outlineBrandBackground" | "outlineBrandBackgroundHover" | "outlineBrandText" | "outlineBrandBorder" | "outlineBrandBorderHover" | "systemBackground" | "systemBackgroundHover" | "systemText" | "successBackground" | "successBackgroundHover" | "successText" | "warningBackground" | "warningBackgroundHover" | "warningText" | "criticalBackground" | "criticalBackgroundHover" | "criticalText" | "neutralBackground" | "neutralBackgroundHover" | "neutralText" | "supportive" | "brand" | "brandAlpha" | "accentDark" | "red2" | "mediumBlue" | "darkBlue" | "lightBlue" | "navyBlue" | "lightBlueTint" | "orangeTint" | "greenTint" | "oliveTint" | "violetTint" | "redTint" | "pinkTint" | "turquoiseTint" | "darkBlueTint";
|
|
51
|
-
colorCategory?: "text" | "club" | "stroke" | "background" | "icons" | "interactiveButtons" | "interactiveControls" | "other" | "shadow" | "statesBackground" | "gradient";
|
|
52
|
-
} & {
|
|
53
|
-
children?: import("react").ReactNode;
|
|
54
|
-
} & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
55
|
-
export declare const Subtitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
|
|
56
|
-
tag?: keyof JSX.IntrinsicElements;
|
|
57
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold" | {
|
|
58
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold";
|
|
59
|
-
resolution: number;
|
|
60
|
-
}[];
|
|
61
|
-
className?: string;
|
|
62
|
-
title?: string;
|
|
63
|
-
valueNumber?: number;
|
|
64
|
-
onClick?: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
65
|
-
colorName?: "link" | "content" | "black" | "blue" | "gray" | "green" | "olive" | "orange" | "pink" | "red" | "turquoise" | "violet" | "primary" | "secondary" | "tertiary" | "fourth" | "contrast" | "contrastThemed" | "accent" | "accentSecondary" | "positive" | "warning" | "negative" | "info" | "secondaryAlpha" | "field" | "fieldSecondary" | "accentSecondaryTint" | "positiveTint" | "warningTint" | "negativeTint" | "bottomActions" | "contrastThemRev" | "warring" | "brandBackground" | "brandBackgroundHover" | "brandText" | "secondaryBrandBackground" | "secondaryBrandBackgroundHover" | "secondaryBrandText" | "outlineBrandBackground" | "outlineBrandBackgroundHover" | "outlineBrandText" | "outlineBrandBorder" | "outlineBrandBorderHover" | "systemBackground" | "systemBackgroundHover" | "systemText" | "successBackground" | "successBackgroundHover" | "successText" | "warningBackground" | "warningBackgroundHover" | "warningText" | "criticalBackground" | "criticalBackgroundHover" | "criticalText" | "neutralBackground" | "neutralBackgroundHover" | "neutralText" | "supportive" | "brand" | "brandAlpha" | "accentDark" | "red2" | "mediumBlue" | "darkBlue" | "lightBlue" | "navyBlue" | "lightBlueTint" | "orangeTint" | "greenTint" | "oliveTint" | "violetTint" | "redTint" | "pinkTint" | "turquoiseTint" | "darkBlueTint";
|
|
66
|
-
colorCategory?: "text" | "club" | "stroke" | "background" | "icons" | "interactiveButtons" | "interactiveControls" | "other" | "shadow" | "statesBackground" | "gradient";
|
|
67
|
-
} & {
|
|
68
|
-
children?: import("react").ReactNode;
|
|
69
|
-
} & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
26
|
+
}>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
27
|
+
export declare const Subtitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
70
28
|
ref?: import("react").Ref<HTMLElement>;
|
|
71
|
-
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
|
|
72
|
-
tag?: keyof JSX.IntrinsicElements;
|
|
73
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold" | {
|
|
74
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold";
|
|
75
|
-
resolution: number;
|
|
76
|
-
}[];
|
|
77
|
-
className?: string;
|
|
78
|
-
title?: string;
|
|
79
|
-
valueNumber?: number;
|
|
80
|
-
onClick?: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
81
|
-
colorName?: "link" | "content" | "black" | "blue" | "gray" | "green" | "olive" | "orange" | "pink" | "red" | "turquoise" | "violet" | "primary" | "secondary" | "tertiary" | "fourth" | "contrast" | "contrastThemed" | "accent" | "accentSecondary" | "positive" | "warning" | "negative" | "info" | "secondaryAlpha" | "field" | "fieldSecondary" | "accentSecondaryTint" | "positiveTint" | "warningTint" | "negativeTint" | "bottomActions" | "contrastThemRev" | "warring" | "brandBackground" | "brandBackgroundHover" | "brandText" | "secondaryBrandBackground" | "secondaryBrandBackgroundHover" | "secondaryBrandText" | "outlineBrandBackground" | "outlineBrandBackgroundHover" | "outlineBrandText" | "outlineBrandBorder" | "outlineBrandBorderHover" | "systemBackground" | "systemBackgroundHover" | "systemText" | "successBackground" | "successBackgroundHover" | "successText" | "warningBackground" | "warningBackgroundHover" | "warningText" | "criticalBackground" | "criticalBackgroundHover" | "criticalText" | "neutralBackground" | "neutralBackgroundHover" | "neutralText" | "supportive" | "brand" | "brandAlpha" | "accentDark" | "red2" | "mediumBlue" | "darkBlue" | "lightBlue" | "navyBlue" | "lightBlueTint" | "orangeTint" | "greenTint" | "oliveTint" | "violetTint" | "redTint" | "pinkTint" | "turquoiseTint" | "darkBlueTint";
|
|
82
|
-
colorCategory?: "text" | "club" | "stroke" | "background" | "icons" | "interactiveButtons" | "interactiveControls" | "other" | "shadow" | "statesBackground" | "gradient";
|
|
83
|
-
} & {
|
|
84
|
-
children?: import("react").ReactNode;
|
|
85
|
-
} & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
29
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
86
30
|
export declare const BottomContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
87
31
|
export declare const CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { CSSProperties,
|
|
2
|
-
export
|
|
1
|
+
import { CSSProperties, ReactElement, ReactNode } from 'react';
|
|
2
|
+
export interface IModal {
|
|
3
3
|
/** Состояние попапа. */
|
|
4
4
|
open: boolean;
|
|
5
5
|
/** Действие при закрытии попапа. */
|
|
6
6
|
onClose: () => void;
|
|
7
|
+
/** Контент попапа. */
|
|
8
|
+
children: ReactNode;
|
|
7
9
|
/** Показывать ли кнопку закрытия. */
|
|
8
10
|
showCloseButton?: boolean;
|
|
9
11
|
/** Модалку нельзя закрыть по клику на фон или через esc. */
|
|
@@ -43,4 +45,4 @@ export type IModal = PropsWithChildren<{
|
|
|
43
45
|
maxWidth?: string;
|
|
44
46
|
/** Пропс для работы стайледов **/
|
|
45
47
|
className?: string;
|
|
46
|
-
}
|
|
48
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface IModalMobile {
|
|
3
3
|
title: string;
|
|
4
4
|
rightButtonText?: string;
|
|
5
5
|
leftButtonText?: string;
|
|
6
|
+
/** Контент попапа. */
|
|
7
|
+
children: ReactNode;
|
|
6
8
|
isOpen: boolean;
|
|
7
9
|
onClose?: () => void;
|
|
8
10
|
onLeftButton?: () => void;
|
|
9
11
|
onRightButton?: () => void;
|
|
10
12
|
closeIconVisible?: boolean;
|
|
11
|
-
}
|
|
13
|
+
}
|
|
@@ -10,37 +10,9 @@ export declare const Container: import("styled-components/dist/types").IStyledCo
|
|
|
10
10
|
export declare const NativeInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & {
|
|
11
11
|
ref?: import("react").Ref<HTMLInputElement>;
|
|
12
12
|
}>, never>, never>> & string;
|
|
13
|
-
export declare const Text: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<{
|
|
14
|
-
tag?: keyof JSX.IntrinsicElements;
|
|
15
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold" | {
|
|
16
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold";
|
|
17
|
-
resolution: number;
|
|
18
|
-
}[];
|
|
19
|
-
className?: string;
|
|
20
|
-
title?: string;
|
|
21
|
-
valueNumber?: number;
|
|
22
|
-
onClick?: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
23
|
-
colorName?: "link" | "content" | "black" | "blue" | "gray" | "green" | "olive" | "orange" | "pink" | "red" | "turquoise" | "violet" | "primary" | "secondary" | "tertiary" | "fourth" | "contrast" | "contrastThemed" | "accent" | "accentSecondary" | "positive" | "warning" | "negative" | "info" | "secondaryAlpha" | "field" | "fieldSecondary" | "accentSecondaryTint" | "positiveTint" | "warningTint" | "negativeTint" | "bottomActions" | "contrastThemRev" | "warring" | "brandBackground" | "brandBackgroundHover" | "brandText" | "secondaryBrandBackground" | "secondaryBrandBackgroundHover" | "secondaryBrandText" | "outlineBrandBackground" | "outlineBrandBackgroundHover" | "outlineBrandText" | "outlineBrandBorder" | "outlineBrandBorderHover" | "systemBackground" | "systemBackgroundHover" | "systemText" | "successBackground" | "successBackgroundHover" | "successText" | "warningBackground" | "warningBackgroundHover" | "warningText" | "criticalBackground" | "criticalBackgroundHover" | "criticalText" | "neutralBackground" | "neutralBackgroundHover" | "neutralText" | "supportive" | "brand" | "brandAlpha" | "accentDark" | "red2" | "mediumBlue" | "darkBlue" | "lightBlue" | "navyBlue" | "lightBlueTint" | "orangeTint" | "greenTint" | "oliveTint" | "violetTint" | "redTint" | "pinkTint" | "turquoiseTint" | "darkBlueTint";
|
|
24
|
-
colorCategory?: "text" | "club" | "stroke" | "background" | "icons" | "interactiveButtons" | "interactiveControls" | "other" | "shadow" | "statesBackground" | "gradient";
|
|
25
|
-
} & {
|
|
26
|
-
children?: import("react").ReactNode;
|
|
27
|
-
} & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
13
|
+
export declare const Text: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
28
14
|
ref?: import("react").Ref<HTMLElement>;
|
|
29
15
|
}, {
|
|
30
16
|
isTextLeft: boolean;
|
|
31
17
|
color: string;
|
|
32
|
-
}>> & string & Omit<import("react").ForwardRefExoticComponent<{
|
|
33
|
-
tag?: keyof JSX.IntrinsicElements;
|
|
34
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold" | {
|
|
35
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold";
|
|
36
|
-
resolution: number;
|
|
37
|
-
}[];
|
|
38
|
-
className?: string;
|
|
39
|
-
title?: string;
|
|
40
|
-
valueNumber?: number;
|
|
41
|
-
onClick?: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
42
|
-
colorName?: "link" | "content" | "black" | "blue" | "gray" | "green" | "olive" | "orange" | "pink" | "red" | "turquoise" | "violet" | "primary" | "secondary" | "tertiary" | "fourth" | "contrast" | "contrastThemed" | "accent" | "accentSecondary" | "positive" | "warning" | "negative" | "info" | "secondaryAlpha" | "field" | "fieldSecondary" | "accentSecondaryTint" | "positiveTint" | "warningTint" | "negativeTint" | "bottomActions" | "contrastThemRev" | "warring" | "brandBackground" | "brandBackgroundHover" | "brandText" | "secondaryBrandBackground" | "secondaryBrandBackgroundHover" | "secondaryBrandText" | "outlineBrandBackground" | "outlineBrandBackgroundHover" | "outlineBrandText" | "outlineBrandBorder" | "outlineBrandBorderHover" | "systemBackground" | "systemBackgroundHover" | "systemText" | "successBackground" | "successBackgroundHover" | "successText" | "warningBackground" | "warningBackgroundHover" | "warningText" | "criticalBackground" | "criticalBackgroundHover" | "criticalText" | "neutralBackground" | "neutralBackgroundHover" | "neutralText" | "supportive" | "brand" | "brandAlpha" | "accentDark" | "red2" | "mediumBlue" | "darkBlue" | "lightBlue" | "navyBlue" | "lightBlueTint" | "orangeTint" | "greenTint" | "oliveTint" | "violetTint" | "redTint" | "pinkTint" | "turquoiseTint" | "darkBlueTint";
|
|
43
|
-
colorCategory?: "text" | "club" | "stroke" | "background" | "icons" | "interactiveButtons" | "interactiveControls" | "other" | "shadow" | "statesBackground" | "gradient";
|
|
44
|
-
} & {
|
|
45
|
-
children?: import("react").ReactNode;
|
|
46
|
-
} & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
18
|
+
}>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
@@ -18,37 +18,9 @@ export declare const Item: import("styled-components/dist/types").IStyledCompone
|
|
|
18
18
|
export declare const Divider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
19
19
|
isHide: boolean;
|
|
20
20
|
}>> & string;
|
|
21
|
-
export declare const Text: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
|
|
22
|
-
tag?: keyof JSX.IntrinsicElements;
|
|
23
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold" | {
|
|
24
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold";
|
|
25
|
-
resolution: number;
|
|
26
|
-
}[];
|
|
27
|
-
className?: string;
|
|
28
|
-
title?: string;
|
|
29
|
-
valueNumber?: number;
|
|
30
|
-
onClick?: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
31
|
-
colorName?: "link" | "content" | "black" | "blue" | "gray" | "green" | "olive" | "orange" | "pink" | "red" | "turquoise" | "violet" | "primary" | "secondary" | "tertiary" | "fourth" | "contrast" | "contrastThemed" | "accent" | "accentSecondary" | "positive" | "warning" | "negative" | "info" | "secondaryAlpha" | "field" | "fieldSecondary" | "accentSecondaryTint" | "positiveTint" | "warningTint" | "negativeTint" | "bottomActions" | "contrastThemRev" | "warring" | "brandBackground" | "brandBackgroundHover" | "brandText" | "secondaryBrandBackground" | "secondaryBrandBackgroundHover" | "secondaryBrandText" | "outlineBrandBackground" | "outlineBrandBackgroundHover" | "outlineBrandText" | "outlineBrandBorder" | "outlineBrandBorderHover" | "systemBackground" | "systemBackgroundHover" | "systemText" | "successBackground" | "successBackgroundHover" | "successText" | "warningBackground" | "warningBackgroundHover" | "warningText" | "criticalBackground" | "criticalBackgroundHover" | "criticalText" | "neutralBackground" | "neutralBackgroundHover" | "neutralText" | "supportive" | "brand" | "brandAlpha" | "accentDark" | "red2" | "mediumBlue" | "darkBlue" | "lightBlue" | "navyBlue" | "lightBlueTint" | "orangeTint" | "greenTint" | "oliveTint" | "violetTint" | "redTint" | "pinkTint" | "turquoiseTint" | "darkBlueTint";
|
|
32
|
-
colorCategory?: "text" | "club" | "stroke" | "background" | "icons" | "interactiveButtons" | "interactiveControls" | "other" | "shadow" | "statesBackground" | "gradient";
|
|
33
|
-
} & {
|
|
34
|
-
children?: import("react").ReactNode;
|
|
35
|
-
} & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
21
|
+
export declare const Text: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
36
22
|
ref?: import("react").Ref<HTMLElement>;
|
|
37
|
-
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
|
|
38
|
-
tag?: keyof JSX.IntrinsicElements;
|
|
39
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold" | {
|
|
40
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold";
|
|
41
|
-
resolution: number;
|
|
42
|
-
}[];
|
|
43
|
-
className?: string;
|
|
44
|
-
title?: string;
|
|
45
|
-
valueNumber?: number;
|
|
46
|
-
onClick?: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
47
|
-
colorName?: "link" | "content" | "black" | "blue" | "gray" | "green" | "olive" | "orange" | "pink" | "red" | "turquoise" | "violet" | "primary" | "secondary" | "tertiary" | "fourth" | "contrast" | "contrastThemed" | "accent" | "accentSecondary" | "positive" | "warning" | "negative" | "info" | "secondaryAlpha" | "field" | "fieldSecondary" | "accentSecondaryTint" | "positiveTint" | "warningTint" | "negativeTint" | "bottomActions" | "contrastThemRev" | "warring" | "brandBackground" | "brandBackgroundHover" | "brandText" | "secondaryBrandBackground" | "secondaryBrandBackgroundHover" | "secondaryBrandText" | "outlineBrandBackground" | "outlineBrandBackgroundHover" | "outlineBrandText" | "outlineBrandBorder" | "outlineBrandBorderHover" | "systemBackground" | "systemBackgroundHover" | "systemText" | "successBackground" | "successBackgroundHover" | "successText" | "warningBackground" | "warningBackgroundHover" | "warningText" | "criticalBackground" | "criticalBackgroundHover" | "criticalText" | "neutralBackground" | "neutralBackgroundHover" | "neutralText" | "supportive" | "brand" | "brandAlpha" | "accentDark" | "red2" | "mediumBlue" | "darkBlue" | "lightBlue" | "navyBlue" | "lightBlueTint" | "orangeTint" | "greenTint" | "oliveTint" | "violetTint" | "redTint" | "pinkTint" | "turquoiseTint" | "darkBlueTint";
|
|
48
|
-
colorCategory?: "text" | "club" | "stroke" | "background" | "icons" | "interactiveButtons" | "interactiveControls" | "other" | "shadow" | "statesBackground" | "gradient";
|
|
49
|
-
} & {
|
|
50
|
-
children?: import("react").ReactNode;
|
|
51
|
-
} & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
23
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
52
24
|
export declare const Icon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
53
25
|
isLabel: boolean;
|
|
54
26
|
}>> & string;
|
|
@@ -1,34 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
3
|
export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
-
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
|
|
5
|
-
tag?: keyof JSX.IntrinsicElements;
|
|
6
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold" | {
|
|
7
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold";
|
|
8
|
-
resolution: number;
|
|
9
|
-
}[];
|
|
10
|
-
className?: string;
|
|
11
|
-
title?: string;
|
|
12
|
-
valueNumber?: number;
|
|
13
|
-
onClick?: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
14
|
-
colorName?: "link" | "content" | "black" | "blue" | "gray" | "green" | "olive" | "orange" | "pink" | "red" | "turquoise" | "violet" | "primary" | "secondary" | "tertiary" | "fourth" | "contrast" | "contrastThemed" | "accent" | "accentSecondary" | "positive" | "warning" | "negative" | "info" | "secondaryAlpha" | "field" | "fieldSecondary" | "accentSecondaryTint" | "positiveTint" | "warningTint" | "negativeTint" | "bottomActions" | "contrastThemRev" | "warring" | "brandBackground" | "brandBackgroundHover" | "brandText" | "secondaryBrandBackground" | "secondaryBrandBackgroundHover" | "secondaryBrandText" | "outlineBrandBackground" | "outlineBrandBackgroundHover" | "outlineBrandText" | "outlineBrandBorder" | "outlineBrandBorderHover" | "systemBackground" | "systemBackgroundHover" | "systemText" | "successBackground" | "successBackgroundHover" | "successText" | "warningBackground" | "warningBackgroundHover" | "warningText" | "criticalBackground" | "criticalBackgroundHover" | "criticalText" | "neutralBackground" | "neutralBackgroundHover" | "neutralText" | "supportive" | "brand" | "brandAlpha" | "accentDark" | "red2" | "mediumBlue" | "darkBlue" | "lightBlue" | "navyBlue" | "lightBlueTint" | "orangeTint" | "greenTint" | "oliveTint" | "violetTint" | "redTint" | "pinkTint" | "turquoiseTint" | "darkBlueTint";
|
|
15
|
-
colorCategory?: "text" | "club" | "stroke" | "background" | "icons" | "interactiveButtons" | "interactiveControls" | "other" | "shadow" | "statesBackground" | "gradient";
|
|
16
|
-
} & {
|
|
17
|
-
children?: import("react").ReactNode;
|
|
18
|
-
} & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
4
|
+
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../../../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
19
5
|
ref?: import("react").Ref<HTMLElement>;
|
|
20
|
-
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
|
|
21
|
-
tag?: keyof JSX.IntrinsicElements;
|
|
22
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold" | {
|
|
23
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold";
|
|
24
|
-
resolution: number;
|
|
25
|
-
}[];
|
|
26
|
-
className?: string;
|
|
27
|
-
title?: string;
|
|
28
|
-
valueNumber?: number;
|
|
29
|
-
onClick?: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
30
|
-
colorName?: "link" | "content" | "black" | "blue" | "gray" | "green" | "olive" | "orange" | "pink" | "red" | "turquoise" | "violet" | "primary" | "secondary" | "tertiary" | "fourth" | "contrast" | "contrastThemed" | "accent" | "accentSecondary" | "positive" | "warning" | "negative" | "info" | "secondaryAlpha" | "field" | "fieldSecondary" | "accentSecondaryTint" | "positiveTint" | "warningTint" | "negativeTint" | "bottomActions" | "contrastThemRev" | "warring" | "brandBackground" | "brandBackgroundHover" | "brandText" | "secondaryBrandBackground" | "secondaryBrandBackgroundHover" | "secondaryBrandText" | "outlineBrandBackground" | "outlineBrandBackgroundHover" | "outlineBrandText" | "outlineBrandBorder" | "outlineBrandBorderHover" | "systemBackground" | "systemBackgroundHover" | "systemText" | "successBackground" | "successBackgroundHover" | "successText" | "warningBackground" | "warningBackgroundHover" | "warningText" | "criticalBackground" | "criticalBackgroundHover" | "criticalText" | "neutralBackground" | "neutralBackgroundHover" | "neutralText" | "supportive" | "brand" | "brandAlpha" | "accentDark" | "red2" | "mediumBlue" | "darkBlue" | "lightBlue" | "navyBlue" | "lightBlueTint" | "orangeTint" | "greenTint" | "oliveTint" | "violetTint" | "redTint" | "pinkTint" | "turquoiseTint" | "darkBlueTint";
|
|
31
|
-
colorCategory?: "text" | "club" | "stroke" | "background" | "icons" | "interactiveButtons" | "interactiveControls" | "other" | "shadow" | "statesBackground" | "gradient";
|
|
32
|
-
} & {
|
|
33
|
-
children?: import("react").ReactNode;
|
|
34
|
-
} & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
6
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { IAlert } from '../Alert/Alert.typed';
|
|
3
3
|
import { IModal } from '../Modal/Modal.typed';
|
|
4
|
-
export
|
|
4
|
+
export interface ISideModal {
|
|
5
5
|
/** Состояние попапа. */
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
/** Заголовок попапа */
|
|
@@ -18,6 +18,8 @@ export type ISideModal = PropsWithChildren<{
|
|
|
18
18
|
classNameContent?: string;
|
|
19
19
|
/** Класс для хэдера попапа */
|
|
20
20
|
classNameHeader?: string;
|
|
21
|
+
/** Контент попапа. */
|
|
22
|
+
children: ReactNode;
|
|
21
23
|
/**Контент справа от заголовка*/
|
|
22
24
|
rightContent?: ReactElement;
|
|
23
25
|
/**Контент, закрепленный снизу попапа*/
|
|
@@ -34,4 +36,4 @@ export type ISideModal = PropsWithChildren<{
|
|
|
34
36
|
alert?: IAlert;
|
|
35
37
|
/** Отключить анимацию выезда из-за экрана при открытии. */
|
|
36
38
|
withoutAnimation?: boolean;
|
|
37
|
-
}
|
|
39
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { CSSProperties,
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import { IHiddenTextWithoutChildren } from '../../../HiddenText/HiddenText.typed';
|
|
3
|
-
|
|
3
|
+
interface IProps {
|
|
4
|
+
/**Контента внутри элемента */
|
|
5
|
+
children: ReactNode;
|
|
4
6
|
hiddenText?: IHiddenTextWithoutChildren;
|
|
5
7
|
/** Не переносить текст на новую строку, как наиболее часто используемое вынес */
|
|
6
8
|
nowrap?: boolean;
|
|
@@ -10,6 +12,6 @@ type IProps = PropsWithChildren<{
|
|
|
10
12
|
className?: string;
|
|
11
13
|
/**Если вам надо покарсить число в позитивный или негативный цвет, то передайте это числю сюда. */
|
|
12
14
|
valueNumber?: number;
|
|
13
|
-
}
|
|
15
|
+
}
|
|
14
16
|
declare const TCellText: ({ children, hiddenText, style, className, valueNumber, nowrap }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
17
|
export { TCellText };
|
|
@@ -18,34 +18,6 @@ export declare const Mute: import("styled-components/dist/types").IStyledCompone
|
|
|
18
18
|
export declare const LeftButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../ArrowButton/ArrowButton.typed").IArrowButton, never>> & string & Omit<({ direction, className, style, size, onClick, disabled }: import("../ArrowButton/ArrowButton.typed").IArrowButton) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
19
19
|
export declare const RightButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../ArrowButton/ArrowButton.typed").IArrowButton, never>> & string & Omit<({ direction, className, style, size, onClick, disabled }: import("../ArrowButton/ArrowButton.typed").IArrowButton) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
20
20
|
export declare const NewTabCircle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
21
|
-
export declare const NewLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<{
|
|
22
|
-
tag?: keyof JSX.IntrinsicElements;
|
|
23
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold" | {
|
|
24
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold";
|
|
25
|
-
resolution: number;
|
|
26
|
-
}[];
|
|
27
|
-
className?: string;
|
|
28
|
-
title?: string;
|
|
29
|
-
valueNumber?: number;
|
|
30
|
-
onClick?: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
31
|
-
colorName?: "link" | "content" | "black" | "blue" | "gray" | "green" | "olive" | "orange" | "pink" | "red" | "turquoise" | "violet" | "primary" | "secondary" | "tertiary" | "fourth" | "contrast" | "contrastThemed" | "accent" | "accentSecondary" | "positive" | "warning" | "negative" | "info" | "secondaryAlpha" | "field" | "fieldSecondary" | "accentSecondaryTint" | "positiveTint" | "warningTint" | "negativeTint" | "bottomActions" | "contrastThemRev" | "warring" | "brandBackground" | "brandBackgroundHover" | "brandText" | "secondaryBrandBackground" | "secondaryBrandBackgroundHover" | "secondaryBrandText" | "outlineBrandBackground" | "outlineBrandBackgroundHover" | "outlineBrandText" | "outlineBrandBorder" | "outlineBrandBorderHover" | "systemBackground" | "systemBackgroundHover" | "systemText" | "successBackground" | "successBackgroundHover" | "successText" | "warningBackground" | "warningBackgroundHover" | "warningText" | "criticalBackground" | "criticalBackgroundHover" | "criticalText" | "neutralBackground" | "neutralBackgroundHover" | "neutralText" | "supportive" | "brand" | "brandAlpha" | "accentDark" | "red2" | "mediumBlue" | "darkBlue" | "lightBlue" | "navyBlue" | "lightBlueTint" | "orangeTint" | "greenTint" | "oliveTint" | "violetTint" | "redTint" | "pinkTint" | "turquoiseTint" | "darkBlueTint";
|
|
32
|
-
colorCategory?: "text" | "club" | "stroke" | "background" | "icons" | "interactiveButtons" | "interactiveControls" | "other" | "shadow" | "statesBackground" | "gradient";
|
|
33
|
-
} & {
|
|
34
|
-
children?: import("react").ReactNode;
|
|
35
|
-
} & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
21
|
+
export declare const NewLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
36
22
|
ref?: import("react").Ref<HTMLElement>;
|
|
37
|
-
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<{
|
|
38
|
-
tag?: keyof JSX.IntrinsicElements;
|
|
39
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold" | {
|
|
40
|
-
variant: "header1-Bold" | "header2-ExtraBold" | "header2-Bold" | "header3-Bold" | "header3-SemiBold" | "header4-Bold" | "header4-SemiBold" | "header5-Bold" | "header5-SemiBold" | "header6-Bold" | "header6-SemiBold" | "paragraph-Regular" | "paragraph-Medium" | "text-Regular" | "text-Medium" | "text-Bold" | "description-Regular" | "description-Medium" | "description-SemiBold" | "description-Bold" | "caption-Medium" | "caption-SemiBold" | "caption-Bold" | "caption2-Medium" | "caption2-SemiBold" | "caption2-Bold" | "tag-Medium11" | "tag-Medium10" | "tag-Medium9" | "controls-Regular" | "controls-Medium" | "controls-SemiBold";
|
|
41
|
-
resolution: number;
|
|
42
|
-
}[];
|
|
43
|
-
className?: string;
|
|
44
|
-
title?: string;
|
|
45
|
-
valueNumber?: number;
|
|
46
|
-
onClick?: (e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
47
|
-
colorName?: "link" | "content" | "black" | "blue" | "gray" | "green" | "olive" | "orange" | "pink" | "red" | "turquoise" | "violet" | "primary" | "secondary" | "tertiary" | "fourth" | "contrast" | "contrastThemed" | "accent" | "accentSecondary" | "positive" | "warning" | "negative" | "info" | "secondaryAlpha" | "field" | "fieldSecondary" | "accentSecondaryTint" | "positiveTint" | "warningTint" | "negativeTint" | "bottomActions" | "contrastThemRev" | "warring" | "brandBackground" | "brandBackgroundHover" | "brandText" | "secondaryBrandBackground" | "secondaryBrandBackgroundHover" | "secondaryBrandText" | "outlineBrandBackground" | "outlineBrandBackgroundHover" | "outlineBrandText" | "outlineBrandBorder" | "outlineBrandBorderHover" | "systemBackground" | "systemBackgroundHover" | "systemText" | "successBackground" | "successBackgroundHover" | "successText" | "warningBackground" | "warningBackgroundHover" | "warningText" | "criticalBackground" | "criticalBackgroundHover" | "criticalText" | "neutralBackground" | "neutralBackgroundHover" | "neutralText" | "supportive" | "brand" | "brandAlpha" | "accentDark" | "red2" | "mediumBlue" | "darkBlue" | "lightBlue" | "navyBlue" | "lightBlueTint" | "orangeTint" | "greenTint" | "oliveTint" | "violetTint" | "redTint" | "pinkTint" | "turquoiseTint" | "darkBlueTint";
|
|
48
|
-
colorCategory?: "text" | "club" | "stroke" | "background" | "icons" | "interactiveButtons" | "interactiveControls" | "other" | "shadow" | "statesBackground" | "gradient";
|
|
49
|
-
} & {
|
|
50
|
-
children?: import("react").ReactNode;
|
|
51
|
-
} & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
23
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { Placement } from '@floating-ui/react';
|
|
3
3
|
import { ITooltipProps } from './Tooltip.typed';
|
|
4
4
|
export declare function useTooltip({ placement, isHover, showArrow }: {
|
|
@@ -56,12 +56,13 @@ declare const Tooltip: ({ children, width, height, zIndex, padding, borderRadius
|
|
|
56
56
|
export declare const TooltipTrigger: ({ targetElement }: {
|
|
57
57
|
targetElement: React.ReactNode;
|
|
58
58
|
}) => React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
59
|
-
export declare const TooltipContent: ({ children, width, height, zIndex, padding, borderRadius, showArrow }:
|
|
59
|
+
export declare const TooltipContent: ({ children, width, height, zIndex, padding, borderRadius, showArrow }: {
|
|
60
|
+
children: ReactNode;
|
|
60
61
|
width: string;
|
|
61
62
|
height: string;
|
|
62
63
|
zIndex: number;
|
|
63
64
|
padding: string;
|
|
64
65
|
borderRadius: string;
|
|
65
66
|
showArrow: boolean;
|
|
66
|
-
}
|
|
67
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
67
68
|
export { Tooltip };
|