@docsvision/material-ui-pickers 3.2.0-beta.25 → 3.2.0-beta.27
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/DatePicker/DatePicker.d.ts +2 -2
- package/DatePicker/DatePicker.js +1 -1
- package/DateTimePicker/DateTimePicker.js +1 -1
- package/Picker/Picker.js +1 -1
- package/TimePicker/TimePicker.js +1 -1
- package/_helpers/text-field-helper.d.ts +1 -1
- package/_shared/KeyboardDateInput.js +1 -1
- package/_shared/ModalDialog.d.ts +2 -2
- package/_shared/PureDateInput.js +1 -1
- package/_shared/ToolbarButton.d.ts +2 -2
- package/_shared/hooks/useKeyboardPickerState.js +2 -2
- package/constants/prop-types.js +2 -2
- package/dist/material-ui-pickers.esm.js +12 -12
- package/dist/material-ui-pickers.esm.js.map +1 -1
- package/dist/material-ui-pickers.js +62 -62
- package/dist/material-ui-pickers.js.map +1 -1
- package/dist/material-ui-pickers.umd.js +5790 -4511
- package/dist/material-ui-pickers.umd.min.js +1 -1
- package/package.json +1 -1
- package/views/Calendar/Calendar.js +2 -2
- package/views/Clock/Clock.d.ts +1 -1
- package/views/Clock/ClockPointer.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docsvision/material-ui-pickers",
|
|
3
|
-
"version": "3.2.0-beta.
|
|
3
|
+
"version": "3.2.0-beta.27",
|
|
4
4
|
"description": "Fork @material-ui/pickers that implements advanced features required for DocsVision WebClient. Original repository https://github.com/mui-org/material-ui-pickers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"material-ui",
|
|
@@ -79,7 +79,7 @@ var Calendar = /** @class */ (function (_super) {
|
|
|
79
79
|
var now = utils.date();
|
|
80
80
|
var moment = utils.moment;
|
|
81
81
|
return Boolean((disableFuture && utils.isAfterDay(day, now)) ||
|
|
82
|
-
(disablePast && moment(day).isBefore(now,
|
|
82
|
+
(disablePast && moment(day).isBefore(now, 'second')) ||
|
|
83
83
|
(minDate && utils.isBeforeDay(day, utils.date(minDate))) ||
|
|
84
84
|
(maxDate && utils.isAfterDay(day, utils.date(maxDate))));
|
|
85
85
|
};
|
|
@@ -195,7 +195,7 @@ var Calendar = /** @class */ (function (_super) {
|
|
|
195
195
|
};
|
|
196
196
|
Calendar.defaultProps = {
|
|
197
197
|
minDate: new Date('1900-01-01'),
|
|
198
|
-
maxDate: new Date('
|
|
198
|
+
maxDate: new Date('2200-01-01'),
|
|
199
199
|
disablePast: false,
|
|
200
200
|
disableFuture: false,
|
|
201
201
|
allowKeyboardControl: true,
|
package/views/Clock/Clock.d.ts
CHANGED
|
@@ -24,6 +24,6 @@ export declare class Clock extends React.Component<ClockProps> {
|
|
|
24
24
|
hasSelected: () => boolean;
|
|
25
25
|
render(): JSX.Element;
|
|
26
26
|
}
|
|
27
|
-
export declare const styles: (theme: Theme) => Record<"container" | "clock" | "squareMask" | "pin", import("@material-ui/
|
|
27
|
+
export declare const styles: (theme: Theme) => Record<"container" | "clock" | "squareMask" | "pin", import("@material-ui/styles").CSSProperties | (() => import("@material-ui/styles").CSSProperties)>;
|
|
28
28
|
declare const _default: React.ComponentType<(Pick<ClockProps, "children" | "onChange" | "type" | "value" | "ampm" | "minutesStep"> & import("@material-ui/core/styles").StyledComponentProps<"container" | "clock" | "squareMask" | "pin">) | (Pick<React.PropsWithChildren<ClockProps>, "children" | "onChange" | "type" | "value" | "ampm" | "minutesStep"> & import("@material-ui/core/styles").StyledComponentProps<"container" | "clock" | "squareMask" | "pin">)>;
|
|
29
29
|
export default _default;
|
|
@@ -26,6 +26,6 @@ export declare class ClockPointer extends React.Component<ClockPointerProps> {
|
|
|
26
26
|
};
|
|
27
27
|
render(): JSX.Element;
|
|
28
28
|
}
|
|
29
|
-
export declare const styles: (theme: Theme) => Record<"animateTransform" | "pointer" | "thumb" | "noPoint", import("@material-ui/
|
|
29
|
+
export declare const styles: (theme: Theme) => Record<"animateTransform" | "pointer" | "thumb" | "noPoint", import("@material-ui/styles").CSSProperties | (() => import("@material-ui/styles").CSSProperties)>;
|
|
30
30
|
declare const _default: React.ComponentType<(Pick<ClockPointerProps, "type" | "value" | "hasSelected" | "isInner"> & import("@material-ui/core").StyledComponentProps<"animateTransform" | "pointer" | "thumb" | "noPoint">) | (Pick<React.PropsWithChildren<ClockPointerProps>, "children" | "type" | "value" | "hasSelected" | "isInner"> & import("@material-ui/core").StyledComponentProps<"animateTransform" | "pointer" | "thumb" | "noPoint">)>;
|
|
31
31
|
export default _default;
|