Skip to content

Releases: jcoreio/material-ui-popup-state

v5.0.1

12 Dec 20:27
Compare
Choose a tag to compare

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

12 Dec 17:21
Compare
Choose a tag to compare

5.0.0 (2022-12-12)

Bug Fixes

BREAKING CHANGES

  • drop support for React < 16.8.0

v4.1.0

22 Sep 20:11
ca579b4
Compare
Choose a tag to compare

4.1.0 (2022-09-22)

Features

v4.0.2

09 Aug 16:19
Compare
Choose a tag to compare

4.0.2 (2022-08-09)

Bug Fixes

  • TypeScript types for bindHover (032f097), closes #109

v4.0.1

03 Jul 01:24
Compare
Choose a tag to compare

4.0.1 (2022-07-03)

Bug Fixes

v4.0.0

02 Jul 16:18
Compare
Choose a tag to compare

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

13 May 01:10
Compare
Choose a tag to compare

3.1.1 (2022-05-13)

Bug Fixes

  • move @mui/styles and @mui/icons-material to devDependencies (b60352c)

v3.1.0

12 May 18:07
Compare
Choose a tag to compare

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

11 May 16:00
Compare
Choose a tag to compare

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

02 May 16:28
Compare
Choose a tag to compare

2.0.1 (2022-05-02)

Bug Fixes

  • make bindHover/bindFocus work correctly together (f7172be), closes #102