profinansy-ui-lib 3.2.84 → 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;
@@ -10,6 +10,8 @@ export interface ICompanyInfo {
10
10
  secondLine?: string;
11
11
  /** Размер изображения. По умолчанию 28px */
12
12
  logoSize?: number;
13
+ /** Без логотипа. */
14
+ withoutLogo?: boolean;
13
15
  /** Формат сжатия изображения. */
14
16
  compressionImage?: ImageSize;
15
17
  }
@@ -25,9 +25,9 @@ export declare function useDrop({ placement, onOpenList }: {
25
25
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
26
26
  context: {
27
27
  placement: Placement;
28
+ strategy: import("@floating-ui/utils").Strategy;
28
29
  x: number;
29
30
  y: number;
30
- strategy: import("@floating-ui/utils").Strategy;
31
31
  middlewareData: import("@floating-ui/core").MiddlewareData;
32
32
  isPositioned: boolean;
33
33
  update: () => void;
@@ -24,9 +24,9 @@ export declare function useDrop({ placement }: {
24
24
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
25
25
  context: {
26
26
  placement: Placement;
27
+ strategy: import("@floating-ui/utils").Strategy;
27
28
  x: number;
28
29
  y: number;
29
- strategy: import("@floating-ui/utils").Strategy;
30
30
  middlewareData: import("@floating-ui/core").MiddlewareData;
31
31
  isPositioned: boolean;
32
32
  update: () => void;
@@ -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 {};
@@ -26,9 +26,9 @@ export declare function useHint({ placement, isClickMobile }?: HintOptions): {
26
26
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
27
27
  context: {
28
28
  placement: Placement;
29
+ strategy: import("@floating-ui/utils").Strategy;
29
30
  x: number;
30
31
  y: number;
31
- strategy: import("@floating-ui/utils").Strategy;
32
32
  middlewareData: import("@floating-ui/core").MiddlewareData;
33
33
  isPositioned: boolean;
34
34
  update: () => void;
@@ -29,9 +29,9 @@ export declare function usePopup({ placement, isHover }: {
29
29
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
30
30
  context: {
31
31
  placement: Placement;
32
+ strategy: import("@floating-ui/utils").Strategy;
32
33
  x: number;
33
34
  y: number;
34
- strategy: import("@floating-ui/utils").Strategy;
35
35
  middlewareData: import("@floating-ui/core").MiddlewareData;
36
36
  isPositioned: boolean;
37
37
  update: () => void;
@@ -1,4 +1,6 @@
1
- export declare const Tooltip: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1
+ export declare const Tooltip: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
+ mode: string;
3
+ }, never>;
2
4
  export declare const Trigger: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
3
5
  declare const Content: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
6
  export declare const Close: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
@@ -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';
@@ -26,9 +26,9 @@ export declare function useTooltip({ placement, isHover, showArrow }: {
26
26
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
27
27
  context: {
28
28
  placement: Placement;
29
+ strategy: import("@floating-ui/utils").Strategy;
29
30
  x: number;
30
31
  y: number;
31
- strategy: import("@floating-ui/utils").Strategy;
32
32
  middlewareData: import("@floating-ui/core").MiddlewareData;
33
33
  isPositioned: boolean;
34
34
  update: () => void;
@@ -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 };