@orangecatai/adgen-canvas 0.0.2 → 0.0.4

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 (52) hide show
  1. package/dist/dev/{chunk-UV7ECD7A.js → chunk-3FGOYDLK.js} +3 -3
  2. package/dist/dev/{chunk-X2WWSILD.js → chunk-IRIUFXMO.js} +2 -2
  3. package/dist/dev/data/{image-H4O52A73.js → image-HH4XNQRO.js} +3 -3
  4. package/dist/dev/index.css +880 -1
  5. package/dist/dev/index.css.map +3 -3
  6. package/dist/dev/index.js +2970 -232
  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-DOJFO2UO.js → chunk-LUZI7MFZ.js} +2 -2
  11. package/dist/prod/{chunk-O3WJMHIE.js → chunk-SG4RCQVC.js} +1 -1
  12. package/dist/prod/data/image-J2ZJZU4A.js +1 -0
  13. package/dist/prod/index.css +1 -1
  14. package/dist/prod/index.js +84 -29
  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/actions/actionAddToLibrary.d.ts +1 -1
  18. package/dist/types/excalidraw/actions/actionCanvas.d.ts +177 -0
  19. package/dist/types/excalidraw/actions/actionClipboard.d.ts +7 -7
  20. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +2 -2
  21. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  22. package/dist/types/excalidraw/actions/actionElementLink.d.ts +6 -6
  23. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +1 -1
  24. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +7 -7
  25. package/dist/types/excalidraw/actions/actionLink.d.ts +3 -3
  26. package/dist/types/excalidraw/actions/actionMenu.d.ts +1 -1
  27. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +4 -4
  28. package/dist/types/excalidraw/actions/actionStyles.d.ts +2 -2
  29. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +4 -4
  30. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +3 -3
  31. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +2 -2
  32. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +4 -4
  33. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +4 -4
  34. package/dist/types/excalidraw/actions/actionZindex.d.ts +8 -8
  35. package/dist/types/excalidraw/actions/index.d.ts +1 -1
  36. package/dist/types/excalidraw/actions/types.d.ts +1 -1
  37. package/dist/types/excalidraw/components/AIChatPanel.d.ts +49 -3
  38. package/dist/types/excalidraw/components/Actions.d.ts +3 -0
  39. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  40. package/dist/types/excalidraw/components/ImageGeneratorPanel.d.ts +6 -1
  41. package/dist/types/excalidraw/components/ImageQuickEditPanel.d.ts +6 -1
  42. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +2 -2
  43. package/dist/types/excalidraw/components/ai-chat/agentLoop.d.ts +13 -0
  44. package/dist/types/excalidraw/components/ai-chat/audioUtils.d.ts +10 -0
  45. package/dist/types/excalidraw/index.d.ts +5 -0
  46. package/dist/types/excalidraw/types.d.ts +14 -0
  47. package/dist/types/excalidraw/utils/openRouterApiKey.d.ts +1 -0
  48. package/package.json +1 -1
  49. package/dist/prod/data/image-43FV5SMF.js +0 -1
  50. /package/dist/dev/{chunk-UV7ECD7A.js.map → chunk-3FGOYDLK.js.map} +0 -0
  51. /package/dist/dev/{chunk-X2WWSILD.js.map → chunk-IRIUFXMO.js.map} +0 -0
  52. /package/dist/dev/data/{image-H4O52A73.js.map → image-HH4XNQRO.js.map} +0 -0
@@ -2947,11 +2947,23 @@
2947
2947
 
2948
2948
  /* components/Actions.scss */
2949
2949
  .zoom-actions,
2950
- .undo-redo-buttons {
2950
+ .undo-redo-buttons,
2951
+ .scroll-back-to-content-button {
2951
2952
  background-color: var(--island-bg-color);
2952
2953
  border-radius: var(--border-radius-lg);
2953
2954
  box-shadow: 0 0 0 1px var(--color-surface-lowest);
2954
2955
  }
2956
+ .footer-canvas-actions {
2957
+ align-items: flex-start;
2958
+ }
2959
+ .footer-canvas-actions-row {
2960
+ align-items: center;
2961
+ }
2962
+ .footer-canvas-actions-row .undo-redo-buttons {
2963
+ margin-top: 0;
2964
+ margin-bottom: 0;
2965
+ align-self: center;
2966
+ }
2955
2967
  .zoom-button,
2956
2968
  .undo-redo-buttons button {
2957
2969
  border-radius: 0 !important;
@@ -9393,5 +9405,872 @@ body.excalidraw-cursor-resize * {
9393
9405
  }
9394
9406
  }
9395
9407
  }
9408
+
9409
+ /* components/AIChatPanel.scss */
9410
+ .excalidraw .acp {
9411
+ position: fixed;
9412
+ right: 0;
9413
+ top: 0;
9414
+ height: 100vh;
9415
+ width: 380px;
9416
+ z-index: var(--zIndex-modal);
9417
+ pointer-events: all;
9418
+ overflow: hidden;
9419
+ font-family:
9420
+ "Assistant",
9421
+ system-ui,
9422
+ -apple-system,
9423
+ sans-serif;
9424
+ font-size: 14px;
9425
+ color: #111;
9426
+ }
9427
+ .excalidraw .acp input[type=file] {
9428
+ display: none !important;
9429
+ }
9430
+ .excalidraw .acp textarea,
9431
+ .excalidraw .acp input[type=text],
9432
+ .excalidraw .acp input[type=search] {
9433
+ all: unset !important;
9434
+ box-sizing: border-box !important;
9435
+ }
9436
+ .excalidraw .acp button {
9437
+ all: unset !important;
9438
+ box-sizing: border-box !important;
9439
+ cursor: pointer !important;
9440
+ }
9441
+ .excalidraw .acp .acp-panel {
9442
+ display: flex;
9443
+ flex-direction: column;
9444
+ height: 100%;
9445
+ width: 100%;
9446
+ overflow: hidden;
9447
+ background: #fff;
9448
+ border-left: 1px solid rgba(0, 0, 0, 0.07);
9449
+ box-shadow: -2px 0 20px rgba(0, 0, 0, 0.06);
9450
+ animation: acp-slide-in 0.18s ease;
9451
+ }
9452
+ @keyframes acp-slide-in {
9453
+ from {
9454
+ transform: translateX(100%);
9455
+ opacity: 0;
9456
+ }
9457
+ to {
9458
+ transform: translateX(0);
9459
+ opacity: 1;
9460
+ }
9461
+ }
9462
+ .excalidraw .acp .acp-header {
9463
+ position: relative;
9464
+ display: flex;
9465
+ align-items: center;
9466
+ justify-content: space-between;
9467
+ padding: 0 8px;
9468
+ height: 48px;
9469
+ border-bottom: 1px solid rgba(0, 0, 0, 0.07);
9470
+ flex-shrink: 0;
9471
+ }
9472
+ .excalidraw .acp .acp-title-btn {
9473
+ display: flex !important;
9474
+ align-items: center !important;
9475
+ gap: 5px !important;
9476
+ padding: 4px 8px !important;
9477
+ border-radius: 7px !important;
9478
+ font-size: 14px !important;
9479
+ font-weight: 500 !important;
9480
+ color: #111 !important;
9481
+ transition: background 0.1s !important;
9482
+ min-width: 0 !important;
9483
+ max-width: 200px !important;
9484
+ }
9485
+ .excalidraw .acp .acp-title-btn span {
9486
+ overflow: hidden;
9487
+ text-overflow: ellipsis;
9488
+ white-space: nowrap;
9489
+ }
9490
+ .excalidraw .acp .acp-title-btn svg {
9491
+ flex-shrink: 0;
9492
+ color: #888;
9493
+ }
9494
+ .excalidraw .acp .acp-title-btn:hover {
9495
+ background: rgba(0, 0, 0, 0.05) !important;
9496
+ }
9497
+ .excalidraw .acp .acp-header-right {
9498
+ display: flex;
9499
+ align-items: center;
9500
+ gap: 2px;
9501
+ }
9502
+ .excalidraw .acp .acp-icon-btn {
9503
+ display: flex !important;
9504
+ align-items: center !important;
9505
+ justify-content: center !important;
9506
+ width: 30px !important;
9507
+ height: 30px !important;
9508
+ border-radius: 7px !important;
9509
+ color: #888 !important;
9510
+ transition: background 0.1s, color 0.1s !important;
9511
+ }
9512
+ .excalidraw .acp .acp-icon-btn:hover {
9513
+ background: rgba(0, 0, 0, 0.06) !important;
9514
+ color: #333 !important;
9515
+ }
9516
+ .excalidraw .acp .acp-history-dropdown {
9517
+ position: absolute;
9518
+ top: calc(100% + 4px);
9519
+ left: 8px;
9520
+ width: 280px;
9521
+ background: #fff;
9522
+ border-radius: 12px;
9523
+ box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06);
9524
+ z-index: 10;
9525
+ overflow: hidden;
9526
+ }
9527
+ .excalidraw .acp .acp-history-search {
9528
+ display: flex !important;
9529
+ align-items: center !important;
9530
+ gap: 7px !important;
9531
+ padding: 10px 12px !important;
9532
+ border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
9533
+ }
9534
+ .excalidraw .acp .acp-history-search svg {
9535
+ color: #bbb;
9536
+ flex-shrink: 0;
9537
+ }
9538
+ .excalidraw .acp .acp-history-search input {
9539
+ flex: 1 !important;
9540
+ font-family: inherit !important;
9541
+ font-size: 13px !important;
9542
+ color: #111 !important;
9543
+ background: transparent !important;
9544
+ }
9545
+ .excalidraw .acp .acp-history-search input::placeholder {
9546
+ color: #bbb !important;
9547
+ }
9548
+ .excalidraw .acp .acp-history-list {
9549
+ max-height: 280px;
9550
+ overflow-y: auto;
9551
+ padding: 4px;
9552
+ }
9553
+ .excalidraw .acp .acp-history-item {
9554
+ display: flex !important;
9555
+ align-items: center !important;
9556
+ gap: 8px !important;
9557
+ width: 100% !important;
9558
+ padding: 7px 10px !important;
9559
+ border-radius: 7px !important;
9560
+ font-family: inherit !important;
9561
+ font-size: 13px !important;
9562
+ color: #222 !important;
9563
+ background: transparent !important;
9564
+ text-align: left !important;
9565
+ transition: background 0.1s !important;
9566
+ }
9567
+ .excalidraw .acp .acp-history-item svg {
9568
+ color: #bbb;
9569
+ flex-shrink: 0;
9570
+ }
9571
+ .excalidraw .acp .acp-history-item span {
9572
+ overflow: hidden;
9573
+ text-overflow: ellipsis;
9574
+ white-space: nowrap;
9575
+ flex: 1;
9576
+ }
9577
+ .excalidraw .acp .acp-history-item:hover {
9578
+ background: rgba(0, 0, 0, 0.04) !important;
9579
+ }
9580
+ .excalidraw .acp .acp-history-item--new {
9581
+ color: #6350dc !important;
9582
+ }
9583
+ .excalidraw .acp .acp-history-item--new svg {
9584
+ color: #6350dc;
9585
+ }
9586
+ .excalidraw .acp .acp-history-empty {
9587
+ padding: 12px;
9588
+ text-align: center;
9589
+ font-size: 12px;
9590
+ color: #bbb;
9591
+ }
9592
+ .excalidraw .acp .acp-messages-wrap {
9593
+ flex: 1;
9594
+ min-height: 0;
9595
+ min-width: 0;
9596
+ position: relative;
9597
+ overflow: hidden;
9598
+ }
9599
+ .excalidraw .acp .acp-empty {
9600
+ display: flex;
9601
+ flex-direction: column;
9602
+ align-items: center;
9603
+ justify-content: center;
9604
+ height: 100%;
9605
+ gap: 20px;
9606
+ padding: 32px 24px;
9607
+ text-align: center;
9608
+ }
9609
+ .excalidraw .acp .acp-empty-icon {
9610
+ width: 52px;
9611
+ height: 52px;
9612
+ border-radius: 50%;
9613
+ background: rgba(99, 80, 220, 0.08);
9614
+ display: flex;
9615
+ align-items: center;
9616
+ justify-content: center;
9617
+ color: #6350dc;
9618
+ }
9619
+ .excalidraw .acp .acp-empty-title {
9620
+ font-size: 15px;
9621
+ font-weight: 600;
9622
+ color: #111;
9623
+ margin-bottom: 4px;
9624
+ }
9625
+ .excalidraw .acp .acp-empty-sub {
9626
+ font-size: 13px;
9627
+ color: #999;
9628
+ line-height: 1.5;
9629
+ }
9630
+ .excalidraw .acp .acp-chips {
9631
+ display: flex;
9632
+ flex-wrap: wrap;
9633
+ gap: 8px;
9634
+ justify-content: center;
9635
+ max-width: 300px;
9636
+ }
9637
+ .excalidraw .acp .acp-chip {
9638
+ display: flex !important;
9639
+ align-items: center !important;
9640
+ padding: 6px 14px !important;
9641
+ border-radius: 20px !important;
9642
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
9643
+ font-family: inherit !important;
9644
+ font-size: 12.5px !important;
9645
+ font-weight: 500 !important;
9646
+ color: #555 !important;
9647
+ background: #fafafa !important;
9648
+ transition: background 0.1s, border-color 0.1s !important;
9649
+ white-space: nowrap !important;
9650
+ }
9651
+ .excalidraw .acp .acp-chip:hover {
9652
+ background: rgba(99, 80, 220, 0.06) !important;
9653
+ border-color: rgba(99, 80, 220, 0.25) !important;
9654
+ color: #6350dc !important;
9655
+ }
9656
+ .excalidraw .acp .acp-chat-root {
9657
+ height: 100% !important;
9658
+ width: 100% !important;
9659
+ max-width: 100% !important;
9660
+ display: flex !important;
9661
+ flex-direction: column !important;
9662
+ overflow-y: auto !important;
9663
+ overflow-x: hidden !important;
9664
+ }
9665
+ .excalidraw .acp .acp-chat-content {
9666
+ display: flex !important;
9667
+ flex-direction: column !important;
9668
+ width: 100% !important;
9669
+ max-width: 100% !important;
9670
+ box-sizing: border-box !important;
9671
+ padding: 24px 20px 12px !important;
9672
+ gap: 2px !important;
9673
+ }
9674
+ .excalidraw .acp .acp-msg {
9675
+ display: flex !important;
9676
+ flex-direction: row !important;
9677
+ width: 100% !important;
9678
+ max-width: 100% !important;
9679
+ min-width: 0 !important;
9680
+ box-sizing: border-box !important;
9681
+ gap: 0 !important;
9682
+ margin-bottom: 2px !important;
9683
+ }
9684
+ .excalidraw .acp .acp-msg--assistant {
9685
+ justify-content: flex-start !important;
9686
+ }
9687
+ .excalidraw .acp .acp-msg--user {
9688
+ justify-content: flex-end !important;
9689
+ }
9690
+ .excalidraw .acp .acp-msg-inner {
9691
+ display: flex;
9692
+ flex-direction: column;
9693
+ gap: 2px;
9694
+ min-width: 0;
9695
+ max-width: 100%;
9696
+ }
9697
+ .acp-msg--user .excalidraw .acp .acp-msg-inner {
9698
+ align-items: flex-end;
9699
+ max-width: 80%;
9700
+ }
9701
+ .acp-msg--assistant .excalidraw .acp .acp-msg-inner {
9702
+ align-items: flex-start;
9703
+ width: 100%;
9704
+ max-width: 100%;
9705
+ }
9706
+ .excalidraw .acp .acp-msg-inner .acp-msg-actions {
9707
+ opacity: 0;
9708
+ transition: opacity 0.15s ease;
9709
+ }
9710
+ .excalidraw .acp .acp-msg-inner:hover .acp-msg-actions {
9711
+ opacity: 1;
9712
+ }
9713
+ .excalidraw .acp .acp-msg-actions--visible {
9714
+ opacity: 1 !important;
9715
+ }
9716
+ .excalidraw .acp .acp-content-assistant {
9717
+ background: transparent !important;
9718
+ border-radius: 0 !important;
9719
+ padding: 6px 0 !important;
9720
+ font-size: 14px !important;
9721
+ line-height: 1.6 !important;
9722
+ color: #111 !important;
9723
+ width: 100% !important;
9724
+ max-width: 100% !important;
9725
+ }
9726
+ .excalidraw .acp .acp-content-assistant p {
9727
+ margin: 0 0 8px;
9728
+ }
9729
+ .excalidraw .acp .acp-content-assistant p:last-child {
9730
+ margin-bottom: 0;
9731
+ }
9732
+ .excalidraw .acp .acp-content-assistant code {
9733
+ font-size: 12.5px;
9734
+ background: #f4f4f4;
9735
+ padding: 1px 5px;
9736
+ border-radius: 4px;
9737
+ }
9738
+ .excalidraw .acp .acp-content-assistant pre {
9739
+ background: #f4f4f4;
9740
+ padding: 10px 12px;
9741
+ border-radius: 8px;
9742
+ overflow-x: auto;
9743
+ margin: 8px 0;
9744
+ }
9745
+ .excalidraw .acp .acp-content-assistant ul,
9746
+ .excalidraw .acp .acp-content-assistant ol {
9747
+ padding-left: 18px;
9748
+ margin: 4px 0;
9749
+ }
9750
+ .excalidraw .acp .acp-content-assistant li {
9751
+ margin-bottom: 2px;
9752
+ }
9753
+ .excalidraw .acp .acp-content-assistant strong {
9754
+ font-weight: 600;
9755
+ }
9756
+ .excalidraw .acp .acp-content-user {
9757
+ background: #1c1c1c !important;
9758
+ color: #fff !important;
9759
+ border-radius: 20px 20px 4px 20px !important;
9760
+ padding: 10px 16px !important;
9761
+ font-size: 14px !important;
9762
+ line-height: 1.5 !important;
9763
+ max-width: 85% !important;
9764
+ word-break: break-word !important;
9765
+ white-space: pre-wrap !important;
9766
+ }
9767
+ .excalidraw .acp .acp-msg-actions {
9768
+ display: flex !important;
9769
+ align-items: center !important;
9770
+ gap: 0 !important;
9771
+ margin-left: -4px !important;
9772
+ }
9773
+ .acp-msg--user .excalidraw .acp .acp-msg-actions {
9774
+ margin-left: 0 !important;
9775
+ margin-right: -4px !important;
9776
+ }
9777
+ .excalidraw .acp .acp-action-btn {
9778
+ display: flex !important;
9779
+ align-items: center !important;
9780
+ justify-content: center !important;
9781
+ width: 28px !important;
9782
+ height: 28px !important;
9783
+ border-radius: 50% !important;
9784
+ color: #aaa !important;
9785
+ transition: background 0.1s, color 0.1s !important;
9786
+ }
9787
+ .excalidraw .acp .acp-action-btn:hover {
9788
+ background: rgba(0, 0, 0, 0.07) !important;
9789
+ color: #444 !important;
9790
+ }
9791
+ .excalidraw .acp .acp-loading-dots {
9792
+ display: flex;
9793
+ align-items: center;
9794
+ gap: 4px;
9795
+ padding: 12px 4px;
9796
+ }
9797
+ .excalidraw .acp .acp-loading-dots span {
9798
+ width: 6px;
9799
+ height: 6px;
9800
+ border-radius: 50%;
9801
+ background: #ccc;
9802
+ animation: acp-dot 1.2s ease-in-out infinite;
9803
+ }
9804
+ .excalidraw .acp .acp-loading-dots span:nth-child(2) {
9805
+ animation-delay: 0.2s;
9806
+ }
9807
+ .excalidraw .acp .acp-loading-dots span:nth-child(3) {
9808
+ animation-delay: 0.4s;
9809
+ }
9810
+ @keyframes acp-dot {
9811
+ 0%, 60%, 100% {
9812
+ transform: translateY(0);
9813
+ opacity: 0.5;
9814
+ }
9815
+ 30% {
9816
+ transform: translateY(-5px);
9817
+ opacity: 1;
9818
+ }
9819
+ }
9820
+ .excalidraw .acp .acp-scroll-anchor {
9821
+ position: absolute;
9822
+ bottom: 16px;
9823
+ right: 16px;
9824
+ }
9825
+ .excalidraw .acp .acp-scroll-btn {
9826
+ width: 34px !important;
9827
+ height: 34px !important;
9828
+ border-radius: 50% !important;
9829
+ background: #fff !important;
9830
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
9831
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
9832
+ color: #555 !important;
9833
+ display: flex !important;
9834
+ align-items: center !important;
9835
+ justify-content: center !important;
9836
+ transition:
9837
+ background 0.1s,
9838
+ transform 0.15s,
9839
+ opacity 0.15s !important;
9840
+ }
9841
+ .excalidraw .acp .acp-scroll-btn:hover {
9842
+ background: #f5f5f5 !important;
9843
+ }
9844
+ .excalidraw .acp .acp-scroll-btn svg {
9845
+ width: 16px !important;
9846
+ height: 16px !important;
9847
+ }
9848
+ .excalidraw .acp .acp-error {
9849
+ margin: 0 12px 8px;
9850
+ padding: 8px 12px;
9851
+ background: #fff0f0;
9852
+ border: 1px solid #ffd0d0;
9853
+ border-radius: 8px;
9854
+ font-size: 12.5px;
9855
+ color: #c0392b;
9856
+ flex-shrink: 0;
9857
+ }
9858
+ .excalidraw .acp .acp-input-area {
9859
+ padding: 8px 12px 14px;
9860
+ flex-shrink: 0;
9861
+ }
9862
+ .excalidraw .acp .acp-prompt-input {
9863
+ border-radius: 24px !important;
9864
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
9865
+ background: #fff !important;
9866
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
9867
+ padding: 0 !important;
9868
+ cursor: text !important;
9869
+ }
9870
+ .excalidraw .acp .acp-textarea {
9871
+ display: block !important;
9872
+ width: 100% !important;
9873
+ min-height: 44px !important;
9874
+ max-height: 160px !important;
9875
+ overflow-y: auto !important;
9876
+ resize: none !important;
9877
+ padding: 14px 16px 6px !important;
9878
+ font-family: inherit !important;
9879
+ font-size: 14px !important;
9880
+ line-height: 1.5 !important;
9881
+ color: #111 !important;
9882
+ background: transparent !important;
9883
+ border: none !important;
9884
+ outline: none !important;
9885
+ -webkit-appearance: none !important;
9886
+ }
9887
+ .excalidraw .acp .acp-textarea::placeholder {
9888
+ color: #bbb !important;
9889
+ }
9890
+ .excalidraw .acp .acp-actions-bar {
9891
+ display: flex !important;
9892
+ align-items: center !important;
9893
+ justify-content: space-between !important;
9894
+ padding: 4px 8px 8px !important;
9895
+ gap: 4px !important;
9896
+ }
9897
+ .excalidraw .acp .acp-actions-left,
9898
+ .excalidraw .acp .acp-actions-right {
9899
+ display: flex;
9900
+ align-items: center;
9901
+ gap: 4px;
9902
+ }
9903
+ .excalidraw .acp .acp-pill-btn {
9904
+ display: flex !important;
9905
+ align-items: center !important;
9906
+ gap: 5px !important;
9907
+ height: 32px !important;
9908
+ padding: 0 12px !important;
9909
+ border-radius: 20px !important;
9910
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
9911
+ font-family: inherit !important;
9912
+ font-size: 13px !important;
9913
+ font-weight: 500 !important;
9914
+ color: #444 !important;
9915
+ background: #fff !important;
9916
+ white-space: nowrap !important;
9917
+ transition: background 0.1s !important;
9918
+ }
9919
+ .excalidraw .acp .acp-pill-btn--icon {
9920
+ padding: 0 !important;
9921
+ width: 32px !important;
9922
+ justify-content: center !important;
9923
+ }
9924
+ .excalidraw .acp .acp-pill-btn svg {
9925
+ flex-shrink: 0;
9926
+ color: #666;
9927
+ }
9928
+ .excalidraw .acp .acp-pill-btn:hover {
9929
+ background: #f5f5f5 !important;
9930
+ }
9931
+ .excalidraw .acp .acp-pill-btn--active {
9932
+ background: rgba(99, 80, 220, 0.08) !important;
9933
+ border-color: rgba(99, 80, 220, 0.3) !important;
9934
+ color: #6350dc !important;
9935
+ }
9936
+ .excalidraw .acp .acp-pill-btn--active svg {
9937
+ color: #6350dc;
9938
+ }
9939
+ .excalidraw .acp .acp-pill-btn--active:hover {
9940
+ background: rgba(99, 80, 220, 0.14) !important;
9941
+ }
9942
+ .excalidraw .acp .acp-pill-btn--transcribing {
9943
+ background: rgba(99, 80, 220, 0.08) !important;
9944
+ border-color: rgba(99, 80, 220, 0.2) !important;
9945
+ cursor: default !important;
9946
+ }
9947
+ .excalidraw .acp .acp-pill-btn--transcribing svg {
9948
+ color: #6350dc;
9949
+ }
9950
+ .excalidraw .acp .acp-pill-btn--recording {
9951
+ background: rgba(220, 53, 69, 0.08) !important;
9952
+ border-color: rgba(220, 53, 69, 0.3) !important;
9953
+ color: #dc3545 !important;
9954
+ animation: acp-pulse 1.5s ease-in-out infinite;
9955
+ }
9956
+ .excalidraw .acp .acp-pill-btn--recording svg {
9957
+ color: #dc3545;
9958
+ }
9959
+ .excalidraw .acp .acp-pill-btn--recording:hover {
9960
+ background: rgba(220, 53, 69, 0.14) !important;
9961
+ }
9962
+ .excalidraw .acp .acp-pill-btn:disabled {
9963
+ opacity: 0.4 !important;
9964
+ cursor: not-allowed !important;
9965
+ }
9966
+ @keyframes acp-pulse {
9967
+ 0%, 100% {
9968
+ opacity: 1;
9969
+ }
9970
+ 50% {
9971
+ opacity: 0.6;
9972
+ }
9973
+ }
9974
+ @keyframes acp-spin {
9975
+ from {
9976
+ transform: rotate(0deg);
9977
+ }
9978
+ to {
9979
+ transform: rotate(360deg);
9980
+ }
9981
+ }
9982
+ .excalidraw .acp .acp-mic-spinner {
9983
+ animation: acp-spin 0.85s linear infinite;
9984
+ }
9985
+ .excalidraw .acp .acp-send-btn {
9986
+ display: flex !important;
9987
+ align-items: center !important;
9988
+ justify-content: center !important;
9989
+ width: 32px !important;
9990
+ height: 32px !important;
9991
+ border-radius: 50% !important;
9992
+ background: #1c1c1c !important;
9993
+ color: #fff !important;
9994
+ flex-shrink: 0 !important;
9995
+ transition: background 0.12s, transform 0.1s !important;
9996
+ }
9997
+ .excalidraw .acp .acp-send-btn:hover {
9998
+ background: #333 !important;
9999
+ }
10000
+ .excalidraw .acp .acp-send-btn:active {
10001
+ transform: scale(0.94) !important;
10002
+ }
10003
+ .excalidraw .acp .acp-send-btn:disabled {
10004
+ background: #d8d8d8 !important;
10005
+ cursor: not-allowed !important;
10006
+ }
10007
+ .excalidraw .acp .acp-stop-square {
10008
+ display: block;
10009
+ width: 10px;
10010
+ height: 10px;
10011
+ background: #fff;
10012
+ border-radius: 2px;
10013
+ }
10014
+ .excalidraw .acp .acp-status-indicator {
10015
+ display: flex;
10016
+ align-items: center;
10017
+ gap: 8px;
10018
+ padding: 8px 4px;
10019
+ }
10020
+ .excalidraw .acp .acp-status-text {
10021
+ font-size: 12.5px;
10022
+ color: #888;
10023
+ font-style: italic;
10024
+ white-space: nowrap;
10025
+ overflow: hidden;
10026
+ text-overflow: ellipsis;
10027
+ }
10028
+ .excalidraw .acp .acp-tool-actions {
10029
+ margin-bottom: 4px;
10030
+ }
10031
+ .excalidraw .acp .acp-tool-actions-toggle {
10032
+ display: flex !important;
10033
+ align-items: center !important;
10034
+ gap: 6px !important;
10035
+ padding: 5px 10px !important;
10036
+ border-radius: 8px !important;
10037
+ font-family: inherit !important;
10038
+ font-size: 12px !important;
10039
+ font-weight: 500 !important;
10040
+ color: #888 !important;
10041
+ background: rgba(0, 0, 0, 0.03) !important;
10042
+ transition: background 0.1s !important;
10043
+ }
10044
+ .excalidraw .acp .acp-tool-actions-toggle:hover {
10045
+ background: rgba(0, 0, 0, 0.06) !important;
10046
+ color: #555 !important;
10047
+ }
10048
+ .excalidraw .acp .acp-tool-actions-toggle svg {
10049
+ flex-shrink: 0;
10050
+ }
10051
+ .excalidraw .acp .acp-tool-chevron {
10052
+ transition: transform 0.15s ease;
10053
+ }
10054
+ .excalidraw .acp .acp-tool-chevron--open {
10055
+ transform: rotate(90deg);
10056
+ }
10057
+ .excalidraw .acp .acp-tool-actions-list {
10058
+ margin: 4px 0 4px 8px;
10059
+ padding-left: 10px;
10060
+ border-left: 2px solid rgba(0, 0, 0, 0.06);
10061
+ }
10062
+ .excalidraw .acp .acp-tool-action-item {
10063
+ display: flex;
10064
+ align-items: flex-start;
10065
+ gap: 8px;
10066
+ padding: 3px 0;
10067
+ font-size: 12px;
10068
+ color: #666;
10069
+ line-height: 1.4;
10070
+ }
10071
+ .excalidraw .acp .acp-tool-action-item--ok .acp-tool-action-dot {
10072
+ background: #27ae60;
10073
+ }
10074
+ .excalidraw .acp .acp-tool-action-item--err .acp-tool-action-dot {
10075
+ background: #e74c3c;
10076
+ }
10077
+ .excalidraw .acp .acp-tool-action-dot {
10078
+ width: 5px;
10079
+ height: 5px;
10080
+ border-radius: 50%;
10081
+ flex-shrink: 0;
10082
+ margin-top: 5px;
10083
+ }
10084
+ .excalidraw .acp .acp-attachments-area {
10085
+ display: flex;
10086
+ flex-wrap: wrap;
10087
+ gap: 6px;
10088
+ padding: 0 12px 4px;
10089
+ flex-shrink: 0;
10090
+ }
10091
+ .excalidraw .acp .acp-attachment-pill {
10092
+ display: inline-flex;
10093
+ align-items: center;
10094
+ gap: 5px;
10095
+ padding: 4px 10px;
10096
+ border-radius: 14px;
10097
+ background: rgba(0, 0, 0, 0.04);
10098
+ border: 1px solid rgba(0, 0, 0, 0.08);
10099
+ font-size: 12px;
10100
+ font-weight: 500;
10101
+ color: #555;
10102
+ max-width: 200px;
10103
+ }
10104
+ .excalidraw .acp .acp-attachment-pill svg {
10105
+ flex-shrink: 0;
10106
+ color: #888;
10107
+ }
10108
+ .excalidraw .acp .acp-attachment-pill span {
10109
+ overflow: hidden;
10110
+ text-overflow: ellipsis;
10111
+ white-space: nowrap;
10112
+ flex: 1;
10113
+ }
10114
+ .excalidraw .acp .acp-attachment-thumb {
10115
+ width: 20px;
10116
+ height: 20px;
10117
+ border-radius: 4px;
10118
+ object-fit: cover;
10119
+ flex-shrink: 0;
10120
+ }
10121
+ .excalidraw .acp .acp-attachment-remove {
10122
+ display: flex !important;
10123
+ align-items: center !important;
10124
+ justify-content: center !important;
10125
+ width: 16px !important;
10126
+ height: 16px !important;
10127
+ border-radius: 50% !important;
10128
+ background: transparent !important;
10129
+ color: #888 !important;
10130
+ flex-shrink: 0 !important;
10131
+ transition: background 0.1s !important;
10132
+ }
10133
+ .excalidraw .acp .acp-attachment-remove:hover {
10134
+ background: rgba(0, 0, 0, 0.1) !important;
10135
+ color: #444 !important;
10136
+ }
10137
+ .excalidraw .acp .acp-msg-attachments {
10138
+ display: flex;
10139
+ flex-wrap: wrap;
10140
+ gap: 6px;
10141
+ margin-bottom: 6px;
10142
+ }
10143
+ .excalidraw .acp .acp-msg-att-thumb {
10144
+ max-width: 160px;
10145
+ max-height: 120px;
10146
+ border-radius: 12px;
10147
+ object-fit: cover;
10148
+ border: 1px solid rgba(255, 255, 255, 0.15);
10149
+ display: block;
10150
+ }
10151
+ .excalidraw .acp .acp-msg-att-pill {
10152
+ display: inline-flex;
10153
+ align-items: center;
10154
+ gap: 4px;
10155
+ padding: 4px 10px;
10156
+ border-radius: 12px;
10157
+ background: rgba(255, 255, 255, 0.12);
10158
+ border: 1px solid rgba(255, 255, 255, 0.1);
10159
+ font-size: 11.5px;
10160
+ color: rgba(255, 255, 255, 0.85);
10161
+ }
10162
+ .excalidraw .acp .acp-msg-att-pill svg {
10163
+ flex-shrink: 0;
10164
+ color: rgba(255, 255, 255, 0.6);
10165
+ }
10166
+ .excalidraw .acp .acp-ref-area {
10167
+ padding: 0 12px 4px;
10168
+ flex-shrink: 0;
10169
+ }
10170
+ .excalidraw .acp .acp-ref-pill {
10171
+ display: inline-flex;
10172
+ align-items: center;
10173
+ gap: 5px;
10174
+ padding: 4px 10px;
10175
+ border-radius: 14px;
10176
+ background: rgba(99, 80, 220, 0.08);
10177
+ border: 1px solid rgba(99, 80, 220, 0.2);
10178
+ font-size: 12px;
10179
+ font-weight: 500;
10180
+ color: #6350dc;
10181
+ }
10182
+ .excalidraw .acp .acp-ref-pill svg {
10183
+ flex-shrink: 0;
10184
+ }
10185
+ .excalidraw .acp .acp-ref-pill span {
10186
+ max-width: 200px;
10187
+ overflow: hidden;
10188
+ text-overflow: ellipsis;
10189
+ white-space: nowrap;
10190
+ }
10191
+ .excalidraw .acp .acp-ref-remove {
10192
+ display: flex !important;
10193
+ align-items: center !important;
10194
+ justify-content: center !important;
10195
+ width: 16px !important;
10196
+ height: 16px !important;
10197
+ border-radius: 50% !important;
10198
+ background: transparent !important;
10199
+ color: #6350dc !important;
10200
+ transition: background 0.1s !important;
10201
+ }
10202
+ .excalidraw .acp .acp-ref-remove:hover {
10203
+ background: rgba(99, 80, 220, 0.15) !important;
10204
+ }
10205
+ .excalidraw .acp .acp-input-wrapper {
10206
+ position: relative;
10207
+ }
10208
+ .excalidraw .acp .acp-mention-menu {
10209
+ position: absolute;
10210
+ bottom: calc(100% + 6px);
10211
+ left: 8px;
10212
+ right: 8px;
10213
+ background: #fff;
10214
+ border-radius: 12px;
10215
+ box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06);
10216
+ z-index: 10;
10217
+ overflow: hidden;
10218
+ padding: 4px;
10219
+ }
10220
+ .excalidraw .acp .acp-mention-item {
10221
+ display: flex !important;
10222
+ align-items: center !important;
10223
+ gap: 8px !important;
10224
+ width: 100% !important;
10225
+ padding: 8px 12px !important;
10226
+ border-radius: 8px !important;
10227
+ font-family: inherit !important;
10228
+ font-size: 13px !important;
10229
+ color: #333 !important;
10230
+ background: transparent !important;
10231
+ text-align: left !important;
10232
+ transition: background 0.1s !important;
10233
+ }
10234
+ .excalidraw .acp .acp-mention-item svg {
10235
+ color: #6350dc;
10236
+ flex-shrink: 0;
10237
+ }
10238
+ .excalidraw .acp .acp-mention-item:hover {
10239
+ background: rgba(99, 80, 220, 0.06) !important;
10240
+ }
10241
+ .excalidraw .acp .acp-mention-dim {
10242
+ color: #999;
10243
+ font-size: 11.5px;
10244
+ font-weight: 400;
10245
+ }
10246
+ .excalidraw .acp .acp-mention-empty {
10247
+ padding: 12px;
10248
+ font-size: 12.5px;
10249
+ color: #999;
10250
+ text-align: center;
10251
+ line-height: 1.4;
10252
+ }
10253
+ .excalidraw .acp-open-btn {
10254
+ display: flex !important;
10255
+ align-items: center !important;
10256
+ justify-content: center !important;
10257
+ width: 36px !important;
10258
+ 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;
10264
+ cursor: pointer !important;
10265
+ transition: background 0.12s, box-shadow 0.12s !important;
10266
+ box-sizing: border-box !important;
10267
+ }
10268
+ .excalidraw .acp-open-btn:hover {
10269
+ background: #f5f5f5 !important;
10270
+ box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14) !important;
10271
+ }
10272
+ .excalidraw .acp-open-btn:active {
10273
+ transform: scale(0.95) !important;
10274
+ }
9396
10275
  /*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
9397
10276
  /*# sourceMappingURL=index.css.map */