@jupyterlab/filebrowser 4.1.2 → 4.2.0-alpha.0

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.
Files changed (2) hide show
  1. package/package.json +11 -11
  2. package/style/base.css +9 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/filebrowser",
3
- "version": "4.1.2",
3
+ "version": "4.2.0-alpha.0",
4
4
  "description": "JupyterLab - FileBrowser Widget",
5
5
  "homepage": "https://github.com/jupyterlab/jupyterlab",
6
6
  "bugs": {
@@ -42,15 +42,15 @@
42
42
  "watch": "tsc -b --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@jupyterlab/apputils": "^4.2.2",
46
- "@jupyterlab/coreutils": "^6.1.2",
47
- "@jupyterlab/docmanager": "^4.1.2",
48
- "@jupyterlab/docregistry": "^4.1.2",
49
- "@jupyterlab/services": "^7.1.2",
50
- "@jupyterlab/statedb": "^4.1.2",
51
- "@jupyterlab/statusbar": "^4.1.2",
52
- "@jupyterlab/translation": "^4.1.2",
53
- "@jupyterlab/ui-components": "^4.1.2",
45
+ "@jupyterlab/apputils": "^4.3.0-alpha.0",
46
+ "@jupyterlab/coreutils": "^6.2.0-alpha.0",
47
+ "@jupyterlab/docmanager": "^4.2.0-alpha.0",
48
+ "@jupyterlab/docregistry": "^4.2.0-alpha.0",
49
+ "@jupyterlab/services": "^7.2.0-alpha.0",
50
+ "@jupyterlab/statedb": "^4.2.0-alpha.0",
51
+ "@jupyterlab/statusbar": "^4.2.0-alpha.0",
52
+ "@jupyterlab/translation": "^4.2.0-alpha.0",
53
+ "@jupyterlab/ui-components": "^4.2.0-alpha.0",
54
54
  "@lumino/algorithm": "^2.0.1",
55
55
  "@lumino/coreutils": "^2.1.2",
56
56
  "@lumino/disposable": "^2.1.2",
@@ -64,7 +64,7 @@
64
64
  "react": "^18.2.0"
65
65
  },
66
66
  "devDependencies": {
67
- "@jupyterlab/testing": "^4.1.2",
67
+ "@jupyterlab/testing": "^4.2.0-alpha.0",
68
68
  "@types/jest": "^29.2.0",
69
69
  "jest": "^29.2.0",
70
70
  "rimraf": "~5.0.5",
package/style/base.css CHANGED
@@ -276,17 +276,23 @@
276
276
  user-select: none;
277
277
  }
278
278
 
279
- .jp-DirListing-itemText:focus {
279
+ .jp-DirListing-item:has(.jp-DirListing-itemText:focus-visible) {
280
+ /* Targeting `.jp-DirListing-itemText` specifically to avoid an extra outline
281
+ when it gets replaced with `jp-DirListing-editor` when editing the file name */
280
282
  outline-width: 2px;
281
283
  outline-color: var(--jp-inverse-layout-color1);
282
284
  outline-style: solid;
283
- outline-offset: 1px;
285
+ outline-offset: -4px;
284
286
  }
285
287
 
286
- .jp-DirListing-item.jp-mod-selected .jp-DirListing-itemText:focus {
288
+ .jp-DirListing-item.jp-mod-selected:focus-within {
287
289
  outline-color: var(--jp-layout-color1);
288
290
  }
289
291
 
292
+ .jp-DirListing-item > .jp-DirListing-itemText:focus {
293
+ outline: 0;
294
+ }
295
+
290
296
  .jp-DirListing-itemModified {
291
297
  flex: 0 0 125px;
292
298
  text-align: right;