@jupyterlab/ui-components
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -324,2 +324,6 @@ import { ITranslator } from '@jupyterlab/translation'; | ||
label?: string; | ||
/** | ||
* Overrides command caption | ||
*/ | ||
caption?: string; | ||
} | ||
@@ -326,0 +330,0 @@ } |
@@ -818,3 +818,3 @@ // Copyright (c) Jupyter Development Team. | ||
function propsFromCommand(options) { | ||
var _a, _b; | ||
var _a, _b, _c; | ||
const { commands, id, args } = options; | ||
@@ -849,6 +849,6 @@ const iconClass = commands.iconClass(id, args); | ||
iconClass, | ||
tooltip, | ||
tooltip: (_b = options.caption) !== null && _b !== void 0 ? _b : tooltip, | ||
onClick, | ||
enabled, | ||
label: (_b = options.label) !== null && _b !== void 0 ? _b : label | ||
label: (_c = options.label) !== null && _c !== void 0 ? _c : label | ||
}; | ||
@@ -855,0 +855,0 @@ } |
{ | ||
"name": "@jupyterlab/ui-components", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "JupyterLab - UI components written in React", | ||
@@ -44,6 +44,6 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"dependencies": { | ||
"@jupyterlab/coreutils": "^6.0.3", | ||
"@jupyterlab/observables": "^5.0.3", | ||
"@jupyterlab/rendermime-interfaces": "^3.8.3", | ||
"@jupyterlab/translation": "^4.0.3", | ||
"@jupyterlab/coreutils": "^6.0.4", | ||
"@jupyterlab/observables": "^5.0.4", | ||
"@jupyterlab/rendermime-interfaces": "^3.8.4", | ||
"@jupyterlab/translation": "^4.0.4", | ||
"@lumino/algorithm": "^2.0.0", | ||
@@ -66,3 +66,3 @@ "@lumino/commands": "^2.1.1", | ||
"devDependencies": { | ||
"@jupyterlab/testing": "^4.0.3", | ||
"@jupyterlab/testing": "^4.0.4", | ||
"@types/jest": "^29.2.0", | ||
@@ -69,0 +69,0 @@ "@types/react": "^18.0.26", |
@@ -948,4 +948,4 @@ /* | ||
this._resizeObserver.observe(widget.node); | ||
widget.disposed.connect(() => | ||
this._resizeObserver?.unobserve(widget.node) | ||
widget.disposed.connect( | ||
() => this._resizeObserver?.unobserve(widget.node) | ||
); | ||
@@ -999,4 +999,4 @@ } | ||
this._resizeObserver.observe(item.node); | ||
item.disposed.connect(() => | ||
this._resizeObserver?.unobserve(item.node) | ||
item.disposed.connect( | ||
() => this._resizeObserver?.unobserve(item.node) | ||
); | ||
@@ -1003,0 +1003,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
829465
17881