@orangecatai/adgen-canvas 0.0.5 → 0.0.7

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.
Files changed (54) hide show
  1. package/dist/dev/{chunk-3FGOYDLK.js → chunk-2Q3FNCU4.js} +44 -3
  2. package/dist/dev/chunk-2Q3FNCU4.js.map +7 -0
  3. package/dist/dev/{chunk-IRIUFXMO.js → chunk-MW637LK5.js} +2 -2
  4. package/dist/dev/data/{image-HH4XNQRO.js → image-L2UC5LX5.js} +3 -3
  5. package/dist/dev/index.css +909 -27
  6. package/dist/dev/index.css.map +3 -3
  7. package/dist/dev/index.js +6595 -2561
  8. package/dist/dev/index.js.map +4 -4
  9. package/dist/dev/subset-shared.chunk.js +1 -1
  10. package/dist/dev/subset-worker.chunk.js +1 -1
  11. package/dist/prod/{chunk-SG4RCQVC.js → chunk-7AVPHWG7.js} +1 -1
  12. package/dist/prod/{chunk-LUZI7MFZ.js → chunk-XPV36KCI.js} +3 -3
  13. package/dist/prod/data/image-6DWEFZH4.js +1 -0
  14. package/dist/prod/index.css +1 -1
  15. package/dist/prod/index.js +342 -85
  16. package/dist/prod/subset-shared.chunk.js +1 -1
  17. package/dist/prod/subset-worker.chunk.js +1 -1
  18. package/dist/types/excalidraw/components/AIChatPanel.d.ts +26 -0
  19. package/dist/types/excalidraw/components/CanvasBackgroundSwatch.d.ts +7 -0
  20. package/dist/types/excalidraw/components/ColorPicker/AdvancedColorPicker.d.ts +8 -0
  21. package/dist/types/excalidraw/components/ColorPicker/colorConversions.d.ts +27 -0
  22. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
  23. package/dist/types/excalidraw/components/ElementCanvasButtons.d.ts +1 -1
  24. package/dist/types/excalidraw/components/FrameToolbar.d.ts +1 -1
  25. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -1
  26. package/dist/types/excalidraw/components/ImageEditToolbar.d.ts +15 -0
  27. package/dist/types/excalidraw/components/ImageQuickEditPanel.d.ts +5 -1
  28. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
  29. package/dist/types/excalidraw/components/Stats/index.d.ts +1 -1
  30. package/dist/types/excalidraw/components/TTDDialog/utils/TTDStreamFetch.d.ts +1 -0
  31. package/dist/types/excalidraw/components/ToolButton.d.ts +1 -1
  32. package/dist/types/excalidraw/components/ai-chat/agentLoop.d.ts +16 -1
  33. package/dist/types/excalidraw/components/ai-chat/audioUtils.d.ts +1 -1
  34. package/dist/types/excalidraw/components/ai-chat/canvasTools.d.ts +236 -1
  35. package/dist/types/excalidraw/components/ai-chat/htmlToExcalidraw.d.ts +53 -0
  36. package/dist/types/excalidraw/components/ai-chat/openRouterStream.d.ts +50 -0
  37. package/dist/types/excalidraw/components/auto-resize/AutoResizePanel.d.ts +16 -0
  38. package/dist/types/excalidraw/components/auto-resize/AutoResizeShimmerLayer.d.ts +7 -0
  39. package/dist/types/excalidraw/components/auto-resize/autoResizeEngine.d.ts +89 -0
  40. package/dist/types/excalidraw/components/auto-resize/autoResizeStore.d.ts +16 -0
  41. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -1
  42. package/dist/types/excalidraw/components/icons.d.ts +1 -0
  43. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +1 -1
  44. package/dist/types/excalidraw/components/ui/button.d.ts +1 -1
  45. package/dist/types/excalidraw/fonts/Fonts.d.ts +11 -0
  46. package/dist/types/excalidraw/index.d.ts +2 -0
  47. package/dist/types/excalidraw/types.d.ts +138 -0
  48. package/dist/types/excalidraw/utils/leonardoApiKey.d.ts +1 -0
  49. package/dist/types/excalidraw/utils/removeBgApiKey.d.ts +1 -0
  50. package/package.json +1 -1
  51. package/dist/dev/chunk-3FGOYDLK.js.map +0 -7
  52. package/dist/prod/data/image-J2ZJZU4A.js +0 -1
  53. /package/dist/dev/{chunk-IRIUFXMO.js.map → chunk-MW637LK5.js.map} +0 -0
  54. /package/dist/dev/data/{image-HH4XNQRO.js.map → image-L2UC5LX5.js.map} +0 -0
@@ -3312,6 +3312,7 @@
3312
3312
  display: flex;
3313
3313
  align-items: center;
3314
3314
  gap: 2px;
3315
+ position: relative;
3315
3316
  }
3316
3317
  .excalidraw .frame-toolbar__divider {
3317
3318
  width: 1px;
@@ -3490,6 +3491,356 @@
3490
3491
  color: var(--color-primary, #4a90d9);
3491
3492
  }
3492
3493
 
3494
+ /* components/auto-resize/AutoResizePanel.scss */
3495
+ @keyframes ars-shimmer-sweep {
3496
+ 0% {
3497
+ background-position: 200% 0;
3498
+ }
3499
+ 100% {
3500
+ background-position: -200% 0;
3501
+ }
3502
+ }
3503
+ .ars-shimmer {
3504
+ background: rgba(180, 200, 230, 0.12);
3505
+ }
3506
+ .ars-shimmer::after {
3507
+ content: "";
3508
+ display: block;
3509
+ position: absolute;
3510
+ inset: 0;
3511
+ background:
3512
+ linear-gradient(
3513
+ 90deg,
3514
+ transparent 0%,
3515
+ rgba(255, 255, 255, 0.45) 50%,
3516
+ transparent 100%);
3517
+ background-size: 200% 100%;
3518
+ animation: ars-shimmer-sweep 1.6s ease-in-out infinite;
3519
+ }
3520
+ .excalidraw .arp {
3521
+ position: absolute;
3522
+ z-index: var(--zIndex-canvasButtons);
3523
+ top: calc(100% + 6px);
3524
+ left: 50%;
3525
+ transform: translateX(-50%);
3526
+ width: 296px;
3527
+ background: var(--island-bg-color);
3528
+ border-radius: 10px;
3529
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06);
3530
+ font-size: 12px;
3531
+ font-family:
3532
+ "Assistant",
3533
+ system-ui,
3534
+ -apple-system,
3535
+ sans-serif;
3536
+ color: var(--text-primary-color, #333);
3537
+ pointer-events: all;
3538
+ overflow: hidden;
3539
+ }
3540
+ .excalidraw .arp-header {
3541
+ display: flex;
3542
+ align-items: center;
3543
+ justify-content: space-between;
3544
+ padding: 10px 12px 8px;
3545
+ border-bottom: 1px solid var(--default-border-color, #e4e4e7);
3546
+ }
3547
+ .excalidraw .arp-header__title {
3548
+ display: flex;
3549
+ align-items: center;
3550
+ gap: 6px;
3551
+ font-weight: 600;
3552
+ font-size: 13px;
3553
+ }
3554
+ .excalidraw .arp-header__title svg {
3555
+ color: var(--color-primary, #4a90d9);
3556
+ }
3557
+ .excalidraw .arp-header__close {
3558
+ display: flex;
3559
+ align-items: center;
3560
+ justify-content: center;
3561
+ width: 22px;
3562
+ height: 22px;
3563
+ border: none;
3564
+ background: transparent;
3565
+ border-radius: 4px;
3566
+ cursor: pointer;
3567
+ padding: 0;
3568
+ color: var(--text-secondary-color, #888);
3569
+ transition: background 0.12s ease;
3570
+ }
3571
+ .excalidraw .arp-header__close:hover {
3572
+ background: var(--button-hover-bg, rgba(0, 0, 0, 0.06));
3573
+ color: var(--text-primary-color, #333);
3574
+ }
3575
+ .excalidraw .arp-source {
3576
+ padding: 5px 12px;
3577
+ font-size: 11px;
3578
+ color: var(--text-secondary-color, #888);
3579
+ background: var(--default-bg-color, rgba(0, 0, 0, 0.02));
3580
+ border-bottom: 1px solid var(--default-border-color, #e4e4e7);
3581
+ }
3582
+ .excalidraw .arp-section-label {
3583
+ padding: 8px 12px 4px;
3584
+ font-size: 10px;
3585
+ font-weight: 600;
3586
+ text-transform: uppercase;
3587
+ letter-spacing: 0.5px;
3588
+ color: var(--text-secondary-color, #888);
3589
+ }
3590
+ .excalidraw .arp-presets {
3591
+ padding: 0 8px 4px;
3592
+ display: flex;
3593
+ flex-direction: column;
3594
+ gap: 1px;
3595
+ }
3596
+ .excalidraw .arp-preset {
3597
+ display: flex;
3598
+ align-items: center;
3599
+ gap: 6px;
3600
+ padding: 6px 8px;
3601
+ border: none;
3602
+ border-radius: 6px;
3603
+ background: transparent;
3604
+ cursor: pointer;
3605
+ text-align: left;
3606
+ font-size: 12px;
3607
+ font-family: inherit;
3608
+ color: var(--text-primary-color, #333);
3609
+ transition: background 0.12s ease;
3610
+ width: 100%;
3611
+ }
3612
+ .excalidraw .arp-preset:hover:not(.excalidraw .arp-preset--disabled) {
3613
+ background: var(--button-hover-bg, rgba(0, 0, 0, 0.05));
3614
+ }
3615
+ .excalidraw .arp-preset--selected {
3616
+ background: rgba(74, 144, 217, 0.08);
3617
+ color: var(--text-primary-color, #333);
3618
+ }
3619
+ .excalidraw .arp-preset--disabled {
3620
+ cursor: default;
3621
+ opacity: 0.7;
3622
+ }
3623
+ .excalidraw .arp-preset__check {
3624
+ width: 14px;
3625
+ height: 14px;
3626
+ border: 1.5px solid var(--default-border-color, #d0d0d0);
3627
+ border-radius: 3px;
3628
+ display: flex;
3629
+ align-items: center;
3630
+ justify-content: center;
3631
+ flex-shrink: 0;
3632
+ background: transparent;
3633
+ transition: background 0.12s ease, border-color 0.12s ease;
3634
+ }
3635
+ .arp-preset--selected .excalidraw .arp-preset__check {
3636
+ background: var(--color-primary, #4a90d9);
3637
+ border-color: var(--color-primary, #4a90d9);
3638
+ color: white;
3639
+ }
3640
+ .excalidraw .arp-preset__label {
3641
+ font-weight: 500;
3642
+ flex: 0 0 auto;
3643
+ min-width: 80px;
3644
+ }
3645
+ .excalidraw .arp-preset__desc {
3646
+ font-size: 11px;
3647
+ color: var(--text-secondary-color, #999);
3648
+ flex: 1;
3649
+ }
3650
+ .excalidraw .arp-preset__status {
3651
+ flex-shrink: 0;
3652
+ margin-left: auto;
3653
+ }
3654
+ .excalidraw .arp-extras {
3655
+ padding: 4px 12px;
3656
+ display: flex;
3657
+ flex-wrap: wrap;
3658
+ gap: 4px;
3659
+ }
3660
+ .excalidraw .arp-extra-tag {
3661
+ display: inline-flex;
3662
+ align-items: center;
3663
+ gap: 4px;
3664
+ padding: 3px 8px;
3665
+ border-radius: 12px;
3666
+ background: var(--color-primary-light, rgba(74, 144, 217, 0.1));
3667
+ color: var(--color-primary, #4a90d9);
3668
+ font-size: 11px;
3669
+ font-weight: 500;
3670
+ }
3671
+ .excalidraw .arp-extra-tag__remove {
3672
+ border: none;
3673
+ background: transparent;
3674
+ padding: 0;
3675
+ cursor: pointer;
3676
+ color: inherit;
3677
+ opacity: 0.6;
3678
+ font-size: 13px;
3679
+ line-height: 1;
3680
+ margin-left: 2px;
3681
+ }
3682
+ .excalidraw .arp-extra-tag__remove:hover {
3683
+ opacity: 1;
3684
+ }
3685
+ .excalidraw .arp-custom-row {
3686
+ display: flex;
3687
+ align-items: center;
3688
+ gap: 6px;
3689
+ padding: 4px 12px 10px;
3690
+ }
3691
+ .excalidraw .arp-custom-input {
3692
+ width: 56px;
3693
+ padding: 5px 6px;
3694
+ border: 1px solid var(--default-border-color, #e4e4e7);
3695
+ border-radius: 5px;
3696
+ font-size: 12px;
3697
+ text-align: center;
3698
+ font-family: inherit;
3699
+ color: var(--text-primary-color, #333);
3700
+ background: var(--input-bg-color, #fff);
3701
+ outline: none;
3702
+ transition: border-color 0.12s ease;
3703
+ -moz-appearance: textfield;
3704
+ }
3705
+ .excalidraw .arp-custom-input:focus {
3706
+ border-color: var(--color-primary, #4a90d9);
3707
+ }
3708
+ .excalidraw .arp-custom-input::-webkit-outer-spin-button,
3709
+ .excalidraw .arp-custom-input::-webkit-inner-spin-button {
3710
+ -webkit-appearance: none;
3711
+ margin: 0;
3712
+ }
3713
+ .excalidraw .arp-custom-x {
3714
+ font-size: 12px;
3715
+ color: var(--text-secondary-color, #aaa);
3716
+ }
3717
+ .excalidraw .arp-custom-add {
3718
+ flex: 1;
3719
+ padding: 5px 8px;
3720
+ border: 1px solid var(--default-border-color, #e4e4e7);
3721
+ border-radius: 5px;
3722
+ background: transparent;
3723
+ font-size: 12px;
3724
+ font-family: inherit;
3725
+ cursor: pointer;
3726
+ color: var(--color-primary, #4a90d9);
3727
+ transition: background 0.12s ease, border-color 0.12s ease;
3728
+ white-space: nowrap;
3729
+ }
3730
+ .excalidraw .arp-custom-add:hover:not(:disabled) {
3731
+ background: rgba(74, 144, 217, 0.06);
3732
+ border-color: var(--color-primary, #4a90d9);
3733
+ }
3734
+ .excalidraw .arp-custom-add:disabled {
3735
+ opacity: 0.4;
3736
+ cursor: default;
3737
+ }
3738
+ .excalidraw .arp-status {
3739
+ display: flex;
3740
+ align-items: center;
3741
+ justify-content: center;
3742
+ width: 16px;
3743
+ height: 16px;
3744
+ }
3745
+ .excalidraw .arp-status--waiting {
3746
+ color: var(--text-secondary-color, #bbb);
3747
+ font-size: 11px;
3748
+ }
3749
+ .excalidraw .arp-status--running {
3750
+ color: var(--color-primary, #4a90d9);
3751
+ }
3752
+ .excalidraw .arp-status--done {
3753
+ color: #22c55e;
3754
+ }
3755
+ .excalidraw .arp-status--error {
3756
+ color: #ef4444;
3757
+ }
3758
+ .excalidraw .arp-spinner {
3759
+ animation: arp-spin 0.9s linear infinite;
3760
+ }
3761
+ @keyframes arp-spin {
3762
+ to {
3763
+ transform: rotate(360deg);
3764
+ }
3765
+ }
3766
+ .excalidraw .arp-progress {
3767
+ padding: 8px 12px;
3768
+ display: flex;
3769
+ align-items: center;
3770
+ gap: 8px;
3771
+ border-top: 1px solid var(--default-border-color, #e4e4e7);
3772
+ }
3773
+ .excalidraw .arp-progress__bar-bg {
3774
+ flex: 1;
3775
+ height: 4px;
3776
+ background: var(--default-border-color, #e8e8e8);
3777
+ border-radius: 2px;
3778
+ overflow: hidden;
3779
+ }
3780
+ .excalidraw .arp-progress__bar-fill {
3781
+ height: 100%;
3782
+ background: var(--color-primary, #4a90d9);
3783
+ border-radius: 2px;
3784
+ transition: width 0.3s ease;
3785
+ }
3786
+ .excalidraw .arp-progress__text {
3787
+ font-size: 11px;
3788
+ color: var(--text-secondary-color, #888);
3789
+ white-space: nowrap;
3790
+ }
3791
+ .excalidraw .arp-error {
3792
+ margin: 4px 12px;
3793
+ padding: 8px 10px;
3794
+ border-radius: 6px;
3795
+ background: rgba(239, 68, 68, 0.08);
3796
+ color: #ef4444;
3797
+ font-size: 11px;
3798
+ line-height: 1.4;
3799
+ }
3800
+ .excalidraw .arp-actions {
3801
+ padding: 8px 12px 10px;
3802
+ display: flex;
3803
+ gap: 6px;
3804
+ border-top: 1px solid var(--default-border-color, #e4e4e7);
3805
+ }
3806
+ .excalidraw .arp-btn {
3807
+ flex: 1;
3808
+ padding: 7px 12px;
3809
+ border-radius: 6px;
3810
+ border: none;
3811
+ font-size: 12px;
3812
+ font-family: inherit;
3813
+ font-weight: 500;
3814
+ cursor: pointer;
3815
+ transition: background 0.12s ease, opacity 0.12s ease;
3816
+ }
3817
+ .excalidraw .arp-btn:disabled {
3818
+ opacity: 0.45;
3819
+ cursor: default;
3820
+ }
3821
+ .excalidraw .arp-btn--primary {
3822
+ background: var(--color-primary, #4a90d9);
3823
+ color: #fff;
3824
+ }
3825
+ .excalidraw .arp-btn--primary:hover:not(:disabled) {
3826
+ background: var(--color-primary-darker, #3a7bc8);
3827
+ }
3828
+ .excalidraw .arp-btn--cancel {
3829
+ background: rgba(239, 68, 68, 0.1);
3830
+ color: #ef4444;
3831
+ }
3832
+ .excalidraw .arp-btn--cancel:hover {
3833
+ background: rgba(239, 68, 68, 0.18);
3834
+ }
3835
+ .excalidraw .arp-btn--ghost {
3836
+ background: transparent;
3837
+ color: var(--text-secondary-color, #777);
3838
+ border: 1px solid var(--default-border-color, #e4e4e7);
3839
+ }
3840
+ .excalidraw .arp-btn--ghost:hover {
3841
+ background: var(--button-hover-bg, rgba(0, 0, 0, 0.04));
3842
+ }
3843
+
3493
3844
  /* components/ImageGeneratorPanel.scss */
3494
3845
  .excalidraw .igp {
3495
3846
  position: absolute;
@@ -3508,11 +3859,25 @@
3508
3859
  .excalidraw .igp input[type=file] {
3509
3860
  display: none !important;
3510
3861
  }
3511
- .excalidraw .igp textarea,
3512
3862
  .excalidraw .igp input[type=text] {
3513
3863
  all: unset !important;
3514
3864
  box-sizing: border-box !important;
3515
3865
  }
3866
+ .excalidraw .igp textarea {
3867
+ margin: 0 !important;
3868
+ padding: 0 !important;
3869
+ border: none !important;
3870
+ background: transparent !important;
3871
+ font: inherit !important;
3872
+ color: inherit !important;
3873
+ letter-spacing: inherit !important;
3874
+ word-spacing: inherit !important;
3875
+ text-transform: none !important;
3876
+ text-indent: 0 !important;
3877
+ text-shadow: none !important;
3878
+ text-align: start !important;
3879
+ box-sizing: border-box !important;
3880
+ }
3516
3881
  .excalidraw .igp button {
3517
3882
  all: unset !important;
3518
3883
  box-sizing: border-box !important;
@@ -3530,9 +3895,7 @@
3530
3895
  .excalidraw .igp .igp-textarea {
3531
3896
  display: block !important;
3532
3897
  width: 100% !important;
3533
- min-height: 80px !important;
3534
- max-height: 180px !important;
3535
- overflow-y: auto !important;
3898
+ min-height: 72px !important;
3536
3899
  resize: none !important;
3537
3900
  padding: 14px 16px 8px !important;
3538
3901
  font-family: inherit !important;
@@ -3544,6 +3907,7 @@
3544
3907
  outline: none !important;
3545
3908
  box-shadow: none !important;
3546
3909
  -webkit-appearance: none !important;
3910
+ appearance: none !important;
3547
3911
  }
3548
3912
  .excalidraw .igp .igp-textarea::placeholder {
3549
3913
  color: #b8b8b8 !important;
@@ -3787,21 +4151,170 @@
3787
4151
  .excalidraw .iqep__trigger-btn svg {
3788
4152
  color: var(--color-primary, #4a90d9);
3789
4153
  }
3790
- .excalidraw .iqep__trigger-btn:hover {
3791
- background: var(--button-hover-bg, rgba(74, 144, 217, 0.08));
4154
+ .excalidraw .iqep__trigger-btn:hover {
4155
+ background: var(--button-hover-bg, rgba(74, 144, 217, 0.08));
4156
+ }
4157
+ .excalidraw .iqep__ref-chip {
4158
+ display: flex;
4159
+ align-items: center;
4160
+ gap: 6px;
4161
+ padding: 8px 14px 4px;
4162
+ font-size: 11px;
4163
+ font-weight: 500;
4164
+ color: var(--text-secondary-color, #888);
4165
+ }
4166
+ .excalidraw .iqep__ref-chip svg {
4167
+ flex-shrink: 0;
4168
+ color: var(--text-secondary-color, #aaa);
4169
+ }
4170
+
4171
+ /* components/ImageEditToolbar.scss */
4172
+ .excalidraw .iet {
4173
+ position: absolute;
4174
+ transform: translateX(-50%);
4175
+ z-index: 10;
4176
+ pointer-events: auto;
4177
+ }
4178
+ .excalidraw .iet__bar {
4179
+ display: flex;
4180
+ align-items: center;
4181
+ gap: 2px;
4182
+ background: var(--island-bg-color, #fff);
4183
+ border-radius: 24px;
4184
+ padding: 4px 6px;
4185
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
4186
+ white-space: nowrap;
4187
+ }
4188
+ .excalidraw .iet__tool-btn {
4189
+ display: flex;
4190
+ align-items: center;
4191
+ gap: 5px;
4192
+ padding: 6px 10px;
4193
+ border: none;
4194
+ background: none;
4195
+ cursor: pointer;
4196
+ border-radius: 16px;
4197
+ font-size: 12px;
4198
+ font-weight: 500;
4199
+ color: var(--text-primary-color, #333);
4200
+ transition: background 0.12s;
4201
+ white-space: nowrap;
4202
+ font-family: inherit;
4203
+ position: relative;
4204
+ }
4205
+ .excalidraw .iet__tool-btn svg {
4206
+ flex-shrink: 0;
4207
+ color: var(--icon-fill-color, #555);
4208
+ }
4209
+ .excalidraw .iet__tool-btn:hover {
4210
+ background: var(--color-surface-low, #f0f0f0);
4211
+ }
4212
+ .excalidraw .iet__tool-btn:active {
4213
+ background: var(--color-surface-mid, #e5e5e5);
4214
+ }
4215
+ .excalidraw .iet__tool-btn:disabled {
4216
+ cursor: not-allowed;
4217
+ opacity: 0.55;
4218
+ }
4219
+ .excalidraw .iet__tool-label {
4220
+ font-size: 12px;
4221
+ line-height: 1;
4222
+ }
4223
+ .excalidraw .iet__tool-badge {
4224
+ display: inline-flex;
4225
+ align-items: center;
4226
+ justify-content: center;
4227
+ font-size: 9px;
4228
+ font-weight: 600;
4229
+ padding: 1px 4px;
4230
+ border-radius: 4px;
4231
+ background: var(--color-surface-mid, #e8e8e8);
4232
+ color: var(--text-primary-color, #555);
4233
+ line-height: 1.2;
4234
+ }
4235
+ .excalidraw .iet__overflow-wrapper {
4236
+ position: relative;
4237
+ }
4238
+ .excalidraw .iet__overflow-trigger {
4239
+ padding: 6px 8px;
4240
+ }
4241
+ .excalidraw .iet__notification-dot {
4242
+ position: absolute;
4243
+ top: 4px;
4244
+ right: 4px;
4245
+ width: 6px;
4246
+ height: 6px;
4247
+ border-radius: 50%;
4248
+ background: #ef4444;
4249
+ }
4250
+ .excalidraw .iet__overflow-menu {
4251
+ position: absolute;
4252
+ top: calc(100% + 6px);
4253
+ right: 0;
4254
+ background: var(--island-bg-color, #fff);
4255
+ border-radius: 12px;
4256
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.06);
4257
+ padding: 6px;
4258
+ min-width: 160px;
4259
+ z-index: 100;
4260
+ }
4261
+ .excalidraw .iet__overflow-item {
4262
+ display: flex;
4263
+ align-items: center;
4264
+ gap: 8px;
4265
+ width: 100%;
4266
+ padding: 8px 12px;
4267
+ border: none;
4268
+ background: none;
4269
+ cursor: pointer;
4270
+ border-radius: 8px;
4271
+ font-size: 13px;
4272
+ font-weight: 500;
4273
+ color: var(--text-primary-color, #333);
4274
+ font-family: inherit;
4275
+ transition: background 0.1s;
4276
+ }
4277
+ .excalidraw .iet__overflow-item svg {
4278
+ flex-shrink: 0;
4279
+ color: var(--icon-fill-color, #555);
4280
+ }
4281
+ .excalidraw .iet__overflow-item:hover {
4282
+ background: var(--color-surface-low, #f5f5f5);
3792
4283
  }
3793
- .excalidraw .iqep__ref-chip {
4284
+ .excalidraw .iet__overflow-item span:first-of-type {
4285
+ flex: 1;
4286
+ text-align: left;
4287
+ }
4288
+ .excalidraw .iet__overflow-badge {
4289
+ font-size: 11px;
4290
+ color: var(--icon-fill-color, #999);
3794
4291
  display: flex;
3795
4292
  align-items: center;
3796
- gap: 6px;
3797
- padding: 8px 14px 4px;
3798
- font-size: 11px;
3799
- font-weight: 500;
3800
- color: var(--text-secondary-color, #888);
4293
+ gap: 2px;
3801
4294
  }
3802
- .excalidraw .iqep__ref-chip svg {
4295
+ .excalidraw .iet__divider {
4296
+ width: 1px;
4297
+ height: 20px;
4298
+ background: var(--color-gray-30, #ddd);
4299
+ margin: 0 4px;
3803
4300
  flex-shrink: 0;
3804
- color: var(--text-secondary-color, #aaa);
4301
+ }
4302
+ .excalidraw .iet__download-btn {
4303
+ padding: 6px 8px;
4304
+ }
4305
+ .excalidraw .iet__status {
4306
+ margin-top: 8px;
4307
+ border-radius: 12px;
4308
+ background: var(--island-bg-color, #fff);
4309
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
4310
+ color: var(--text-primary-color, #333);
4311
+ font-size: 12px;
4312
+ line-height: 1.35;
4313
+ padding: 8px 10px;
4314
+ max-width: 320px;
4315
+ }
4316
+ .excalidraw .iet__status--error {
4317
+ color: var(--color-danger, #c62828);
3805
4318
  }
3806
4319
 
3807
4320
  /* components/Popover.scss */
@@ -4234,6 +4747,314 @@
4234
4747
  max-height: 50vh;
4235
4748
  }
4236
4749
 
4750
+ /* components/ColorPicker/AdvancedColorPicker.scss */
4751
+ .excalidraw .adv-cp {
4752
+ display: flex;
4753
+ flex-direction: column;
4754
+ gap: 12px;
4755
+ user-select: none;
4756
+ -webkit-user-select: none;
4757
+ }
4758
+ .excalidraw .adv-cp__saturation {
4759
+ position: relative;
4760
+ width: 100%;
4761
+ aspect-ratio: 1.35/1;
4762
+ border-radius: 10px;
4763
+ overflow: hidden;
4764
+ cursor: crosshair;
4765
+ touch-action: none;
4766
+ }
4767
+ .excalidraw .adv-cp__saturation-white {
4768
+ position: absolute;
4769
+ inset: 0;
4770
+ background:
4771
+ linear-gradient(
4772
+ to right,
4773
+ #fff,
4774
+ transparent);
4775
+ border-radius: inherit;
4776
+ }
4777
+ .excalidraw .adv-cp__saturation-black {
4778
+ position: absolute;
4779
+ inset: 0;
4780
+ background:
4781
+ linear-gradient(
4782
+ to bottom,
4783
+ transparent,
4784
+ #000);
4785
+ border-radius: inherit;
4786
+ }
4787
+ .excalidraw .adv-cp__handle {
4788
+ position: absolute;
4789
+ width: 18px;
4790
+ height: 18px;
4791
+ border-radius: 50%;
4792
+ border: 2.5px solid #fff;
4793
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.18);
4794
+ transform: translate(-50%, -50%);
4795
+ pointer-events: none;
4796
+ z-index: 2;
4797
+ }
4798
+ .excalidraw .adv-cp__slider {
4799
+ position: relative;
4800
+ width: 100%;
4801
+ height: 14px;
4802
+ border-radius: 7px;
4803
+ cursor: pointer;
4804
+ touch-action: none;
4805
+ }
4806
+ .excalidraw .adv-cp__slider-handle {
4807
+ position: absolute;
4808
+ top: 50%;
4809
+ width: 18px;
4810
+ height: 18px;
4811
+ border-radius: 50%;
4812
+ border: 2.5px solid #fff;
4813
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.15);
4814
+ transform: translate(-50%, -50%);
4815
+ pointer-events: none;
4816
+ z-index: 2;
4817
+ }
4818
+ .excalidraw .adv-cp__hue-slider {
4819
+ background:
4820
+ linear-gradient(
4821
+ to right,
4822
+ hsl(0, 100%, 50%),
4823
+ hsl(30, 100%, 50%),
4824
+ hsl(60, 100%, 50%),
4825
+ hsl(90, 100%, 50%),
4826
+ hsl(120, 100%, 50%),
4827
+ hsl(150, 100%, 50%),
4828
+ hsl(180, 100%, 50%),
4829
+ hsl(210, 100%, 50%),
4830
+ hsl(240, 100%, 50%),
4831
+ hsl(270, 100%, 50%),
4832
+ hsl(300, 100%, 50%),
4833
+ hsl(330, 100%, 50%),
4834
+ hsl(0, 100%, 50%));
4835
+ }
4836
+ .excalidraw .adv-cp__alpha-slider {
4837
+ overflow: hidden;
4838
+ }
4839
+ .excalidraw .adv-cp__alpha-checker {
4840
+ position: absolute;
4841
+ inset: 0;
4842
+ border-radius: inherit;
4843
+ background-image: repeating-conic-gradient(#d0d0d0 0% 25%, #fff 0% 50%);
4844
+ background-size: 10px 10px;
4845
+ }
4846
+ .excalidraw .adv-cp__alpha-gradient {
4847
+ position: absolute;
4848
+ inset: 0;
4849
+ border-radius: inherit;
4850
+ }
4851
+ .excalidraw .adv-cp__presets {
4852
+ display: flex;
4853
+ gap: 10px;
4854
+ justify-content: flex-start;
4855
+ flex-wrap: wrap;
4856
+ }
4857
+ .excalidraw .adv-cp__preset-btn {
4858
+ position: relative;
4859
+ width: 32px;
4860
+ height: 32px;
4861
+ border-radius: 50%;
4862
+ border: 2px solid var(--color-gray-30, #d9d9d9);
4863
+ cursor: pointer;
4864
+ padding: 0;
4865
+ box-sizing: border-box;
4866
+ transition: box-shadow 0.15s, transform 0.1s;
4867
+ overflow: hidden;
4868
+ background: none;
4869
+ }
4870
+ .excalidraw .adv-cp__preset-btn:hover {
4871
+ transform: scale(1.08);
4872
+ }
4873
+ .excalidraw .adv-cp__preset-btn.active {
4874
+ box-shadow: 0 0 0 2px var(--color-primary, #6965db);
4875
+ }
4876
+ .excalidraw .adv-cp__preset-btn.is-transparent {
4877
+ background-image: repeating-conic-gradient(#d0d0d0 0% 25%, #fff 0% 50%);
4878
+ background-size: 8px 8px;
4879
+ }
4880
+ .excalidraw .adv-cp__preset-slash {
4881
+ position: absolute;
4882
+ top: 50%;
4883
+ left: 50%;
4884
+ width: 130%;
4885
+ height: 2px;
4886
+ background: #e03131;
4887
+ transform: translate(-50%, -50%) rotate(-45deg);
4888
+ pointer-events: none;
4889
+ }
4890
+ .excalidraw .adv-cp__inputs {
4891
+ display: flex;
4892
+ gap: 8px;
4893
+ }
4894
+ .excalidraw .adv-cp__hex-input {
4895
+ display: flex;
4896
+ align-items: center;
4897
+ flex: 1;
4898
+ border: 1px solid var(--default-border-color, #e0e0e0);
4899
+ border-radius: 8px;
4900
+ padding: 0 10px;
4901
+ height: 36px;
4902
+ box-sizing: border-box;
4903
+ background: var(--island-bg-color, #fff);
4904
+ }
4905
+ .excalidraw .adv-cp__hex-input:focus-within {
4906
+ box-shadow: 0 0 0 1px var(--color-primary-darkest, #5b57d1);
4907
+ }
4908
+ .excalidraw .adv-cp__hex-input input {
4909
+ flex: 1;
4910
+ min-width: 0;
4911
+ margin: 0;
4912
+ padding: 0;
4913
+ border: 0;
4914
+ outline: none;
4915
+ box-shadow: none;
4916
+ appearance: none;
4917
+ background: transparent;
4918
+ font-size: 13px;
4919
+ font-family: inherit;
4920
+ color: var(--text-primary-color, #1b1b1f);
4921
+ letter-spacing: 0.5px;
4922
+ height: 100%;
4923
+ box-sizing: border-box;
4924
+ }
4925
+ .excalidraw .adv-cp__hex-input input:focus,
4926
+ .excalidraw .adv-cp__hex-input input:focus-visible {
4927
+ outline: none;
4928
+ box-shadow: none;
4929
+ }
4930
+ .excalidraw .adv-cp__hash {
4931
+ color: var(--input-label-color, #868e96);
4932
+ font-size: 13px;
4933
+ margin-right: 4px;
4934
+ font-weight: 500;
4935
+ }
4936
+ .excalidraw .adv-cp__alpha-input {
4937
+ display: flex;
4938
+ align-items: center;
4939
+ width: 72px;
4940
+ flex-shrink: 0;
4941
+ border: 1px solid var(--default-border-color, #e0e0e0);
4942
+ border-radius: 8px;
4943
+ padding: 0 8px;
4944
+ height: 36px;
4945
+ box-sizing: border-box;
4946
+ background: var(--island-bg-color, #fff);
4947
+ }
4948
+ .excalidraw .adv-cp__alpha-input:focus-within {
4949
+ box-shadow: 0 0 0 1px var(--color-primary-darkest, #5b57d1);
4950
+ }
4951
+ .excalidraw .adv-cp__alpha-input input {
4952
+ flex: 1;
4953
+ min-width: 0;
4954
+ margin: 0;
4955
+ padding: 0;
4956
+ border: 0;
4957
+ outline: none;
4958
+ box-shadow: none;
4959
+ appearance: none;
4960
+ background: transparent;
4961
+ font-size: 12px;
4962
+ font-family: inherit;
4963
+ color: var(--text-primary-color, #1b1b1f);
4964
+ height: 100%;
4965
+ text-align: right;
4966
+ box-sizing: border-box;
4967
+ }
4968
+ .excalidraw .adv-cp__alpha-input input:focus,
4969
+ .excalidraw .adv-cp__alpha-input input:focus-visible {
4970
+ outline: none;
4971
+ box-shadow: none;
4972
+ }
4973
+ .excalidraw .adv-cp__percent {
4974
+ color: var(--input-label-color, #868e96);
4975
+ font-size: 12px;
4976
+ margin-left: 3px;
4977
+ font-weight: 500;
4978
+ flex-shrink: 0;
4979
+ }
4980
+
4981
+ /* components/CanvasBackgroundSwatch.scss */
4982
+ .excalidraw .canvas-bg-swatch-wrapper {
4983
+ position: relative;
4984
+ display: inline-flex;
4985
+ align-items: center;
4986
+ }
4987
+ .excalidraw .canvas-bg-swatch {
4988
+ display: flex;
4989
+ align-items: center;
4990
+ justify-content: center;
4991
+ width: 24px;
4992
+ height: 24px;
4993
+ padding: 0;
4994
+ border: none;
4995
+ background: none;
4996
+ cursor: pointer;
4997
+ border-radius: 50%;
4998
+ }
4999
+ .excalidraw .canvas-bg-swatch:hover .canvas-bg-swatch__color {
5000
+ box-shadow: 0 0 0 2px var(--color-primary);
5001
+ }
5002
+ .excalidraw .canvas-bg-swatch__color {
5003
+ width: 20px;
5004
+ height: 20px;
5005
+ border-radius: 50%;
5006
+ border: 1.5px solid var(--color-gray-40);
5007
+ box-sizing: border-box;
5008
+ overflow: hidden;
5009
+ position: relative;
5010
+ transition: box-shadow 0.12s;
5011
+ }
5012
+ .excalidraw .canvas-bg-swatch__transparent {
5013
+ width: 100%;
5014
+ height: 100%;
5015
+ background-image: repeating-conic-gradient(#d0d0d0 0% 25%, #fff 0% 50%);
5016
+ background-size: 8px 8px;
5017
+ }
5018
+ .excalidraw .canvas-bg-swatch__popover {
5019
+ position: absolute;
5020
+ bottom: calc(100% + 8px);
5021
+ left: 0;
5022
+ z-index: 100;
5023
+ background: var(--island-bg-color);
5024
+ border-radius: 12px;
5025
+ box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--color-surface-lowest);
5026
+ padding: 16px;
5027
+ min-width: 260px;
5028
+ }
5029
+ .excalidraw .canvas-bg-swatch__popover-header {
5030
+ display: flex;
5031
+ align-items: center;
5032
+ justify-content: space-between;
5033
+ margin-bottom: 12px;
5034
+ font-size: 14px;
5035
+ font-weight: 600;
5036
+ color: var(--text-primary-color);
5037
+ }
5038
+ .excalidraw .canvas-bg-swatch__close {
5039
+ display: flex;
5040
+ align-items: center;
5041
+ justify-content: center;
5042
+ width: 24px;
5043
+ height: 24px;
5044
+ border: none;
5045
+ background: none;
5046
+ cursor: pointer;
5047
+ color: var(--text-primary-color);
5048
+ font-size: 14px;
5049
+ border-radius: 4px;
5050
+ }
5051
+ .excalidraw .canvas-bg-swatch__close:hover {
5052
+ background: var(--color-surface-mid);
5053
+ }
5054
+ .excalidraw .canvas-bg-swatch__picker-content .color-picker-content {
5055
+ padding: 0;
5056
+ }
5057
+
4237
5058
  /* components/Sidebar/SidebarTrigger.scss */
4238
5059
  .excalidraw .sidebar-trigger {
4239
5060
  display: flex;
@@ -8812,6 +9633,12 @@ body.excalidraw-cursor-resize * {
8812
9633
  .text-zinc-950 {
8813
9634
  color: var(--color-zinc-950);
8814
9635
  }
9636
+ .capitalize {
9637
+ text-transform: capitalize;
9638
+ }
9639
+ .lowercase {
9640
+ text-transform: lowercase;
9641
+ }
8815
9642
  .uppercase {
8816
9643
  text-transform: uppercase;
8817
9644
  }
@@ -8902,6 +9729,34 @@ body.excalidraw-cursor-resize * {
8902
9729
  .filter {
8903
9730
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
8904
9731
  }
9732
+ .transition {
9733
+ transition-property:
9734
+ color,
9735
+ background-color,
9736
+ border-color,
9737
+ outline-color,
9738
+ text-decoration-color,
9739
+ fill,
9740
+ stroke,
9741
+ --tw-gradient-from,
9742
+ --tw-gradient-via,
9743
+ --tw-gradient-to,
9744
+ opacity,
9745
+ box-shadow,
9746
+ transform,
9747
+ translate,
9748
+ scale,
9749
+ rotate,
9750
+ filter,
9751
+ -webkit-backdrop-filter,
9752
+ backdrop-filter,
9753
+ display,
9754
+ content-visibility,
9755
+ overlay,
9756
+ pointer-events;
9757
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
9758
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
9759
+ }
8905
9760
  .transition-all {
8906
9761
  transition-property: all;
8907
9762
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
@@ -9427,12 +10282,26 @@ body.excalidraw-cursor-resize * {
9427
10282
  .excalidraw .acp input[type=file] {
9428
10283
  display: none !important;
9429
10284
  }
9430
- .excalidraw .acp textarea,
9431
10285
  .excalidraw .acp input[type=text],
9432
10286
  .excalidraw .acp input[type=search] {
9433
10287
  all: unset !important;
9434
10288
  box-sizing: border-box !important;
9435
10289
  }
10290
+ .excalidraw .acp textarea {
10291
+ margin: 0 !important;
10292
+ padding: 0 !important;
10293
+ border: none !important;
10294
+ background: transparent !important;
10295
+ font: inherit !important;
10296
+ color: inherit !important;
10297
+ letter-spacing: inherit !important;
10298
+ word-spacing: inherit !important;
10299
+ text-transform: none !important;
10300
+ text-indent: 0 !important;
10301
+ text-shadow: none !important;
10302
+ text-align: start !important;
10303
+ box-sizing: border-box !important;
10304
+ }
9436
10305
  .excalidraw .acp button {
9437
10306
  all: unset !important;
9438
10307
  box-sizing: border-box !important;
@@ -9866,14 +10735,17 @@ body.excalidraw-cursor-resize * {
9866
10735
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
9867
10736
  padding: 0 !important;
9868
10737
  cursor: text !important;
10738
+ overflow: hidden !important;
9869
10739
  }
9870
10740
  .excalidraw .acp .acp-textarea {
9871
10741
  display: block !important;
9872
10742
  width: 100% !important;
9873
- min-height: 44px !important;
9874
- max-height: 160px !important;
9875
- overflow-y: auto !important;
10743
+ box-sizing: border-box !important;
10744
+ min-height: 56px !important;
9876
10745
  resize: none !important;
10746
+ overflow-x: hidden !important;
10747
+ word-wrap: break-word !important;
10748
+ white-space: pre-wrap !important;
9877
10749
  padding: 14px 16px 6px !important;
9878
10750
  font-family: inherit !important;
9879
10751
  font-size: 14px !important;
@@ -9883,6 +10755,7 @@ body.excalidraw-cursor-resize * {
9883
10755
  border: none !important;
9884
10756
  outline: none !important;
9885
10757
  -webkit-appearance: none !important;
10758
+ appearance: none !important;
9886
10759
  }
9887
10760
  .excalidraw .acp .acp-textarea::placeholder {
9888
10761
  color: #bbb !important;
@@ -10254,23 +11127,32 @@ body.excalidraw-cursor-resize * {
10254
11127
  display: flex !important;
10255
11128
  align-items: center !important;
10256
11129
  justify-content: center !important;
10257
- width: 36px !important;
11130
+ gap: 6px !important;
10258
11131
  height: 36px !important;
10259
- border-radius: 50% !important;
10260
- background: #fff !important;
10261
- border: 1px solid rgba(0, 0, 0, 0.1) !important;
10262
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
10263
- color: #333 !important;
11132
+ padding: 0 14px !important;
11133
+ border-radius: 20px !important;
11134
+ background: var(--island-bg-color, #fff) !important;
11135
+ border: 1px solid var(--color-surface-lowest, rgba(0, 0, 0, 0.1)) !important;
11136
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
11137
+ color: var(--text-primary-color, #333) !important;
10264
11138
  cursor: pointer !important;
10265
11139
  transition: background 0.12s, box-shadow 0.12s !important;
10266
11140
  box-sizing: border-box !important;
11141
+ font-size: 13px !important;
11142
+ font-weight: 500 !important;
11143
+ font-family: inherit !important;
11144
+ white-space: nowrap !important;
11145
+ }
11146
+ .excalidraw .acp-open-btn svg {
11147
+ flex-shrink: 0;
11148
+ color: var(--icon-fill-color, #666);
10267
11149
  }
10268
11150
  .excalidraw .acp-open-btn:hover {
10269
- background: #f5f5f5 !important;
10270
- box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14) !important;
11151
+ background: var(--color-surface-low, #f5f5f5) !important;
11152
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
10271
11153
  }
10272
11154
  .excalidraw .acp-open-btn:active {
10273
- transform: scale(0.95) !important;
11155
+ transform: scale(0.97) !important;
10274
11156
  }
10275
11157
  /*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
10276
11158
  /*# sourceMappingURL=index.css.map */