profinansy-ui-lib 3.2.81 → 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.
@@ -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, mode, size, text, style, onClick, className, iconLeft, iconRight, disabled }: import("../../../../uikit/TextButton/TextButton.typed").ITextButton) => JSX.Element, import("styled-components").DefaultTheme, {}, never>;
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>;
@@ -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, mode, size, text, style, onClick, className, iconLeft, iconRight, disabled }: ITextButton) => JSX.Element;
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, mode, size, text, style, onClick, className, iconLeft, iconRight, disabled }: import("./TextButton.typed").ITextButton) => JSX.Element;
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
- import { TMode, TTextButtonSizeSize } from './TextButton.typed';
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,3 @@
1
+ import { ITextButtonLink } from './TextButtonLink.typed';
2
+ declare const TextButtonLink: (props: ITextButtonLink) => JSX.Element;
3
+ export { TextButtonLink };
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ title: string;
3
+ component: (props: import("./TextButtonLink.typed").ITextButtonLink) => JSX.Element;
4
+ tags: string[];
5
+ };
6
+ export default _default;
7
+ export declare const TextButton: () => JSX.Element;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import CSS from 'csstype';
3
+ export interface ITextButtonLink {
4
+ className?: string;
5
+ text?: string;
6
+ style?: CSS.Properties;
7
+ onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
8
+ }
@@ -0,0 +1 @@
1
+ export { TextButtonLink } from './TextButtonLink';
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 };