@mindly/ui-components 9.0.2 → 9.0.3

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.
@@ -20,5 +20,6 @@ declare const _default: React.NamedExoticComponent<{
20
20
  expandType?: "modal" | "inline";
21
21
  onEditReview?: (review: Pick<SpecialistReview, "id" | "review_rating" | "text_of_review">) => void;
22
22
  onMoreClick?(): void;
23
+ expandedModalContent?: React.ReactNode;
23
24
  } & TranslationType & React.RefAttributes<HTMLDivElement>>;
24
25
  export default _default;
@@ -15,4 +15,5 @@ export interface Props extends Omit<TypographyProps, 'children'> {
15
15
  presentingElement?: HTMLElement;
16
16
  onMoreClick?(): void;
17
17
  hideShowMore?: boolean;
18
+ expandedModalContent?: React.ReactNode;
18
19
  }
@@ -3,6 +3,8 @@ import { WithTranslation } from 'react-i18next';
3
3
  export type EmptyReviewProps = {
4
4
  containerClassName?: string;
5
5
  t?: WithTranslation['t'];
6
+ titleLabel?: string;
7
+ descriptionLabel?: string;
6
8
  };
7
9
  declare const EmptyReview: React.FC<EmptyReviewProps>;
8
10
  export default EmptyReview;
@@ -3,6 +3,10 @@ type SpecialistEmptyReviewsProps = {
3
3
  headerLabel: string;
4
4
  t?: WithTranslation['t'];
5
5
  onBackClick?: () => void;
6
+ emptyReviewLabels?: {
7
+ titleLabel?: string;
8
+ descriptionLabel?: string;
9
+ };
6
10
  };
7
- declare const SpecialistEmptyReviews: ({ headerLabel, t, onBackClick }: SpecialistEmptyReviewsProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const SpecialistEmptyReviews: ({ headerLabel, t, onBackClick, emptyReviewLabels }: SpecialistEmptyReviewsProps) => import("react/jsx-runtime").JSX.Element;
8
12
  export default SpecialistEmptyReviews;
@@ -15,6 +15,10 @@ export interface SpecialistReviewsListWidgetProps extends SharedReviewCardProps
15
15
  t: WithTranslation['t'];
16
16
  onBackClick?: () => void;
17
17
  onMoreClick?(id: string): void;
18
+ emptyReviewLabels?: {
19
+ titleLabel?: string;
20
+ descriptionLabel?: string;
21
+ };
18
22
  }
19
23
  declare const SpecialistReviewsListWidget: React.FC<SpecialistReviewsListWidgetProps>;
20
24
  export default SpecialistReviewsListWidget;
@@ -0,0 +1,9 @@
1
+ export declare const reviews: {
2
+ id: string;
3
+ name: string;
4
+ isUnread: boolean;
5
+ review: string;
6
+ avatarSrc: string;
7
+ date: number;
8
+ rating: number;
9
+ }[];