lexgui 8.2.1 → 8.2.3
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/BaseComponent.d.ts +75 -73
- package/build/components/Form.d.ts +14 -8
- package/build/components/TextInput.d.ts +13 -11
- package/build/core/Namespace.js +1 -1
- package/build/core/Namespace.js.map +1 -1
- package/build/extensions/AssetView.d.ts +1 -1
- package/build/extensions/AssetView.js +5 -5
- package/build/extensions/AssetView.js.map +1 -1
- package/build/extensions/Audio.js +163 -163
- package/build/extensions/Audio.js.map +1 -1
- package/build/extensions/CodeEditor.js +5054 -5054
- package/build/extensions/DocMaker.d.ts +28 -27
- package/build/extensions/DocMaker.js +49 -26
- package/build/extensions/DocMaker.js.map +1 -1
- package/build/extensions/Timeline.js +3948 -3948
- package/build/extensions/VideoEditor.d.ts +150 -150
- package/build/extensions/VideoEditor.js +1014 -1014
- package/build/lexgui.all.js +209 -120
- package/build/lexgui.all.js.map +1 -1
- package/build/lexgui.all.min.js +1 -1
- package/build/lexgui.all.module.js +209 -120
- package/build/lexgui.all.module.js.map +1 -1
- package/build/lexgui.all.module.min.js +1 -1
- package/build/lexgui.css +68 -54
- package/build/lexgui.js +153 -87
- package/build/lexgui.js.map +1 -1
- package/build/lexgui.min.css +2 -2
- package/build/lexgui.min.js +1 -1
- package/build/lexgui.module.js +153 -87
- package/build/lexgui.module.js.map +1 -1
- package/build/lexgui.module.min.js +1 -1
- package/changelog.md +29 -1
- package/demo.js +2 -2
- package/examples/all-components.html +16 -2
- package/examples/asset-view.html +1 -1
- package/examples/editor.html +8 -6
- package/examples/side-bar.html +3 -1
- package/package.json +1 -1
package/build/lexgui.css
CHANGED
|
@@ -2270,6 +2270,16 @@
|
|
|
2270
2270
|
opacity: 0%;
|
|
2271
2271
|
}
|
|
2272
2272
|
}
|
|
2273
|
+
.data-\[disabled\=true\]\:pointer-events-none {
|
|
2274
|
+
&[data-disabled="true"] {
|
|
2275
|
+
pointer-events: none;
|
|
2276
|
+
}
|
|
2277
|
+
}
|
|
2278
|
+
.data-\[disabled\=true\]\:opacity-50 {
|
|
2279
|
+
&[data-disabled="true"] {
|
|
2280
|
+
opacity: 50%;
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2273
2283
|
.sm\:w-full {
|
|
2274
2284
|
@media (width >= 40rem) {
|
|
2275
2285
|
width: 100%;
|
|
@@ -2798,6 +2808,9 @@ dialog::backdrop {
|
|
|
2798
2808
|
transform: translate3d(0, -8px, 0) scale3d(0.92, 0.92, 0.92) rotate(0);
|
|
2799
2809
|
}
|
|
2800
2810
|
}
|
|
2811
|
+
input:autofill, input:-webkit-autofill {
|
|
2812
|
+
transition: background-color 50000s ease-in-out 0s;
|
|
2813
|
+
}
|
|
2801
2814
|
body.nocursor * {
|
|
2802
2815
|
cursor: none !important;
|
|
2803
2816
|
}
|
|
@@ -2883,7 +2896,7 @@ svg {
|
|
|
2883
2896
|
height: 1rem;
|
|
2884
2897
|
stroke: currentColor;
|
|
2885
2898
|
display: block;
|
|
2886
|
-
&
|
|
2899
|
+
& * {
|
|
2887
2900
|
stroke: inherit;
|
|
2888
2901
|
}
|
|
2889
2902
|
}
|
|
@@ -2901,8 +2914,8 @@ a svg, svg path {
|
|
|
2901
2914
|
pointer-events: auto;
|
|
2902
2915
|
}
|
|
2903
2916
|
.lextoast {
|
|
2904
|
-
background-color: light-dark(var(--
|
|
2905
|
-
box-shadow: 0 2px
|
|
2917
|
+
background-color: light-dark(var(--muted), var(--secondary));
|
|
2918
|
+
box-shadow: 0 0px 6px 2px rgba(0, 0, 0, 0.15);
|
|
2906
2919
|
z-index: 3000;
|
|
2907
2920
|
transition: all 0.5s cubic-bezier(.42,.97,.52,1.19);
|
|
2908
2921
|
--element-offset: 0.5rem;
|
|
@@ -3331,6 +3344,15 @@ a svg, svg path {
|
|
|
3331
3344
|
margin: 0;
|
|
3332
3345
|
}
|
|
3333
3346
|
}
|
|
3347
|
+
.lexdropdownmenuitem.destructive {
|
|
3348
|
+
color: var(--destructive);
|
|
3349
|
+
}
|
|
3350
|
+
.lexdropdownmenuitem.destructive:hover {
|
|
3351
|
+
background-color: var(--destructive);
|
|
3352
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3353
|
+
background-color: color-mix(in oklab, var(--destructive) 15%, transparent);
|
|
3354
|
+
}
|
|
3355
|
+
}
|
|
3334
3356
|
.lexdropdownmenu .separator {
|
|
3335
3357
|
width: calc(100% + 0.4rem);
|
|
3336
3358
|
translate: -0.2rem 0;
|
|
@@ -4541,14 +4563,14 @@ input[type=number] {
|
|
|
4541
4563
|
place-items: center;
|
|
4542
4564
|
}
|
|
4543
4565
|
.lexcomponent .lexpad .lexinnerpad {
|
|
4544
|
-
border-radius:
|
|
4566
|
+
border-radius: 0.5rem;
|
|
4545
4567
|
background-color: light-dark(var(--secondary), var(--card));
|
|
4546
4568
|
}
|
|
4547
4569
|
.lexcomponent .lexpad .lexinnerpad .lexpadthumb {
|
|
4548
4570
|
background-color: var(--primary);
|
|
4549
4571
|
width: 10%;
|
|
4550
4572
|
height: 10%;
|
|
4551
|
-
border-radius:
|
|
4573
|
+
border-radius: 0.25rem;
|
|
4552
4574
|
transform: translate(0px, 0px);
|
|
4553
4575
|
}
|
|
4554
4576
|
.lexcomponent .lexpad .lexinnerpad .lexpadthumb.active {
|
|
@@ -5097,13 +5119,7 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
5097
5119
|
background-color: var(--secondary);
|
|
5098
5120
|
}
|
|
5099
5121
|
.lexsidebar.collapsing .lexsidebarheader {
|
|
5100
|
-
background-color: var(--
|
|
5101
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
5102
|
-
background-color: color-mix(in oklab, var(--primary) 50%, transparent);
|
|
5103
|
-
}
|
|
5104
|
-
}
|
|
5105
|
-
.lexsidebar.collapsing .lexsidebarheader svg path {
|
|
5106
|
-
color: #f4f4f4;
|
|
5122
|
+
background-color: var(--accent);
|
|
5107
5123
|
}
|
|
5108
5124
|
.lexsidebar .lexsidebarfooter:active, .lexsidebar .lexsidebarheader:active {
|
|
5109
5125
|
transform: scale(0.99);
|
|
@@ -5659,6 +5675,15 @@ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
|
|
|
5659
5675
|
position: relative;
|
|
5660
5676
|
pointer-events: none;
|
|
5661
5677
|
}
|
|
5678
|
+
.lexsidebarentrycontent.swap {
|
|
5679
|
+
place-self: start;
|
|
5680
|
+
& input {
|
|
5681
|
+
position: absolute;
|
|
5682
|
+
}
|
|
5683
|
+
& .swap-on {
|
|
5684
|
+
position: absolute;
|
|
5685
|
+
}
|
|
5686
|
+
}
|
|
5662
5687
|
.swap input {
|
|
5663
5688
|
pointer-events: auto;
|
|
5664
5689
|
cursor: pointer;
|
|
@@ -7451,22 +7476,21 @@ ul.lexassetscontent {
|
|
|
7451
7476
|
/* lexguidocs.css @jxarco */
|
|
7452
7477
|
|
|
7453
7478
|
:root {
|
|
7454
|
-
--border-style: 1px solid #444;
|
|
7455
7479
|
--panel-width: 300px;
|
|
7456
7480
|
--page-padding: 24px;
|
|
7457
7481
|
--max-width: 80%;
|
|
7458
|
-
--icon-size: 20px;
|
|
7459
7482
|
--stylish-color: light-dark(#e01291, #e2c886);
|
|
7460
7483
|
}
|
|
7461
7484
|
|
|
7462
|
-
|
|
7463
|
-
font-family:
|
|
7485
|
+
.lexdocs-content {
|
|
7486
|
+
font-family: var(--global-font);
|
|
7464
7487
|
tab-size: 4;
|
|
7465
7488
|
max-width: var(--max-width);
|
|
7466
7489
|
width: 95%;
|
|
7467
7490
|
height: auto;
|
|
7468
7491
|
margin: 0 auto;
|
|
7469
7492
|
padding: var(--page-padding);
|
|
7493
|
+
padding-bottom: 4rem;
|
|
7470
7494
|
word-break: break-word;
|
|
7471
7495
|
text-align: justify;
|
|
7472
7496
|
border-radius: 12px;
|
|
@@ -7476,11 +7500,19 @@ ul.lexassetscontent {
|
|
|
7476
7500
|
margin-block: 1rem;
|
|
7477
7501
|
}
|
|
7478
7502
|
|
|
7503
|
+
& :where(h1, h2, h3, h4) {
|
|
7504
|
+
letter-spacing: -1px;
|
|
7505
|
+
}
|
|
7506
|
+
|
|
7507
|
+
& p, & li {
|
|
7508
|
+
color: var(--secondary-foreground);
|
|
7509
|
+
}
|
|
7510
|
+
|
|
7479
7511
|
& h1 {
|
|
7480
|
-
font-size:
|
|
7512
|
+
font-size: 2rem;
|
|
7481
7513
|
line-height: 48px;
|
|
7482
7514
|
margin-left: -2px;
|
|
7483
|
-
|
|
7515
|
+
margin-block: 1rem;
|
|
7484
7516
|
font-optical-sizing: auto;
|
|
7485
7517
|
font-weight: 600;
|
|
7486
7518
|
font-style: normal;
|
|
@@ -7488,28 +7520,28 @@ ul.lexassetscontent {
|
|
|
7488
7520
|
}
|
|
7489
7521
|
|
|
7490
7522
|
& h2 {
|
|
7491
|
-
font-size:
|
|
7523
|
+
font-size: 1.6rem;
|
|
7492
7524
|
line-height: 36px;
|
|
7493
|
-
font-weight:
|
|
7525
|
+
font-weight: 600;
|
|
7494
7526
|
margin-left: -1px;
|
|
7495
7527
|
margin-block: 0.75em;
|
|
7496
7528
|
}
|
|
7497
7529
|
|
|
7498
7530
|
& h3 {
|
|
7499
|
-
font-size:
|
|
7531
|
+
font-size: 1.25rem;
|
|
7500
7532
|
line-height: 28px;
|
|
7501
|
-
font-weight:
|
|
7533
|
+
font-weight: 600;
|
|
7502
7534
|
margin-block: 0.75em;
|
|
7503
7535
|
}
|
|
7504
7536
|
}
|
|
7505
7537
|
|
|
7506
|
-
|
|
7538
|
+
.lexdocs-content .lexarea.docs {
|
|
7507
7539
|
margin-block: 1.5em;
|
|
7508
7540
|
width: 90% !important;
|
|
7509
7541
|
justify-self: center;
|
|
7510
7542
|
}
|
|
7511
7543
|
|
|
7512
|
-
|
|
7544
|
+
.lexdocs-content::-webkit-scrollbar {
|
|
7513
7545
|
display: none;
|
|
7514
7546
|
}
|
|
7515
7547
|
|
|
@@ -7541,7 +7573,7 @@ button.copied svg {
|
|
|
7541
7573
|
color: #42d065;
|
|
7542
7574
|
}
|
|
7543
7575
|
|
|
7544
|
-
|
|
7576
|
+
.lexdocs-content .lexpanel a, .lexdocs-content .lexarea a {
|
|
7545
7577
|
color: unset;
|
|
7546
7578
|
}
|
|
7547
7579
|
|
|
@@ -7591,17 +7623,17 @@ code.inline.desc {
|
|
|
7591
7623
|
font-size: 12px;
|
|
7592
7624
|
}
|
|
7593
7625
|
|
|
7594
|
-
|
|
7626
|
+
.lexdocs-content strong {
|
|
7595
7627
|
font-weight: 700;
|
|
7596
7628
|
}
|
|
7597
7629
|
|
|
7598
|
-
|
|
7630
|
+
.lexdocs-content a.permalink {
|
|
7599
7631
|
float: right;
|
|
7600
7632
|
margin-left: 5px;
|
|
7601
7633
|
display: none;
|
|
7602
7634
|
}
|
|
7603
7635
|
|
|
7604
|
-
|
|
7636
|
+
.lexdocs-content > img {
|
|
7605
7637
|
width: 100%;
|
|
7606
7638
|
/* margin: 16px calc(-1 * var(--page-padding)) ; */
|
|
7607
7639
|
border-radius: 4px;
|
|
@@ -7613,28 +7645,11 @@ code.inline.desc {
|
|
|
7613
7645
|
--panel-width: 360px;
|
|
7614
7646
|
--line-height: 28px;
|
|
7615
7647
|
--page-padding: 28px;
|
|
7616
|
-
--icon-size: 24px;
|
|
7617
7648
|
}
|
|
7618
7649
|
|
|
7619
|
-
|
|
7650
|
+
.lexdocs-content {
|
|
7620
7651
|
width: 100%;
|
|
7621
7652
|
}
|
|
7622
|
-
|
|
7623
|
-
#content h1 {
|
|
7624
|
-
font-size: 42px;
|
|
7625
|
-
line-height: 50px;
|
|
7626
|
-
}
|
|
7627
|
-
|
|
7628
|
-
#content h2 {
|
|
7629
|
-
font-size: 32px;
|
|
7630
|
-
line-height: 40px;
|
|
7631
|
-
}
|
|
7632
|
-
|
|
7633
|
-
#content h3 {
|
|
7634
|
-
font-size: 24px;
|
|
7635
|
-
line-height: 32px;
|
|
7636
|
-
}
|
|
7637
|
-
|
|
7638
7653
|
}
|
|
7639
7654
|
|
|
7640
7655
|
/* mobile */
|
|
@@ -7643,27 +7658,26 @@ code.inline.desc {
|
|
|
7643
7658
|
|
|
7644
7659
|
:root {
|
|
7645
7660
|
--page-padding: 16px;
|
|
7646
|
-
--icon-size: 20px;
|
|
7647
7661
|
}
|
|
7648
7662
|
|
|
7649
|
-
|
|
7663
|
+
.lexdocs-content {
|
|
7650
7664
|
padding: var(--page-padding);
|
|
7651
7665
|
}
|
|
7652
7666
|
|
|
7653
|
-
|
|
7667
|
+
.lexdocs-content h1 {
|
|
7654
7668
|
font-size: 28px;
|
|
7655
7669
|
line-height: 36px;
|
|
7656
7670
|
padding-right: 20px;
|
|
7657
7671
|
margin-top: 0;
|
|
7658
7672
|
}
|
|
7659
7673
|
|
|
7660
|
-
|
|
7674
|
+
.lexdocs-content h2 {
|
|
7661
7675
|
font-size: 24px;
|
|
7662
7676
|
line-height: 32px;
|
|
7663
7677
|
margin-top: 24px;
|
|
7664
7678
|
}
|
|
7665
7679
|
|
|
7666
|
-
|
|
7680
|
+
.lexdocs-content h3 {
|
|
7667
7681
|
font-size: 20px;
|
|
7668
7682
|
line-height: 28px;
|
|
7669
7683
|
}
|
|
@@ -7716,19 +7730,19 @@ code:has(.constructor) {
|
|
|
7716
7730
|
font-size: 21px;
|
|
7717
7731
|
}
|
|
7718
7732
|
|
|
7719
|
-
|
|
7733
|
+
.lexdocs-content span.solid {
|
|
7720
7734
|
border-radius: 8px;
|
|
7721
7735
|
padding: 2px;
|
|
7722
7736
|
padding-inline: 8px;
|
|
7723
7737
|
}
|
|
7724
7738
|
|
|
7725
|
-
|
|
7739
|
+
.lexdocs-content span.outline {
|
|
7726
7740
|
border-radius: 8px;
|
|
7727
7741
|
padding: 2px;
|
|
7728
7742
|
padding-inline: 8px;
|
|
7729
7743
|
}
|
|
7730
7744
|
|
|
7731
|
-
:root[data-mode="light"]
|
|
7745
|
+
:root[data-mode="light"] .lexdocs-content {
|
|
7732
7746
|
color: #202124;
|
|
7733
7747
|
}
|
|
7734
7748
|
|