@jupyterlab/running
Advanced tools
Comparing version 2.0.0-beta.3 to 2.0.0-rc.0
@@ -6,3 +6,3 @@ /// <reference types="react" /> | ||
import { ReactWidget } from '@jupyterlab/apputils'; | ||
import { JLIcon } from '@jupyterlab/ui-components'; | ||
import { LabIcon } from '@jupyterlab/ui-components'; | ||
/** | ||
@@ -73,3 +73,3 @@ * The running sessions token. | ||
shutdown: () => void; | ||
iconRenderer: () => JLIcon; | ||
icon: () => LabIcon; | ||
label: () => string; | ||
@@ -76,0 +76,0 @@ labelTitle?: () => string; |
@@ -77,3 +77,3 @@ // Copyright (c) Jupyter Development Team. | ||
const { runningItem } = props; | ||
const icon = runningItem.iconRenderer(); | ||
const icon = runningItem.icon(); | ||
return (React.createElement("li", { className: ITEM_CLASS }, | ||
@@ -116,3 +116,3 @@ React.createElement(icon.react, { tag: "span", justify: "center", kind: "runningItem" }), | ||
" Sessions"), | ||
React.createElement(ToolbarButtonComponent, { iconRenderer: closeIcon, onClick: onShutdown, tooltip: `Shut Down All ${props.manager.name} Sessions…` })), | ||
React.createElement(ToolbarButtonComponent, { icon: closeIcon, onClick: onShutdown, tooltip: `Shut Down All ${props.manager.name} Sessions…` })), | ||
React.createElement("div", { className: CONTAINER_CLASS }, | ||
@@ -124,3 +124,3 @@ React.createElement(List, { manager: props.manager }))))); | ||
React.createElement("div", { className: HEADER_CLASS }, | ||
React.createElement(ToolbarButtonComponent, { tooltip: "Refresh List", iconRenderer: refreshIcon, onClick: () => props.managers.items().forEach(manager => manager.refreshRunning()) })), | ||
React.createElement(ToolbarButtonComponent, { tooltip: "Refresh List", icon: refreshIcon, onClick: () => props.managers.items().forEach(manager => manager.refreshRunning()) })), | ||
props.managers.items().map(manager => (React.createElement(Section, { key: manager.name, manager: manager }))))); | ||
@@ -127,0 +127,0 @@ } |
{ | ||
"name": "@jupyterlab/running", | ||
"version": "2.0.0-beta.3", | ||
"version": "2.0.0-rc.0", | ||
"description": "JupyterLab - Running Sessions Panel", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"dependencies": { | ||
"@jupyterlab/apputils": "^2.0.0-beta.3", | ||
"@jupyterlab/ui-components": "^2.0.0-beta.3", | ||
"@jupyterlab/apputils": "^2.0.0-rc.0", | ||
"@jupyterlab/ui-components": "^2.0.0-rc.0", | ||
"@lumino/coreutils": "^1.4.2", | ||
@@ -54,3 +54,3 @@ "@lumino/disposable": "^1.3.4", | ||
}, | ||
"gitHead": "76b4bca5bd1c02ee0f8afa44f0f258f43e14db36" | ||
"gitHead": "72e24ce980fe3650f6839bab704ff80b7ea6ee9d" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18093