Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Piyush Jain committed Sep 29, 2021
1 parent c4d1f7b commit 6bfadb6
Show file tree
Hide file tree
Showing 10 changed files with 516 additions and 293 deletions.
1 change: 1 addition & 0 deletions packages/apputils/package.json
Expand Up @@ -58,6 +58,7 @@
"@lumino/disposable": "^1.4.3",
"@lumino/domutils": "^1.2.3",
"@lumino/messaging": "^1.4.3",
"@lumino/polling": "^1.3.3",
"@lumino/properties": "^1.2.3",
"@lumino/signaling": "^1.4.3",
"@lumino/virtualdom": "^1.8.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/apputils/src/mainareawidget.ts
Expand Up @@ -7,7 +7,7 @@ import { BoxLayout, BoxPanel, Widget } from '@lumino/widgets';
import { DOMUtils } from './domutils';
import { Printing } from './printing';
import { Spinner } from './spinner';
import { Toolbar } from './toolbar';
import { ReactiveToolbar, Toolbar } from './toolbar';

/**
* A widget meant to be contained in the JupyterLab main area.
Expand Down Expand Up @@ -40,7 +40,7 @@ export class MainAreaWidget<T extends Widget = Widget>
const content = (this._content = options.content);
content.node.setAttribute('role', 'region');
content.node.setAttribute('aria-label', trans.__('notebook content'));
const toolbar = (this._toolbar = options.toolbar || new Toolbar());
const toolbar = (this._toolbar = options.toolbar || new ReactiveToolbar());
toolbar.node.setAttribute('role', 'navigation');
toolbar.node.setAttribute('aria-label', trans.__('notebook actions'));
const contentHeader = (this._contentHeader =
Expand Down

0 comments on commit 6bfadb6

Please sign in to comment.