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 with tabIndex={0} not being included in the tab order (#426) (bfb1d05)
    • ๐Ÿ›  Fix FormSubmitButton ignoring disabled prop (#439) (bbfdfdd), closes #437

    ๐Ÿ”‹ Features

    ๐Ÿ’ฅ BREAKING CHANGES

    • StaticMenu has been replaced by MenuBar.

    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} />;