profinansy-ui-lib 3.0.79 → 3.0.80
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/sideMenu/components/Search/Search.d.ts +1 -3
- package/dist/components/blocks/sideMenu/components/Search/compoenents/SearchWindow/SearchWindow.d.ts +4 -0
- package/dist/components/blocks/sideMenu/components/Search/search.const.d.ts +9 -1
- package/dist/components/layouts/LayoutSideMenu/LayoutSideMenu.d.ts +2 -8
- package/dist/components/layouts/LayoutSideMenu/LayoutSideMenu.stories.d.ts +6 -0
- package/dist/components/layouts/LayoutSideMenu/LayoutSideMenu.tyled.d.ts +7 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +7 -7
- package/dist/utils/eventBus/events.d.ts +3 -0
- package/dist/utils/eventBus/index.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
1
|
import { IApiSettings } from '../../../../../api/api';
|
|
3
2
|
interface IProps {
|
|
4
3
|
hostname: string;
|
|
5
4
|
apiSettings: IApiSettings;
|
|
6
5
|
isOpenMode: boolean;
|
|
7
6
|
height: string;
|
|
8
|
-
sideMenuRef: RefObject<HTMLDivElement>;
|
|
9
7
|
handleRouteChange: (url: string) => void;
|
|
10
8
|
}
|
|
11
|
-
declare const Search: ({ isOpenMode, height, hostname,
|
|
9
|
+
declare const Search: ({ isOpenMode, height, hostname, apiSettings, handleRouteChange }: IProps) => JSX.Element;
|
|
12
10
|
export { Search };
|
package/dist/components/blocks/sideMenu/components/Search/compoenents/SearchWindow/SearchWindow.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { INSTRUMENTS_TYPES } from '../../search.const';
|
|
2
3
|
import { IApiSettings } from '../../../../../../../api/api';
|
|
3
4
|
interface IProps {
|
|
4
5
|
apiSettings: IApiSettings;
|
|
@@ -7,6 +8,9 @@ interface IProps {
|
|
|
7
8
|
isOpen: boolean;
|
|
8
9
|
height: string;
|
|
9
10
|
hostname: string;
|
|
11
|
+
isDefaultTab: boolean;
|
|
12
|
+
selectedTab: INSTRUMENTS_TYPES;
|
|
13
|
+
setSelectedTab: (val: INSTRUMENTS_TYPES) => void;
|
|
10
14
|
position: {
|
|
11
15
|
top: number;
|
|
12
16
|
left: number;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
+
export declare enum INSTRUMENTS_TYPES {
|
|
2
|
+
stocks = "stocks",
|
|
3
|
+
bonds = "bonds",
|
|
4
|
+
etfs = "etfs",
|
|
5
|
+
crypto = "crypto",
|
|
6
|
+
index = "index",
|
|
7
|
+
currency = "currency"
|
|
8
|
+
}
|
|
1
9
|
export declare const INSTRUMENTS_TABS: {
|
|
2
|
-
value:
|
|
10
|
+
value: INSTRUMENTS_TYPES;
|
|
3
11
|
label: string;
|
|
4
12
|
}[];
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
maxWidthContent?: number;
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
asideContent: ReactElement;
|
|
6
|
-
classNameContent?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const LayoutSideMenu: ({ maxWidthContent, children, asideContent, classNameContent }: IProps) => JSX.Element;
|
|
1
|
+
import { IPropsLayout } from './LayoutSideMenu.tyled';
|
|
2
|
+
declare const LayoutSideMenu: ({ maxWidthContent, children, asideContent, classNameContent }: IPropsLayout) => JSX.Element;
|
|
9
3
|
export { LayoutSideMenu };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: ({ maxWidthContent, children, asideContent, classNameContent }: import("./LayoutSideMenu.tyled").IPropsLayout) => JSX.Element;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const LayoutSideMenu: () => JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -37,4 +37,7 @@ import { Textarea } from './components/uikit/Textarea';
|
|
|
37
37
|
import { Tabs } from './components/uikit/Tabs';
|
|
38
38
|
import { palette } from './theme/theme.const';
|
|
39
39
|
import { ThemeProvider, useMode } from './theme/ThemeProvider';
|
|
40
|
-
|
|
40
|
+
import eventBus from './utils/eventBus';
|
|
41
|
+
import { BusEvent } from './utils/eventBus/events';
|
|
42
|
+
import { INSTRUMENTS_TYPES } from './components/blocks/sideMenu/components/Search/search.const';
|
|
43
|
+
export { INSTRUMENTS_TYPES, eventBus, BusEvent, Footer, Header, OldHeader, SideMenu, Checkbox, Radio, Portal, Loader, Button, TextButton, RegexPattern, Input, Textarea, ErrorText, Avatar, Tooltip, DefaultTooltip, Modal, SideModal, CircleButton, ArrowButton, Sidebar, Tabs, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, IPopup, FieldRow, Card, Switch, Spinner, Skeleton, TabListCell, palette, ThemeProvider, useMode, useHidingChat, useHidingFromApp, useGetHeaderHeight, useHeaderHeightListener, LayoutSideMenu };
|