profinansy-ui-lib 3.0.75 → 3.0.77
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/header/useHeader.d.ts +0 -1
- package/dist/components/blocks/newHeader/Header.stories.d.ts +1 -0
- package/dist/components/blocks/newHeader/components/Burger/Burger.styled.d.ts +3 -1
- package/dist/components/blocks/newHeader/components/PremiumLine/PremiumLine.d.ts +3 -1
- package/dist/components/blocks/newHeader/header.d.ts +2 -1
- package/dist/components/blocks/newHeader/hooks/useHeight.d.ts +1 -1
- package/dist/components/blocks/newHeader/hooks/useIsShowPremium.d.ts +1 -1
- package/dist/components/blocks/sideMenu/SideMenu.styled.d.ts +1 -0
- package/dist/components/blocks/sideMenu/SideModal.typed.d.ts +1 -1
- package/dist/components/layouts/LayoutSideMenu/LayoutSideMenu.styled.d.ts +3 -1
- package/dist/hooks/useHeaderHeight.d.ts +2 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +764 -151
- package/dist/urls/products/idv/idvLinks.d.ts +9 -0
- package/dist/urls/products/index.d.ts +1 -0
- package/package.json +9 -10
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
-
export declare const Background: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
|
+
export declare const Background: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
|
+
headerHeight: number;
|
|
4
|
+
}, never>;
|
|
3
5
|
export declare const Burger: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
4
6
|
isOpen: boolean;
|
|
5
7
|
}, never>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { UserRole } from '../../../../../common.types';
|
|
2
3
|
interface IProps {
|
|
3
4
|
userRole: UserRole;
|
|
5
|
+
currentPathName?: string;
|
|
4
6
|
}
|
|
5
|
-
declare const PremiumLine: ({ userRole }: IProps) => JSX.Element
|
|
7
|
+
declare const PremiumLine: React.MemoExoticComponent<({ userRole, currentPathName }: IProps) => JSX.Element>;
|
|
6
8
|
export { PremiumLine };
|
|
@@ -2,6 +2,7 @@ export declare const Container: import("styled-components").StyledComponent<"div
|
|
|
2
2
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
3
|
isOpen: boolean;
|
|
4
4
|
countBanners: number;
|
|
5
|
+
headerHeight: number;
|
|
5
6
|
}, never>;
|
|
6
7
|
export declare const Header: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
8
|
export declare const Icon: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UserRole } from '../../../common.types';
|
|
2
|
-
export type TSideMenuCategory = 'all' | 'myMoney' | 'calculators' | 'club' | 'investment' | 'education' | 'profile';
|
|
2
|
+
export type TSideMenuCategory = 'all' | 'myMoney' | 'calculators' | 'club' | 'investment' | 'education' | 'profile' | 'idv';
|
|
3
3
|
export interface ISideModal {
|
|
4
4
|
banners?: {
|
|
5
5
|
href: string;
|
|
@@ -3,5 +3,7 @@ export declare const Container: import("styled-components").StyledComponent<"div
|
|
|
3
3
|
}, never>;
|
|
4
4
|
export declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
export declare const Aside: import("styled-components").StyledComponent<"aside", import("styled-components").DefaultTheme, {}, never>;
|
|
6
|
-
export declare const Sticky: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
6
|
+
export declare const Sticky: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
7
|
+
headerHeight: number;
|
|
8
|
+
}, never>;
|
|
7
9
|
export declare const Main: import("styled-components").StyledComponent<"main", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const useGetHeaderHeight: () => {
|
|
2
|
-
commonHeight: number;
|
|
3
2
|
topHeight: number;
|
|
4
3
|
centerHeight: number;
|
|
5
4
|
bottomHeight: number;
|
|
5
|
+
commonHeight: number;
|
|
6
6
|
};
|
|
7
7
|
export declare const useHeaderHeightListener: () => {
|
|
8
|
-
commonHeight: number;
|
|
9
8
|
topHeight: number;
|
|
10
9
|
centerHeight: number;
|
|
11
10
|
bottomHeight: number;
|
|
11
|
+
commonHeight: number;
|
|
12
12
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { Header } from './components/blocks/
|
|
1
|
+
import { Header } from './components/blocks/header';
|
|
2
|
+
import { NewHeader } from './components/blocks/newHeader';
|
|
2
3
|
import { Footer } from './components/blocks/footer';
|
|
3
4
|
import { SideMenu } from './components/blocks/sideMenu';
|
|
4
5
|
import { LayoutSideMenu } from './components/layouts/LayoutSideMenu';
|
|
5
6
|
import { useHidingFromApp } from './hooks/useHiddingFromApp';
|
|
6
7
|
import { useHidingChat } from './hooks/useHidingChat';
|
|
8
|
+
import { useGetHeaderHeight, useHeaderHeightListener } from './hooks/useHeaderHeight';
|
|
7
9
|
import { Checkbox } from './components/uikit/Checkbox';
|
|
8
10
|
import { Radio } from './components/uikit/Radio';
|
|
9
11
|
import { Portal } from './components/uikit/Portal';
|
|
@@ -34,4 +36,4 @@ import { TabListCell } from './components/uikit/TabListCell';
|
|
|
34
36
|
import { Textarea } from './components/uikit/Textarea';
|
|
35
37
|
import { palette } from './theme/theme.const';
|
|
36
38
|
import { ThemeProvider, useMode } from './theme/ThemeProvider';
|
|
37
|
-
export { Footer, Header, SideMenu, Checkbox, Radio, Portal, Loader, Button, TextButton, RegexPattern, Input, Textarea, ErrorText, Avatar, Tooltip, DefaultTooltip, Modal, SideModal, CircleButton, ArrowButton, Sidebar, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, IPopup, FieldRow, Card, Switch, Spinner, Skeleton, TabListCell, palette, ThemeProvider, useMode, useHidingChat, useHidingFromApp, LayoutSideMenu };
|
|
39
|
+
export { Footer, Header, NewHeader, SideMenu, Checkbox, Radio, Portal, Loader, Button, TextButton, RegexPattern, Input, Textarea, ErrorText, Avatar, Tooltip, DefaultTooltip, Modal, SideModal, CircleButton, ArrowButton, Sidebar, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, IPopup, FieldRow, Card, Switch, Spinner, Skeleton, TabListCell, palette, ThemeProvider, useMode, useHidingChat, useHidingFromApp, useGetHeaderHeight, useHeaderHeightListener, LayoutSideMenu };
|