@mui/x-date-pickers 6.19.9 → 6.19.12
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/AdapterMomentJalaali/AdapterMomentJalaali.js +2 -6
- package/CHANGELOG.md +72 -0
- package/index.js +1 -1
- package/legacy/AdapterMomentJalaali/AdapterMomentJalaali.js +2 -6
- package/legacy/index.js +1 -1
- package/modern/AdapterMomentJalaali/AdapterMomentJalaali.js +2 -6
- package/modern/index.js +1 -1
- package/node/AdapterMomentJalaali/AdapterMomentJalaali.js +2 -6
- package/node/index.js +1 -1
- package/package.json +1 -1
|
@@ -189,14 +189,10 @@ export class AdapterMomentJalaali extends AdapterMoment {
|
|
|
189
189
|
return this.moment(value).isSame(comparing);
|
|
190
190
|
};
|
|
191
191
|
this.isSameYear = (value, comparing) => {
|
|
192
|
-
|
|
193
|
-
// @ts-ignore
|
|
194
|
-
return value.clone().isSame(comparing, 'jYear');
|
|
192
|
+
return value.jYear() === comparing.jYear();
|
|
195
193
|
};
|
|
196
194
|
this.isSameMonth = (value, comparing) => {
|
|
197
|
-
|
|
198
|
-
// @ts-ignore
|
|
199
|
-
return value.clone().isSame(comparing, 'jMonth');
|
|
195
|
+
return value.jYear() === comparing.jYear() && value.jMonth() === comparing.jMonth();
|
|
200
196
|
};
|
|
201
197
|
this.isAfterYear = (value, comparing) => {
|
|
202
198
|
return value.jYear() > comparing.jYear();
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,78 @@
|
|
|
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
|
+
## 6.19.12
|
|
7
|
+
|
|
8
|
+
_May 17, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🐞 Bugfixes
|
|
13
|
+
|
|
14
|
+
### Date Pickers
|
|
15
|
+
|
|
16
|
+
#### `@mui/x-date-pickers@6.19.12`
|
|
17
|
+
|
|
18
|
+
- [pickers] Fix `AdapterMomentJalaali` regression (#13150) @LukasTy
|
|
19
|
+
|
|
20
|
+
#### `@mui/x-date-pickers-pro@6.19.12` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
21
|
+
|
|
22
|
+
Same changes as in `@mui/x-date-pickers@6.19.12`.
|
|
23
|
+
|
|
24
|
+
### Docs
|
|
25
|
+
|
|
26
|
+
- [docs] Use MUI X v6 in Codesandbox and Stackblitz demos (#12838) @cherniavskii
|
|
27
|
+
|
|
28
|
+
## 6.19.11
|
|
29
|
+
|
|
30
|
+
_Apr 18, 2024_
|
|
31
|
+
|
|
32
|
+
We'd like to offer a big thanks to the 1 contributor who made this release possible. Here are some highlights ✨:
|
|
33
|
+
|
|
34
|
+
- 🐞 Bugfixes
|
|
35
|
+
|
|
36
|
+
### Data Grid
|
|
37
|
+
|
|
38
|
+
#### `@mui/x-data-grid@6.19.11`
|
|
39
|
+
|
|
40
|
+
- [DataGrid] Fix virtualization memory leak (#12812) @romgrk
|
|
41
|
+
|
|
42
|
+
#### `@mui/x-data-grid-pro@6.19.11` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
43
|
+
|
|
44
|
+
Same changes as in `@mui/x-data-grid@6.19.11`.
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-data-grid-premium@6.19.11` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
47
|
+
|
|
48
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.11`.
|
|
49
|
+
|
|
50
|
+
## 6.19.10
|
|
51
|
+
|
|
52
|
+
_Apr 12, 2024_
|
|
53
|
+
|
|
54
|
+
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
55
|
+
|
|
56
|
+
- 🐞 Bugfixes
|
|
57
|
+
- 📚 Documentation improvements
|
|
58
|
+
|
|
59
|
+
### Data Grid
|
|
60
|
+
|
|
61
|
+
#### `@mui/x-data-grid@6.19.10`
|
|
62
|
+
|
|
63
|
+
- [DataGrid] Do not escape double quotes when copying to clipboard (#12734) @cherniavskii
|
|
64
|
+
- [DataGrid] Fix bug in suspense (#12754) @cherniavskii
|
|
65
|
+
|
|
66
|
+
#### `@mui/x-data-grid-pro@6.19.10` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
67
|
+
|
|
68
|
+
Same changes as in `@mui/x-data-grid@6.19.10`.
|
|
69
|
+
|
|
70
|
+
#### `@mui/x-data-grid-premium@6.19.10` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
71
|
+
|
|
72
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.10`.
|
|
73
|
+
|
|
74
|
+
### Core
|
|
75
|
+
|
|
76
|
+
- [core] Update the docs release source branch (#12685) @LukasTy
|
|
77
|
+
|
|
6
78
|
## 6.19.9
|
|
7
79
|
|
|
8
80
|
_Apr 5, 2024_
|
package/index.js
CHANGED
|
@@ -201,14 +201,10 @@ export var AdapterMomentJalaali = /*#__PURE__*/function (_AdapterMoment) {
|
|
|
201
201
|
return _this.moment(value).isSame(comparing);
|
|
202
202
|
};
|
|
203
203
|
_this.isSameYear = function (value, comparing) {
|
|
204
|
-
|
|
205
|
-
// @ts-ignore
|
|
206
|
-
return value.clone().isSame(comparing, 'jYear');
|
|
204
|
+
return value.jYear() === comparing.jYear();
|
|
207
205
|
};
|
|
208
206
|
_this.isSameMonth = function (value, comparing) {
|
|
209
|
-
|
|
210
|
-
// @ts-ignore
|
|
211
|
-
return value.clone().isSame(comparing, 'jMonth');
|
|
207
|
+
return value.jYear() === comparing.jYear() && value.jMonth() === comparing.jMonth();
|
|
212
208
|
};
|
|
213
209
|
_this.isAfterYear = function (value, comparing) {
|
|
214
210
|
return value.jYear() > comparing.jYear();
|
package/legacy/index.js
CHANGED
|
@@ -189,14 +189,10 @@ export class AdapterMomentJalaali extends AdapterMoment {
|
|
|
189
189
|
return this.moment(value).isSame(comparing);
|
|
190
190
|
};
|
|
191
191
|
this.isSameYear = (value, comparing) => {
|
|
192
|
-
|
|
193
|
-
// @ts-ignore
|
|
194
|
-
return value.clone().isSame(comparing, 'jYear');
|
|
192
|
+
return value.jYear() === comparing.jYear();
|
|
195
193
|
};
|
|
196
194
|
this.isSameMonth = (value, comparing) => {
|
|
197
|
-
|
|
198
|
-
// @ts-ignore
|
|
199
|
-
return value.clone().isSame(comparing, 'jMonth');
|
|
195
|
+
return value.jYear() === comparing.jYear() && value.jMonth() === comparing.jMonth();
|
|
200
196
|
};
|
|
201
197
|
this.isAfterYear = (value, comparing) => {
|
|
202
198
|
return value.jYear() > comparing.jYear();
|
package/modern/index.js
CHANGED
|
@@ -197,14 +197,10 @@ class AdapterMomentJalaali extends _AdapterMoment.AdapterMoment {
|
|
|
197
197
|
return this.moment(value).isSame(comparing);
|
|
198
198
|
};
|
|
199
199
|
this.isSameYear = (value, comparing) => {
|
|
200
|
-
|
|
201
|
-
// @ts-ignore
|
|
202
|
-
return value.clone().isSame(comparing, 'jYear');
|
|
200
|
+
return value.jYear() === comparing.jYear();
|
|
203
201
|
};
|
|
204
202
|
this.isSameMonth = (value, comparing) => {
|
|
205
|
-
|
|
206
|
-
// @ts-ignore
|
|
207
|
-
return value.clone().isSame(comparing, 'jMonth');
|
|
203
|
+
return value.jYear() === comparing.jYear() && value.jMonth() === comparing.jMonth();
|
|
208
204
|
};
|
|
209
205
|
this.isAfterYear = (value, comparing) => {
|
|
210
206
|
return value.jYear() > comparing.jYear();
|
package/node/index.js
CHANGED