-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Unify OnElementClick and NavItem enums to one enum * Revise exports from index.ts and also export NavItem type * Rename NavItem to NavElement * When clicking a project menu item close the menu * move all useState calls in Menu into one location * Add remaining activeNav values * add changeset
- Loading branch information
Showing
12 changed files
with
90 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@leafygreen-ui/mongo-nav': minor | ||
--- | ||
|
||
Add remaining activeNav values. Unify OnElementClick into NavElement. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import MongoNav from './MongoNav'; | ||
import { orgNavHeight } from './org-nav/index'; | ||
import { projectNavHeight } from './project-nav/index'; | ||
import UserMenu from './user-menu/index'; | ||
export { default } from './MongoNav'; | ||
|
||
export { UserMenu, orgNavHeight, projectNavHeight }; | ||
export default MongoNav; | ||
export { default as UserMenu } from './user-menu/index'; | ||
|
||
export { NavElement } from './types'; | ||
export { orgNavHeight } from './org-nav/index'; | ||
export { projectNavHeight } from './project-nav/index'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.