@mindly/ui-components 3.28.1 → 3.28.4
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.
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/SpecialistCard/SpecialistCard.d.ts +6 -4
- package/dist/cjs/types/lib/SpecialistCard/SpecialistCard.style.d.ts +1 -0
- package/dist/esm/index.js +6 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/SpecialistCard/SpecialistCard.d.ts +6 -4
- package/dist/esm/types/lib/SpecialistCard/SpecialistCard.style.d.ts +1 -0
- package/dist/index.d.ts +6 -4
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
declare type SpecialistCardProps = {
|
|
3
|
-
fullName
|
|
4
|
-
specialization
|
|
5
|
-
pricePerSessionUAH
|
|
6
|
-
sessionDurationInMinutes
|
|
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
|
|
866
|
-
specialization
|
|
867
|
-
pricePerSessionUAH
|
|
868
|
-
sessionDurationInMinutes
|
|
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
|
|