lexgui 0.1.33 → 0.1.34
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/build/components/codeeditor.js +1 -1
- package/build/lexgui.css +13 -12
- package/build/lexgui.js +263 -228
- package/build/lexgui.module.js +307 -199
- package/changelog.md +11 -4
- package/demo.js +4 -13
- package/package.json +1 -1
|
@@ -4343,7 +4343,7 @@ CodeEditor.statementsAndDeclarations = {
|
|
|
4343
4343
|
'WGSL': ['const','for', 'if', 'else', 'return', 'continue', 'break', 'storage', 'read', 'read_write', 'uniform', 'function', 'workgroup'],
|
|
4344
4344
|
'Rust': ['break', 'else', 'continue', 'for', 'if', 'loop', 'match', 'return', 'while', 'do', 'yield'],
|
|
4345
4345
|
'Python': ['if', 'raise', 'del', 'import', 'return', 'elif', 'try', 'else', 'while', 'as', 'except', 'with', 'assert', 'finally', 'yield', 'break', 'for', 'class', 'continue',
|
|
4346
|
-
'global', 'pass'],
|
|
4346
|
+
'global', 'pass', 'from'],
|
|
4347
4347
|
'Batch': ['if', 'IF', 'for', 'FOR', 'in', 'IN', 'do', 'DO', 'call', 'CALL', 'goto', 'GOTO', 'exit', 'EXIT']
|
|
4348
4348
|
};
|
|
4349
4349
|
|
package/build/lexgui.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
--global-title-font: "Poppins", sans-serif;
|
|
8
8
|
--global-font-size: 12px;
|
|
9
9
|
--global-color-primary: #212121;
|
|
10
|
-
--global-color-secondary: #
|
|
10
|
+
--global-color-secondary: #2c2c2c;
|
|
11
11
|
--global-color-terciary: #444;
|
|
12
12
|
--global-selected: #3e57e4;
|
|
13
13
|
--global-selected-light: #7b8ae2;
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
--branch-title-inactive-background: #42484e;
|
|
18
18
|
--global-button-color: #3e3e3e;
|
|
19
19
|
--global-button-color-hovered: #444;
|
|
20
|
-
--global-text: #
|
|
20
|
+
--global-text: #dedee6f0;
|
|
21
21
|
--global-text-primary: #f4f4ffe6;
|
|
22
22
|
--global-text-secondary: #cacad4ea;
|
|
23
23
|
--global-text-terciary: #727272b9;
|
|
24
24
|
--global-dark-background: #121212;
|
|
25
|
-
--global-blur-background: #
|
|
25
|
+
--global-blur-background: #232425d5;
|
|
26
26
|
--global-color-transparent: #7b8ae200;
|
|
27
27
|
--transition-time: 1000;
|
|
28
28
|
--code-editor-font-size: 14px;
|
|
@@ -155,14 +155,14 @@ body.noevents * {
|
|
|
155
155
|
border-radius: 8px;
|
|
156
156
|
border: 1px solid #d0d0ec6b;
|
|
157
157
|
width: 30%;
|
|
158
|
+
max-width: 740px;
|
|
158
159
|
top: 15%;
|
|
159
|
-
left: calc(50% - 15
|
|
160
|
+
left: calc(50% - min(15%, 740px));
|
|
160
161
|
display: flex;
|
|
161
162
|
flex-wrap: wrap;
|
|
162
163
|
z-index: 105;
|
|
163
164
|
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC); /* this fixes the overflow:hidden in Chrome/Opera */
|
|
164
165
|
mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC); /* this fixes the overflow:hidden in Chrome/Opera */
|
|
165
|
-
/* box-shadow: 0 2px 10px black; */
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
#global_search a {
|
|
@@ -249,7 +249,7 @@ body.noevents * {
|
|
|
249
249
|
min-width: 256px;
|
|
250
250
|
/* overflow: hidden; */
|
|
251
251
|
box-shadow: 0 2px 8px #101010;
|
|
252
|
-
border-radius:
|
|
252
|
+
border-radius: 6px;
|
|
253
253
|
z-index: 101;
|
|
254
254
|
background-color: var(--global-color-secondary);
|
|
255
255
|
}
|
|
@@ -448,7 +448,7 @@ body.noevents * {
|
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
.lexbranch {
|
|
451
|
-
border-radius:
|
|
451
|
+
border-radius: 6px;
|
|
452
452
|
margin-bottom: 4px !important;
|
|
453
453
|
}
|
|
454
454
|
|
|
@@ -1393,7 +1393,7 @@ input[type="range"] {
|
|
|
1393
1393
|
/* Data Tree Widget */
|
|
1394
1394
|
|
|
1395
1395
|
.lextree {
|
|
1396
|
-
border-radius:
|
|
1396
|
+
border-radius: 6px;
|
|
1397
1397
|
width: calc( 100% - 6px );
|
|
1398
1398
|
min-height: 12px;
|
|
1399
1399
|
margin: 0 auto;
|
|
@@ -1417,6 +1417,7 @@ input[type="range"] {
|
|
|
1417
1417
|
|
|
1418
1418
|
.lextree .lextreetools input {
|
|
1419
1419
|
font-size: var(--global-font-size);
|
|
1420
|
+
padding-left: 8px;
|
|
1420
1421
|
}
|
|
1421
1422
|
|
|
1422
1423
|
.lextree .lextreetools.notitle {
|
|
@@ -1636,7 +1637,7 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
1636
1637
|
|
|
1637
1638
|
.lexmenubar .lexmenuentry span {
|
|
1638
1639
|
padding: 4px 8px;
|
|
1639
|
-
border-radius:
|
|
1640
|
+
border-radius: 4px;
|
|
1640
1641
|
}
|
|
1641
1642
|
|
|
1642
1643
|
.lexmenubar .lexmenuentry:hover span, .lexmenubar .lexmenuentry.selected span {
|
|
@@ -1784,7 +1785,7 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
1784
1785
|
background-color: var(--global-color-secondary);
|
|
1785
1786
|
margin-top: 10px;
|
|
1786
1787
|
margin-bottom: 8px;
|
|
1787
|
-
border-radius:
|
|
1788
|
+
border-radius: 6px;
|
|
1788
1789
|
padding-left: 4px;
|
|
1789
1790
|
padding-right: 4px;
|
|
1790
1791
|
}
|
|
@@ -2119,7 +2120,7 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
2119
2120
|
.lexoverlaybuttons .lexoverlaygroup {
|
|
2120
2121
|
display: flex;
|
|
2121
2122
|
margin-right: 6px;
|
|
2122
|
-
background-color: #
|
|
2123
|
+
background-color: #313132b5;
|
|
2123
2124
|
-webkit-backdrop-filter: blur(6px);
|
|
2124
2125
|
backdrop-filter: blur(6px);
|
|
2125
2126
|
border-radius: 8px;
|
|
@@ -2204,7 +2205,7 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
2204
2205
|
padding-left: 16px;
|
|
2205
2206
|
padding-right: 16px;
|
|
2206
2207
|
margin-right: 4px;
|
|
2207
|
-
border-radius:
|
|
2208
|
+
border-radius: 6px;
|
|
2208
2209
|
}
|
|
2209
2210
|
|
|
2210
2211
|
.lexareatabs.fit {
|