Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@jupyterlab/ui-components

Package Overview
Dependencies
Maintainers
8
Versions
363
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/ui-components - npm Package Compare versions

Comparing version
4.5.1
to
4.6.0-alpha.0
+1
-1
lib/components/toolbar.d.ts

@@ -261,3 +261,3 @@ import { ITranslator } from '@jupyterlab/translation';

tooltip?: string;
onClick?: () => void;
onClick?: (event?: React.SyntheticEvent) => void;
enabled?: boolean;

@@ -264,0 +264,0 @@ pressed?: boolean;

@@ -666,3 +666,3 @@ // Copyright (c) Jupyter Development Team.

if (event.button === 0) {
(_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props);
(_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props, event);
// In safari, the focus do not move to the button on click (see

@@ -683,3 +683,3 @@ // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus).

event.preventDefault();
(_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props);
(_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props, event);
}

@@ -692,3 +692,3 @@ }

if (key === 'Enter' || key === ' ') {
(_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props);
(_a = props.onClick) === null || _a === void 0 ? void 0 : _a.call(props, event);
}

@@ -949,3 +949,4 @@ };

icon: ellipsesIcon,
onClick: () => {
onClick: event => {
event === null || event === void 0 ? void 0 : event.preventDefault();
this.handleClick();

@@ -952,0 +953,0 @@ },

{
"name": "@jupyterlab/ui-components",
"version": "4.5.1",
"version": "4.6.0-alpha.0",
"description": "JupyterLab - UI components written in React",

@@ -45,6 +45,6 @@ "homepage": "https://github.com/jupyterlab/jupyterlab",

"@jupyter/web-components": "^0.16.6",
"@jupyterlab/coreutils": "^6.5.1",
"@jupyterlab/observables": "^5.5.1",
"@jupyterlab/rendermime-interfaces": "^3.13.1",
"@jupyterlab/translation": "^4.5.1",
"@jupyterlab/coreutils": "^6.6.0-alpha.0",
"@jupyterlab/observables": "^5.6.0-alpha.0",
"@jupyterlab/rendermime-interfaces": "^3.14.0-alpha.0",
"@jupyterlab/translation": "^4.6.0-alpha.0",
"@lumino/algorithm": "^2.0.4",

@@ -67,3 +67,3 @@ "@lumino/commands": "^2.3.3",

"devDependencies": {
"@jupyterlab/testing": "^4.5.1",
"@jupyterlab/testing": "^4.6.0-alpha.0",
"@types/jest": "^29.2.0",

@@ -70,0 +70,0 @@ "@types/react": "^18.0.26",

@@ -793,3 +793,3 @@ // Copyright (c) Jupyter Development Team.

tooltip?: string;
onClick?: () => void;
onClick?: (event?: React.SyntheticEvent) => void;
enabled?: boolean;

@@ -829,3 +829,3 @@ pressed?: boolean;

if (event.button === 0) {
props.onClick?.();
props.onClick?.(event);
// In safari, the focus do not move to the button on click (see

@@ -847,3 +847,3 @@ // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#Clicking_and_focus).

event.preventDefault();
props.onClick?.();
props.onClick?.(event);
}

@@ -856,3 +856,3 @@ }

if (key === 'Enter' || key === ' ') {
props.onClick?.();
props.onClick?.(event);
}

@@ -1234,3 +1234,4 @@ };

icon: ellipsesIcon,
onClick: () => {
onClick: event => {
event?.preventDefault();
this.handleClick();

@@ -1237,0 +1238,0 @@ },

Sorry, the diff of this file is not supported yet