@paygreen/pgui 2.8.0 → 2.8.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.
- package/dist/cjs/index.js +12 -11
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/InputDayPicker/index.d.ts +1 -1
- package/dist/cjs/types/components/NewDayPicker/index.d.ts +1 -1
- package/dist/esm/index.js +12 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/InputDayPicker/index.d.ts +1 -1
- package/dist/esm/types/components/NewDayPicker/index.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -11,6 +11,6 @@ export type InputDayPickerProps = {
|
|
|
11
11
|
withTime?: boolean;
|
|
12
12
|
minDate?: Date | null | undefined;
|
|
13
13
|
maxDate?: Date | null | undefined;
|
|
14
|
-
calendarFunc
|
|
14
|
+
calendarFunc?: (date: any) => 'after-max-date' | 'before-min-date' | undefined;
|
|
15
15
|
} & InputProps;
|
|
16
16
|
export declare const InputDayPicker: ({ name, placeholder, value, onChange, locale, variant, format, withTime, minDate, maxDate, calendarFunc, ...inputProps }: InputDayPickerProps) => JSX.Element;
|
|
@@ -9,6 +9,6 @@ export type NewDayPickerProps = {
|
|
|
9
9
|
withTime?: boolean;
|
|
10
10
|
minDate?: Date | null;
|
|
11
11
|
maxDate?: Date | null;
|
|
12
|
-
calendarFunc
|
|
12
|
+
calendarFunc?: (date: any) => 'after-max-date' | 'before-min-date' | undefined;
|
|
13
13
|
};
|
|
14
14
|
export declare const NewDayPicker: ({ defaultValue, onChange, locale, customFormat, withTime, minDate, maxDate, calendarFunc, ...props }: NewDayPickerProps) => JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ type InputDayPickerProps = {
|
|
|
93
93
|
withTime?: boolean;
|
|
94
94
|
minDate?: Date | null | undefined;
|
|
95
95
|
maxDate?: Date | null | undefined;
|
|
96
|
-
calendarFunc
|
|
96
|
+
calendarFunc?: (date: any) => 'after-max-date' | 'before-min-date' | undefined;
|
|
97
97
|
} & InputProps;
|
|
98
98
|
declare const InputDayPicker: ({ name, placeholder, value, onChange, locale, variant, format, withTime, minDate, maxDate, calendarFunc, ...inputProps }: InputDayPickerProps) => JSX.Element;
|
|
99
99
|
|