@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
+ }[];
package/dist/index.d.ts CHANGED
@@ -2126,6 +2126,8 @@ declare const Toggle: typeof IonToggle;
2126
2126
  type EmptyReviewProps = {
2127
2127
  containerClassName?: string;
2128
2128
  t?: WithTranslation['t'];
2129
+ titleLabel?: string;
2130
+ descriptionLabel?: string;
2129
2131
  };
2130
2132
  declare const EmptyReview: React__default.FC<EmptyReviewProps>;
2131
2133
 
@@ -3146,6 +3148,7 @@ declare const _default$Q: React__default.NamedExoticComponent<{
3146
3148
  expandType?: "modal" | "inline";
3147
3149
  onEditReview?: (review: Pick<SpecialistReview$1, "id" | "review_rating" | "text_of_review">) => void;
3148
3150
  onMoreClick?(): void;
3151
+ expandedModalContent?: React__default.ReactNode;
3149
3152
  } & TranslationType & React__default.RefAttributes<HTMLDivElement>>;
3150
3153
 
3151
3154
  declare const ReviewsCardFeatureSkeleton: React__default.MemoExoticComponent<() => react_jsx_runtime.JSX.Element>;
@@ -3447,6 +3450,7 @@ interface Props$2 extends Omit<TypographyProps, 'children'> {
3447
3450
  presentingElement?: HTMLElement;
3448
3451
  onMoreClick?(): void;
3449
3452
  hideShowMore?: boolean;
3453
+ expandedModalContent?: React.ReactNode;
3450
3454
  }
3451
3455
 
3452
3456
  declare const _default$B: React__default.NamedExoticComponent<Props$2>;
@@ -4838,6 +4842,10 @@ interface SpecialistReviewsListWidgetProps extends SharedReviewCardProps {
4838
4842
  t: WithTranslation['t'];
4839
4843
  onBackClick?: () => void;
4840
4844
  onMoreClick?(id: string): void;
4845
+ emptyReviewLabels?: {
4846
+ titleLabel?: string;
4847
+ descriptionLabel?: string;
4848
+ };
4841
4849
  }
4842
4850
  declare const SpecialistReviewsListWidget: React__default.FC<SpecialistReviewsListWidgetProps>;
4843
4851
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "9.0.2",
3
+ "version": "9.0.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",