design-system-silkhaus 3.11.0-beta-image-viewer.11 → 3.11.0-beta-image-viewer.12

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/index.d.ts CHANGED
@@ -395,6 +395,29 @@ export declare const DashboardOutlineIcon: FC<{
395
395
  className?: string;
396
396
  }>;
397
397
 
398
+ export declare const DateRangeCalendar: default_2.FC<DateRangeCalendarProps>;
399
+
400
+ /**
401
+ * A responsive date range calendar using react-dates' DayPickerRangeController.
402
+ * It adjusts to fill its parent's full width, showing 1 month on mobile and 2 months on larger screens.
403
+ */
404
+ export declare interface DateRangeCalendarProps {
405
+ startDate: Moment | null;
406
+ endDate: Moment | null;
407
+ onDatesChange: ({ startDate, endDate, }: {
408
+ startDate: Moment | null;
409
+ endDate: Moment | null;
410
+ }) => void;
411
+ /**
412
+ * Callback to determine the initially visible month (defaults to current month)
413
+ */
414
+ initialVisibleMonth?: () => Moment;
415
+ isDayBlocked?: ((day: Moment) => boolean) | undefined;
416
+ renderDayContents?: (day: Moment, modifiers: ModifiersShape) => default_2.ReactNode | null | undefined;
417
+ getParentWidth: () => number;
418
+ buttonText: string;
419
+ }
420
+
398
421
  export declare const DateRangePicker: default_2.ForwardRefExoticComponent<DateRangePickerProps & default_2.RefAttributes<HTMLDivElement>>;
399
422
 
400
423
  declare interface DateRangePickerProps {
@@ -459,11 +482,6 @@ declare interface DateRangePickerProps {
459
482
  * @default 'Clear'
460
483
  */
461
484
  secondaryBtnText?: string;
462
- /**
463
- * @default 'silkhaus_date_picker'
464
- */
465
- id?: string;
466
- isOnDialogBox?: boolean;
467
485
  }
468
486
 
469
487
  export declare const DeleteIcon: FC<{