@mui/x-date-pickers-pro
Advanced tools
Comparing version 6.11.1 to 6.11.2
@@ -613,4 +613,4 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -617,0 +617,0 @@ reduceAnimations: PropTypes.bool, |
@@ -48,4 +48,4 @@ import * as React from 'react'; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -52,0 +52,0 @@ reduceAnimations?: boolean; |
@@ -254,4 +254,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -258,0 +258,0 @@ reduceAnimations: PropTypes.bool, |
@@ -263,4 +263,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -267,0 +267,0 @@ reduceAnimations: PropTypes.bool, |
/** | ||
* @mui/x-date-pickers-pro v6.11.1 | ||
* @mui/x-date-pickers-pro v6.11.2 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MUI X Commercial |
@@ -37,3 +37,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
disableOpenPicker, | ||
localeText | ||
localeText, | ||
reduceAnimations | ||
} = props; | ||
@@ -128,2 +129,3 @@ const fieldContainerRef = React.useRef(null); | ||
shouldRestoreFocus: shouldRestoreFocus, | ||
reduceAnimations: reduceAnimations, | ||
children: /*#__PURE__*/_jsx(Layout, _extends({}, layoutProps, slotProps == null ? void 0 : slotProps.layout, { | ||
@@ -130,0 +132,0 @@ slots: slots, |
import { ponyfillGlobal } from '@mui/utils'; | ||
export const getReleaseInfo = () => { | ||
const releaseInfo = "MTY5MTcwMTIwMDAwMA=="; | ||
const releaseInfo = "MTY5MjI0NDgwMDAwMA=="; | ||
if (process.env.NODE_ENV !== 'production') { | ||
@@ -5,0 +5,0 @@ // A simple hack to set the value in the test environment (has no build step). |
@@ -636,4 +636,4 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -640,0 +640,0 @@ reduceAnimations: PropTypes.bool, |
@@ -253,4 +253,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -257,0 +257,0 @@ reduceAnimations: PropTypes.bool, |
@@ -262,4 +262,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -266,0 +266,0 @@ reduceAnimations: PropTypes.bool, |
/** | ||
* @mui/x-date-pickers-pro v6.11.1 | ||
* @mui/x-date-pickers-pro v6.11.2 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MUI X Commercial |
@@ -34,3 +34,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
disableOpenPicker = props.disableOpenPicker, | ||
localeText = props.localeText; | ||
localeText = props.localeText, | ||
reduceAnimations = props.reduceAnimations; | ||
var fieldContainerRef = React.useRef(null); | ||
@@ -123,2 +124,3 @@ var popperRef = React.useRef(null); | ||
shouldRestoreFocus: shouldRestoreFocus, | ||
reduceAnimations: reduceAnimations, | ||
children: /*#__PURE__*/_jsx(Layout, _extends({}, layoutProps, slotProps == null ? void 0 : slotProps.layout, { | ||
@@ -125,0 +127,0 @@ slots: slots, |
import { ponyfillGlobal } from '@mui/utils'; | ||
export var getReleaseInfo = function getReleaseInfo() { | ||
var releaseInfo = "MTY5MTcwMTIwMDAwMA=="; | ||
var releaseInfo = "MTY5MjI0NDgwMDAwMA=="; | ||
if (process.env.NODE_ENV !== 'production') { | ||
@@ -5,0 +5,0 @@ // A simple hack to set the value in the test environment (has no build step). |
@@ -262,4 +262,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -266,0 +266,0 @@ reduceAnimations: PropTypes.bool, |
@@ -212,4 +212,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -216,0 +216,0 @@ reduceAnimations: PropTypes.bool, |
@@ -8,3 +8,3 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import { screen } from '@mui/monorepo/test/utils'; | ||
import { adapterToUse } from 'test/utils/pickers-utils'; | ||
import { adapterToUse } from 'test/utils/pickers'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -11,0 +11,0 @@ var isDisable = function isDisable(el) { |
@@ -7,3 +7,3 @@ import _construct from "@babel/runtime/helpers/esm/construct"; | ||
import { screen } from '@mui/monorepo/test/utils'; | ||
import { adapterToUse } from 'test/utils/pickers-utils'; | ||
import { adapterToUse } from 'test/utils/pickers'; | ||
import { act } from '@mui/monorepo/test/utils/createRenderer'; | ||
@@ -10,0 +10,0 @@ import { jsx as _jsx } from "react/jsx-runtime"; |
@@ -8,3 +8,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import { screen } from '@mui/monorepo/test/utils'; | ||
import { adapterToUse } from 'test/utils/pickers-utils'; | ||
import { adapterToUse } from 'test/utils/pickers'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -11,0 +11,0 @@ var testInvalidStatus = function testInvalidStatus(expectedAnswer, isSingleInput) { |
@@ -263,4 +263,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -267,0 +267,0 @@ reduceAnimations: PropTypes.bool, |
@@ -609,4 +609,4 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -613,0 +613,0 @@ reduceAnimations: PropTypes.bool, |
@@ -254,4 +254,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -258,0 +258,0 @@ reduceAnimations: PropTypes.bool, |
@@ -259,4 +259,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -263,0 +263,0 @@ reduceAnimations: PropTypes.bool, |
/** | ||
* @mui/x-date-pickers-pro v6.11.1 | ||
* @mui/x-date-pickers-pro v6.11.2 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MUI X Commercial |
@@ -36,3 +36,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
disableOpenPicker, | ||
localeText | ||
localeText, | ||
reduceAnimations | ||
} = props; | ||
@@ -126,2 +127,3 @@ const fieldContainerRef = React.useRef(null); | ||
shouldRestoreFocus: shouldRestoreFocus, | ||
reduceAnimations: reduceAnimations, | ||
children: /*#__PURE__*/_jsx(Layout, _extends({}, layoutProps, slotProps?.layout, { | ||
@@ -128,0 +130,0 @@ slots: slots, |
import { ponyfillGlobal } from '@mui/utils'; | ||
export const getReleaseInfo = () => { | ||
const releaseInfo = "MTY5MTcwMTIwMDAwMA=="; | ||
const releaseInfo = "MTY5MjI0NDgwMDAwMA=="; | ||
if (process.env.NODE_ENV !== 'production') { | ||
@@ -5,0 +5,0 @@ // A simple hack to set the value in the test environment (has no build step). |
@@ -259,4 +259,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -263,0 +263,0 @@ reduceAnimations: PropTypes.bool, |
@@ -212,4 +212,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -216,0 +216,0 @@ reduceAnimations: PropTypes.bool, |
@@ -8,3 +8,3 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
import { screen } from '@mui/monorepo/test/utils'; | ||
import { adapterToUse } from 'test/utils/pickers-utils'; | ||
import { adapterToUse } from 'test/utils/pickers'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -11,0 +11,0 @@ const isDisable = el => el.getAttribute('disabled') !== null; |
@@ -5,3 +5,3 @@ import * as React from 'react'; | ||
import { screen } from '@mui/monorepo/test/utils'; | ||
import { adapterToUse } from 'test/utils/pickers-utils'; | ||
import { adapterToUse } from 'test/utils/pickers'; | ||
import { act } from '@mui/monorepo/test/utils/createRenderer'; | ||
@@ -8,0 +8,0 @@ import { jsx as _jsx } from "react/jsx-runtime"; |
@@ -6,3 +6,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import { screen } from '@mui/monorepo/test/utils'; | ||
import { adapterToUse } from 'test/utils/pickers-utils'; | ||
import { adapterToUse } from 'test/utils/pickers'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -9,0 +9,0 @@ const testInvalidStatus = (expectedAnswer, isSingleInput) => { |
@@ -618,4 +618,4 @@ "use strict"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -622,0 +622,0 @@ reduceAnimations: _propTypes.default.bool, |
@@ -264,4 +264,4 @@ "use strict"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -268,0 +268,0 @@ reduceAnimations: _propTypes.default.bool, |
@@ -269,4 +269,4 @@ "use strict"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -273,0 +273,0 @@ reduceAnimations: _propTypes.default.bool, |
/** | ||
* @mui/x-date-pickers-pro v6.11.1 | ||
* @mui/x-date-pickers-pro v6.11.2 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MUI X Commercial |
@@ -44,3 +44,4 @@ "use strict"; | ||
disableOpenPicker, | ||
localeText | ||
localeText, | ||
reduceAnimations | ||
} = props; | ||
@@ -134,2 +135,3 @@ const fieldContainerRef = React.useRef(null); | ||
shouldRestoreFocus: shouldRestoreFocus, | ||
reduceAnimations: reduceAnimations, | ||
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Layout, (0, _extends2.default)({}, layoutProps, slotProps?.layout, { | ||
@@ -136,0 +138,0 @@ slots: slots, |
@@ -9,3 +9,3 @@ "use strict"; | ||
const getReleaseInfo = () => { | ||
const releaseInfo = "MTY5MTcwMTIwMDAwMA=="; | ||
const releaseInfo = "MTY5MjI0NDgwMDAwMA=="; | ||
if (process.env.NODE_ENV !== 'production') { | ||
@@ -12,0 +12,0 @@ // A simple hack to set the value in the test environment (has no build step). |
@@ -269,4 +269,4 @@ "use strict"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -273,0 +273,0 @@ reduceAnimations: _propTypes.default.bool, |
@@ -222,4 +222,4 @@ "use strict"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -226,0 +226,0 @@ reduceAnimations: _propTypes.default.bool, |
@@ -13,3 +13,3 @@ "use strict"; | ||
var _utils = require("@mui/monorepo/test/utils"); | ||
var _pickersUtils = require("test/utils/pickers-utils"); | ||
var _pickers = require("test/utils/pickers"); | ||
var _jsxRuntime = require("react/jsx-runtime"); | ||
@@ -53,3 +53,3 @@ const _excluded = ["defaultCalendarMonth"], | ||
const defaultProps = { | ||
defaultCalendarMonth: _pickersUtils.adapterToUse.date(new Date(2018, 2, 12)), | ||
defaultCalendarMonth: _pickers.adapterToUse.date(new Date(2018, 2, 12)), | ||
open: true | ||
@@ -62,3 +62,3 @@ }; | ||
render( /*#__PURE__*/(0, _jsxRuntime.jsx)(ElementToTest, (0, _extends2.default)({}, defaultProps, { | ||
shouldDisableDate: date => _pickersUtils.adapterToUse.isAfter(date, _pickersUtils.adapterToUse.date(new Date(2018, 2, 10))) | ||
shouldDisableDate: date => _pickers.adapterToUse.isAfter(date, _pickers.adapterToUse.date(new Date(2018, 2, 10))) | ||
}))); | ||
@@ -75,3 +75,3 @@ testDisabledDate('10', [false, true], isDesktop); | ||
function WithFakeTimer(props) { | ||
now = _pickersUtils.adapterToUse.date(new Date()); | ||
now = _pickers.adapterToUse.date(new Date()); | ||
const otherProps = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded); | ||
@@ -87,7 +87,7 @@ return /*#__PURE__*/(0, _jsxRuntime.jsx)(ElementToTest, (0, _extends2.default)({ | ||
}))); | ||
const tomorrow = _pickersUtils.adapterToUse.addDays(now, 1); | ||
const yesterday = _pickersUtils.adapterToUse.addDays(now, -1); | ||
testDisabledDate(_pickersUtils.adapterToUse.format(now, 'dayOfMonth'), [false, false], isDesktop); | ||
testDisabledDate(_pickersUtils.adapterToUse.format(tomorrow, 'dayOfMonth'), [false, false], isDesktop); | ||
if (!_pickersUtils.adapterToUse.isSameMonth(yesterday, tomorrow)) { | ||
const tomorrow = _pickers.adapterToUse.addDays(now, 1); | ||
const yesterday = _pickers.adapterToUse.addDays(now, -1); | ||
testDisabledDate(_pickers.adapterToUse.format(now, 'dayOfMonth'), [false, false], isDesktop); | ||
testDisabledDate(_pickers.adapterToUse.format(tomorrow, 'dayOfMonth'), [false, false], isDesktop); | ||
if (!_pickers.adapterToUse.isSameMonth(yesterday, tomorrow)) { | ||
setProps({ | ||
@@ -98,3 +98,3 @@ value: [yesterday, null] | ||
} | ||
testDisabledDate(_pickersUtils.adapterToUse.format(yesterday, 'dayOfMonth'), [true, false], isDesktop); | ||
testDisabledDate(_pickers.adapterToUse.format(yesterday, 'dayOfMonth'), [true, false], isDesktop); | ||
}); | ||
@@ -108,3 +108,3 @@ it('should apply disableFuture', function test() { | ||
function WithFakeTimer(props) { | ||
now = _pickersUtils.adapterToUse.date(new Date()); | ||
now = _pickers.adapterToUse.date(new Date()); | ||
const otherProps = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded2); | ||
@@ -120,7 +120,7 @@ return /*#__PURE__*/(0, _jsxRuntime.jsx)(ElementToTest, (0, _extends2.default)({ | ||
}))); | ||
const tomorrow = _pickersUtils.adapterToUse.addDays(now, 1); | ||
const yesterday = _pickersUtils.adapterToUse.addDays(now, -1); | ||
testDisabledDate(_pickersUtils.adapterToUse.format(now, 'dayOfMonth'), [false, true], isDesktop); | ||
testDisabledDate(_pickersUtils.adapterToUse.format(tomorrow, 'dayOfMonth'), [true, true], isDesktop); | ||
if (!_pickersUtils.adapterToUse.isSameMonth(yesterday, tomorrow)) { | ||
const tomorrow = _pickers.adapterToUse.addDays(now, 1); | ||
const yesterday = _pickers.adapterToUse.addDays(now, -1); | ||
testDisabledDate(_pickers.adapterToUse.format(now, 'dayOfMonth'), [false, true], isDesktop); | ||
testDisabledDate(_pickers.adapterToUse.format(tomorrow, 'dayOfMonth'), [true, true], isDesktop); | ||
if (!_pickers.adapterToUse.isSameMonth(yesterday, tomorrow)) { | ||
setProps({ | ||
@@ -131,3 +131,3 @@ value: [yesterday, null] | ||
} | ||
testDisabledDate(_pickersUtils.adapterToUse.format(yesterday, 'dayOfMonth'), [false, true], isDesktop); | ||
testDisabledDate(_pickers.adapterToUse.format(yesterday, 'dayOfMonth'), [false, true], isDesktop); | ||
}); | ||
@@ -139,4 +139,4 @@ it('should apply minDate', function test() { | ||
render( /*#__PURE__*/(0, _jsxRuntime.jsx)(ElementToTest, (0, _extends2.default)({}, defaultProps, { | ||
defaultCalendarMonth: _pickersUtils.adapterToUse.date(new Date(2019, 5, 15)), | ||
minDate: _pickersUtils.adapterToUse.date(new Date(2019, 5, 4)) | ||
defaultCalendarMonth: _pickers.adapterToUse.date(new Date(2019, 5, 15)), | ||
minDate: _pickers.adapterToUse.date(new Date(2019, 5, 4)) | ||
}))); | ||
@@ -154,4 +154,4 @@ testDisabledDate('1', [true, false], isDesktop); | ||
render( /*#__PURE__*/(0, _jsxRuntime.jsx)(ElementToTest, (0, _extends2.default)({}, defaultProps, { | ||
defaultCalendarMonth: _pickersUtils.adapterToUse.date(new Date(2019, 5, 15)), | ||
maxDate: _pickersUtils.adapterToUse.date(new Date(2019, 5, 4)) | ||
defaultCalendarMonth: _pickers.adapterToUse.date(new Date(2019, 5, 15)), | ||
maxDate: _pickers.adapterToUse.date(new Date(2019, 5, 4)) | ||
}))); | ||
@@ -158,0 +158,0 @@ testDisabledDate('1', [false, true], isDesktop); |
@@ -11,3 +11,3 @@ "use strict"; | ||
var _utils = require("@mui/monorepo/test/utils"); | ||
var _pickersUtils = require("test/utils/pickers-utils"); | ||
var _pickers = require("test/utils/pickers"); | ||
var _createRenderer = require("@mui/monorepo/test/utils/createRenderer"); | ||
@@ -26,3 +26,3 @@ var _jsxRuntime = require("react/jsx-runtime"); | ||
const dateParser = value => { | ||
return value.map(date => date === null ? date : _pickersUtils.adapterToUse.date(new Date(...date))); | ||
return value.map(date => date === null ? date : _pickers.adapterToUse.date(new Date(...date))); | ||
}; | ||
@@ -68,3 +68,3 @@ const testTextFieldKeyboardRangeValidation = (ElementToTest, getOptions) => { | ||
onError: onErrorMock, | ||
shouldDisableDate: date => _pickersUtils.adapterToUse.isAfter(date, _pickersUtils.adapterToUse.date(new Date(2018, 2, 11))) | ||
shouldDisableDate: date => _pickers.adapterToUse.isAfter(date, _pickers.adapterToUse.date(new Date(2018, 2, 11))) | ||
})); | ||
@@ -81,3 +81,3 @@ (0, _createRenderer.act)(() => { | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(new Date(2018, 2, 13)), { | ||
inputValue(_pickers.adapterToUse.date(new Date(2018, 2, 13)), { | ||
setEndDate: true | ||
@@ -90,3 +90,3 @@ }); | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(new Date(2018, 2, 12))); | ||
inputValue(_pickers.adapterToUse.date(new Date(2018, 2, 12))); | ||
}); | ||
@@ -97,3 +97,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(2); | ||
setProps({ | ||
shouldDisableDate: date => _pickersUtils.adapterToUse.isBefore(date, _pickersUtils.adapterToUse.date(new Date(2018, 2, 13))) | ||
shouldDisableDate: date => _pickers.adapterToUse.isBefore(date, _pickers.adapterToUse.date(new Date(2018, 2, 13))) | ||
}); | ||
@@ -106,3 +106,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(3); | ||
const onErrorMock = (0, _sinon.spy)(); | ||
const now = _pickersUtils.adapterToUse.date(new Date()); | ||
const now = _pickers.adapterToUse.date(new Date()); | ||
render( /*#__PURE__*/(0, _jsxRuntime.jsx)(ElementToTest, { | ||
@@ -114,5 +114,5 @@ disablePast: true, | ||
if (withDate) { | ||
past = _pickersUtils.adapterToUse.addDays(now, -1); | ||
} else if (_pickersUtils.adapterToUse.isSameDay(_pickersUtils.adapterToUse.addHours(now, -1), now)) { | ||
past = _pickersUtils.adapterToUse.addHours(now, -1); | ||
past = _pickers.adapterToUse.addDays(now, -1); | ||
} else if (_pickers.adapterToUse.isSameDay(_pickers.adapterToUse.addHours(now, -1), now)) { | ||
past = _pickers.adapterToUse.addHours(now, -1); | ||
} | ||
@@ -123,3 +123,3 @@ if (past === null) { | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(past)); | ||
inputValue(_pickers.adapterToUse.date(past)); | ||
}); | ||
@@ -130,3 +130,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(1); | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(past), { | ||
inputValue(_pickers.adapterToUse.date(past), { | ||
setEndDate: true | ||
@@ -139,3 +139,3 @@ }); | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(now)); | ||
inputValue(_pickers.adapterToUse.date(now)); | ||
}); | ||
@@ -148,3 +148,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(3); | ||
const onErrorMock = (0, _sinon.spy)(); | ||
const now = _pickersUtils.adapterToUse.date(new Date()); | ||
const now = _pickers.adapterToUse.date(new Date()); | ||
render( /*#__PURE__*/(0, _jsxRuntime.jsx)(ElementToTest, { | ||
@@ -156,5 +156,5 @@ disableFuture: true, | ||
if (withDate) { | ||
future = _pickersUtils.adapterToUse.addDays(now, 1); | ||
} else if (_pickersUtils.adapterToUse.isSameDay(_pickersUtils.adapterToUse.addHours(now, 1), now)) { | ||
future = _pickersUtils.adapterToUse.addHours(now, 1); | ||
future = _pickers.adapterToUse.addDays(now, 1); | ||
} else if (_pickers.adapterToUse.isSameDay(_pickers.adapterToUse.addHours(now, 1), now)) { | ||
future = _pickers.adapterToUse.addHours(now, 1); | ||
} | ||
@@ -165,3 +165,3 @@ if (future === null) { | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(future), { | ||
inputValue(_pickers.adapterToUse.date(future), { | ||
setEndDate: true | ||
@@ -174,3 +174,3 @@ }); | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(future)); | ||
inputValue(_pickers.adapterToUse.date(future)); | ||
}); | ||
@@ -181,3 +181,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(2); | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(now)); | ||
inputValue(_pickers.adapterToUse.date(now)); | ||
}); | ||
@@ -195,3 +195,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(3); | ||
onError: onErrorMock, | ||
minDate: _pickersUtils.adapterToUse.date(new Date(2018, 2, 15)) | ||
minDate: _pickers.adapterToUse.date(new Date(2018, 2, 15)) | ||
})); | ||
@@ -209,3 +209,3 @@ (0, _createRenderer.act)(() => { | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(new Date(2018, 2, 15))); | ||
inputValue(_pickers.adapterToUse.date(new Date(2018, 2, 15))); | ||
}); | ||
@@ -216,3 +216,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(3); | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(new Date(2018, 2, 16)), { | ||
inputValue(_pickers.adapterToUse.date(new Date(2018, 2, 16)), { | ||
setEndDate: true | ||
@@ -232,3 +232,3 @@ }); | ||
onError: onErrorMock, | ||
maxDate: _pickersUtils.adapterToUse.date(new Date(2018, 2, 15)) | ||
maxDate: _pickers.adapterToUse.date(new Date(2018, 2, 15)) | ||
})); | ||
@@ -246,3 +246,3 @@ (0, _createRenderer.act)(() => { | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(new Date(2018, 2, 16))); | ||
inputValue(_pickers.adapterToUse.date(new Date(2018, 2, 16))); | ||
}); | ||
@@ -260,3 +260,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(2); | ||
onError: onErrorMock, | ||
minTime: _pickersUtils.adapterToUse.date(new Date(2018, 2, 10, 12, 0, 0)) | ||
minTime: _pickers.adapterToUse.date(new Date(2018, 2, 10, 12, 0, 0)) | ||
})); | ||
@@ -274,3 +274,3 @@ (0, _createRenderer.act)(() => { | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(new Date(2018, 2, 10, 12, 10, 0)), { | ||
inputValue(_pickers.adapterToUse.date(new Date(2018, 2, 10, 12, 10, 0)), { | ||
setEndDate: true | ||
@@ -283,3 +283,3 @@ }); | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(new Date(2018, 2, 10, 12, 5, 0))); | ||
inputValue(_pickers.adapterToUse.date(new Date(2018, 2, 10, 12, 5, 0))); | ||
}); | ||
@@ -297,3 +297,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(4); | ||
onError: onErrorMock, | ||
maxTime: _pickersUtils.adapterToUse.date(new Date(2018, 2, 10, 12, 0)) | ||
maxTime: _pickers.adapterToUse.date(new Date(2018, 2, 10, 12, 0)) | ||
})); | ||
@@ -311,3 +311,3 @@ (0, _createRenderer.act)(() => { | ||
(0, _createRenderer.act)(() => { | ||
inputValue(_pickersUtils.adapterToUse.date(new Date(2018, 2, 10, 12, 5, 0))); | ||
inputValue(_pickers.adapterToUse.date(new Date(2018, 2, 10, 12, 5, 0))); | ||
}); | ||
@@ -314,0 +314,0 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(2); |
@@ -13,3 +13,3 @@ "use strict"; | ||
var _utils = require("@mui/monorepo/test/utils"); | ||
var _pickersUtils = require("test/utils/pickers-utils"); | ||
var _pickers = require("test/utils/pickers"); | ||
var _jsxRuntime = require("react/jsx-runtime"); | ||
@@ -27,3 +27,3 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
const dateParser = value => { | ||
return value.map(date => date === null ? date : _pickersUtils.adapterToUse.date(new Date(...date))); | ||
return value.map(date => date === null ? date : _pickers.adapterToUse.date(new Date(...date))); | ||
}; | ||
@@ -71,3 +71,3 @@ const testTextFieldRangeValidation = (ElementToTest, getOptions) => { | ||
value: dateParser([[2018, 2, 9], [2018, 2, 10]]), | ||
shouldDisableDate: date => _pickersUtils.adapterToUse.isAfter(date, _pickersUtils.adapterToUse.date(new Date(2018, 2, 10))) | ||
shouldDisableDate: date => _pickers.adapterToUse.isAfter(date, _pickers.adapterToUse.date(new Date(2018, 2, 10))) | ||
})); | ||
@@ -90,3 +90,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(0); | ||
value: dateParser([[2018, 2, 12], [2018, 2, 13]]), | ||
shouldDisableDate: date => _pickersUtils.adapterToUse.isBefore(date, _pickersUtils.adapterToUse.date(new Date(2018, 2, 13))) | ||
shouldDisableDate: date => _pickers.adapterToUse.isBefore(date, _pickers.adapterToUse.date(new Date(2018, 2, 13))) | ||
}); | ||
@@ -107,3 +107,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(3); | ||
value: dateParser([[2018, 2, 9], [2018, 2, 10]]), | ||
shouldDisableDate: (date, position) => position === 'end' ? _pickersUtils.adapterToUse.isAfter(date, _pickersUtils.adapterToUse.date(new Date(2018, 2, 10))) : false | ||
shouldDisableDate: (date, position) => position === 'end' ? _pickers.adapterToUse.isAfter(date, _pickers.adapterToUse.date(new Date(2018, 2, 10))) : false | ||
})); | ||
@@ -126,3 +126,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(0); | ||
value: dateParser([[2018, 2, 12], [2018, 2, 13]]), | ||
shouldDisableDate: (date, position) => position === 'end' ? _pickersUtils.adapterToUse.isBefore(date, _pickersUtils.adapterToUse.date(new Date(2018, 2, 13))) : false | ||
shouldDisableDate: (date, position) => position === 'end' ? _pickers.adapterToUse.isBefore(date, _pickers.adapterToUse.date(new Date(2018, 2, 13))) : false | ||
}); | ||
@@ -143,3 +143,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(2); | ||
value: dateParser([[2018, 2, 9], [2018, 2, 10]]), | ||
shouldDisableDate: (date, position) => position === 'start' ? _pickersUtils.adapterToUse.isAfter(date, _pickersUtils.adapterToUse.date(new Date(2018, 2, 10))) : false | ||
shouldDisableDate: (date, position) => position === 'start' ? _pickers.adapterToUse.isAfter(date, _pickers.adapterToUse.date(new Date(2018, 2, 10))) : false | ||
})); | ||
@@ -160,3 +160,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(0); | ||
setProps({ | ||
shouldDisableDate: (date, position) => position === 'start' ? _pickersUtils.adapterToUse.isBefore(date, _pickersUtils.adapterToUse.date(new Date(2018, 2, 13))) : false | ||
shouldDisableDate: (date, position) => position === 'start' ? _pickers.adapterToUse.isBefore(date, _pickers.adapterToUse.date(new Date(2018, 2, 13))) : false | ||
}); | ||
@@ -170,3 +170,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(1); | ||
function WithFakeTimer(props) { | ||
now = _pickersUtils.adapterToUse.date(new Date()); | ||
now = _pickers.adapterToUse.date(new Date()); | ||
return /*#__PURE__*/(0, _jsxRuntime.jsx)(ElementToTest, (0, _extends2.default)({ | ||
@@ -184,5 +184,5 @@ value: [now, now] | ||
if (withDate) { | ||
past = _pickersUtils.adapterToUse.addDays(now, -1); | ||
} else if (_pickersUtils.adapterToUse.isSameDay(_pickersUtils.adapterToUse.addHours(now, -1), now)) { | ||
past = _pickersUtils.adapterToUse.addHours(now, -1); | ||
past = _pickers.adapterToUse.addDays(now, -1); | ||
} else if (_pickers.adapterToUse.isSameDay(_pickers.adapterToUse.addHours(now, -1), now)) { | ||
past = _pickers.adapterToUse.addHours(now, -1); | ||
} | ||
@@ -209,3 +209,3 @@ if (past === null) { | ||
function WithFakeTimer(props) { | ||
now = _pickersUtils.adapterToUse.date(new Date()); | ||
now = _pickers.adapterToUse.date(new Date()); | ||
return /*#__PURE__*/(0, _jsxRuntime.jsx)(ElementToTest, (0, _extends2.default)({ | ||
@@ -223,5 +223,5 @@ value: [now, now] | ||
if (withDate) { | ||
future = _pickersUtils.adapterToUse.addDays(now, 1); | ||
} else if (_pickersUtils.adapterToUse.isSameDay(_pickersUtils.adapterToUse.addHours(now, 1), now)) { | ||
future = _pickersUtils.adapterToUse.addHours(now, 1); | ||
future = _pickers.adapterToUse.addDays(now, 1); | ||
} else if (_pickers.adapterToUse.isSameDay(_pickers.adapterToUse.addHours(now, 1), now)) { | ||
future = _pickers.adapterToUse.addHours(now, 1); | ||
} | ||
@@ -254,3 +254,3 @@ if (future === null) { | ||
value: dateParser([[2018, 2, 9], [2018, 2, 10]]), | ||
minDate: _pickersUtils.adapterToUse.date(new Date(2018, 2, 15)) | ||
minDate: _pickers.adapterToUse.date(new Date(2018, 2, 15)) | ||
})); | ||
@@ -283,3 +283,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(1); | ||
value: dateParser([[2018, 2, 9], null]), | ||
minDate: _pickersUtils.adapterToUse.date(new Date(2018, 2, 11)) | ||
minDate: _pickers.adapterToUse.date(new Date(2018, 2, 11)) | ||
})); | ||
@@ -306,3 +306,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(1); | ||
value: dateParser([null, [2018, 2, 9]]), | ||
minDate: _pickersUtils.adapterToUse.date(new Date(2018, 2, 15)) | ||
minDate: _pickers.adapterToUse.date(new Date(2018, 2, 15)) | ||
})); | ||
@@ -329,3 +329,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(1); | ||
value: dateParser([[2018, 2, 9], [2018, 2, 10]]), | ||
maxDate: _pickersUtils.adapterToUse.date(new Date(2018, 2, 15)) | ||
maxDate: _pickers.adapterToUse.date(new Date(2018, 2, 15)) | ||
})); | ||
@@ -357,3 +357,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(0); | ||
value: dateParser([[2018, 2, 10, 9, 0, 0], [2018, 2, 10, 10, 0, 0]]), | ||
minTime: _pickersUtils.adapterToUse.date(new Date(2018, 2, 10, 12, 0)) | ||
minTime: _pickers.adapterToUse.date(new Date(2018, 2, 10, 12, 0)) | ||
})); | ||
@@ -386,3 +386,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(1); | ||
value: dateParser([[2018, 2, 5, 9, 0, 0], [2018, 2, 15, 10, 0, 0]]), | ||
minTime: _pickersUtils.adapterToUse.date(new Date(2018, 2, 10, 12, 0)) | ||
minTime: _pickers.adapterToUse.date(new Date(2018, 2, 10, 12, 0)) | ||
})); | ||
@@ -409,3 +409,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(1); | ||
value: dateParser([[2018, 1, 1, 15], null]), | ||
minTime: _pickersUtils.adapterToUse.date(new Date(2018, 1, 1, 12)) | ||
minTime: _pickers.adapterToUse.date(new Date(2018, 1, 1, 12)) | ||
})); | ||
@@ -431,3 +431,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(0); | ||
value: dateParser([null, [2018, 1, 1, 15]]), | ||
minTime: _pickersUtils.adapterToUse.date(new Date(2018, 1, 1, 12)) | ||
minTime: _pickers.adapterToUse.date(new Date(2018, 1, 1, 12)) | ||
})); | ||
@@ -453,3 +453,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(0); | ||
value: dateParser([[2018, 2, 10, 9, 0, 0], [2018, 2, 10, 10, 0, 0]]), | ||
maxTime: _pickersUtils.adapterToUse.date(new Date(2018, 2, 10, 12, 0)) | ||
maxTime: _pickers.adapterToUse.date(new Date(2018, 2, 10, 12, 0)) | ||
})); | ||
@@ -481,3 +481,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(0); | ||
value: dateParser([[2018, 2, 5, 9, 0, 0], [2018, 2, 15, 10, 0, 0]]), | ||
maxTime: _pickersUtils.adapterToUse.date(new Date(2018, 2, 10, 12, 0)) | ||
maxTime: _pickers.adapterToUse.date(new Date(2018, 2, 10, 12, 0)) | ||
})); | ||
@@ -504,3 +504,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(0); | ||
value: dateParser([[2018, 2, 1, 9, 0, 0], [2018, 2, 2, 12, 0, 0]]), | ||
maxDateTime: _pickersUtils.adapterToUse.date(new Date(2018, 2, 2, 13, 0)) | ||
maxDateTime: _pickers.adapterToUse.date(new Date(2018, 2, 2, 13, 0)) | ||
})); | ||
@@ -510,3 +510,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(0); | ||
setProps({ | ||
maxDateTime: _pickersUtils.adapterToUse.date(new Date(2018, 2, 2, 8, 0)) | ||
maxDateTime: _pickers.adapterToUse.date(new Date(2018, 2, 2, 8, 0)) | ||
}); | ||
@@ -517,3 +517,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(1); | ||
setProps({ | ||
maxDateTime: _pickersUtils.adapterToUse.date(new Date(2018, 2, 1, 5, 0)) | ||
maxDateTime: _pickers.adapterToUse.date(new Date(2018, 2, 1, 5, 0)) | ||
}); | ||
@@ -535,3 +535,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(2); | ||
value: dateParser([[2018, 2, 1, 9, 0, 0], [2018, 2, 2, 12, 0, 0]]), | ||
minDateTime: _pickersUtils.adapterToUse.date(new Date(2018, 2, 2, 13, 0)) | ||
minDateTime: _pickers.adapterToUse.date(new Date(2018, 2, 2, 13, 0)) | ||
})); | ||
@@ -542,3 +542,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(1); | ||
setProps({ | ||
minDateTime: _pickersUtils.adapterToUse.date(new Date(2018, 2, 2, 8, 0)) | ||
minDateTime: _pickers.adapterToUse.date(new Date(2018, 2, 2, 8, 0)) | ||
}); | ||
@@ -549,3 +549,3 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(2); | ||
setProps({ | ||
minDateTime: _pickersUtils.adapterToUse.date(new Date(2018, 2, 1, 5, 0)) | ||
minDateTime: _pickers.adapterToUse.date(new Date(2018, 2, 1, 5, 0)) | ||
}); | ||
@@ -552,0 +552,0 @@ (0, _chai.expect)(onErrorMock.callCount).to.equal(3); |
{ | ||
"name": "@mui/x-date-pickers-pro", | ||
"version": "6.11.1", | ||
"version": "6.11.2", | ||
"description": "The commercial edition of the date picker components (MUI X).", | ||
@@ -34,4 +34,4 @@ "author": "MUI Team", | ||
"@babel/runtime": "^7.22.6", | ||
"@mui/utils": "^5.14.3", | ||
"@mui/x-date-pickers": "6.11.1", | ||
"@mui/utils": "^5.14.5", | ||
"@mui/x-date-pickers": "6.11.2", | ||
"@mui/x-license-pro": "6.10.2", | ||
@@ -38,0 +38,0 @@ "clsx": "^2.0.0", |
@@ -213,4 +213,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
/** | ||
* Disable heavy animations. | ||
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
* If `true`, disable heavy animations. | ||
* @default `@media(prefers-reduced-motion: reduce)` || typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent) | ||
*/ | ||
@@ -217,0 +217,0 @@ reduceAnimations: PropTypes.bool, |
@@ -8,3 +8,3 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
import { screen } from '@mui/monorepo/test/utils'; | ||
import { adapterToUse } from 'test/utils/pickers-utils'; | ||
import { adapterToUse } from 'test/utils/pickers'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -11,0 +11,0 @@ const isDisable = el => el.getAttribute('disabled') !== null; |
@@ -5,3 +5,3 @@ import * as React from 'react'; | ||
import { screen } from '@mui/monorepo/test/utils'; | ||
import { adapterToUse } from 'test/utils/pickers-utils'; | ||
import { adapterToUse } from 'test/utils/pickers'; | ||
import { act } from '@mui/monorepo/test/utils/createRenderer'; | ||
@@ -8,0 +8,0 @@ import { jsx as _jsx } from "react/jsx-runtime"; |
@@ -6,3 +6,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import { screen } from '@mui/monorepo/test/utils'; | ||
import { adapterToUse } from 'test/utils/pickers-utils'; | ||
import { adapterToUse } from 'test/utils/pickers'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
@@ -9,0 +9,0 @@ const testInvalidStatus = (expectedAnswer, isSingleInput) => { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1507252
32073
1
+ Added@mui/x-date-pickers@6.11.2(transitive)
- Removed@mui/x-date-pickers@6.11.1(transitive)
Updated@mui/utils@^5.14.5
Updated@mui/x-date-pickers@6.11.2