lexgui 8.2.0 → 8.2.1
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/Avatar.d.ts +15 -15
- package/build/components/NodeTree.d.ts +51 -51
- package/build/components/Vector.d.ts +10 -10
- package/build/core/Event.d.ts +6 -6
- package/build/core/Namespace.js +1 -1
- package/build/core/Namespace.js.map +1 -1
- package/build/core/Panel.d.ts +538 -538
- package/build/extensions/AssetView.d.ts +137 -137
- package/build/extensions/AssetView.js +5 -6
- package/build/extensions/AssetView.js.map +1 -1
- package/build/extensions/CodeEditor.d.ts +358 -358
- package/build/extensions/CodeEditor.js +7 -7
- package/build/extensions/CodeEditor.js.map +1 -1
- package/build/extensions/DocMaker.js +1 -0
- package/build/extensions/DocMaker.js.map +1 -1
- package/build/extensions/GraphEditor.js +2754 -2754
- package/build/extensions/Timeline.d.ts +668 -668
- package/build/extensions/Timeline.js +2 -2
- package/build/extensions/Timeline.js.map +1 -1
- package/build/extensions/VideoEditor.d.ts +37 -15
- package/build/extensions/VideoEditor.js +287 -166
- package/build/extensions/VideoEditor.js.map +1 -1
- package/build/index.css.d.ts +3 -3
- package/build/index.d.ts +57 -57
- package/build/lexgui.all.js +327 -185
- package/build/lexgui.all.js.map +1 -1
- package/build/lexgui.all.min.js +1 -1
- package/build/lexgui.all.module.js +327 -185
- package/build/lexgui.all.module.js.map +1 -1
- package/build/lexgui.all.module.min.js +1 -1
- package/build/lexgui.css +213 -220
- package/build/lexgui.js +25 -4
- package/build/lexgui.js.map +1 -1
- package/build/lexgui.min.css +1 -1
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +25 -4
- package/build/lexgui.module.js.map +1 -1
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +23 -1
- package/examples/all-components.html +3 -4
- package/examples/code-editor.html +11 -0
- package/examples/dialogs.html +13 -2
- package/package.json +1 -1
package/build/lexgui.css
CHANGED
|
@@ -833,6 +833,9 @@
|
|
|
833
833
|
.min-w-5 {
|
|
834
834
|
min-width: calc(var(--spacing) * 5);
|
|
835
835
|
}
|
|
836
|
+
.min-w-fit {
|
|
837
|
+
min-width: fit-content;
|
|
838
|
+
}
|
|
836
839
|
.flex-auto {
|
|
837
840
|
flex: auto;
|
|
838
841
|
}
|
|
@@ -1575,6 +1578,12 @@
|
|
|
1575
1578
|
.bg-secondary-foreground {
|
|
1576
1579
|
background-color: var(--color-secondary-foreground);
|
|
1577
1580
|
}
|
|
1581
|
+
.bg-secondary\/50 {
|
|
1582
|
+
background-color: var(--color-secondary);
|
|
1583
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1584
|
+
background-color: color-mix(in oklab, var(--color-secondary) 50%, transparent);
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1578
1587
|
.bg-sky-50 {
|
|
1579
1588
|
background-color: var(--color-sky-50);
|
|
1580
1589
|
}
|
|
@@ -1911,15 +1920,36 @@
|
|
|
1911
1920
|
.pt-0 {
|
|
1912
1921
|
padding-top: calc(var(--spacing) * 0);
|
|
1913
1922
|
}
|
|
1923
|
+
.pt-1 {
|
|
1924
|
+
padding-top: calc(var(--spacing) * 1);
|
|
1925
|
+
}
|
|
1914
1926
|
.pt-8 {
|
|
1915
1927
|
padding-top: calc(var(--spacing) * 8);
|
|
1916
1928
|
}
|
|
1929
|
+
.pr-0 {
|
|
1930
|
+
padding-right: calc(var(--spacing) * 0);
|
|
1931
|
+
}
|
|
1932
|
+
.pr-4 {
|
|
1933
|
+
padding-right: calc(var(--spacing) * 4);
|
|
1934
|
+
}
|
|
1917
1935
|
.pb-0 {
|
|
1918
1936
|
padding-bottom: calc(var(--spacing) * 0);
|
|
1919
1937
|
}
|
|
1938
|
+
.pb-2 {
|
|
1939
|
+
padding-bottom: calc(var(--spacing) * 2);
|
|
1940
|
+
}
|
|
1920
1941
|
.pb-4 {
|
|
1921
1942
|
padding-bottom: calc(var(--spacing) * 4);
|
|
1922
1943
|
}
|
|
1944
|
+
.pl-0 {
|
|
1945
|
+
padding-left: calc(var(--spacing) * 0);
|
|
1946
|
+
}
|
|
1947
|
+
.pl-2 {
|
|
1948
|
+
padding-left: calc(var(--spacing) * 2);
|
|
1949
|
+
}
|
|
1950
|
+
.pl-4 {
|
|
1951
|
+
padding-left: calc(var(--spacing) * 4);
|
|
1952
|
+
}
|
|
1923
1953
|
.pl-8 {
|
|
1924
1954
|
padding-left: calc(var(--spacing) * 8);
|
|
1925
1955
|
}
|
|
@@ -2192,13 +2222,6 @@
|
|
|
2192
2222
|
}
|
|
2193
2223
|
}
|
|
2194
2224
|
}
|
|
2195
|
-
.hover\:bg-primary {
|
|
2196
|
-
&:hover {
|
|
2197
|
-
@media (hover: hover) {
|
|
2198
|
-
background-color: var(--color-primary);
|
|
2199
|
-
}
|
|
2200
|
-
}
|
|
2201
|
-
}
|
|
2202
2225
|
.hover\:bg-secondary {
|
|
2203
2226
|
&:hover {
|
|
2204
2227
|
@media (hover: hover) {
|
|
@@ -2285,11 +2308,21 @@
|
|
|
2285
2308
|
background-color: var(--color-blue-600);
|
|
2286
2309
|
}
|
|
2287
2310
|
}
|
|
2311
|
+
.dark\:bg-card {
|
|
2312
|
+
&:where(.dark, .dark *) {
|
|
2313
|
+
background-color: var(--color-card);
|
|
2314
|
+
}
|
|
2315
|
+
}
|
|
2288
2316
|
.dark\:bg-white {
|
|
2289
2317
|
&:where(.dark, .dark *) {
|
|
2290
2318
|
background-color: var(--color-white);
|
|
2291
2319
|
}
|
|
2292
2320
|
}
|
|
2321
|
+
.dark\:text-card-foreground {
|
|
2322
|
+
&:where(.dark, .dark *) {
|
|
2323
|
+
color: var(--color-card-foreground);
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
2293
2326
|
.\[\&_\.lexavatar\]\:ring-3 {
|
|
2294
2327
|
& .lexavatar {
|
|
2295
2328
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -2491,7 +2524,7 @@
|
|
|
2491
2524
|
--background: light-dark(#fafafa, #0a0a0a);
|
|
2492
2525
|
--background-blur: light-dark(#f7f7f7d8, #1f1f1fe7);
|
|
2493
2526
|
--foreground: light-dark(#0a0a0a, #fafafa);
|
|
2494
|
-
--card: light-dark(#
|
|
2527
|
+
--card: light-dark(#fafafa, #171717);
|
|
2495
2528
|
--card-foreground: light-dark(#0a0a0a, #fafafa);
|
|
2496
2529
|
--primary: light-dark(#171717, #fafafa);
|
|
2497
2530
|
--primary-foreground: light-dark(#fafafa, #171717);
|
|
@@ -3021,7 +3054,7 @@ a svg, svg path {
|
|
|
3021
3054
|
}
|
|
3022
3055
|
}
|
|
3023
3056
|
.lexdialog {
|
|
3024
|
-
box-shadow: 0 2px
|
|
3057
|
+
box-shadow: 0 2px 4px #10101059;
|
|
3025
3058
|
z-index: 101;
|
|
3026
3059
|
&:has(.lexselect) {
|
|
3027
3060
|
overflow: visible;
|
|
@@ -3029,7 +3062,7 @@ a svg, svg path {
|
|
|
3029
3062
|
}
|
|
3030
3063
|
.lexdialogtitle {
|
|
3031
3064
|
font-family: var(--global-title-font);
|
|
3032
|
-
text-shadow: 0px 1px
|
|
3065
|
+
text-shadow: 0px 1px 4px var(--border);
|
|
3033
3066
|
border-top-left-radius: 0.5rem;
|
|
3034
3067
|
border-top-right-radius: 0.5rem;
|
|
3035
3068
|
}
|
|
@@ -3089,12 +3122,6 @@ a svg, svg path {
|
|
|
3089
3122
|
opacity: 0;
|
|
3090
3123
|
transition: max-height 0.2s, opacity 0.2s, padding 0.2s;
|
|
3091
3124
|
}
|
|
3092
|
-
:root[data-mode="light"] .lexdialog {
|
|
3093
|
-
box-shadow: 0px 2px 6px #30303083;
|
|
3094
|
-
}
|
|
3095
|
-
:root[data-mode="light"] .lexdialogtitle {
|
|
3096
|
-
text-shadow: 0px 2px 2px #8d8d8d34;
|
|
3097
|
-
}
|
|
3098
3125
|
.lexcontainer.wrapper {
|
|
3099
3126
|
margin-left: auto;
|
|
3100
3127
|
margin-right: auto;
|
|
@@ -3350,7 +3377,7 @@ a svg, svg path {
|
|
|
3350
3377
|
.lexbranchtitle {
|
|
3351
3378
|
font-family: var(--global-title-font);
|
|
3352
3379
|
font-weight: 500;
|
|
3353
|
-
text-shadow: 0px 1px
|
|
3380
|
+
text-shadow: 0px 1px 4px var(--border);
|
|
3354
3381
|
letter-spacing: calc(var(--text-lg) * 0.025);
|
|
3355
3382
|
border-top-left-radius: 0.5rem;
|
|
3356
3383
|
border-top-right-radius: 0.5rem;
|
|
@@ -3358,15 +3385,14 @@ a svg, svg path {
|
|
|
3358
3385
|
}
|
|
3359
3386
|
.lexbranch.closed .lexbranchtitle {
|
|
3360
3387
|
background-color: inherit;
|
|
3388
|
+
border-bottom-left-radius: 0.5rem;
|
|
3389
|
+
border-bottom-right-radius: 0.5rem;
|
|
3361
3390
|
}
|
|
3362
3391
|
.lexbranch .branchicon {
|
|
3363
3392
|
font-size: var(--text-sm);
|
|
3364
3393
|
margin-right: 12px;
|
|
3365
3394
|
align-content: center;
|
|
3366
3395
|
}
|
|
3367
|
-
.lexbranch.last.closed .lexbranchtitle {
|
|
3368
|
-
margin-bottom: 6px;
|
|
3369
|
-
}
|
|
3370
3396
|
.lexbranch .switch-branch-button {
|
|
3371
3397
|
font-size: var(--text-sm);
|
|
3372
3398
|
transition: transform 0.15s ease-out;
|
|
@@ -3378,14 +3404,6 @@ a svg, svg path {
|
|
|
3378
3404
|
.lexbranch.closed .switch-branch-button {
|
|
3379
3405
|
transform: rotate(0deg);
|
|
3380
3406
|
}
|
|
3381
|
-
:root[data-mode="light"] .lexbranchtitle {
|
|
3382
|
-
color: var(--secondary-foreground);
|
|
3383
|
-
background-color: var(--secondary);
|
|
3384
|
-
text-shadow: 0px 2px 2px #e0e0e03a;
|
|
3385
|
-
}
|
|
3386
|
-
:root[data-mode="light"] .lexbranch.closed .lexbranchtitle {
|
|
3387
|
-
background-color: inherit;
|
|
3388
|
-
}
|
|
3389
3407
|
.lexcomponent {
|
|
3390
3408
|
transition: background-color 0.1s linear;
|
|
3391
3409
|
}
|
|
@@ -3678,12 +3696,6 @@ a svg, svg path {
|
|
|
3678
3696
|
--button-color: color-mix(in oklab, var(--success) 30%, transparent);
|
|
3679
3697
|
}
|
|
3680
3698
|
}
|
|
3681
|
-
:root[data-mode="light"] .lexbutton.success:hover {
|
|
3682
|
-
--button-color: var(--success);
|
|
3683
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3684
|
-
--button-color: color-mix(in oklab, var(--success)20%, transparent);
|
|
3685
|
-
}
|
|
3686
|
-
}
|
|
3687
3699
|
.lexbutton.warning {
|
|
3688
3700
|
--button-color: var(--warning);
|
|
3689
3701
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -3697,12 +3709,6 @@ a svg, svg path {
|
|
|
3697
3709
|
--button-color: color-mix(in oklab, var(--warning) 30%, transparent);
|
|
3698
3710
|
}
|
|
3699
3711
|
}
|
|
3700
|
-
:root[data-mode="light"] .lexbutton.warning:hover {
|
|
3701
|
-
--button-color: var(--warning);
|
|
3702
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3703
|
-
--button-color: color-mix(in oklab, var(--warning)20%, transparent);
|
|
3704
|
-
}
|
|
3705
|
-
}
|
|
3706
3712
|
.lexbutton.destructive {
|
|
3707
3713
|
--button-color: var(--destructive);
|
|
3708
3714
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -3716,13 +3722,7 @@ a svg, svg path {
|
|
|
3716
3722
|
--button-color: color-mix(in oklab, var(--destructive) 30%, transparent);
|
|
3717
3723
|
}
|
|
3718
3724
|
}
|
|
3719
|
-
|
|
3720
|
-
--button-color: var(--destructive);
|
|
3721
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3722
|
-
--button-color: color-mix(in oklab, var(--destructive)20%, transparent);
|
|
3723
|
-
}
|
|
3724
|
-
}
|
|
3725
|
-
.lexbutton.outline {
|
|
3725
|
+
.lexbutton.outline, .lexbutton.dashed {
|
|
3726
3726
|
border-color: var(--input);
|
|
3727
3727
|
--button-color: var(--input);
|
|
3728
3728
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -3731,34 +3731,22 @@ a svg, svg path {
|
|
|
3731
3731
|
--tw-shadow: 0 1px 2px 0 var(--tw-shadow-color, #0000000d);
|
|
3732
3732
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
3733
3733
|
}
|
|
3734
|
-
|
|
3735
|
-
|
|
3734
|
+
.lexbutton.dashed {
|
|
3735
|
+
border-width: 1px;
|
|
3736
|
+
border-style: dashed;
|
|
3736
3737
|
}
|
|
3737
|
-
.lexbutton.outline:hover {
|
|
3738
|
+
.lexbutton.outline:hover, .lexbutton.dashed:hover {
|
|
3738
3739
|
--button-color: var(--input);
|
|
3739
3740
|
@supports (color: color-mix(in lab, red, red)) {
|
|
3740
|
-
--button-color: color-mix(in oklab, var(--input)
|
|
3741
|
+
--button-color: color-mix(in oklab, var(--input) 60%, transparent);
|
|
3741
3742
|
}
|
|
3742
3743
|
}
|
|
3743
|
-
:root[data-mode="light"] .lexbutton.outline:hover {
|
|
3744
|
-
--button-color: var(--muted);
|
|
3745
|
-
color: var(--foreground);
|
|
3746
|
-
}
|
|
3747
|
-
.lexbutton.dashed {
|
|
3748
|
-
border-width: 1px;
|
|
3749
|
-
border-style: dashed;
|
|
3750
|
-
border-color: var(--input);
|
|
3751
|
-
}
|
|
3752
3744
|
.lexbutton.ghost:hover {
|
|
3753
3745
|
background-color: var(--muted);
|
|
3754
3746
|
@supports (color: color-mix(in lab, red, red)) {
|
|
3755
|
-
background-color: color-mix(in oklab, var(--muted)50%, transparent);
|
|
3747
|
+
background-color: color-mix(in oklab, var(--muted) 50%, transparent);
|
|
3756
3748
|
}
|
|
3757
3749
|
}
|
|
3758
|
-
:root[data-mode="light"] .lexbutton.ghost:hover {
|
|
3759
|
-
background-color: var(--muted);
|
|
3760
|
-
color: var(--foreground);
|
|
3761
|
-
}
|
|
3762
3750
|
.lexbutton.link {
|
|
3763
3751
|
color: var(--primary);
|
|
3764
3752
|
text-underline-offset: 4px;
|
|
@@ -6593,161 +6581,166 @@ ul.lexassetscontent {
|
|
|
6593
6581
|
:root[data-mode="light"] .lexcodescrollbar div:hover {
|
|
6594
6582
|
background-color: #5e5e5ea9 !important;
|
|
6595
6583
|
}
|
|
6596
|
-
:root[data-mode="light"]
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6644
|
-
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6584
|
+
:root[data-mode="light"] {
|
|
6585
|
+
& .cm-str {
|
|
6586
|
+
color: #c3470c;
|
|
6587
|
+
}
|
|
6588
|
+
& .cm-std {
|
|
6589
|
+
color: #a753c0;
|
|
6590
|
+
}
|
|
6591
|
+
& .cm-kwd {
|
|
6592
|
+
color: #006cff;
|
|
6593
|
+
}
|
|
6594
|
+
& .cm-com {
|
|
6595
|
+
color: #188038;
|
|
6596
|
+
}
|
|
6597
|
+
& .cm-typ.javascript {
|
|
6598
|
+
color: #0b9484;
|
|
6599
|
+
}
|
|
6600
|
+
& .cm-dec.javascript {
|
|
6601
|
+
color: #c5221f;
|
|
6602
|
+
}
|
|
6603
|
+
& .cm-sym.javascript {
|
|
6604
|
+
color: #333333;
|
|
6605
|
+
}
|
|
6606
|
+
& .cm-mtd.javascript {
|
|
6607
|
+
color: #1a54a7;
|
|
6608
|
+
}
|
|
6609
|
+
& .cm-bln.javascript {
|
|
6610
|
+
color: #510000;
|
|
6611
|
+
}
|
|
6612
|
+
& .cm-typ.c {
|
|
6613
|
+
color: #0b9484;
|
|
6614
|
+
}
|
|
6615
|
+
& .cm-bln.c {
|
|
6616
|
+
color: #333333;
|
|
6617
|
+
}
|
|
6618
|
+
& .cm-dec.c {
|
|
6619
|
+
color: #c5221f;
|
|
6620
|
+
}
|
|
6621
|
+
& .cm-sym.c {
|
|
6622
|
+
color: #333333;
|
|
6623
|
+
}
|
|
6624
|
+
& .cm-mtd.c {
|
|
6625
|
+
color: #1a54a7;
|
|
6626
|
+
}
|
|
6627
|
+
& .cm-ppc.c {
|
|
6628
|
+
color: #626262;
|
|
6629
|
+
}
|
|
6630
|
+
& .cm-typ.cpp {
|
|
6631
|
+
color: #0b9484;
|
|
6632
|
+
}
|
|
6633
|
+
& .cm-bln.cpp {
|
|
6634
|
+
color: #333333;
|
|
6635
|
+
}
|
|
6636
|
+
& .cm-dec.cpp {
|
|
6637
|
+
color: #c5221f;
|
|
6638
|
+
}
|
|
6639
|
+
& .cm-sym.cpp {
|
|
6640
|
+
color: #333333;
|
|
6641
|
+
}
|
|
6642
|
+
& .cm-mtd.cpp {
|
|
6643
|
+
color: #1a54a7;
|
|
6644
|
+
}
|
|
6645
|
+
& .cm-ppc.cpp {
|
|
6646
|
+
color: #626262;
|
|
6647
|
+
}
|
|
6648
|
+
& .cm-sym.cmake {
|
|
6649
|
+
color: #a753c0;
|
|
6650
|
+
}
|
|
6651
|
+
& .cm-kwd.css {
|
|
6652
|
+
color: #c49319;
|
|
6653
|
+
}
|
|
6654
|
+
& .cm-typ.css {
|
|
6655
|
+
color: #1a54a7;
|
|
6656
|
+
}
|
|
6657
|
+
& .cm-bln.css {
|
|
6658
|
+
color: #2194ce;
|
|
6659
|
+
}
|
|
6660
|
+
& .cm-dec.css {
|
|
6661
|
+
color: #c5221f;
|
|
6662
|
+
}
|
|
6663
|
+
& .cm-sym.css {
|
|
6664
|
+
color: #a753c0;
|
|
6665
|
+
}
|
|
6666
|
+
& .cm-dec.json {
|
|
6667
|
+
color: #c5221f;
|
|
6668
|
+
}
|
|
6669
|
+
& .cm-sym.json {
|
|
6670
|
+
color: #a753c0;
|
|
6671
|
+
}
|
|
6672
|
+
& .cm-typ.glsl {
|
|
6673
|
+
color: #0b9484;
|
|
6674
|
+
}
|
|
6675
|
+
& .cm-dec.glsl {
|
|
6676
|
+
color: #c5221f;
|
|
6677
|
+
}
|
|
6678
|
+
& .cm-mtd.glsl {
|
|
6679
|
+
color: #1a54a7;
|
|
6680
|
+
}
|
|
6681
|
+
& .cm-sym.glsl {
|
|
6682
|
+
color: #a753c0;
|
|
6683
|
+
}
|
|
6684
|
+
& .cm-typ.wgsl {
|
|
6685
|
+
color: #0b9484;
|
|
6686
|
+
}
|
|
6687
|
+
& .cm-dec.wgsl {
|
|
6688
|
+
color: #c5221f;
|
|
6689
|
+
}
|
|
6690
|
+
& .cm-mtd.wgsl {
|
|
6691
|
+
color: #1a54a7;
|
|
6692
|
+
}
|
|
6693
|
+
& .cm-sym.wgsl {
|
|
6694
|
+
color: #a753c0;
|
|
6695
|
+
}
|
|
6696
|
+
& .cm-ppc.wgsl {
|
|
6697
|
+
color: #626262;
|
|
6698
|
+
}
|
|
6699
|
+
& .cm-typ.rust {
|
|
6700
|
+
color: #0b9484;
|
|
6701
|
+
}
|
|
6702
|
+
& .cm-dec.rust {
|
|
6703
|
+
color: #c5221f;
|
|
6704
|
+
}
|
|
6705
|
+
& .cm-sym.rust {
|
|
6706
|
+
color: #333333;
|
|
6707
|
+
}
|
|
6708
|
+
& .cm-mtd.rust {
|
|
6709
|
+
color: #1a54a7;
|
|
6710
|
+
}
|
|
6711
|
+
& .cm-typ.python {
|
|
6712
|
+
color: #0b9484;
|
|
6713
|
+
}
|
|
6714
|
+
& .cm-dec.python {
|
|
6715
|
+
color: #c5221f;
|
|
6716
|
+
}
|
|
6717
|
+
& .cm-sym.python {
|
|
6718
|
+
color: #333333;
|
|
6719
|
+
}
|
|
6720
|
+
& .cm-mtd.python {
|
|
6721
|
+
color: #1a54a7;
|
|
6722
|
+
}
|
|
6723
|
+
& .cm-dec.batch {
|
|
6724
|
+
color: #c5221f;
|
|
6725
|
+
}
|
|
6726
|
+
& .cm-sym.batch {
|
|
6727
|
+
color: #a753c0;
|
|
6728
|
+
}
|
|
6729
|
+
& .cm-bln.html {
|
|
6730
|
+
color: #1a54a7;
|
|
6731
|
+
}
|
|
6732
|
+
& .cm-sym.html {
|
|
6733
|
+
color: #696969;
|
|
6734
|
+
}
|
|
6735
|
+
& .cm-bln.xml {
|
|
6736
|
+
color: #a1d2f0;
|
|
6737
|
+
}
|
|
6738
|
+
& .cm-sym.xml {
|
|
6739
|
+
color: #929292;
|
|
6740
|
+
}
|
|
6741
|
+
& .cm-bln.markdown {
|
|
6742
|
+
color: #a1d2f0;
|
|
6743
|
+
}
|
|
6751
6744
|
}
|
|
6752
6745
|
.lexgraph {
|
|
6753
6746
|
overflow: hidden;
|
package/build/lexgui.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
exports.LX = g.LX;
|
|
17
17
|
if (!exports.LX) {
|
|
18
18
|
exports.LX = {
|
|
19
|
-
version: '8.2',
|
|
19
|
+
version: '8.2.1',
|
|
20
20
|
ready: false,
|
|
21
21
|
extensions: [], // Store extensions used
|
|
22
22
|
extraCommandbarEntries: [], // User specific entries for command bar
|
|
@@ -7619,14 +7619,14 @@
|
|
|
7619
7619
|
if (options.id) {
|
|
7620
7620
|
root.id = options.id;
|
|
7621
7621
|
}
|
|
7622
|
-
root.className = exports.LX.mergeClass('lexbranch w-full rounded-lg my-0 mx-auto', options.className);
|
|
7622
|
+
root.className = exports.LX.mergeClass('lexbranch bg-secondary/50 dark:bg-card text-secondary-foreground dark:text-card-foreground w-full rounded-lg my-0 mx-auto', options.className);
|
|
7623
7623
|
var that = this;
|
|
7624
7624
|
this.closed = options.closed ?? false;
|
|
7625
7625
|
this.root = root;
|
|
7626
7626
|
this.components = [];
|
|
7627
7627
|
this.panel = null;
|
|
7628
7628
|
// Create element
|
|
7629
|
-
const title = exports.LX.makeElement('div', 'lexbranchtitle flex cursor-pointer select-none pad-lg
|
|
7629
|
+
const title = exports.LX.makeElement('div', 'lexbranchtitle flex cursor-pointer select-none pad-lg text-lg', '', root);
|
|
7630
7630
|
if (options.icon) {
|
|
7631
7631
|
const branchIcon = exports.LX.makeIcon(options.icon, { iconClass: 'mr-2' });
|
|
7632
7632
|
title.appendChild(branchIcon);
|
|
@@ -7634,7 +7634,7 @@
|
|
|
7634
7634
|
title.innerHTML += name || 'Branch';
|
|
7635
7635
|
const collapseIcon = exports.LX.makeIcon('Right', { iconClass: 'switch-branch-button', svgClass: 'sm' });
|
|
7636
7636
|
title.appendChild(collapseIcon);
|
|
7637
|
-
var branchContent = exports.LX.makeElement('div', 'lexbranchcontent pad-xs
|
|
7637
|
+
var branchContent = exports.LX.makeElement('div', 'lexbranchcontent pad-xs', '', root);
|
|
7638
7638
|
branchContent.id = name.replace(/\s/g, '');
|
|
7639
7639
|
this.content = branchContent;
|
|
7640
7640
|
this._addBranchSeparator();
|
|
@@ -13443,6 +13443,27 @@
|
|
|
13443
13443
|
}
|
|
13444
13444
|
exports.LX.signals[name].push(obj);
|
|
13445
13445
|
};
|
|
13446
|
+
/**
|
|
13447
|
+
* @method removeSignal
|
|
13448
|
+
* @param {String} name
|
|
13449
|
+
* @param {Object} targetObj
|
|
13450
|
+
*/
|
|
13451
|
+
exports.LX.removeSignal = function (name, targetObj) {
|
|
13452
|
+
const data = exports.LX.signals[name];
|
|
13453
|
+
if (!data) {
|
|
13454
|
+
return;
|
|
13455
|
+
}
|
|
13456
|
+
if (!targetObj) {
|
|
13457
|
+
delete exports.LX.signals[name];
|
|
13458
|
+
return;
|
|
13459
|
+
}
|
|
13460
|
+
for (let i = 0; i < data.length; ++i) {
|
|
13461
|
+
if (data[i] == targetObj) {
|
|
13462
|
+
data.splice(i, 1);
|
|
13463
|
+
break;
|
|
13464
|
+
}
|
|
13465
|
+
}
|
|
13466
|
+
};
|
|
13446
13467
|
/**
|
|
13447
13468
|
* @method emitSignal
|
|
13448
13469
|
* @param {String} name
|