@mindly/ui-components 5.47.2 → 5.47.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.
@@ -45,10 +45,7 @@ export type SpecialistPaymentConsultationsProps = {
45
45
  previousCount?: number;
46
46
  locale?: string;
47
47
  defaultTab?: string;
48
- consultationsModeTrigger: (data: {
49
- startDate?: Date;
50
- endDate?: Date;
51
- }) => void;
48
+ consultationsModeTrigger: (tab: string) => void;
52
49
  consultationClick?: (consultation: SpecialistConsultation) => void;
53
50
  };
54
51
  export type SpecialistPaymentCurrencyProps = {
@@ -66,8 +63,8 @@ export type SpecialistPaymentCardProps = {
66
63
  showCommission?: boolean;
67
64
  commissionRates: Partial<DynamicCommissionValue>;
68
65
  commissionValue: number;
69
- totalSessions: number;
70
- futureSessions: number;
66
+ totalSessionsCount: number;
67
+ futureSessionsCount: number;
71
68
  hideProgressBar?: boolean;
72
69
  };
73
70
  export type SpecialistPaymentWidgetType = SpecialistPaymentCardProps & {
package/dist/index.d.ts CHANGED
@@ -1736,10 +1736,7 @@ type SpecialistPaymentConsultationsProps = {
1736
1736
  previousCount?: number;
1737
1737
  locale?: string;
1738
1738
  defaultTab?: string;
1739
- consultationsModeTrigger: (data: {
1740
- startDate?: Date;
1741
- endDate?: Date;
1742
- }) => void;
1739
+ consultationsModeTrigger: (tab: string) => void;
1743
1740
  consultationClick?: (consultation: SpecialistConsultation) => void;
1744
1741
  };
1745
1742
  type SpecialistPaymentCurrencyProps = {
@@ -1757,8 +1754,8 @@ type SpecialistPaymentCardProps = {
1757
1754
  showCommission?: boolean;
1758
1755
  commissionRates: Partial<DynamicCommissionValue>;
1759
1756
  commissionValue: number;
1760
- totalSessions: number;
1761
- futureSessions: number;
1757
+ totalSessionsCount: number;
1758
+ futureSessionsCount: number;
1762
1759
  hideProgressBar?: boolean;
1763
1760
  };
1764
1761
  type PaymentCalendarFeatureProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "5.47.2",
3
+ "version": "5.47.3",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",