reakit v1.0.0-beta.2 Release Notes
Release Date: 2019-06-01 // almost 5 years ago-
๐ Bug Fixes
- ๐ Fix
Checkbox
toggling twice on space bar key on Firefox (#369) (27e9b63), closes #368 - โ Remove
async
/await
so users don't need regenerator-runtime (#365) (9c6d41a) - 0๏ธโฃ Stop adding
role="button"
onButton
by default (574e2a9)
๐ Features
- โ Add
unstable_animated
option touseHiddenState
and its derivatives (#370) (4ba7f61) - Enable conditional render on
Hidden
components with render props (#371) (70322c2) - โ Remove z-index and extra styles from
Dialog
andDialogBackdrop
(#372) (5edd0d8), closes #366
๐ฅ BREAKING CHANGES
- โ Removed extra styles from
Dialog
andDialogBackdrop
and all their derivative components. Also removed defaultz-index
fromTooltip
. These styles have been moved to thereakit-system-bootstrap
package. If you're not using this system package, you should apply the styles manually.
Before:
<DialogBackdrop /> <Dialog /> <Popover /> <Menu /> <Tooltip />
After:
<DialogBackdrop style={{ position: "fixed", top: 0, right: 0, bottom: 0, left: 0, zIndex: 998 }} /> <Dialog style={{ zIndex: 999 }} /> <Popover style={{ zIndex: 999 }} /> <Menu style={{ zIndex: 999 }} /> <Tooltip style={{ zIndex: 999 }} />
- ๐ Fix