-
Notifications
You must be signed in to change notification settings - Fork 832
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to Popper from Popover (#1850)
* Update deps * Migrate all pickers to popovers * Fix build errors * Update tests * Remove component related tests * Remove duplicated useGlobalKeydown for tooltip popover hooks * Fix eslint * Restore focus back to the last activeElement on close * Remove unused props * Do not call `.focus()` while popper is not completely open * Fix build issues and tests * Add description comment for .skip test * Fix review points * Fix PR review points * Rename mui component name of PickerPopper * Remove unused global Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com> * Back to MuiPickersPopper name Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com> * Use role to query date range picker fields * Fix build errors * Use popper onCreate callback to allow autofocus in calendar * Update lib/src/_shared/PickerPopper.tsx Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com> * Update lib/src/__tests__/DatePicker.test.tsx Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com> * Use inputRef as acnhorEl for Popper * Refer PR review points * Update lib/src/__tests__/DatePicker.test.tsx Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com> * Skip keyboard test on CI * Fix import from '@mateiral-ui/core' * Fix 'act' testing lib crashes * Update e2e/component/KeyboardNavigation.spec.tsx Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com> Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
- Loading branch information
1 parent
d74c02b
commit b62ce2a
Showing
33 changed files
with
735 additions
and
619 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
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
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,26 +1,26 @@ | ||
{ | ||
"material-ui-pickers.esm.js": { | ||
"bundled": 199554, | ||
"minified": 106790, | ||
"gzipped": 27475, | ||
"bundled": 202219, | ||
"minified": 107788, | ||
"gzipped": 27928, | ||
"treeshaked": { | ||
"rollup": { | ||
"code": 86534, | ||
"import_statements": 2123 | ||
"code": 87268, | ||
"import_statements": 2098 | ||
}, | ||
"webpack": { | ||
"code": 96137 | ||
"code": 97011 | ||
} | ||
} | ||
}, | ||
"material-ui-pickers.umd.js": { | ||
"bundled": 314914, | ||
"minified": 121594, | ||
"gzipped": 34397 | ||
"bundled": 317509, | ||
"minified": 122269, | ||
"gzipped": 34637 | ||
}, | ||
"material-ui-pickers.umd.min.js": { | ||
"bundled": 269976, | ||
"minified": 111766, | ||
"gzipped": 31581 | ||
"bundled": 272605, | ||
"minified": 112449, | ||
"gzipped": 31811 | ||
} | ||
} |
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
Oops, something went wrong.
b62ce2a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to following URLs: