lexgui 0.1.33 → 0.1.35
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 +38 -23
- package/build/lexgui.js +390 -322
- package/build/lexgui.module.js +432 -289
- package/changelog.md +20 -4
- package/demo.js +5 -14
- 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
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
--global-font: "Figtree", sans-serif;
|
|
7
7
|
--global-title-font: "Poppins", sans-serif;
|
|
8
8
|
--global-font-size: 12px;
|
|
9
|
+
--global-font-size-big: 14px;
|
|
9
10
|
--global-color-primary: #212121;
|
|
10
|
-
--global-color-secondary: #
|
|
11
|
+
--global-color-secondary: #2c2c2c;
|
|
11
12
|
--global-color-terciary: #444;
|
|
12
13
|
--global-selected: #3e57e4;
|
|
13
14
|
--global-selected-light: #7b8ae2;
|
|
@@ -17,12 +18,12 @@
|
|
|
17
18
|
--branch-title-inactive-background: #42484e;
|
|
18
19
|
--global-button-color: #3e3e3e;
|
|
19
20
|
--global-button-color-hovered: #444;
|
|
20
|
-
--global-text: #
|
|
21
|
+
--global-text: #dedee6f0;
|
|
21
22
|
--global-text-primary: #f4f4ffe6;
|
|
22
23
|
--global-text-secondary: #cacad4ea;
|
|
23
24
|
--global-text-terciary: #727272b9;
|
|
24
25
|
--global-dark-background: #121212;
|
|
25
|
-
--global-blur-background: #
|
|
26
|
+
--global-blur-background: #232425d5;
|
|
26
27
|
--global-color-transparent: #7b8ae200;
|
|
27
28
|
--transition-time: 1000;
|
|
28
29
|
--code-editor-font-size: 14px;
|
|
@@ -155,14 +156,14 @@ body.noevents * {
|
|
|
155
156
|
border-radius: 8px;
|
|
156
157
|
border: 1px solid #d0d0ec6b;
|
|
157
158
|
width: 30%;
|
|
159
|
+
max-width: 740px;
|
|
158
160
|
top: 15%;
|
|
159
|
-
left: calc(50% - 15
|
|
161
|
+
left: calc(50% - min(15%, 740px));
|
|
160
162
|
display: flex;
|
|
161
163
|
flex-wrap: wrap;
|
|
162
164
|
z-index: 105;
|
|
163
165
|
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC); /* this fixes the overflow:hidden in Chrome/Opera */
|
|
164
166
|
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
167
|
}
|
|
167
168
|
|
|
168
169
|
#global_search a {
|
|
@@ -249,7 +250,7 @@ body.noevents * {
|
|
|
249
250
|
min-width: 256px;
|
|
250
251
|
/* overflow: hidden; */
|
|
251
252
|
box-shadow: 0 2px 8px #101010;
|
|
252
|
-
border-radius:
|
|
253
|
+
border-radius: 6px;
|
|
253
254
|
z-index: 101;
|
|
254
255
|
background-color: var(--global-color-secondary);
|
|
255
256
|
}
|
|
@@ -448,7 +449,7 @@ body.noevents * {
|
|
|
448
449
|
}
|
|
449
450
|
|
|
450
451
|
.lexbranch {
|
|
451
|
-
border-radius:
|
|
452
|
+
border-radius: 6px;
|
|
452
453
|
margin-bottom: 4px !important;
|
|
453
454
|
}
|
|
454
455
|
|
|
@@ -828,7 +829,7 @@ body.noevents * {
|
|
|
828
829
|
}
|
|
829
830
|
|
|
830
831
|
.lexbutton.array a {
|
|
831
|
-
margin-top:
|
|
832
|
+
margin-top: 2px;
|
|
832
833
|
}
|
|
833
834
|
|
|
834
835
|
.lexbutton:hover {
|
|
@@ -873,7 +874,8 @@ body.noevents * {
|
|
|
873
874
|
}
|
|
874
875
|
|
|
875
876
|
.lexcombobuttons .lexbutton.combo {
|
|
876
|
-
margin-left:
|
|
877
|
+
margin-left: 1px;
|
|
878
|
+
margin-right: 1px;
|
|
877
879
|
border-radius: 0px;
|
|
878
880
|
display: flex;
|
|
879
881
|
padding-top: 0.35em;
|
|
@@ -882,13 +884,15 @@ body.noevents * {
|
|
|
882
884
|
}
|
|
883
885
|
|
|
884
886
|
.lexcombobuttons .lexbutton.combo:first-child {
|
|
885
|
-
border-top-left-radius:
|
|
886
|
-
border-bottom-left-radius:
|
|
887
|
+
border-top-left-radius: 4px;
|
|
888
|
+
border-bottom-left-radius: 4px;
|
|
889
|
+
margin-left: 0px;
|
|
887
890
|
}
|
|
888
891
|
|
|
889
892
|
.lexcombobuttons .lexbutton.combo:last-child {
|
|
890
|
-
border-top-right-radius:
|
|
891
|
-
border-bottom-right-radius:
|
|
893
|
+
border-top-right-radius: 4px;
|
|
894
|
+
border-bottom-right-radius: 4px;
|
|
895
|
+
margin-right: 0px;
|
|
892
896
|
}
|
|
893
897
|
|
|
894
898
|
.lexcombobuttons .lexbutton.combo.selected {
|
|
@@ -1111,9 +1115,11 @@ input[type=checkbox]:checked:after {
|
|
|
1111
1115
|
|
|
1112
1116
|
.lexcolor {
|
|
1113
1117
|
display: flex;
|
|
1118
|
+
/*
|
|
1114
1119
|
flex-wrap: wrap;
|
|
1115
1120
|
padding-left: 6px;
|
|
1116
1121
|
padding-right: 6px;
|
|
1122
|
+
*/
|
|
1117
1123
|
align-items: center;
|
|
1118
1124
|
}
|
|
1119
1125
|
|
|
@@ -1146,6 +1152,10 @@ input[type=checkbox]:checked:after {
|
|
|
1146
1152
|
cursor: pointer;
|
|
1147
1153
|
}
|
|
1148
1154
|
|
|
1155
|
+
.lexcolor .lexwidget {
|
|
1156
|
+
padding: 0px;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1149
1159
|
/* Vector Widgets */
|
|
1150
1160
|
|
|
1151
1161
|
.lexvector {
|
|
@@ -1393,7 +1403,7 @@ input[type="range"] {
|
|
|
1393
1403
|
/* Data Tree Widget */
|
|
1394
1404
|
|
|
1395
1405
|
.lextree {
|
|
1396
|
-
border-radius:
|
|
1406
|
+
border-radius: 6px;
|
|
1397
1407
|
width: calc( 100% - 6px );
|
|
1398
1408
|
min-height: 12px;
|
|
1399
1409
|
margin: 0 auto;
|
|
@@ -1417,6 +1427,7 @@ input[type="range"] {
|
|
|
1417
1427
|
|
|
1418
1428
|
.lextree .lextreetools input {
|
|
1419
1429
|
font-size: var(--global-font-size);
|
|
1430
|
+
padding-left: 8px;
|
|
1420
1431
|
}
|
|
1421
1432
|
|
|
1422
1433
|
.lextree .lextreetools.notitle {
|
|
@@ -1636,7 +1647,7 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
1636
1647
|
|
|
1637
1648
|
.lexmenubar .lexmenuentry span {
|
|
1638
1649
|
padding: 4px 8px;
|
|
1639
|
-
border-radius:
|
|
1650
|
+
border-radius: 4px;
|
|
1640
1651
|
}
|
|
1641
1652
|
|
|
1642
1653
|
.lexmenubar .lexmenuentry:hover span, .lexmenubar .lexmenuentry.selected span {
|
|
@@ -1784,7 +1795,7 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
1784
1795
|
background-color: var(--global-color-secondary);
|
|
1785
1796
|
margin-top: 10px;
|
|
1786
1797
|
margin-bottom: 8px;
|
|
1787
|
-
border-radius:
|
|
1798
|
+
border-radius: 6px;
|
|
1788
1799
|
padding-left: 4px;
|
|
1789
1800
|
padding-right: 4px;
|
|
1790
1801
|
}
|
|
@@ -2077,9 +2088,9 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
2077
2088
|
}
|
|
2078
2089
|
|
|
2079
2090
|
.lexoverlaybuttons .lexbutton {
|
|
2080
|
-
padding:
|
|
2081
|
-
font-size: var(--global-font-size);
|
|
2082
|
-
border-radius:
|
|
2091
|
+
padding: 18px 12px;
|
|
2092
|
+
font-size: var(--global-font-size-big);
|
|
2093
|
+
border-radius: 10px;
|
|
2083
2094
|
justify-content: center;
|
|
2084
2095
|
background-color: #313132a5;
|
|
2085
2096
|
-webkit-backdrop-filter: blur(6px);
|
|
@@ -2087,9 +2098,13 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
2087
2098
|
color: #d1d1d3bd;
|
|
2088
2099
|
}
|
|
2089
2100
|
|
|
2101
|
+
.lexoverlaybuttons .lexbutton span {
|
|
2102
|
+
font-size: var(--global-font-size-big);
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2090
2105
|
.lexoverlaybuttons .lexbutton a {
|
|
2091
2106
|
line-height: 19px;
|
|
2092
|
-
font-size: var(--global-font-size);
|
|
2107
|
+
font-size: var(--global-font-size-big);
|
|
2093
2108
|
}
|
|
2094
2109
|
|
|
2095
2110
|
.lexoverlaybuttons .lexbutton img {
|
|
@@ -2119,7 +2134,7 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
2119
2134
|
.lexoverlaybuttons .lexoverlaygroup {
|
|
2120
2135
|
display: flex;
|
|
2121
2136
|
margin-right: 6px;
|
|
2122
|
-
background-color: #
|
|
2137
|
+
background-color: #313132b5;
|
|
2123
2138
|
-webkit-backdrop-filter: blur(6px);
|
|
2124
2139
|
backdrop-filter: blur(6px);
|
|
2125
2140
|
border-radius: 8px;
|
|
@@ -2200,11 +2215,11 @@ meter::-webkit-meter-even-less-good-value {
|
|
|
2200
2215
|
}
|
|
2201
2216
|
|
|
2202
2217
|
.lexareatabs.row .lexareatab {
|
|
2203
|
-
background-color: var(--global-color-
|
|
2218
|
+
background-color: var(--global-color-terciary);
|
|
2204
2219
|
padding-left: 16px;
|
|
2205
2220
|
padding-right: 16px;
|
|
2206
2221
|
margin-right: 4px;
|
|
2207
|
-
border-radius:
|
|
2222
|
+
border-radius: 4px;
|
|
2208
2223
|
}
|
|
2209
2224
|
|
|
2210
2225
|
.lexareatabs.fit {
|