profinansy-ui-lib 4.0.88 → 4.0.90
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/Datepicker/components/Header/Header.d.ts +3 -1
- package/dist/components/uikit/ScreenerSelect/ScreenerSelect.d.ts +2 -1
- package/dist/components/uikit/ScreenerSelect/components/OptionWithCheckbox/OptionWithCheckbox.d.ts +1 -1
- package/dist/components/uikit/ScreenerSelect/index.d.ts +1 -1
- package/dist/components/uikit/Select/Select.d.ts +2 -1
- package/dist/components/uikit/Select/Select.utils.d.ts +1 -1
- package/dist/components/uikit/Select/components/OptionWithCheckbox/OptionWithCheckbox.d.ts +1 -1
- package/dist/components/uikit/Select/components/ValueContainerWithImage/ValueContainerWithImage.d.ts +8 -2
- package/dist/components/uikit/Select/index.d.ts +7 -2
- package/dist/components/uikit/Tooltip/Tooltip.d.ts +2 -1
- package/dist/components/uikit/Tooltip/Tooltip.typed.d.ts +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/localization/translations/common.d.ts +8 -0
- package/dist/profinansy-ui-lib.cjs +1106 -2201
- package/dist/profinansy-ui-lib.cjs.map +1 -1
- package/dist/profinansy-ui-lib.es.js +13283 -25219
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/theme/theme.const.d.ts +12 -0
- package/dist/urls/productsV2/budget/budget.d.ts +1 -0
- package/dist/urls/productsV2/calculators/calculators.d.ts +3 -0
- package/dist/urls/productsV2/goals/goals.d.ts +2 -0
- package/dist/urls/productsV2/portfolios/portfolios.d.ts +2 -0
- package/dist/urls/productsV2/profile/profile.d.ts +6 -0
- package/package.json +1 -2
- /package/dist/hooks/{useHiddingFromApp.d.ts → useHidingFromApp.d.ts} +0 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { ReactDatePickerCustomHeaderProps } from 'react-datepicker';
|
|
2
|
-
declare const DatepickerHeader: (props: ReactDatePickerCustomHeaderProps
|
|
2
|
+
declare const DatepickerHeader: (props: ReactDatePickerCustomHeaderProps & {
|
|
3
|
+
isForeignSite?: boolean;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
3
5
|
export { DatepickerHeader };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { SelectInstance } from 'react-select';
|
|
2
3
|
import { ISelect } from './ScreenerSelect.typed';
|
|
3
|
-
declare const ScreenerSelect: React.MemoExoticComponent<React.ForwardRefExoticComponent<ISelect & React.RefAttributes<
|
|
4
|
+
declare const ScreenerSelect: React.MemoExoticComponent<React.ForwardRefExoticComponent<ISelect & React.RefAttributes<SelectInstance<unknown, false, import("react-select").GroupBase<unknown>>>>>;
|
|
4
5
|
export { ScreenerSelect };
|
package/dist/components/uikit/ScreenerSelect/components/OptionWithCheckbox/OptionWithCheckbox.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { OptionProps } from 'react-select';
|
|
2
|
-
declare const OptionWithCheckbox: ({ children, ...props }: OptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const OptionWithCheckbox: ({ children: _children, ...props }: OptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { OptionWithCheckbox };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const ScreenerSelectOptions: {
|
|
2
|
-
OptionWithCheckbox: ({ children, ...props }: import("react-select").OptionProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
OptionWithCheckbox: ({ children: _children, ...props }: import("react-select").OptionProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
ValueContainer: ({ children, ...props }: import("react-select").ValueContainerProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
};
|
|
5
5
|
export type { IOption as ISelectOption } from './ScreenerSelect.typed';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { SelectInstance } from 'react-select';
|
|
2
3
|
import { ISelect } from './SelectInput.typed';
|
|
3
|
-
declare const SelectInput: React.MemoExoticComponent<React.ForwardRefExoticComponent<ISelect & React.RefAttributes<
|
|
4
|
+
declare const SelectInput: React.MemoExoticComponent<React.ForwardRefExoticComponent<ISelect & React.RefAttributes<SelectInstance<unknown, false, import("react-select").GroupBase<unknown>>>>>;
|
|
4
5
|
export { SelectInput };
|
|
@@ -7,5 +7,5 @@ export declare const getComponents: (isMulti: boolean, customOption: TSelectComm
|
|
|
7
7
|
ClearIndicator: (props: import("react-select").ClearIndicatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
DropdownIndicator: (props: import("react-select").DropdownIndicatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
IndicatorSeparator: (props: import("react-select").IndicatorSeparatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
MultiValueRemove: (props:
|
|
10
|
+
MultiValueRemove: (props: import("react-select").MultiValueRemoveProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { OptionProps } from 'react-select';
|
|
2
|
-
declare const OptionWithCheckbox: ({ children, ...props }: OptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const OptionWithCheckbox: ({ children: _children, ...props }: OptionProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { OptionWithCheckbox };
|
package/dist/components/uikit/Select/components/ValueContainerWithImage/ValueContainerWithImage.d.ts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
1
|
+
import { MultiValueProps, MultiValueRemoveProps } from 'react-select';
|
|
2
|
+
export declare const MultiValueRemove: (props: MultiValueRemoveProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const MultiValueLabelWithImg: (props: MultiValueProps & {
|
|
4
|
+
data: {
|
|
5
|
+
image?: string;
|
|
6
|
+
label: string;
|
|
7
|
+
};
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
declare const Select: {
|
|
2
|
-
OptionWithCheckbox: ({ children, ...props }: import("react-select").OptionProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
OptionWithCheckbox: ({ children: _children, ...props }: import("react-select").OptionProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
OptionWithImage: (props: import("react-select").OptionProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
OptionWithCheckboxAndImage: (props: import("react-select").OptionProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
ValueContainer: ({ children, ...props }: import("react-select").ValueContainerProps<unknown, boolean, import("react-select").GroupBase<unknown>>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
MultiValueLabelWithImg: (props:
|
|
6
|
+
MultiValueLabelWithImg: (props: import("react-select").MultiValueProps<unknown, boolean, import("react-select").GroupBase<unknown>> & {
|
|
7
|
+
data: {
|
|
8
|
+
image?: string;
|
|
9
|
+
label: string;
|
|
10
|
+
};
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
12
|
};
|
|
8
13
|
export type { IOption as ISelectOption } from './SelectInput.typed';
|
|
9
14
|
export { SelectInput } from './Select';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { Placement } from '@floating-ui/react';
|
|
3
3
|
import { ITooltipProps, ITooltipRef } from './Tooltip.typed';
|
|
4
|
-
export declare function useTooltip({ placement, isHover, showArrow, onOpenTooltip }: {
|
|
4
|
+
export declare function useTooltip({ placement, isHover, showArrow, onOpenTooltip, disableScrollUpdate }: {
|
|
5
5
|
placement?: Placement;
|
|
6
6
|
isHover?: boolean;
|
|
7
7
|
showArrow?: boolean;
|
|
8
8
|
onOpenTooltip?: ITooltipProps['onOpenTooltip'];
|
|
9
|
+
disableScrollUpdate?: boolean;
|
|
9
10
|
}): {
|
|
10
11
|
placement: Placement;
|
|
11
12
|
strategy: import("@floating-ui/utils").Strategy;
|
|
@@ -26,6 +26,8 @@ export interface ITooltipProps {
|
|
|
26
26
|
onOpenTooltip?: (val: boolean) => void;
|
|
27
27
|
/** Стили для контейнера.*/
|
|
28
28
|
styleContainer?: CSS.Properties;
|
|
29
|
+
/** Отключить пересчёт позиции при скролле (для фиксированных элементов вроде хедера) */
|
|
30
|
+
disableScrollUpdate?: boolean;
|
|
29
31
|
}
|
|
30
32
|
export interface ITooltipRef {
|
|
31
33
|
handleClose: () => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { SearchCategories } from './components/blocks/search/Search.const';
|
|
|
15
15
|
export { FavouriteButton } from './components/blocks/Favourite';
|
|
16
16
|
export { Cookies } from './components/blocks/Cookies';
|
|
17
17
|
export { LayoutSideMenuV2 } from './components/layouts/LayoutSideMenuV2';
|
|
18
|
-
export { useHidingFromApp } from './hooks/
|
|
18
|
+
export { useHidingFromApp } from './hooks/useHidingFromApp';
|
|
19
19
|
export { useHidingChat } from './hooks/useHidingChat';
|
|
20
20
|
export { default as useClickOutside } from './hooks/useClickOutside';
|
|
21
21
|
export { useOpenSideMenu } from './hooks/sideMenu/useOpenSideMenu';
|
|
@@ -18,6 +18,10 @@ export declare const common_translation: {
|
|
|
18
18
|
new: string;
|
|
19
19
|
how_it_works: string;
|
|
20
20
|
read_more: string;
|
|
21
|
+
share: string;
|
|
22
|
+
copy_link: string;
|
|
23
|
+
reset: string;
|
|
24
|
+
filter_search: string;
|
|
21
25
|
};
|
|
22
26
|
en: {
|
|
23
27
|
find_recently: string;
|
|
@@ -38,5 +42,9 @@ export declare const common_translation: {
|
|
|
38
42
|
new: string;
|
|
39
43
|
how_it_works: string;
|
|
40
44
|
read_more: string;
|
|
45
|
+
share: string;
|
|
46
|
+
copy_link: string;
|
|
47
|
+
reset: string;
|
|
48
|
+
filter_search: string;
|
|
41
49
|
};
|
|
42
50
|
};
|