profinansy-ui-lib 3.2.64 → 3.2.66
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/CompanyInfo/CompanyInfo.d.ts +3 -0
- package/dist/components/blocks/CompanyInfo/CompanyInfo.stories.d.ts +7 -0
- package/dist/components/blocks/CompanyInfo/CompanyInfo.styled.d.ts +4 -0
- package/dist/components/blocks/CompanyInfo/CompanyInfo.typed.d.ts +15 -0
- package/dist/components/blocks/CompanyInfo/index.d.ts +1 -0
- package/dist/components/uikit/AvatarCompany/AvatarCompany.d.ts +3 -0
- package/dist/components/uikit/AvatarCompany/AvatarCompany.stories.d.ts +7 -0
- package/dist/components/uikit/AvatarCompany/AvatarCompany.styled.d.ts +6 -0
- package/dist/components/uikit/AvatarCompany/AvatarCompany.typed.d.ts +11 -0
- package/dist/components/uikit/AvatarCompany/index.d.ts +1 -0
- package/dist/components/uikit/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/uikit/FilterButton/Drop/Drop.d.ts +1 -1
- package/dist/components/uikit/Hint/Hint.d.ts +1 -1
- package/dist/components/uikit/Popup/Popup.d.ts +1 -1
- package/dist/components/uikit/Table/components/MockData.d.ts +14 -18
- package/dist/components/uikit/Tooltip/Tooltip.d.ts +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +260 -34
- package/dist/utils/getImageFormat.d.ts +1 -2
- package/package.json +1 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const FirstLine: import("styled-components").StyledComponent<({ tag, className, children, variant, title, ...props }: import("profinansy-ui-lib/dist/components/uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const ContainerLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const Right: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ImageSize } from '../../../utils/getImageFormat';
|
|
2
|
+
export interface ICompanyInfo {
|
|
3
|
+
/** Ссылка на изображение */
|
|
4
|
+
logo?: string;
|
|
5
|
+
/** Тиккер компании */
|
|
6
|
+
firstLine?: string;
|
|
7
|
+
/** Ссылка на страницу компании */
|
|
8
|
+
link?: string;
|
|
9
|
+
/** Название компании */
|
|
10
|
+
secondLine?: string;
|
|
11
|
+
/** Размер изображения. По умолчанию 28px */
|
|
12
|
+
logoSize?: number;
|
|
13
|
+
/** Формат сжатия изображения. */
|
|
14
|
+
compressionImage?: ImageSize;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CompanyInfo } from './CompanyInfo';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: ({ ticker, logo, logoSize, compressionImage }: import("./AvatarCompany.typed").IAvatarCompany) => JSX.Element;
|
|
4
|
+
tags: string[];
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const AvatarCompany: () => JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const Logo: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {
|
|
2
|
+
logoSize: number;
|
|
3
|
+
}, never>;
|
|
4
|
+
export declare const EmptyLogo: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
5
|
+
logoSize: number;
|
|
6
|
+
}, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ImageSize } from '../../../utils/getImageFormat';
|
|
2
|
+
export interface IAvatarCompany {
|
|
3
|
+
/** Ссылка на изображение */
|
|
4
|
+
logo?: string;
|
|
5
|
+
/** Размер изображения. По умолчанию 28px */
|
|
6
|
+
logoSize?: number;
|
|
7
|
+
/** Формат сжатия изображения. */
|
|
8
|
+
compressionImage?: ImageSize;
|
|
9
|
+
/** Тиккер компании */
|
|
10
|
+
ticker: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AvatarCompany } from './AvatarCompany';
|
|
@@ -43,7 +43,7 @@ export declare function useDrop({ placement, onOpenList }: {
|
|
|
43
43
|
};
|
|
44
44
|
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
45
45
|
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
46
|
-
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "
|
|
46
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
|
|
47
47
|
active?: boolean;
|
|
48
48
|
selected?: boolean;
|
|
49
49
|
}) => Record<string, unknown>;
|
|
@@ -42,7 +42,7 @@ export declare function useDrop({ placement }: {
|
|
|
42
42
|
};
|
|
43
43
|
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
44
44
|
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
45
|
-
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "
|
|
45
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
|
|
46
46
|
active?: boolean;
|
|
47
47
|
selected?: boolean;
|
|
48
48
|
}) => Record<string, unknown>;
|
|
@@ -44,7 +44,7 @@ export declare function useHint({ placement, isClickMobile }?: HintOptions): {
|
|
|
44
44
|
};
|
|
45
45
|
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
46
46
|
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
47
|
-
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "
|
|
47
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
|
|
48
48
|
active?: boolean;
|
|
49
49
|
selected?: boolean;
|
|
50
50
|
}) => Record<string, unknown>;
|
|
@@ -47,7 +47,7 @@ export declare function usePopup({ placement, isHover }: {
|
|
|
47
47
|
};
|
|
48
48
|
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
49
49
|
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
50
|
-
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "
|
|
50
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
|
|
51
51
|
active?: boolean;
|
|
52
52
|
selected?: boolean;
|
|
53
53
|
}) => Record<string, unknown>;
|
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
import { IColumnTable } from '../Table.typed';
|
|
2
|
-
export declare const MOCK_DATA_1:
|
|
2
|
+
export declare const MOCK_DATA_1: {
|
|
3
3
|
id: number;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
AllTimeProfit: string;
|
|
18
|
-
targetScroll: boolean;
|
|
19
|
-
fieldTitle: string;
|
|
20
|
-
})[];
|
|
4
|
+
name: string;
|
|
5
|
+
ticker: string;
|
|
6
|
+
link: string;
|
|
7
|
+
logo: string;
|
|
8
|
+
price: string;
|
|
9
|
+
note: string;
|
|
10
|
+
sector: string;
|
|
11
|
+
amount: number;
|
|
12
|
+
'p/e': number;
|
|
13
|
+
'p/s': number;
|
|
14
|
+
'p/b': number;
|
|
15
|
+
description: string;
|
|
16
|
+
}[];
|
|
21
17
|
export declare const Hints: {
|
|
22
18
|
hint_1: string[];
|
|
23
19
|
};
|
|
@@ -44,7 +44,7 @@ export declare function useTooltip({ placement, isHover, showArrow }: {
|
|
|
44
44
|
};
|
|
45
45
|
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
46
46
|
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
47
|
-
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "
|
|
47
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
|
|
48
48
|
active?: boolean;
|
|
49
49
|
selected?: boolean;
|
|
50
50
|
}) => Record<string, unknown>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,12 +2,14 @@ import { Header } from './components/blocks/header';
|
|
|
2
2
|
import { Footer } from './components/blocks/footer';
|
|
3
3
|
import { SideMenu } from './components/blocks/sideMenu';
|
|
4
4
|
import { PremiumBanner } from './components/blocks/PremiumBanner';
|
|
5
|
+
import { CompanyInfo } from './components/blocks/CompanyInfo';
|
|
5
6
|
import { LayoutSideMenu } from './components/layouts/LayoutSideMenu';
|
|
6
7
|
import { useHidingFromApp } from './hooks/useHiddingFromApp';
|
|
7
8
|
import { useHidingChat } from './hooks/useHidingChat';
|
|
8
9
|
import { useOpenSideMenu } from './hooks/useOpenSideMenu';
|
|
9
10
|
import { SuccessModal } from './components/modals/SuccessModal';
|
|
10
11
|
import { Alert } from './components/uikit/Alert';
|
|
12
|
+
import { AvatarCompany } from './components/uikit/AvatarCompany';
|
|
11
13
|
import { Hint } from './components/uikit/Hint';
|
|
12
14
|
import { SwiperButton } from './components/uikit/SwiperButton';
|
|
13
15
|
import { Counter } from './components/uikit/Counter';
|
|
@@ -19,6 +21,7 @@ import { SortingButton } from './components/uikit/SortingButton';
|
|
|
19
21
|
import { Radio } from './components/uikit/Radio';
|
|
20
22
|
import { Portal } from './components/uikit/Portal';
|
|
21
23
|
import { Loader } from './components/uikit/Loader';
|
|
24
|
+
import { Table } from './components/uikit/Table';
|
|
22
25
|
import { Button } from './components/uikit/Button';
|
|
23
26
|
import { Tabs } from './components/uikit/Tabs';
|
|
24
27
|
import { TextButton } from './components/uikit/TextButton';
|
|
@@ -52,4 +55,4 @@ import { setCookie, getCookie, deleteCookie } from './utils/cookie';
|
|
|
52
55
|
import { INSTRUMENTS_TYPES } from './hooks/useSearchInstruments';
|
|
53
56
|
import { HEIGHT_HEADER } from './constants/common';
|
|
54
57
|
import { AnimationFunctions } from './constants/animation/animation';
|
|
55
|
-
export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, SuccessModal, Footer, Header, SideMenu, PremiumBanner, Alert, Hint, SegmentControl, SwiperButton, FilterButton, ControlButton, SortingButton, Counter, Checkbox, Radio, Portal, Loader, Button, Tabs, TextButton, RegexPattern, Input, Textarea, ErrorText, Avatar, Tooltip, Typography, Modal, SideModal, ArrowButton, Bubbles, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, IPopup, FieldRow, Card, PageTitle, Switch, Spinner, Skeleton, palette, ThemeProvider, useMode, useHidingChat, useHidingFromApp, useOpenSideMenu, LayoutSideMenu, HEIGHT_HEADER, setCookie, getCookie, deleteCookie };
|
|
58
|
+
export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, SuccessModal, Footer, Header, SideMenu, PremiumBanner, CompanyInfo, Alert, AvatarCompany, Table, Hint, SegmentControl, SwiperButton, FilterButton, ControlButton, SortingButton, Counter, Checkbox, Radio, Portal, Loader, Button, Tabs, TextButton, RegexPattern, Input, Textarea, ErrorText, Avatar, Tooltip, Typography, Modal, SideModal, ArrowButton, Bubbles, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, IPopup, FieldRow, Card, PageTitle, Switch, Spinner, Skeleton, palette, ThemeProvider, useMode, useHidingChat, useHidingFromApp, useOpenSideMenu, LayoutSideMenu, HEIGHT_HEADER, setCookie, getCookie, deleteCookie };
|