@orangecatai/adgen-canvas 0.0.5 → 0.0.6
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/dist/dev/{chunk-IRIUFXMO.js → chunk-7QYIG5FZ.js} +2 -2
- package/dist/dev/{chunk-3FGOYDLK.js → chunk-CEENA34D.js} +15 -3
- package/dist/dev/{chunk-3FGOYDLK.js.map → chunk-CEENA34D.js.map} +2 -2
- package/dist/dev/data/{image-HH4XNQRO.js → image-YK44DYB7.js} +3 -3
- package/dist/dev/index.css +509 -17
- package/dist/dev/index.css.map +3 -3
- package/dist/dev/index.js +2530 -1282
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-LUZI7MFZ.js → chunk-GCPOY3UH.js} +3 -3
- package/dist/prod/{chunk-SG4RCQVC.js → chunk-R5LMMFAL.js} +1 -1
- package/dist/prod/data/image-XZPNP25M.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +37 -37
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/excalidraw/components/AIChatPanel.d.ts +17 -0
- package/dist/types/excalidraw/components/CanvasBackgroundSwatch.d.ts +7 -0
- package/dist/types/excalidraw/components/ColorPicker/AdvancedColorPicker.d.ts +8 -0
- package/dist/types/excalidraw/components/ColorPicker/colorConversions.d.ts +27 -0
- package/dist/types/excalidraw/components/ImageEditToolbar.d.ts +15 -0
- package/dist/types/excalidraw/components/ImageQuickEditPanel.d.ts +5 -1
- package/dist/types/excalidraw/components/ai-chat/agentLoop.d.ts +2 -0
- package/dist/types/excalidraw/components/ai-chat/audioUtils.d.ts +1 -1
- package/dist/types/excalidraw/components/ai-chat/canvasTools.d.ts +2 -0
- package/dist/types/excalidraw/components/icons.d.ts +1 -0
- package/dist/types/excalidraw/index.d.ts +1 -0
- package/dist/types/excalidraw/types.d.ts +42 -0
- package/dist/types/excalidraw/utils/leonardoApiKey.d.ts +1 -0
- package/dist/types/excalidraw/utils/removeBgApiKey.d.ts +1 -0
- package/package.json +1 -1
- package/dist/prod/data/image-J2ZJZU4A.js +0 -1
- /package/dist/dev/{chunk-IRIUFXMO.js.map → chunk-7QYIG5FZ.js.map} +0 -0
- /package/dist/dev/data/{image-HH4XNQRO.js.map → image-YK44DYB7.js.map} +0 -0
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
decodePngMetadata,
|
|
3
3
|
encodePngMetadata,
|
|
4
4
|
getTEXtChunk
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-CEENA34D.js";
|
|
6
|
+
import "../chunk-7QYIG5FZ.js";
|
|
7
7
|
import "../chunk-XDFCUUT6.js";
|
|
8
8
|
export {
|
|
9
9
|
decodePngMetadata,
|
|
10
10
|
encodePngMetadata,
|
|
11
11
|
getTEXtChunk
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=image-
|
|
13
|
+
//# sourceMappingURL=image-YK44DYB7.js.map
|
package/dist/dev/index.css
CHANGED
|
@@ -3508,11 +3508,25 @@
|
|
|
3508
3508
|
.excalidraw .igp input[type=file] {
|
|
3509
3509
|
display: none !important;
|
|
3510
3510
|
}
|
|
3511
|
-
.excalidraw .igp textarea,
|
|
3512
3511
|
.excalidraw .igp input[type=text] {
|
|
3513
3512
|
all: unset !important;
|
|
3514
3513
|
box-sizing: border-box !important;
|
|
3515
3514
|
}
|
|
3515
|
+
.excalidraw .igp textarea {
|
|
3516
|
+
margin: 0 !important;
|
|
3517
|
+
padding: 0 !important;
|
|
3518
|
+
border: none !important;
|
|
3519
|
+
background: transparent !important;
|
|
3520
|
+
font: inherit !important;
|
|
3521
|
+
color: inherit !important;
|
|
3522
|
+
letter-spacing: inherit !important;
|
|
3523
|
+
word-spacing: inherit !important;
|
|
3524
|
+
text-transform: none !important;
|
|
3525
|
+
text-indent: 0 !important;
|
|
3526
|
+
text-shadow: none !important;
|
|
3527
|
+
text-align: start !important;
|
|
3528
|
+
box-sizing: border-box !important;
|
|
3529
|
+
}
|
|
3516
3530
|
.excalidraw .igp button {
|
|
3517
3531
|
all: unset !important;
|
|
3518
3532
|
box-sizing: border-box !important;
|
|
@@ -3530,9 +3544,7 @@
|
|
|
3530
3544
|
.excalidraw .igp .igp-textarea {
|
|
3531
3545
|
display: block !important;
|
|
3532
3546
|
width: 100% !important;
|
|
3533
|
-
min-height:
|
|
3534
|
-
max-height: 180px !important;
|
|
3535
|
-
overflow-y: auto !important;
|
|
3547
|
+
min-height: 72px !important;
|
|
3536
3548
|
resize: none !important;
|
|
3537
3549
|
padding: 14px 16px 8px !important;
|
|
3538
3550
|
font-family: inherit !important;
|
|
@@ -3544,6 +3556,7 @@
|
|
|
3544
3556
|
outline: none !important;
|
|
3545
3557
|
box-shadow: none !important;
|
|
3546
3558
|
-webkit-appearance: none !important;
|
|
3559
|
+
appearance: none !important;
|
|
3547
3560
|
}
|
|
3548
3561
|
.excalidraw .igp .igp-textarea::placeholder {
|
|
3549
3562
|
color: #b8b8b8 !important;
|
|
@@ -3804,6 +3817,155 @@
|
|
|
3804
3817
|
color: var(--text-secondary-color, #aaa);
|
|
3805
3818
|
}
|
|
3806
3819
|
|
|
3820
|
+
/* components/ImageEditToolbar.scss */
|
|
3821
|
+
.excalidraw .iet {
|
|
3822
|
+
position: absolute;
|
|
3823
|
+
transform: translateX(-50%);
|
|
3824
|
+
z-index: 10;
|
|
3825
|
+
pointer-events: auto;
|
|
3826
|
+
}
|
|
3827
|
+
.excalidraw .iet__bar {
|
|
3828
|
+
display: flex;
|
|
3829
|
+
align-items: center;
|
|
3830
|
+
gap: 2px;
|
|
3831
|
+
background: var(--island-bg-color, #fff);
|
|
3832
|
+
border-radius: 24px;
|
|
3833
|
+
padding: 4px 6px;
|
|
3834
|
+
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
|
|
3835
|
+
white-space: nowrap;
|
|
3836
|
+
}
|
|
3837
|
+
.excalidraw .iet__tool-btn {
|
|
3838
|
+
display: flex;
|
|
3839
|
+
align-items: center;
|
|
3840
|
+
gap: 5px;
|
|
3841
|
+
padding: 6px 10px;
|
|
3842
|
+
border: none;
|
|
3843
|
+
background: none;
|
|
3844
|
+
cursor: pointer;
|
|
3845
|
+
border-radius: 16px;
|
|
3846
|
+
font-size: 12px;
|
|
3847
|
+
font-weight: 500;
|
|
3848
|
+
color: var(--text-primary-color, #333);
|
|
3849
|
+
transition: background 0.12s;
|
|
3850
|
+
white-space: nowrap;
|
|
3851
|
+
font-family: inherit;
|
|
3852
|
+
position: relative;
|
|
3853
|
+
}
|
|
3854
|
+
.excalidraw .iet__tool-btn svg {
|
|
3855
|
+
flex-shrink: 0;
|
|
3856
|
+
color: var(--icon-fill-color, #555);
|
|
3857
|
+
}
|
|
3858
|
+
.excalidraw .iet__tool-btn:hover {
|
|
3859
|
+
background: var(--color-surface-low, #f0f0f0);
|
|
3860
|
+
}
|
|
3861
|
+
.excalidraw .iet__tool-btn:active {
|
|
3862
|
+
background: var(--color-surface-mid, #e5e5e5);
|
|
3863
|
+
}
|
|
3864
|
+
.excalidraw .iet__tool-btn:disabled {
|
|
3865
|
+
cursor: not-allowed;
|
|
3866
|
+
opacity: 0.55;
|
|
3867
|
+
}
|
|
3868
|
+
.excalidraw .iet__tool-label {
|
|
3869
|
+
font-size: 12px;
|
|
3870
|
+
line-height: 1;
|
|
3871
|
+
}
|
|
3872
|
+
.excalidraw .iet__tool-badge {
|
|
3873
|
+
display: inline-flex;
|
|
3874
|
+
align-items: center;
|
|
3875
|
+
justify-content: center;
|
|
3876
|
+
font-size: 9px;
|
|
3877
|
+
font-weight: 600;
|
|
3878
|
+
padding: 1px 4px;
|
|
3879
|
+
border-radius: 4px;
|
|
3880
|
+
background: var(--color-surface-mid, #e8e8e8);
|
|
3881
|
+
color: var(--text-primary-color, #555);
|
|
3882
|
+
line-height: 1.2;
|
|
3883
|
+
}
|
|
3884
|
+
.excalidraw .iet__overflow-wrapper {
|
|
3885
|
+
position: relative;
|
|
3886
|
+
}
|
|
3887
|
+
.excalidraw .iet__overflow-trigger {
|
|
3888
|
+
padding: 6px 8px;
|
|
3889
|
+
}
|
|
3890
|
+
.excalidraw .iet__notification-dot {
|
|
3891
|
+
position: absolute;
|
|
3892
|
+
top: 4px;
|
|
3893
|
+
right: 4px;
|
|
3894
|
+
width: 6px;
|
|
3895
|
+
height: 6px;
|
|
3896
|
+
border-radius: 50%;
|
|
3897
|
+
background: #ef4444;
|
|
3898
|
+
}
|
|
3899
|
+
.excalidraw .iet__overflow-menu {
|
|
3900
|
+
position: absolute;
|
|
3901
|
+
top: calc(100% + 6px);
|
|
3902
|
+
right: 0;
|
|
3903
|
+
background: var(--island-bg-color, #fff);
|
|
3904
|
+
border-radius: 12px;
|
|
3905
|
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.06);
|
|
3906
|
+
padding: 6px;
|
|
3907
|
+
min-width: 160px;
|
|
3908
|
+
z-index: 100;
|
|
3909
|
+
}
|
|
3910
|
+
.excalidraw .iet__overflow-item {
|
|
3911
|
+
display: flex;
|
|
3912
|
+
align-items: center;
|
|
3913
|
+
gap: 8px;
|
|
3914
|
+
width: 100%;
|
|
3915
|
+
padding: 8px 12px;
|
|
3916
|
+
border: none;
|
|
3917
|
+
background: none;
|
|
3918
|
+
cursor: pointer;
|
|
3919
|
+
border-radius: 8px;
|
|
3920
|
+
font-size: 13px;
|
|
3921
|
+
font-weight: 500;
|
|
3922
|
+
color: var(--text-primary-color, #333);
|
|
3923
|
+
font-family: inherit;
|
|
3924
|
+
transition: background 0.1s;
|
|
3925
|
+
}
|
|
3926
|
+
.excalidraw .iet__overflow-item svg {
|
|
3927
|
+
flex-shrink: 0;
|
|
3928
|
+
color: var(--icon-fill-color, #555);
|
|
3929
|
+
}
|
|
3930
|
+
.excalidraw .iet__overflow-item:hover {
|
|
3931
|
+
background: var(--color-surface-low, #f5f5f5);
|
|
3932
|
+
}
|
|
3933
|
+
.excalidraw .iet__overflow-item span:first-of-type {
|
|
3934
|
+
flex: 1;
|
|
3935
|
+
text-align: left;
|
|
3936
|
+
}
|
|
3937
|
+
.excalidraw .iet__overflow-badge {
|
|
3938
|
+
font-size: 11px;
|
|
3939
|
+
color: var(--icon-fill-color, #999);
|
|
3940
|
+
display: flex;
|
|
3941
|
+
align-items: center;
|
|
3942
|
+
gap: 2px;
|
|
3943
|
+
}
|
|
3944
|
+
.excalidraw .iet__divider {
|
|
3945
|
+
width: 1px;
|
|
3946
|
+
height: 20px;
|
|
3947
|
+
background: var(--color-gray-30, #ddd);
|
|
3948
|
+
margin: 0 4px;
|
|
3949
|
+
flex-shrink: 0;
|
|
3950
|
+
}
|
|
3951
|
+
.excalidraw .iet__download-btn {
|
|
3952
|
+
padding: 6px 8px;
|
|
3953
|
+
}
|
|
3954
|
+
.excalidraw .iet__status {
|
|
3955
|
+
margin-top: 8px;
|
|
3956
|
+
border-radius: 12px;
|
|
3957
|
+
background: var(--island-bg-color, #fff);
|
|
3958
|
+
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
|
|
3959
|
+
color: var(--text-primary-color, #333);
|
|
3960
|
+
font-size: 12px;
|
|
3961
|
+
line-height: 1.35;
|
|
3962
|
+
padding: 8px 10px;
|
|
3963
|
+
max-width: 320px;
|
|
3964
|
+
}
|
|
3965
|
+
.excalidraw .iet__status--error {
|
|
3966
|
+
color: var(--color-danger, #c62828);
|
|
3967
|
+
}
|
|
3968
|
+
|
|
3807
3969
|
/* components/Popover.scss */
|
|
3808
3970
|
.excalidraw .popover {
|
|
3809
3971
|
position: absolute;
|
|
@@ -4234,6 +4396,314 @@
|
|
|
4234
4396
|
max-height: 50vh;
|
|
4235
4397
|
}
|
|
4236
4398
|
|
|
4399
|
+
/* components/ColorPicker/AdvancedColorPicker.scss */
|
|
4400
|
+
.excalidraw .adv-cp {
|
|
4401
|
+
display: flex;
|
|
4402
|
+
flex-direction: column;
|
|
4403
|
+
gap: 12px;
|
|
4404
|
+
user-select: none;
|
|
4405
|
+
-webkit-user-select: none;
|
|
4406
|
+
}
|
|
4407
|
+
.excalidraw .adv-cp__saturation {
|
|
4408
|
+
position: relative;
|
|
4409
|
+
width: 100%;
|
|
4410
|
+
aspect-ratio: 1.35/1;
|
|
4411
|
+
border-radius: 10px;
|
|
4412
|
+
overflow: hidden;
|
|
4413
|
+
cursor: crosshair;
|
|
4414
|
+
touch-action: none;
|
|
4415
|
+
}
|
|
4416
|
+
.excalidraw .adv-cp__saturation-white {
|
|
4417
|
+
position: absolute;
|
|
4418
|
+
inset: 0;
|
|
4419
|
+
background:
|
|
4420
|
+
linear-gradient(
|
|
4421
|
+
to right,
|
|
4422
|
+
#fff,
|
|
4423
|
+
transparent);
|
|
4424
|
+
border-radius: inherit;
|
|
4425
|
+
}
|
|
4426
|
+
.excalidraw .adv-cp__saturation-black {
|
|
4427
|
+
position: absolute;
|
|
4428
|
+
inset: 0;
|
|
4429
|
+
background:
|
|
4430
|
+
linear-gradient(
|
|
4431
|
+
to bottom,
|
|
4432
|
+
transparent,
|
|
4433
|
+
#000);
|
|
4434
|
+
border-radius: inherit;
|
|
4435
|
+
}
|
|
4436
|
+
.excalidraw .adv-cp__handle {
|
|
4437
|
+
position: absolute;
|
|
4438
|
+
width: 18px;
|
|
4439
|
+
height: 18px;
|
|
4440
|
+
border-radius: 50%;
|
|
4441
|
+
border: 2.5px solid #fff;
|
|
4442
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.18);
|
|
4443
|
+
transform: translate(-50%, -50%);
|
|
4444
|
+
pointer-events: none;
|
|
4445
|
+
z-index: 2;
|
|
4446
|
+
}
|
|
4447
|
+
.excalidraw .adv-cp__slider {
|
|
4448
|
+
position: relative;
|
|
4449
|
+
width: 100%;
|
|
4450
|
+
height: 14px;
|
|
4451
|
+
border-radius: 7px;
|
|
4452
|
+
cursor: pointer;
|
|
4453
|
+
touch-action: none;
|
|
4454
|
+
}
|
|
4455
|
+
.excalidraw .adv-cp__slider-handle {
|
|
4456
|
+
position: absolute;
|
|
4457
|
+
top: 50%;
|
|
4458
|
+
width: 18px;
|
|
4459
|
+
height: 18px;
|
|
4460
|
+
border-radius: 50%;
|
|
4461
|
+
border: 2.5px solid #fff;
|
|
4462
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.15);
|
|
4463
|
+
transform: translate(-50%, -50%);
|
|
4464
|
+
pointer-events: none;
|
|
4465
|
+
z-index: 2;
|
|
4466
|
+
}
|
|
4467
|
+
.excalidraw .adv-cp__hue-slider {
|
|
4468
|
+
background:
|
|
4469
|
+
linear-gradient(
|
|
4470
|
+
to right,
|
|
4471
|
+
hsl(0, 100%, 50%),
|
|
4472
|
+
hsl(30, 100%, 50%),
|
|
4473
|
+
hsl(60, 100%, 50%),
|
|
4474
|
+
hsl(90, 100%, 50%),
|
|
4475
|
+
hsl(120, 100%, 50%),
|
|
4476
|
+
hsl(150, 100%, 50%),
|
|
4477
|
+
hsl(180, 100%, 50%),
|
|
4478
|
+
hsl(210, 100%, 50%),
|
|
4479
|
+
hsl(240, 100%, 50%),
|
|
4480
|
+
hsl(270, 100%, 50%),
|
|
4481
|
+
hsl(300, 100%, 50%),
|
|
4482
|
+
hsl(330, 100%, 50%),
|
|
4483
|
+
hsl(0, 100%, 50%));
|
|
4484
|
+
}
|
|
4485
|
+
.excalidraw .adv-cp__alpha-slider {
|
|
4486
|
+
overflow: hidden;
|
|
4487
|
+
}
|
|
4488
|
+
.excalidraw .adv-cp__alpha-checker {
|
|
4489
|
+
position: absolute;
|
|
4490
|
+
inset: 0;
|
|
4491
|
+
border-radius: inherit;
|
|
4492
|
+
background-image: repeating-conic-gradient(#d0d0d0 0% 25%, #fff 0% 50%);
|
|
4493
|
+
background-size: 10px 10px;
|
|
4494
|
+
}
|
|
4495
|
+
.excalidraw .adv-cp__alpha-gradient {
|
|
4496
|
+
position: absolute;
|
|
4497
|
+
inset: 0;
|
|
4498
|
+
border-radius: inherit;
|
|
4499
|
+
}
|
|
4500
|
+
.excalidraw .adv-cp__presets {
|
|
4501
|
+
display: flex;
|
|
4502
|
+
gap: 10px;
|
|
4503
|
+
justify-content: flex-start;
|
|
4504
|
+
flex-wrap: wrap;
|
|
4505
|
+
}
|
|
4506
|
+
.excalidraw .adv-cp__preset-btn {
|
|
4507
|
+
position: relative;
|
|
4508
|
+
width: 32px;
|
|
4509
|
+
height: 32px;
|
|
4510
|
+
border-radius: 50%;
|
|
4511
|
+
border: 2px solid var(--color-gray-30, #d9d9d9);
|
|
4512
|
+
cursor: pointer;
|
|
4513
|
+
padding: 0;
|
|
4514
|
+
box-sizing: border-box;
|
|
4515
|
+
transition: box-shadow 0.15s, transform 0.1s;
|
|
4516
|
+
overflow: hidden;
|
|
4517
|
+
background: none;
|
|
4518
|
+
}
|
|
4519
|
+
.excalidraw .adv-cp__preset-btn:hover {
|
|
4520
|
+
transform: scale(1.08);
|
|
4521
|
+
}
|
|
4522
|
+
.excalidraw .adv-cp__preset-btn.active {
|
|
4523
|
+
box-shadow: 0 0 0 2px var(--color-primary, #6965db);
|
|
4524
|
+
}
|
|
4525
|
+
.excalidraw .adv-cp__preset-btn.is-transparent {
|
|
4526
|
+
background-image: repeating-conic-gradient(#d0d0d0 0% 25%, #fff 0% 50%);
|
|
4527
|
+
background-size: 8px 8px;
|
|
4528
|
+
}
|
|
4529
|
+
.excalidraw .adv-cp__preset-slash {
|
|
4530
|
+
position: absolute;
|
|
4531
|
+
top: 50%;
|
|
4532
|
+
left: 50%;
|
|
4533
|
+
width: 130%;
|
|
4534
|
+
height: 2px;
|
|
4535
|
+
background: #e03131;
|
|
4536
|
+
transform: translate(-50%, -50%) rotate(-45deg);
|
|
4537
|
+
pointer-events: none;
|
|
4538
|
+
}
|
|
4539
|
+
.excalidraw .adv-cp__inputs {
|
|
4540
|
+
display: flex;
|
|
4541
|
+
gap: 8px;
|
|
4542
|
+
}
|
|
4543
|
+
.excalidraw .adv-cp__hex-input {
|
|
4544
|
+
display: flex;
|
|
4545
|
+
align-items: center;
|
|
4546
|
+
flex: 1;
|
|
4547
|
+
border: 1px solid var(--default-border-color, #e0e0e0);
|
|
4548
|
+
border-radius: 8px;
|
|
4549
|
+
padding: 0 10px;
|
|
4550
|
+
height: 36px;
|
|
4551
|
+
box-sizing: border-box;
|
|
4552
|
+
background: var(--island-bg-color, #fff);
|
|
4553
|
+
}
|
|
4554
|
+
.excalidraw .adv-cp__hex-input:focus-within {
|
|
4555
|
+
box-shadow: 0 0 0 1px var(--color-primary-darkest, #5b57d1);
|
|
4556
|
+
}
|
|
4557
|
+
.excalidraw .adv-cp__hex-input input {
|
|
4558
|
+
flex: 1;
|
|
4559
|
+
min-width: 0;
|
|
4560
|
+
margin: 0;
|
|
4561
|
+
padding: 0;
|
|
4562
|
+
border: 0;
|
|
4563
|
+
outline: none;
|
|
4564
|
+
box-shadow: none;
|
|
4565
|
+
appearance: none;
|
|
4566
|
+
background: transparent;
|
|
4567
|
+
font-size: 13px;
|
|
4568
|
+
font-family: inherit;
|
|
4569
|
+
color: var(--text-primary-color, #1b1b1f);
|
|
4570
|
+
letter-spacing: 0.5px;
|
|
4571
|
+
height: 100%;
|
|
4572
|
+
box-sizing: border-box;
|
|
4573
|
+
}
|
|
4574
|
+
.excalidraw .adv-cp__hex-input input:focus,
|
|
4575
|
+
.excalidraw .adv-cp__hex-input input:focus-visible {
|
|
4576
|
+
outline: none;
|
|
4577
|
+
box-shadow: none;
|
|
4578
|
+
}
|
|
4579
|
+
.excalidraw .adv-cp__hash {
|
|
4580
|
+
color: var(--input-label-color, #868e96);
|
|
4581
|
+
font-size: 13px;
|
|
4582
|
+
margin-right: 4px;
|
|
4583
|
+
font-weight: 500;
|
|
4584
|
+
}
|
|
4585
|
+
.excalidraw .adv-cp__alpha-input {
|
|
4586
|
+
display: flex;
|
|
4587
|
+
align-items: center;
|
|
4588
|
+
width: 72px;
|
|
4589
|
+
flex-shrink: 0;
|
|
4590
|
+
border: 1px solid var(--default-border-color, #e0e0e0);
|
|
4591
|
+
border-radius: 8px;
|
|
4592
|
+
padding: 0 8px;
|
|
4593
|
+
height: 36px;
|
|
4594
|
+
box-sizing: border-box;
|
|
4595
|
+
background: var(--island-bg-color, #fff);
|
|
4596
|
+
}
|
|
4597
|
+
.excalidraw .adv-cp__alpha-input:focus-within {
|
|
4598
|
+
box-shadow: 0 0 0 1px var(--color-primary-darkest, #5b57d1);
|
|
4599
|
+
}
|
|
4600
|
+
.excalidraw .adv-cp__alpha-input input {
|
|
4601
|
+
flex: 1;
|
|
4602
|
+
min-width: 0;
|
|
4603
|
+
margin: 0;
|
|
4604
|
+
padding: 0;
|
|
4605
|
+
border: 0;
|
|
4606
|
+
outline: none;
|
|
4607
|
+
box-shadow: none;
|
|
4608
|
+
appearance: none;
|
|
4609
|
+
background: transparent;
|
|
4610
|
+
font-size: 12px;
|
|
4611
|
+
font-family: inherit;
|
|
4612
|
+
color: var(--text-primary-color, #1b1b1f);
|
|
4613
|
+
height: 100%;
|
|
4614
|
+
text-align: right;
|
|
4615
|
+
box-sizing: border-box;
|
|
4616
|
+
}
|
|
4617
|
+
.excalidraw .adv-cp__alpha-input input:focus,
|
|
4618
|
+
.excalidraw .adv-cp__alpha-input input:focus-visible {
|
|
4619
|
+
outline: none;
|
|
4620
|
+
box-shadow: none;
|
|
4621
|
+
}
|
|
4622
|
+
.excalidraw .adv-cp__percent {
|
|
4623
|
+
color: var(--input-label-color, #868e96);
|
|
4624
|
+
font-size: 12px;
|
|
4625
|
+
margin-left: 3px;
|
|
4626
|
+
font-weight: 500;
|
|
4627
|
+
flex-shrink: 0;
|
|
4628
|
+
}
|
|
4629
|
+
|
|
4630
|
+
/* components/CanvasBackgroundSwatch.scss */
|
|
4631
|
+
.excalidraw .canvas-bg-swatch-wrapper {
|
|
4632
|
+
position: relative;
|
|
4633
|
+
display: inline-flex;
|
|
4634
|
+
align-items: center;
|
|
4635
|
+
}
|
|
4636
|
+
.excalidraw .canvas-bg-swatch {
|
|
4637
|
+
display: flex;
|
|
4638
|
+
align-items: center;
|
|
4639
|
+
justify-content: center;
|
|
4640
|
+
width: 24px;
|
|
4641
|
+
height: 24px;
|
|
4642
|
+
padding: 0;
|
|
4643
|
+
border: none;
|
|
4644
|
+
background: none;
|
|
4645
|
+
cursor: pointer;
|
|
4646
|
+
border-radius: 50%;
|
|
4647
|
+
}
|
|
4648
|
+
.excalidraw .canvas-bg-swatch:hover .canvas-bg-swatch__color {
|
|
4649
|
+
box-shadow: 0 0 0 2px var(--color-primary);
|
|
4650
|
+
}
|
|
4651
|
+
.excalidraw .canvas-bg-swatch__color {
|
|
4652
|
+
width: 20px;
|
|
4653
|
+
height: 20px;
|
|
4654
|
+
border-radius: 50%;
|
|
4655
|
+
border: 1.5px solid var(--color-gray-40);
|
|
4656
|
+
box-sizing: border-box;
|
|
4657
|
+
overflow: hidden;
|
|
4658
|
+
position: relative;
|
|
4659
|
+
transition: box-shadow 0.12s;
|
|
4660
|
+
}
|
|
4661
|
+
.excalidraw .canvas-bg-swatch__transparent {
|
|
4662
|
+
width: 100%;
|
|
4663
|
+
height: 100%;
|
|
4664
|
+
background-image: repeating-conic-gradient(#d0d0d0 0% 25%, #fff 0% 50%);
|
|
4665
|
+
background-size: 8px 8px;
|
|
4666
|
+
}
|
|
4667
|
+
.excalidraw .canvas-bg-swatch__popover {
|
|
4668
|
+
position: absolute;
|
|
4669
|
+
bottom: calc(100% + 8px);
|
|
4670
|
+
left: 0;
|
|
4671
|
+
z-index: 100;
|
|
4672
|
+
background: var(--island-bg-color);
|
|
4673
|
+
border-radius: 12px;
|
|
4674
|
+
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--color-surface-lowest);
|
|
4675
|
+
padding: 16px;
|
|
4676
|
+
min-width: 260px;
|
|
4677
|
+
}
|
|
4678
|
+
.excalidraw .canvas-bg-swatch__popover-header {
|
|
4679
|
+
display: flex;
|
|
4680
|
+
align-items: center;
|
|
4681
|
+
justify-content: space-between;
|
|
4682
|
+
margin-bottom: 12px;
|
|
4683
|
+
font-size: 14px;
|
|
4684
|
+
font-weight: 600;
|
|
4685
|
+
color: var(--text-primary-color);
|
|
4686
|
+
}
|
|
4687
|
+
.excalidraw .canvas-bg-swatch__close {
|
|
4688
|
+
display: flex;
|
|
4689
|
+
align-items: center;
|
|
4690
|
+
justify-content: center;
|
|
4691
|
+
width: 24px;
|
|
4692
|
+
height: 24px;
|
|
4693
|
+
border: none;
|
|
4694
|
+
background: none;
|
|
4695
|
+
cursor: pointer;
|
|
4696
|
+
color: var(--text-primary-color);
|
|
4697
|
+
font-size: 14px;
|
|
4698
|
+
border-radius: 4px;
|
|
4699
|
+
}
|
|
4700
|
+
.excalidraw .canvas-bg-swatch__close:hover {
|
|
4701
|
+
background: var(--color-surface-mid);
|
|
4702
|
+
}
|
|
4703
|
+
.excalidraw .canvas-bg-swatch__picker-content .color-picker-content {
|
|
4704
|
+
padding: 0;
|
|
4705
|
+
}
|
|
4706
|
+
|
|
4237
4707
|
/* components/Sidebar/SidebarTrigger.scss */
|
|
4238
4708
|
.excalidraw .sidebar-trigger {
|
|
4239
4709
|
display: flex;
|
|
@@ -9427,12 +9897,26 @@ body.excalidraw-cursor-resize * {
|
|
|
9427
9897
|
.excalidraw .acp input[type=file] {
|
|
9428
9898
|
display: none !important;
|
|
9429
9899
|
}
|
|
9430
|
-
.excalidraw .acp textarea,
|
|
9431
9900
|
.excalidraw .acp input[type=text],
|
|
9432
9901
|
.excalidraw .acp input[type=search] {
|
|
9433
9902
|
all: unset !important;
|
|
9434
9903
|
box-sizing: border-box !important;
|
|
9435
9904
|
}
|
|
9905
|
+
.excalidraw .acp textarea {
|
|
9906
|
+
margin: 0 !important;
|
|
9907
|
+
padding: 0 !important;
|
|
9908
|
+
border: none !important;
|
|
9909
|
+
background: transparent !important;
|
|
9910
|
+
font: inherit !important;
|
|
9911
|
+
color: inherit !important;
|
|
9912
|
+
letter-spacing: inherit !important;
|
|
9913
|
+
word-spacing: inherit !important;
|
|
9914
|
+
text-transform: none !important;
|
|
9915
|
+
text-indent: 0 !important;
|
|
9916
|
+
text-shadow: none !important;
|
|
9917
|
+
text-align: start !important;
|
|
9918
|
+
box-sizing: border-box !important;
|
|
9919
|
+
}
|
|
9436
9920
|
.excalidraw .acp button {
|
|
9437
9921
|
all: unset !important;
|
|
9438
9922
|
box-sizing: border-box !important;
|
|
@@ -9870,9 +10354,7 @@ body.excalidraw-cursor-resize * {
|
|
|
9870
10354
|
.excalidraw .acp .acp-textarea {
|
|
9871
10355
|
display: block !important;
|
|
9872
10356
|
width: 100% !important;
|
|
9873
|
-
min-height:
|
|
9874
|
-
max-height: 160px !important;
|
|
9875
|
-
overflow-y: auto !important;
|
|
10357
|
+
min-height: 56px !important;
|
|
9876
10358
|
resize: none !important;
|
|
9877
10359
|
padding: 14px 16px 6px !important;
|
|
9878
10360
|
font-family: inherit !important;
|
|
@@ -9883,6 +10365,7 @@ body.excalidraw-cursor-resize * {
|
|
|
9883
10365
|
border: none !important;
|
|
9884
10366
|
outline: none !important;
|
|
9885
10367
|
-webkit-appearance: none !important;
|
|
10368
|
+
appearance: none !important;
|
|
9886
10369
|
}
|
|
9887
10370
|
.excalidraw .acp .acp-textarea::placeholder {
|
|
9888
10371
|
color: #bbb !important;
|
|
@@ -10254,23 +10737,32 @@ body.excalidraw-cursor-resize * {
|
|
|
10254
10737
|
display: flex !important;
|
|
10255
10738
|
align-items: center !important;
|
|
10256
10739
|
justify-content: center !important;
|
|
10257
|
-
|
|
10740
|
+
gap: 6px !important;
|
|
10258
10741
|
height: 36px !important;
|
|
10259
|
-
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10742
|
+
padding: 0 14px !important;
|
|
10743
|
+
border-radius: 20px !important;
|
|
10744
|
+
background: var(--island-bg-color, #fff) !important;
|
|
10745
|
+
border: 1px solid var(--color-surface-lowest, rgba(0, 0, 0, 0.1)) !important;
|
|
10746
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
|
|
10747
|
+
color: var(--text-primary-color, #333) !important;
|
|
10264
10748
|
cursor: pointer !important;
|
|
10265
10749
|
transition: background 0.12s, box-shadow 0.12s !important;
|
|
10266
10750
|
box-sizing: border-box !important;
|
|
10751
|
+
font-size: 13px !important;
|
|
10752
|
+
font-weight: 500 !important;
|
|
10753
|
+
font-family: inherit !important;
|
|
10754
|
+
white-space: nowrap !important;
|
|
10755
|
+
}
|
|
10756
|
+
.excalidraw .acp-open-btn svg {
|
|
10757
|
+
flex-shrink: 0;
|
|
10758
|
+
color: var(--icon-fill-color, #666);
|
|
10267
10759
|
}
|
|
10268
10760
|
.excalidraw .acp-open-btn:hover {
|
|
10269
|
-
background: #f5f5f5 !important;
|
|
10270
|
-
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.
|
|
10761
|
+
background: var(--color-surface-low, #f5f5f5) !important;
|
|
10762
|
+
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
|
|
10271
10763
|
}
|
|
10272
10764
|
.excalidraw .acp-open-btn:active {
|
|
10273
|
-
transform: scale(0.
|
|
10765
|
+
transform: scale(0.97) !important;
|
|
10274
10766
|
}
|
|
10275
10767
|
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
|
|
10276
10768
|
/*# sourceMappingURL=index.css.map */
|