profinansy-ui-lib 4.1.34 → 4.1.35
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/footerNew/components/AppPromotion/AppPromotion.const.d.ts +119 -0
- package/dist/components/blocks/footerNew/components/AppPromotion/AppPromotion.d.ts +5 -0
- package/dist/components/blocks/footerNew/components/AppPromotion/AppPromotion.styled.d.ts +19 -0
- package/dist/components/blocks/footerNew/components/AppPromotion/index.d.ts +1 -0
- package/dist/components/blocks/footerNew/components/Legal/FooterThemeToggle.d.ts +2 -0
- package/dist/components/blocks/footerNew/components/Legal/Legal.const.d.ts +128 -0
- package/dist/components/blocks/footerNew/components/Legal/Legal.d.ts +3 -0
- package/dist/components/blocks/footerNew/components/Legal/Legal.styled.d.ts +25 -0
- package/dist/components/blocks/footerNew/components/Legal/Legal.typed.d.ts +25 -0
- package/dist/components/blocks/footerNew/components/Legal/LegalEN.d.ts +2 -0
- package/dist/components/blocks/footerNew/components/Legal/index.d.ts +2 -0
- package/dist/components/blocks/footerNew/components/Navigation/Navigation.const.d.ts +54 -0
- package/dist/components/blocks/footerNew/components/Navigation/Navigation.d.ts +3 -0
- package/dist/components/blocks/footerNew/components/Navigation/Navigation.styled.d.ts +26 -0
- package/dist/components/blocks/footerNew/components/Navigation/Navigation.typed.d.ts +14 -0
- package/dist/components/blocks/footerNew/components/Navigation/NavigationDesktop.d.ts +12 -0
- package/dist/components/blocks/footerNew/components/Navigation/NavigationMobile.d.ts +12 -0
- package/dist/components/blocks/footerNew/components/SocialAndSupport/SocialAndSupport.const.d.ts +91 -0
- package/dist/components/blocks/footerNew/components/SocialAndSupport/SocialAndSupport.d.ts +2 -0
- package/dist/components/blocks/footerNew/components/SocialAndSupport/SocialAndSupport.styled.d.ts +38 -0
- package/dist/components/blocks/footerNew/components/SocialAndSupport/SocialAndSupport.typed.d.ts +25 -0
- package/dist/components/blocks/footerNew/components/SocialAndSupport/index.d.ts +1 -0
- package/dist/components/blocks/footerNew/constants.d.ts +23 -0
- package/dist/components/blocks/footerNew/footerNew.d.ts +10 -0
- package/dist/components/blocks/footerNew/footerNew.styled.d.ts +6 -0
- package/dist/components/blocks/footerNew/hooks/useAppBannerFooterInset.d.ts +4 -0
- package/dist/components/blocks/footerNew/index.d.ts +1 -0
- package/dist/components/layouts/LayoutSideMenuV2/LayoutSideMenuV2.d.ts +1 -1
- package/dist/components/layouts/LayoutSideMenuV2/LayoutSideMenuV2.styled.d.ts +1 -0
- package/dist/components/layouts/LayoutSideMenuV2/LayoutSideMenuV2.tyled.d.ts +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/localization/translations/footer.d.ts +59 -0
- package/dist/profinansy-ui-lib.cjs +2459 -1273
- package/dist/profinansy-ui-lib.cjs.map +1 -1
- package/dist/profinansy-ui-lib.es.js +14208 -11832
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/theme/theme.const.d.ts +22 -0
- package/dist/urls/productsV2/club/club.d.ts +0 -7
- package/dist/urls/productsV2/courses/courses.d.ts +1 -1
- package/dist/urls/productsV2/courses/courses.sidebar.d.ts +25 -0
- package/dist/urls/productsV2/idv/idv.d.ts +18 -0
- package/dist/urls/productsV2/index.d.ts +4 -4
- package/dist/urls/productsV2/method/method.d.ts +26 -0
- package/dist/urls/productsV2/profile/profile.d.ts +27 -0
- package/package.json +1 -1
package/dist/components/blocks/footerNew/components/SocialAndSupport/SocialAndSupport.typed.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TFooterTranslationKey } from '../../../../../localization/translations/footer';
|
|
2
|
+
export type TContactColumnVariant = 'social' | 'support' | 'managers';
|
|
3
|
+
export type TSocialGridArea = 'gogaladze' | 'support' | 'support-row' | 'support-contact' | 'support-links' | 'premium' | 'club' | 'utilities';
|
|
4
|
+
export type TContactIconType = 'telegram' | 'vk' | 'max' | 'dzen' | 'whatsapp' | 'chat';
|
|
5
|
+
export interface IContactIcon {
|
|
6
|
+
id: string;
|
|
7
|
+
altKey: TFooterTranslationKey;
|
|
8
|
+
type: TContactIconType;
|
|
9
|
+
href?: string;
|
|
10
|
+
imageSrc?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface IContactLink {
|
|
13
|
+
labelKey: TFooterTranslationKey;
|
|
14
|
+
href: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IContactColumn {
|
|
17
|
+
id: string;
|
|
18
|
+
variant?: TContactColumnVariant;
|
|
19
|
+
titleKey: TFooterTranslationKey;
|
|
20
|
+
/** Принудительный перенос заголовка на узком tablet (≤940px) */
|
|
21
|
+
titleLineKeys?: [TFooterTranslationKey, TFooterTranslationKey];
|
|
22
|
+
icons?: IContactIcon[];
|
|
23
|
+
linksTitleKey?: TFooterTranslationKey;
|
|
24
|
+
links?: IContactLink[];
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SocialAndSupport } from './SocialAndSupport';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { UserRole } from '../../../common.types';
|
|
3
|
+
import { IFooterAboutLink } from './components/Navigation/Navigation.typed';
|
|
4
|
+
export declare const getFooterNavRowsNew: (userRole: UserRole, hostname: string, leaderboardPermission: boolean) => {
|
|
5
|
+
name: string;
|
|
6
|
+
Icon: ComponentType<void>;
|
|
7
|
+
href: string;
|
|
8
|
+
subPages: {
|
|
9
|
+
name: string;
|
|
10
|
+
href: string;
|
|
11
|
+
}[];
|
|
12
|
+
}[][] | {
|
|
13
|
+
subPages: import("../../../common.types").THeaderLinkSubPage[];
|
|
14
|
+
name: string;
|
|
15
|
+
href?: string;
|
|
16
|
+
Icon?: import("react").FC<import("../../../common.types").IconsInterface>;
|
|
17
|
+
locked?: boolean;
|
|
18
|
+
innerPages?: string[];
|
|
19
|
+
isWithoutSubpage?: boolean;
|
|
20
|
+
hiddenFromChildren?: boolean;
|
|
21
|
+
}[][];
|
|
22
|
+
export declare const getFooterAboutLinksNew: (userRole: UserRole, hostname: string) => IFooterAboutLink[];
|
|
23
|
+
export declare const getFooterDescription: (isMAFK?: boolean) => string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { UserRole } from '../../../common.types';
|
|
3
|
+
export type FooterNewProps = {
|
|
4
|
+
userRole: UserRole;
|
|
5
|
+
onRouteChange?: (url: string) => void;
|
|
6
|
+
leaderboardPermission?: boolean;
|
|
7
|
+
/** Показывать баннер приложений. По умолчанию true; также скрывается при from_app в URL */
|
|
8
|
+
showAppPromotion?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const FooterNew: FC<FooterNewProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Footer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
3
|
+
export declare const FooterSurface: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
+
$withBanner: boolean;
|
|
5
|
+
$bannerInset: number | null;
|
|
6
|
+
}>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './footerNew';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IPropsLayout } from './LayoutSideMenuV2.tyled';
|
|
2
|
-
declare const LayoutSideMenuV2: ({ maxWidthContent, children, asideContent, mobileMargin, classNameContent, headerBanner }: IPropsLayout) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const LayoutSideMenuV2: ({ maxWidthContent, children, asideContent, mobileMargin, classNameContent, headerBanner, showAppPromotion: showAppPromotionProp }: IPropsLayout) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { LayoutSideMenuV2 };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
3
|
$maxWidth: number;
|
|
4
|
+
$footerBannerOverhang: number;
|
|
4
5
|
}>> & string;
|
|
5
6
|
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>, {
|
|
6
7
|
mobileMargin: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { HeaderV2 } from './components/blocks/headerV2';
|
|
2
2
|
export { HeaderWelcome } from './components/blocks/headerWelcome';
|
|
3
3
|
export { FooterV2 } from './components/blocks/footerV2';
|
|
4
|
+
export { FooterNew } from './components/blocks/footerNew';
|
|
4
5
|
export { SideMenuV2 } from './components/blocks/sideMenuV2';
|
|
5
6
|
export { CompanyInfo } from './components/blocks/CompanyInfo';
|
|
6
7
|
export { Like } from './components/blocks/Like';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare const footer_translation: {
|
|
2
|
+
ru: {
|
|
3
|
+
app_promotion_title: string;
|
|
4
|
+
app_promotion_subtitle: string;
|
|
5
|
+
app_profinansy_alt: string;
|
|
6
|
+
app_profinansy_description: string;
|
|
7
|
+
app_profinansy_cta: string;
|
|
8
|
+
app_proclub_alt: string;
|
|
9
|
+
app_proclub_description: string;
|
|
10
|
+
app_proclub_cta: string;
|
|
11
|
+
gogaladze_social_title: string;
|
|
12
|
+
gogaladze_social_title_line1: string;
|
|
13
|
+
gogaladze_social_title_line2: string;
|
|
14
|
+
support_title: string;
|
|
15
|
+
premium_managers_title: string;
|
|
16
|
+
club_managers_title: string;
|
|
17
|
+
club_managers_title_line1: string;
|
|
18
|
+
club_managers_title_line2: string;
|
|
19
|
+
support_suggestions_title: string;
|
|
20
|
+
bank_ideas: string;
|
|
21
|
+
icon_telegram: string;
|
|
22
|
+
icon_vk: string;
|
|
23
|
+
icon_max: string;
|
|
24
|
+
icon_dzen: string;
|
|
25
|
+
icon_whatsapp: string;
|
|
26
|
+
icon_chat: string;
|
|
27
|
+
theme_light_version: string;
|
|
28
|
+
theme_dark_version: string;
|
|
29
|
+
};
|
|
30
|
+
en: {
|
|
31
|
+
app_promotion_title: string;
|
|
32
|
+
app_promotion_subtitle: string;
|
|
33
|
+
app_profinansy_alt: string;
|
|
34
|
+
app_profinansy_description: string;
|
|
35
|
+
app_profinansy_cta: string;
|
|
36
|
+
app_proclub_alt: string;
|
|
37
|
+
app_proclub_description: string;
|
|
38
|
+
app_proclub_cta: string;
|
|
39
|
+
gogaladze_social_title: string;
|
|
40
|
+
gogaladze_social_title_line1: string;
|
|
41
|
+
gogaladze_social_title_line2: string;
|
|
42
|
+
support_title: string;
|
|
43
|
+
premium_managers_title: string;
|
|
44
|
+
club_managers_title: string;
|
|
45
|
+
club_managers_title_line1: string;
|
|
46
|
+
club_managers_title_line2: string;
|
|
47
|
+
support_suggestions_title: string;
|
|
48
|
+
bank_ideas: string;
|
|
49
|
+
icon_telegram: string;
|
|
50
|
+
icon_vk: string;
|
|
51
|
+
icon_max: string;
|
|
52
|
+
icon_dzen: string;
|
|
53
|
+
icon_whatsapp: string;
|
|
54
|
+
icon_chat: string;
|
|
55
|
+
theme_light_version: string;
|
|
56
|
+
theme_dark_version: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export type TFooterTranslationKey = keyof typeof footer_translation.ru;
|