-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit b74aeec.
- Loading branch information
1 parent
b74aeec
commit c6d661e
Showing
19 changed files
with
128 additions
and
407 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Descendant } from '@leafygreen-ui/descendants'; | ||
import { Theme } from '@leafygreen-ui/lib'; | ||
|
||
import { HighlightReducerReturnType } from '../HighlightReducer/highlight.types'; | ||
|
||
export interface MenuContextData { | ||
theme: Theme; | ||
darkMode: boolean; | ||
|
||
/** The index of the currently highlighted (focused) item */ | ||
// highlightIndex?: number; | ||
highlight?: Descendant; | ||
|
||
setHighlight?: HighlightReducerReturnType['setHighlight']; | ||
|
||
/** Whether to a dark menu in light mode */ | ||
renderDarkMenu?: boolean; | ||
} |
This file was deleted.
Oops, something went wrong.
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,18 +1,5 @@ | ||
export { | ||
type MenuGroupContext, | ||
MenuGroupContextData, | ||
MenuGroupProvider, | ||
useMenuGroupContext, | ||
} from './GroupContext'; | ||
export { | ||
MenuContext, | ||
type MenuContextData, | ||
default as MenuContext, | ||
MenuDescendantsContext, | ||
useMenuContext, | ||
} from './MenuContext'; | ||
export { | ||
SubMenuContext, | ||
type SubMenuContextData, | ||
SubMenuProvider, | ||
useSubMenuContext, | ||
} from './SubMenuContext'; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.