Commit 5b2b2e7
committed
react-material: Update MUI X date pickers from v7 to v8
- Update dev and peer dependency of `@mui/x-date-pickers` from v7 to v8.
- Adapt input variant handling for picker text fields
- Adapt picker variant handling
- Adapt textfield input property handling
- Fix pickers to still autoclose on selecting the smallest unit.
- Make autoclose configurable via uischema option `closeOnSelect`
NOTE:
The pickers needed to be updated to handle onChange in addition to onAccept.
Otherwise, the value in the open picker is not updated.
This results in data updates after each date/time component selection (e.g. hours).1 parent 016f1df commit 5b2b2e7
File tree
5 files changed
+106
-31
lines changed- packages/material-renderers
- src/controls
5 files changed
+106
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
| |||
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
103 | | - | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| |||
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| 127 | + | |
124 | 128 | | |
125 | | - | |
| 129 | + | |
126 | 130 | | |
127 | | - | |
| 131 | + | |
128 | 132 | | |
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
132 | | - | |
133 | 136 | | |
134 | 137 | | |
| 138 | + | |
135 | 139 | | |
| 140 | + | |
136 | 141 | | |
| 142 | + | |
| 143 | + | |
137 | 144 | | |
138 | 145 | | |
139 | | - | |
140 | | - | |
141 | 146 | | |
142 | 147 | | |
143 | 148 | | |
| |||
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
124 | 127 | | |
125 | 128 | | |
126 | 129 | | |
| 130 | + | |
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
| 134 | + | |
130 | 135 | | |
131 | 136 | | |
132 | | - | |
| 137 | + | |
133 | 138 | | |
134 | | - | |
| 139 | + | |
135 | 140 | | |
136 | 141 | | |
137 | 142 | | |
138 | 143 | | |
139 | | - | |
140 | 144 | | |
141 | 145 | | |
| 146 | + | |
142 | 147 | | |
| 148 | + | |
143 | 149 | | |
| 150 | + | |
| 151 | + | |
144 | 152 | | |
145 | 153 | | |
146 | | - | |
147 | | - | |
148 | 154 | | |
149 | 155 | | |
150 | 156 | | |
| |||
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
| |||
118 | 121 | | |
119 | 122 | | |
120 | 123 | | |
| 124 | + | |
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
| 128 | + | |
124 | 129 | | |
125 | 130 | | |
126 | | - | |
| 131 | + | |
127 | 132 | | |
128 | | - | |
| 133 | + | |
129 | 134 | | |
130 | 135 | | |
131 | 136 | | |
132 | 137 | | |
133 | | - | |
134 | 138 | | |
135 | 139 | | |
| 140 | + | |
136 | 141 | | |
| 142 | + | |
137 | 143 | | |
| 144 | + | |
| 145 | + | |
138 | 146 | | |
139 | 147 | | |
140 | | - | |
141 | | - | |
142 | 148 | | |
143 | 149 | | |
144 | 150 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments