forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support "empty" value in pickers' UX (mui#1770)
* Support empty dates for the DatePicker * Support empty dates for TimePicker * Support empty dates for mobile toobars * Support empty dates in YearSelection * Introduce `toolbarPlaceholder` prop for customization of empty date text * Add tests * Do not dispatch `changeFocusedDay` on each mount * Fix crashes when rendering empty date with luxon and moment * [TimePicker] Do not throw validation error if value={null} * Update props description for TimePicker validation props * Refactor ternary operator to aviod negatiation * Remove `defaultHighlight` prop
- Loading branch information
1 parent
cc7b04c
commit b87e674
Showing
28 changed files
with
372 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,26 @@ | ||
{ | ||
"build/dist/material-ui-pickers.esm.js": { | ||
"bundled": 190258, | ||
"minified": 102356, | ||
"gzipped": 26649, | ||
"bundled": 191749, | ||
"minified": 102786, | ||
"gzipped": 26840, | ||
"treeshaked": { | ||
"rollup": { | ||
"code": 83408, | ||
"code": 83738, | ||
"import_statements": 2121 | ||
}, | ||
"webpack": { | ||
"code": 92884 | ||
"code": 93230 | ||
} | ||
} | ||
}, | ||
"build/dist/material-ui-pickers.umd.js": { | ||
"bundled": 301162, | ||
"minified": 117618, | ||
"gzipped": 33567 | ||
"bundled": 302846, | ||
"minified": 118066, | ||
"gzipped": 33767 | ||
}, | ||
"build/dist/material-ui-pickers.umd.min.js": { | ||
"bundled": 260318, | ||
"minified": 108307, | ||
"gzipped": 30847 | ||
} | ||
} |
Oops, something went wrong.