Socket
Socket
Sign inDemoInstall

@jupyterlab/ui-components

Package Overview
Dependencies
Maintainers
34
Versions
310
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.0.0-beta.1 to 4.0.0-beta.2

14

lib/icon/labicon.d.ts

@@ -20,7 +20,7 @@ import { IRenderMime } from '@jupyterlab/rendermime-interfaces';

/**
* Resolve an icon name or a {name, svgstr} pair into an
* Resolve an icon name or a \{name, svgstr\} pair into an
* actual LabIcon.
*
* @param icon - either a string with the name of an existing icon
* or an object with {name: string, svgstr: string} fields.
* or an object with \{name: string, svgstr: string\} fields.
*

@@ -33,3 +33,3 @@ * @returns a LabIcon instance

/**
* Resolve an icon name or a {name, svgstr} pair into a DOM element.
* Resolve an icon name or a \{name, svgstr\} pair into a DOM element.
* If icon arg is undefined, the function will fall back to trying to render

@@ -41,3 +41,3 @@ * the icon as a CSS background image, via the iconClass arg.

* @param icon - optional, either a string with the name of an existing icon
* or an object with {name: string, svgstr: string} fields
* or an object with \{name: string, svgstr: string\} fields
*

@@ -57,3 +57,3 @@ * @param iconClass - optional, if the icon arg is not set, the iconClass arg

/**
* Resolve an icon name or a {name, svgstr} pair into a React component.
* Resolve an icon name or a \{name, svgstr\} pair into a React component.
* If icon arg is undefined, the function will fall back to trying to render

@@ -65,3 +65,3 @@ * the icon as a CSS background image, via the iconClass arg.

* @param icon - optional, either a string with the name of an existing icon
* or an object with {name: string, svgstr: string} fields
* or an object with \{name: string, svgstr: string\} fields
*

@@ -81,3 +81,3 @@ * @param iconClass - optional, if the icon arg is not set, the iconClass arg

/**
* Resolve a {name, svgstr} pair into an actual svg node.
* Resolve a \{name, svgstr\} pair into an actual svg node.
*/

@@ -84,0 +84,0 @@ static resolveSvg({ name, svgstr }: LabIcon.IIcon): HTMLElement | null;

@@ -34,7 +34,7 @@ // Copyright (c) Jupyter Development Team.

/**
* Resolve an icon name or a {name, svgstr} pair into an
* Resolve an icon name or a \{name, svgstr\} pair into an
* actual LabIcon.
*
* @param icon - either a string with the name of an existing icon
* or an object with {name: string, svgstr: string} fields.
* or an object with \{name: string, svgstr: string\} fields.
*

@@ -63,3 +63,3 @@ * @returns a LabIcon instance

}
// icon was provided as a non-LabIcon {name, svgstr} pair, communicating
// icon was provided as a non-LabIcon \{name, svgstr\} pair, communicating
// an intention to create a new icon

@@ -69,3 +69,3 @@ return new LabIcon(icon);

/**
* Resolve an icon name or a {name, svgstr} pair into a DOM element.
* Resolve an icon name or a \{name, svgstr\} pair into a DOM element.
* If icon arg is undefined, the function will fall back to trying to render

@@ -77,3 +77,3 @@ * the icon as a CSS background image, via the iconClass arg.

* @param icon - optional, either a string with the name of an existing icon
* or an object with {name: string, svgstr: string} fields
* or an object with \{name: string, svgstr: string\} fields
*

@@ -105,3 +105,3 @@ * @param iconClass - optional, if the icon arg is not set, the iconClass arg

/**
* Resolve an icon name or a {name, svgstr} pair into a React component.
* Resolve an icon name or a \{name, svgstr\} pair into a React component.
* If icon arg is undefined, the function will fall back to trying to render

@@ -113,3 +113,3 @@ * the icon as a CSS background image, via the iconClass arg.

* @param icon - optional, either a string with the name of an existing icon
* or an object with {name: string, svgstr: string} fields
* or an object with \{name: string, svgstr: string\} fields
*

@@ -142,3 +142,3 @@ * @param iconClass - optional, if the icon arg is not set, the iconClass arg

/**
* Resolve a {name, svgstr} pair into an actual svg node.
* Resolve a \{name, svgstr\} pair into an actual svg node.
*/

@@ -145,0 +145,0 @@ static resolveSvg({ name, svgstr }) {

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

*/
export const IFormRendererRegistry = new Token('@jupyterlab/ui-components:IFormRendererRegistry');
export const IFormRendererRegistry = new Token('@jupyterlab/ui-components:IFormRendererRegistry', 'A service for settings form renderer registration.');
/**
* The ILabIconManager token.
*/
export const ILabIconManager = new Token('@jupyterlab/ui-components:ILabIconManager');
export const ILabIconManager = new Token('@jupyterlab/ui-components:ILabIconManager', 'A service to register and request icons.');
//# sourceMappingURL=tokens.js.map
{
"name": "@jupyterlab/ui-components",
"version": "4.0.0-beta.1",
"version": "4.0.0-beta.2",
"description": "JupyterLab - UI components written in React",

@@ -39,21 +39,21 @@ "homepage": "https://github.com/jupyterlab/jupyterlab",

"test:cov": "jest --collect-coverage",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test:debug:watch": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
"test:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand",
"test:debug:watch": "node --inspect-brk ../../node_modules/.bin/jest --runInBand --watch",
"watch": "tsc -b --watch"
},
"dependencies": {
"@jupyterlab/coreutils": "^6.0.0-beta.1",
"@jupyterlab/observables": "^5.0.0-beta.1",
"@jupyterlab/rendermime-interfaces": "^3.8.0-beta.1",
"@jupyterlab/translation": "^4.0.0-beta.1",
"@jupyterlab/coreutils": "^6.0.0-beta.2",
"@jupyterlab/observables": "^5.0.0-beta.2",
"@jupyterlab/rendermime-interfaces": "^3.8.0-beta.2",
"@jupyterlab/translation": "^4.0.0-beta.2",
"@lumino/algorithm": "^2.0.0",
"@lumino/commands": "^2.0.1",
"@lumino/coreutils": "^2.0.0",
"@lumino/disposable": "^2.0.0",
"@lumino/commands": "^2.1.0",
"@lumino/coreutils": "^2.1.0",
"@lumino/disposable": "^2.1.0",
"@lumino/messaging": "^2.0.0",
"@lumino/polling": "^2.0.0",
"@lumino/polling": "^2.1.0",
"@lumino/properties": "^2.0.0",
"@lumino/signaling": "^2.0.0",
"@lumino/signaling": "^2.1.0",
"@lumino/virtualdom": "^2.0.0",
"@lumino/widgets": "^2.0.1",
"@lumino/widgets": "^2.1.0",
"@rjsf/core": "^5.1.0",

@@ -66,3 +66,3 @@ "@rjsf/utils": "^5.1.0",

"devDependencies": {
"@jupyterlab/testing": "^4.0.0-beta.1",
"@jupyterlab/testing": "^4.0.0-beta.2",
"@types/jest": "^29.2.0",

@@ -73,4 +73,4 @@ "@types/react": "^18.0.26",

"svgo": "^3.0.1",
"typedoc": "~0.23.25",
"typescript": "~5.0.2"
"typedoc": "~0.24.1",
"typescript": "~5.0.4"
},

@@ -77,0 +77,0 @@ "peerDependencies": {

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

export const IFormRendererRegistry = new Token<IFormRendererRegistry>(
'@jupyterlab/ui-components:IFormRendererRegistry'
'@jupyterlab/ui-components:IFormRendererRegistry',
'A service for settings form renderer registration.'
);

@@ -68,3 +69,4 @@

export const ILabIconManager = new Token<ILabIconManager>(
'@jupyterlab/ui-components:ILabIconManager'
'@jupyterlab/ui-components:ILabIconManager',
'A service to register and request icons.'
);

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc