@jupyterlab/ui-components
Advanced tools
Comparing version 4.2.0-rc.0 to 4.2.0
@@ -696,5 +696,7 @@ // Copyright (c) Jupyter Development Team. | ||
}; | ||
const title = getTooltip(); | ||
const disabled = props.enabled === false; | ||
return (React.createElement(Button, { appearance: "stealth", className: props.className | ||
? props.className + ' jp-ToolbarButtonComponent' | ||
: 'jp-ToolbarButtonComponent', "aria-pressed": props.pressed, "aria-disabled": props.enabled === false, ...props.dataset, disabled: props.enabled === false, onClick: handleClick, onMouseDown: handleMouseDown, onKeyDown: handleKeyDown, title: getTooltip(), minimal: true }, | ||
: 'jp-ToolbarButtonComponent', "aria-disabled": disabled, "aria-label": props.label || title, "aria-pressed": props.pressed, ...props.dataset, disabled: disabled, onClick: handleClick, onMouseDown: handleMouseDown, onKeyDown: handleKeyDown, title: title, minimal: true }, | ||
(props.icon || props.iconClass) && (React.createElement(LabIcon.resolveReact, { icon: props.pressed ? (_b = props.pressedIcon) !== null && _b !== void 0 ? _b : props.icon : props.icon, iconClass: | ||
@@ -701,0 +703,0 @@ // add some extra classes for proper support of icons-as-css-background |
{ | ||
"name": "@jupyterlab/ui-components", | ||
"version": "4.2.0-rc.0", | ||
"version": "4.2.0", | ||
"description": "JupyterLab - UI components written in React", | ||
@@ -45,6 +45,6 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"@jupyter/web-components": "^0.15.3", | ||
"@jupyterlab/coreutils": "^6.2.0-rc.0", | ||
"@jupyterlab/observables": "^5.2.0-rc.0", | ||
"@jupyterlab/rendermime-interfaces": "^3.10.0-rc.0", | ||
"@jupyterlab/translation": "^4.2.0-rc.0", | ||
"@jupyterlab/coreutils": "^6.2.0", | ||
"@jupyterlab/observables": "^5.2.0", | ||
"@jupyterlab/rendermime-interfaces": "^3.10.0", | ||
"@jupyterlab/translation": "^4.2.0", | ||
"@lumino/algorithm": "^2.0.1", | ||
@@ -67,3 +67,3 @@ "@lumino/commands": "^2.3.0", | ||
"devDependencies": { | ||
"@jupyterlab/testing": "^4.2.0-rc.0", | ||
"@jupyterlab/testing": "^4.2.0", | ||
"@types/jest": "^29.2.0", | ||
@@ -70,0 +70,0 @@ "@types/react": "^18.0.26", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
929798
19938
0