@jupyterlab/codemirror 4.0.0-alpha.14 → 4.0.0-alpha.15
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 +11 -11
- package/style/base.css +7 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlab/codemirror",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.15",
|
|
4
4
|
"description": "JupyterLab - CodeMirror Editor Provider",
|
|
5
5
|
"homepage": "https://github.com/jupyterlab/jupyterlab",
|
|
6
6
|
"bugs": {
|
|
@@ -59,15 +59,15 @@
|
|
|
59
59
|
"@codemirror/search": "^6.0.0",
|
|
60
60
|
"@codemirror/state": "^6.0.0",
|
|
61
61
|
"@codemirror/view": "^6.0.0",
|
|
62
|
-
"@jupyterlab/codeeditor": "^4.0.0-alpha.
|
|
63
|
-
"@jupyterlab/coreutils": "^6.0.0-alpha.
|
|
64
|
-
"@jupyterlab/documentsearch": "^4.0.0-alpha.
|
|
65
|
-
"@jupyterlab/nbformat": "^4.0.0-alpha.
|
|
66
|
-
"@jupyterlab/observables": "^5.0.0-alpha.
|
|
67
|
-
"@jupyterlab/shared-models": "^4.0.0-alpha.
|
|
68
|
-
"@jupyterlab/statusbar": "^4.0.0-alpha.
|
|
69
|
-
"@jupyterlab/translation": "^4.0.0-alpha.
|
|
70
|
-
"@jupyterlab/ui-components": "^4.0.0-alpha.
|
|
62
|
+
"@jupyterlab/codeeditor": "^4.0.0-alpha.15",
|
|
63
|
+
"@jupyterlab/coreutils": "^6.0.0-alpha.15",
|
|
64
|
+
"@jupyterlab/documentsearch": "^4.0.0-alpha.15",
|
|
65
|
+
"@jupyterlab/nbformat": "^4.0.0-alpha.15",
|
|
66
|
+
"@jupyterlab/observables": "^5.0.0-alpha.15",
|
|
67
|
+
"@jupyterlab/shared-models": "^4.0.0-alpha.15",
|
|
68
|
+
"@jupyterlab/statusbar": "^4.0.0-alpha.15",
|
|
69
|
+
"@jupyterlab/translation": "^4.0.0-alpha.15",
|
|
70
|
+
"@jupyterlab/ui-components": "^4.0.0-alpha.30",
|
|
71
71
|
"@lezer/common": "^1.0.0",
|
|
72
72
|
"@lezer/highlight": "^1.0.0",
|
|
73
73
|
"@lumino/algorithm": "^2.0.0-alpha.6",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"yjs": "^13.5.40"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@jupyterlab/testutils": "^4.0.0-alpha.
|
|
86
|
+
"@jupyterlab/testutils": "^4.0.0-alpha.15",
|
|
87
87
|
"@lezer/generator": "^1.0.0",
|
|
88
88
|
"@lezer/lr": "^1.0.0",
|
|
89
89
|
"@types/jest": "^26.0.10",
|
package/style/base.css
CHANGED
|
@@ -95,22 +95,21 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/* Styles for shared cursors (remote cursor locations and selected ranges) */
|
|
98
|
-
.jp-CodeMirrorEditor .
|
|
98
|
+
.jp-CodeMirrorEditor .cm-ySelectionCaret {
|
|
99
99
|
position: relative;
|
|
100
|
-
border-left:
|
|
100
|
+
border-left: 1px solid black;
|
|
101
101
|
margin-left: -1px;
|
|
102
102
|
margin-right: -1px;
|
|
103
103
|
box-sizing: border-box;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
.jp-CodeMirrorEditor .
|
|
106
|
+
.jp-CodeMirrorEditor .cm-ySelectionCaret > .cm-ySelectionInfo {
|
|
107
107
|
white-space: nowrap;
|
|
108
108
|
position: absolute;
|
|
109
109
|
top: -1.15em;
|
|
110
110
|
padding-bottom: 0.05em;
|
|
111
|
-
left: -
|
|
111
|
+
left: -1px;
|
|
112
112
|
font-size: 0.95em;
|
|
113
|
-
background-color: rgb(250, 129, 0);
|
|
114
113
|
font-family: var(--jp-ui-font-family);
|
|
115
114
|
font-weight: bold;
|
|
116
115
|
line-height: normal;
|
|
@@ -118,16 +117,16 @@
|
|
|
118
117
|
color: white;
|
|
119
118
|
padding-left: 2px;
|
|
120
119
|
padding-right: 2px;
|
|
121
|
-
z-index:
|
|
120
|
+
z-index: 101;
|
|
122
121
|
transition: opacity 0.3s ease-in-out;
|
|
123
122
|
}
|
|
124
123
|
|
|
125
|
-
.jp-CodeMirrorEditor .
|
|
124
|
+
.jp-CodeMirrorEditor .cm-ySelectionInfo {
|
|
126
125
|
transition-delay: 0.7s;
|
|
127
126
|
opacity: 0;
|
|
128
127
|
}
|
|
129
128
|
|
|
130
|
-
.jp-CodeMirrorEditor .
|
|
129
|
+
.jp-CodeMirrorEditor .cm-ySelectionCaret:hover > .cm-ySelectionInfo {
|
|
131
130
|
opacity: 1;
|
|
132
131
|
transition-delay: 0s;
|
|
133
132
|
}
|