profinansy-ui-lib 3.6.95 → 3.6.97

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,3 +1,3 @@
1
1
  import { ICommentProps } from './Comment.typed';
2
- declare const Comment: ({ amount, onClick, type }: ICommentProps) => JSX.Element;
2
+ declare const Comment: ({ amount, onClick, type, isNewComments }: ICommentProps) => JSX.Element;
3
3
  export { Comment };
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  title: string;
3
- component: ({ amount, onClick, type }: import("./Comment.typed").ICommentProps) => JSX.Element;
3
+ component: ({ amount, onClick, type, isNewComments }: import("./Comment.typed").ICommentProps) => JSX.Element;
4
4
  tags: string[];
5
5
  };
6
6
  export default _default;
@@ -2,3 +2,7 @@ import { TTypeComment } from './Comment.typed';
2
2
  export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
3
3
  $type: TTypeComment;
4
4
  }, never>;
5
+ export declare const IconWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const NewComments: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
7
+ $type: TTypeComment;
8
+ }, never>;
@@ -2,6 +2,9 @@
2
2
  export type TTypeComment = 'primary' | 'content';
3
3
  export interface ICommentProps {
4
4
  type?: TTypeComment;
5
+ /** Количество комментариев */
5
6
  amount: number;
7
+ /** Есть ли новые комментарии */
8
+ isNewComments?: boolean;
6
9
  onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
7
10
  }
@@ -1,3 +1,3 @@
1
1
  import { IFavouriteProps } from './Favourite.typed';
2
- declare const FavouriteButton: ({ className, isActive, handleFav, type }: IFavouriteProps) => JSX.Element;
2
+ declare const FavouriteButton: ({ className, isActive, handleFav }: IFavouriteProps) => JSX.Element;
3
3
  export { FavouriteButton };
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  title: string;
3
- component: ({ className, isActive, handleFav, type }: import("./Favourite.typed").IFavouriteProps) => JSX.Element;
3
+ component: ({ className, isActive, handleFav }: import("./Favourite.typed").IFavouriteProps) => JSX.Element;
4
4
  tags: string[];
5
5
  };
6
6
  export default _default;
@@ -1,5 +1,3 @@
1
- import { TTypeFavourite } from './Favourite.typed';
2
1
  export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
3
2
  $isActive: boolean;
4
- $type: TTypeFavourite;
5
3
  }, never>;
@@ -1,7 +1,4 @@
1
- export type TTypeFavourite = 'primary' | 'content';
2
1
  export interface IFavouriteProps {
3
- /**Тип кнопки */
4
- type?: TTypeFavourite;
5
2
  /**Класс для кнопки */
6
3
  className?: string;
7
4
  /**Добавлен ли объект в избранное */
@@ -4,7 +4,7 @@ declare const Button: import("styled-components").StyledComponent<"button", Defa
4
4
  $form: ButtonForm;
5
5
  size: ButtonSize;
6
6
  width: string;
7
- mode: TButtonMode;
7
+ $mode: TButtonMode;
8
8
  isText: boolean;
9
9
  isFill: boolean;
10
10
  }, never>;
@@ -17,6 +17,6 @@ declare const IconRight: import("styled-components").StyledComponent<"span", Def
17
17
  isText: boolean;
18
18
  }, never>;
19
19
  declare const Loading: import("styled-components").StyledComponent<"div", DefaultTheme, {
20
- mode: TButtonMode;
20
+ $mode: TButtonMode;
21
21
  }, never>;
22
22
  export { Loading, IconRight, IconLeft, Button };