profinansy-ui-lib 4.1.34 → 4.1.36
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 +131 -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 +130 -0
- package/dist/components/blocks/footerNew/components/Legal/Legal.d.ts +3 -0
- package/dist/components/blocks/footerNew/components/Legal/Legal.styled.d.ts +26 -0
- package/dist/components/blocks/footerNew/components/Legal/Legal.typed.d.ts +28 -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 +55 -0
- package/dist/components/blocks/footerNew/components/Navigation/Navigation.d.ts +3 -0
- package/dist/components/blocks/footerNew/components/Navigation/Navigation.styled.d.ts +29 -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 +93 -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/footerGrid.const.d.ts +10 -0
- package/dist/components/blocks/footerNew/footerGrid.styled.d.ts +9 -0
- package/dist/components/blocks/footerNew/footerNew.d.ts +10 -0
- package/dist/components/blocks/footerNew/footerNew.styled.d.ts +10 -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 +63 -0
- package/dist/profinansy-ui-lib.cjs +2589 -1273
- package/dist/profinansy-ui-lib.cjs.map +1 -1
- package/dist/profinansy-ui-lib.es.js +14655 -12097
- 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.styled.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TContactColumnVariant, TSocialGridArea } from './SocialAndSupport.typed';
|
|
3
|
+
export declare const TitleLine: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
4
|
+
export declare const Section: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
5
|
+
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
export declare const Divider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
export declare const Grid: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
8
|
+
export declare const SupportColumn: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
+
export declare const SupportMobileRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
|
+
export declare const GridCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
11
|
+
$area: TSocialGridArea;
|
|
12
|
+
}>> & string;
|
|
13
|
+
export declare const UtilitiesCell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "$area"> & {
|
|
14
|
+
$area: TSocialGridArea;
|
|
15
|
+
}, "ref"> & {
|
|
16
|
+
ref?: import("react").Ref<HTMLDivElement>;
|
|
17
|
+
}, never>> & string;
|
|
18
|
+
export declare const Column: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
19
|
+
$variant?: TContactColumnVariant;
|
|
20
|
+
}>> & string;
|
|
21
|
+
export declare const ContactGroup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
22
|
+
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {
|
|
23
|
+
$variant?: TContactColumnVariant;
|
|
24
|
+
$hasTitleLines?: boolean;
|
|
25
|
+
}>> & string;
|
|
26
|
+
export declare const Icons: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
27
|
+
$variant?: TContactColumnVariant;
|
|
28
|
+
$gap?: number;
|
|
29
|
+
}>> & string;
|
|
30
|
+
export declare const IconGlyph: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
31
|
+
$variant?: TContactColumnVariant;
|
|
32
|
+
}>> & string;
|
|
33
|
+
export declare const IconLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, {
|
|
34
|
+
$variant?: TContactColumnVariant;
|
|
35
|
+
}>> & string;
|
|
36
|
+
export declare const LinksBlock: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
37
|
+
export declare const LinksTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
38
|
+
export declare const TextLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
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 (601–1000px) */
|
|
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
|
+
/** Единая сетка футера на desktop — синхрон с Navigation */
|
|
2
|
+
export declare const FOOTER_DESKTOP_GRID_MIN_WIDTH: number;
|
|
3
|
+
export declare const FOOTER_DESKTOP_GRID: {
|
|
4
|
+
readonly columns: 4;
|
|
5
|
+
readonly columnGap: 60;
|
|
6
|
+
readonly narrowColumnGap: 20;
|
|
7
|
+
readonly narrowMaxWidth: 1200;
|
|
8
|
+
/** Доп. отступ справа в колонке, если column-gap subgrid не даёт зазор */
|
|
9
|
+
readonly columnPadding: 12;
|
|
10
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** 4-колоночная сетка на FooterContentContainer */
|
|
2
|
+
export declare const footerDesktopGridContainer: import("styled-components").RuleSet<object>;
|
|
3
|
+
/** Строка секции, наследующая колонки родителя */
|
|
4
|
+
export declare const footerDesktopSubgridRow: import("styled-components").RuleSet<object>;
|
|
5
|
+
/** Убирает собственный column-gap — расстояние задаёт контейнер */
|
|
6
|
+
export declare const footerDesktopSubgridGapReset: import("styled-components").RuleSet<object>;
|
|
7
|
+
/** Отступ справа внутри колонки subgrid */
|
|
8
|
+
export declare const footerDesktopSubgridColumn: import("styled-components").RuleSet<object>;
|
|
9
|
+
export declare const footerDesktopSubgridColumnLast: import("styled-components").RuleSet<object>;
|
|
@@ -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,10 @@
|
|
|
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;
|
|
7
|
+
/** Внешняя обёртка — те же боковые отступы, что у баннера */
|
|
8
|
+
export declare const FooterContentShell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
+
/** Центрированный контейнер — та же max-width, что у Panel баннера */
|
|
10
|
+
export declare const FooterContentContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & 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,63 @@
|
|
|
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
|
+
premium_managers_title_line1: string;
|
|
17
|
+
premium_managers_title_line2: string;
|
|
18
|
+
club_managers_title: string;
|
|
19
|
+
club_managers_title_line1: string;
|
|
20
|
+
club_managers_title_line2: string;
|
|
21
|
+
support_suggestions_title: string;
|
|
22
|
+
bank_ideas: string;
|
|
23
|
+
icon_telegram: string;
|
|
24
|
+
icon_vk: string;
|
|
25
|
+
icon_max: string;
|
|
26
|
+
icon_dzen: string;
|
|
27
|
+
icon_whatsapp: string;
|
|
28
|
+
icon_chat: string;
|
|
29
|
+
theme_light_version: string;
|
|
30
|
+
theme_dark_version: string;
|
|
31
|
+
};
|
|
32
|
+
en: {
|
|
33
|
+
app_promotion_title: string;
|
|
34
|
+
app_promotion_subtitle: string;
|
|
35
|
+
app_profinansy_alt: string;
|
|
36
|
+
app_profinansy_description: string;
|
|
37
|
+
app_profinansy_cta: string;
|
|
38
|
+
app_proclub_alt: string;
|
|
39
|
+
app_proclub_description: string;
|
|
40
|
+
app_proclub_cta: string;
|
|
41
|
+
gogaladze_social_title: string;
|
|
42
|
+
gogaladze_social_title_line1: string;
|
|
43
|
+
gogaladze_social_title_line2: string;
|
|
44
|
+
support_title: string;
|
|
45
|
+
premium_managers_title: string;
|
|
46
|
+
premium_managers_title_line1: string;
|
|
47
|
+
premium_managers_title_line2: string;
|
|
48
|
+
club_managers_title: string;
|
|
49
|
+
club_managers_title_line1: string;
|
|
50
|
+
club_managers_title_line2: string;
|
|
51
|
+
support_suggestions_title: string;
|
|
52
|
+
bank_ideas: string;
|
|
53
|
+
icon_telegram: string;
|
|
54
|
+
icon_vk: string;
|
|
55
|
+
icon_max: string;
|
|
56
|
+
icon_dzen: string;
|
|
57
|
+
icon_whatsapp: string;
|
|
58
|
+
icon_chat: string;
|
|
59
|
+
theme_light_version: string;
|
|
60
|
+
theme_dark_version: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
export type TFooterTranslationKey = keyof typeof footer_translation.ru;
|