@mui/x-date-pickers-pro 7.3.2 → 7.5.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.
- package/AdapterDateFnsJalaliV3/index.d.ts +1 -0
- package/AdapterDateFnsJalaliV3/index.js +1 -0
- package/AdapterDateFnsJalaliV3/package.json +6 -0
- package/CHANGELOG.md +160 -2
- package/DateRangeCalendar/DateRangeCalendar.types.d.ts +1 -1
- package/LocalizationProvider/index.d.ts +1 -0
- package/LocalizationProvider/index.js +1 -0
- package/LocalizationProvider/package.json +6 -0
- package/MultiInputDateRangeField/MultiInputDateRangeField.types.d.ts +1 -2
- package/SingleInputDateRangeField/SingleInputDateRangeField.types.d.ts +1 -2
- package/index.d.ts +0 -1
- package/index.js +1 -1
- package/internals/hooks/useEnrichedRangePickerFieldProps.d.ts +1 -2
- package/internals/models/dateRange.d.ts +0 -4
- package/internals/utils/releaseInfo.js +1 -1
- package/internals/utils/validation/validateDateRange.d.ts +1 -1
- package/models/dateRange.d.ts +8 -0
- package/models/dateRange.js +1 -0
- package/models/index.d.ts +1 -0
- package/models/index.js +1 -0
- package/modern/AdapterDateFnsJalaliV3/index.js +1 -0
- package/modern/LocalizationProvider/index.js +1 -0
- package/modern/index.js +1 -1
- package/modern/internals/utils/releaseInfo.js +1 -1
- package/modern/models/dateRange.js +1 -0
- package/modern/models/index.js +1 -0
- package/node/AdapterDateFnsJalaliV3/index.js +12 -0
- package/node/LocalizationProvider/index.js +12 -0
- package/node/index.js +1 -1
- package/node/internals/utils/releaseInfo.js +1 -1
- package/node/models/dateRange.js +5 -0
- package/node/models/index.js +11 -0
- package/package.json +5 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AdapterDateFnsJalali } from '@mui/x-date-pickers/AdapterDateFnsJalaliV3';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AdapterDateFnsJalali } from '@mui/x-date-pickers/AdapterDateFnsJalaliV3';
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,144 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## v7.5.0
|
|
7
|
+
|
|
8
|
+
_May 17, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🎁 Add support for checkbox selection on the Tree View components
|
|
13
|
+
- 🌍 Improve Norwegian (nb-NO) and Spanish (es-ES) locales on the Data Grid
|
|
14
|
+
- 🐞 Bugfixes
|
|
15
|
+
- 📚 Documentation improvements
|
|
16
|
+
|
|
17
|
+
### Data Grid
|
|
18
|
+
|
|
19
|
+
#### `@mui/x-data-grid@7.5.0`
|
|
20
|
+
|
|
21
|
+
- [DataGrid] Fix `rowModesModel` controlled prop (#13056) @Janpot
|
|
22
|
+
- [DataGrid] Reduce bundle size with error messages (#12992) @oliviertassinari
|
|
23
|
+
- [l10n] Improve Norwegian (nb-NO) locale (#13106) @oliverlaidma
|
|
24
|
+
- [l10n] Improve Spanish (es-ES) locale (#13133) @Jucabel
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-pro@7.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid@7.5.0`.
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-premium@7.5.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid-pro@7.5.0`.
|
|
33
|
+
|
|
34
|
+
### Date and Time Pickers
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers@7.5.0`
|
|
37
|
+
|
|
38
|
+
- [fields] Allow empty `textField` slot placeholder value (#13148) @arthurbalduini
|
|
39
|
+
- [pickers] Fix `AdapterMomentJalaali` regression (#13144) @LukasTy
|
|
40
|
+
- [pickers] Fix field focusing when switching to view without a renderer (#13112) @LukasTy
|
|
41
|
+
- [pickers] Reuse `AdapterDateFnsBase` in Jalali adapters (#13075) @LukasTy
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-date-pickers-pro@7.5.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
44
|
+
|
|
45
|
+
Same changes as in `@mui/x-date-pickers@7.5.0`.
|
|
46
|
+
|
|
47
|
+
### Charts
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-charts@7.5.0`
|
|
50
|
+
|
|
51
|
+
- [charts] Tooltip with `trigger=axis` now follow touch on mobile (#13043) @wzdorowa
|
|
52
|
+
- [charts] Allow `series.label` property to receive a function with the "location" it is going to be displayed on (#12830) @JCQuintas
|
|
53
|
+
- [charts] Improve TypeScript performance (#13137) @alexfauquette
|
|
54
|
+
- [charts] Fix area order when overlapping (#13121) @alexfauquette
|
|
55
|
+
- [charts] Improve `useSlotProps` types (#13141) @alexfauquette
|
|
56
|
+
- [charts] Fix using the theme's font in the Overlay (#13107) @alexfauquette
|
|
57
|
+
|
|
58
|
+
### Tree View
|
|
59
|
+
|
|
60
|
+
#### `@mui/x-tree-view@7.5.0`
|
|
61
|
+
|
|
62
|
+
- [TreeView] Add support for checkbox selection (#11452) @flaviendelangle
|
|
63
|
+
- [TreeView] Remove unused code (#12917) @flaviendelangle
|
|
64
|
+
|
|
65
|
+
### Docs
|
|
66
|
+
|
|
67
|
+
- [docs] Document missing Charts API's (#12875) @alexfauquette
|
|
68
|
+
|
|
69
|
+
### Core
|
|
70
|
+
|
|
71
|
+
- [core] Avoid root level `@mui/x-date-pickers` imports (#13120) @LukasTy
|
|
72
|
+
- [core] Refactor ESLint config to disallow root level imports (#13130) @LukasTy
|
|
73
|
+
- [core] Simplify Danger's config (#13062) @oliviertassinari
|
|
74
|
+
- [core] Shift aliasing from babel to webpack (#13051) @Janpot
|
|
75
|
+
- [core] Reuse the `SectionTitle` component in the doc (#13139) @alexfauquette
|
|
76
|
+
|
|
77
|
+
## 7.4.0
|
|
78
|
+
|
|
79
|
+
_May 10, 2024_
|
|
80
|
+
|
|
81
|
+
We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
82
|
+
|
|
83
|
+
- ✨ Add optional `id` attribute on shortcut items of the Date and Time Pickers
|
|
84
|
+
- 🎁 Add support for `date-fns-jalali` v3 in the Date and Time Pickers
|
|
85
|
+
- 🚀 Support rounded corners on `BarChart`
|
|
86
|
+
- 🌍 Add accessibility page to TreeView docs
|
|
87
|
+
- 🐞 Bugfixes
|
|
88
|
+
- 📚 Documentation improvements
|
|
89
|
+
|
|
90
|
+
### Data Grid
|
|
91
|
+
|
|
92
|
+
#### `@mui/x-data-grid@7.4.0`
|
|
93
|
+
|
|
94
|
+
- [DataGrid] Fix error when focus moves from column header to `svg` element (#13028) @oukunan
|
|
95
|
+
- [DataGrid] Fix error on column groups change (#12965) @romgrk
|
|
96
|
+
|
|
97
|
+
#### `@mui/x-data-grid-pro@7.4.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
98
|
+
|
|
99
|
+
Same changes as in `@mui/x-data-grid@7.4.0`.
|
|
100
|
+
|
|
101
|
+
#### `@mui/x-data-grid-premium@7.4.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
102
|
+
|
|
103
|
+
Same changes as in `@mui/x-data-grid-pro@7.4.0`.
|
|
104
|
+
|
|
105
|
+
### Date and Time Pickers
|
|
106
|
+
|
|
107
|
+
#### `@mui/x-date-pickers@7.4.0`
|
|
108
|
+
|
|
109
|
+
- [fields] Fix regression preventing form submit on "Enter" click (#13065) @LukasTy
|
|
110
|
+
- [pickers] Add `AdapterDateFnsJalaliV3` adapter (#12891) @smmoosavi
|
|
111
|
+
- [pickers] Add optional `id` attribute on shortcut items (#12976) @noraleonte
|
|
112
|
+
|
|
113
|
+
#### `@mui/x-date-pickers-pro@7.4.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
114
|
+
|
|
115
|
+
Same changes as in `@mui/x-date-pickers@7.4.0`.
|
|
116
|
+
|
|
117
|
+
### Charts
|
|
118
|
+
|
|
119
|
+
#### `@mui/x-charts@7.4.0`
|
|
120
|
+
|
|
121
|
+
- [charts] Add `ChartsGrid` to `themeAugmentation` (#13026) @noraleonte
|
|
122
|
+
- [charts] Support rounded corners on `BarChart` (#12834) @JCQuintas
|
|
123
|
+
|
|
124
|
+
### Tree View
|
|
125
|
+
|
|
126
|
+
#### `@mui/x-tree-view@7.4.0`
|
|
127
|
+
|
|
128
|
+
- [TreeView] Fix props propagation and theme entry in `TreeItem2` (#12889) @flaviendelangle
|
|
129
|
+
|
|
130
|
+
### Docs
|
|
131
|
+
|
|
132
|
+
- [docs] Add accessibility page to TreeView docs (#12845) @noraleonte
|
|
133
|
+
- [docs] Fix Charts styling typos (#13061) @oliviertassinari
|
|
134
|
+
- [docs] Fix legal link to EULA free trial (#13013) @oliviertassinari
|
|
135
|
+
- [docs] Update interface name in pinned columns docs (#13070) @cherniavskii
|
|
136
|
+
|
|
137
|
+
### Core
|
|
138
|
+
|
|
139
|
+
- [core] Improve release process docs (#12977) @JCQuintas
|
|
140
|
+
- [core] Prepare React 19 (#12991) @oliviertassinari
|
|
141
|
+
- [docs-infra] Fix Netlify PR preview path (#12993) @oliviertassinari
|
|
142
|
+
- [infra] Automation: Add release PR reviewers (#12982) @michelengelen
|
|
143
|
+
|
|
6
144
|
## 7.3.2
|
|
7
145
|
|
|
8
146
|
_May 2, 2024_
|
|
@@ -17,8 +155,6 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
|
|
|
17
155
|
- 🐞 Bugfixes
|
|
18
156
|
- 📚 Documentation improvements
|
|
19
157
|
|
|
20
|
-
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
21
|
-
|
|
22
158
|
### Data Grid
|
|
23
159
|
|
|
24
160
|
#### `@mui/x-data-grid@7.3.2`
|
|
@@ -3281,6 +3417,28 @@ Here is an example of the renaming for the `<ChartsTooltip />` component.
|
|
|
3281
3417
|
- [core] Update release instructions as per v7 configuration (#10962) @MBilalShafi
|
|
3282
3418
|
- [license] Correctly throw errors (#10924) @oliviertassinari
|
|
3283
3419
|
|
|
3420
|
+
## 6.19.12
|
|
3421
|
+
|
|
3422
|
+
_May 17, 2024_
|
|
3423
|
+
|
|
3424
|
+
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
3425
|
+
|
|
3426
|
+
- 🐞 Bugfixes
|
|
3427
|
+
|
|
3428
|
+
### Date Pickers
|
|
3429
|
+
|
|
3430
|
+
#### `@mui/x-date-pickers@6.19.12`
|
|
3431
|
+
|
|
3432
|
+
- [pickers] Fix `AdapterMomentJalaali` regression (#13150) @LukasTy
|
|
3433
|
+
|
|
3434
|
+
#### `@mui/x-date-pickers-pro@6.19.12` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
3435
|
+
|
|
3436
|
+
Same changes as in `@mui/x-date-pickers@6.19.12`.
|
|
3437
|
+
|
|
3438
|
+
### Docs
|
|
3439
|
+
|
|
3440
|
+
- [docs] Use MUI X v6 in Codesandbox and Stackblitz demos (#12838) @cherniavskii
|
|
3441
|
+
|
|
3284
3442
|
## 6.19.11
|
|
3285
3443
|
|
|
3286
3444
|
_Apr 18, 2024_
|
|
@@ -5,7 +5,7 @@ import { Theme } from '@mui/material/styles';
|
|
|
5
5
|
import { PickerValidDate, TimezoneProps } from '@mui/x-date-pickers/models';
|
|
6
6
|
import { PickersCalendarHeader, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps } from '@mui/x-date-pickers/PickersCalendarHeader';
|
|
7
7
|
import { BaseDateValidationProps, DefaultizedProps, ExportedDayCalendarProps, DayCalendarSlots, DayCalendarSlotProps, PickersArrowSwitcherSlots, PickersArrowSwitcherSlotProps, DayCalendarProps, ExportedUseViewsOptions } from '@mui/x-date-pickers/internals';
|
|
8
|
-
import { DayRangeValidationProps } from '../internals/models';
|
|
8
|
+
import { DayRangeValidationProps } from '../internals/models/dateRange';
|
|
9
9
|
import { DateRange } from '../models';
|
|
10
10
|
import { DateRangeCalendarClasses } from './dateRangeCalendarClasses';
|
|
11
11
|
import { DateRangePickerDay, DateRangePickerDayProps } from '../DateRangePickerDay';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
|
|
@@ -4,9 +4,8 @@ import { SlotComponentProps } from '@mui/base/utils';
|
|
|
4
4
|
import Typography from '@mui/material/Typography';
|
|
5
5
|
import Stack, { StackProps } from '@mui/material/Stack';
|
|
6
6
|
import TextField from '@mui/material/TextField';
|
|
7
|
-
import { UseDateRangeFieldProps } from '../internals/models/dateRange';
|
|
8
7
|
import { UseMultiInputRangeFieldParams } from '../internals/hooks/useMultiInputRangeField/useMultiInputRangeField.types';
|
|
9
|
-
import { MultiInputFieldRefs, MultiInputRangeFieldClasses, RangePosition } from '../models';
|
|
8
|
+
import { MultiInputFieldRefs, MultiInputRangeFieldClasses, RangePosition, UseDateRangeFieldProps } from '../models';
|
|
10
9
|
export type UseMultiInputDateRangeFieldParams<TDate extends PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean, TTextFieldSlotProps extends {}> = UseMultiInputRangeFieldParams<UseMultiInputDateRangeFieldProps<TDate, TEnableAccessibleFieldDOMStructure>, TTextFieldSlotProps>;
|
|
11
10
|
export interface UseMultiInputDateRangeFieldProps<TDate extends PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean> extends Omit<UseDateRangeFieldProps<TDate, TEnableAccessibleFieldDOMStructure>, 'unstableFieldRef' | 'clearable' | 'onClear'>, MultiInputFieldRefs {
|
|
12
11
|
}
|
|
@@ -4,8 +4,7 @@ import TextField from '@mui/material/TextField';
|
|
|
4
4
|
import { UseFieldInternalProps } from '@mui/x-date-pickers/internals';
|
|
5
5
|
import { BuiltInFieldTextFieldProps, PickerValidDate } from '@mui/x-date-pickers/models';
|
|
6
6
|
import { ExportedUseClearableFieldProps, UseClearableFieldSlots, UseClearableFieldSlotProps } from '@mui/x-date-pickers/hooks';
|
|
7
|
-
import { UseDateRangeFieldProps } from '../
|
|
8
|
-
import type { DateRange, RangeFieldSection, DateRangeValidationError } from '../models';
|
|
7
|
+
import type { DateRange, RangeFieldSection, DateRangeValidationError, UseDateRangeFieldProps } from '../models';
|
|
9
8
|
export interface UseSingleInputDateRangeFieldProps<TDate extends PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean> extends UseDateRangeFieldProps<TDate, TEnableAccessibleFieldDOMStructure>, ExportedUseClearableFieldProps, Pick<UseFieldInternalProps<DateRange<TDate>, TDate, RangeFieldSection, TEnableAccessibleFieldDOMStructure, DateRangeValidationError>, 'unstableFieldRef'> {
|
|
10
9
|
}
|
|
11
10
|
export type SingleInputDateRangeFieldProps<TDate extends PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean = false> = Omit<BuiltInFieldTextFieldProps<TEnableAccessibleFieldDOMStructure>, keyof UseSingleInputDateRangeFieldProps<TDate, TEnableAccessibleFieldDOMStructure>> & UseSingleInputDateRangeFieldProps<TDate, TEnableAccessibleFieldDOMStructure> & {
|
package/index.d.ts
CHANGED
|
@@ -23,5 +23,4 @@ export * from './DateTimeRangePicker';
|
|
|
23
23
|
export * from './DesktopDateTimeRangePicker';
|
|
24
24
|
export * from './MobileDateTimeRangePicker';
|
|
25
25
|
export * from './dateRangeViewRenderers';
|
|
26
|
-
export type { UseDateRangeFieldProps } from './internals/models/dateRange';
|
|
27
26
|
export * from './models';
|
package/index.js
CHANGED
|
@@ -7,8 +7,7 @@ import { BaseSingleInputFieldProps, FieldRef, PickerValidDate } from '@mui/x-dat
|
|
|
7
7
|
import { UseClearableFieldSlots, UseClearableFieldSlotProps } from '@mui/x-date-pickers/hooks';
|
|
8
8
|
import { PickersInputLocaleText } from '@mui/x-date-pickers/locales';
|
|
9
9
|
import { BaseFieldProps, UsePickerResponse, WrapperVariant, UsePickerProps, SlotComponentPropsFromProps, DateOrTimeViewWithMeridiem } from '@mui/x-date-pickers/internals';
|
|
10
|
-
import { UseDateRangeFieldProps } from '
|
|
11
|
-
import { BaseMultiInputFieldProps, RangeFieldSection, DateRange, RangePosition, FieldType } from '../../models';
|
|
10
|
+
import { BaseMultiInputFieldProps, RangeFieldSection, DateRange, RangePosition, FieldType, UseDateRangeFieldProps } from '../../models';
|
|
12
11
|
import { UseRangePositionResponse } from './useRangePosition';
|
|
13
12
|
export interface RangePickerFieldSlots extends UseClearableFieldSlots {
|
|
14
13
|
field: React.ElementType;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { BaseDateValidationProps, MakeOptional, UseFieldInternalProps } from '@mui/x-date-pickers/internals';
|
|
2
1
|
import { PickerValidDate } from '@mui/x-date-pickers/models';
|
|
3
|
-
import { DateRangeValidationError, RangeFieldSection, DateRange, RangeFieldSeparatorProps } from '../../models';
|
|
4
2
|
/**
|
|
5
3
|
* Props used to validate a day value in range pickers.
|
|
6
4
|
*/
|
|
@@ -17,5 +15,3 @@ export interface DayRangeValidationProps<TDate extends PickerValidDate> {
|
|
|
17
15
|
*/
|
|
18
16
|
shouldDisableDate?: (day: TDate, position: 'start' | 'end') => boolean;
|
|
19
17
|
}
|
|
20
|
-
export interface UseDateRangeFieldProps<TDate extends PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean> extends MakeOptional<Omit<UseFieldInternalProps<DateRange<TDate>, TDate, RangeFieldSection, TEnableAccessibleFieldDOMStructure, DateRangeValidationError>, 'unstableFieldRef'>, 'format'>, RangeFieldSeparatorProps, DayRangeValidationProps<TDate>, BaseDateValidationProps<TDate> {
|
|
21
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcxNTg5NjgwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PickerValidDate, TimezoneProps } from '@mui/x-date-pickers/models';
|
|
2
2
|
import { Validator, BaseDateValidationProps, DefaultizedProps } from '@mui/x-date-pickers/internals';
|
|
3
|
-
import { DayRangeValidationProps } from '../../models';
|
|
3
|
+
import { DayRangeValidationProps } from '../../models/dateRange';
|
|
4
4
|
import { DateRangeValidationError, DateRange } from '../../../models';
|
|
5
5
|
export interface DateRangeComponentValidationProps<TDate extends PickerValidDate> extends DayRangeValidationProps<TDate>, Required<BaseDateValidationProps<TDate>>, DefaultizedProps<TimezoneProps, 'timezone'> {
|
|
6
6
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseDateValidationProps, MakeOptional, UseFieldInternalProps } from '@mui/x-date-pickers/internals';
|
|
2
|
+
import { PickerValidDate } from '@mui/x-date-pickers/models';
|
|
3
|
+
import { RangeFieldSection, RangeFieldSeparatorProps } from './fields';
|
|
4
|
+
import { DateRangeValidationError } from './validation';
|
|
5
|
+
import { DateRange } from './range';
|
|
6
|
+
import { DayRangeValidationProps } from '../internals/models/dateRange';
|
|
7
|
+
export interface UseDateRangeFieldProps<TDate extends PickerValidDate, TEnableAccessibleFieldDOMStructure extends boolean> extends MakeOptional<Omit<UseFieldInternalProps<DateRange<TDate>, TDate, RangeFieldSection, TEnableAccessibleFieldDOMStructure, DateRangeValidationError>, 'unstableFieldRef'>, 'format'>, RangeFieldSeparatorProps, DayRangeValidationProps<TDate>, BaseDateValidationProps<TDate> {
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/models/index.d.ts
CHANGED
package/models/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AdapterDateFnsJalali } from '@mui/x-date-pickers/AdapterDateFnsJalaliV3';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcxNTg5NjgwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/modern/models/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "AdapterDateFnsJalali", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _AdapterDateFnsJalaliV.AdapterDateFnsJalali;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _AdapterDateFnsJalaliV = require("@mui/x-date-pickers/AdapterDateFnsJalaliV3");
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "LocalizationProvider", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _LocalizationProvider.LocalizationProvider;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _LocalizationProvider = require("@mui/x-date-pickers/LocalizationProvider");
|
package/node/index.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getReleaseInfo = void 0;
|
|
7
7
|
var _utils = require("@mui/utils");
|
|
8
8
|
const getReleaseInfo = () => {
|
|
9
|
-
const releaseInfo = "
|
|
9
|
+
const releaseInfo = "MTcxNTg5NjgwMDAwMA==";
|
|
10
10
|
if (process.env.NODE_ENV !== 'production') {
|
|
11
11
|
// A simple hack to set the value in the test environment (has no build step).
|
|
12
12
|
// eslint-disable-next-line no-useless-concat
|
package/node/models/index.js
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
var _dateRange = require("./dateRange");
|
|
7
|
+
Object.keys(_dateRange).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _dateRange[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _dateRange[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
6
17
|
var _fields = require("./fields");
|
|
7
18
|
Object.keys(_fields).forEach(function (key) {
|
|
8
19
|
if (key === "default" || key === "__esModule") return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-date-pickers-pro",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.0",
|
|
4
4
|
"description": "The Pro plan edition of the Date and Time Picker components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"directory": "packages/x-date-pickers-pro"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@babel/runtime": "^7.24.
|
|
35
|
+
"@babel/runtime": "^7.24.5",
|
|
36
36
|
"@mui/base": "^5.0.0-beta.40",
|
|
37
37
|
"@mui/system": "^5.15.14",
|
|
38
38
|
"@mui/utils": "^5.15.14",
|
|
39
|
-
"clsx": "^2.1.
|
|
39
|
+
"clsx": "^2.1.1",
|
|
40
40
|
"prop-types": "^15.8.1",
|
|
41
41
|
"react-transition-group": "^4.4.5",
|
|
42
|
-
"@mui/x-date-pickers": "7.
|
|
42
|
+
"@mui/x-date-pickers": "7.5.0",
|
|
43
43
|
"@mui/x-license": "7.2.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@emotion/styled": "^11.8.1",
|
|
48
48
|
"@mui/material": "^5.15.14",
|
|
49
49
|
"date-fns": "^2.25.0 || ^3.2.0",
|
|
50
|
-
"date-fns-jalali": "^2.13.0-0",
|
|
50
|
+
"date-fns-jalali": "^2.13.0-0 || ^3.2.0-0",
|
|
51
51
|
"dayjs": "^1.10.7",
|
|
52
52
|
"luxon": "^3.0.2",
|
|
53
53
|
"moment": "^2.29.4",
|