profinansy-ui-lib 4.1.73 → 4.1.74

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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { SelectInstance } from 'react-select';
3
- import { ISelect } from './ScreenerSelect.typed';
3
+ import { ISelect } from 'src/components/uikit/ScreenerSelect/ScreenerSelect.typed';
4
4
  declare const ScreenerSelect: React.MemoExoticComponent<React.ForwardRefExoticComponent<ISelect & React.RefAttributes<SelectInstance<unknown, false, import("react-select").GroupBase<unknown>>>>>;
5
5
  export { ScreenerSelect };
@@ -0,0 +1,4 @@
1
+ type TCloseMenuHandler = () => void;
2
+ export declare const registerOpenScreenerSelect: (closeHandler: TCloseMenuHandler) => void;
3
+ export declare const unregisterOpenScreenerSelect: (closeHandler: TCloseMenuHandler) => void;
4
+ export {};
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { MutableRefObject, ReactNode } from 'react';
2
2
  import { GroupBase, MultiValueProps, OptionProps, Props as TSelectProps, SingleValueProps } from 'react-select';
3
3
  import { TTheme } from '../../../theme/theme.typed';
4
4
  export interface IOption {
@@ -56,5 +56,6 @@ declare module 'react-select/dist/declarations/src/Select' {
56
56
  customTheme?: TTheme;
57
57
  customPositionMenu?: string;
58
58
  showSelectAll?: boolean;
59
+ menuSearchActiveRef?: MutableRefObject<boolean>;
59
60
  }
60
61
  }
@@ -0,0 +1,2 @@
1
+ export declare const MIN_OPTIONS_FOR_MENU_SEARCH = 10;
2
+ export declare const MENU_SEARCH_INPUT_ATTR = "data-screener-menu-search";
@@ -1,5 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
3
  export declare const Header: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
+ export declare const ListScroll: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
+ export declare const SearchWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
+ export declare const SearchIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
7
+ export declare const SearchInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
8
+ export declare const EmptyMessage: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
4
9
  export declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
5
- export declare const ChildrenWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,10 @@
1
+ export declare const screener_select_translation: {
2
+ ru: {
3
+ menu_search_placeholder: string;
4
+ menu_search_empty: string;
5
+ };
6
+ en: {
7
+ menu_search_placeholder: string;
8
+ menu_search_empty: string;
9
+ };
10
+ };