@openviking/react 0.1.2 → 0.1.3
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/1~0.js +506 -0
- package/dist/2~0.js +122 -0
- package/dist/{g~0.js → 30~0.js} +292 -167
- package/dist/client/index.d.ts +2 -1
- package/dist/client/paths.d.ts +64 -0
- package/dist/client/response.d.ts +31 -0
- package/dist/client/sse.d.ts +39 -0
- package/dist/client/stream.d.ts +26 -0
- package/dist/client/types.d.ts +104 -0
- package/dist/client.js +1 -239
- package/dist/components/agent-connect/style.css +2 -2
- package/dist/components/file-browser-entries/file-browser-entries-icons.d.ts +18 -0
- package/dist/components/file-browser-entries/file-browser-entries.d.ts +14 -0
- package/dist/components/file-browser-entries/index.d.ts +1 -0
- package/dist/components/file-browser-entries/style.css +155 -0
- package/dist/components/file-browser-entries/style.js +0 -0
- package/dist/components/file-browser-entries/types.d.ts +45 -0
- package/dist/components/file-browser-entries.js +1 -0
- package/dist/components/file-preview/file-preview-directory.d.ts +32 -0
- package/dist/components/file-preview/file-preview-header.d.ts +21 -3
- package/dist/components/file-preview/file-preview-panels.d.ts +41 -0
- package/dist/components/file-preview/file-preview-state.d.ts +10 -3
- package/dist/components/file-preview/file-preview.d.ts +2 -1
- package/dist/components/file-preview/level-selection.d.ts +25 -0
- package/dist/components/file-preview/style.css +76 -3
- package/dist/components/file-preview/types.d.ts +100 -1
- package/dist/components/file-preview/use-directory-level.d.ts +30 -0
- package/dist/components/file-preview/use-file-preview-actions-context.d.ts +6 -2
- package/dist/components/file-preview/use-file-preview-actions.d.ts +1 -1
- package/dist/components/file-preview.js +1 -1
- package/dist/components/file-tree/file-tree-info-tooltip.d.ts +7 -7
- package/dist/components/file-tree/file-tree-row-context.d.ts +0 -5
- package/dist/components/file-tree/file-tree-row-shared.d.ts +9 -2
- package/dist/components/file-tree/file-tree-tooltip-surface.d.ts +8 -8
- package/dist/components/file-tree/style.css +71 -34
- package/dist/components/file-tree/types.d.ts +20 -0
- package/dist/components/scope-switcher/style.css +2 -2
- package/dist/components/style.css +312 -47
- package/dist/components/tui/style.css +2 -2
- package/dist/components/viking-bot/style.css +2 -2
- package/dist/file-preview-viewer~0.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/l~0.js +1464 -25
- package/dist/modules/console/style.css +2 -2
- package/dist/modules/file-browser/file-browser-detail-icons.d.ts +10 -0
- package/dist/modules/file-browser/file-browser-detail.d.ts +33 -0
- package/dist/modules/file-browser/file-browser-empty.d.ts +3 -0
- package/dist/modules/file-browser/file-browser-failure.d.ts +22 -0
- package/dist/modules/file-browser/file-browser-icons.d.ts +18 -0
- package/dist/modules/file-browser/file-browser-labels.d.ts +28 -0
- package/dist/modules/file-browser/file-browser-layout.d.ts +27 -0
- package/dist/modules/file-browser/file-browser-toolbar.d.ts +18 -0
- package/dist/modules/file-browser/file-browser-tree-pane.d.ts +30 -0
- package/dist/modules/file-browser/file-browser.d.ts +14 -5
- package/dist/modules/file-browser/find-result.d.ts +24 -0
- package/dist/modules/file-browser/fs-directories.d.ts +33 -0
- package/dist/modules/file-browser/fs-file-kind.d.ts +19 -0
- package/dist/modules/file-browser/fs-icon.d.ts +17 -0
- package/dist/modules/file-browser/fs-model.d.ts +106 -0
- package/dist/modules/file-browser/fs-page.d.ts +16 -0
- package/dist/modules/file-browser/fs-path.d.ts +16 -0
- package/dist/modules/file-browser/fs-read-directory.d.ts +20 -0
- package/dist/modules/file-browser/fs-scope.d.ts +22 -0
- package/dist/modules/file-browser/fs-stat.d.ts +25 -0
- package/dist/modules/file-browser/index.d.ts +3 -1
- package/dist/modules/file-browser/style.css +4927 -35
- package/dist/modules/file-browser/tree-info-copy.d.ts +15 -0
- package/dist/modules/file-browser/tree-info-copy.zh-CN.d.ts +15 -0
- package/dist/modules/file-browser/types.d.ts +189 -44
- package/dist/modules/file-browser/use-container-width.d.ts +17 -0
- package/dist/modules/file-browser/use-file-browser.d.ts +49 -0
- package/dist/modules/file-browser/use-fs-preview.d.ts +51 -0
- package/dist/modules/file-browser/use-fs-search.d.ts +35 -0
- package/dist/modules/file-browser/use-fs-tree.d.ts +43 -0
- package/dist/modules/file-browser/use-request-scope.d.ts +39 -0
- package/dist/modules/file-browser.js +1 -1
- package/dist/modules/scope-cascade/style.css +2 -2
- package/dist/modules/style.css +4933 -41
- package/dist/n~0.js +178 -74
- package/dist/o~0.js +103 -0
- package/dist/shared/components/divider/divider.d.ts +18 -0
- package/dist/shared/components/divider/index.d.ts +1 -0
- package/dist/shared/components/divider/types.d.ts +35 -0
- package/dist/shared/components/overlay/types.d.ts +7 -0
- package/dist/shared/components/{tooltip/use-tooltip-position.d.ts → overlay/use-overlay-position.d.ts} +6 -6
- package/dist/shared/components/popover/index.d.ts +1 -0
- package/dist/shared/components/popover/popover.d.ts +23 -0
- package/dist/shared/components/popover/types.d.ts +50 -0
- package/dist/shared/components/resizable/clamp.d.ts +13 -0
- package/dist/shared/components/resizable/index.d.ts +2 -0
- package/dist/shared/components/resizable/resizable-handle.d.ts +25 -0
- package/dist/shared/components/resizable/types.d.ts +48 -0
- package/dist/shared/components/tooltip/types.d.ts +5 -5
- package/dist/style.css +5345 -188
- package/package.json +6 -1
- package/dist/components/file-tree/file-tree-tooltip.d.ts +0 -17
- package/dist/modules/file-browser/file-browser-toolbar-button.d.ts +0 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.ov-agent-connect, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
1
|
+
.ov-agent-connect, .ov-divider, .ov-file-browser, .ov-file-browser-entries, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
2
2
|
--ov-ui-primary-default: #5252ff;
|
|
3
3
|
--ov-ui-primary-hover-default: #7075ff;
|
|
4
4
|
--ov-ui-primary-active-default: #3833d2;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
--ov-ui-tooltip-text-default: #fff;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.dark .ov-agent-connect, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
33
|
+
.dark .ov-agent-connect, .dark .ov-divider, .dark .ov-file-browser, .dark .ov-file-browser-entries, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
34
34
|
--ov-ui-primary-default: #5f5fff;
|
|
35
35
|
--ov-ui-primary-hover-default: #7075ff;
|
|
36
36
|
--ov-ui-primary-active-default: #4242ba;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
--ov-ui-connect-notice-default: var(--ov-ui-text-2-default);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.ov-agent-connect, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
82
|
+
.ov-agent-connect, .ov-divider, .ov-file-browser, .ov-file-browser-entries, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
83
83
|
--ov-ui-primary-default: #5252ff;
|
|
84
84
|
--ov-ui-primary-hover-default: #7075ff;
|
|
85
85
|
--ov-ui-primary-active-default: #3833d2;
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
--ov-ui-tooltip-text-default: #fff;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
.dark .ov-agent-connect, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
114
|
+
.dark .ov-agent-connect, .dark .ov-divider, .dark .ov-file-browser, .dark .ov-file-browser-entries, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
115
115
|
--ov-ui-primary-default: #5f5fff;
|
|
116
116
|
--ov-ui-primary-hover-default: #7075ff;
|
|
117
117
|
--ov-ui-primary-active-default: #4242ba;
|
|
@@ -160,13 +160,50 @@
|
|
|
160
160
|
--ov-ui-connect-notice-default: var(--ov-ui-text-2-default);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
.ov-popover {
|
|
164
|
+
--ov-ui-popover-bg: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default, #fff));
|
|
165
|
+
--ov-ui-popover-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default, #0b0b0f));
|
|
166
|
+
--ov-ui-popover-border: var(--ov-ui-color-border-2, var(--ov-ui-border-2-default, #e1e4f2));
|
|
167
|
+
z-index: 1000;
|
|
168
|
+
box-sizing: border-box;
|
|
169
|
+
border: 1px solid var(--ov-ui-popover-border);
|
|
170
|
+
background: var(--ov-ui-popover-bg);
|
|
171
|
+
max-width: 320px;
|
|
172
|
+
color: var(--ov-ui-popover-text);
|
|
173
|
+
overflow-wrap: break-word;
|
|
174
|
+
border-radius: 8px;
|
|
175
|
+
padding: 12px;
|
|
176
|
+
font-family: inherit;
|
|
177
|
+
font-size: 12px;
|
|
178
|
+
line-height: 20px;
|
|
179
|
+
animation: .12s ease-out ov-popover-enter;
|
|
180
|
+
position: fixed;
|
|
181
|
+
box-shadow: 0 15px 35px -2px #0000000d, 0 5px 15px #0000000d;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
@keyframes ov-popover-enter {
|
|
185
|
+
from {
|
|
186
|
+
opacity: 0;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
to {
|
|
190
|
+
opacity: 1;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@media (prefers-reduced-motion: reduce) {
|
|
195
|
+
.ov-popover {
|
|
196
|
+
animation: none;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
163
200
|
.ov-file-tree {
|
|
164
201
|
--ov-ui-file-tree-row-height: 32px;
|
|
165
202
|
--ov-ui-file-tree-row-radius: 4px;
|
|
166
|
-
--ov-ui-file-tree-indent:
|
|
203
|
+
--ov-ui-file-tree-indent: 16px;
|
|
167
204
|
--ov-ui-file-tree-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default, #0b0b0f));
|
|
168
205
|
--ov-ui-file-tree-text-muted: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default, #6e718c));
|
|
169
|
-
--ov-ui-file-tree-icon: var(--ov-ui-color-text-
|
|
206
|
+
--ov-ui-file-tree-icon: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default, #6e718c));
|
|
170
207
|
--ov-ui-file-tree-row-hover: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default, #f1f2f9));
|
|
171
208
|
--ov-ui-file-tree-row-selected: var(--ov-ui-color-bg-4, var(--ov-ui-bg-4-default, #f6f7fa));
|
|
172
209
|
--ov-ui-file-tree-guide: var(--ov-ui-color-border-2, var(--ov-ui-border-2-default, #e1e4f2));
|
|
@@ -198,20 +235,24 @@
|
|
|
198
235
|
|
|
199
236
|
.ov-file-tree__rows {
|
|
200
237
|
flex-direction: column;
|
|
238
|
+
width: max-content;
|
|
239
|
+
min-width: 100%;
|
|
201
240
|
display: flex;
|
|
202
241
|
}
|
|
203
242
|
|
|
204
243
|
.ov-file-tree__row, .ov-file-tree__state-row {
|
|
205
244
|
box-sizing: border-box;
|
|
245
|
+
width: max-content;
|
|
246
|
+
min-width: 100%;
|
|
206
247
|
height: var(--ov-ui-file-tree-row-height);
|
|
207
248
|
border-radius: var(--ov-ui-file-tree-row-radius);
|
|
208
|
-
cursor:
|
|
249
|
+
cursor: pointer;
|
|
209
250
|
-webkit-user-select: none;
|
|
210
251
|
user-select: none;
|
|
211
252
|
outline: none;
|
|
212
253
|
align-items: center;
|
|
213
|
-
gap:
|
|
214
|
-
padding-right:
|
|
254
|
+
gap: 2px;
|
|
255
|
+
padding-right: 4px;
|
|
215
256
|
display: flex;
|
|
216
257
|
position: relative;
|
|
217
258
|
}
|
|
@@ -317,25 +358,26 @@
|
|
|
317
358
|
}
|
|
318
359
|
|
|
319
360
|
.ov-file-tree__label-group {
|
|
320
|
-
flex:
|
|
361
|
+
flex: none;
|
|
321
362
|
align-items: center;
|
|
322
363
|
gap: 8px;
|
|
323
|
-
min-width: 0;
|
|
324
364
|
display: flex;
|
|
325
|
-
overflow: hidden;
|
|
326
365
|
}
|
|
327
366
|
|
|
328
367
|
.ov-file-tree__label {
|
|
329
|
-
text-overflow: ellipsis;
|
|
330
368
|
white-space: nowrap;
|
|
331
|
-
|
|
369
|
+
flex: none;
|
|
332
370
|
}
|
|
333
371
|
|
|
334
372
|
.ov-file-tree__description {
|
|
373
|
+
max-width: 200px;
|
|
335
374
|
color: var(--ov-ui-file-tree-text-muted);
|
|
375
|
+
letter-spacing: .03px;
|
|
336
376
|
text-overflow: ellipsis;
|
|
337
377
|
white-space: nowrap;
|
|
338
|
-
|
|
378
|
+
flex: none;
|
|
379
|
+
font-size: 10px;
|
|
380
|
+
line-height: 20px;
|
|
339
381
|
overflow: hidden;
|
|
340
382
|
}
|
|
341
383
|
|
|
@@ -368,32 +410,18 @@
|
|
|
368
410
|
display: inline-flex;
|
|
369
411
|
}
|
|
370
412
|
|
|
371
|
-
.ov-file-tree__tooltip {
|
|
372
|
-
z-index: 1;
|
|
373
|
-
border-radius: var(--ov-ui-file-tree-row-radius);
|
|
374
|
-
background: var(--ov-ui-color-tooltip-bg, var(--ov-ui-tooltip-bg-default, #1f2329));
|
|
375
|
-
max-width: 320px;
|
|
376
|
-
color: var(--ov-ui-color-tooltip-text, var(--ov-ui-tooltip-text-default, #fff));
|
|
377
|
-
pointer-events: none;
|
|
378
|
-
padding: 6px 8px;
|
|
379
|
-
font-size: 12px;
|
|
380
|
-
line-height: 18px;
|
|
381
|
-
position: absolute;
|
|
382
|
-
top: calc(100% + 4px);
|
|
383
|
-
left: 0;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
413
|
.ov-file-tree__info {
|
|
387
414
|
flex-direction: column;
|
|
388
|
-
gap:
|
|
415
|
+
gap: 8px;
|
|
389
416
|
display: flex;
|
|
390
417
|
}
|
|
391
418
|
|
|
392
419
|
.ov-file-tree__info-title {
|
|
420
|
+
color: var(--ov-ui-file-tree-text);
|
|
393
421
|
word-break: break-all;
|
|
394
422
|
font-size: 13px;
|
|
395
423
|
font-weight: 500;
|
|
396
|
-
line-height:
|
|
424
|
+
line-height: 22px;
|
|
397
425
|
}
|
|
398
426
|
|
|
399
427
|
.ov-file-tree__info-row {
|
|
@@ -403,19 +431,20 @@
|
|
|
403
431
|
}
|
|
404
432
|
|
|
405
433
|
.ov-file-tree__info-label {
|
|
406
|
-
|
|
434
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
407
435
|
flex: none;
|
|
408
436
|
}
|
|
409
437
|
|
|
410
438
|
.ov-file-tree__info-value {
|
|
411
|
-
word-break: break-word;
|
|
412
439
|
min-width: 0;
|
|
440
|
+
color: var(--ov-ui-file-tree-text);
|
|
441
|
+
word-break: break-word;
|
|
413
442
|
}
|
|
414
443
|
|
|
415
444
|
.ov-file-tree__info-path {
|
|
416
|
-
opacity: .8;
|
|
417
|
-
word-break: break-all;
|
|
418
445
|
min-width: 0;
|
|
446
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
447
|
+
word-break: break-all;
|
|
419
448
|
}
|
|
420
449
|
|
|
421
450
|
.ov-file-tree__state-row {
|
|
@@ -489,9 +518,17 @@
|
|
|
489
518
|
}
|
|
490
519
|
}
|
|
491
520
|
|
|
521
|
+
.ov-file-tree__file-type-icon {
|
|
522
|
+
color: var(--ov-file-tree-icon-light, var(--ov-ui-file-tree-icon));
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.dark .ov-file-tree__file-type-icon {
|
|
526
|
+
color: var(--ov-file-tree-icon-dark, var(--ov-ui-file-tree-icon));
|
|
527
|
+
}
|
|
528
|
+
|
|
492
529
|
|
|
493
530
|
|
|
494
|
-
.ov-agent-connect, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
531
|
+
.ov-agent-connect, .ov-divider, .ov-file-browser, .ov-file-browser-entries, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
495
532
|
--ov-ui-primary-default: #5252ff;
|
|
496
533
|
--ov-ui-primary-hover-default: #7075ff;
|
|
497
534
|
--ov-ui-primary-active-default: #3833d2;
|
|
@@ -523,7 +560,7 @@
|
|
|
523
560
|
--ov-ui-tooltip-text-default: #fff;
|
|
524
561
|
}
|
|
525
562
|
|
|
526
|
-
.dark .ov-agent-connect, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
563
|
+
.dark .ov-agent-connect, .dark .ov-divider, .dark .ov-file-browser, .dark .ov-file-browser-entries, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
527
564
|
--ov-ui-primary-default: #5f5fff;
|
|
528
565
|
--ov-ui-primary-hover-default: #7075ff;
|
|
529
566
|
--ov-ui-primary-active-default: #4242ba;
|
|
@@ -751,7 +788,6 @@
|
|
|
751
788
|
}
|
|
752
789
|
|
|
753
790
|
.ov-file-preview__header {
|
|
754
|
-
border-bottom: 1px solid var(--ov-ui-file-preview-border);
|
|
755
791
|
flex: none;
|
|
756
792
|
justify-content: space-between;
|
|
757
793
|
align-items: center;
|
|
@@ -1086,6 +1122,80 @@
|
|
|
1086
1122
|
font-size: 12px;
|
|
1087
1123
|
}
|
|
1088
1124
|
|
|
1125
|
+
.ov-file-preview__levels {
|
|
1126
|
+
flex: none;
|
|
1127
|
+
align-items: stretch;
|
|
1128
|
+
gap: 32px;
|
|
1129
|
+
height: 34px;
|
|
1130
|
+
padding: 0 16px;
|
|
1131
|
+
display: flex;
|
|
1132
|
+
position: relative;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
.ov-file-preview__level {
|
|
1136
|
+
color: var(--ov-ui-file-preview-text-muted);
|
|
1137
|
+
font: inherit;
|
|
1138
|
+
letter-spacing: .039px;
|
|
1139
|
+
cursor: pointer;
|
|
1140
|
+
background: none;
|
|
1141
|
+
border: 0;
|
|
1142
|
+
align-items: center;
|
|
1143
|
+
padding: 0 0 2px;
|
|
1144
|
+
font-size: 13px;
|
|
1145
|
+
line-height: 22px;
|
|
1146
|
+
transition: color .16s;
|
|
1147
|
+
display: inline-flex;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
.ov-file-preview__level:hover {
|
|
1151
|
+
color: var(--ov-ui-file-preview-text);
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
.ov-file-preview__level[data-active] {
|
|
1155
|
+
color: var(--ov-ui-file-preview-text);
|
|
1156
|
+
font-weight: 500;
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
.ov-file-preview__level-indicator {
|
|
1160
|
+
background: var(--ov-ui-file-preview-text);
|
|
1161
|
+
border-radius: 1px;
|
|
1162
|
+
height: 2px;
|
|
1163
|
+
transition: transform .2s cubic-bezier(.2, 0, 0, 1), width .2s cubic-bezier(.2, 0, 0, 1);
|
|
1164
|
+
position: absolute;
|
|
1165
|
+
bottom: 0;
|
|
1166
|
+
left: 0;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1170
|
+
.ov-file-preview__level-indicator {
|
|
1171
|
+
transition: none;
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.ov-file-preview__spinner {
|
|
1176
|
+
box-sizing: border-box;
|
|
1177
|
+
border: 2px solid var(--ov-ui-file-preview-border);
|
|
1178
|
+
border-top-color: var(--ov-ui-file-preview-text-muted);
|
|
1179
|
+
border-radius: 50%;
|
|
1180
|
+
flex: none;
|
|
1181
|
+
width: 16px;
|
|
1182
|
+
height: 16px;
|
|
1183
|
+
animation: .9s linear infinite ov-file-preview-spin;
|
|
1184
|
+
display: inline-block;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
@keyframes ov-file-preview-spin {
|
|
1188
|
+
to {
|
|
1189
|
+
transform: rotate(360deg);
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1194
|
+
.ov-file-preview__spinner {
|
|
1195
|
+
animation-duration: 2s;
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1089
1199
|
/*!
|
|
1090
1200
|
* Copyright (c) 2026 Bytedance, Inc. and its affiliates.
|
|
1091
1201
|
* SPDX-License-Identifier: MIT
|
|
@@ -4632,7 +4742,162 @@ button.ark-agentic-file-viewer-diff__gutter {
|
|
|
4632
4742
|
|
|
4633
4743
|
|
|
4634
4744
|
|
|
4635
|
-
.ov-agent-connect, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
4745
|
+
.ov-agent-connect, .ov-divider, .ov-file-browser, .ov-file-browser-entries, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
4746
|
+
--ov-ui-primary-default: #5252ff;
|
|
4747
|
+
--ov-ui-primary-hover-default: #7075ff;
|
|
4748
|
+
--ov-ui-primary-active-default: #3833d2;
|
|
4749
|
+
--ov-ui-primary-light-default: #f5f7ff;
|
|
4750
|
+
--ov-ui-connect-glow-warm-default: #ff952b0a;
|
|
4751
|
+
--ov-ui-connect-glow-pink-default: #fb4fbc0f;
|
|
4752
|
+
--ov-ui-connect-glow-pink-soft-default: #fb4fbc0a;
|
|
4753
|
+
--ov-ui-on-primary-default: #fff;
|
|
4754
|
+
--ov-ui-text-1-default: #0b0b0f;
|
|
4755
|
+
--ov-ui-text-2-default: #3f3f51;
|
|
4756
|
+
--ov-ui-text-3-default: #6e718c;
|
|
4757
|
+
--ov-ui-text-description-default: #0006;
|
|
4758
|
+
--ov-ui-text-disabled-default: #a5a7bb;
|
|
4759
|
+
--ov-ui-border-1-default: #f0f2fa;
|
|
4760
|
+
--ov-ui-border-2-default: #e1e4f2;
|
|
4761
|
+
--ov-ui-border-3-default: #d7daea;
|
|
4762
|
+
--ov-ui-bg-1-default: #fff;
|
|
4763
|
+
--ov-ui-bg-3-default: #f7f8fd;
|
|
4764
|
+
--ov-ui-bg-4-default: #f6f7fa;
|
|
4765
|
+
--ov-ui-bg-5-default: #f1f2f9;
|
|
4766
|
+
--ov-ui-status-success-default: #1f9d55;
|
|
4767
|
+
--ov-ui-shadow-default: #0f172a;
|
|
4768
|
+
--ov-ui-focus-default: #5252ff;
|
|
4769
|
+
--ov-ui-fill-hover-default: #f1f2f9;
|
|
4770
|
+
--ov-ui-status-error-default: #c43838;
|
|
4771
|
+
--ov-ui-warning-default: #b26a00;
|
|
4772
|
+
--ov-ui-warning-light-default: #fff0b3;
|
|
4773
|
+
--ov-ui-tooltip-bg-default: #1f2329;
|
|
4774
|
+
--ov-ui-tooltip-text-default: #fff;
|
|
4775
|
+
}
|
|
4776
|
+
|
|
4777
|
+
.dark .ov-agent-connect, .dark .ov-divider, .dark .ov-file-browser, .dark .ov-file-browser-entries, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
4778
|
+
--ov-ui-primary-default: #5f5fff;
|
|
4779
|
+
--ov-ui-primary-hover-default: #7075ff;
|
|
4780
|
+
--ov-ui-primary-active-default: #4242ba;
|
|
4781
|
+
--ov-ui-primary-light-default: #1a1632;
|
|
4782
|
+
--ov-ui-connect-glow-warm-default: #ff952b05;
|
|
4783
|
+
--ov-ui-connect-glow-pink-default: #fb4fbc08;
|
|
4784
|
+
--ov-ui-connect-glow-pink-soft-default: #fb4fbc05;
|
|
4785
|
+
--ov-ui-text-1-default: #c7ccd6;
|
|
4786
|
+
--ov-ui-text-2-default: #9da3af;
|
|
4787
|
+
--ov-ui-text-3-default: #737a87;
|
|
4788
|
+
--ov-ui-text-description-default: #fff6;
|
|
4789
|
+
--ov-ui-text-disabled-default: #42464e;
|
|
4790
|
+
--ov-ui-border-1-default: #23252a;
|
|
4791
|
+
--ov-ui-border-2-default: #2e3138;
|
|
4792
|
+
--ov-ui-border-3-default: #3a3d45;
|
|
4793
|
+
--ov-ui-bg-1-default: #131416;
|
|
4794
|
+
--ov-ui-bg-3-default: #1b1d21;
|
|
4795
|
+
--ov-ui-bg-4-default: #202227;
|
|
4796
|
+
--ov-ui-bg-5-default: #23252a;
|
|
4797
|
+
--ov-ui-focus-default: #5f5fff;
|
|
4798
|
+
--ov-ui-fill-hover-default: #23252a;
|
|
4799
|
+
--ov-ui-status-error-default: #ff9595;
|
|
4800
|
+
--ov-ui-warning-default: #e0a04a;
|
|
4801
|
+
--ov-ui-warning-light-default: #3a2f14;
|
|
4802
|
+
--ov-ui-tooltip-bg-default: #2a2d33;
|
|
4803
|
+
--ov-ui-tooltip-text-default: #f0f1f3;
|
|
4804
|
+
}
|
|
4805
|
+
|
|
4806
|
+
.ov-agent-connect {
|
|
4807
|
+
--ov-ui-connect-card-default: #fbfbfc;
|
|
4808
|
+
--ov-ui-connect-tabs-default: #f7f7f9;
|
|
4809
|
+
--ov-ui-connect-selected-default: #f3f4f7;
|
|
4810
|
+
--ov-ui-connect-border-default: #edeef2;
|
|
4811
|
+
--ov-ui-connect-outline-default: #e1e3ea;
|
|
4812
|
+
--ov-ui-connect-muted-default: #787c91;
|
|
4813
|
+
--ov-ui-connect-notice-default: #2e2984;
|
|
4814
|
+
}
|
|
4815
|
+
|
|
4816
|
+
.dark .ov-agent-connect {
|
|
4817
|
+
--ov-ui-connect-card-default: var(--ov-ui-bg-3-default);
|
|
4818
|
+
--ov-ui-connect-tabs-default: var(--ov-ui-bg-3-default);
|
|
4819
|
+
--ov-ui-connect-selected-default: var(--ov-ui-bg-4-default);
|
|
4820
|
+
--ov-ui-connect-border-default: var(--ov-ui-border-1-default);
|
|
4821
|
+
--ov-ui-connect-outline-default: var(--ov-ui-border-2-default);
|
|
4822
|
+
--ov-ui-connect-muted-default: var(--ov-ui-text-3-default);
|
|
4823
|
+
--ov-ui-connect-notice-default: var(--ov-ui-text-2-default);
|
|
4824
|
+
}
|
|
4825
|
+
|
|
4826
|
+
.ov-divider {
|
|
4827
|
+
box-sizing: border-box;
|
|
4828
|
+
display: block;
|
|
4829
|
+
}
|
|
4830
|
+
|
|
4831
|
+
.ov-file-browser-entries {
|
|
4832
|
+
--ov-file-browser-entries-height: 32px;
|
|
4833
|
+
box-sizing: border-box;
|
|
4834
|
+
height: var(--ov-file-browser-entries-height);
|
|
4835
|
+
background: color-mix(in srgb,
|
|
4836
|
+
var(--ov-ui-color-primary, var(--ov-ui-primary-default, #5252ff)) 6%,
|
|
4837
|
+
var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default, #fff)));
|
|
4838
|
+
border-radius: 8px;
|
|
4839
|
+
justify-content: center;
|
|
4840
|
+
align-items: center;
|
|
4841
|
+
gap: 6px;
|
|
4842
|
+
display: flex;
|
|
4843
|
+
overflow: hidden;
|
|
4844
|
+
}
|
|
4845
|
+
|
|
4846
|
+
.ov-file-browser-entries__entry {
|
|
4847
|
+
min-width: 1px;
|
|
4848
|
+
height: var(--ov-file-browser-entries-height);
|
|
4849
|
+
color: var(--ov-ui-color-primary, var(--ov-ui-primary-default, #5252ff));
|
|
4850
|
+
font: inherit;
|
|
4851
|
+
letter-spacing: .039px;
|
|
4852
|
+
white-space: nowrap;
|
|
4853
|
+
cursor: pointer;
|
|
4854
|
+
background: none;
|
|
4855
|
+
border: 0;
|
|
4856
|
+
border-radius: 6px;
|
|
4857
|
+
flex: 1 0 0;
|
|
4858
|
+
justify-content: center;
|
|
4859
|
+
align-items: center;
|
|
4860
|
+
gap: 6px;
|
|
4861
|
+
padding: 0;
|
|
4862
|
+
font-size: 13px;
|
|
4863
|
+
font-weight: 500;
|
|
4864
|
+
line-height: 22px;
|
|
4865
|
+
transition: background-color .16s;
|
|
4866
|
+
display: inline-flex;
|
|
4867
|
+
overflow: hidden;
|
|
4868
|
+
}
|
|
4869
|
+
|
|
4870
|
+
.ov-file-browser-entries__entry:hover:not(:disabled) {
|
|
4871
|
+
background: color-mix(in srgb,
|
|
4872
|
+
var(--ov-ui-color-primary, var(--ov-ui-primary-default, #5252ff)) 10%,
|
|
4873
|
+
transparent);
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4876
|
+
.ov-file-browser-entries__entry:focus-visible {
|
|
4877
|
+
outline: 2px solid
|
|
4878
|
+
var(--ov-ui-color-focus, var(--ov-ui-focus-default, #5252ff));
|
|
4879
|
+
outline-offset: -2px;
|
|
4880
|
+
}
|
|
4881
|
+
|
|
4882
|
+
.ov-file-browser-entries__entry:disabled {
|
|
4883
|
+
color: var(--ov-ui-color-text-disabled, var(--ov-ui-text-disabled-default, #a5a7bb));
|
|
4884
|
+
cursor: not-allowed;
|
|
4885
|
+
}
|
|
4886
|
+
|
|
4887
|
+
.ov-file-browser-entries__icon {
|
|
4888
|
+
flex: none;
|
|
4889
|
+
align-items: center;
|
|
4890
|
+
display: inline-flex;
|
|
4891
|
+
}
|
|
4892
|
+
|
|
4893
|
+
.ov-file-browser-entries__label {
|
|
4894
|
+
text-overflow: ellipsis;
|
|
4895
|
+
overflow: hidden;
|
|
4896
|
+
}
|
|
4897
|
+
|
|
4898
|
+
|
|
4899
|
+
|
|
4900
|
+
.ov-agent-connect, .ov-divider, .ov-file-browser, .ov-file-browser-entries, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
4636
4901
|
--ov-ui-primary-default: #5252ff;
|
|
4637
4902
|
--ov-ui-primary-hover-default: #7075ff;
|
|
4638
4903
|
--ov-ui-primary-active-default: #3833d2;
|
|
@@ -4664,7 +4929,7 @@ button.ark-agentic-file-viewer-diff__gutter {
|
|
|
4664
4929
|
--ov-ui-tooltip-text-default: #fff;
|
|
4665
4930
|
}
|
|
4666
4931
|
|
|
4667
|
-
.dark .ov-agent-connect, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
4932
|
+
.dark .ov-agent-connect, .dark .ov-divider, .dark .ov-file-browser, .dark .ov-file-browser-entries, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
4668
4933
|
--ov-ui-primary-default: #5f5fff;
|
|
4669
4934
|
--ov-ui-primary-hover-default: #7075ff;
|
|
4670
4935
|
--ov-ui-primary-active-default: #4242ba;
|
|
@@ -6186,7 +6451,7 @@ button.ark-agentic-file-viewer-diff__gutter {
|
|
|
6186
6451
|
|
|
6187
6452
|
|
|
6188
6453
|
|
|
6189
|
-
.ov-agent-connect, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
6454
|
+
.ov-agent-connect, .ov-divider, .ov-file-browser, .ov-file-browser-entries, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
6190
6455
|
--ov-ui-primary-default: #5252ff;
|
|
6191
6456
|
--ov-ui-primary-hover-default: #7075ff;
|
|
6192
6457
|
--ov-ui-primary-active-default: #3833d2;
|
|
@@ -6218,7 +6483,7 @@ button.ark-agentic-file-viewer-diff__gutter {
|
|
|
6218
6483
|
--ov-ui-tooltip-text-default: #fff;
|
|
6219
6484
|
}
|
|
6220
6485
|
|
|
6221
|
-
.dark .ov-agent-connect, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
6486
|
+
.dark .ov-agent-connect, .dark .ov-divider, .dark .ov-file-browser, .dark .ov-file-browser-entries, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
6222
6487
|
--ov-ui-primary-default: #5f5fff;
|
|
6223
6488
|
--ov-ui-primary-hover-default: #7075ff;
|
|
6224
6489
|
--ov-ui-primary-active-default: #4242ba;
|
|
@@ -6640,7 +6905,7 @@ button.ov-scope-switcher__trigger:hover:not(:disabled), button.ov-scope-switcher
|
|
|
6640
6905
|
|
|
6641
6906
|
|
|
6642
6907
|
|
|
6643
|
-
.ov-agent-connect, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
6908
|
+
.ov-agent-connect, .ov-divider, .ov-file-browser, .ov-file-browser-entries, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
6644
6909
|
--ov-ui-primary-default: #5252ff;
|
|
6645
6910
|
--ov-ui-primary-hover-default: #7075ff;
|
|
6646
6911
|
--ov-ui-primary-active-default: #3833d2;
|
|
@@ -6672,7 +6937,7 @@ button.ov-scope-switcher__trigger:hover:not(:disabled), button.ov-scope-switcher
|
|
|
6672
6937
|
--ov-ui-tooltip-text-default: #fff;
|
|
6673
6938
|
}
|
|
6674
6939
|
|
|
6675
|
-
.dark .ov-agent-connect, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
6940
|
+
.dark .ov-agent-connect, .dark .ov-divider, .dark .ov-file-browser, .dark .ov-file-browser-entries, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
6676
6941
|
--ov-ui-primary-default: #5f5fff;
|
|
6677
6942
|
--ov-ui-primary-hover-default: #7075ff;
|
|
6678
6943
|
--ov-ui-primary-active-default: #4242ba;
|
|
@@ -7145,7 +7410,7 @@ button.ov-scope-switcher__trigger:hover:not(:disabled), button.ov-scope-switcher
|
|
|
7145
7410
|
|
|
7146
7411
|
|
|
7147
7412
|
|
|
7148
|
-
.ov-agent-connect, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
7413
|
+
.ov-agent-connect, .ov-divider, .ov-file-browser, .ov-file-browser-entries, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
7149
7414
|
--ov-ui-primary-default: #5252ff;
|
|
7150
7415
|
--ov-ui-primary-hover-default: #7075ff;
|
|
7151
7416
|
--ov-ui-primary-active-default: #3833d2;
|
|
@@ -7177,7 +7442,7 @@ button.ov-scope-switcher__trigger:hover:not(:disabled), button.ov-scope-switcher
|
|
|
7177
7442
|
--ov-ui-tooltip-text-default: #fff;
|
|
7178
7443
|
}
|
|
7179
7444
|
|
|
7180
|
-
.dark .ov-agent-connect, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
7445
|
+
.dark .ov-agent-connect, .dark .ov-divider, .dark .ov-file-browser, .dark .ov-file-browser-entries, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
7181
7446
|
--ov-ui-primary-default: #5f5fff;
|
|
7182
7447
|
--ov-ui-primary-hover-default: #7075ff;
|
|
7183
7448
|
--ov-ui-primary-active-default: #4242ba;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.ov-agent-connect, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
1
|
+
.ov-agent-connect, .ov-divider, .ov-file-browser, .ov-file-browser-entries, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
2
2
|
--ov-ui-primary-default: #5252ff;
|
|
3
3
|
--ov-ui-primary-hover-default: #7075ff;
|
|
4
4
|
--ov-ui-primary-active-default: #3833d2;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
--ov-ui-tooltip-text-default: #fff;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.dark .ov-agent-connect, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
33
|
+
.dark .ov-agent-connect, .dark .ov-divider, .dark .ov-file-browser, .dark .ov-file-browser-entries, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
34
34
|
--ov-ui-primary-default: #5f5fff;
|
|
35
35
|
--ov-ui-primary-hover-default: #7075ff;
|
|
36
36
|
--ov-ui-primary-active-default: #4242ba;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.ov-agent-connect, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
1
|
+
.ov-agent-connect, .ov-divider, .ov-file-browser, .ov-file-browser-entries, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
|
|
2
2
|
--ov-ui-primary-default: #5252ff;
|
|
3
3
|
--ov-ui-primary-hover-default: #7075ff;
|
|
4
4
|
--ov-ui-primary-active-default: #3833d2;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
--ov-ui-tooltip-text-default: #fff;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.dark .ov-agent-connect, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
33
|
+
.dark .ov-agent-connect, .dark .ov-divider, .dark .ov-file-browser, .dark .ov-file-browser-entries, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
|
|
34
34
|
--ov-ui-primary-default: #5f5fff;
|
|
35
35
|
--ov-ui-primary-hover-default: #7075ff;
|
|
36
36
|
--ov-ui-primary-active-default: #4242ba;
|
|
@@ -13,7 +13,7 @@ import { powerpoint } from "@ark-design/ui/file-viewer/adapters/powerpoint";
|
|
|
13
13
|
import { table } from "@ark-design/ui/file-viewer/adapters/table";
|
|
14
14
|
import { text as text_text } from "@ark-design/ui/file-viewer/adapters/text";
|
|
15
15
|
import { word } from "@ark-design/ui/file-viewer/adapters/word";
|
|
16
|
-
import { toFileSource, LoadFailedState, LoadingState, UnsupportedState } from "./
|
|
16
|
+
import { toFileSource, LoadFailedState, LoadingState, UnsupportedState } from "./30~0.js";
|
|
17
17
|
function createFilePreviewAdapterList({ onLinkClick } = {}) {
|
|
18
18
|
return [
|
|
19
19
|
code({
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { FileBrowserEntries } from './components/file-browser-entries/index.js';
|
|
2
|
+
export type { FileBrowserEntriesProps } from './components/file-browser-entries/index.js';
|
|
1
3
|
export { FileTree } from './components/file-tree/index.js';
|
|
2
4
|
export type { FileTreeProps } from './components/file-tree/index.js';
|
|
3
5
|
export { Tui } from './components/tui/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { AgentConnect } from "./u~0.js";
|
|
2
2
|
export { Console } from "./a~0.js";
|
|
3
3
|
export { FileBrowser } from "./l~0.js";
|
|
4
|
+
export { FileBrowserEntries } from "./2~0.js";
|
|
4
5
|
export { FileTree } from "./n~0.js";
|
|
5
6
|
export { ScopeCascade } from "./lk~0.js";
|
|
6
7
|
export { ScopeSelector, ScopeSwitcher } from "./f~0.js";
|