@mindly/ui-components 3.28.1 → 3.28.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.
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  declare type SpecialistCardProps = {
3
- fullName: string;
4
- specialization: string;
5
- pricePerSessionUAH: number;
6
- sessionDurationInMinutes: number;
3
+ fullName?: string;
4
+ specialization?: string;
5
+ pricePerSessionUAH?: number;
6
+ sessionDurationInMinutes?: number;
7
7
  avatarLink?: string | null;
8
8
  yearsOfExperience?: number | null;
9
9
  hoursOfPractice?: number | null;
@@ -12,6 +12,8 @@ declare type SpecialistCardProps = {
12
12
  sessionsCount?: number | null;
13
13
  onFavouriteClickHandler?: () => void;
14
14
  isFavouriteSpecialist?: boolean;
15
+ onCardClickHandler?: () => void;
16
+ loading?: boolean;
15
17
  };
16
18
  declare const SpecialistCard: React.FC<SpecialistCardProps>;
17
19
  export default SpecialistCard;
@@ -11,4 +11,5 @@ export declare const SpecialistMainInfo: import("styled-components").StyledCompo
11
11
  export declare const SpecialistCardSummary: import("styled-components").StyledComponent<"div", any, {}, never>;
12
12
  export declare const SpecialistPriceSection: import("styled-components").StyledComponent<"div", any, {}, never>;
13
13
  export declare const SpecialistStatistics: import("styled-components").StyledComponent<"div", any, {}, never>;
14
+ export declare const FullNameContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
14
15
  export {};
package/dist/index.d.ts CHANGED
@@ -862,10 +862,10 @@ declare type BookingSpecialistInfoProps = {
862
862
  declare const _default: React.NamedExoticComponent<BookingSpecialistInfoProps>;
863
863
 
864
864
  declare type SpecialistCardProps = {
865
- fullName: string;
866
- specialization: string;
867
- pricePerSessionUAH: number;
868
- sessionDurationInMinutes: number;
865
+ fullName?: string;
866
+ specialization?: string;
867
+ pricePerSessionUAH?: number;
868
+ sessionDurationInMinutes?: number;
869
869
  avatarLink?: string | null;
870
870
  yearsOfExperience?: number | null;
871
871
  hoursOfPractice?: number | null;
@@ -874,6 +874,8 @@ declare type SpecialistCardProps = {
874
874
  sessionsCount?: number | null;
875
875
  onFavouriteClickHandler?: () => void;
876
876
  isFavouriteSpecialist?: boolean;
877
+ onCardClickHandler?: () => void;
878
+ loading?: boolean;
877
879
  };
878
880
  declare const SpecialistCard: React.FC<SpecialistCardProps>;
879
881
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.28.1",
3
+ "version": "3.28.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",