reakit v1.0.0-beta.7 Release Notes
Release Date: 2019-09-19 // over 4 years ago-
๐ Bug Fixes
- ๐ Fix
Dialog
initial focus (#433) (a0916c7) - ๐ Fix
Dialog
withtabIndex={0}
not being included in the tab order (#426) (bfb1d05) - ๐ Fix
FormSubmitButton
ignoringdisabled
prop (#439) (bbfdfdd), closes #437
๐ Features
- Accept multiple
DialogDisclosure
s for a singleDialog
(#427) (0cb7432) - โ Add
MenuBar
component (#436) (3d13c33) - Export
PortalContext
(#431) (c5a780a), closes #428
๐ฅ BREAKING CHANGES
StaticMenu
has been replaced byMenuBar
.
Before:
import { useMenuState, StaticMenu } from "reakit/Menu"; const menu = useMenuState(); <StaticMenu {...menu} />;
After:
import { useMenuBarState, MenuBar } from "reakit/Menu"; const menuBar = useMenuBarState(); // useMenuState can be used here as well <MenuBar {...menuBar} />;
- ๐ Fix