profinansy-ui-lib 3.1.87 → 3.1.89

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/api/api.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export interface IApiSettings {
2
- token: string;
3
2
  baseUrl: string;
4
3
  }
@@ -17,5 +17,5 @@ interface IProps {
17
17
  handleRouteChange: (val: string, target?: boolean) => void;
18
18
  onClose: () => void;
19
19
  }
20
- declare const SearchContent: ({ isEmpty, searchText, isOpen, hostname, setSelectedTab, selectedTab, tabs, favourites, data, onClose, handleRouteChange }: IProps) => JSX.Element;
20
+ declare const SearchContent: ({ isOpen, ...rest }: IProps) => JSX.Element;
21
21
  export { SearchContent };
@@ -1,6 +1,3 @@
1
1
  export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
2
  isOpen: boolean;
3
3
  }, never>;
4
- export declare const Icons: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
5
- height: number;
6
- }, never>;
@@ -0,0 +1,21 @@
1
+ import { IInstruments } from '../../../api/instruments/instruments.typed';
2
+ import { INSTRUMENTS_TYPES } from '../../../hooks/useSearchInstruments';
3
+ interface IProps {
4
+ isEmpty: boolean;
5
+ searchText: string;
6
+ data: IInstruments | null;
7
+ favourites: number[];
8
+ hostname: string;
9
+ tabs: {
10
+ label: string;
11
+ value: INSTRUMENTS_TYPES;
12
+ dataCount?: number;
13
+ }[];
14
+ selectedTab: INSTRUMENTS_TYPES;
15
+ setSelectedTab: (val: INSTRUMENTS_TYPES) => void;
16
+ handleRouteChange: (val: string, target?: boolean) => void;
17
+ windowHeight: number;
18
+ onClose: () => void;
19
+ }
20
+ declare const Search: ({ isEmpty, searchText, hostname, setSelectedTab, selectedTab, tabs, favourites, data, handleRouteChange, windowHeight, onClose }: IProps) => JSX.Element;
21
+ export { Search };
@@ -0,0 +1,3 @@
1
+ export declare const Icons: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2
+ height: number;
3
+ }, never>;
@@ -1,4 +1,4 @@
1
- import { IInstrumentType } from '../../../../../../../api/instruments/instruments.typed';
1
+ import { IInstrumentType } from '../../../../../api/instruments/instruments.typed';
2
2
  interface IProps {
3
3
  favourites: number[];
4
4
  data: IInstrumentType;
@@ -19,7 +19,4 @@ declare const Input: import("styled-components").StyledComponent<"input", import
19
19
  }, never>;
20
20
  declare const Divider: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
21
21
  declare const Loader: import("styled-components").StyledComponent<({ size, color, className }: import("../../../../../../uikit/Spinner/Spinner.typed").ISpinner) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
22
- declare const Icons: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
23
- height: number;
24
- }, never>;
25
- export { Wrapper, Layout, Window, Content, Header, Close, Input, InputContainer, Search, Delete, Divider, Loader, Icons };
22
+ export { Wrapper, Layout, Window, Content, Header, Close, Input, InputContainer, Search, Delete, Divider, Loader };
@@ -22,5 +22,4 @@ declare const TitleLink: import("styled-components").StyledComponent<"a", import
22
22
  }, never>;
23
23
  declare const Hint: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
24
24
  declare const Subtitle: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {}, never>;
25
- export declare const LastWord: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
26
25
  export { Container, Header, TitleContainer, Title, TitleLink, Hint, Subtitle, FirstLine };
@@ -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;
@@ -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>, "active" | "selected"> & {
45
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
46
46
  active?: boolean;
47
47
  selected?: boolean;
48
48
  }) => Record<string, unknown>;
@@ -25,9 +25,9 @@ export declare function useHint({ placement }?: HintOptions): {
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;
@@ -43,7 +43,7 @@ export declare function useHint({ placement }?: HintOptions): {
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>, "active" | "selected"> & {
46
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
47
47
  active?: boolean;
48
48
  selected?: boolean;
49
49
  }) => Record<string, unknown>;
@@ -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;
@@ -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>, "active" | "selected"> & {
50
+ getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "selected" | "active"> & {
51
51
  active?: boolean;
52
52
  selected?: boolean;
53
53
  }) => Record<string, unknown>;
@@ -0,0 +1,7 @@
1
+ import { IPopup } from '../Popup/Popup.typed';
2
+ interface IProps {
3
+ text: string;
4
+ hint: IPopup;
5
+ }
6
+ declare const TextWithPopup: ({ text, hint }: IProps) => JSX.Element;
7
+ export { TextWithPopup };
@@ -1,5 +1,5 @@
1
- import { TTypographyVariant } from './Typography.typed';
1
+ import { ITypographyProps } from './Typography.typed';
2
2
  declare const TypographyStyled: import("styled-components").StyledComponent<"p", import("styled-components").DefaultTheme, {
3
- variant: TTypographyVariant;
3
+ variant: ITypographyProps['variant'];
4
4
  }, never>;
5
5
  export { TypographyStyled };
@@ -5,7 +5,10 @@ export interface ITypographyProps {
5
5
  /**HTML тег */
6
6
  tag?: keyof JSX.IntrinsicElements;
7
7
  /**Тип тега */
8
- variant: TTypographyVariant;
8
+ variant: TTypographyVariant | {
9
+ variant: TTypographyVariant;
10
+ resolution: number;
11
+ }[];
9
12
  /**Класс элемента */
10
13
  className?: string;
11
14
  /**Контента внутри элемента */