npm zeego 1.0.0
v1: ContextMenu, Sub, 🎉

latest releases: 3.0.6, 3.0.5, 3.0.4...
2 years ago

First off, thank you all for trying this out so far.

v1 is finally here!

yarn add zeego

Breaking changes

  • menuify will get renamed to create to potentially accommodate future components, such as Popover / Tooltip 🫣

Submenu change (BREAKING)

Zeego 1.0 Upgrades to v2 of Radix's Dropdown and Context Menus. Both of these have a new API for creating submenus. Rather than using a nested Root with TriggerItem, it's now a Sub with a SubTrigger:

<DropdownMenu.Sub>
  <DropdownMenu.SubTrigger />
  <DropdownMenu.SubContent />
</DropdownMenu.Sub>

This is a breaking change and will be supported in Zeego v1 without backwards compatibility. If you aren't using submenus, this doesn't pertain to you.

An easy way to find if this affects you is to search TriggerItem in your code.

Don't miss a new zeego release

NewReleases is sending notifications on new releases.