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

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,35 @@ 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
+ * Used for RTL.
421
+ * Pass this as true when you have direction=rtl in your HTML
422
+ * @default false
423
+ */
424
+ rtl?: boolean;
425
+ }
426
+
398
427
  export declare const DateRangePicker: default_2.ForwardRefExoticComponent<DateRangePickerProps & default_2.RefAttributes<HTMLDivElement>>;
399
428
 
400
429
  declare interface DateRangePickerProps {
@@ -459,11 +488,6 @@ declare interface DateRangePickerProps {
459
488
  * @default 'Clear'
460
489
  */
461
490
  secondaryBtnText?: string;
462
- /**
463
- * @default 'silkhaus_date_picker'
464
- */
465
- id?: string;
466
- isOnDialogBox?: boolean;
467
491
  }
468
492
 
469
493
  export declare const DeleteIcon: FC<{