-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
681 additions
and
510 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
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
10 changes: 4 additions & 6 deletions
10
browser/data-browser/src/components/ResourceContextMenu/MenuBarDropdownTrigger.tsx
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,24 +1,22 @@ | ||
import { ButtonBar } from '../Button'; | ||
import { FaEllipsisV } from 'react-icons/fa'; | ||
import { DropdownTriggerRenderFunction } from '../Dropdown/DropdownTrigger'; | ||
import { shortcuts } from '../HotKeyWrapper'; | ||
import { IconButton } from '../IconButton/IconButton'; | ||
|
||
export const MenuBarDropdownTrigger: DropdownTriggerRenderFunction = ( | ||
{ onClick, isActive, menuId }, | ||
{ onClick, menuId }, | ||
ref, | ||
) => ( | ||
<ButtonBar | ||
<IconButton | ||
aria-controls={menuId} | ||
selected={isActive} | ||
ref={ref} | ||
title={`Open menu (${shortcuts.menu})`} | ||
type='button' | ||
data-test='context-menu' | ||
onClick={onClick} | ||
rightPadding | ||
> | ||
<FaEllipsisV /> | ||
</ButtonBar> | ||
</IconButton> | ||
); | ||
|
||
MenuBarDropdownTrigger.displayName = 'MenuBarDropdownTrigger'; |
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,2 +1,3 @@ | ||
export const MAIN_CONTAINER = 'main'; | ||
export const ALL_PROPS_CONTAINER = 'all-props'; | ||
export const CARD_CONTAINER = 'card'; |
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.