@entur/datepicker 11.0.0 → 11.0.1
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.
|
@@ -8,7 +8,7 @@ import './DateField.scss';
|
|
|
8
8
|
declare const info = "info";
|
|
9
9
|
/** @deprecated use variant="negative" instead */
|
|
10
10
|
declare const error = "error";
|
|
11
|
-
export type DateFieldProps<DateType extends DateValue> = Omit<AriaDatePickerProps<DateType>, 'value' | 'onChange' | 'label' | 'hideTimeZone' | 'placeholder' | 'placeholderValue' | 'defaultValue' | 'minValue' | 'maxValue'> & Partial<Omit<BaseFormControlProps, 'children' | 'label'>> & {
|
|
11
|
+
export type DateFieldProps<DateType extends DateValue> = Omit<AriaDatePickerProps<DateType>, 'value' | 'onChange' | 'label' | 'hideTimeZone' | 'placeholder' | 'placeholderValue' | 'defaultValue' | 'minValue' | 'maxValue'> & Partial<Omit<BaseFormControlProps, 'children' | 'label' | 'defaultValue' | 'value' | 'onChange'>> & {
|
|
12
12
|
/** Den valgte tiden. Tid i '@internationalized/date'-pakkens format */
|
|
13
13
|
selectedDate: DateType | null;
|
|
14
14
|
/** Kalles når dato endres. Tid i '@internationalized/date'-pakkens format */
|