UNPKG

2.08 kBJavaScriptView Raw
1// Copyright (c) Jupyter Development Team.
2// Distributed under the terms of the Modified BSD License.
3/**
4 * @packageDocumentation
5 * @module apputils
6 */
7import { Toolbar as UIToolbar } from '@jupyterlab/ui-components';
8import { Toolbar as ApputilsToolbar } from './toolbar';
9/**
10 * @deprecated since v4
11 * These widgets are now in @jupyterlab/ui-components
12 */
13export { addCommandToolbarButtonClass, addToolbarButtonClass, Collapser as Collapse, CommandToolbarButton, CommandToolbarButtonComponent, IFrame, HoverBox, ReactWidget, Spinner, Styling, ToolbarButton, ToolbarButtonComponent, UseSignal, VDomModel, VDomRenderer } from '@jupyterlab/ui-components';
14export * from './clipboard';
15export * from './commandlinker';
16export * from './commandpalette';
17export * from './dialog';
18export * from './domutils';
19export * from './inputdialog';
20export * from './kernelstatuses';
21export * from './mainareawidget';
22export * from './menufactory';
23export * from './notification';
24export * from './printing';
25export * from './runningSessions';
26export * from './sanitizer';
27export * from './semanticCommand';
28export * from './sessioncontext';
29export * from './thememanager';
30export * from './tokens';
31export { ToolbarWidgetRegistry, createDefaultFactory, createToolbarFactory, setToolbar } from './toolbar';
32export * from './widgettracker';
33export * from './windowresolver';
34// Merge Toolbar namespace to preserve API
35/**
36 * @deprecated since v4
37 * This class is in @jupyterlab/ui-components
38 */
39export class Toolbar extends UIToolbar {
40}
41(function (Toolbar) {
42 Toolbar.createInterruptButton = ApputilsToolbar.createInterruptButton;
43 Toolbar.createKernelNameItem = ApputilsToolbar.createKernelNameItem;
44 Toolbar.createKernelStatusItem = ApputilsToolbar.createKernelStatusItem;
45 Toolbar.createRestartButton = ApputilsToolbar.createRestartButton;
46 /**
47 * @deprecated since v4
48 * This helper function is in @jupyterlab/ui-components
49 */
50 Toolbar.createSpacerItem = UIToolbar.createSpacerItem;
51})(Toolbar || (Toolbar = {}));
52//# sourceMappingURL=index.js.map
\No newline at end of file