[For Review] Menu/Popover/IconMenu/Dialog Portal updates#1845
[For Review] Menu/Popover/IconMenu/Dialog Portal updates#1845chrismcv wants to merge 3 commits intomui:masterfrom
Conversation
docs/src/app/app-routes.jsx
Outdated
|
Updated PR:
|
b7ff8ac to
201dfc1
Compare
|
I've updated this PR - lots of changes....
Updated the following components to use it
It'd be great if review + merge process could start? |
158f189 to
d3d46d1
Compare
src/text-field.jsx
Outdated
|
@chrismcv are you still having the warnings regarding @oliviertassinari seems like you have reviewed this a little. Is it merge-ready? |
|
v14 has sorted context issues happily. I removed the initial context hacks that I had in for v13. I think the changes here are significant, and technically, they are just about there now. There are a few more docs changes I think we should put in. (And at least one fix to docs site "customisation section"). I've made dialog have an The Dropdown/Icon Menu transitions are subtly different from previous. The bit I'd like you to look at is the interface for position the popover. I've introduced My nested menu support is a little rudimentary, its currently missing some keyboard support - but this seems partly true of the new menus stuff in general. |
|
@shaurya947 not yet |
|
@shaurya947 I've landed on something very similar to #1996, bar my property is called |
|
@chrismcv we're slightly short of a final agreement on that. Should reach a conclusion soon hopefully! :-) |
There was a problem hiding this comment.
Do we need those imperative methods? I would rather avoid them.
|
@chrismcv There is a lot in this PR. Can't we split this into independent bit? |
|
@oliviertassinari - yes I agree. Does the following make sense (1+2 being dependencies for 3+4)
|
|
@chrismcv is this PR stale then? Are you going to close it? |
|
closing for now - more to follow |
* Change component name from MuiPickers to MuiPicker * Name root classnames "root" * Use pseudo-classes for disabled styling * Remove useless yearDisabled class * Update demo and typescript tests for overrides * Repalce MuiPicker with MuiPickers * Consolidate right component display name with mui component name * Update index.ts reexports to match component display names * Remove useless parameter * Fix docs example * Fix override example tsc * Use pseudo-classes for selected and disabled, closes mui#1845 * Address PR feedback * Update lib/src/Picker/Picker.tsx Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com> * Update lib/src/views/Clock/Clock.tsx Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com> * Make more convenient css classes names * Remove today border from selected day * Remove useless comment * Update tests * Fix global overrid of Mui-selected and Mui-disabled classes * Use theme.palette.secondary instead of hint * Fix linter * Fix incorrect package prefix Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
This PR
a) currently breaks dialogs
b) introduces a component
Popoverwhich is an arbitrary control that shows a popup menu, eitheronClickor onprops.open = true.c) Popover component wraps menu in IconMenu - nearly transparently.
d) Popover renders to a new DOM Tree, and in theory context should transfer for React@0.13
e) Dialog renders into new tree, but has issues that I'll sort shortly...