carconnect-gatherleads-ui-lib 3.1.0 → 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
|
/**
|
|
@@ -552,6 +577,13 @@ declare const gatherButtonVariants: (props?: ({
|
|
|
552
577
|
size?: "default" | "sm" | "lg" | "icon" | "xl" | null | undefined;
|
|
553
578
|
} & ClassProp) | undefined) => string;
|
|
554
579
|
|
|
580
|
+
/**
|
|
581
|
+
* GatherCalendar
|
|
582
|
+
* A separated calendar component that was originally part of GatherDatePicker.
|
|
583
|
+
* Includes Month/Year navigation and supports single/range selection.
|
|
584
|
+
*/
|
|
585
|
+
export declare const GatherCalendar: React_2.ForwardRefExoticComponent<GatherCalendarProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
586
|
+
|
|
555
587
|
export declare interface GatherCalendarClassNames {
|
|
556
588
|
/** Classes for the calendar section container */
|
|
557
589
|
container?: string;
|
|
@@ -602,8 +634,8 @@ export declare interface GatherCalendarProps extends GatherBaseCalendarProps {
|
|
|
602
634
|
baseProps?: {
|
|
603
635
|
single?: Omit<DayPickerProps, 'selected' | 'onSelect'>;
|
|
604
636
|
range?: {
|
|
605
|
-
from
|
|
606
|
-
to
|
|
637
|
+
from?: Omit<DayPickerProps, 'selected' | 'onSelect'>;
|
|
638
|
+
to?: Omit<DayPickerProps, 'selected' | 'onSelect'>;
|
|
607
639
|
};
|
|
608
640
|
};
|
|
609
641
|
}
|