carconnect-gatherleads-ui-lib 3.1.1 → 3.1.2
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.
|
@@ -269,6 +269,24 @@ export declare const deepClone: (obj: any) => any;
|
|
|
269
269
|
*/
|
|
270
270
|
export declare const deepEqual: (obj1: any, obj2: any) => boolean;
|
|
271
271
|
|
|
272
|
+
/**
|
|
273
|
+
* Dropdown Gather Calendar component
|
|
274
|
+
*
|
|
275
|
+
* @param {DropdownGatherCalendarProps} props - The props for the DropdownGatherCalendar component.
|
|
276
|
+
* @returns {React.FC<DropdownGatherCalendarProps>} The DropdownGatherCalendar component.
|
|
277
|
+
*/
|
|
278
|
+
export declare const DropdownGatherCalendar: React_2.ForwardRefExoticComponent<DropdownGatherCalendarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Props for the DropdownGatherCalendar component.
|
|
282
|
+
*/
|
|
283
|
+
export declare interface DropdownGatherCalendarProps {
|
|
284
|
+
currentMonth: Date;
|
|
285
|
+
onMonthChange: (date: Date) => void;
|
|
286
|
+
classNames?: GatherCalendarProps['classNames'];
|
|
287
|
+
selectProps?: GatherCalendarProps['selectProps'];
|
|
288
|
+
}
|
|
289
|
+
|
|
272
290
|
/**
|
|
273
291
|
* Tipo unión de todas las configuraciones de campo posibles
|
|
274
292
|
*/
|
|
@@ -502,6 +520,13 @@ export declare interface GatherBaseCalendarProps {
|
|
|
502
520
|
* Props specific to the 'dropdown' layout mode.
|
|
503
521
|
*/
|
|
504
522
|
selectProps?: GatherCalendarSelectProps;
|
|
523
|
+
/**
|
|
524
|
+
* Number of months to display side by side in range mode.
|
|
525
|
+
* For single mode, this is always 1.
|
|
526
|
+
* @default 1 for mobile, 2 for desktop (responsive)
|
|
527
|
+
* Set to 1 to always show a single calendar even in range mode
|
|
528
|
+
*/
|
|
529
|
+
numberOfMonths?: number;
|
|
505
530
|
}
|
|
506
531
|
|
|
507
532
|
/**
|
|
@@ -609,8 +634,8 @@ export declare interface GatherCalendarProps extends GatherBaseCalendarProps {
|
|
|
609
634
|
baseProps?: {
|
|
610
635
|
single?: Omit<DayPickerProps, 'selected' | 'onSelect'>;
|
|
611
636
|
range?: {
|
|
612
|
-
from
|
|
613
|
-
to
|
|
637
|
+
from?: Omit<DayPickerProps, 'selected' | 'onSelect'>;
|
|
638
|
+
to?: Omit<DayPickerProps, 'selected' | 'onSelect'>;
|
|
614
639
|
};
|
|
615
640
|
};
|
|
616
641
|
}
|