profinansy-ui-lib 3.2.85 → 3.2.86

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.
@@ -47,6 +47,7 @@ export interface ILastSearch {
47
47
  portfolioType: string;
48
48
  isin: string;
49
49
  candles: number[][];
50
+ type?: string;
50
51
  positive: boolean;
51
52
  countryFlag: string;
52
53
  price: number;
@@ -14,4 +14,5 @@ export type MultilineMode = IHiddenTextBase & {
14
14
  lines: number;
15
15
  };
16
16
  export type IHiddenText = EllipsisMode | MultilineMode;
17
+ export type IHiddenTextWithoutChildren = Omit<EllipsisMode, 'children'> | Omit<MultilineMode, 'children'>;
17
18
  export {};
@@ -5,4 +5,5 @@ declare const _default: {
5
5
  tags: string[];
6
6
  };
7
7
  export default _default;
8
+ export declare const TCellText: () => JSX.Element;
8
9
  export declare const Table: () => JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { IHiddenTextWithoutChildren } from '../../../HiddenText/HiddenText.typed';
3
+ interface IProps {
4
+ /**Контента внутри элемента */
5
+ children: ReactNode;
6
+ hiddenText?: IHiddenTextWithoutChildren;
7
+ /** Стили для типографи */
8
+ style?: CSSProperties;
9
+ /** Класс для типографи */
10
+ className?: string;
11
+ }
12
+ declare const TCellText: ({ children, hiddenText, style, className }: IProps) => JSX.Element;
13
+ export { TCellText };
@@ -1,2 +1,3 @@
1
1
  export { Table } from './Table';
2
2
  export { IColumnTable } from './Table.typed';
3
+ export { TCellText } from './components/TCellText/TCellText';
@@ -0,0 +1,6 @@
1
+ export declare const useLoadingNextPage: () => {
2
+ isNext: boolean;
3
+ setIsNext: import("react").Dispatch<import("react").SetStateAction<boolean>>;
4
+ isLoading: boolean;
5
+ setIsLoading: import("react").Dispatch<import("react").SetStateAction<boolean>>;
6
+ };
package/dist/index.d.ts CHANGED
@@ -7,6 +7,7 @@ import { LayoutSideMenu } from './components/layouts/LayoutSideMenu';
7
7
  import { useHidingFromApp } from './hooks/useHiddingFromApp';
8
8
  import { useHidingChat } from './hooks/useHidingChat';
9
9
  import { useOpenSideMenu } from './hooks/useOpenSideMenu';
10
+ import { useLoadingNextPage } from './hooks/useLoadingNextPage';
10
11
  import { SuccessModal } from './components/modals/SuccessModal';
11
12
  import { Alert } from './components/uikit/Alert';
12
13
  import { AvatarCompany } from './components/uikit/AvatarCompany';
@@ -21,7 +22,7 @@ import { SortingButton } from './components/uikit/SortingButton';
21
22
  import { Radio } from './components/uikit/Radio';
22
23
  import { Portal } from './components/uikit/Portal';
23
24
  import { Loader } from './components/uikit/Loader';
24
- import { Table } from './components/uikit/Table';
25
+ import { Table, TCellText, IColumnTable } from './components/uikit/Table';
25
26
  import { Button } from './components/uikit/Button';
26
27
  import { Tabs } from './components/uikit/Tabs';
27
28
  import { TextButton } from './components/uikit/TextButton';
@@ -56,5 +57,4 @@ import { setCookie, getCookie, deleteCookie } from './utils/cookie';
56
57
  import { INSTRUMENTS_TYPES } from './hooks/useSearchInstruments';
57
58
  import { HEIGHT_HEADER } from './constants/common';
58
59
  import { AnimationFunctions } from './constants/animation/animation';
59
- import { IColumnTable } from './components/uikit/Table';
60
- 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, TextButtonLink, 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, IColumnTable };
60
+ export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, SuccessModal, Footer, Header, SideMenu, PremiumBanner, CompanyInfo, Alert, AvatarCompany, Table, TCellText, Hint, SegmentControl, SwiperButton, FilterButton, ControlButton, SortingButton, Counter, Checkbox, Radio, Portal, Loader, Button, Tabs, TextButton, TextButtonLink, 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, useLoadingNextPage, LayoutSideMenu, HEIGHT_HEADER, setCookie, getCookie, deleteCookie, IColumnTable };