@stenajs-webui/calendar 23.9.0 → 23.11.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.
@@ -24,5 +24,6 @@ export interface TravelDateCalendarProps extends ValueAndOnValueChangeProps<stri
24
24
  nextMonthButtonTestId?: string;
25
25
  placeholderWhenBlurred?: string;
26
26
  textInputVariant?: DateTextInputVariant;
27
+ autoFocus?: boolean;
27
28
  }
28
29
  export declare const TravelDateCalendar: React.FC<TravelDateCalendarProps>;
@@ -26,5 +26,7 @@ export interface TravelDateRangeCalendarProps extends ValueAndOnValueChangeProps
26
26
  placeholderWhenBlurredStartDate?: string;
27
27
  placeholderWhenBlurredEndDate?: string;
28
28
  textInputVariant?: DateTextInputVariant;
29
+ autoFocusStartDate?: boolean;
30
+ autoFocusEndDate?: boolean;
29
31
  }
30
32
  export declare const TravelDateRangeCalendar: React.FC<TravelDateRangeCalendarProps>;
@@ -32,5 +32,6 @@ export interface TravelDateInputProps extends ValueAndOnValueChangeProps<string>
32
32
  nextMonthButtonTestId?: string;
33
33
  placeholderWhenBlurred?: string;
34
34
  textInputVariant?: DateTextInputVariant;
35
+ autoFocus?: boolean;
35
36
  }
36
37
  export declare const TravelDateInput: React.FC<TravelDateInputProps>;
@@ -34,5 +34,7 @@ export interface TravelDateRangeInputProps extends ValueAndOnValueChangeProps<Tr
34
34
  placeholderWhenBlurredStartDate?: string;
35
35
  placeholderWhenBlurredEndDate?: string;
36
36
  textInputVariant?: DateTextInputVariant;
37
+ autoFocusStartDate?: boolean;
38
+ autoFocusEndDate?: boolean;
37
39
  }
38
40
  export declare const TravelDateRangeInput: React.FC<TravelDateRangeInputProps>;
@@ -21,5 +21,7 @@ export interface TravelDateRangeTextInputFieldsProps {
21
21
  valueWhenBlurredEndDate: string | undefined;
22
22
  variant: DateTextInputVariant;
23
23
  readOnlyOnMobile: boolean;
24
+ autoFocusStartDate?: boolean;
25
+ autoFocusEndDate?: boolean;
24
26
  }
25
27
  export declare const TravelDateRangeTextInputFields: React.FC<TravelDateRangeTextInputFieldsProps>;
@@ -16,5 +16,6 @@ export interface TravelDateTextInputProps extends Pick<LabelledTextInputProps, "
16
16
  placeholderWhenBlurred: string | undefined;
17
17
  valueWhenBlurred: string | undefined;
18
18
  variant: DateTextInputVariant;
19
+ autoFocus?: boolean;
19
20
  }
20
21
  export declare const TravelDateTextInput: React.FC<TravelDateTextInputProps>;
@@ -8,6 +8,7 @@ export interface TravelDateTextInputFieldProps {
8
8
  localeCode: SupportedLocaleCode;
9
9
  label?: string;
10
10
  onFocus?: () => void;
11
+ autoFocus?: boolean;
11
12
  calendarSize: TravelCalendarSizeVariant;
12
13
  placeholderWhenBlurred: string | undefined;
13
14
  valueWhenBlurred: string | undefined;