@jupyterlab/statusbar 4.4.4 → 4.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,6 +6,8 @@ import * as React from 'react';
6
6
  */
7
7
  export function TextItem(props) {
8
8
  const { title, source, className, ...rest } = props;
9
- return (React.createElement("span", { className: `jp-StatusBar-TextItem ${className}`, title: title, ...rest }, source));
9
+ return (React.createElement("span", { className: className
10
+ ? `jp-StatusBar-TextItem ${className}`
11
+ : 'jp-StatusBar-TextItem', title: title, ...rest }, source));
10
12
  }
11
13
  //# sourceMappingURL=text.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.js","sourceRoot":"","sources":["../../src/components/text.tsx"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsB/B;;GAEG;AACH,MAAM,UAAU,QAAQ,CACtB,KAA8D;IAE9D,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IACpD,OAAO,CACL,8BACE,SAAS,EAAE,yBAAyB,SAAS,EAAE,EAC/C,KAAK,EAAE,KAAK,KACR,IAAI,IAEP,MAAM,CACF,CACR,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"text.js","sourceRoot":"","sources":["../../src/components/text.tsx"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,2DAA2D;AAE3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsB/B;;GAEG;AACH,MAAM,UAAU,QAAQ,CACtB,KAA8D;IAE9D,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IACpD,OAAO,CACL,8BACE,SAAS,EACP,SAAS;YACP,CAAC,CAAC,yBAAyB,SAAS,EAAE;YACtC,CAAC,CAAC,uBAAuB,EAE7B,KAAK,EAAE,KAAK,KACR,IAAI,IAEP,MAAM,CACF,CACR,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/statusbar",
3
- "version": "4.4.4",
3
+ "version": "4.4.5",
4
4
  "description": "JupyterLab statusbar package.",
5
5
  "homepage": "https://github.com/jupyterlab/jupyterlab",
6
6
  "bugs": {
@@ -36,7 +36,7 @@
36
36
  "watch": "tsc -b --watch"
37
37
  },
38
38
  "dependencies": {
39
- "@jupyterlab/ui-components": "^4.4.4",
39
+ "@jupyterlab/ui-components": "^4.4.5",
40
40
  "@lumino/algorithm": "^2.0.3",
41
41
  "@lumino/coreutils": "^2.2.1",
42
42
  "@lumino/disposable": "^2.1.4",
@@ -46,7 +46,7 @@
46
46
  "react": "^18.2.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@jupyterlab/testing": "^4.4.4",
49
+ "@jupyterlab/testing": "^4.4.5",
50
50
  "@types/jest": "^29.2.0",
51
51
  "jest": "^29.2.0",
52
52
  "rimraf": "~5.0.5",
@@ -32,7 +32,11 @@ export function TextItem(
32
32
  const { title, source, className, ...rest } = props;
33
33
  return (
34
34
  <span
35
- className={`jp-StatusBar-TextItem ${className}`}
35
+ className={
36
+ className
37
+ ? `jp-StatusBar-TextItem ${className}`
38
+ : 'jp-StatusBar-TextItem'
39
+ }
36
40
  title={title}
37
41
  {...rest}
38
42
  >