profinansy-ui-lib 4.1.57 → 4.1.59
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/sideMenuV2/SideMenuV2.const.d.ts +787 -1
- package/dist/components/blocks/sideMenuV2/SideMenuV2.d.ts +2 -6
- package/dist/components/blocks/sideMenuV2/SideMenuV2.typed.d.ts +12 -2
- package/dist/components/blocks/sideMenuV2/components/FooterSlot/FooterSlot.d.ts +3 -2
- package/dist/components/blocks/sideMenuV2/components/FooterSlot/FooterSlot.styled.d.ts +2 -0
- package/dist/localization/translations/urls.d.ts +2 -0
- package/dist/profinansy-ui-lib.cjs +1230 -1213
- package/dist/profinansy-ui-lib.cjs.map +1 -1
- package/dist/profinansy-ui-lib.es.js +6753 -6689
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/urls/productsV2/about/about.d.ts +1 -1
- package/dist/urls/productsV2/investments/investments.d.ts +7 -0
- package/package.json +1 -1
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ISideModal } from './SideMenuV2.typed';
|
|
3
|
-
export declare const SideMenuV2Context: React.Context<
|
|
4
|
-
apiSettings: any;
|
|
5
|
-
setShowQuiz: any;
|
|
6
|
-
LinkWrapper: any;
|
|
7
|
-
}>;
|
|
2
|
+
import { ISideModal, TSideMenuV2Context } from './SideMenuV2.typed';
|
|
3
|
+
export declare const SideMenuV2Context: React.Context<TSideMenuV2Context>;
|
|
8
4
|
declare const SideMenuV2: ({ bannerCodes, category, isLeaderboardPermission, userRole, apiSettings, footerSlot, LinkWrapper, isBurgerMode, excludePages, isHoverMode }: ISideModal) => import("react/jsx-runtime").JSX.Element;
|
|
9
5
|
export { SideMenuV2 };
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import { UserRole } from '../../../common.types';
|
|
1
|
+
import { THeaderLinkSubPage, UserRole } from '../../../common.types';
|
|
2
2
|
import { IApiSettings } from '../../../api/api';
|
|
3
|
-
import {
|
|
3
|
+
import { Dispatch, ElementType, ReactNode, SetStateAction } from 'react';
|
|
4
|
+
export type TSideMenuData = {
|
|
5
|
+
name: string;
|
|
6
|
+
subPages?: THeaderLinkSubPage[];
|
|
7
|
+
footerPages?: THeaderLinkSubPage[];
|
|
8
|
+
};
|
|
4
9
|
export type TSideMenuCategory = 'goals' | 'myMoney' | 'portfolios' | 'calculators' | 'investment' | 'education' | 'education_new' | 'profile' | 'idv' | 'method' | 'feed' | 'about';
|
|
5
10
|
export interface ISideModal {
|
|
6
11
|
bannerCodes?: string[];
|
|
@@ -14,3 +19,8 @@ export interface ISideModal {
|
|
|
14
19
|
isHoverMode?: boolean;
|
|
15
20
|
excludePages?: string[];
|
|
16
21
|
}
|
|
22
|
+
export type TSideMenuV2Context = {
|
|
23
|
+
apiSettings: IApiSettings | null;
|
|
24
|
+
setShowQuiz: Dispatch<SetStateAction<THeaderLinkSubPage | null>> | null;
|
|
25
|
+
LinkWrapper?: ElementType | null;
|
|
26
|
+
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface IProps {
|
|
3
|
-
children
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
help?: React.ReactNode;
|
|
4
5
|
setFooterHeight: (val: number) => void;
|
|
5
6
|
}
|
|
6
|
-
declare const FooterSlot: ({ children, setFooterHeight }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const FooterSlot: ({ children, help, setFooterHeight }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export { FooterSlot };
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
export declare const Measure: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
3
|
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;
|
|
4
|
+
export declare const HelpContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -247,6 +247,7 @@ export declare const Urls_translations: {
|
|
|
247
247
|
support: string;
|
|
248
248
|
vacancies_short: string;
|
|
249
249
|
scammers_short: string;
|
|
250
|
+
help: string;
|
|
250
251
|
coming_soon: string;
|
|
251
252
|
shop: string;
|
|
252
253
|
portfolios_public: string;
|
|
@@ -500,6 +501,7 @@ export declare const Urls_translations: {
|
|
|
500
501
|
support: string;
|
|
501
502
|
vacancies_short: string;
|
|
502
503
|
scammers_short: string;
|
|
504
|
+
help: string;
|
|
503
505
|
coming_soon: string;
|
|
504
506
|
shop: string;
|
|
505
507
|
portfolios_public: string;
|