Skip to content

Releases: szhsin/react-menu

v3.1.0

08 Jun 15:12
432ff13
Compare
Choose a tag to compare
  • Allow menu to render into a specified DOM node via portal (#543)

v3.0.2

23 May 11:28
82a4bd9
Compare
Choose a tag to compare
  • Keep submenu open in the same direction before reversing until it reaches view boundary (#527)

v3.0.1

29 Apr 13:38
5709b69
Compare
Choose a tag to compare
  • Fix SSR errors when rendering menu via portal (#507)
  • Log console instead of throwing errors for positioning warning (#506)
  • Fix incompatible children type definition (#504)

v3.0.0

06 Mar 13:31
7d56187
Compare
Choose a tag to compare
  • Upgrade to use the new JSX transform (#440)
  • Use JS default arguments instead of defaultProps on components (#438)
  • Removed active state to reduce bundle size (#435)
  • Removed styles prop from all component to reduce bundle size (#434)
  • Improved keyboard navigation implementation (#432)
  • Small API refactor and bug fixes (#437)

NOTE: this is a major release with breaking changes. Manual intervention might be required during updates.
Please check out this migration guide.

v2.3.4

07 Feb 10:50
2fbfb77
Compare
Choose a tag to compare
  • Stop onClick event propagation and remove tabIndex on disabled menu items (#414)

v2.3.3

23 Jan 08:59
2b6b9d8
Compare
Choose a tag to compare

v2.3.2

09 Jan 12:18
299e90f
Compare
Choose a tag to compare
  • This release makes the library compatible with React 18 new root API and concurrent features. (#387)
  • It has met the level 3 of concurrent rendering support described in reactwg/react-18#70
  • The improvements in this release are also recommended for React 16 or 17 users.

v2.3.1

31 Dec 10:42
a2b20a9
Compare
Choose a tag to compare

Add JSDoc comments for type definitions (#376)

v2.3.0

14 Nov 12:35
1eee31d
Compare
Choose a tag to compare
  • Create style-utils which helps easily write CSS selectors when working with CSS-in-JS (#325)
  • Add openTrigger prop on SubMenu (#327)

v2.2.0

27 Oct 07:44
72edd3d
Compare
Choose a tag to compare
  • Optimise npm package to improve tree shaking capability (#308)
    In most case, this release will result in a reduction in bundle size for your production build.