profinansy-ui-lib 4.0.73 → 4.0.75
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/blocks/Navigation/components/Premium/components/ModalQuiz/useQuizModal.d.ts +13 -0
- package/dist/components/blocks/headerV2/HeaderV2.context.d.ts +10 -0
- package/dist/components/blocks/headerV2/components/Burger/Burger.d.ts +1 -4
- package/dist/components/blocks/headerV2/components/Burger/components/Item/Item.styled.d.ts +4 -4
- package/dist/components/blocks/headerV2/components/Burger/components/Menu/Menu.d.ts +1 -2
- package/dist/components/blocks/headerV2/components/Burger/components/SupPages/SubPages.styled.d.ts +3 -3
- package/dist/components/blocks/headerV2/components/HeaderRight/HeaderRight.d.ts +1 -5
- package/dist/components/blocks/headerV2/components/LinksList/LinksList.d.ts +1 -2
- package/dist/components/blocks/headerV2/components/Notification/Notification.styled.d.ts +1 -1
- package/dist/components/blocks/headerV2/components/header-link-item/components/MoreItemsV2/MoreItemsV2.d.ts +1 -1
- package/dist/components/blocks/headerV2/components/header-link-item/header-link-itemV2.d.ts +1 -1
- package/dist/components/blocks/headerV2/components/userMenu/UserMenuDesktop.d.ts +1 -6
- package/dist/components/blocks/headerV2/components/userMenu/UserMenuMobile.d.ts +1 -4
- package/dist/components/blocks/headerV2/components/userMenu/userMenu.d.ts +1 -6
- package/dist/components/blocks/headerV2/components/versions/HeaderDesktop.d.ts +1 -6
- package/dist/components/blocks/headerV2/components/versions/HeaderMobile.d.ts +1 -6
- package/dist/components/blocks/headerV2/{contstants → constants}/linksV2.d.ts +1 -1
- package/dist/components/blocks/headerV2/headerV2.d.ts +1 -1
- package/dist/components/blocks/headerV2/headerV2.util.d.ts +3 -0
- package/dist/components/blocks/headerV2/hooks/useGetNotificationsCount.d.ts +3 -1
- package/dist/components/blocks/search/Search.utils.d.ts +1 -1
- package/dist/components/blocks/search/components/InstrumentItem/InstrumentItem.styled.d.ts +1 -1
- package/dist/components/blocks/sideMenuV2/SideMenuV2.const.d.ts +3 -0
- package/dist/components/blocks/sideMenuV2/SideMenuV2.d.ts +2 -2
- package/dist/components/blocks/sideMenuV2/{SideModalV2.typed.d.ts → SideMenuV2.typed.d.ts} +2 -5
- package/dist/components/blocks/sideMenuV2/components/Banner/Banner.d.ts +1 -2
- package/dist/components/blocks/sideMenuV2/components/SubPages/SubPages.styled.d.ts +1 -3
- package/dist/components/blocks/sideMenuV2/components/SubPagesSide/SubPagesSide.styled.d.ts +1 -3
- package/dist/components/uikit/ButtonPaging/ButtonPaging.d.ts +2 -1
- package/dist/components/uikit/Checkbox/Checkbox.d.ts +2 -1
- package/dist/components/uikit/Checkbox/Checkbox.styled.d.ts +5 -5
- package/dist/components/uikit/Checkbox/Checkbox.typed.d.ts +2 -0
- package/dist/components/uikit/Datepicker/components/Header/Header.styled.d.ts +1 -1
- package/dist/components/uikit/DragScroll/DragScroll.d.ts +3 -3
- package/dist/components/uikit/Dropdown/Dropdown.styled.d.ts +5 -5
- package/dist/components/uikit/ErrorText/ErrorText.d.ts +1 -1
- package/dist/components/uikit/ErrorText/ErrorText.typed.d.ts +2 -0
- package/dist/components/uikit/FilterButton/components/Drop/Drop.styled.d.ts +5 -5
- package/dist/components/uikit/Loader/index.d.ts +1 -1
- package/dist/components/uikit/Modal/Modal.styled.d.ts +2 -2
- package/dist/components/uikit/ModalMobile/ModalMobile.styled.d.ts +2 -2
- package/dist/components/uikit/Radio/Radio.d.ts +2 -1
- package/dist/components/uikit/Radio/Radio.styled.d.ts +3 -3
- package/dist/components/uikit/Radio/Radio.typed.d.ts +2 -0
- package/dist/components/uikit/ScreenerSelect/index.d.ts +1 -1
- package/dist/components/uikit/Select/index.d.ts +1 -1
- package/dist/components/uikit/SortingButton/SortingButton.styled.d.ts +1 -1
- package/dist/components/uikit/Switch/Switch.d.ts +3 -2
- package/dist/components/uikit/Switch/Switch.styled.d.ts +1 -1
- package/dist/components/uikit/TextWithPopup/TextWithPopup.d.ts +1 -1
- package/dist/components/uikit/TextWithPopup/index.d.ts +1 -0
- package/dist/components/uikit/Textarea/Textarea.typed.d.ts +1 -1
- package/dist/constants/common.d.ts +4 -0
- package/dist/hooks/useMenuItemLogic.d.ts +30 -0
- package/dist/localization/translations/urls.d.ts +2 -0
- package/dist/profinansy-ui-lib.cjs.js +890 -900
- package/dist/profinansy-ui-lib.cjs.js.map +1 -1
- package/dist/profinansy-ui-lib.es.js +7739 -7694
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/theme/theme.const.d.ts +7 -0
- package/dist/urls/productsV2/about/about.d.ts +22 -4
- package/package.json +1 -1
- package/dist/components/blocks/sideMenuV2/SideModalV2.const.d.ts +0 -3
- package/dist/components/blocks/sideMenuV2/components/Banner/Banner.styled.d.ts +0 -4
- /package/dist/components/blocks/headerV2/{HeaderV2.types.d.ts → HeaderV2.typed.d.ts} +0 -0
- /package/dist/components/uikit/Switch/{Switched.typed.d.ts → Switch.typed.d.ts} +0 -0
package/dist/components/blocks/Navigation/components/Premium/components/ModalQuiz/useQuizModal.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { THeaderLinkSubPage } from '../../../../../../../common.types';
|
|
3
|
+
/**
|
|
4
|
+
* Хук для управления модалкой Premium.
|
|
5
|
+
* Инкапсулирует состояние, проверку роли и рендер ModalQuiz.
|
|
6
|
+
*
|
|
7
|
+
* @returns setShowQuiz — функция для открытия модалки (передать данные страницы)
|
|
8
|
+
* @returns QuizModal — JSX-элемент модалки (null если роль не подходит)
|
|
9
|
+
*/
|
|
10
|
+
export declare const useQuizModal: () => {
|
|
11
|
+
setShowQuiz: React.Dispatch<React.SetStateAction<THeaderLinkSubPage>>;
|
|
12
|
+
QuizModal: import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface IHeaderV2Context {
|
|
3
|
+
leaderBoardPermission: boolean;
|
|
4
|
+
isPossibleTrial: boolean;
|
|
5
|
+
isEmployee: boolean;
|
|
6
|
+
onLogout: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const HeaderV2Context: import("react").Context<IHeaderV2Context>;
|
|
9
|
+
export declare const useHeaderV2Context: () => IHeaderV2Context;
|
|
10
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
isActive: boolean;
|
|
3
|
+
$isOpen: boolean;
|
|
4
|
+
$isActive: boolean;
|
|
5
5
|
}>> & string;
|
|
6
6
|
export declare const TextContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
7
|
-
isActive: boolean;
|
|
7
|
+
$isActive: boolean;
|
|
8
8
|
}>> & string;
|
|
9
9
|
export declare const Text: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
10
|
-
isActive: boolean;
|
|
10
|
+
$isActive: boolean;
|
|
11
11
|
}>> & string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
interface IProps {
|
|
2
|
-
isLeaderboardPermission: boolean;
|
|
3
2
|
isOpenSearch: boolean;
|
|
4
3
|
}
|
|
5
|
-
declare const BurgerMenu: ({
|
|
4
|
+
declare const BurgerMenu: ({ isOpenSearch }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export { BurgerMenu };
|
package/dist/components/blocks/headerV2/components/Burger/components/SupPages/SubPages.styled.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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 Item: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
-
isActive: boolean;
|
|
5
|
-
isLocked: boolean;
|
|
6
|
-
isOpen: boolean;
|
|
4
|
+
$isActive: boolean;
|
|
5
|
+
$isLocked: boolean;
|
|
6
|
+
$isOpen: boolean;
|
|
7
7
|
}>> & string;
|
|
8
8
|
export declare const Symbols: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
isPossibleTrial: boolean;
|
|
3
|
-
onLogout: () => void;
|
|
4
|
-
}
|
|
5
|
-
declare const HeaderRight: ({ isPossibleTrial, onLogout }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
declare const HeaderRight: () => import("react/jsx-runtime").JSX.Element;
|
|
6
2
|
export { HeaderRight };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
interface IProps {
|
|
2
|
-
leaderBoardPermission: boolean;
|
|
3
2
|
isOpenSearch: boolean;
|
|
4
3
|
}
|
|
5
|
-
declare const LinksList: ({
|
|
4
|
+
declare const LinksList: ({ isOpenSearch }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export { LinksList };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const Wrapper: 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 NotificationsCount: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
-
notificationsCount: number;
|
|
4
|
+
$notificationsCount: number;
|
|
5
5
|
}>> & string;
|
|
6
6
|
export declare const NotificationButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { THeaderLinksV2 } from '../../../../
|
|
2
|
+
import { THeaderLinksV2 } from '../../../../constants/linksV2';
|
|
3
3
|
import { IBannerListItem } from '../../../../../../../api/banner/banner.typed';
|
|
4
4
|
type TProps = {
|
|
5
5
|
isOpen: boolean;
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
isPossibleTrial: boolean;
|
|
3
|
-
onLogout: () => void;
|
|
4
|
-
}
|
|
5
|
-
export declare const UserMenuDesktop: ({ isPossibleTrial, onLogout }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
1
|
+
export declare const UserMenuDesktop: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
|
|
2
|
-
onLogout: () => void;
|
|
3
|
-
isPossibleTrial: boolean;
|
|
4
|
-
}
|
|
5
|
-
export declare const UserMenu: ({ onLogout, isPossibleTrial }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
|
1
|
+
export declare const UserMenu: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
leaderBoardPermission: boolean;
|
|
3
|
-
isPossibleTrial: boolean;
|
|
4
|
-
onLogout: () => void;
|
|
5
|
-
}
|
|
6
|
-
declare const HeaderDesktop: ({ leaderBoardPermission, isPossibleTrial, onLogout }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
declare const HeaderDesktop: () => import("react/jsx-runtime").JSX.Element;
|
|
7
2
|
export { HeaderDesktop };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
leaderBoardPermission: boolean;
|
|
3
|
-
isPossibleTrial: boolean;
|
|
4
|
-
onLogout: () => void;
|
|
5
|
-
}
|
|
6
|
-
declare const HeaderMobile: ({ leaderBoardPermission, isPossibleTrial, onLogout }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
declare const HeaderMobile: () => import("react/jsx-runtime").JSX.Element;
|
|
7
2
|
export { HeaderMobile };
|
|
@@ -46,4 +46,4 @@ export type THeaderLinksV2 = {
|
|
|
46
46
|
href?: string;
|
|
47
47
|
config: HeaderDropdownConfig;
|
|
48
48
|
};
|
|
49
|
-
export declare const useGetMainLinksV2: (hostname: string, hostnameLenta: string, hostnameLMS: string, leaderBoardPermission: boolean, userRole: UserRole, userType: number, isMobile?: boolean) => THeaderLinksV2[];
|
|
49
|
+
export declare const useGetMainLinksV2: (hostname: string, hostnameLenta: string, hostnameLMS: string, leaderBoardPermission: boolean, userRole: UserRole, userType: number, isMobile?: boolean, isEmployee?: boolean) => THeaderLinksV2[];
|
|
@@ -4,3 +4,6 @@ export declare const getTrial: (rights: Record<string, number | string>, purchas
|
|
|
4
4
|
isPossibleTrial: any;
|
|
5
5
|
};
|
|
6
6
|
export declare const getDropdownsLinksColor: (theme: TTheme, isActive: boolean, isLocked: boolean) => string;
|
|
7
|
+
export declare const getEmployee: (rights: Record<string, number | string>) => {
|
|
8
|
+
isEmployee: boolean;
|
|
9
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TSideMenuCategory } from '../sideMenuV2/
|
|
1
|
+
import { TSideMenuCategory } from '../sideMenuV2/SideMenuV2.typed';
|
|
2
2
|
import { SearchCategories } from './Search.const';
|
|
3
3
|
import { IInstrumentSearch } from '../../../api/search/search.typed';
|
|
4
4
|
export declare const convertSideMenuCategoryToSearch: (category: TSideMenuCategory) => SearchCategories.invest | SearchCategories.money | SearchCategories.idv | SearchCategories.lms | SearchCategories.calculators | SearchCategories.method;
|
|
@@ -12,7 +12,7 @@ export declare const Text: import("styled-components/dist/types").IStyledCompone
|
|
|
12
12
|
export declare const Right: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
13
|
export declare const Profit: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
14
14
|
export declare const PriceContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
15
|
-
isProfit: boolean;
|
|
15
|
+
$isProfit: boolean;
|
|
16
16
|
}>> & string;
|
|
17
17
|
export declare const Price: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
18
18
|
ref?: import("react").Ref<HTMLElement>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { TSideMenuCategory } from './SideMenuV2.typed';
|
|
2
|
+
import { UserRole } from '../../../common.types';
|
|
3
|
+
export declare const useGetSideMenuData: (category: TSideMenuCategory, hostname: string, hostnameLenta: string, hostnameLMS: string, userRole: UserRole, isLeaderboardPermission: boolean, isEmployee?: boolean) => any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ISideModal } from './
|
|
2
|
+
import { ISideModal } from './SideMenuV2.typed';
|
|
3
3
|
export declare const SideMenuV2Context: React.Context<{
|
|
4
4
|
apiSettings: any;
|
|
5
5
|
setShowQuiz: any;
|
|
6
6
|
LinkWrapper: any;
|
|
7
7
|
}>;
|
|
8
|
-
declare const SideMenuV2: ({
|
|
8
|
+
declare const SideMenuV2: ({ bannerCodes, category, isLeaderboardPermission, userRole, apiSettings, footerSlot, LinkWrapper, isBurgerMode, excludePages, isHoverMode, isEmployee }: ISideModal) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export { SideMenuV2 };
|
|
@@ -3,11 +3,7 @@ import { IApiSettings } from '../../../api/api';
|
|
|
3
3
|
import { ReactNode, ElementType } from 'react';
|
|
4
4
|
export type TSideMenuCategory = 'goals' | 'myMoney' | 'portfolios' | 'calculators' | 'investment' | 'education' | 'profile' | 'idv' | 'method' | 'feed' | 'about';
|
|
5
5
|
export interface ISideModal {
|
|
6
|
-
|
|
7
|
-
href?: string;
|
|
8
|
-
image: string;
|
|
9
|
-
onClick?: () => void;
|
|
10
|
-
}[];
|
|
6
|
+
bannerCodes?: string[];
|
|
11
7
|
userRole: UserRole;
|
|
12
8
|
isLeaderboardPermission: boolean;
|
|
13
9
|
category: TSideMenuCategory;
|
|
@@ -17,4 +13,5 @@ export interface ISideModal {
|
|
|
17
13
|
isBurgerMode?: boolean;
|
|
18
14
|
isHoverMode?: boolean;
|
|
19
15
|
excludePages?: string[];
|
|
16
|
+
isEmployee?: boolean;
|
|
20
17
|
}
|
|
@@ -6,9 +6,7 @@ export declare const Button: import("styled-components/dist/types").IStyledCompo
|
|
|
6
6
|
$isLocked: boolean;
|
|
7
7
|
$isOpen: boolean;
|
|
8
8
|
}>> & string;
|
|
9
|
-
export declare const Lock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components
|
|
10
|
-
isActive?: boolean;
|
|
11
|
-
}>> & string & ({} | Omit<ComponentType<void>, keyof import("react").Component<any, {}, any>>);
|
|
9
|
+
export declare const Lock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<any, never>> & string & ({} | Omit<ComponentType<void>, keyof import("react").Component<any, {}, any>>);
|
|
12
10
|
export declare const New: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
13
11
|
ref?: import("react").Ref<HTMLElement>;
|
|
14
12
|
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../../../uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
@@ -6,6 +6,4 @@ export declare const Container: import("styled-components/dist/types").IStyledCo
|
|
|
6
6
|
export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
7
7
|
$isActive: boolean;
|
|
8
8
|
}>> & string;
|
|
9
|
-
export declare const Lock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components
|
|
10
|
-
isActive?: boolean;
|
|
11
|
-
}>> & string & ({} | Omit<ComponentType<void>, keyof import("react").Component<any, {}, any>>);
|
|
9
|
+
export declare const Lock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<any, never>> & string & ({} | Omit<ComponentType<void>, keyof import("react").Component<any, {}, any>>);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { IButtonPaging } from './ButtonPaging.typed';
|
|
2
|
-
declare const ButtonPaging:
|
|
3
|
+
declare const ButtonPaging: React.ForwardRefExoticComponent<IButtonPaging & React.RefAttributes<HTMLButtonElement>>;
|
|
3
4
|
export { ButtonPaging };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ICheckbox } from './Checkbox.typed';
|
|
2
|
-
declare const Checkbox:
|
|
3
|
+
declare const Checkbox: React.ForwardRefExoticComponent<ICheckbox & React.RefAttributes<HTMLInputElement>>;
|
|
3
4
|
export { Checkbox };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CheckboxForm, CheckboxSize, ICheckbox } from './Checkbox.typed';
|
|
3
3
|
declare const Element: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
4
|
-
size: CheckboxSize;
|
|
5
|
-
form: CheckboxForm;
|
|
4
|
+
$size: CheckboxSize;
|
|
5
|
+
$form: CheckboxForm;
|
|
6
6
|
}>> & string;
|
|
7
7
|
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"> & {
|
|
8
8
|
ref?: import("react").Ref<HTMLInputElement>;
|
|
@@ -13,12 +13,12 @@ declare const Container: import("styled-components/dist/types").IStyledComponent
|
|
|
13
13
|
$readonly: boolean;
|
|
14
14
|
}>> & string;
|
|
15
15
|
export declare const HtmlText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
16
|
-
isTextLeft: boolean;
|
|
16
|
+
$isTextLeft: boolean;
|
|
17
17
|
}>> & string;
|
|
18
18
|
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"> & {
|
|
19
19
|
ref?: import("react").Ref<HTMLElement>;
|
|
20
20
|
}, {
|
|
21
|
-
isTextLeft: boolean;
|
|
22
|
-
color: string;
|
|
21
|
+
$isTextLeft: boolean;
|
|
22
|
+
$color: string;
|
|
23
23
|
}>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
24
24
|
export { NativeInput, Container, Element, Text };
|
|
@@ -32,6 +32,8 @@ export interface ICheckbox {
|
|
|
32
32
|
className?: string;
|
|
33
33
|
/** Дизейбл. */
|
|
34
34
|
disabled?: boolean;
|
|
35
|
+
/** Aria-label для доступности (если нет текста). */
|
|
36
|
+
'aria-label'?: string;
|
|
35
37
|
/** Действие при нажатии на контроллер. */
|
|
36
38
|
onChange?: (value: boolean, e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
37
39
|
}
|
|
@@ -7,5 +7,5 @@ export declare const Year: import("styled-components/dist/types").IStyledCompone
|
|
|
7
7
|
ref?: import("react").Ref<HTMLSpanElement>;
|
|
8
8
|
}, never>> & string;
|
|
9
9
|
export declare const Item: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
10
|
-
isActiveItem: boolean;
|
|
10
|
+
$isActiveItem: boolean;
|
|
11
11
|
}>> & string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React
|
|
2
|
-
interface IProps {
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
declare const DragScroll:
|
|
5
|
+
declare const DragScroll: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export { DragScroll };
|
|
@@ -1,11 +1,11 @@
|
|
|
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 Tooltip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
-
width?: string;
|
|
5
|
-
height?: string;
|
|
6
|
-
mode: string;
|
|
4
|
+
$width?: string;
|
|
5
|
+
$height?: string;
|
|
6
|
+
$mode: string;
|
|
7
7
|
}>> & string;
|
|
8
8
|
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
9
|
-
height?: string;
|
|
10
|
-
padding?: string;
|
|
9
|
+
$height?: string;
|
|
10
|
+
$padding?: string;
|
|
11
11
|
}>> & string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const Tooltip: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
|
-
widthDrop: number;
|
|
4
|
-
heightDrop: number;
|
|
5
|
-
mode: string;
|
|
3
|
+
$widthDrop: number;
|
|
4
|
+
$heightDrop: number;
|
|
5
|
+
$mode: string;
|
|
6
6
|
}>> & string;
|
|
7
7
|
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
8
|
-
padding: string;
|
|
9
|
-
heightDrop: number;
|
|
8
|
+
$padding: string;
|
|
9
|
+
$heightDrop: number;
|
|
10
10
|
}>> & string;
|
|
11
11
|
export declare const Footer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Loader } from './Loader';
|
|
2
|
-
export { SizeLoader } from './Loader.typed';
|
|
2
|
+
export type { SizeLoader } from './Loader.typed';
|
|
@@ -16,12 +16,12 @@ export declare const ContentInside: import("styled-components/dist/types").IStyl
|
|
|
16
16
|
}>> & string;
|
|
17
17
|
export declare const Header: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
18
18
|
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>, {
|
|
19
|
-
adaptiveRightContent: number;
|
|
19
|
+
$adaptiveRightContent: number;
|
|
20
20
|
}>> & string;
|
|
21
21
|
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"> & {
|
|
22
22
|
ref?: import("react").Ref<HTMLElement>;
|
|
23
23
|
}, {
|
|
24
|
-
titlePosition: 'left' | 'center';
|
|
24
|
+
$titlePosition: 'left' | 'center';
|
|
25
25
|
}>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
26
26
|
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"> & {
|
|
27
27
|
ref?: import("react").Ref<HTMLElement>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
|
-
isOpen: boolean;
|
|
3
|
+
$isOpen: boolean;
|
|
4
4
|
}>> & string;
|
|
5
5
|
declare const Layout: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
6
|
declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
7
|
-
isOpen: boolean;
|
|
7
|
+
$isOpen: boolean;
|
|
8
8
|
}>> & string;
|
|
9
9
|
declare const Header: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
10
|
declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { IRadio } from './Radio.typed';
|
|
2
|
-
declare const Radio:
|
|
3
|
+
declare const Radio: React.ForwardRefExoticComponent<IRadio & React.RefAttributes<HTMLInputElement>>;
|
|
3
4
|
export { Radio };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IRadio, RadioSize } from './Radio.typed';
|
|
3
3
|
export declare const Element: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
4
|
-
size: RadioSize;
|
|
4
|
+
$size: RadioSize;
|
|
5
5
|
}>> & string;
|
|
6
6
|
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
|
|
7
7
|
$verticalAlign: IRadio['verticalAlign'];
|
|
@@ -13,6 +13,6 @@ export declare const NativeInput: import("styled-components/dist/types").IStyled
|
|
|
13
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"> & {
|
|
14
14
|
ref?: import("react").Ref<HTMLElement>;
|
|
15
15
|
}, {
|
|
16
|
-
isTextLeft: boolean;
|
|
17
|
-
color: string;
|
|
16
|
+
$isTextLeft: boolean;
|
|
17
|
+
$color: string;
|
|
18
18
|
}>> & string & Omit<import("react").ForwardRefExoticComponent<import("../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
@@ -22,6 +22,8 @@ export interface IRadio {
|
|
|
22
22
|
color?: string;
|
|
23
23
|
/**Добавить подсказку к полю*/
|
|
24
24
|
hint?: IPopup;
|
|
25
|
+
/** Aria-label для доступности (если нет текста). */
|
|
26
|
+
'aria-label'?: string;
|
|
25
27
|
/** Действие при нажатии на контроллер. */
|
|
26
28
|
onChange?: (value: string, e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
27
29
|
}
|
|
@@ -2,6 +2,6 @@ declare const ScreenerSelectOptions: {
|
|
|
2
2
|
OptionWithCheckbox: ({ children, ...props }: import("react-select").OptionProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
ValueContainer: ({ children, ...props }: import("react-select").ValueContainerProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
};
|
|
5
|
-
export { IOption as ISelectOption } from './ScreenerSelect.typed';
|
|
5
|
+
export type { IOption as ISelectOption } from './ScreenerSelect.typed';
|
|
6
6
|
export { ScreenerSelect } from './ScreenerSelect';
|
|
7
7
|
export { ScreenerSelectOptions };
|
|
@@ -5,6 +5,6 @@ declare const Select: {
|
|
|
5
5
|
ValueContainer: ({ children, ...props }: import("react-select").ValueContainerProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
MultiValueLabelWithImg: (props: any) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
};
|
|
8
|
-
export { IOption as ISelectOption } from './SelectInput.typed';
|
|
8
|
+
export type { IOption as ISelectOption } from './SelectInput.typed';
|
|
9
9
|
export { SelectInput } from './Select';
|
|
10
10
|
export { Select };
|
|
@@ -5,7 +5,7 @@ export declare const Button: import("styled-components/dist/types").IStyledCompo
|
|
|
5
5
|
$isMobileWithoutText: boolean;
|
|
6
6
|
}>> & string;
|
|
7
7
|
export declare const Item: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
8
|
-
isActive: boolean;
|
|
8
|
+
$isActive: boolean;
|
|
9
9
|
}>> & string;
|
|
10
10
|
export declare const DotContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
11
|
export declare const Dot: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ISwitch } from './Switch.typed';
|
|
3
|
+
declare const Switch: React.ForwardRefExoticComponent<ISwitch & React.RefAttributes<HTMLInputElement>>;
|
|
3
4
|
export { Switch };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SwitchSize } from './
|
|
2
|
+
import { SwitchSize } from './Switch.typed';
|
|
3
3
|
declare const Hint: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
4
|
declare const Element: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
5
5
|
$size: SwitchSize;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TextWithPopup } from './TextWithPopup';
|
|
@@ -9,7 +9,7 @@ export interface ITextarea {
|
|
|
9
9
|
autoFocus?: boolean;
|
|
10
10
|
resize?: 'both' | 'horizontal' | 'vertical' | 'none';
|
|
11
11
|
maxLength?: number;
|
|
12
|
-
onChange
|
|
12
|
+
onChange?: (value: string, e: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
13
13
|
onKeyDown?: (evt: React.KeyboardEvent<HTMLTextAreaElement>) => void;
|
|
14
14
|
onFocus?: (evt: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
15
15
|
onBlur?: (evt: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
@@ -7,6 +7,10 @@ export declare function getHeightHeaderV2(asNumber: true): number;
|
|
|
7
7
|
export declare const TABLET_WIDTH_V2 = 1100;
|
|
8
8
|
export declare const TABLET_WIDTH = 960;
|
|
9
9
|
export declare const MOBILE_WIDTH = 600;
|
|
10
|
+
/** Стандартный отступ от нижней границы хедера до контента (px) */
|
|
11
|
+
export declare const BELOW_HEADER_GAP = 24;
|
|
12
|
+
/** Суммарный вертикальный отступ (top + bottom) для панелей под хедером (px) */
|
|
13
|
+
export declare const BELOW_HEADER_PADDING_TOTAL = 48;
|
|
10
14
|
export declare const REQUEST_METHOD: Record<TMethod, TMethod>;
|
|
11
15
|
export declare const apiUrl: string;
|
|
12
16
|
export declare const lmsApiUrl: string;
|