@spscommerce/ds-react 7.5.4 → 7.6.0

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.
@@ -10,6 +10,7 @@ export type SpsDateRangePickerProps = React.PropsWithChildren<SpsGlobalPropTypes
10
10
  onChange?: (newDateRange?: SimpleDateRange | DatePreset) => void;
11
11
  presets?: DatePreset[];
12
12
  value?: SimpleDateRange | DatePreset;
13
+ showTwoMonths?: boolean;
13
14
  }> & React.HTMLAttributes<HTMLInputElement>;
14
15
  export declare const DEFAULT_PRESETS: DatePreset[];
15
- export declare function SpsDateRangePicker({ children, className, disabled, formMeta, id, maxDate, minDate, onChange, presets, value, "data-testid": testId, ...rest }: SpsDateRangePickerProps): JSX.Element;
16
+ export declare function SpsDateRangePicker({ children, className, disabled, formMeta, id, maxDate, minDate, onChange, presets, value, showTwoMonths, "data-testid": testId, ...rest }: SpsDateRangePickerProps): JSX.Element;
@@ -7,5 +7,6 @@ export type SpsDatepickerCalendarProps = React.PropsWithChildren<SpsGlobalPropTy
7
7
  minDate?: SimpleDate;
8
8
  onNewSelection: (date: SimpleDate) => void;
9
9
  selectedDate?: SimpleDate;
10
+ showTwoMonths?: boolean;
10
11
  }> & React.HTMLAttributes<HTMLDivElement>;
11
12
  export declare function SpsDatepickerCalendar(props: SpsDatepickerCalendarProps): JSX.Element;