Releases: jcoreio/material-ui-popup-state
Releases · jcoreio/material-ui-popup-state
v5.0.1
5.0.1 (2022-12-12)
Bug Fixes
- bug with onMouseLeave/onBlur (438f507)
- issues with onMouseLeave/onBlur/toggle (3422a63)
- mjs import path issues (a783b67)
v5.0.0
5.0.0 (2022-12-12)
Bug Fixes
BREAKING CHANGES
- drop support for React < 16.8.0
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