@orangecatai/adgen-canvas 0.0.39 → 0.1.0

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 (95) hide show
  1. package/dist/dev/chunk-2K6ZAAHB.js +1535 -0
  2. package/dist/dev/chunk-2K6ZAAHB.js.map +7 -0
  3. package/dist/dev/{chunk-E7VZGEUJ.js → chunk-2Q5Z4UTF.js} +2 -2
  4. package/dist/dev/{chunk-E7VZGEUJ.js.map → chunk-2Q5Z4UTF.js.map} +1 -1
  5. package/dist/dev/{chunk-LIELFD5T.js → chunk-3WIRZ6S7.js} +6 -1
  6. package/dist/dev/chunk-3WIRZ6S7.js.map +7 -0
  7. package/dist/dev/{chunk-5XP2WJAQ.js → chunk-7XZBXIDZ.js} +1300 -1252
  8. package/dist/dev/chunk-7XZBXIDZ.js.map +7 -0
  9. package/dist/dev/chunk-AKA4GZ3R.js +62 -0
  10. package/dist/dev/chunk-AKA4GZ3R.js.map +7 -0
  11. package/dist/dev/chunk-LWUV2KR2.js +27 -0
  12. package/dist/dev/chunk-LWUV2KR2.js.map +7 -0
  13. package/dist/dev/chunk-T57LHRZV.js +2167 -0
  14. package/dist/dev/chunk-T57LHRZV.js.map +7 -0
  15. package/dist/dev/components/auto-resize/nativeResizeAgent-5XWJJ74W.js +1074 -0
  16. package/dist/dev/components/auto-resize/nativeResizeAgent-5XWJJ74W.js.map +7 -0
  17. package/dist/dev/data/{image-PUPXCX7M.js → image-MTDE3WXB.js} +4 -3
  18. package/dist/dev/index.css +618 -27
  19. package/dist/dev/index.css.map +3 -3
  20. package/dist/dev/index.js +6769 -8217
  21. package/dist/dev/index.js.map +4 -4
  22. package/dist/dev/locales/{en-VCZQBJ2N.js → en-3S2H3QGO.js} +2 -2
  23. package/dist/dev/model-capabilities.js +47 -0
  24. package/dist/dev/model-capabilities.js.map +7 -0
  25. package/dist/dev/subset-shared.chunk.js +1 -1
  26. package/dist/dev/subset-worker.chunk.js +1 -1
  27. package/dist/prod/chunk-6YYSQB5E.js +1 -0
  28. package/dist/prod/{chunk-CLQPYXMS.js → chunk-PIM2DC2L.js} +3 -3
  29. package/dist/prod/chunk-POCDVKZK.js +142 -0
  30. package/dist/prod/chunk-PWBUVPCU.js +1 -0
  31. package/dist/prod/{chunk-WBFDC4WN.js → chunk-R4DNAEVN.js} +1 -1
  32. package/dist/prod/chunk-U2I2OXQ7.js +4 -0
  33. package/dist/prod/chunk-UR7GPHHO.js +1 -0
  34. package/dist/prod/components/auto-resize/nativeResizeAgent-45UNA3LO.js +5 -0
  35. package/dist/prod/data/image-U4RMOYQQ.js +1 -0
  36. package/dist/prod/index.css +1 -1
  37. package/dist/prod/index.js +67 -298
  38. package/dist/prod/locales/{en-ZZURI326.js → en-Z3CKUL4S.js} +1 -1
  39. package/dist/prod/model-capabilities.js +1 -0
  40. package/dist/prod/subset-shared.chunk.js +1 -1
  41. package/dist/prod/subset-worker.chunk.js +1 -1
  42. package/dist/types/common/src/utils.d.ts +4 -1
  43. package/dist/types/element/src/index.d.ts +3 -0
  44. package/dist/types/element/src/newElement.d.ts +2 -1
  45. package/dist/types/element/src/textHtml.d.ts +14 -0
  46. package/dist/types/element/src/textLayout.d.ts +97 -0
  47. package/dist/types/element/src/textStyleRanges.d.ts +62 -0
  48. package/dist/types/element/src/textWrapping.d.ts +27 -0
  49. package/dist/types/element/src/types.d.ts +35 -0
  50. package/dist/types/excalidraw/actions/actionFrame.d.ts +1 -0
  51. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +1 -0
  52. package/dist/types/excalidraw/actions/actionProperties.d.ts +50 -0
  53. package/dist/types/excalidraw/actions/index.d.ts +1 -1
  54. package/dist/types/excalidraw/actions/types.d.ts +1 -1
  55. package/dist/types/excalidraw/components/AIChatPanel.d.ts +18 -2
  56. package/dist/types/excalidraw/components/App.d.ts +6 -0
  57. package/dist/types/excalidraw/components/FontSizeInput.d.ts +19 -0
  58. package/dist/types/excalidraw/components/ImageGeneratorPanel.d.ts +946 -45
  59. package/dist/types/excalidraw/components/VideoGeneratorPanel.d.ts +67 -53
  60. package/dist/types/excalidraw/components/ai-chat/ActivityTimeline.d.ts +18 -0
  61. package/dist/types/excalidraw/components/ai-chat/activitySteps.d.ts +106 -0
  62. package/dist/types/excalidraw/components/ai-chat/agentLoop.d.ts +66 -3
  63. package/dist/types/excalidraw/components/ai-chat/canvasTools.d.ts +23 -8
  64. package/dist/types/excalidraw/components/ai-chat/htmlToExcalidraw.d.ts +3 -0
  65. package/dist/types/excalidraw/components/ai-chat/openRouterStream.d.ts +13 -0
  66. package/dist/types/excalidraw/components/auto-resize/ResizeActivityCard.d.ts +7 -0
  67. package/dist/types/excalidraw/components/auto-resize/autoResizeEngine.d.ts +5 -2
  68. package/dist/types/excalidraw/components/auto-resize/autoResizeStore.d.ts +23 -0
  69. package/dist/types/excalidraw/components/auto-resize/imageBounds.d.ts +11 -0
  70. package/dist/types/excalidraw/components/auto-resize/nativeResizeAgent.d.ts +5 -0
  71. package/dist/types/excalidraw/components/auto-resize/resizeFitting.d.ts +7 -0
  72. package/dist/types/excalidraw/components/auto-resize/resizeLayout.d.ts +33 -0
  73. package/dist/types/excalidraw/components/icons.d.ts +6 -0
  74. package/dist/types/excalidraw/components/template-builder/TemplateBuilderTray.d.ts +1 -0
  75. package/dist/types/excalidraw/index.d.ts +9 -0
  76. package/dist/types/excalidraw/modelCapabilities/index.d.ts +17 -0
  77. package/dist/types/excalidraw/modelCapabilities/registry.image.d.ts +2 -0
  78. package/dist/types/excalidraw/modelCapabilities/registry.video.d.ts +2 -0
  79. package/dist/types/excalidraw/modelCapabilities/shared.d.ts +24 -0
  80. package/dist/types/excalidraw/modelCapabilities/types.d.ts +276 -0
  81. package/dist/types/excalidraw/modelCapabilities/validate.d.ts +48 -0
  82. package/dist/types/excalidraw/types.d.ts +4 -4
  83. package/dist/types/excalidraw/utils/imageApi.d.ts +3 -0
  84. package/dist/types/excalidraw/utils/referenceBudget.d.ts +12 -23
  85. package/dist/types/excalidraw/utils/videoApi.d.ts +21 -1
  86. package/dist/types/excalidraw/wysiwyg/richTextEditable.d.ts +36 -0
  87. package/dist/types/excalidraw/wysiwyg/textSelectionStyles.d.ts +32 -0
  88. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +6 -2
  89. package/package.json +10 -4
  90. package/dist/dev/chunk-5XP2WJAQ.js.map +0 -7
  91. package/dist/dev/chunk-LIELFD5T.js.map +0 -7
  92. package/dist/prod/chunk-T3ZLBHX4.js +0 -4
  93. package/dist/prod/data/image-AG3CTRSJ.js +0 -1
  94. /package/dist/dev/data/{image-PUPXCX7M.js.map → image-MTDE3WXB.js.map} +0 -0
  95. /package/dist/dev/locales/{en-VCZQBJ2N.js.map → en-3S2H3QGO.js.map} +0 -0
@@ -1168,6 +1168,61 @@
1168
1168
  grid-template-columns: none;
1169
1169
  }
1170
1170
 
1171
+ /* components/FontSizeInput.scss */
1172
+ .excalidraw .fontSizeInput {
1173
+ display: flex;
1174
+ align-items: center;
1175
+ gap: 0.25rem;
1176
+ }
1177
+ .excalidraw .fontSizeInput__step {
1178
+ display: flex;
1179
+ align-items: center;
1180
+ justify-content: center;
1181
+ width: 1.75rem;
1182
+ height: 1.75rem;
1183
+ flex: 0 0 auto;
1184
+ padding: 0;
1185
+ border: 1px solid var(--default-border-color);
1186
+ border-radius: var(--border-radius-lg);
1187
+ background-color: transparent;
1188
+ color: var(--text-primary-color);
1189
+ cursor: pointer;
1190
+ }
1191
+ .excalidraw .fontSizeInput__step svg {
1192
+ width: 0.875rem;
1193
+ height: 0.875rem;
1194
+ }
1195
+ .excalidraw .fontSizeInput__step:hover {
1196
+ background-color: var(--button-hover-bg);
1197
+ }
1198
+ .excalidraw .fontSizeInput__step:active {
1199
+ background-color: var(--button-active-bg);
1200
+ }
1201
+ .excalidraw .fontSizeInput__value {
1202
+ width: 3.25rem;
1203
+ height: 1.75rem;
1204
+ min-width: 0;
1205
+ box-sizing: border-box;
1206
+ padding: 0 0.5rem;
1207
+ border: 1px solid var(--default-border-color);
1208
+ border-radius: var(--border-radius-lg);
1209
+ background-color: var(--input-bg-color);
1210
+ color: var(--text-primary-color);
1211
+ font-family: inherit;
1212
+ font-size: 0.875rem;
1213
+ text-align: center;
1214
+ }
1215
+ .excalidraw .fontSizeInput__value:focus,
1216
+ .excalidraw .fontSizeInput__value:focus-visible {
1217
+ outline: none;
1218
+ border-color: var(--color-brand-hover);
1219
+ }
1220
+ .excalidraw .fontSizeInput__value--mixed::placeholder {
1221
+ color: var(--text-primary-color);
1222
+ opacity: 0.5;
1223
+ font-size: 0.75rem;
1224
+ }
1225
+
1171
1226
  /* components/IconPicker.scss */
1172
1227
  .excalidraw .picker {
1173
1228
  padding: 0.5rem;
@@ -3943,6 +3998,185 @@
3943
3998
  .excalidraw .igp .igp-dropdown-item:hover {
3944
3999
  background: rgba(0, 0, 0, 0.04) !important;
3945
4000
  }
4001
+ .excalidraw .igp .igp-dropdown-separator {
4002
+ height: 1px;
4003
+ margin: 4px 6px;
4004
+ background: rgba(0, 0, 0, 0.07);
4005
+ }
4006
+ .excalidraw .igp .igp-settings-menu {
4007
+ width: 270px;
4008
+ padding: 6px;
4009
+ }
4010
+ .excalidraw .igp .igp-setting-row {
4011
+ display: flex;
4012
+ align-items: center;
4013
+ justify-content: space-between;
4014
+ gap: 16px;
4015
+ padding: 10px;
4016
+ }
4017
+ .excalidraw .igp .igp-setting-row + .excalidraw .igp .igp-setting-row {
4018
+ border-top: 1px solid rgba(0, 0, 0, 0.06);
4019
+ }
4020
+ .excalidraw .igp .igp-setting-label {
4021
+ font-size: 12.5px;
4022
+ font-weight: 600;
4023
+ color: #252525;
4024
+ }
4025
+ .excalidraw .igp .igp-setting-hint {
4026
+ margin-top: 2px;
4027
+ font-size: 10.5px;
4028
+ line-height: 1.25;
4029
+ color: #999;
4030
+ }
4031
+ .excalidraw .igp .igp-toggle-control {
4032
+ display: flex !important;
4033
+ align-items: center !important;
4034
+ gap: 7px !important;
4035
+ min-width: 62px !important;
4036
+ padding: 4px 6px !important;
4037
+ border-radius: 8px !important;
4038
+ font-size: 12px !important;
4039
+ font-weight: 600 !important;
4040
+ color: #555 !important;
4041
+ }
4042
+ .excalidraw .igp .igp-toggle-control:hover {
4043
+ background: rgba(0, 0, 0, 0.04) !important;
4044
+ }
4045
+ .excalidraw .igp .igp-toggle-track {
4046
+ position: relative;
4047
+ width: 28px;
4048
+ height: 16px;
4049
+ border-radius: 999px;
4050
+ background: #d8d8d8;
4051
+ transition: background 0.15s ease;
4052
+ }
4053
+ .excalidraw .igp .igp-toggle-track--on {
4054
+ background: #6350dc;
4055
+ }
4056
+ .excalidraw .igp .igp-toggle-track--on .igp-toggle-thumb {
4057
+ transform: translateX(12px);
4058
+ }
4059
+ .excalidraw .igp .igp-toggle-thumb {
4060
+ position: absolute;
4061
+ top: 2px;
4062
+ left: 2px;
4063
+ width: 12px;
4064
+ height: 12px;
4065
+ border-radius: 50%;
4066
+ background: #fff;
4067
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
4068
+ transition: transform 0.15s ease;
4069
+ }
4070
+ .excalidraw .igp .igp-effort-picker {
4071
+ position: relative;
4072
+ flex-shrink: 0;
4073
+ }
4074
+ .excalidraw .igp .igp-setting-row--effort {
4075
+ align-items: flex-start;
4076
+ }
4077
+ .excalidraw .igp .igp-setting-select {
4078
+ display: flex !important;
4079
+ align-items: center !important;
4080
+ justify-content: space-between !important;
4081
+ gap: 8px !important;
4082
+ min-width: 92px !important;
4083
+ height: 30px !important;
4084
+ padding: 0 9px !important;
4085
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
4086
+ border-radius: 8px !important;
4087
+ font-size: 12px !important;
4088
+ font-weight: 500 !important;
4089
+ color: #444 !important;
4090
+ background: #fff !important;
4091
+ }
4092
+ .excalidraw .igp .igp-effort-options {
4093
+ margin-top: 5px;
4094
+ width: 132px;
4095
+ padding: 4px;
4096
+ border: 1px solid rgba(0, 0, 0, 0.07);
4097
+ border-radius: 9px;
4098
+ background: #fff;
4099
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
4100
+ }
4101
+ .excalidraw .igp .igp-resolution-menu {
4102
+ min-width: 218px;
4103
+ }
4104
+ .excalidraw .igp .igp-custom-size-editor {
4105
+ margin: 2px 4px 4px;
4106
+ padding: 10px;
4107
+ border-radius: 9px;
4108
+ background: #f7f7f8;
4109
+ }
4110
+ .excalidraw .igp .igp-custom-size-fields {
4111
+ display: grid;
4112
+ grid-template-columns: 1fr auto 1fr;
4113
+ align-items: end;
4114
+ gap: 7px;
4115
+ }
4116
+ .excalidraw .igp .igp-custom-size-fields label {
4117
+ display: grid;
4118
+ gap: 4px;
4119
+ font-size: 10px;
4120
+ font-weight: 600;
4121
+ color: #888;
4122
+ text-transform: uppercase;
4123
+ letter-spacing: 0.35px;
4124
+ }
4125
+ .excalidraw .igp .igp-custom-size-fields input {
4126
+ display: block !important;
4127
+ box-sizing: border-box !important;
4128
+ width: 100% !important;
4129
+ height: 34px !important;
4130
+ padding: 0 10px !important;
4131
+ border: 1px solid rgba(0, 0, 0, 0.11) !important;
4132
+ border-radius: 8px !important;
4133
+ outline: none !important;
4134
+ background: #fff !important;
4135
+ color: #222 !important;
4136
+ font:
4137
+ 500 13px/1 "Assistant",
4138
+ system-ui,
4139
+ sans-serif !important;
4140
+ cursor: text !important;
4141
+ transition: border-color 0.1s ease, box-shadow 0.1s ease !important;
4142
+ }
4143
+ .excalidraw .igp .igp-custom-size-fields input:focus {
4144
+ border-color: #6350dc !important;
4145
+ box-shadow: 0 0 0 3px rgba(99, 80, 220, 0.14) !important;
4146
+ }
4147
+ .excalidraw .igp .igp-custom-size-times {
4148
+ padding-bottom: 9px;
4149
+ color: #999;
4150
+ }
4151
+ .excalidraw .igp .igp-custom-size-error,
4152
+ .excalidraw .igp .igp-custom-size-valid {
4153
+ margin-top: 7px;
4154
+ font-size: 10.5px;
4155
+ line-height: 1.3;
4156
+ }
4157
+ .excalidraw .igp .igp-custom-size-error {
4158
+ color: #c43b3b;
4159
+ }
4160
+ .excalidraw .igp .igp-custom-size-valid {
4161
+ color: #43845a;
4162
+ }
4163
+ .excalidraw .igp .igp-custom-size-apply {
4164
+ display: flex !important;
4165
+ align-items: center !important;
4166
+ justify-content: center !important;
4167
+ width: 100% !important;
4168
+ height: 30px !important;
4169
+ margin-top: 8px !important;
4170
+ border-radius: 8px !important;
4171
+ background: #1c1c1c !important;
4172
+ color: #fff !important;
4173
+ font-size: 12px !important;
4174
+ font-weight: 600 !important;
4175
+ }
4176
+ .excalidraw .igp .igp-custom-size-apply:disabled {
4177
+ opacity: 0.35 !important;
4178
+ cursor: not-allowed !important;
4179
+ }
3946
4180
  .excalidraw .igp .igp-check {
3947
4181
  color: #6350dc;
3948
4182
  display: flex;
@@ -3969,42 +4203,84 @@
3969
4203
  /* components/ChipSourceMenu.scss */
3970
4204
  .excalidraw .chip-source-menu {
3971
4205
  position: absolute;
3972
- bottom: calc(100% + 6px);
4206
+ bottom: calc(100% + 8px);
3973
4207
  left: 0;
3974
- z-index: 10;
3975
- min-width: 148px;
3976
- padding: 4px;
4208
+ z-index: 300;
4209
+ min-width: 212px;
4210
+ padding: 6px;
3977
4211
  display: flex;
3978
4212
  flex-direction: column;
3979
4213
  gap: 2px;
3980
- border-radius: 8px;
3981
- border: 1px solid var(--color-gray-30, #e0e0e0);
3982
- background: var(--island-bg-color, #fff);
3983
- box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
4214
+ border: none;
4215
+ border-radius: 11px;
4216
+ background: #fff;
4217
+ box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.06);
4218
+ font-family:
4219
+ "Assistant",
4220
+ system-ui,
4221
+ sans-serif;
4222
+ transform-origin: bottom left;
4223
+ animation: chip-source-menu-in 0.12s ease-out;
3984
4224
  }
3985
- .excalidraw .chip-source-menu__title {
3986
- padding: 4px 8px 2px;
4225
+ @keyframes chip-source-menu-in {
4226
+ from {
4227
+ opacity: 0;
4228
+ transform: translateY(4px) scale(0.98);
4229
+ }
4230
+ to {
4231
+ opacity: 1;
4232
+ transform: translateY(0) scale(1);
4233
+ }
4234
+ }
4235
+ .excalidraw .chip-source-menu .chip-source-menu__title {
4236
+ padding: 6px 12px 4px;
3987
4237
  font-size: 10px;
3988
- letter-spacing: 0.02em;
4238
+ font-weight: 600;
4239
+ letter-spacing: 0.5px;
3989
4240
  text-transform: uppercase;
3990
- color: var(--color-gray-60, #7a7a7a);
4241
+ color: #bbb;
3991
4242
  }
3992
- .excalidraw .chip-source-menu__item {
3993
- display: flex;
3994
- align-items: center;
3995
- gap: 7px;
3996
- width: 100%;
3997
- padding: 6px 8px;
3998
- border: none;
3999
- border-radius: 6px;
4000
- background: transparent;
4001
- color: var(--text-primary-color, #1b1b1f);
4002
- font-size: 12px;
4003
- text-align: left;
4004
- cursor: pointer;
4243
+ .excalidraw .chip-source-menu .chip-source-menu__item {
4244
+ display: flex !important;
4245
+ align-items: center !important;
4246
+ gap: 11px !important;
4247
+ width: 100% !important;
4248
+ height: auto !important;
4249
+ margin: 0 !important;
4250
+ padding: 10px 12px !important;
4251
+ border: none !important;
4252
+ border-radius: 8px !important;
4253
+ box-shadow: none !important;
4254
+ background: transparent !important;
4255
+ color: #222 !important;
4256
+ font-family: inherit !important;
4257
+ font-size: 13.5px !important;
4258
+ font-weight: 450 !important;
4259
+ line-height: 1.25 !important;
4260
+ text-align: left !important;
4261
+ white-space: nowrap !important;
4262
+ cursor: pointer !important;
4263
+ transition: background 0.1s ease !important;
4005
4264
  }
4006
- .excalidraw .chip-source-menu__item:hover {
4007
- background: var(--button-hover-bg, rgba(0, 0, 0, 0.06));
4265
+ .excalidraw .chip-source-menu .chip-source-menu__item svg {
4266
+ flex-shrink: 0;
4267
+ width: 16px;
4268
+ height: 16px;
4269
+ color: #777;
4270
+ transition: color 0.1s ease;
4271
+ }
4272
+ .excalidraw .chip-source-menu .chip-source-menu__item:hover {
4273
+ background: rgba(0, 0, 0, 0.04) !important;
4274
+ }
4275
+ .excalidraw .chip-source-menu .chip-source-menu__item:hover svg {
4276
+ color: #222;
4277
+ }
4278
+ .excalidraw .chip-source-menu .chip-source-menu__item:active {
4279
+ background: rgba(0, 0, 0, 0.07) !important;
4280
+ }
4281
+ .excalidraw .chip-source-menu .chip-source-menu__item:focus-visible {
4282
+ outline: none;
4283
+ box-shadow: 0 0 0 2px rgba(99, 80, 220, 0.25) !important;
4008
4284
  }
4009
4285
  .excalidraw .chip-pick-hint {
4010
4286
  display: flex;
@@ -4121,6 +4397,113 @@
4121
4397
  color: var(--text-secondary-color, #aaa);
4122
4398
  }
4123
4399
 
4400
+ /* components/auto-resize/ResizeActivityCard.scss */
4401
+ .excalidraw .resize-activity {
4402
+ position: absolute;
4403
+ z-index: 6;
4404
+ width: 330px;
4405
+ max-width: calc(100vw - 24px);
4406
+ pointer-events: auto;
4407
+ color: var(--text-primary-color);
4408
+ background: var(--island-bg-color);
4409
+ border: 1px solid var(--default-border-color);
4410
+ border-radius: 10px;
4411
+ box-shadow: 0 3px 14px rgba(0, 0, 0, 0.0784313725);
4412
+ font: 12px/1.5 var(--ui-font);
4413
+ }
4414
+ .excalidraw .resize-activity > summary {
4415
+ cursor: pointer;
4416
+ display: flex;
4417
+ align-items: center;
4418
+ gap: 8px;
4419
+ padding: 9px 12px;
4420
+ list-style: none;
4421
+ }
4422
+ .excalidraw .resize-activity > summary::-webkit-details-marker {
4423
+ display: none;
4424
+ }
4425
+ .excalidraw .resize-activity__indicator {
4426
+ width: 7px;
4427
+ height: 7px;
4428
+ border-radius: 50%;
4429
+ background: #7b78df;
4430
+ flex-shrink: 0;
4431
+ }
4432
+ .excalidraw .resize-activity__indicator--done {
4433
+ background: #219268;
4434
+ }
4435
+ .excalidraw .resize-activity__indicator--error {
4436
+ background: #d97330;
4437
+ }
4438
+ .excalidraw .resize-activity__indicator--cancelled {
4439
+ background: #8c8c94;
4440
+ }
4441
+ .excalidraw .resize-activity__title {
4442
+ flex: 1;
4443
+ overflow: hidden;
4444
+ text-overflow: ellipsis;
4445
+ white-space: nowrap;
4446
+ }
4447
+ .excalidraw .resize-activity__count,
4448
+ .excalidraw .resize-activity__duration,
4449
+ .excalidraw .resize-activity__model {
4450
+ opacity: 0.65;
4451
+ font-size: 10px;
4452
+ }
4453
+ .excalidraw .resize-activity__body {
4454
+ border-top: 1px solid var(--default-border-color);
4455
+ padding: 10px;
4456
+ max-height: 320px;
4457
+ overflow: auto;
4458
+ overscroll-behavior: contain;
4459
+ }
4460
+ .excalidraw .resize-activity__heading {
4461
+ display: flex;
4462
+ justify-content: space-between;
4463
+ align-items: center;
4464
+ gap: 6px;
4465
+ margin-bottom: 10px;
4466
+ font-size: 10px;
4467
+ }
4468
+ .excalidraw .resize-activity button {
4469
+ color: inherit;
4470
+ background: transparent;
4471
+ border: 1px solid var(--default-border-color);
4472
+ border-radius: 5px;
4473
+ padding: 3px 6px;
4474
+ cursor: pointer;
4475
+ }
4476
+ .excalidraw .resize-activity ol {
4477
+ list-style: none;
4478
+ padding: 0;
4479
+ margin: 0;
4480
+ }
4481
+ .excalidraw .resize-activity li {
4482
+ padding: 5px 0;
4483
+ border-top: 1px solid var(--default-border-color);
4484
+ }
4485
+ .excalidraw .resize-activity li summary {
4486
+ display: flex;
4487
+ gap: 6px;
4488
+ align-items: baseline;
4489
+ cursor: pointer;
4490
+ }
4491
+ .excalidraw .resize-activity__duration {
4492
+ margin-left: auto;
4493
+ white-space: nowrap;
4494
+ }
4495
+ .excalidraw .resize-activity__model {
4496
+ margin: 3px 0 0 18px;
4497
+ }
4498
+ .excalidraw .resize-activity pre {
4499
+ font: 10px/1.5 monospace;
4500
+ white-space: pre-wrap;
4501
+ overflow-wrap: anywhere;
4502
+ max-height: 180px;
4503
+ overflow: auto;
4504
+ margin: 6px 0 2px 18px;
4505
+ }
4506
+
4124
4507
  /* components/auto-resize/AutoResizePanel.scss */
4125
4508
  @keyframes ars-shimmer-sweep {
4126
4509
  0% {
@@ -5140,6 +5523,12 @@
5140
5523
  text-transform: uppercase !important;
5141
5524
  letter-spacing: 0.5px !important;
5142
5525
  }
5526
+ .excalidraw .vgp .vgp-popover-note {
5527
+ margin-top: 6px !important;
5528
+ font-size: 11px !important;
5529
+ line-height: 1.4 !important;
5530
+ color: #8c8c8c !important;
5531
+ }
5143
5532
  .excalidraw .vgp .vgp-popover-label-row {
5144
5533
  display: flex !important;
5145
5534
  align-items: center !important;
@@ -11082,6 +11471,12 @@ body.excalidraw-cursor-resize * {
11082
11471
  .italic {
11083
11472
  font-style: italic;
11084
11473
  }
11474
+ .line-through {
11475
+ text-decoration-line: line-through;
11476
+ }
11477
+ .underline {
11478
+ text-decoration-line: underline;
11479
+ }
11085
11480
  .underline-offset-4 {
11086
11481
  text-underline-offset: 4px;
11087
11482
  }
@@ -12095,6 +12490,202 @@ body.excalidraw-cursor-resize * {
12095
12490
  margin-top: 8px;
12096
12491
  }
12097
12492
 
12493
+ /* components/ai-chat/ActivityTimeline.scss */
12494
+ .excalidraw .acp-act {
12495
+ margin-bottom: 6px;
12496
+ font-family: inherit;
12497
+ }
12498
+ .excalidraw .acp-act-toggle {
12499
+ display: flex !important;
12500
+ align-items: center !important;
12501
+ gap: 6px !important;
12502
+ padding: 5px 10px !important;
12503
+ border: none !important;
12504
+ border-radius: 8px !important;
12505
+ font-family: inherit !important;
12506
+ font-size: 12px !important;
12507
+ font-weight: 500 !important;
12508
+ color: #888 !important;
12509
+ background: rgba(0, 0, 0, 0.03) !important;
12510
+ cursor: pointer !important;
12511
+ transition: background 0.1s !important;
12512
+ }
12513
+ .excalidraw .acp-act-toggle:hover {
12514
+ background: rgba(0, 0, 0, 0.06) !important;
12515
+ color: #555 !important;
12516
+ }
12517
+ .excalidraw .acp-act-toggle svg {
12518
+ flex-shrink: 0;
12519
+ }
12520
+ .excalidraw .acp-act-chevron {
12521
+ transition: transform 0.15s ease;
12522
+ }
12523
+ .excalidraw .acp-act-chevron--open {
12524
+ transform: rotate(90deg);
12525
+ }
12526
+ .excalidraw .acp-act-list {
12527
+ margin: 4px 0 4px 8px;
12528
+ padding-left: 10px;
12529
+ border-left: 2px solid rgba(0, 0, 0, 0.06);
12530
+ display: flex;
12531
+ flex-direction: column;
12532
+ gap: 1px;
12533
+ }
12534
+ .excalidraw .acp-act-row {
12535
+ font-size: 12px;
12536
+ line-height: 1.45;
12537
+ }
12538
+ .excalidraw .acp-act-head {
12539
+ display: flex !important;
12540
+ align-items: baseline !important;
12541
+ gap: 7px !important;
12542
+ width: 100% !important;
12543
+ padding: 3px 4px !important;
12544
+ border: none !important;
12545
+ border-radius: 6px !important;
12546
+ background: transparent !important;
12547
+ font-family: inherit !important;
12548
+ font-size: 12px !important;
12549
+ color: #666 !important;
12550
+ text-align: left !important;
12551
+ cursor: pointer !important;
12552
+ }
12553
+ .excalidraw .acp-act-head:hover:not(:disabled) {
12554
+ background: rgba(0, 0, 0, 0.035) !important;
12555
+ }
12556
+ .excalidraw .acp-act-head:disabled {
12557
+ cursor: default !important;
12558
+ }
12559
+ .excalidraw .acp-act-head--static {
12560
+ cursor: default !important;
12561
+ }
12562
+ .excalidraw .acp-act-icon {
12563
+ display: inline-flex;
12564
+ align-self: flex-start;
12565
+ flex-shrink: 0;
12566
+ margin-top: 2px;
12567
+ color: #9a9a9a;
12568
+ }
12569
+ .excalidraw .acp-act-label {
12570
+ flex: 1;
12571
+ min-width: 0;
12572
+ overflow: hidden;
12573
+ text-overflow: ellipsis;
12574
+ white-space: nowrap;
12575
+ }
12576
+ .excalidraw .acp-act-label--note {
12577
+ white-space: normal;
12578
+ color: #555;
12579
+ font-style: italic;
12580
+ }
12581
+ .excalidraw .acp-act-result {
12582
+ flex-shrink: 1;
12583
+ min-width: 0;
12584
+ max-width: 45%;
12585
+ overflow: hidden;
12586
+ text-overflow: ellipsis;
12587
+ white-space: nowrap;
12588
+ color: #a0a0a0;
12589
+ font-size: 11px;
12590
+ }
12591
+ .excalidraw .acp-act-preview {
12592
+ flex: 2;
12593
+ min-width: 0;
12594
+ overflow: hidden;
12595
+ text-overflow: ellipsis;
12596
+ white-space: nowrap;
12597
+ color: #a0a0a0;
12598
+ font-size: 11px;
12599
+ }
12600
+ .excalidraw .acp-act-preview--live {
12601
+ background:
12602
+ linear-gradient(
12603
+ 90deg,
12604
+ #bdbdbd 0%,
12605
+ #6b6b6b 45%,
12606
+ #bdbdbd 90%);
12607
+ background-size: 200% 100%;
12608
+ -webkit-background-clip: text;
12609
+ background-clip: text;
12610
+ -webkit-text-fill-color: transparent;
12611
+ animation: acp-act-shimmer 1.8s linear infinite;
12612
+ }
12613
+ .excalidraw .acp-act-thinking-body {
12614
+ margin: 2px 0 6px 24px;
12615
+ padding: 7px 9px;
12616
+ border-radius: 7px;
12617
+ background: rgba(0, 0, 0, 0.03);
12618
+ color: #5a5a5a;
12619
+ font-size: 11.5px;
12620
+ line-height: 1.55;
12621
+ white-space: pre-wrap;
12622
+ word-break: break-word;
12623
+ max-height: 260px;
12624
+ overflow-y: auto;
12625
+ }
12626
+ .excalidraw .acp-act-args {
12627
+ margin: 2px 0 6px 24px;
12628
+ padding: 6px 9px;
12629
+ border-radius: 7px;
12630
+ background: rgba(0, 0, 0, 0.03);
12631
+ font-size: 11px;
12632
+ color: #5a5a5a;
12633
+ }
12634
+ .excalidraw .acp-act-arg {
12635
+ display: flex;
12636
+ gap: 6px;
12637
+ padding: 1px 0;
12638
+ }
12639
+ .excalidraw .acp-act-arg-key {
12640
+ flex-shrink: 0;
12641
+ color: #999;
12642
+ }
12643
+ .excalidraw .acp-act-arg-val {
12644
+ min-width: 0;
12645
+ word-break: break-word;
12646
+ display: -webkit-box;
12647
+ -webkit-line-clamp: 2;
12648
+ -webkit-box-orient: vertical;
12649
+ overflow: hidden;
12650
+ }
12651
+ .excalidraw .acp-act-row--ok .acp-act-icon {
12652
+ color: #27ae60;
12653
+ }
12654
+ .excalidraw .acp-act-row--error .acp-act-icon {
12655
+ color: #e74c3c;
12656
+ }
12657
+ .excalidraw .acp-act-row--approved .acp-act-icon {
12658
+ color: #27ae60;
12659
+ }
12660
+ .excalidraw .acp-act-row--issues .acp-act-icon {
12661
+ color: #e67e22;
12662
+ }
12663
+ .excalidraw .acp-act-row--handoff .acp-act-icon {
12664
+ color: #6c5ce7;
12665
+ }
12666
+ .excalidraw .acp-act-spin {
12667
+ animation: acp-act-rotate 0.9s linear infinite;
12668
+ }
12669
+ @keyframes acp-act-rotate {
12670
+ to {
12671
+ transform: rotate(360deg);
12672
+ }
12673
+ }
12674
+ @keyframes acp-act-shimmer {
12675
+ to {
12676
+ background-position: -200% 0;
12677
+ }
12678
+ }
12679
+ @media (prefers-reduced-motion: reduce) {
12680
+ .excalidraw .acp-act-spin,
12681
+ .excalidraw .acp-act-preview--live {
12682
+ animation: none;
12683
+ }
12684
+ .excalidraw .acp-act-preview--live {
12685
+ -webkit-text-fill-color: #6b6b6b;
12686
+ }
12687
+ }
12688
+
12098
12689
  /* components/AIChatPanel.scss */
12099
12690
  .excalidraw .acp {
12100
12691
  position: fixed;