@mindly/ui-components 6.5.5 → 6.5.7

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.
@@ -39,6 +39,7 @@ export type Specialist = {
39
39
  about?: string;
40
40
  areas_of_work: Array<string> | [];
41
41
  areas_of_work_by_client_problem: Array<string> | [];
42
+ localized_areas_of_work_by_client_problem: string[];
42
43
  therapy_description?: string;
43
44
  avatar_link?: string;
44
45
  time_zone: string;
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
2
  declare const SpecialistDetailWidgetSkeleton: React.FC;
3
+ export declare const AreasOfWorkByClientProblemSkeleton: () => import("react/jsx-runtime").JSX.Element;
3
4
  export default SpecialistDetailWidgetSkeleton;
@@ -18,6 +18,11 @@ export type SpecialistDetailWidgetProps = {
18
18
  onOpenContract?(): void;
19
19
  onRateSession?(): void;
20
20
  onEditSpecialistReview?: (review: Pick<SpecialistReview, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
21
+ areasOfWorkByClientProblem: {
22
+ names: string[];
23
+ label: string;
24
+ };
25
+ isLoadingAreasOfWorkByClientProblem?: boolean;
21
26
  events: {
22
27
  onSuperSpecialistArticleClick?(): void;
23
28
  onNewSpecialistArticleClick?(): void;
@@ -1,3 +1,4 @@
1
1
  import React from 'react';
2
2
  declare const SpecialistDetailWithTabsSkeleton: React.FC;
3
+ export declare const AreasOfWorkByClientProblemSkeleton: () => import("react/jsx-runtime").JSX.Element;
3
4
  export default SpecialistDetailWithTabsSkeleton;
@@ -13,6 +13,11 @@ export type SpecialistDetailWithTabsWidgetProps = {
13
13
  currentUser?: UserType;
14
14
  presentingElement?: HTMLElement;
15
15
  onEditSpecialistReview?: (review: Pick<SpecialistReview, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
16
+ areasOfWorkByClientProblem: {
17
+ names: string[];
18
+ label: string;
19
+ };
20
+ isLoadingAreasOfWorkByClientProblem?: boolean;
16
21
  events: {
17
22
  onOpenSuperSpecialistArticle?(): void;
18
23
  onOpenNewSpecialistArticle?(): void;
package/dist/index.d.ts CHANGED
@@ -1597,6 +1597,7 @@ type Specialist = {
1597
1597
  about?: string;
1598
1598
  areas_of_work: Array<string> | [];
1599
1599
  areas_of_work_by_client_problem: Array<string> | [];
1600
+ localized_areas_of_work_by_client_problem: string[];
1600
1601
  therapy_description?: string;
1601
1602
  avatar_link?: string;
1602
1603
  time_zone: string;
@@ -4287,6 +4288,11 @@ type SpecialistDetailWidgetProps = {
4287
4288
  onOpenContract?(): void;
4288
4289
  onRateSession?(): void;
4289
4290
  onEditSpecialistReview?: (review: Pick<SpecialistReview$1, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
4291
+ areasOfWorkByClientProblem: {
4292
+ names: string[];
4293
+ label: string;
4294
+ };
4295
+ isLoadingAreasOfWorkByClientProblem?: boolean;
4290
4296
  events: {
4291
4297
  onSuperSpecialistArticleClick?(): void;
4292
4298
  onNewSpecialistArticleClick?(): void;
@@ -4389,6 +4395,11 @@ type SpecialistDetailWithTabsWidgetProps = {
4389
4395
  currentUser?: UserType;
4390
4396
  presentingElement?: HTMLElement;
4391
4397
  onEditSpecialistReview?: (review: Pick<SpecialistReview$1, 'id' | 'review_rating' | 'text_of_review'>) => Promise<void>;
4398
+ areasOfWorkByClientProblem: {
4399
+ names: string[];
4400
+ label: string;
4401
+ };
4402
+ isLoadingAreasOfWorkByClientProblem?: boolean;
4392
4403
  events: {
4393
4404
  onOpenSuperSpecialistArticle?(): void;
4394
4405
  onOpenNewSpecialistArticle?(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "6.5.5",
3
+ "version": "6.5.7",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",