Skip to content

Commit d648b1d

Browse files
authored
Merge pull request #203 from visualpython/release
Release v2.3.4
2 parents d768a26 + 3c08142 commit d648b1d

69 files changed

Lines changed: 1753 additions & 532 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
dist/
22
jupyterlab/lib/visualpython
3-
test/
3+
jupyternotebook/visualpython
4+
colab/visualpython
5+
test/
6+
.gitignore

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Set version and replace it
1313
#=============================================================================
14-
VP_ORG_VER=2.3.2
15-
VP_NEW_VER=2.3.3
14+
VP_ORG_VER=2.3.3
15+
VP_NEW_VER=2.3.4
1616

1717
# update version info
1818
grep -REil "VP_ORG_VER=.+$" colab/build.colab.sh jupyterlab/build.jupyterlab.sh jupyternotebook/build.jupyternotebook.sh | xargs sed -i "s/VP_ORG_VER=.\+$/VP_ORG_VER=${VP_ORG_VER}/g"

colab/build.colab.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version
1313
#=============================================================================
14-
VP_ORG_VER=2.3.2
15-
VP_NEW_VER=2.3.3
14+
VP_ORG_VER=2.3.3
15+
VP_NEW_VER=2.3.4
1616

1717
# update version info
1818
# update manifest version with new numbering for new version
@@ -28,7 +28,7 @@ mkdir -p ../dist/colab
2828

2929
# build package
3030
# sudo apt-get install zip
31-
zip -r ../dist/colab/visualpython-v$VP_NEW_VER.$VP_COLAB_VER.zip * -x build.colab.sh
31+
zip -r ../dist/colab/visualpython-v$VP_NEW_VER.zip * -x build.colab.sh
3232

3333
exit 0
3434
# End of file

jupyterlab/build.jupyterlab.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version and Basic Files
1313
#=============================================================================
14-
VP_ORG_VER=2.3.2
15-
VP_NEW_VER=2.3.3
14+
VP_ORG_VER=2.3.3
15+
VP_NEW_VER=2.3.4
1616

1717
# update version info
1818
grep -REil "\"version\": \"${VP_ORG_VER}\"" package.json | xargs sed -i "s/\"version\": \"${VP_ORG_VER//\./\\.}\"/\"version\": \"${VP_NEW_VER}\"/g"

jupyterlab/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jupyterlab/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab-visualpython",
3-
"version": "2.3.3",
3+
"version": "2.3.4",
44
"description": "GUI-based Python code generator for Jupyter Lab as an extension",
55
"keywords": [
66
"jupyter",

jupyterlab/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.9",
3333
"Programming Language :: Python :: 3.10",
3434
]
35-
version = "2.3.3"
35+
version = "2.3.4"
3636

3737
[project.license]
3838
file = "LICENSE"
@@ -92,7 +92,7 @@ file = [
9292
]
9393

9494
[tool.tbump.version]
95-
current = "2.3.3"
95+
current = "2.3.4"
9696
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"
9797

9898
[tool.tbump.git]

jupyternotebook/build.jupyternotebook.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version and Basic Files
1313
#=============================================================================
14-
VP_ORG_VER=2.3.2
15-
VP_NEW_VER=2.3.3
14+
VP_ORG_VER=2.3.3
15+
VP_NEW_VER=2.3.4
1616

1717
# update version info
1818
grep -REil ${VP_ORG_VER//\./\\.} setup.py visualpython/* | xargs sed -i --follow-symlinks "s/${VP_ORG_VER//\./\\.}/${VP_NEW_VER}/g"

jupyternotebook/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name = name,
13-
version = '2.3.3',
13+
version = '2.3.4',
1414
packages = find_packages(),
1515
package_data = {"": ["*"], 'visualpython' : ['visualpython.yaml', 'README.md']},
1616
scripts = ['visualpython/bin/visualpy', 'visualpython/bin/visualpy.bat'],

visualpython/css/boardFrame.css

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,26 @@
1616
position: relative;
1717
float: left;
1818

19-
border-left: 1px solid var(--border-gray-color);
19+
border-left: 1px solid var(--vp-border-gray-color);
2020
box-sizing: border-box;
2121
}
2222
.vp-board-header {
2323
box-sizing: border-box;
2424
width: 100%;
2525
height: 50px;
2626
text-align: right;
27-
background-color: #FFFFFF;
28-
border-bottom: 1px solid var(--border-gray-color);
27+
background-color: var(--vp-background-color);
28+
border-bottom: 1px solid var(--vp-border-gray-color);
2929
}
3030
.vp-board-title {
3131
width: 100%;
3232
height: 50px;
33-
background-color: white;
33+
background-color: var(--vp-background-color);
3434
display: flex;
3535
flex-direction: row;
3636
position: relative;
3737
z-index: 10;
38-
border-bottom: 0.25px solid var(--border-gray-color);
38+
border-bottom: 0.25px solid var(--vp-border-gray-color);
3939
box-sizing: border-box;
4040
}
4141
.vp-board-title input {
@@ -48,8 +48,8 @@
4848
}
4949
.vp-board-title input:focus {
5050
transition: 0.7s;
51-
border: 0.5px solid var(--highlight-color) !important;
52-
color: var(--font-highlight);
51+
border: 0.5px solid var(--vp-highlight-color) !important;
52+
color: var(--vp-font-highlight);
5353
}
5454
.vp-board-title input::selection {
5555
background-color: #FDEFDD;
@@ -72,13 +72,13 @@
7272
position: relative;
7373
color: #000;
7474
background-size: 5px 5px;
75-
background-image: repeating-linear-gradient( to right, var(--grid-line-color) 0, var(--grid-line-color) 0.25px, transparent 1px, transparent 50px ), repeating-linear-gradient( to bottom, var(--grid-line-color) 0, var(--grid-line-color) 0.25px, transparent 1px, transparent 50px );
76-
background-color: white;
75+
background-image: repeating-linear-gradient( to right, var(--vp-grid-line-color) 0, var(--vp-grid-line-color) 0.25px, transparent 1px, transparent 50px ), repeating-linear-gradient( to bottom, var(--vp-grid-line-color) 0, var(--vp-grid-line-color) 0.25px, transparent 1px, transparent 50px );
76+
background-color: var(--vp-background-color);
7777
}
7878
.vp-board-footer {
7979
width: 100%;
8080
height: 50px;
81-
border-top: 1px solid var(--border-gray-color);
81+
border-top: 1px solid var(--vp-border-gray-color);
8282
line-height: 50px;
8383
}
8484
.vp-board-footer-buttons {
@@ -106,8 +106,8 @@
106106
margin-top: 25px;
107107
width: 150px;
108108
float: right;
109-
background: #FFFFFF;
110-
border: 0.25px solid var(--border-gray-color);
109+
background: var(--vp-background-color);
110+
border: 0.25px solid var(--vp-border-gray-color);
111111
border-radius: 3px;
112112
box-sizing: border-box;
113113
box-shadow: 1px 1px 2px rgb(0 0 0 / 10%);
@@ -119,7 +119,7 @@
119119
margin-inline-start: 0px;
120120
margin-inline-end: 0px;
121121
padding-inline-start: 0px;
122-
color: var(--font-primary);
122+
color: var(--vp-font-primary);
123123
}
124124
.vp-board-header-button-inner ul li {
125125
overflow: hidden;
@@ -131,14 +131,14 @@
131131
line-height: 22px;
132132
text-align: left;
133133
vertical-align: middle;
134-
color: var(--font-primary);
135-
background-color: #FFFFFF;
134+
color: var(--vp-font-primary);
135+
background-color: var(--vp-background-color);
136136
margin-bottom: 2px;
137137
float: none;
138138
}
139139
.vp-board-header-button-inner ul li:hover {
140-
color: var(--font-highlight);
141-
/* background-color: var(--light-gray-color); */
140+
color: var(--vp-font-highlight);
141+
/* background-color: var(--vp-light-gray-color); */
142142
}
143143

144144
/* block */
@@ -156,7 +156,7 @@
156156
flex-direction: column;
157157
justify-content: center;
158158
touch-action: none;
159-
color: var(--font-primary);
159+
color: var(--vp-font-primary);
160160
font-family: 'AppleSDGothicNeo';
161161

162162
}
@@ -171,7 +171,7 @@
171171
position: relative;
172172
display: flex;
173173
flex-direction: row;
174-
background: var(--border-gray-color);
174+
background: var(--vp-border-gray-color);
175175
z-index: 10;
176176
text-overflow: ellipsis;
177177
white-space: nowrap;
@@ -222,7 +222,7 @@
222222

223223
/* block color labeling */
224224
.vp-block.vp-focus .vp-block-header {
225-
border: 2px solid var(--highlight-color);
225+
border: 2px solid var(--vp-highlight-color);
226226
}
227227
.vp-block.vp-focus-child .vp-block-header {
228228
background-color: rgb(196, 196, 196);
@@ -285,9 +285,9 @@
285285
display: flex;
286286
}
287287
.vp-block-button {
288-
background-color: white;
289-
color: var(--font-primary);
290-
border: 0.25px solid var(--border-gray-color);
288+
background-color: var(--vp-background-color);
289+
color: var(--vp-font-primary);
290+
border: 0.25px solid var(--vp-border-gray-color);
291291
box-sizing: border-box;
292292
box-shadow: 1px 1px 2px rgb(0 0 0 / 10%);
293293
border-radius: 2px;
@@ -296,7 +296,7 @@
296296
text-align: center;
297297
}
298298
.vp-block-button:hover {
299-
background-color: var(--highlight-color);
299+
background-color: var(--vp-highlight-color);
300300
color: white;
301301
cursor: pointer;
302302
transition: 0.2s;
@@ -309,7 +309,7 @@
309309
border: 2px solid transparent;
310310
}
311311
.vp-block-markdown.vp-focus .vp-block-header {
312-
border: 2px solid var(--highlight-color);
312+
border: 2px solid var(--vp-highlight-color);
313313
}
314314
.vp-block-markdown .vp-block-header:empty::after {
315315
content: 'Double click to edit.';
@@ -329,24 +329,24 @@
329329
/* block menu */
330330
.vp-block-menu-box {
331331
position: fixed;
332-
background: #FFFFFF;
332+
background: var(--vp-background-color);
333333
width: 125px;
334334
line-height: 15px;
335-
border: 0.25px solid var(--border-gray-color);
335+
border: 0.25px solid var(--vp-border-gray-color);
336336
border-radius: 3px;
337337
padding: 5px;
338338
z-index: 50;
339339
}
340340
.vp-block-menu-item {
341-
color: var(--font-primary);
341+
color: var(--vp-font-primary);
342342
padding: 5px;
343343
font-size: 14px;
344344
}
345345
.vp-block-menu-item:hover {
346-
color: var(--font-highlight);
346+
color: var(--vp-font-highlight);
347347
cursor: pointer;
348348
}
349349
#vp_block_menu_delete:hover {
350-
background: var(--highlight-color);
350+
background: var(--vp-highlight-color);
351351
color: white;
352352
}

0 commit comments

Comments
 (0)