@orangecatai/adgen-canvas 0.0.20 → 0.0.22
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-Y6SGUVKW.js → chunk-DG4DHKBY.js} +2 -2
- package/dist/dev/{chunk-ILOOQ6LL.js → chunk-OIMA545L.js} +3 -15
- package/dist/dev/{chunk-ILOOQ6LL.js.map → chunk-OIMA545L.js.map} +2 -2
- package/dist/dev/data/{image-MFQPU4SU.js → image-AWVYCS2V.js} +3 -3
- package/dist/dev/index.css +73 -0
- package/dist/dev/index.css.map +2 -2
- package/dist/dev/index.js +2706 -3385
- 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-SDWSFP7L.js → chunk-PJYEU4Z2.js} +1 -1
- package/dist/prod/{chunk-3BUGCS63.js → chunk-X4HZUT4M.js} +3 -3
- package/dist/prod/data/image-YCVSAMH5.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +183 -426
- 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 +12 -1
- package/dist/types/excalidraw/components/ImageEditToolbar.d.ts +0 -1
- package/dist/types/excalidraw/components/ImageGeneratorPanel.d.ts +16 -2
- package/dist/types/excalidraw/components/ai-chat/AdGenShimmerLayer.d.ts +10 -0
- package/dist/types/excalidraw/components/ai-chat/adGenShimmerStore.d.ts +12 -0
- package/dist/types/excalidraw/components/ai-chat/agentLoop.d.ts +1 -5
- package/dist/types/excalidraw/components/ai-chat/audioUtils.d.ts +0 -5
- package/dist/types/excalidraw/components/ai-chat/canvasTools.d.ts +17 -41
- package/dist/types/excalidraw/components/ai-chat/reviewerAgent.d.ts +20 -10
- package/dist/types/excalidraw/components/auto-resize/AutoResizePanel.d.ts +2 -2
- package/dist/types/excalidraw/components/auto-resize/autoResizeEngine.d.ts +42 -1
- package/dist/types/excalidraw/types.d.ts +37 -19
- package/dist/types/excalidraw/utils/brandContextUtils.d.ts +20 -0
- package/dist/types/excalidraw/utils/imageApi.d.ts +19 -1
- package/package.json +1 -1
- package/dist/prod/data/image-NBDZMG3P.js +0 -1
- package/dist/types/excalidraw/utils/leonardoApiKey.d.ts +0 -1
- /package/dist/dev/{chunk-Y6SGUVKW.js.map → chunk-DG4DHKBY.js.map} +0 -0
- /package/dist/dev/data/{image-MFQPU4SU.js.map → image-AWVYCS2V.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-OIMA545L.js";
|
|
6
|
+
import "../chunk-DG4DHKBY.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-AWVYCS2V.js.map
|
package/dist/dev/index.css
CHANGED
|
@@ -3517,6 +3517,46 @@
|
|
|
3517
3517
|
background-size: 200% 100%;
|
|
3518
3518
|
animation: ars-shimmer-sweep 1.6s ease-in-out infinite;
|
|
3519
3519
|
}
|
|
3520
|
+
@keyframes ags-shimmer-sweep {
|
|
3521
|
+
0% {
|
|
3522
|
+
background-position: 200% 0;
|
|
3523
|
+
}
|
|
3524
|
+
100% {
|
|
3525
|
+
background-position: -200% 0;
|
|
3526
|
+
}
|
|
3527
|
+
}
|
|
3528
|
+
@keyframes ags-pulse-border {
|
|
3529
|
+
0%, 100% {
|
|
3530
|
+
border-color: rgba(251, 146, 60, 0.35);
|
|
3531
|
+
box-shadow: 0 0 0 0 rgba(251, 146, 60, 0);
|
|
3532
|
+
}
|
|
3533
|
+
50% {
|
|
3534
|
+
border-color: rgba(251, 146, 60, 0.7);
|
|
3535
|
+
box-shadow: 0 0 12px 2px rgba(251, 146, 60, 0.18);
|
|
3536
|
+
}
|
|
3537
|
+
}
|
|
3538
|
+
.ags-shimmer {
|
|
3539
|
+
background: rgba(251, 146, 60, 0.05);
|
|
3540
|
+
border: 2px solid rgba(251, 146, 60, 0.35);
|
|
3541
|
+
border-radius: 2px;
|
|
3542
|
+
animation: ags-pulse-border 2.2s ease-in-out infinite;
|
|
3543
|
+
}
|
|
3544
|
+
.ags-shimmer::after {
|
|
3545
|
+
content: "";
|
|
3546
|
+
display: block;
|
|
3547
|
+
position: absolute;
|
|
3548
|
+
inset: 0;
|
|
3549
|
+
background:
|
|
3550
|
+
linear-gradient(
|
|
3551
|
+
110deg,
|
|
3552
|
+
transparent 0%,
|
|
3553
|
+
rgba(255, 255, 255, 0.22) 45%,
|
|
3554
|
+
rgba(255, 200, 120, 0.18) 50%,
|
|
3555
|
+
rgba(255, 255, 255, 0.22) 55%,
|
|
3556
|
+
transparent 100%);
|
|
3557
|
+
background-size: 200% 100%;
|
|
3558
|
+
animation: ags-shimmer-sweep 1.8s ease-in-out infinite;
|
|
3559
|
+
}
|
|
3520
3560
|
.excalidraw .arp {
|
|
3521
3561
|
width: 296px;
|
|
3522
3562
|
background: var(--island-bg-color);
|
|
@@ -3587,6 +3627,39 @@
|
|
|
3587
3627
|
letter-spacing: 0.5px;
|
|
3588
3628
|
color: var(--text-secondary-color, #888);
|
|
3589
3629
|
}
|
|
3630
|
+
.excalidraw .arp-resolutions {
|
|
3631
|
+
padding: 0 12px 4px;
|
|
3632
|
+
display: flex;
|
|
3633
|
+
gap: 6px;
|
|
3634
|
+
}
|
|
3635
|
+
.excalidraw .arp-res {
|
|
3636
|
+
flex: 1;
|
|
3637
|
+
padding: 5px 8px;
|
|
3638
|
+
border: 1px solid var(--default-border-color, #e4e4e7);
|
|
3639
|
+
border-radius: 6px;
|
|
3640
|
+
background: transparent;
|
|
3641
|
+
cursor: pointer;
|
|
3642
|
+
font-size: 12px;
|
|
3643
|
+
font-weight: 500;
|
|
3644
|
+
font-family: inherit;
|
|
3645
|
+
color: var(--text-primary-color, #333);
|
|
3646
|
+
transition:
|
|
3647
|
+
background 0.12s ease,
|
|
3648
|
+
border-color 0.12s ease,
|
|
3649
|
+
color 0.12s ease;
|
|
3650
|
+
}
|
|
3651
|
+
.excalidraw .arp-res:hover:not(.excalidraw .arp-res--disabled):not(.excalidraw .arp-res--selected) {
|
|
3652
|
+
background: var(--button-hover-bg, rgba(0, 0, 0, 0.05));
|
|
3653
|
+
}
|
|
3654
|
+
.excalidraw .arp-res--selected {
|
|
3655
|
+
background: var(--color-primary, #4a90d9);
|
|
3656
|
+
border-color: var(--color-primary, #4a90d9);
|
|
3657
|
+
color: #fff;
|
|
3658
|
+
}
|
|
3659
|
+
.excalidraw .arp-res--disabled {
|
|
3660
|
+
cursor: default;
|
|
3661
|
+
opacity: 0.7;
|
|
3662
|
+
}
|
|
3590
3663
|
.excalidraw .arp-presets {
|
|
3591
3664
|
padding: 0 8px 4px;
|
|
3592
3665
|
display: flex;
|