@mindly/ui-components 5.88.4 → 5.89.1
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 +1 -1
- package/dist/cjs/lib2/features/CalendarPickerFeature/CalendarPickerFeature.d.ts +1 -1
- package/dist/cjs/lib2/shared/hooks/useCalendarData.d.ts +2 -2
- package/dist/cjs/lib2/shared/types/specialistPaymentTypes.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/lib2/features/CalendarPickerFeature/CalendarPickerFeature.d.ts +1 -1
- package/dist/esm/lib2/shared/hooks/useCalendarData.d.ts +2 -2
- package/dist/esm/lib2/shared/types/specialistPaymentTypes.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -5,8 +5,8 @@ type CalendarPickerFeatureProps = {
|
|
|
5
5
|
locale?: string;
|
|
6
6
|
mode: 'button' | 'auto' | undefined;
|
|
7
7
|
opened?: boolean;
|
|
8
|
-
monthsMore?: number;
|
|
9
8
|
dateCallback: (date: Date) => void;
|
|
9
|
+
lastDate: Date;
|
|
10
10
|
};
|
|
11
11
|
declare const _default: React.NamedExoticComponent<CalendarPickerFeatureProps & TranslationType>;
|
|
12
12
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
type CalendarListProps = {
|
|
2
2
|
locale?: string;
|
|
3
|
-
|
|
3
|
+
lastDate: Date;
|
|
4
4
|
};
|
|
5
5
|
type CalendarListItem = {
|
|
6
6
|
value: Date;
|
|
7
7
|
label: string;
|
|
8
8
|
};
|
|
9
|
-
export declare function useCalendarListData({ locale,
|
|
9
|
+
export declare function useCalendarListData({ locale, lastDate, }: CalendarListProps): CalendarListItem[];
|
|
10
10
|
export {};
|
|
@@ -81,7 +81,7 @@ export type PaymentCalendarFeatureProps = {
|
|
|
81
81
|
locale?: string;
|
|
82
82
|
dateCallback: (date: Date) => void;
|
|
83
83
|
className?: string;
|
|
84
|
-
|
|
84
|
+
lastDate: Date;
|
|
85
85
|
};
|
|
86
86
|
export type SpecialistPaymentConsultationDetailsType = {
|
|
87
87
|
consultation: SpecialistConsultation;
|
package/dist/index.d.ts
CHANGED
|
@@ -1741,7 +1741,7 @@ type PaymentCalendarFeatureProps = {
|
|
|
1741
1741
|
locale?: string;
|
|
1742
1742
|
dateCallback: (date: Date) => void;
|
|
1743
1743
|
className?: string;
|
|
1744
|
-
|
|
1744
|
+
lastDate: Date;
|
|
1745
1745
|
};
|
|
1746
1746
|
type SpecialistPaymentConsultationDetailsType = {
|
|
1747
1747
|
consultation: SpecialistConsultation;
|
|
@@ -2795,8 +2795,8 @@ type CalendarPickerFeatureProps = {
|
|
|
2795
2795
|
locale?: string;
|
|
2796
2796
|
mode: 'button' | 'auto' | undefined;
|
|
2797
2797
|
opened?: boolean;
|
|
2798
|
-
monthsMore?: number;
|
|
2799
2798
|
dateCallback: (date: Date) => void;
|
|
2799
|
+
lastDate: Date;
|
|
2800
2800
|
};
|
|
2801
2801
|
declare const _default$h: React__default.NamedExoticComponent<CalendarPickerFeatureProps & TranslationType>;
|
|
2802
2802
|
|