Releases: jcoreio/material-ui-popup-state
Releases · jcoreio/material-ui-popup-state
v4.1.0
4.1.0 (2022-09-22)
Features
v4.0.2
4.0.2 (2022-08-09)
Bug Fixes
v4.0.1
4.0.1 (2022-07-03)
Bug Fixes
v4.0.0
4.0.0 (2022-07-02)
Bug Fixes
- use contextmenu event location in bindMenu/bindPopover (3c1230f), closes #97
BREAKING CHANGES
- The position of
<Menu {...bindMenu(popupState)}>
and <Popover {...bindPopover(popupState)}>
has changed if you are
using bindContextMenu
. Before, they would be positioned to the
event target element (using anchorEl
). Now they will be positioned
to the event location (using anchorPosition
).
To restore the previous behavior, pass anchorReference="anchorEl"
after
bindMenu
/bindPopover
. For example, <Menu {...bindMenu(popupState)} anchorReference="anchorEl">
.
v3.1.1
3.1.1 (2022-05-13)
Bug Fixes
- move @mui/styles and @mui/icons-material to devDependencies (b60352c)
v3.1.0
3.1.0 (2022-05-12)
Bug Fixes
- allow react@^18.0.0 as peer dep (6728254)
Features
- add variant: 'dialog' and bindDialog (e7ee393), closes #90
v3.0.0
3.0.0 (2022-05-11)
Features
BREAKING CHANGES
- package.json now uses conditional exports, so
/es/
imports are gone.
Now you can import { ... } from 'material-ui-popup-state/hooks'
instead of 'material-ui-popup-state/es/hooks'
.
v2.0.1
2.0.1 (2022-05-02)
Bug Fixes
- make bindHover/bindFocus work correctly together (f7172be), closes #102
v2.0.0
2.0.0 (2021-10-20)
Bug Fixes
- upgrade to MUI v5 prod release (db78c2e)
Features
BREAKING CHANGES
- MUI v4 is no longer supported
v2.0.0-beta.1
Features
BREAKING CHANGES
- MUI v4 is no longer supported