profinansy-ui-lib 3.2.80 → 3.2.82
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/blocks/search/components/UserRequests/UserRequests.styled.d.ts +1 -1
- package/dist/components/uikit/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/uikit/FilterButton/Button/Button.d.ts +1 -1
- package/dist/components/uikit/FilterButton/Button/Button.styled.d.ts +1 -1
- package/dist/components/uikit/FilterButton/Drop/Drop.d.ts +1 -1
- package/dist/components/uikit/FilterButton/FilterButton.d.ts +1 -1
- package/dist/components/uikit/FilterButton/FilterButton.stories.d.ts +1 -1
- package/dist/components/uikit/FilterButton/FilterButton.typed.d.ts +2 -2
- package/dist/components/uikit/Hint/Hint.d.ts +1 -1
- package/dist/components/uikit/Popup/Popup.d.ts +1 -1
- package/dist/components/uikit/TextButton/TextButton.const.d.ts +0 -29
- package/dist/components/uikit/TextButton/TextButton.d.ts +1 -1
- package/dist/components/uikit/TextButton/TextButton.stories.d.ts +2 -1
- package/dist/components/uikit/TextButton/TextButton.styled.d.ts +1 -5
- package/dist/components/uikit/TextButton/TextButton.typed.d.ts +0 -4
- package/dist/components/uikit/TextButtonLink/TextButtonLink.d.ts +3 -0
- package/dist/components/uikit/TextButtonLink/TextButtonLink.stories.d.ts +7 -0
- package/dist/components/uikit/TextButtonLink/TextButtonLink.typed.d.ts +8 -0
- package/dist/components/uikit/TextButtonLink/index.d.ts +1 -0
- package/dist/components/uikit/Tooltip/Tooltip.d.ts +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +35 -42
- package/package.json +1 -1
|
@@ -19,5 +19,5 @@ export declare const Symbol: import("styled-components").StyledComponent<"div",
|
|
|
19
19
|
export declare const TickerLine: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
20
20
|
export declare const Stick: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
21
21
|
export declare const Dot: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
22
|
-
export declare const ShowMore: import("styled-components").StyledComponent<({ type,
|
|
22
|
+
export declare const ShowMore: import("styled-components").StyledComponent<({ type, text, style, onClick, className, iconLeft, iconRight, disabled }: import("../../../../uikit/TextButton/TextButton.typed").ITextButton) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
|
|
23
23
|
export declare const Flag: import("styled-components").StyledComponent<"img", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -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;
|
|
29
28
|
x: number;
|
|
30
29
|
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;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { IFilterButton } from '../FilterButton.typed';
|
|
3
3
|
interface IProps {
|
|
4
4
|
activeElements: IFilterButton['activeElements'];
|
|
5
|
-
|
|
5
|
+
isStroke: IFilterButton['isStroke'];
|
|
6
6
|
text?: IFilterButton['text'];
|
|
7
7
|
size: IFilterButton['size'];
|
|
8
8
|
onClick?: () => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IFilterButton } from '../FilterButton.typed';
|
|
2
2
|
export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
3
3
|
activeElements: number;
|
|
4
|
-
|
|
4
|
+
isStroke: IFilterButton['isStroke'];
|
|
5
5
|
size: IFilterButton['size'];
|
|
6
6
|
isText: boolean;
|
|
7
7
|
}, never>;
|
|
@@ -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;
|
|
28
27
|
x: number;
|
|
29
28
|
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;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IFilterButton } from './FilterButton.typed';
|
|
2
|
-
declare const FilterButton: ({ text, activeElements,
|
|
2
|
+
declare const FilterButton: ({ text, activeElements, isStroke, children, resetFilter, handleConfirm, size, isConfirmWithoutClose, isCancelWithoutClose, handleCustomOpen, padding }: IFilterButton) => JSX.Element;
|
|
3
3
|
export { FilterButton };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: ({ text, activeElements,
|
|
3
|
+
component: ({ text, activeElements, isStroke, children, resetFilter, handleConfirm, size, isConfirmWithoutClose, isCancelWithoutClose, handleCustomOpen, padding }: import("./FilterButton.typed").IFilterButton) => JSX.Element;
|
|
4
4
|
tags: string[];
|
|
5
5
|
parameters: {
|
|
6
6
|
design: {
|
|
@@ -5,8 +5,8 @@ export interface IFilterButton {
|
|
|
5
5
|
text?: string;
|
|
6
6
|
/**Количество выбранных элементов */
|
|
7
7
|
activeElements: number;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
/** Тип кнопки stroke */
|
|
9
|
+
isStroke?: boolean;
|
|
10
10
|
/** Размер кнопки */
|
|
11
11
|
size?: 'S' | 'M';
|
|
12
12
|
/** Паддинги для выпадашки*/
|
|
@@ -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;
|
|
30
29
|
x: number;
|
|
31
30
|
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;
|
|
33
32
|
x: number;
|
|
34
33
|
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,16 +1,4 @@
|
|
|
1
1
|
import { TTheme } from '../../../theme/theme.typed';
|
|
2
|
-
export declare const TextButtonSize: {
|
|
3
|
-
M: {
|
|
4
|
-
fontWeight: number;
|
|
5
|
-
fontSize: string;
|
|
6
|
-
lineHeight: string;
|
|
7
|
-
};
|
|
8
|
-
S: {
|
|
9
|
-
fontWeight: number;
|
|
10
|
-
fontSize: string;
|
|
11
|
-
lineHeight: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
2
|
export declare const getMode: (theme: TTheme) => {
|
|
15
3
|
blue: {
|
|
16
4
|
default: {
|
|
@@ -22,22 +10,5 @@ export declare const getMode: (theme: TTheme) => {
|
|
|
22
10
|
active: {
|
|
23
11
|
color: string;
|
|
24
12
|
};
|
|
25
|
-
disabled: {
|
|
26
|
-
color: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
gray: {
|
|
30
|
-
default: {
|
|
31
|
-
color: string;
|
|
32
|
-
};
|
|
33
|
-
hover: {
|
|
34
|
-
color: string;
|
|
35
|
-
};
|
|
36
|
-
active: {
|
|
37
|
-
color: string;
|
|
38
|
-
};
|
|
39
|
-
disabled: {
|
|
40
|
-
color: string;
|
|
41
|
-
};
|
|
42
13
|
};
|
|
43
14
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITextButton } from './TextButton.typed';
|
|
2
|
-
declare const TextButton: ({ type,
|
|
2
|
+
declare const TextButton: ({ type, text, style, onClick, className, iconLeft, iconRight, disabled }: ITextButton) => JSX.Element;
|
|
3
3
|
export { TextButton };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
|
-
component: ({ type,
|
|
3
|
+
component: ({ type, text, style, onClick, className, iconLeft, iconRight, disabled }: import("./TextButton.typed").ITextButton) => JSX.Element;
|
|
4
|
+
tags: string[];
|
|
4
5
|
};
|
|
5
6
|
export default _default;
|
|
6
7
|
export declare const TextButton: () => JSX.Element;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const TextButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
3
|
-
mode: TMode;
|
|
4
|
-
size: TTextButtonSizeSize;
|
|
5
|
-
}, never>;
|
|
1
|
+
export declare const TextButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
6
2
|
export declare const IconLeft: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
7
3
|
export declare const IconRight: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import CSS from 'csstype';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
export type TMode = 'blue' | 'gray';
|
|
4
|
-
export type TTextButtonSizeSize = 'M' | 'S';
|
|
5
3
|
export interface ITextButton {
|
|
6
4
|
type?: 'submit' | 'button';
|
|
7
5
|
className?: string;
|
|
8
6
|
text?: string;
|
|
9
7
|
disabled?: boolean;
|
|
10
|
-
mode?: TMode;
|
|
11
|
-
size?: TTextButtonSizeSize;
|
|
12
8
|
iconLeft?: ReactNode;
|
|
13
9
|
iconRight?: ReactNode;
|
|
14
10
|
style?: CSS.Properties;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TextButtonLink } from './TextButtonLink';
|
|
@@ -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;
|
|
30
29
|
x: number;
|
|
31
30
|
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;
|
package/dist/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ import { Table } from './components/uikit/Table';
|
|
|
25
25
|
import { Button } from './components/uikit/Button';
|
|
26
26
|
import { Tabs } from './components/uikit/Tabs';
|
|
27
27
|
import { TextButton } from './components/uikit/TextButton';
|
|
28
|
+
import { TextButtonLink } from './components/uikit/TextButtonLink';
|
|
28
29
|
import { RegexPattern, Input } from './components/uikit/Input';
|
|
29
30
|
import { ErrorText } from './components/uikit/ErrorText';
|
|
30
31
|
import { Avatar } from './components/uikit/Avatar';
|
|
@@ -56,4 +57,4 @@ import { INSTRUMENTS_TYPES } from './hooks/useSearchInstruments';
|
|
|
56
57
|
import { HEIGHT_HEADER } from './constants/common';
|
|
57
58
|
import { AnimationFunctions } from './constants/animation/animation';
|
|
58
59
|
import { IColumnTable } from './components/uikit/Table';
|
|
59
|
-
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, 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, 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 };
|