@orangecatai/adgen-canvas 0.0.32 → 0.0.34

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 (33) hide show
  1. package/dist/dev/{chunk-VL47Q2RH.js → chunk-DB6EMYXB.js} +2 -2
  2. package/dist/dev/{chunk-OWDDSUUQ.js → chunk-JBHZ6CNN.js} +3 -3
  3. package/dist/dev/data/{image-5Y3GORNT.js → image-IIQSXNFT.js} +3 -3
  4. package/dist/dev/index.css +716 -703
  5. package/dist/dev/index.css.map +3 -3
  6. package/dist/dev/index.js +9700 -8140
  7. package/dist/dev/index.js.map +4 -4
  8. package/dist/dev/subset-shared.chunk.js +1 -1
  9. package/dist/dev/subset-worker.chunk.js +1 -1
  10. package/dist/prod/{chunk-452N23ZE.js → chunk-KFCCNTO2.js} +1 -1
  11. package/dist/prod/{chunk-AQSA3HNR.js → chunk-T2MY3VHD.js} +2 -2
  12. package/dist/prod/data/image-3RDLE3VN.js +1 -0
  13. package/dist/prod/index.css +1 -1
  14. package/dist/prod/index.js +167 -105
  15. package/dist/prod/subset-shared.chunk.js +1 -1
  16. package/dist/prod/subset-worker.chunk.js +1 -1
  17. package/dist/types/excalidraw/components/ImageGeneratorPanel.d.ts +15 -0
  18. package/dist/types/excalidraw/components/ai-chat/imagePayload.d.ts +53 -0
  19. package/dist/types/excalidraw/components/auto-resize/AutoResizePanel.d.ts +3 -4
  20. package/dist/types/excalidraw/components/auto-resize/autoResizeEngine.d.ts +17 -14
  21. package/dist/types/excalidraw/components/auto-resize/backgroundExtend.d.ts +105 -0
  22. package/dist/types/excalidraw/components/auto-resize/frameSource.d.ts +16 -0
  23. package/dist/types/excalidraw/components/frameToolbarVariant.d.ts +34 -1
  24. package/dist/types/excalidraw/types.d.ts +23 -4
  25. package/dist/types/excalidraw/utils/brandContextUtils.d.ts +11 -6
  26. package/dist/types/excalidraw/utils/imageApi.d.ts +52 -6
  27. package/dist/types/excalidraw/utils/imageCompression.d.ts +46 -0
  28. package/dist/types/excalidraw/utils/referenceBudget.d.ts +138 -0
  29. package/package.json +1 -1
  30. package/dist/prod/data/image-5D6ZUEOG.js +0 -1
  31. /package/dist/dev/{chunk-VL47Q2RH.js.map → chunk-DB6EMYXB.js.map} +0 -0
  32. /package/dist/dev/{chunk-OWDDSUUQ.js.map → chunk-JBHZ6CNN.js.map} +0 -0
  33. /package/dist/dev/data/{image-5Y3GORNT.js.map → image-IIQSXNFT.js.map} +0 -0
@@ -3650,810 +3650,862 @@
3650
3650
  }
3651
3651
  }
3652
3652
 
3653
- /* components/auto-resize/AutoResizePanel.scss */
3654
- @keyframes ars-shimmer-sweep {
3655
- 0% {
3656
- background-position: 200% 0;
3657
- }
3658
- 100% {
3659
- background-position: -200% 0;
3660
- }
3661
- }
3662
- .ars-shimmer {
3663
- background: rgba(180, 200, 230, 0.12);
3664
- }
3665
- .ars-shimmer::after {
3666
- content: "";
3667
- display: block;
3668
- position: absolute;
3669
- inset: 0;
3670
- background:
3671
- linear-gradient(
3672
- 90deg,
3673
- transparent 0%,
3674
- rgba(255, 255, 255, 0.45) 50%,
3675
- transparent 100%);
3676
- background-size: 200% 100%;
3677
- animation: ars-shimmer-sweep 1.6s ease-in-out infinite;
3678
- }
3679
- @keyframes ags-shimmer-sweep {
3680
- 0% {
3681
- background-position: 200% 0;
3682
- }
3683
- 100% {
3684
- background-position: -200% 0;
3685
- }
3686
- }
3687
- @keyframes ags-pulse-border {
3688
- 0%, 100% {
3689
- border-color: rgba(251, 146, 60, 0.35);
3690
- box-shadow: 0 0 0 0 rgba(251, 146, 60, 0);
3691
- }
3692
- 50% {
3693
- border-color: rgba(251, 146, 60, 0.7);
3694
- box-shadow: 0 0 12px 2px rgba(251, 146, 60, 0.18);
3695
- }
3696
- }
3697
- .ags-shimmer {
3698
- background: rgba(251, 146, 60, 0.05);
3699
- border: 2px solid rgba(251, 146, 60, 0.35);
3700
- border-radius: 2px;
3701
- animation: ags-pulse-border 2.2s ease-in-out infinite;
3702
- }
3703
- .ags-shimmer::after {
3704
- content: "";
3705
- display: block;
3653
+ /* components/ImageGeneratorPanel.scss */
3654
+ .excalidraw .igp {
3706
3655
  position: absolute;
3707
- inset: 0;
3708
- background:
3709
- linear-gradient(
3710
- 110deg,
3711
- transparent 0%,
3712
- rgba(255, 255, 255, 0.22) 45%,
3713
- rgba(255, 200, 120, 0.18) 50%,
3714
- rgba(255, 255, 255, 0.22) 55%,
3715
- transparent 100%);
3716
- background-size: 200% 100%;
3717
- animation: ags-shimmer-sweep 1.8s ease-in-out infinite;
3718
- }
3719
- .excalidraw .arp {
3720
- width: 296px;
3721
- background: var(--island-bg-color);
3722
- border-radius: 10px;
3723
- box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06);
3724
- font-size: 12px;
3656
+ z-index: var(--zIndex-canvasButtons);
3657
+ pointer-events: all;
3658
+ transform: translateX(-50%);
3659
+ width: 420px;
3725
3660
  font-family:
3726
3661
  "Assistant",
3727
3662
  system-ui,
3728
3663
  -apple-system,
3729
3664
  sans-serif;
3730
- color: var(--text-primary-color, #333);
3731
- pointer-events: all;
3732
- overflow: hidden;
3665
+ font-size: 13px;
3666
+ color: #111;
3733
3667
  }
3734
- .excalidraw .arp-header {
3735
- display: flex;
3736
- align-items: center;
3737
- justify-content: space-between;
3738
- padding: 10px 12px 8px;
3739
- border-bottom: 1px solid var(--default-border-color, #e4e4e7);
3740
- cursor: grab;
3741
- user-select: none;
3668
+ .excalidraw .igp input[type=file] {
3669
+ display: none !important;
3742
3670
  }
3743
- .excalidraw .arp-header:active {
3744
- cursor: grabbing;
3671
+ .excalidraw .igp input[type=text] {
3672
+ all: unset !important;
3673
+ box-sizing: border-box !important;
3745
3674
  }
3746
- .excalidraw .arp-header__title {
3747
- display: flex;
3748
- align-items: center;
3749
- gap: 6px;
3750
- font-weight: 600;
3751
- font-size: 13px;
3675
+ .excalidraw .igp textarea {
3676
+ margin: 0 !important;
3677
+ padding: 0 !important;
3678
+ border: none !important;
3679
+ background: transparent !important;
3680
+ font: inherit !important;
3681
+ color: inherit !important;
3682
+ letter-spacing: inherit !important;
3683
+ word-spacing: inherit !important;
3684
+ text-transform: none !important;
3685
+ text-indent: 0 !important;
3686
+ text-shadow: none !important;
3687
+ text-align: start !important;
3688
+ box-sizing: border-box !important;
3752
3689
  }
3753
- .excalidraw .arp-header__title svg {
3754
- color: var(--color-primary, #4a90d9);
3690
+ .excalidraw .igp button {
3691
+ all: unset !important;
3692
+ box-sizing: border-box !important;
3693
+ cursor: pointer !important;
3755
3694
  }
3756
- .excalidraw .arp-header__close {
3757
- display: flex;
3758
- align-items: center;
3759
- justify-content: center;
3760
- width: 22px;
3761
- height: 22px;
3762
- border: none;
3763
- background: transparent;
3764
- border-radius: 4px;
3765
- cursor: pointer;
3766
- padding: 0;
3767
- color: var(--text-secondary-color, #888);
3768
- transition: background 0.12s ease;
3695
+ .excalidraw .igp [data-slot=prompt-input],
3696
+ .excalidraw .igp .igp-container {
3697
+ display: block;
3698
+ background: #fff;
3699
+ border: 1px solid rgba(0, 0, 0, 0.09);
3700
+ border-radius: 16px;
3701
+ box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
3702
+ overflow: visible;
3769
3703
  }
3770
- .excalidraw .arp-header__close:hover {
3771
- background: var(--button-hover-bg, rgba(0, 0, 0, 0.06));
3772
- color: var(--text-primary-color, #333);
3704
+ .excalidraw .igp .igp-textarea {
3705
+ display: block !important;
3706
+ width: 100% !important;
3707
+ min-height: 72px !important;
3708
+ resize: none !important;
3709
+ padding: 14px 16px 8px !important;
3710
+ font-family: inherit !important;
3711
+ font-size: 14px !important;
3712
+ line-height: 1.55 !important;
3713
+ color: #1a1a1a !important;
3714
+ background: transparent !important;
3715
+ border: none !important;
3716
+ outline: none !important;
3717
+ box-shadow: none !important;
3718
+ -webkit-appearance: none !important;
3719
+ appearance: none !important;
3773
3720
  }
3774
- .excalidraw .arp-source {
3775
- padding: 5px 12px;
3776
- font-size: 11px;
3777
- color: var(--text-secondary-color, #888);
3778
- background: var(--default-bg-color, rgba(0, 0, 0, 0.02));
3779
- border-bottom: 1px solid var(--default-border-color, #e4e4e7);
3721
+ .excalidraw .igp .igp-textarea::placeholder {
3722
+ color: #b8b8b8 !important;
3723
+ font-weight: 400 !important;
3780
3724
  }
3781
- .excalidraw .arp-section-label {
3782
- padding: 8px 12px 4px;
3783
- font-size: 10px;
3784
- font-weight: 600;
3785
- text-transform: uppercase;
3786
- letter-spacing: 0.5px;
3787
- color: var(--text-secondary-color, #888);
3725
+ .excalidraw .igp .igp-error {
3726
+ padding: 2px 16px 6px;
3727
+ font-size: 12px;
3728
+ color: #e54d4d;
3729
+ line-height: 1.4;
3788
3730
  }
3789
- .excalidraw .arp-resolutions {
3790
- padding: 0 12px 4px;
3731
+ .excalidraw .igp .igp-ref-chips {
3791
3732
  display: flex;
3733
+ flex-wrap: wrap;
3792
3734
  gap: 6px;
3735
+ margin: 10px 14px 0;
3793
3736
  }
3794
- .excalidraw .arp-res {
3795
- flex: 1;
3796
- padding: 5px 8px;
3797
- border: 1px solid var(--default-border-color, #e4e4e7);
3798
- border-radius: 6px;
3799
- background: transparent;
3800
- cursor: pointer;
3801
- font-size: 12px;
3802
- font-weight: 500;
3803
- font-family: inherit;
3804
- color: var(--text-primary-color, #333);
3805
- transition:
3806
- background 0.12s ease,
3807
- border-color 0.12s ease,
3808
- color 0.12s ease;
3737
+ .excalidraw .igp .igp-ref-chip {
3738
+ display: flex;
3739
+ align-items: center;
3740
+ gap: 7px;
3741
+ padding: 5px 8px 5px 6px;
3742
+ background: #f5f5f5;
3743
+ border-radius: 8px;
3744
+ width: fit-content;
3809
3745
  }
3810
- .excalidraw .arp-res:hover:not(.excalidraw .arp-res--disabled):not(.excalidraw .arp-res--selected) {
3811
- background: var(--button-hover-bg, rgba(0, 0, 0, 0.05));
3746
+ .excalidraw .igp .igp-ref-chip img {
3747
+ width: 22px !important;
3748
+ height: 22px !important;
3749
+ border-radius: 5px !important;
3750
+ object-fit: cover !important;
3751
+ flex-shrink: 0 !important;
3812
3752
  }
3813
- .excalidraw .arp-res--selected {
3814
- background: var(--color-primary, #4a90d9);
3815
- border-color: var(--color-primary, #4a90d9);
3816
- color: #fff;
3753
+ .excalidraw .igp .igp-ref-chip span {
3754
+ font-size: 11.5px;
3755
+ font-weight: 500;
3756
+ color: #888;
3817
3757
  }
3818
- .excalidraw .arp-res--disabled {
3819
- cursor: default;
3820
- opacity: 0.7;
3758
+ .excalidraw .igp .igp-ref-chip button {
3759
+ display: flex !important;
3760
+ align-items: center !important;
3761
+ justify-content: center !important;
3762
+ width: 16px !important;
3763
+ height: 16px !important;
3764
+ border-radius: 50% !important;
3765
+ color: #aaa !important;
3766
+ transition: background 0.1s ease, color 0.1s ease !important;
3821
3767
  }
3822
- .excalidraw .arp-presets {
3823
- padding: 0 8px 4px;
3824
- display: flex;
3825
- flex-direction: column;
3826
- gap: 1px;
3768
+ .excalidraw .igp .igp-ref-chip button:hover {
3769
+ background: rgba(0, 0, 0, 0.08) !important;
3770
+ color: #555 !important;
3827
3771
  }
3828
- .excalidraw .arp-preset {
3772
+ .excalidraw .igp .igp-actions {
3773
+ display: flex !important;
3774
+ align-items: center !important;
3775
+ justify-content: space-between !important;
3776
+ padding: 6px 10px 10px !important;
3777
+ border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
3778
+ gap: 4px !important;
3779
+ }
3780
+ .excalidraw .igp .igp-actions-left,
3781
+ .excalidraw .igp .igp-actions-right {
3829
3782
  display: flex;
3830
3783
  align-items: center;
3831
- gap: 6px;
3832
- padding: 6px 8px;
3833
- border: none;
3834
- border-radius: 6px;
3835
- background: transparent;
3836
- cursor: pointer;
3837
- text-align: left;
3838
- font-size: 12px;
3839
- font-family: inherit;
3840
- color: var(--text-primary-color, #333);
3841
- transition: background 0.12s ease;
3842
- width: 100%;
3784
+ gap: 2px;
3843
3785
  }
3844
- .excalidraw .arp-preset:hover:not(.excalidraw .arp-preset--disabled) {
3845
- background: var(--button-hover-bg, rgba(0, 0, 0, 0.05));
3786
+ .excalidraw .igp .igp-btn {
3787
+ display: flex !important;
3788
+ align-items: center !important;
3789
+ gap: 5px !important;
3790
+ height: 28px !important;
3791
+ padding: 0 9px !important;
3792
+ border-radius: 8px !important;
3793
+ font-family: inherit !important;
3794
+ font-size: 12.5px !important;
3795
+ font-weight: 500 !important;
3796
+ color: #444 !important;
3797
+ background: transparent !important;
3798
+ white-space: nowrap !important;
3799
+ transition: background 0.12s ease !important;
3846
3800
  }
3847
- .excalidraw .arp-preset--selected {
3848
- background: rgba(74, 144, 217, 0.08);
3849
- color: var(--text-primary-color, #333);
3801
+ .excalidraw .igp .igp-btn svg {
3802
+ color: #888;
3803
+ flex-shrink: 0;
3850
3804
  }
3851
- .excalidraw .arp-preset--disabled {
3852
- cursor: default;
3853
- opacity: 0.7;
3805
+ .excalidraw .igp .igp-btn:hover {
3806
+ background: rgba(0, 0, 0, 0.05) !important;
3854
3807
  }
3855
- .excalidraw .arp-preset__check {
3856
- width: 14px;
3857
- height: 14px;
3858
- border: 1.5px solid var(--default-border-color, #d0d0d0);
3859
- border-radius: 3px;
3860
- display: flex;
3861
- align-items: center;
3862
- justify-content: center;
3863
- flex-shrink: 0;
3864
- background: transparent;
3865
- transition: background 0.12s ease, border-color 0.12s ease;
3808
+ .excalidraw .igp .igp-btn:disabled {
3809
+ opacity: 0.4 !important;
3810
+ cursor: not-allowed !important;
3866
3811
  }
3867
- .arp-preset--selected .excalidraw .arp-preset__check {
3868
- background: var(--color-primary, #4a90d9);
3869
- border-color: var(--color-primary, #4a90d9);
3870
- color: white;
3812
+ .excalidraw .igp .igp-btn--compact {
3813
+ padding: 0 7px !important;
3814
+ color: #666 !important;
3871
3815
  }
3872
- .excalidraw .arp-preset__label {
3873
- font-weight: 500;
3874
- flex: 0 0 auto;
3875
- min-width: 80px;
3816
+ .excalidraw .igp .igp-btn--compact svg {
3817
+ color: #999;
3876
3818
  }
3877
- .excalidraw .arp-preset__desc {
3878
- font-size: 11px;
3879
- color: var(--text-secondary-color, #999);
3880
- flex: 1;
3819
+ .excalidraw .igp .igp-btn--icon {
3820
+ width: 28px !important;
3821
+ padding: 0 !important;
3822
+ justify-content: center !important;
3823
+ color: #888 !important;
3881
3824
  }
3882
- .excalidraw .arp-preset__status {
3883
- flex-shrink: 0;
3884
- margin-left: auto;
3825
+ .excalidraw .igp .igp-btn--active {
3826
+ background: rgba(99, 80, 220, 0.07) !important;
3827
+ color: #6350dc !important;
3885
3828
  }
3886
- .excalidraw .arp-extras {
3887
- padding: 4px 12px;
3888
- display: flex;
3889
- flex-wrap: wrap;
3890
- gap: 4px;
3829
+ .excalidraw .igp .igp-btn--active svg {
3830
+ color: #6350dc;
3891
3831
  }
3892
- .excalidraw .arp-extra-tag {
3893
- display: inline-flex;
3894
- align-items: center;
3895
- gap: 4px;
3896
- padding: 3px 8px;
3897
- border-radius: 12px;
3898
- background: var(--color-primary-light, rgba(74, 144, 217, 0.1));
3899
- color: var(--color-primary, #4a90d9);
3900
- font-size: 11px;
3901
- font-weight: 500;
3832
+ .excalidraw .igp .igp-btn--active:hover {
3833
+ background: rgba(99, 80, 220, 0.12) !important;
3902
3834
  }
3903
- .excalidraw .arp-extra-tag__remove {
3904
- border: none;
3905
- background: transparent;
3906
- padding: 0;
3907
- cursor: pointer;
3908
- color: inherit;
3909
- opacity: 0.6;
3910
- font-size: 13px;
3911
- line-height: 1;
3912
- margin-left: 2px;
3835
+ .excalidraw .igp .igp-generate {
3836
+ display: flex !important;
3837
+ align-items: center !important;
3838
+ justify-content: center !important;
3839
+ width: 32px !important;
3840
+ height: 32px !important;
3841
+ border-radius: 50% !important;
3842
+ background: #1c1c1c !important;
3843
+ color: #fff !important;
3844
+ margin-left: 4px !important;
3845
+ flex-shrink: 0 !important;
3846
+ transition: background 0.12s ease, transform 0.1s ease !important;
3913
3847
  }
3914
- .excalidraw .arp-extra-tag__remove:hover {
3915
- opacity: 1;
3848
+ .excalidraw .igp .igp-generate:hover {
3849
+ background: #333 !important;
3916
3850
  }
3917
- .excalidraw .arp-custom-row {
3918
- display: flex;
3919
- align-items: center;
3920
- gap: 6px;
3921
- padding: 4px 12px 10px;
3851
+ .excalidraw .igp .igp-generate:active {
3852
+ transform: scale(0.94) !important;
3922
3853
  }
3923
- .excalidraw .arp-custom-input {
3924
- width: 56px;
3925
- padding: 5px 6px;
3926
- border: 1px solid var(--default-border-color, #e4e4e7);
3927
- border-radius: 5px;
3928
- font-size: 12px;
3929
- text-align: center;
3930
- font-family: inherit;
3931
- color: var(--text-primary-color, #333);
3932
- background: var(--input-bg-color, #fff);
3933
- outline: none;
3934
- transition: border-color 0.12s ease;
3935
- -moz-appearance: textfield;
3854
+ .excalidraw .igp .igp-generate:disabled {
3855
+ background: #d0d0d0 !important;
3856
+ cursor: not-allowed !important;
3936
3857
  }
3937
- .excalidraw .arp-custom-input:focus {
3938
- border-color: var(--color-primary, #4a90d9);
3858
+ .excalidraw .igp .igp-dropdown-root {
3859
+ position: relative;
3939
3860
  }
3940
- .excalidraw .arp-custom-input::-webkit-outer-spin-button,
3941
- .excalidraw .arp-custom-input::-webkit-inner-spin-button {
3942
- -webkit-appearance: none;
3943
- margin: 0;
3861
+ .excalidraw .igp .igp-dropdown {
3862
+ position: absolute;
3863
+ z-index: 300;
3864
+ min-width: 160px;
3865
+ padding: 4px;
3866
+ background: #fff;
3867
+ border-radius: 11px;
3868
+ box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.06);
3944
3869
  }
3945
- .excalidraw .arp-custom-x {
3946
- font-size: 12px;
3947
- color: var(--text-secondary-color, #aaa);
3870
+ .excalidraw .igp .igp-dropdown--up {
3871
+ bottom: calc(100% + 8px);
3948
3872
  }
3949
- .excalidraw .arp-custom-add {
3950
- flex: 1;
3951
- padding: 5px 8px;
3952
- border: 1px solid var(--default-border-color, #e4e4e7);
3953
- border-radius: 5px;
3954
- background: transparent;
3955
- font-size: 12px;
3956
- font-family: inherit;
3957
- cursor: pointer;
3958
- color: var(--color-primary, #4a90d9);
3959
- transition: background 0.12s ease, border-color 0.12s ease;
3960
- white-space: nowrap;
3873
+ .excalidraw .igp .igp-dropdown--left {
3874
+ left: 0;
3961
3875
  }
3962
- .excalidraw .arp-custom-add:hover:not(:disabled) {
3963
- background: rgba(74, 144, 217, 0.06);
3964
- border-color: var(--color-primary, #4a90d9);
3876
+ .excalidraw .igp .igp-dropdown--right {
3877
+ right: 0;
3965
3878
  }
3966
- .excalidraw .arp-custom-add:disabled {
3967
- opacity: 0.4;
3968
- cursor: default;
3879
+ .excalidraw .igp .igp-dropdown--ratio {
3880
+ min-width: 230px;
3969
3881
  }
3970
- .excalidraw .arp-status {
3882
+ .excalidraw .igp .igp-dropdown-header {
3971
3883
  display: flex;
3972
3884
  align-items: center;
3973
- justify-content: center;
3974
- width: 16px;
3975
- height: 16px;
3976
- }
3977
- .excalidraw .arp-status--waiting {
3978
- color: var(--text-secondary-color, #bbb);
3979
- font-size: 11px;
3885
+ gap: 5px;
3886
+ padding: 5px 10px 3px;
3887
+ font-size: 10px;
3888
+ font-weight: 600;
3889
+ color: #bbb;
3890
+ text-transform: uppercase;
3891
+ letter-spacing: 0.5px;
3980
3892
  }
3981
- .excalidraw .arp-status--running {
3982
- color: var(--color-primary, #4a90d9);
3893
+ .excalidraw .igp .igp-dropdown-item {
3894
+ display: flex !important;
3895
+ align-items: center !important;
3896
+ gap: 8px !important;
3897
+ width: 100% !important;
3898
+ padding: 7px 10px !important;
3899
+ border-radius: 7px !important;
3900
+ font-family: inherit !important;
3901
+ font-size: 13px !important;
3902
+ color: #222 !important;
3903
+ background: transparent !important;
3904
+ text-align: left !important;
3905
+ transition: background 0.1s ease !important;
3983
3906
  }
3984
- .excalidraw .arp-status--done {
3985
- color: #22c55e;
3907
+ .excalidraw .igp .igp-dropdown-item:hover {
3908
+ background: rgba(0, 0, 0, 0.04) !important;
3986
3909
  }
3987
- .excalidraw .arp-status--error {
3988
- color: #ef4444;
3910
+ .excalidraw .igp .igp-check {
3911
+ color: #6350dc;
3912
+ display: flex;
3913
+ align-items: center;
3914
+ flex-shrink: 0;
3989
3915
  }
3990
- .excalidraw .arp-spinner {
3991
- animation: arp-spin 0.9s linear infinite;
3916
+ .excalidraw .igp .igp-dims {
3917
+ font-size: 11px;
3918
+ color: #bbb;
3919
+ flex-shrink: 0;
3992
3920
  }
3993
- @keyframes arp-spin {
3921
+ @keyframes igp-spin {
3922
+ from {
3923
+ transform: rotate(0deg);
3924
+ }
3994
3925
  to {
3995
3926
  transform: rotate(360deg);
3996
3927
  }
3997
3928
  }
3998
- .excalidraw .arp-progress {
3999
- padding: 8px 12px;
4000
- display: flex;
4001
- align-items: center;
4002
- gap: 8px;
4003
- border-top: 1px solid var(--default-border-color, #e4e4e7);
4004
- }
4005
- .excalidraw .arp-progress__bar-bg {
4006
- flex: 1;
4007
- height: 4px;
4008
- background: var(--default-border-color, #e8e8e8);
4009
- border-radius: 2px;
4010
- overflow: hidden;
3929
+ .excalidraw .igp .igp-spinner {
3930
+ animation: igp-spin 0.8s linear infinite;
4011
3931
  }
4012
- .excalidraw .arp-progress__bar-fill {
4013
- height: 100%;
4014
- background: var(--color-primary, #4a90d9);
4015
- border-radius: 2px;
4016
- transition: width 0.3s ease;
3932
+
3933
+ /* components/ChipSourceMenu.scss */
3934
+ .excalidraw .chip-source-menu {
3935
+ position: absolute;
3936
+ bottom: calc(100% + 6px);
3937
+ left: 0;
3938
+ z-index: 10;
3939
+ min-width: 148px;
3940
+ padding: 4px;
3941
+ display: flex;
3942
+ flex-direction: column;
3943
+ gap: 2px;
3944
+ border-radius: 8px;
3945
+ border: 1px solid var(--color-gray-30, #e0e0e0);
3946
+ background: var(--island-bg-color, #fff);
3947
+ box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
4017
3948
  }
4018
- .excalidraw .arp-progress__text {
4019
- font-size: 11px;
4020
- color: var(--text-secondary-color, #888);
4021
- white-space: nowrap;
3949
+ .excalidraw .chip-source-menu__title {
3950
+ padding: 4px 8px 2px;
3951
+ font-size: 10px;
3952
+ letter-spacing: 0.02em;
3953
+ text-transform: uppercase;
3954
+ color: var(--color-gray-60, #7a7a7a);
4022
3955
  }
4023
- .excalidraw .arp-error {
4024
- margin: 4px 12px;
4025
- padding: 8px 10px;
3956
+ .excalidraw .chip-source-menu__item {
3957
+ display: flex;
3958
+ align-items: center;
3959
+ gap: 7px;
3960
+ width: 100%;
3961
+ padding: 6px 8px;
3962
+ border: none;
4026
3963
  border-radius: 6px;
4027
- background: rgba(239, 68, 68, 0.08);
4028
- color: #ef4444;
4029
- font-size: 11px;
4030
- line-height: 1.4;
3964
+ background: transparent;
3965
+ color: var(--text-primary-color, #1b1b1f);
3966
+ font-size: 12px;
3967
+ text-align: left;
3968
+ cursor: pointer;
4031
3969
  }
4032
- .excalidraw .arp-actions {
4033
- padding: 8px 12px 10px;
3970
+ .excalidraw .chip-source-menu__item:hover {
3971
+ background: var(--button-hover-bg, rgba(0, 0, 0, 0.06));
3972
+ }
3973
+ .excalidraw .chip-pick-hint {
4034
3974
  display: flex;
3975
+ align-items: center;
4035
3976
  gap: 6px;
4036
- border-top: 1px solid var(--default-border-color, #e4e4e7);
3977
+ padding: 4px 2px;
3978
+ font-size: 11px;
3979
+ color: var(--color-gray-70, #5c5c5c);
4037
3980
  }
4038
- .excalidraw .arp-btn {
4039
- flex: 1;
4040
- padding: 7px 12px;
4041
- border-radius: 6px;
3981
+ .excalidraw .chip-pick-hint--missed {
3982
+ color: var(--color-danger, #c92a2a);
3983
+ }
3984
+ .excalidraw .chip-pick-hint__cancel {
4042
3985
  border: none;
4043
- font-size: 12px;
4044
- font-family: inherit;
4045
- font-weight: 500;
3986
+ background: transparent;
3987
+ padding: 0 2px;
3988
+ font-size: 11px;
3989
+ text-decoration: underline;
3990
+ color: inherit;
4046
3991
  cursor: pointer;
4047
- transition: background 0.12s ease, opacity 0.12s ease;
4048
- }
4049
- .excalidraw .arp-btn:disabled {
4050
- opacity: 0.45;
4051
- cursor: default;
4052
- }
4053
- .excalidraw .arp-btn--primary {
4054
- background: var(--color-primary, #4a90d9);
4055
- color: #fff;
4056
3992
  }
4057
- .excalidraw .arp-btn--primary:hover:not(:disabled) {
4058
- background: var(--color-primary-darker, #3a7bc8);
3993
+ .excalidraw .chip-pick-error {
3994
+ padding: 2px;
3995
+ font-size: 11px;
3996
+ color: var(--color-danger, #c92a2a);
4059
3997
  }
4060
- .excalidraw .arp-btn--cancel {
4061
- background: rgba(239, 68, 68, 0.1);
4062
- color: #ef4444;
3998
+ .excalidraw .chip-slot {
3999
+ position: relative;
4000
+ display: inline-flex;
4063
4001
  }
4064
- .excalidraw .arp-btn--cancel:hover {
4065
- background: rgba(239, 68, 68, 0.18);
4002
+
4003
+ /* components/ElementPickHighlight.scss */
4004
+ .excalidraw .element-pick-highlight {
4005
+ position: fixed;
4006
+ z-index: 5;
4007
+ pointer-events: none;
4008
+ border-radius: 4px;
4009
+ border: 2px solid var(--color-primary, #6965db);
4010
+ background: rgba(105, 101, 219, 0.12);
4011
+ box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.04);
4012
+ transform-origin: center;
4013
+ animation: element-pick-highlight-in 120ms ease-out;
4066
4014
  }
4067
- .excalidraw .arp-btn--ghost {
4068
- background: transparent;
4069
- color: var(--text-secondary-color, #777);
4070
- border: 1px solid var(--default-border-color, #e4e4e7);
4015
+ .excalidraw .element-pick-highlight__label {
4016
+ position: absolute;
4017
+ top: -22px;
4018
+ left: 0;
4019
+ padding: 2px 6px;
4020
+ border-radius: 4px;
4021
+ background: var(--color-primary, #6965db);
4022
+ color: #fff;
4023
+ font-size: 10px;
4024
+ font-weight: 600;
4025
+ white-space: nowrap;
4071
4026
  }
4072
- .excalidraw .arp-btn--ghost:hover {
4073
- background: var(--button-hover-bg, rgba(0, 0, 0, 0.04));
4027
+ @keyframes element-pick-highlight-in {
4028
+ from {
4029
+ opacity: 0;
4030
+ }
4031
+ to {
4032
+ opacity: 1;
4033
+ }
4074
4034
  }
4075
4035
 
4076
- /* components/ImageGeneratorPanel.scss */
4077
- .excalidraw .igp {
4036
+ /* components/ImageQuickEditPanel.scss */
4037
+ .excalidraw .iqep__trigger-bar {
4078
4038
  position: absolute;
4079
4039
  z-index: var(--zIndex-canvasButtons);
4080
4040
  pointer-events: all;
4081
4041
  transform: translateX(-50%);
4082
- width: 420px;
4042
+ display: flex;
4043
+ align-items: center;
4044
+ background: var(--island-bg-color);
4045
+ border-radius: 20px;
4046
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.06);
4047
+ padding: 2px;
4048
+ }
4049
+ .excalidraw .iqep__trigger-btn {
4050
+ display: flex;
4051
+ align-items: center;
4052
+ gap: 6px;
4053
+ border: none;
4054
+ border-radius: 16px;
4055
+ cursor: pointer;
4083
4056
  font-family:
4084
4057
  "Assistant",
4085
4058
  system-ui,
4086
4059
  -apple-system,
4087
4060
  sans-serif;
4088
- font-size: 13px;
4089
- color: #111;
4061
+ font-size: 12px;
4062
+ font-weight: 600;
4063
+ padding: 6px 12px;
4064
+ background: transparent;
4065
+ color: var(--color-primary, #4a90d9);
4066
+ transition: background 0.15s ease;
4090
4067
  }
4091
- .excalidraw .igp input[type=file] {
4092
- display: none !important;
4068
+ .excalidraw .iqep__trigger-btn svg {
4069
+ color: var(--color-primary, #4a90d9);
4093
4070
  }
4094
- .excalidraw .igp input[type=text] {
4095
- all: unset !important;
4096
- box-sizing: border-box !important;
4071
+ .excalidraw .iqep__trigger-btn:hover {
4072
+ background: var(--button-hover-bg, rgba(74, 144, 217, 0.08));
4097
4073
  }
4098
- .excalidraw .igp textarea {
4099
- margin: 0 !important;
4100
- padding: 0 !important;
4101
- border: none !important;
4102
- background: transparent !important;
4103
- font: inherit !important;
4104
- color: inherit !important;
4105
- letter-spacing: inherit !important;
4106
- word-spacing: inherit !important;
4107
- text-transform: none !important;
4108
- text-indent: 0 !important;
4109
- text-shadow: none !important;
4110
- text-align: start !important;
4111
- box-sizing: border-box !important;
4074
+ .excalidraw .iqep__ref-chip {
4075
+ display: flex;
4076
+ align-items: center;
4077
+ gap: 6px;
4078
+ padding: 8px 14px 4px;
4079
+ font-size: 11px;
4080
+ font-weight: 500;
4081
+ color: var(--text-secondary-color, #888);
4112
4082
  }
4113
- .excalidraw .igp button {
4114
- all: unset !important;
4115
- box-sizing: border-box !important;
4116
- cursor: pointer !important;
4083
+ .excalidraw .iqep__ref-chip svg {
4084
+ flex-shrink: 0;
4085
+ color: var(--text-secondary-color, #aaa);
4117
4086
  }
4118
- .excalidraw .igp [data-slot=prompt-input],
4119
- .excalidraw .igp .igp-container {
4087
+
4088
+ /* components/auto-resize/AutoResizePanel.scss */
4089
+ @keyframes ars-shimmer-sweep {
4090
+ 0% {
4091
+ background-position: 200% 0;
4092
+ }
4093
+ 100% {
4094
+ background-position: -200% 0;
4095
+ }
4096
+ }
4097
+ .ars-shimmer {
4098
+ background: rgba(180, 200, 230, 0.12);
4099
+ }
4100
+ .ars-shimmer::after {
4101
+ content: "";
4120
4102
  display: block;
4121
- background: #fff;
4122
- border: 1px solid rgba(0, 0, 0, 0.09);
4123
- border-radius: 16px;
4124
- box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
4125
- overflow: visible;
4103
+ position: absolute;
4104
+ inset: 0;
4105
+ background:
4106
+ linear-gradient(
4107
+ 90deg,
4108
+ transparent 0%,
4109
+ rgba(255, 255, 255, 0.45) 50%,
4110
+ transparent 100%);
4111
+ background-size: 200% 100%;
4112
+ animation: ars-shimmer-sweep 1.6s ease-in-out infinite;
4126
4113
  }
4127
- .excalidraw .igp .igp-textarea {
4128
- display: block !important;
4129
- width: 100% !important;
4130
- min-height: 72px !important;
4131
- resize: none !important;
4132
- padding: 14px 16px 8px !important;
4133
- font-family: inherit !important;
4134
- font-size: 14px !important;
4135
- line-height: 1.55 !important;
4136
- color: #1a1a1a !important;
4137
- background: transparent !important;
4138
- border: none !important;
4139
- outline: none !important;
4140
- box-shadow: none !important;
4141
- -webkit-appearance: none !important;
4142
- appearance: none !important;
4114
+ @keyframes ags-shimmer-sweep {
4115
+ 0% {
4116
+ background-position: 200% 0;
4117
+ }
4118
+ 100% {
4119
+ background-position: -200% 0;
4120
+ }
4143
4121
  }
4144
- .excalidraw .igp .igp-textarea::placeholder {
4145
- color: #b8b8b8 !important;
4146
- font-weight: 400 !important;
4122
+ @keyframes ags-pulse-border {
4123
+ 0%, 100% {
4124
+ border-color: rgba(251, 146, 60, 0.35);
4125
+ box-shadow: 0 0 0 0 rgba(251, 146, 60, 0);
4126
+ }
4127
+ 50% {
4128
+ border-color: rgba(251, 146, 60, 0.7);
4129
+ box-shadow: 0 0 12px 2px rgba(251, 146, 60, 0.18);
4130
+ }
4147
4131
  }
4148
- .excalidraw .igp .igp-error {
4149
- padding: 2px 16px 6px;
4132
+ .ags-shimmer {
4133
+ background: rgba(251, 146, 60, 0.05);
4134
+ border: 2px solid rgba(251, 146, 60, 0.35);
4135
+ border-radius: 2px;
4136
+ animation: ags-pulse-border 2.2s ease-in-out infinite;
4137
+ }
4138
+ .ags-shimmer::after {
4139
+ content: "";
4140
+ display: block;
4141
+ position: absolute;
4142
+ inset: 0;
4143
+ background:
4144
+ linear-gradient(
4145
+ 110deg,
4146
+ transparent 0%,
4147
+ rgba(255, 255, 255, 0.22) 45%,
4148
+ rgba(255, 200, 120, 0.18) 50%,
4149
+ rgba(255, 255, 255, 0.22) 55%,
4150
+ transparent 100%);
4151
+ background-size: 200% 100%;
4152
+ animation: ags-shimmer-sweep 1.8s ease-in-out infinite;
4153
+ }
4154
+ .excalidraw .arp {
4155
+ width: 296px;
4156
+ background: var(--island-bg-color);
4157
+ border-radius: 10px;
4158
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06);
4150
4159
  font-size: 12px;
4151
- color: #e54d4d;
4152
- line-height: 1.4;
4160
+ font-family:
4161
+ "Assistant",
4162
+ system-ui,
4163
+ -apple-system,
4164
+ sans-serif;
4165
+ color: var(--text-primary-color, #333);
4166
+ pointer-events: all;
4167
+ overflow: hidden;
4153
4168
  }
4154
- .excalidraw .igp .igp-ref-chips {
4169
+ .excalidraw .arp-header {
4155
4170
  display: flex;
4156
- flex-wrap: wrap;
4171
+ align-items: center;
4172
+ justify-content: space-between;
4173
+ padding: 10px 12px 8px;
4174
+ border-bottom: 1px solid var(--default-border-color, #e4e4e7);
4175
+ cursor: grab;
4176
+ user-select: none;
4177
+ }
4178
+ .excalidraw .arp-header:active {
4179
+ cursor: grabbing;
4180
+ }
4181
+ .excalidraw .arp-header__title {
4182
+ display: flex;
4183
+ align-items: center;
4157
4184
  gap: 6px;
4158
- margin: 10px 14px 0;
4185
+ font-weight: 600;
4186
+ font-size: 13px;
4159
4187
  }
4160
- .excalidraw .igp .igp-ref-chip {
4188
+ .excalidraw .arp-header__title svg {
4189
+ color: var(--color-primary, #4a90d9);
4190
+ }
4191
+ .excalidraw .arp-header__close {
4161
4192
  display: flex;
4162
4193
  align-items: center;
4163
- gap: 7px;
4164
- padding: 5px 8px 5px 6px;
4165
- background: #f5f5f5;
4166
- border-radius: 8px;
4167
- width: fit-content;
4194
+ justify-content: center;
4195
+ width: 22px;
4196
+ height: 22px;
4197
+ border: none;
4198
+ background: transparent;
4199
+ border-radius: 4px;
4200
+ cursor: pointer;
4201
+ padding: 0;
4202
+ color: var(--text-secondary-color, #888);
4203
+ transition: background 0.12s ease;
4168
4204
  }
4169
- .excalidraw .igp .igp-ref-chip img {
4170
- width: 22px !important;
4171
- height: 22px !important;
4172
- border-radius: 5px !important;
4173
- object-fit: cover !important;
4174
- flex-shrink: 0 !important;
4205
+ .excalidraw .arp-header__close:hover {
4206
+ background: var(--button-hover-bg, rgba(0, 0, 0, 0.06));
4207
+ color: var(--text-primary-color, #333);
4175
4208
  }
4176
- .excalidraw .igp .igp-ref-chip span {
4177
- font-size: 11.5px;
4178
- font-weight: 500;
4179
- color: #888;
4209
+ .excalidraw .arp-source {
4210
+ padding: 5px 12px;
4211
+ font-size: 11px;
4212
+ color: var(--text-secondary-color, #888);
4213
+ background: var(--default-bg-color, rgba(0, 0, 0, 0.02));
4214
+ border-bottom: 1px solid var(--default-border-color, #e4e4e7);
4180
4215
  }
4181
- .excalidraw .igp .igp-ref-chip button {
4182
- display: flex !important;
4183
- align-items: center !important;
4184
- justify-content: center !important;
4185
- width: 16px !important;
4186
- height: 16px !important;
4187
- border-radius: 50% !important;
4188
- color: #aaa !important;
4189
- transition: background 0.1s ease, color 0.1s ease !important;
4216
+ .excalidraw .arp-section-label {
4217
+ padding: 8px 12px 4px;
4218
+ font-size: 10px;
4219
+ font-weight: 600;
4220
+ text-transform: uppercase;
4221
+ letter-spacing: 0.5px;
4222
+ color: var(--text-secondary-color, #888);
4190
4223
  }
4191
- .excalidraw .igp .igp-ref-chip button:hover {
4192
- background: rgba(0, 0, 0, 0.08) !important;
4193
- color: #555 !important;
4224
+ .excalidraw .arp-resolutions {
4225
+ padding: 0 12px 4px;
4226
+ display: flex;
4227
+ gap: 6px;
4194
4228
  }
4195
- .excalidraw .igp .igp-actions {
4196
- display: flex !important;
4197
- align-items: center !important;
4198
- justify-content: space-between !important;
4199
- padding: 6px 10px 10px !important;
4200
- border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
4201
- gap: 4px !important;
4229
+ .excalidraw .arp-res {
4230
+ flex: 1;
4231
+ padding: 5px 8px;
4232
+ border: 1px solid var(--default-border-color, #e4e4e7);
4233
+ border-radius: 6px;
4234
+ background: transparent;
4235
+ cursor: pointer;
4236
+ font-size: 12px;
4237
+ font-weight: 500;
4238
+ font-family: inherit;
4239
+ color: var(--text-primary-color, #333);
4240
+ transition:
4241
+ background 0.12s ease,
4242
+ border-color 0.12s ease,
4243
+ color 0.12s ease;
4202
4244
  }
4203
- .excalidraw .igp .igp-actions-left,
4204
- .excalidraw .igp .igp-actions-right {
4205
- display: flex;
4206
- align-items: center;
4207
- gap: 2px;
4245
+ .excalidraw .arp-res:hover:not(.excalidraw .arp-res--disabled):not(.excalidraw .arp-res--selected) {
4246
+ background: var(--button-hover-bg, rgba(0, 0, 0, 0.05));
4208
4247
  }
4209
- .excalidraw .igp .igp-btn {
4210
- display: flex !important;
4211
- align-items: center !important;
4212
- gap: 5px !important;
4213
- height: 28px !important;
4214
- padding: 0 9px !important;
4215
- border-radius: 8px !important;
4216
- font-family: inherit !important;
4217
- font-size: 12.5px !important;
4218
- font-weight: 500 !important;
4219
- color: #444 !important;
4220
- background: transparent !important;
4221
- white-space: nowrap !important;
4222
- transition: background 0.12s ease !important;
4248
+ .excalidraw .arp-res--selected {
4249
+ background: var(--color-primary, #4a90d9);
4250
+ border-color: var(--color-primary, #4a90d9);
4251
+ color: #fff;
4223
4252
  }
4224
- .excalidraw .igp .igp-btn svg {
4225
- color: #888;
4226
- flex-shrink: 0;
4253
+ .excalidraw .arp-res--disabled {
4254
+ cursor: default;
4255
+ opacity: 0.7;
4227
4256
  }
4228
- .excalidraw .igp .igp-btn:hover {
4229
- background: rgba(0, 0, 0, 0.05) !important;
4257
+ .excalidraw .arp-presets {
4258
+ padding: 0 8px 4px;
4259
+ display: flex;
4260
+ flex-direction: column;
4261
+ gap: 1px;
4230
4262
  }
4231
- .excalidraw .igp .igp-btn:disabled {
4232
- opacity: 0.4 !important;
4233
- cursor: not-allowed !important;
4263
+ .excalidraw .arp-preset {
4264
+ display: flex;
4265
+ align-items: center;
4266
+ gap: 6px;
4267
+ padding: 6px 8px;
4268
+ border: none;
4269
+ border-radius: 6px;
4270
+ background: transparent;
4271
+ cursor: pointer;
4272
+ text-align: left;
4273
+ font-size: 12px;
4274
+ font-family: inherit;
4275
+ color: var(--text-primary-color, #333);
4276
+ transition: background 0.12s ease;
4277
+ width: 100%;
4234
4278
  }
4235
- .excalidraw .igp .igp-btn--compact {
4236
- padding: 0 7px !important;
4237
- color: #666 !important;
4279
+ .excalidraw .arp-preset:hover:not(.excalidraw .arp-preset--disabled) {
4280
+ background: var(--button-hover-bg, rgba(0, 0, 0, 0.05));
4238
4281
  }
4239
- .excalidraw .igp .igp-btn--compact svg {
4240
- color: #999;
4282
+ .excalidraw .arp-preset--selected {
4283
+ background: rgba(74, 144, 217, 0.08);
4284
+ color: var(--text-primary-color, #333);
4241
4285
  }
4242
- .excalidraw .igp .igp-btn--icon {
4243
- width: 28px !important;
4244
- padding: 0 !important;
4245
- justify-content: center !important;
4246
- color: #888 !important;
4286
+ .excalidraw .arp-preset--disabled {
4287
+ cursor: default;
4288
+ opacity: 0.7;
4247
4289
  }
4248
- .excalidraw .igp .igp-btn--active {
4249
- background: rgba(99, 80, 220, 0.07) !important;
4250
- color: #6350dc !important;
4290
+ .excalidraw .arp-preset__check {
4291
+ width: 14px;
4292
+ height: 14px;
4293
+ border: 1.5px solid var(--default-border-color, #d0d0d0);
4294
+ border-radius: 3px;
4295
+ display: flex;
4296
+ align-items: center;
4297
+ justify-content: center;
4298
+ flex-shrink: 0;
4299
+ background: transparent;
4300
+ transition: background 0.12s ease, border-color 0.12s ease;
4251
4301
  }
4252
- .excalidraw .igp .igp-btn--active svg {
4253
- color: #6350dc;
4302
+ .arp-preset--selected .excalidraw .arp-preset__check {
4303
+ background: var(--color-primary, #4a90d9);
4304
+ border-color: var(--color-primary, #4a90d9);
4305
+ color: white;
4254
4306
  }
4255
- .excalidraw .igp .igp-btn--active:hover {
4256
- background: rgba(99, 80, 220, 0.12) !important;
4307
+ .excalidraw .arp-preset__label {
4308
+ font-weight: 500;
4309
+ flex: 0 0 auto;
4310
+ min-width: 80px;
4257
4311
  }
4258
- .excalidraw .igp .igp-generate {
4259
- display: flex !important;
4260
- align-items: center !important;
4261
- justify-content: center !important;
4262
- width: 32px !important;
4263
- height: 32px !important;
4264
- border-radius: 50% !important;
4265
- background: #1c1c1c !important;
4266
- color: #fff !important;
4267
- margin-left: 4px !important;
4268
- flex-shrink: 0 !important;
4269
- transition: background 0.12s ease, transform 0.1s ease !important;
4312
+ .excalidraw .arp-preset__desc {
4313
+ font-size: 11px;
4314
+ color: var(--text-secondary-color, #999);
4315
+ flex: 1;
4270
4316
  }
4271
- .excalidraw .igp .igp-generate:hover {
4272
- background: #333 !important;
4317
+ .excalidraw .arp-preset__status {
4318
+ flex-shrink: 0;
4319
+ margin-left: auto;
4273
4320
  }
4274
- .excalidraw .igp .igp-generate:active {
4275
- transform: scale(0.94) !important;
4321
+ .excalidraw .arp-extras {
4322
+ padding: 4px 12px;
4323
+ display: flex;
4324
+ flex-wrap: wrap;
4325
+ gap: 4px;
4276
4326
  }
4277
- .excalidraw .igp .igp-generate:disabled {
4278
- background: #d0d0d0 !important;
4279
- cursor: not-allowed !important;
4327
+ .excalidraw .arp-extra-tag {
4328
+ display: inline-flex;
4329
+ align-items: center;
4330
+ gap: 4px;
4331
+ padding: 3px 8px;
4332
+ border-radius: 12px;
4333
+ background: var(--color-primary-light, rgba(74, 144, 217, 0.1));
4334
+ color: var(--color-primary, #4a90d9);
4335
+ font-size: 11px;
4336
+ font-weight: 500;
4280
4337
  }
4281
- .excalidraw .igp .igp-dropdown-root {
4282
- position: relative;
4338
+ .excalidraw .arp-extra-tag__remove {
4339
+ border: none;
4340
+ background: transparent;
4341
+ padding: 0;
4342
+ cursor: pointer;
4343
+ color: inherit;
4344
+ opacity: 0.6;
4345
+ font-size: 13px;
4346
+ line-height: 1;
4347
+ margin-left: 2px;
4283
4348
  }
4284
- .excalidraw .igp .igp-dropdown {
4285
- position: absolute;
4286
- z-index: 300;
4287
- min-width: 160px;
4288
- padding: 4px;
4289
- background: #fff;
4290
- border-radius: 11px;
4291
- box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.06);
4349
+ .excalidraw .arp-extra-tag__remove:hover {
4350
+ opacity: 1;
4292
4351
  }
4293
- .excalidraw .igp .igp-dropdown--up {
4294
- bottom: calc(100% + 8px);
4352
+ .excalidraw .arp-custom-row {
4353
+ display: flex;
4354
+ align-items: center;
4355
+ gap: 6px;
4356
+ padding: 4px 12px 10px;
4295
4357
  }
4296
- .excalidraw .igp .igp-dropdown--left {
4297
- left: 0;
4358
+ .excalidraw .arp-custom-input {
4359
+ width: 56px;
4360
+ padding: 5px 6px;
4361
+ border: 1px solid var(--default-border-color, #e4e4e7);
4362
+ border-radius: 5px;
4363
+ font-size: 12px;
4364
+ text-align: center;
4365
+ font-family: inherit;
4366
+ color: var(--text-primary-color, #333);
4367
+ background: var(--input-bg-color, #fff);
4368
+ outline: none;
4369
+ transition: border-color 0.12s ease;
4370
+ -moz-appearance: textfield;
4298
4371
  }
4299
- .excalidraw .igp .igp-dropdown--right {
4300
- right: 0;
4372
+ .excalidraw .arp-custom-input:focus {
4373
+ border-color: var(--color-primary, #4a90d9);
4301
4374
  }
4302
- .excalidraw .igp .igp-dropdown--ratio {
4303
- min-width: 230px;
4375
+ .excalidraw .arp-custom-input::-webkit-outer-spin-button,
4376
+ .excalidraw .arp-custom-input::-webkit-inner-spin-button {
4377
+ -webkit-appearance: none;
4378
+ margin: 0;
4304
4379
  }
4305
- .excalidraw .igp .igp-dropdown-header {
4306
- display: flex;
4307
- align-items: center;
4308
- gap: 5px;
4309
- padding: 5px 10px 3px;
4310
- font-size: 10px;
4311
- font-weight: 600;
4312
- color: #bbb;
4313
- text-transform: uppercase;
4314
- letter-spacing: 0.5px;
4380
+ .excalidraw .arp-custom-x {
4381
+ font-size: 12px;
4382
+ color: var(--text-secondary-color, #aaa);
4315
4383
  }
4316
- .excalidraw .igp .igp-dropdown-item {
4317
- display: flex !important;
4318
- align-items: center !important;
4319
- gap: 8px !important;
4320
- width: 100% !important;
4321
- padding: 7px 10px !important;
4322
- border-radius: 7px !important;
4323
- font-family: inherit !important;
4324
- font-size: 13px !important;
4325
- color: #222 !important;
4326
- background: transparent !important;
4327
- text-align: left !important;
4328
- transition: background 0.1s ease !important;
4384
+ .excalidraw .arp-custom-add {
4385
+ flex: 1;
4386
+ padding: 5px 8px;
4387
+ border: 1px solid var(--default-border-color, #e4e4e7);
4388
+ border-radius: 5px;
4389
+ background: transparent;
4390
+ font-size: 12px;
4391
+ font-family: inherit;
4392
+ cursor: pointer;
4393
+ color: var(--color-primary, #4a90d9);
4394
+ transition: background 0.12s ease, border-color 0.12s ease;
4395
+ white-space: nowrap;
4329
4396
  }
4330
- .excalidraw .igp .igp-dropdown-item:hover {
4331
- background: rgba(0, 0, 0, 0.04) !important;
4397
+ .excalidraw .arp-custom-add:hover:not(:disabled) {
4398
+ background: rgba(74, 144, 217, 0.06);
4399
+ border-color: var(--color-primary, #4a90d9);
4332
4400
  }
4333
- .excalidraw .igp .igp-check {
4334
- color: #6350dc;
4401
+ .excalidraw .arp-custom-add:disabled {
4402
+ opacity: 0.4;
4403
+ cursor: default;
4404
+ }
4405
+ .excalidraw .arp-status {
4335
4406
  display: flex;
4336
4407
  align-items: center;
4337
- flex-shrink: 0;
4408
+ justify-content: center;
4409
+ width: 16px;
4410
+ height: 16px;
4338
4411
  }
4339
- .excalidraw .igp .igp-dims {
4412
+ .excalidraw .arp-status--waiting {
4413
+ color: var(--text-secondary-color, #bbb);
4340
4414
  font-size: 11px;
4341
- color: #bbb;
4342
- flex-shrink: 0;
4343
4415
  }
4344
- @keyframes igp-spin {
4345
- from {
4346
- transform: rotate(0deg);
4347
- }
4416
+ .excalidraw .arp-status--running {
4417
+ color: var(--color-primary, #4a90d9);
4418
+ }
4419
+ .excalidraw .arp-status--done {
4420
+ color: #22c55e;
4421
+ }
4422
+ .excalidraw .arp-status--error {
4423
+ color: #ef4444;
4424
+ }
4425
+ .excalidraw .arp-spinner {
4426
+ animation: arp-spin 0.9s linear infinite;
4427
+ }
4428
+ @keyframes arp-spin {
4348
4429
  to {
4349
4430
  transform: rotate(360deg);
4350
4431
  }
4351
4432
  }
4352
- .excalidraw .igp .igp-spinner {
4353
- animation: igp-spin 0.8s linear infinite;
4354
- }
4355
-
4356
- /* components/ChipSourceMenu.scss */
4357
- .excalidraw .chip-source-menu {
4358
- position: absolute;
4359
- bottom: calc(100% + 6px);
4360
- left: 0;
4361
- z-index: 10;
4362
- min-width: 148px;
4363
- padding: 4px;
4433
+ .excalidraw .arp-progress {
4434
+ padding: 8px 12px;
4364
4435
  display: flex;
4365
- flex-direction: column;
4366
- gap: 2px;
4367
- border-radius: 8px;
4368
- border: 1px solid var(--color-gray-30, #e0e0e0);
4369
- background: var(--island-bg-color, #fff);
4370
- box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
4436
+ align-items: center;
4437
+ gap: 8px;
4438
+ border-top: 1px solid var(--default-border-color, #e4e4e7);
4371
4439
  }
4372
- .excalidraw .chip-source-menu__title {
4373
- padding: 4px 8px 2px;
4374
- font-size: 10px;
4375
- letter-spacing: 0.02em;
4376
- text-transform: uppercase;
4377
- color: var(--color-gray-60, #7a7a7a);
4440
+ .excalidraw .arp-progress__bar-bg {
4441
+ flex: 1;
4442
+ height: 4px;
4443
+ background: var(--default-border-color, #e8e8e8);
4444
+ border-radius: 2px;
4445
+ overflow: hidden;
4378
4446
  }
4379
- .excalidraw .chip-source-menu__item {
4380
- display: flex;
4381
- align-items: center;
4382
- gap: 7px;
4383
- width: 100%;
4384
- padding: 6px 8px;
4385
- border: none;
4386
- border-radius: 6px;
4387
- background: transparent;
4388
- color: var(--text-primary-color, #1b1b1f);
4389
- font-size: 12px;
4390
- text-align: left;
4391
- cursor: pointer;
4447
+ .excalidraw .arp-progress__bar-fill {
4448
+ height: 100%;
4449
+ background: var(--color-primary, #4a90d9);
4450
+ border-radius: 2px;
4451
+ transition: width 0.3s ease;
4392
4452
  }
4393
- .excalidraw .chip-source-menu__item:hover {
4394
- background: var(--button-hover-bg, rgba(0, 0, 0, 0.06));
4453
+ .excalidraw .arp-progress__text {
4454
+ font-size: 11px;
4455
+ color: var(--text-secondary-color, #888);
4456
+ white-space: nowrap;
4395
4457
  }
4396
- .excalidraw .chip-pick-hint {
4397
- display: flex;
4398
- align-items: center;
4399
- gap: 6px;
4400
- padding: 4px 2px;
4458
+ .excalidraw .arp-error {
4459
+ margin: 4px 12px;
4460
+ padding: 8px 10px;
4461
+ border-radius: 6px;
4462
+ background: rgba(239, 68, 68, 0.08);
4463
+ color: #ef4444;
4401
4464
  font-size: 11px;
4402
- color: var(--color-gray-70, #5c5c5c);
4465
+ line-height: 1.4;
4403
4466
  }
4404
- .excalidraw .chip-pick-hint--missed {
4405
- color: var(--color-danger, #c92a2a);
4467
+ .excalidraw .arp-actions {
4468
+ padding: 8px 12px 10px;
4469
+ display: flex;
4470
+ gap: 6px;
4471
+ border-top: 1px solid var(--default-border-color, #e4e4e7);
4406
4472
  }
4407
- .excalidraw .chip-pick-hint__cancel {
4473
+ .excalidraw .arp-btn {
4474
+ flex: 1;
4475
+ padding: 7px 12px;
4476
+ border-radius: 6px;
4408
4477
  border: none;
4409
- background: transparent;
4410
- padding: 0 2px;
4411
- font-size: 11px;
4412
- text-decoration: underline;
4413
- color: inherit;
4478
+ font-size: 12px;
4479
+ font-family: inherit;
4480
+ font-weight: 500;
4414
4481
  cursor: pointer;
4482
+ transition: background 0.12s ease, opacity 0.12s ease;
4415
4483
  }
4416
- .excalidraw .chip-pick-error {
4417
- padding: 2px;
4418
- font-size: 11px;
4419
- color: var(--color-danger, #c92a2a);
4484
+ .excalidraw .arp-btn:disabled {
4485
+ opacity: 0.45;
4486
+ cursor: default;
4420
4487
  }
4421
- .excalidraw .chip-slot {
4422
- position: relative;
4423
- display: inline-flex;
4488
+ .excalidraw .arp-btn--primary {
4489
+ background: var(--color-primary, #4a90d9);
4490
+ color: #fff;
4424
4491
  }
4425
-
4426
- /* components/ElementPickHighlight.scss */
4427
- .excalidraw .element-pick-highlight {
4428
- position: fixed;
4429
- z-index: 5;
4430
- pointer-events: none;
4431
- border-radius: 4px;
4432
- border: 2px solid var(--color-primary, #6965db);
4433
- background: rgba(105, 101, 219, 0.12);
4434
- box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.04);
4435
- transform-origin: center;
4436
- animation: element-pick-highlight-in 120ms ease-out;
4492
+ .excalidraw .arp-btn--primary:hover:not(:disabled) {
4493
+ background: var(--color-primary-darker, #3a7bc8);
4437
4494
  }
4438
- .excalidraw .element-pick-highlight__label {
4439
- position: absolute;
4440
- top: -22px;
4441
- left: 0;
4442
- padding: 2px 6px;
4443
- border-radius: 4px;
4444
- background: var(--color-primary, #6965db);
4445
- color: #fff;
4446
- font-size: 10px;
4447
- font-weight: 600;
4448
- white-space: nowrap;
4495
+ .excalidraw .arp-btn--cancel {
4496
+ background: rgba(239, 68, 68, 0.1);
4497
+ color: #ef4444;
4449
4498
  }
4450
- @keyframes element-pick-highlight-in {
4451
- from {
4452
- opacity: 0;
4453
- }
4454
- to {
4455
- opacity: 1;
4456
- }
4499
+ .excalidraw .arp-btn--cancel:hover {
4500
+ background: rgba(239, 68, 68, 0.18);
4501
+ }
4502
+ .excalidraw .arp-btn--ghost {
4503
+ background: transparent;
4504
+ color: var(--text-secondary-color, #777);
4505
+ border: 1px solid var(--default-border-color, #e4e4e7);
4506
+ }
4507
+ .excalidraw .arp-btn--ghost:hover {
4508
+ background: var(--button-hover-bg, rgba(0, 0, 0, 0.04));
4457
4509
  }
4458
4510
 
4459
4511
  /* components/VideoChainPanel.scss */
@@ -5205,58 +5257,6 @@
5205
5257
  }
5206
5258
  }
5207
5259
 
5208
- /* components/ImageQuickEditPanel.scss */
5209
- .excalidraw .iqep__trigger-bar {
5210
- position: absolute;
5211
- z-index: var(--zIndex-canvasButtons);
5212
- pointer-events: all;
5213
- transform: translateX(-50%);
5214
- display: flex;
5215
- align-items: center;
5216
- background: var(--island-bg-color);
5217
- border-radius: 20px;
5218
- box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.06);
5219
- padding: 2px;
5220
- }
5221
- .excalidraw .iqep__trigger-btn {
5222
- display: flex;
5223
- align-items: center;
5224
- gap: 6px;
5225
- border: none;
5226
- border-radius: 16px;
5227
- cursor: pointer;
5228
- font-family:
5229
- "Assistant",
5230
- system-ui,
5231
- -apple-system,
5232
- sans-serif;
5233
- font-size: 12px;
5234
- font-weight: 600;
5235
- padding: 6px 12px;
5236
- background: transparent;
5237
- color: var(--color-primary, #4a90d9);
5238
- transition: background 0.15s ease;
5239
- }
5240
- .excalidraw .iqep__trigger-btn svg {
5241
- color: var(--color-primary, #4a90d9);
5242
- }
5243
- .excalidraw .iqep__trigger-btn:hover {
5244
- background: var(--button-hover-bg, rgba(74, 144, 217, 0.08));
5245
- }
5246
- .excalidraw .iqep__ref-chip {
5247
- display: flex;
5248
- align-items: center;
5249
- gap: 6px;
5250
- padding: 8px 14px 4px;
5251
- font-size: 11px;
5252
- font-weight: 500;
5253
- color: var(--text-secondary-color, #888);
5254
- }
5255
- .excalidraw .iqep__ref-chip svg {
5256
- flex-shrink: 0;
5257
- color: var(--text-secondary-color, #aaa);
5258
- }
5259
-
5260
5260
  /* components/ImageEditToolbar.scss */
5261
5261
  .excalidraw .iet {
5262
5262
  position: absolute;
@@ -5388,6 +5388,16 @@
5388
5388
  margin: 0 4px;
5389
5389
  flex-shrink: 0;
5390
5390
  }
5391
+ .excalidraw .iet__dims {
5392
+ font-size: 12px;
5393
+ line-height: 1;
5394
+ white-space: nowrap;
5395
+ flex-shrink: 0;
5396
+ padding: 0 2px;
5397
+ color: var(--color-gray-60, #6b6b6b);
5398
+ font-variant-numeric: tabular-nums;
5399
+ user-select: none;
5400
+ }
5391
5401
  .excalidraw .iet__download-btn {
5392
5402
  padding: 6px 8px;
5393
5403
  }
@@ -10793,6 +10803,9 @@ body.excalidraw-cursor-resize * {
10793
10803
  .min-w-\[var\(--radix-select-trigger-width\)\] {
10794
10804
  min-width: var(--radix-select-trigger-width);
10795
10805
  }
10806
+ .shrink {
10807
+ flex-shrink: 1;
10808
+ }
10796
10809
  .shrink-0 {
10797
10810
  flex-shrink: 0;
10798
10811
  }