@jupyterlab/debugger 4.0.0-alpha.17 → 4.0.0-alpha.19

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyterlab/debugger",
3
- "version": "4.0.0-alpha.17",
3
+ "version": "4.0.0-alpha.19",
4
4
  "description": "JupyterLab - Debugger Extension",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -50,36 +50,36 @@
50
50
  "dependencies": {
51
51
  "@codemirror/state": "^6.0.0",
52
52
  "@codemirror/view": "^6.0.0",
53
- "@jupyter/ydoc": "~0.2.2",
54
- "@jupyterlab/application": "^4.0.0-alpha.17",
55
- "@jupyterlab/apputils": "^4.0.0-alpha.17",
56
- "@jupyterlab/cells": "^4.0.0-alpha.17",
57
- "@jupyterlab/codeeditor": "^4.0.0-alpha.17",
58
- "@jupyterlab/codemirror": "^4.0.0-alpha.17",
59
- "@jupyterlab/console": "^4.0.0-alpha.17",
60
- "@jupyterlab/coreutils": "^6.0.0-alpha.17",
61
- "@jupyterlab/docregistry": "^4.0.0-alpha.17",
62
- "@jupyterlab/fileeditor": "^4.0.0-alpha.17",
63
- "@jupyterlab/notebook": "^4.0.0-alpha.17",
64
- "@jupyterlab/observables": "^5.0.0-alpha.17",
65
- "@jupyterlab/rendermime": "^4.0.0-alpha.17",
66
- "@jupyterlab/services": "^7.0.0-alpha.17",
67
- "@jupyterlab/translation": "^4.0.0-alpha.17",
68
- "@jupyterlab/ui-components": "^4.0.0-alpha.32",
69
- "@lumino/algorithm": "^2.0.0-alpha.6",
70
- "@lumino/commands": "^2.0.0-alpha.6",
71
- "@lumino/coreutils": "^2.0.0-alpha.6",
72
- "@lumino/datagrid": "^1.0.0-alpha.6",
73
- "@lumino/disposable": "^2.0.0-alpha.6",
74
- "@lumino/messaging": "^2.0.0-alpha.6",
75
- "@lumino/polling": "^2.0.0-alpha.6",
76
- "@lumino/signaling": "^2.0.0-alpha.6",
77
- "@lumino/widgets": "^2.0.0-alpha.6",
53
+ "@jupyter/ydoc": "^0.3.1",
54
+ "@jupyterlab/application": "^4.0.0-alpha.19",
55
+ "@jupyterlab/apputils": "^4.0.0-alpha.19",
56
+ "@jupyterlab/cells": "^4.0.0-alpha.19",
57
+ "@jupyterlab/codeeditor": "^4.0.0-alpha.19",
58
+ "@jupyterlab/codemirror": "^4.0.0-alpha.19",
59
+ "@jupyterlab/console": "^4.0.0-alpha.19",
60
+ "@jupyterlab/coreutils": "^6.0.0-alpha.19",
61
+ "@jupyterlab/docregistry": "^4.0.0-alpha.19",
62
+ "@jupyterlab/fileeditor": "^4.0.0-alpha.19",
63
+ "@jupyterlab/notebook": "^4.0.0-alpha.19",
64
+ "@jupyterlab/observables": "^5.0.0-alpha.19",
65
+ "@jupyterlab/rendermime": "^4.0.0-alpha.19",
66
+ "@jupyterlab/services": "^7.0.0-alpha.19",
67
+ "@jupyterlab/translation": "^4.0.0-alpha.19",
68
+ "@jupyterlab/ui-components": "^4.0.0-alpha.34",
69
+ "@lumino/algorithm": "^2.0.0-beta.0",
70
+ "@lumino/commands": "^2.0.0-beta.1",
71
+ "@lumino/coreutils": "^2.0.0-beta.0",
72
+ "@lumino/datagrid": "^2.0.0-beta.0",
73
+ "@lumino/disposable": "^2.0.0-beta.1",
74
+ "@lumino/messaging": "^2.0.0-beta.0",
75
+ "@lumino/polling": "^2.0.0-beta.0",
76
+ "@lumino/signaling": "^2.0.0-beta.1",
77
+ "@lumino/widgets": "^2.0.0-beta.1",
78
78
  "@vscode/debugprotocol": "^1.51.0",
79
- "react": "^17.0.1"
79
+ "react": "^18.2.0"
80
80
  },
81
81
  "devDependencies": {
82
- "@jupyterlab/testing": "^4.0.0-alpha.17",
82
+ "@jupyterlab/testing": "^4.0.0-alpha.19",
83
83
  "@types/jest": "^29.2.0",
84
84
  "canvas": "^2.9.1",
85
85
  "rimraf": "~3.0.0",
@@ -0,0 +1,10 @@
1
+ <svg height="24" width="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
2
+ <g class="jp-icon3" fill="#616161" transform="matrix(1.1999396,0,0,1.3858273,-2.3726971,-4.6347192)">
3
+ <path
4
+ d="M 12.023438,0.30859375 11.158203,1.8085937 -1.2382812,23.285156 l 26.5292972,-0.002 z m 0.002,3.99999995 9.800781,16.9746093 -19.6015626,0.002 z"
5
+ transform="matrix(0.72509832,0,0,0.7247701,3.2918397,3.480876)"
6
+ />
7
+ <path d="m 11.144475,9.117095 h 1.666751 v 7.215906 h -1.666751 z" />
8
+ <path d="m 11.144475,17.054592 h 1.666751 v 1.443181 h -1.666751 z" />
9
+ </g>
10
+ </svg>
@@ -2,7 +2,6 @@
2
2
  | Copyright (c) Jupyter Development Team.
3
3
  | Distributed under the terms of the Modified BSD License.
4
4
  |----------------------------------------------------------------------------*/
5
-
6
5
  .jp-DebuggerVariables {
7
6
  display: flex;
8
7
  flex-direction: column;
@@ -16,56 +15,96 @@
16
15
  flex: 1 1 auto;
17
16
  min-height: 24px;
18
17
  overflow: auto;
18
+
19
+ /* For absolute positioning of jp-DebuggerVariables-buttons. */
20
+ position: relative;
19
21
  }
20
22
 
21
- .jp-DebuggerVariables-body ul {
23
+ .jp-DebuggerVariables-branch {
22
24
  list-style: none;
23
25
  margin: 0;
24
26
  padding: 0;
25
27
  }
26
28
 
27
- .jp-DebuggerVariables-body > ul {
29
+ .jp-DebuggerVariables-body
30
+ .jp-DebuggerVariables-branch
31
+ .jp-DebuggerVariables-branch {
32
+ grid-area: nested;
33
+ }
34
+
35
+ .jp-DebuggerVariables-body > .jp-DebuggerVariables-branch {
28
36
  padding-top: 0.1em;
29
37
  }
30
38
 
31
- .jp-DebuggerVariables-body ul li {
32
- padding: 5px 0 0;
39
+ .jp-DebuggerVariables-branch li {
40
+ padding: 3px 0;
33
41
  cursor: pointer;
34
42
  color: var(--jp-content-font-color1);
35
- align-items: center;
43
+ display: grid;
44
+ grid-template:
45
+ 'collapser name detail'
46
+ 'nested nested nested';
47
+ grid-template-columns: max-content max-content 1fr;
36
48
  }
37
49
 
38
- .jp-DebuggerVariables-body ul li:hover .jp-DebuggerVariables-renderVariable {
39
- display: inline-block;
50
+ .jp-DebuggerVariables-branch li:not(:has(li:hover)):hover {
51
+ background: var(--jp-layout-color2);
40
52
  }
41
53
 
42
- .jp-DebuggerVariables-body .jp-DebuggerVariables-hspacer {
43
- flex: 1 1 auto;
54
+ .jp-DebuggerVariables-collapser {
55
+ width: 16px;
56
+ grid-area: collapser;
57
+ transform: rotate(-90deg);
58
+ transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
59
+ }
60
+
61
+ .jp-DebuggerVariables-collapser.jp-mod-expanded {
62
+ transform: rotate(0);
63
+ }
64
+
65
+ .jp-DebuggerVariables-buttons {
66
+ position: absolute;
67
+ top: 0;
68
+ right: 8px;
69
+ margin-top: 1px;
70
+ }
71
+
72
+ .jp-DebuggerVariables-name {
73
+ color: var(--jp-mirror-editor-attribute-color);
74
+ grid-area: name;
75
+ }
76
+
77
+ .jp-DebuggerVariables-name::after {
78
+ content: ':';
79
+ margin-right: 5px;
80
+ }
81
+
82
+ .jp-DebuggerVariables-detail {
83
+ /* detail contains value for primitive types or name of the type otherwise */
84
+ color: var(--jp-mirror-editor-string-color);
44
85
  }
45
86
 
46
- .jp-DebuggerVariables-body .jp-DebuggerVariables-renderVariable {
47
- flex: 0 0 auto;
87
+ .jp-DebuggerVariables-renderVariable {
48
88
  border: none;
49
89
  background: none;
50
90
  cursor: pointer;
51
- display: none;
52
- padding: 0 8px;
91
+ transform-origin: center center;
92
+ transition: transform 0.2s cubic-bezier(0.4, 0, 1, 1);
53
93
  }
54
94
 
55
- .jp-DebuggerVariables-body .jp-DebuggerVariables-renderVariable:active {
56
- transform: scale(1.272) translateX(-4px);
57
- overflow: hidden;
95
+ .jp-DebuggerVariables-renderVariable:active {
96
+ transform: scale(1.35);
58
97
  }
59
98
 
60
- .jp-DebuggerVariables-body .jp-DebuggerVariables-renderVariable:hover {
99
+ .jp-DebuggerVariables-renderVariable:hover {
61
100
  background-color: var(--jp-layout-color2);
62
101
  }
63
102
 
64
- .jp-DebuggerVariables-body .jp-DebuggerVariables-renderVariable:disabled {
103
+ .jp-DebuggerVariables-renderVariable:disabled {
65
104
  cursor: default;
66
105
  }
67
106
 
68
- .jp-DebuggerVariables-body ul li > ul {
107
+ .jp-DebuggerVariables-branch li > .jp-DebuggerVariables-branch {
69
108
  margin-left: 12px;
70
109
  }
71
110