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" on Button by default (574e2a9)

    ๐Ÿ”‹ Features

    • โž• Add unstable_animated option to useHiddenState and its derivatives (#370) (4ba7f61)
    • Enable conditional render on Hidden components with render props (#371) (70322c2)
    • โœ‚ Remove z-index and extra styles from Dialog and DialogBackdrop (#372) (5edd0d8), closes #366

    ๐Ÿ’ฅ BREAKING CHANGES

    • โœ‚ Removed extra styles from Dialog and DialogBackdrop and all their derivative components. Also removed default z-index from Tooltip. These styles have been moved to the reakit-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 }} />