profinansy-ui-lib 3.5.4 → 3.5.6
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/uikit/Dropdown/Dropdown.d.ts +3 -3
- package/dist/components/uikit/FilterButton/Drop/Drop.d.ts +3 -3
- package/dist/components/uikit/Hint/Hint.d.ts +3 -3
- package/dist/components/uikit/Popup/Popup.d.ts +3 -3
- package/dist/components/uikit/Select/Select.d.ts +4 -0
- package/dist/components/uikit/Select/Select.stories.d.ts +8 -0
- package/dist/components/uikit/Select/Select.styled.d.ts +15 -0
- package/dist/components/uikit/Select/Select.utils.d.ts +11 -0
- package/dist/components/uikit/Select/SelectInput.typed.d.ts +63 -0
- package/dist/components/uikit/Select/components/ClearIndicator/ClearIndicator.d.ts +3 -0
- package/dist/components/uikit/Select/components/ClearIndicator/CloseIndicator.styled.d.ts +1 -0
- package/dist/components/uikit/Select/components/DropdownIndicator/DropdownIndicator.d.ts +3 -0
- package/dist/components/uikit/Select/components/DropdownIndicator/DropdownIndicator.styled.d.ts +9 -0
- package/dist/components/uikit/Select/components/IndicatorSeparator/IndicatorSeparator.d.ts +3 -0
- package/dist/components/uikit/Select/components/IndicatorSeparator/IndicatorSeparator.styles.d.ts +1 -0
- package/dist/components/uikit/Select/components/OptionWithCheckbox/OptionWithCheckbox.d.ts +3 -0
- package/dist/components/uikit/Select/components/OptionWithCheckbox/index.d.ts +1 -0
- package/dist/components/uikit/Select/components/OptionWithImage/OptionWithImage.d.ts +3 -0
- package/dist/components/uikit/Select/components/OptionWithImage/OptionWithImage.styled.d.ts +3 -0
- package/dist/components/uikit/Select/components/OptionWithImage/index.d.ts +1 -0
- package/dist/components/uikit/Select/components/ValueContainer/ValueContainer.d.ts +3 -0
- package/dist/components/uikit/Select/components/ValueContainer/ValueContainer.styled.d.ts +1 -0
- package/dist/components/uikit/Select/components/ValueContainerWithImage/ValueContainerWithImage.d.ts +2 -0
- package/dist/components/uikit/Select/components/ValueContainerWithImage/ValueContainerWithImage.styled.d.ts +4 -0
- package/dist/components/uikit/Select/index.d.ts +8 -0
- package/dist/components/uikit/Tabs/Tabs.d.ts +1 -1
- package/dist/components/uikit/Tabs/Tabs.stories.d.ts +1 -1
- package/dist/components/uikit/Tabs/Tabs.styled.d.ts +7 -0
- package/dist/components/uikit/Tabs/Tabs.typed.d.ts +3 -0
- package/dist/components/uikit/Tooltip/Tooltip.d.ts +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.js +163 -32
- package/dist/index.js.LICENSE.txt +9 -0
- package/dist/styles/Scroll.d.ts +15 -0
- package/package.json +2 -1
|
@@ -7,7 +7,7 @@ export declare function useDrop({ placement, onOpenList }: {
|
|
|
7
7
|
}): {
|
|
8
8
|
placement: Placement;
|
|
9
9
|
strategy: import("@floating-ui/utils").Strategy;
|
|
10
|
-
middlewareData: import("@floating-ui/
|
|
10
|
+
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
11
11
|
x: number;
|
|
12
12
|
y: number;
|
|
13
13
|
isPositioned: boolean;
|
|
@@ -28,7 +28,7 @@ export declare function useDrop({ placement, onOpenList }: {
|
|
|
28
28
|
strategy: import("@floating-ui/utils").Strategy;
|
|
29
29
|
x: number;
|
|
30
30
|
y: number;
|
|
31
|
-
middlewareData: import("@floating-ui/
|
|
31
|
+
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
32
32
|
isPositioned: boolean;
|
|
33
33
|
update: () => void;
|
|
34
34
|
floatingStyles: React.CSSProperties;
|
|
@@ -43,7 +43,7 @@ export declare function useDrop({ placement, onOpenList }: {
|
|
|
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>, "
|
|
46
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
|
|
47
47
|
active?: boolean;
|
|
48
48
|
selected?: boolean;
|
|
49
49
|
}) => Record<string, unknown>;
|
|
@@ -6,7 +6,7 @@ export declare function useDrop({ placement }: {
|
|
|
6
6
|
}): {
|
|
7
7
|
placement: Placement;
|
|
8
8
|
strategy: import("@floating-ui/utils").Strategy;
|
|
9
|
-
middlewareData: import("@floating-ui/
|
|
9
|
+
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
10
10
|
x: number;
|
|
11
11
|
y: number;
|
|
12
12
|
isPositioned: boolean;
|
|
@@ -27,7 +27,7 @@ export declare function useDrop({ placement }: {
|
|
|
27
27
|
strategy: import("@floating-ui/utils").Strategy;
|
|
28
28
|
x: number;
|
|
29
29
|
y: number;
|
|
30
|
-
middlewareData: import("@floating-ui/
|
|
30
|
+
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
31
31
|
isPositioned: boolean;
|
|
32
32
|
update: () => void;
|
|
33
33
|
floatingStyles: React.CSSProperties;
|
|
@@ -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>, "
|
|
45
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
|
|
46
46
|
active?: boolean;
|
|
47
47
|
selected?: boolean;
|
|
48
48
|
}) => Record<string, unknown>;
|
|
@@ -8,7 +8,7 @@ interface HintOptions {
|
|
|
8
8
|
export declare function useHint({ placement, isClickMobile }?: HintOptions): {
|
|
9
9
|
placement: Placement;
|
|
10
10
|
strategy: import("@floating-ui/utils").Strategy;
|
|
11
|
-
middlewareData: import("@floating-ui/
|
|
11
|
+
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
12
12
|
x: number;
|
|
13
13
|
y: number;
|
|
14
14
|
isPositioned: boolean;
|
|
@@ -29,7 +29,7 @@ export declare function useHint({ placement, isClickMobile }?: HintOptions): {
|
|
|
29
29
|
strategy: import("@floating-ui/utils").Strategy;
|
|
30
30
|
x: number;
|
|
31
31
|
y: number;
|
|
32
|
-
middlewareData: import("@floating-ui/
|
|
32
|
+
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
33
33
|
isPositioned: boolean;
|
|
34
34
|
update: () => void;
|
|
35
35
|
floatingStyles: React.CSSProperties;
|
|
@@ -44,7 +44,7 @@ export declare function useHint({ placement, isClickMobile }?: HintOptions): {
|
|
|
44
44
|
};
|
|
45
45
|
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
46
46
|
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
47
|
-
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "
|
|
47
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
|
|
48
48
|
active?: boolean;
|
|
49
49
|
selected?: boolean;
|
|
50
50
|
}) => Record<string, unknown>;
|
|
@@ -11,7 +11,7 @@ export declare function usePopup({ placement, isHover }: {
|
|
|
11
11
|
setDescriptionId: React.Dispatch<React.SetStateAction<string>>;
|
|
12
12
|
placement: Placement;
|
|
13
13
|
strategy: import("@floating-ui/utils").Strategy;
|
|
14
|
-
middlewareData: import("@floating-ui/
|
|
14
|
+
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
15
15
|
x: number;
|
|
16
16
|
y: number;
|
|
17
17
|
isPositioned: boolean;
|
|
@@ -32,7 +32,7 @@ export declare function usePopup({ placement, isHover }: {
|
|
|
32
32
|
strategy: import("@floating-ui/utils").Strategy;
|
|
33
33
|
x: number;
|
|
34
34
|
y: number;
|
|
35
|
-
middlewareData: import("@floating-ui/
|
|
35
|
+
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
36
36
|
isPositioned: boolean;
|
|
37
37
|
update: () => void;
|
|
38
38
|
floatingStyles: React.CSSProperties;
|
|
@@ -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>, "
|
|
50
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
|
|
51
51
|
active?: boolean;
|
|
52
52
|
selected?: boolean;
|
|
53
53
|
}) => Record<string, unknown>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("./SelectInput.typed").ISelect & React.RefAttributes<any>>>;
|
|
5
|
+
tags: string[];
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const SelectInput: () => JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const borderSelectColor: (state: any) => any;
|
|
2
|
+
export declare const selectStyles: {
|
|
3
|
+
container: (baseStyles: any) => any;
|
|
4
|
+
control: (baseStyles: any, state: any) => any;
|
|
5
|
+
singleValue: (baseStyled: any, state: any) => any;
|
|
6
|
+
valueContainer: (base: any, state: any) => any;
|
|
7
|
+
multiValue: (base: any, state: any) => any;
|
|
8
|
+
multiValueLabel: (base: any, state: any) => any;
|
|
9
|
+
multiValueRemove: (base: any) => any;
|
|
10
|
+
placeholder: (baseStyled: any, state: any) => any;
|
|
11
|
+
menu: (baseStyled: any, state: any) => any;
|
|
12
|
+
menuList: (baseStyled: any, state: any) => any;
|
|
13
|
+
option: (base: any, state: any) => any;
|
|
14
|
+
};
|
|
15
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IOption, TSelectCommon } from './SelectInput.typed';
|
|
2
|
+
export declare const getCurrentValue: (isMulti: boolean, value: string | string[], options: IOption[]) => IOption | {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}[];
|
|
6
|
+
export declare const getComponents: (isMulti: boolean, customOption: TSelectCommon['customOption'], customValue: TSelectCommon['customValue'], customMultiValue: TSelectCommon['customMultiValue']) => {
|
|
7
|
+
ClearIndicator: (props: import("react-select").ClearIndicatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => JSX.Element;
|
|
8
|
+
DropdownIndicator: (props: import("react-select").DropdownIndicatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => JSX.Element;
|
|
9
|
+
IndicatorSeparator: (props: import("react-select").IndicatorSeparatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => JSX.Element;
|
|
10
|
+
MultiValueRemove: (props: any) => JSX.Element;
|
|
11
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { GroupBase, MultiValueProps, OptionProps, Props as TSelectProps, SingleValueProps } from 'react-select';
|
|
3
|
+
import { TTheme } from '../../../theme/theme.typed';
|
|
4
|
+
export interface IOption {
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
image?: string;
|
|
8
|
+
/**Для многоступенчатых опшенов*/
|
|
9
|
+
options?: Array<{
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}>;
|
|
13
|
+
}
|
|
14
|
+
export type TSelectCommon = {
|
|
15
|
+
/**Название селекта*/
|
|
16
|
+
name: string;
|
|
17
|
+
/**Плейсхолдер для селекта*/
|
|
18
|
+
placeholder?: string;
|
|
19
|
+
/**Класс для контейнера селекта*/
|
|
20
|
+
containerClass?: string;
|
|
21
|
+
/**Задизейблен ли селект*/
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
/**Ошибка для поля*/
|
|
24
|
+
error?: boolean | string | ReactNode;
|
|
25
|
+
/**Нужно ли отображать сепаратор*/
|
|
26
|
+
isSeparator?: boolean;
|
|
27
|
+
/**Кастомный позиционирование выпадающего меню. По умолчанию absolute*/
|
|
28
|
+
customPositionMenu?: string;
|
|
29
|
+
/**Опшены для селекта*/
|
|
30
|
+
options: IOption[];
|
|
31
|
+
/**Передать компонент с кастомными опшенами, чтобы отображать их по другому*/
|
|
32
|
+
customOption?: (props: OptionProps) => ReactNode;
|
|
33
|
+
/**Передать компонент с кастомными выбранными значениями, чтобы отображать их по другому*/
|
|
34
|
+
customValue?: (props: SingleValueProps) => ReactNode;
|
|
35
|
+
/**Передать компонент с кастомными выбранными значениями, чтобы отображать их по другому*/
|
|
36
|
+
customMultiValue?: (props: MultiValueProps) => ReactNode;
|
|
37
|
+
/**Скрывать выбранный опшен из списка или нет. По умолчанию false*/
|
|
38
|
+
hideSelectedOptions?: boolean;
|
|
39
|
+
/**Закрывать меню или нет после выбора опшена. По умолчанию false*/
|
|
40
|
+
closeMenuOnSelect?: boolean;
|
|
41
|
+
/**Иконка справа*/
|
|
42
|
+
icon?: ReactNode;
|
|
43
|
+
};
|
|
44
|
+
export type TSelectConditional = {
|
|
45
|
+
isMulti?: false;
|
|
46
|
+
value: string;
|
|
47
|
+
onChange: (value: string, name: string) => void;
|
|
48
|
+
} | {
|
|
49
|
+
isMulti?: true;
|
|
50
|
+
value: string[];
|
|
51
|
+
onChange: (value: string[], name: string) => void;
|
|
52
|
+
};
|
|
53
|
+
export type ISelect = Omit<TSelectProps, 'onChange' | 'options' | 'value'> & TSelectCommon & TSelectConditional;
|
|
54
|
+
declare module 'react-select/dist/declarations/src/Select' {
|
|
55
|
+
interface Props<Option, IsMulti extends boolean, Group extends GroupBase<Option>> {
|
|
56
|
+
isError?: boolean;
|
|
57
|
+
isSeparator?: boolean;
|
|
58
|
+
icon?: ReactNode;
|
|
59
|
+
isAutoHeight?: boolean;
|
|
60
|
+
customTheme?: TTheme;
|
|
61
|
+
customPositionMenu?: string;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CustomIcon: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object, string | number | symbol>;
|
package/dist/components/uikit/Select/components/DropdownIndicator/DropdownIndicator.styled.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface IProps {
|
|
2
|
+
isFocused: boolean;
|
|
3
|
+
isDisabled: boolean;
|
|
4
|
+
hasValue: boolean;
|
|
5
|
+
menuIsOpen: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const CustomIcon: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
+
export declare const Icon: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, object & IProps, string | number | symbol>;
|
|
9
|
+
export {};
|
package/dist/components/uikit/Select/components/IndicatorSeparator/IndicatorSeparator.styles.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Indicator: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './OptionWithCheckbox';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
|
+
export declare const Label: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const Logo: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './OptionWithImage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Text: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Container: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const Button: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
+
export declare const Title: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const Select: {
|
|
2
|
+
OptionWithCheckbox: ({ children, ...props }: import("react-select").OptionProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => JSX.Element;
|
|
3
|
+
OptionWithImage: (props: import("react-select").OptionProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => JSX.Element;
|
|
4
|
+
ValueContainer: ({ children, ...props }: import("react-select").ValueContainerProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => JSX.Element;
|
|
5
|
+
MultiValueLabelWithImg: (props: any) => JSX.Element;
|
|
6
|
+
};
|
|
7
|
+
export { SelectInput } from './Select';
|
|
8
|
+
export { Select };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TTabProps } from './Tabs.typed';
|
|
2
|
-
declare const Tabs: ({ style, onChange, options, selectedValue, indent, counterType, classWrapper }: TTabProps) => JSX.Element;
|
|
2
|
+
declare const Tabs: ({ style, onChange, options, selectedValue, indent, counterType, classWrapper, scroll }: TTabProps) => JSX.Element;
|
|
3
3
|
export { Tabs };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: ({ style, onChange, options, selectedValue, indent, counterType, classWrapper }: import("./Tabs.typed").TTabProps) => JSX.Element;
|
|
3
|
+
component: ({ style, onChange, options, selectedValue, indent, counterType, classWrapper, scroll }: import("./Tabs.typed").TTabProps) => JSX.Element;
|
|
4
4
|
tags: string[];
|
|
5
5
|
parameters: {
|
|
6
6
|
design: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DefaultTheme } from 'styled-components';
|
|
2
|
+
import { TScrollTabs } from './Tabs.typed';
|
|
2
3
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", DefaultTheme, {}, never>;
|
|
3
4
|
export declare const Container: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
4
5
|
indent: number;
|
|
@@ -10,3 +11,9 @@ export declare const LineIndicator: import("styled-components").StyledComponent<
|
|
|
10
11
|
position: number;
|
|
11
12
|
width: number;
|
|
12
13
|
}, never>;
|
|
14
|
+
export declare const Mute: import("styled-components").StyledComponent<"div", DefaultTheme, {
|
|
15
|
+
isLeft?: boolean;
|
|
16
|
+
scroll: TScrollTabs;
|
|
17
|
+
}, never>;
|
|
18
|
+
export declare const LeftButton: import("styled-components").StyledComponent<({ direction, className, style, size, onClick, disabled }: import("../ArrowButton/ArrowButton.typed").IArrowButton) => JSX.Element, DefaultTheme, {}, never>;
|
|
19
|
+
export declare const RightButton: import("styled-components").StyledComponent<({ direction, className, style, size, onClick, disabled }: import("../ArrowButton/ArrowButton.typed").IArrowButton) => JSX.Element, DefaultTheme, {}, never>;
|
|
@@ -9,6 +9,7 @@ export type TabOption = {
|
|
|
9
9
|
/** Количество элементов */
|
|
10
10
|
dataCount?: number;
|
|
11
11
|
};
|
|
12
|
+
export type TScrollTabs = 'base' | 'content';
|
|
12
13
|
export type TTabProps = {
|
|
13
14
|
/** Список элементов **/
|
|
14
15
|
options: TabOption[];
|
|
@@ -18,6 +19,8 @@ export type TTabProps = {
|
|
|
18
19
|
selectedValue: string | null;
|
|
19
20
|
/** Тип Counter */
|
|
20
21
|
counterType?: TCounterType;
|
|
22
|
+
/** Тип Скролла */
|
|
23
|
+
scroll?: TScrollTabs;
|
|
21
24
|
/** Отступ справа и слева */
|
|
22
25
|
indent?: number;
|
|
23
26
|
/** Класс для контейнера */
|
|
@@ -8,7 +8,7 @@ export declare function useTooltip({ placement, isHover, showArrow }: {
|
|
|
8
8
|
}): {
|
|
9
9
|
placement: Placement;
|
|
10
10
|
strategy: import("@floating-ui/utils").Strategy;
|
|
11
|
-
middlewareData: import("@floating-ui/
|
|
11
|
+
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
12
12
|
x: number;
|
|
13
13
|
y: number;
|
|
14
14
|
isPositioned: boolean;
|
|
@@ -29,7 +29,7 @@ export declare function useTooltip({ placement, isHover, showArrow }: {
|
|
|
29
29
|
strategy: import("@floating-ui/utils").Strategy;
|
|
30
30
|
x: number;
|
|
31
31
|
y: number;
|
|
32
|
-
middlewareData: import("@floating-ui/
|
|
32
|
+
middlewareData: import("@floating-ui/react").MiddlewareData;
|
|
33
33
|
isPositioned: boolean;
|
|
34
34
|
update: () => void;
|
|
35
35
|
floatingStyles: React.CSSProperties;
|
|
@@ -44,7 +44,7 @@ export declare function useTooltip({ placement, isHover, showArrow }: {
|
|
|
44
44
|
};
|
|
45
45
|
getReferenceProps: (userProps?: React.HTMLProps<Element>) => Record<string, unknown>;
|
|
46
46
|
getFloatingProps: (userProps?: React.HTMLProps<HTMLElement>) => Record<string, unknown>;
|
|
47
|
-
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "
|
|
47
|
+
getItemProps: (userProps?: Omit<React.HTMLProps<HTMLElement>, "active" | "selected"> & {
|
|
48
48
|
active?: boolean;
|
|
49
49
|
selected?: boolean;
|
|
50
50
|
}) => Record<string, unknown>;
|
package/dist/index.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ import { Bubbles } from './components/uikit/Bubbles';
|
|
|
61
61
|
import { Typography } from './components/uikit/Typography';
|
|
62
62
|
import { PageTitle } from './components/uikit/PageTitle';
|
|
63
63
|
import { ButtonPaging } from './components/uikit/ButtonPaging';
|
|
64
|
+
import { Select, SelectInput } from './components/uikit/Select';
|
|
64
65
|
import { palette } from './theme/theme.const';
|
|
65
66
|
import { ThemeProvider, useMode } from './theme/ThemeProvider';
|
|
66
67
|
import eventBus from './utils/eventBus';
|
|
@@ -71,4 +72,4 @@ import { HEIGHT_HEADER } from './constants/common';
|
|
|
71
72
|
import { AnimationFunctions } from './constants/animation/animation';
|
|
72
73
|
import { ListItemStyle } from './styles/List';
|
|
73
74
|
import { Scroll, NotVisibleScroll } from './styles/Scroll';
|
|
74
|
-
export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, SuccessModal, Footer, Header, HeaderWelcome, SideMenu, Notification, NotificationShort, Like, Views, Comment, ShareList, PremiumBanner, CommonBanner, CompanyInfo, Alert, AvatarCompany, Table, TCellText, Hint, SegmentControl, SwiperButton, FilterButton, ControlButton, SortingButton, Counter, Checkbox, Radio, Portal, Loader, ButtonPaging, Button, Tabs, TextButton, TextButtonLink, RegexPattern, Input, Textarea, TextareaAutoSize, 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, useLastElement, useDragging, LayoutSideMenu, HEIGHT_HEADER, setCookie, getCookie, deleteCookie, IColumnTable, ListItemStyle, Scroll, NotVisibleScroll, useMediaQuery, breakpoint };
|
|
75
|
+
export { AnimationFunctions, INSTRUMENTS_TYPES, eventBus, BusEvent, SuccessModal, Footer, Header, HeaderWelcome, SideMenu, Notification, NotificationShort, Like, Views, Comment, ShareList, PremiumBanner, CommonBanner, CompanyInfo, Alert, AvatarCompany, Table, TCellText, Hint, SegmentControl, SwiperButton, FilterButton, ControlButton, SortingButton, Counter, Checkbox, Radio, Portal, Loader, ButtonPaging, Button, Tabs, TextButton, TextButtonLink, RegexPattern, Input, Textarea, TextareaAutoSize, ErrorText, Avatar, Tooltip, Typography, Modal, SideModal, ArrowButton, Bubbles, HiddenText, PasswordInput, Dropdown, ModalMobile, Popup, IPopup, FieldRow, Card, PageTitle, Switch, Spinner, Skeleton, Select, SelectInput, palette, ThemeProvider, useMode, useHidingChat, useHidingFromApp, useOpenSideMenu, useLoadingNextPage, useLastElement, useDragging, LayoutSideMenu, HEIGHT_HEADER, setCookie, getCookie, deleteCookie, IColumnTable, ListItemStyle, Scroll, NotVisibleScroll, useMediaQuery, breakpoint };
|