Dock tabs context menu (#1863)

* Adding context menu to dock tabs

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Allowing to open menu by contextmenu event

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding DockTab tests with fine-tuning jest config

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Adding disable state to menu items

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Removing empty lines

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

* Moving jest-canvas-mock to dev dependencies

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2020-12-28 15:18:03 +03:00
1 parent a325ffd610
commit 5d746cdff5
11 files changed
+337 -49

No files matched your search

+1
View File
@@ -51,6 +51,7 @@ export class Tabs extends React.PureComponent<TabsProps> {
}
export interface TabProps<D = any> extends DOMAttributes<HTMLElement> {
id?: string;
className?: string;
active?: boolean;
disabled?: boolean;