@openviking/react 0.1.1 → 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/README.md +18 -15
- package/dist/1~0.js +506 -0
- package/dist/2~0.js +122 -0
- package/dist/30~0.js +1332 -0
- package/dist/3~0.js +2113 -4
- package/dist/ark-message-list-view~0.js +310 -0
- package/dist/c7~0.js +24 -0
- 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/agent-connect-copy.d.ts +34 -0
- package/dist/components/agent-connect/agent-connect-design.d.ts +1781 -0
- package/dist/components/agent-connect/agent-connect-detail.d.ts +13 -0
- package/dist/components/agent-connect/agent-connect-installer.d.ts +3 -0
- package/dist/components/agent-connect/agent-connect-instructions-view.d.ts +14 -0
- package/dist/components/agent-connect/agent-connect-instructions.d.ts +145 -0
- package/dist/components/agent-connect/agent-connect-markdown.d.ts +3 -0
- package/dist/components/agent-connect/agent-connect.d.ts +3 -3
- package/dist/components/agent-connect/content-en.d.ts +137 -0
- package/dist/components/agent-connect/content-zh.d.ts +137 -0
- package/dist/components/agent-connect/style.css +495 -6
- package/dist/components/agent-connect/types.d.ts +20 -166
- 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/types.d.ts +45 -0
- package/dist/components/file-browser-entries.js +1 -0
- package/dist/components/file-preview/file-preview-adapters.d.ts +33 -0
- package/dist/components/file-preview/file-preview-body.d.ts +24 -12
- package/dist/components/file-preview/file-preview-breadcrumb-menu.d.ts +16 -0
- package/dist/components/file-preview/file-preview-breadcrumb.d.ts +21 -0
- package/dist/components/file-preview/file-preview-copy-path.d.ts +12 -0
- package/dist/components/file-preview/file-preview-directory.d.ts +32 -0
- package/dist/components/file-preview/file-preview-editor.d.ts +22 -0
- package/dist/components/file-preview/file-preview-handle-adapters.d.ts +26 -0
- package/dist/components/file-preview/file-preview-header.d.ts +41 -14
- package/dist/components/file-preview/file-preview-labels.d.ts +15 -4
- package/dist/components/file-preview/file-preview-lazy-viewer.d.ts +3 -0
- package/dist/components/file-preview/file-preview-panels.d.ts +41 -0
- package/dist/components/file-preview/file-preview-path.d.ts +30 -0
- package/dist/components/file-preview/file-preview-source.d.ts +24 -0
- package/dist/components/file-preview/file-preview-state.d.ts +35 -0
- package/dist/components/file-preview/file-preview-tab-row.d.ts +16 -0
- package/dist/components/file-preview/file-preview-viewer.d.ts +31 -0
- package/dist/components/file-preview/file-preview.d.ts +9 -11
- package/dist/components/file-preview/level-selection.d.ts +25 -0
- package/dist/components/file-preview/style.css +4055 -126
- package/dist/components/file-preview/types.d.ts +350 -170
- package/dist/components/file-preview/use-directory-level.d.ts +30 -0
- package/dist/components/file-preview/use-file-preview-actions-context.d.ts +27 -0
- package/dist/components/file-preview/use-file-preview-actions.d.ts +19 -0
- package/dist/components/file-preview/use-file-preview-editing.d.ts +21 -2
- package/dist/components/file-preview/use-file-preview-ids.d.ts +24 -0
- package/dist/components/file-preview.js +1 -442
- package/dist/components/file-tree/file-tree-body.d.ts +8 -4
- package/dist/components/file-tree/file-tree-entry-row.d.ts +9 -3
- package/dist/components/file-tree/file-tree-icons.d.ts +12 -5
- package/dist/components/file-tree/file-tree-info-labels.d.ts +21 -0
- package/dist/components/file-tree/file-tree-info-tooltip.d.ts +43 -0
- package/dist/components/file-tree/file-tree-info.d.ts +29 -0
- package/dist/components/file-tree/file-tree-keyboard.d.ts +8 -4
- package/dist/components/file-tree/file-tree-row-context.d.ts +29 -12
- package/dist/components/file-tree/file-tree-row-shared.d.ts +18 -0
- package/dist/components/file-tree/file-tree-spinner.d.ts +10 -0
- package/dist/components/file-tree/file-tree-state-row.d.ts +7 -0
- package/dist/components/file-tree/file-tree-tooltip-surface.d.ts +22 -0
- package/dist/components/file-tree/file-tree.d.ts +12 -1
- package/dist/components/file-tree/style.css +280 -75
- package/dist/components/file-tree/types.d.ts +203 -0
- package/dist/components/file-tree/use-file-tree-actions.d.ts +7 -0
- package/dist/components/file-tree.js +1 -1
- package/dist/components/scope-switcher/scope-panel.d.ts +9 -3
- package/dist/components/scope-switcher/scope-selector.d.ts +1 -1
- package/dist/components/scope-switcher/scope-switcher.d.ts +1 -1
- package/dist/components/scope-switcher/style.css +282 -76
- package/dist/components/scope-switcher/types.d.ts +230 -108
- package/dist/components/style.css +14128 -390
- package/dist/components/tui/command-catalog.d.ts +58 -0
- package/dist/components/tui/command-completion.d.ts +19 -0
- package/dist/components/tui/command-definitions.d.ts +10 -0
- package/dist/components/tui/command-input.d.ts +16 -0
- package/dist/components/tui/style.css +1543 -5
- package/dist/components/tui/tui-assist.d.ts +15 -0
- package/dist/components/tui/tui-code-block.d.ts +8 -0
- package/dist/components/tui/tui-command-help.d.ts +9 -0
- package/dist/components/tui/tui-command-text.d.ts +6 -0
- package/dist/components/tui/tui-composer.d.ts +24 -0
- package/dist/components/tui/tui-copy-button.d.ts +9 -0
- package/dist/components/tui/tui-input-mirror.d.ts +14 -0
- package/dist/components/tui/tui-labels-zh.d.ts +2 -0
- package/dist/components/tui/tui-labels.d.ts +5 -0
- package/dist/components/tui/tui-markdown-renderers.d.ts +10 -0
- package/dist/components/tui/tui-markdown.d.ts +6 -0
- package/dist/components/tui/tui-param-hint.d.ts +7 -0
- package/dist/components/tui/tui-record-time.d.ts +11 -0
- package/dist/components/tui/tui-record.d.ts +13 -0
- package/dist/components/tui/tui-resource-preview.d.ts +10 -0
- package/dist/components/tui/tui-resource-tree.d.ts +10 -0
- package/dist/components/tui/tui-result-header.d.ts +7 -0
- package/dist/components/tui/tui-result-text.d.ts +5 -0
- package/dist/components/tui/tui-search-list.d.ts +8 -0
- package/dist/components/tui/tui-skeleton.d.ts +6 -0
- package/dist/components/tui/tui-status-card.d.ts +7 -0
- package/dist/components/tui/tui-text.d.ts +10 -0
- package/dist/components/tui/tui-uri-text.d.ts +19 -0
- package/dist/components/tui/tui-write-result.d.ts +7 -0
- package/dist/components/tui/tui.d.ts +10 -2
- package/dist/components/tui/types.d.ts +57 -15
- package/dist/components/tui/use-tui-assist-position.d.ts +3 -0
- package/dist/components/tui/use-tui-completion.d.ts +14 -0
- package/dist/components/tui/use-tui-composer-keyboard.d.ts +25 -0
- package/dist/components/viking-bot/ark-adapter.d.ts +45 -0
- package/dist/components/viking-bot/ark-message-body.d.ts +16 -0
- package/dist/components/viking-bot/ark-message-list-view.d.ts +7 -0
- package/dist/components/viking-bot/ark-message-row.d.ts +19 -0
- package/dist/components/viking-bot/index.d.ts +10 -0
- package/dist/components/viking-bot/interaction/ask-human-fields.d.ts +10 -0
- package/dist/components/viking-bot/interaction/index.d.ts +4 -0
- package/dist/components/viking-bot/interaction/labels.d.ts +7 -0
- package/dist/components/viking-bot/interaction/lazy-interaction.d.ts +3 -0
- package/dist/components/viking-bot/interaction/schedule-input.d.ts +13 -0
- package/dist/components/viking-bot/interaction/style.css +189 -0
- package/dist/components/viking-bot/interaction/style.js +0 -0
- package/dist/components/viking-bot/interaction/types.d.ts +188 -0
- package/dist/components/viking-bot/interaction/viking-bot-interaction.d.ts +9 -0
- package/dist/components/viking-bot/interaction.js +2 -0
- package/dist/components/viking-bot/labels.d.ts +2 -0
- package/dist/components/viking-bot/lazy-composer.d.ts +3 -0
- package/dist/components/viking-bot/message-groups.d.ts +12 -0
- package/dist/components/viking-bot/model.d.ts +252 -0
- package/dist/components/viking-bot/render-part.d.ts +12 -0
- package/dist/components/viking-bot/style.css +7135 -0
- package/dist/components/viking-bot/style.js +0 -0
- package/dist/components/viking-bot/types.d.ts +140 -0
- package/dist/components/viking-bot/viking-bot-composer.d.ts +6 -0
- package/dist/components/viking-bot/viking-bot-message-list.d.ts +3 -0
- package/dist/components/viking-bot/viking-bot.d.ts +16 -0
- package/dist/components/viking-bot.js +4 -0
- package/dist/c~0.js +201 -0
- package/dist/file-preview-viewer~0.js +191 -0
- package/dist/f~0.js +149 -77
- package/dist/h~0.js +58 -0
- package/dist/icons/file-type-icon.d.ts +31 -0
- package/dist/icons/index.d.ts +33 -23
- package/dist/icons/nextjs-icon.d.ts +19 -0
- package/dist/icons.js +1 -25
- package/dist/index.d.ts +4 -2
- package/dist/index.js +2 -1
- package/dist/k~0.js +1440 -0
- package/dist/lk~0.js +25 -12
- package/dist/l~0.js +1464 -25
- package/dist/modules/console/style.css +83 -1
- 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 +5009 -34
- 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 +282 -76
- package/dist/modules/style.css +5445 -130
- package/dist/n~0.js +568 -236
- 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/overlay/use-overlay-position.d.ts +38 -0
- 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/index.d.ts +1 -0
- package/dist/shared/components/tooltip/tooltip.d.ts +25 -0
- package/dist/shared/components/tooltip/types.d.ts +42 -0
- package/dist/style.css +19664 -530
- package/dist/u~0.js +1597 -4
- package/dist/viking-bot-composer~0.js +164 -0
- package/dist/viking-bot-interaction~0.js +284 -0
- package/dist/w~0.js +19 -0
- package/package.json +23 -10
- package/dist/components/file-preview/file-preview-icons.d.ts +0 -2
- package/dist/components/file-preview/file-preview-operations.d.ts +0 -1
- package/dist/components/file-tree/file-tree-dom.d.ts +0 -4
- package/dist/components/file-tree/file-tree-labels.d.ts +0 -5
- package/dist/components/file-tree/file-tree-rows.d.ts +0 -12
- package/dist/components/file-tree/file-tree-tooltip.d.ts +0 -11
- package/dist/i~0.js +0 -21
- package/dist/modules/file-browser/file-browser-toolbar-button.d.ts +0 -10
- package/dist/modules/task-center/columns.d.ts +0 -129
- package/dist/modules/task-center/index.d.ts +0 -1
- package/dist/modules/task-center/style.css +0 -29
- package/dist/modules/task-center/task-center.d.ts +0 -4
- package/dist/modules/task-center/types.d.ts +0 -168
- package/dist/modules/task-center.js +0 -1
- /package/dist/{modules/task-center → components/file-browser-entries}/style.js +0 -0
|
@@ -1,8 +1,139 @@
|
|
|
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
|
+
--ov-ui-primary-default: #5252ff;
|
|
3
|
+
--ov-ui-primary-hover-default: #7075ff;
|
|
4
|
+
--ov-ui-primary-active-default: #3833d2;
|
|
5
|
+
--ov-ui-primary-light-default: #f5f7ff;
|
|
6
|
+
--ov-ui-connect-glow-warm-default: #ff952b0a;
|
|
7
|
+
--ov-ui-connect-glow-pink-default: #fb4fbc0f;
|
|
8
|
+
--ov-ui-connect-glow-pink-soft-default: #fb4fbc0a;
|
|
9
|
+
--ov-ui-on-primary-default: #fff;
|
|
10
|
+
--ov-ui-text-1-default: #0b0b0f;
|
|
11
|
+
--ov-ui-text-2-default: #3f3f51;
|
|
12
|
+
--ov-ui-text-3-default: #6e718c;
|
|
13
|
+
--ov-ui-text-description-default: #0006;
|
|
14
|
+
--ov-ui-text-disabled-default: #a5a7bb;
|
|
15
|
+
--ov-ui-border-1-default: #f0f2fa;
|
|
16
|
+
--ov-ui-border-2-default: #e1e4f2;
|
|
17
|
+
--ov-ui-border-3-default: #d7daea;
|
|
18
|
+
--ov-ui-bg-1-default: #fff;
|
|
19
|
+
--ov-ui-bg-3-default: #f7f8fd;
|
|
20
|
+
--ov-ui-bg-4-default: #f6f7fa;
|
|
21
|
+
--ov-ui-bg-5-default: #f1f2f9;
|
|
22
|
+
--ov-ui-status-success-default: #1f9d55;
|
|
23
|
+
--ov-ui-shadow-default: #0f172a;
|
|
24
|
+
--ov-ui-focus-default: #5252ff;
|
|
25
|
+
--ov-ui-fill-hover-default: #f1f2f9;
|
|
26
|
+
--ov-ui-status-error-default: #c43838;
|
|
27
|
+
--ov-ui-warning-default: #b26a00;
|
|
28
|
+
--ov-ui-warning-light-default: #fff0b3;
|
|
29
|
+
--ov-ui-tooltip-bg-default: #1f2329;
|
|
30
|
+
--ov-ui-tooltip-text-default: #fff;
|
|
31
|
+
}
|
|
32
|
+
|
|
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
|
+
--ov-ui-primary-default: #5f5fff;
|
|
35
|
+
--ov-ui-primary-hover-default: #7075ff;
|
|
36
|
+
--ov-ui-primary-active-default: #4242ba;
|
|
37
|
+
--ov-ui-primary-light-default: #1a1632;
|
|
38
|
+
--ov-ui-connect-glow-warm-default: #ff952b05;
|
|
39
|
+
--ov-ui-connect-glow-pink-default: #fb4fbc08;
|
|
40
|
+
--ov-ui-connect-glow-pink-soft-default: #fb4fbc05;
|
|
41
|
+
--ov-ui-text-1-default: #c7ccd6;
|
|
42
|
+
--ov-ui-text-2-default: #9da3af;
|
|
43
|
+
--ov-ui-text-3-default: #737a87;
|
|
44
|
+
--ov-ui-text-description-default: #fff6;
|
|
45
|
+
--ov-ui-text-disabled-default: #42464e;
|
|
46
|
+
--ov-ui-border-1-default: #23252a;
|
|
47
|
+
--ov-ui-border-2-default: #2e3138;
|
|
48
|
+
--ov-ui-border-3-default: #3a3d45;
|
|
49
|
+
--ov-ui-bg-1-default: #131416;
|
|
50
|
+
--ov-ui-bg-3-default: #1b1d21;
|
|
51
|
+
--ov-ui-bg-4-default: #202227;
|
|
52
|
+
--ov-ui-bg-5-default: #23252a;
|
|
53
|
+
--ov-ui-focus-default: #5f5fff;
|
|
54
|
+
--ov-ui-fill-hover-default: #23252a;
|
|
55
|
+
--ov-ui-status-error-default: #ff9595;
|
|
56
|
+
--ov-ui-warning-default: #e0a04a;
|
|
57
|
+
--ov-ui-warning-light-default: #3a2f14;
|
|
58
|
+
--ov-ui-tooltip-bg-default: #2a2d33;
|
|
59
|
+
--ov-ui-tooltip-text-default: #f0f1f3;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.ov-agent-connect {
|
|
63
|
+
--ov-ui-connect-card-default: #fbfbfc;
|
|
64
|
+
--ov-ui-connect-tabs-default: #f7f7f9;
|
|
65
|
+
--ov-ui-connect-selected-default: #f3f4f7;
|
|
66
|
+
--ov-ui-connect-border-default: #edeef2;
|
|
67
|
+
--ov-ui-connect-outline-default: #e1e3ea;
|
|
68
|
+
--ov-ui-connect-muted-default: #787c91;
|
|
69
|
+
--ov-ui-connect-notice-default: #2e2984;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.dark .ov-agent-connect {
|
|
73
|
+
--ov-ui-connect-card-default: var(--ov-ui-bg-3-default);
|
|
74
|
+
--ov-ui-connect-tabs-default: var(--ov-ui-bg-3-default);
|
|
75
|
+
--ov-ui-connect-selected-default: var(--ov-ui-bg-4-default);
|
|
76
|
+
--ov-ui-connect-border-default: var(--ov-ui-border-1-default);
|
|
77
|
+
--ov-ui-connect-outline-default: var(--ov-ui-border-2-default);
|
|
78
|
+
--ov-ui-connect-muted-default: var(--ov-ui-text-3-default);
|
|
79
|
+
--ov-ui-connect-notice-default: var(--ov-ui-text-2-default);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ov-popover {
|
|
83
|
+
--ov-ui-popover-bg: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default, #fff));
|
|
84
|
+
--ov-ui-popover-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default, #0b0b0f));
|
|
85
|
+
--ov-ui-popover-border: var(--ov-ui-color-border-2, var(--ov-ui-border-2-default, #e1e4f2));
|
|
86
|
+
z-index: 1000;
|
|
87
|
+
box-sizing: border-box;
|
|
88
|
+
border: 1px solid var(--ov-ui-popover-border);
|
|
89
|
+
background: var(--ov-ui-popover-bg);
|
|
90
|
+
max-width: 320px;
|
|
91
|
+
color: var(--ov-ui-popover-text);
|
|
92
|
+
overflow-wrap: break-word;
|
|
93
|
+
border-radius: 8px;
|
|
94
|
+
padding: 12px;
|
|
95
|
+
font-family: inherit;
|
|
96
|
+
font-size: 12px;
|
|
97
|
+
line-height: 20px;
|
|
98
|
+
animation: .12s ease-out ov-popover-enter;
|
|
99
|
+
position: fixed;
|
|
100
|
+
box-shadow: 0 15px 35px -2px #0000000d, 0 5px 15px #0000000d;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@keyframes ov-popover-enter {
|
|
104
|
+
from {
|
|
105
|
+
opacity: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
to {
|
|
109
|
+
opacity: 1;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@media (prefers-reduced-motion: reduce) {
|
|
114
|
+
.ov-popover {
|
|
115
|
+
animation: none;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
1
119
|
.ov-file-tree {
|
|
120
|
+
--ov-ui-file-tree-row-height: 32px;
|
|
121
|
+
--ov-ui-file-tree-row-radius: 4px;
|
|
122
|
+
--ov-ui-file-tree-indent: 16px;
|
|
123
|
+
--ov-ui-file-tree-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default, #0b0b0f));
|
|
124
|
+
--ov-ui-file-tree-text-muted: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default, #6e718c));
|
|
125
|
+
--ov-ui-file-tree-icon: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default, #6e718c));
|
|
126
|
+
--ov-ui-file-tree-row-hover: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default, #f1f2f9));
|
|
127
|
+
--ov-ui-file-tree-row-selected: var(--ov-ui-color-bg-4, var(--ov-ui-bg-4-default, #f6f7fa));
|
|
128
|
+
--ov-ui-file-tree-guide: var(--ov-ui-color-border-2, var(--ov-ui-border-2-default, #e1e4f2));
|
|
129
|
+
--ov-ui-file-tree-spinner-track: var(--ov-ui-color-border-3, var(--ov-ui-border-3-default, #d7daea));
|
|
130
|
+
--ov-ui-file-tree-spinner: var(--ov-ui-color-primary, var(--ov-ui-primary-default, #5252ff));
|
|
131
|
+
--ov-ui-file-tree-action: var(--ov-ui-color-primary, var(--ov-ui-primary-default, #5252ff));
|
|
132
|
+
--ov-ui-file-tree-warning: var(--ov-ui-color-warning, var(--ov-ui-warning-default, #b26a00));
|
|
2
133
|
box-sizing: border-box;
|
|
3
134
|
min-width: 0;
|
|
4
135
|
min-height: 0;
|
|
5
|
-
color:
|
|
136
|
+
color: var(--ov-ui-file-tree-text);
|
|
6
137
|
flex-direction: column;
|
|
7
138
|
font-family: inherit;
|
|
8
139
|
font-size: 13px;
|
|
@@ -23,43 +154,59 @@
|
|
|
23
154
|
|
|
24
155
|
.ov-file-tree__rows {
|
|
25
156
|
flex-direction: column;
|
|
157
|
+
width: max-content;
|
|
158
|
+
min-width: 100%;
|
|
26
159
|
display: flex;
|
|
27
160
|
}
|
|
28
161
|
|
|
29
|
-
.ov-file-tree__row {
|
|
162
|
+
.ov-file-tree__row, .ov-file-tree__state-row {
|
|
30
163
|
box-sizing: border-box;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
164
|
+
width: max-content;
|
|
165
|
+
min-width: 100%;
|
|
166
|
+
height: var(--ov-ui-file-tree-row-height);
|
|
167
|
+
border-radius: var(--ov-ui-file-tree-row-radius);
|
|
168
|
+
cursor: pointer;
|
|
35
169
|
-webkit-user-select: none;
|
|
36
170
|
user-select: none;
|
|
37
171
|
outline: none;
|
|
38
172
|
align-items: center;
|
|
39
|
-
gap:
|
|
40
|
-
padding-right:
|
|
173
|
+
gap: 2px;
|
|
174
|
+
padding-right: 4px;
|
|
41
175
|
display: flex;
|
|
42
176
|
position: relative;
|
|
43
177
|
}
|
|
44
178
|
|
|
45
|
-
.ov-file-tree__row
|
|
46
|
-
|
|
179
|
+
.ov-file-tree__row {
|
|
180
|
+
transition: background-color .12s;
|
|
47
181
|
}
|
|
48
182
|
|
|
49
|
-
.ov-file-tree__row:
|
|
50
|
-
|
|
51
|
-
outline-offset: -2px;
|
|
183
|
+
.ov-file-tree__row:hover {
|
|
184
|
+
background-color: var(--ov-ui-file-tree-row-hover);
|
|
52
185
|
}
|
|
53
186
|
|
|
54
187
|
.ov-file-tree__row[data-selected] {
|
|
55
|
-
background: var(--ov-ui-row-selected
|
|
188
|
+
background-color: var(--ov-ui-file-tree-row-selected);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.ov-file-tree__row:focus-visible, .ov-file-tree__state-row:focus-visible {
|
|
192
|
+
outline: 2px solid var(--ov-ui-file-tree-action);
|
|
193
|
+
outline-offset: -2px;
|
|
56
194
|
}
|
|
57
195
|
|
|
58
196
|
.ov-file-tree__row[data-disabled] {
|
|
59
|
-
color: var(--ov-ui-text-muted
|
|
197
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
60
198
|
cursor: not-allowed;
|
|
61
199
|
}
|
|
62
200
|
|
|
201
|
+
.ov-file-tree__guide {
|
|
202
|
+
background-color: var(--ov-ui-file-tree-guide);
|
|
203
|
+
pointer-events: none;
|
|
204
|
+
width: 1px;
|
|
205
|
+
position: absolute;
|
|
206
|
+
top: 0;
|
|
207
|
+
bottom: 0;
|
|
208
|
+
}
|
|
209
|
+
|
|
63
210
|
.ov-file-tree__toggle, .ov-file-tree__toggle-spacer {
|
|
64
211
|
flex: none;
|
|
65
212
|
justify-content: center;
|
|
@@ -70,7 +217,7 @@
|
|
|
70
217
|
}
|
|
71
218
|
|
|
72
219
|
.ov-file-tree__toggle {
|
|
73
|
-
color: var(--ov-ui-text-muted
|
|
220
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
74
221
|
cursor: pointer;
|
|
75
222
|
background: none;
|
|
76
223
|
border: 0;
|
|
@@ -78,12 +225,16 @@
|
|
|
78
225
|
padding: 0;
|
|
79
226
|
}
|
|
80
227
|
|
|
81
|
-
.ov-file-tree__toggle:hover {
|
|
82
|
-
background:
|
|
228
|
+
.ov-file-tree__toggle:hover:not(:disabled) {
|
|
229
|
+
background-color: var(--ov-ui-file-tree-row-hover);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.ov-file-tree__toggle:disabled {
|
|
233
|
+
cursor: default;
|
|
83
234
|
}
|
|
84
235
|
|
|
85
236
|
.ov-file-tree__chevron {
|
|
86
|
-
transition: transform .
|
|
237
|
+
transition: transform .15s cubic-bezier(.22, 1, .36, 1);
|
|
87
238
|
}
|
|
88
239
|
|
|
89
240
|
.ov-file-tree__chevron[data-expanded] {
|
|
@@ -91,50 +242,73 @@
|
|
|
91
242
|
}
|
|
92
243
|
|
|
93
244
|
.ov-file-tree__icon-slot {
|
|
94
|
-
|
|
245
|
+
width: 16px;
|
|
246
|
+
height: 16px;
|
|
247
|
+
color: var(--ov-ui-file-tree-icon);
|
|
95
248
|
flex: none;
|
|
249
|
+
justify-content: center;
|
|
96
250
|
align-items: center;
|
|
97
251
|
display: inline-flex;
|
|
98
252
|
}
|
|
99
253
|
|
|
100
|
-
.ov-file-
|
|
101
|
-
|
|
254
|
+
.ov-file-tree__folder {
|
|
255
|
+
width: 14px;
|
|
256
|
+
height: 14px;
|
|
257
|
+
display: inline-block;
|
|
258
|
+
position: relative;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.ov-file-tree__folder-layer {
|
|
262
|
+
opacity: 0;
|
|
263
|
+
width: 14px;
|
|
264
|
+
height: 14px;
|
|
265
|
+
transition: opacity .22s cubic-bezier(.22, 1, .36, 1);
|
|
266
|
+
position: absolute;
|
|
267
|
+
inset: 0;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.ov-file-tree__folder-layer[data-open="true"] {
|
|
271
|
+
opacity: 1;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.ov-file-tree__file-icon {
|
|
275
|
+
width: 16px;
|
|
276
|
+
height: 16px;
|
|
102
277
|
}
|
|
103
278
|
|
|
104
279
|
.ov-file-tree__label-group {
|
|
105
|
-
flex:
|
|
106
|
-
align-items:
|
|
107
|
-
gap:
|
|
108
|
-
min-width: 0;
|
|
280
|
+
flex: none;
|
|
281
|
+
align-items: center;
|
|
282
|
+
gap: 8px;
|
|
109
283
|
display: flex;
|
|
110
284
|
}
|
|
111
285
|
|
|
112
286
|
.ov-file-tree__label {
|
|
113
|
-
text-overflow: ellipsis;
|
|
114
287
|
white-space: nowrap;
|
|
115
|
-
|
|
288
|
+
flex: none;
|
|
116
289
|
}
|
|
117
290
|
|
|
118
291
|
.ov-file-tree__description {
|
|
119
|
-
|
|
292
|
+
max-width: 200px;
|
|
293
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
294
|
+
letter-spacing: .03px;
|
|
120
295
|
text-overflow: ellipsis;
|
|
121
296
|
white-space: nowrap;
|
|
122
|
-
|
|
297
|
+
flex: none;
|
|
298
|
+
font-size: 10px;
|
|
299
|
+
line-height: 20px;
|
|
123
300
|
overflow: hidden;
|
|
124
301
|
}
|
|
125
302
|
|
|
126
303
|
.ov-file-tree__level {
|
|
127
|
-
|
|
128
|
-
color: var(--ov-ui-text-muted, color-mix(in srgb, currentColor 62%, transparent));
|
|
129
|
-
border-radius: 3px;
|
|
304
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
130
305
|
flex: none;
|
|
131
|
-
|
|
132
|
-
font-size:
|
|
133
|
-
line-height: 16px;
|
|
306
|
+
margin-left: auto;
|
|
307
|
+
font-size: 14px;
|
|
134
308
|
}
|
|
135
309
|
|
|
136
310
|
.ov-file-tree__expiry {
|
|
137
|
-
color: var(--ov-ui-warning
|
|
311
|
+
color: var(--ov-ui-file-tree-warning);
|
|
138
312
|
flex: none;
|
|
139
313
|
font-size: 12px;
|
|
140
314
|
}
|
|
@@ -155,72 +329,77 @@
|
|
|
155
329
|
display: inline-flex;
|
|
156
330
|
}
|
|
157
331
|
|
|
158
|
-
.ov-file-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
max-width: 320px;
|
|
163
|
-
color: var(--ov-ui-tooltip-text, #fff);
|
|
164
|
-
pointer-events: none;
|
|
165
|
-
padding: 6px 8px;
|
|
166
|
-
font-size: 12px;
|
|
167
|
-
line-height: 18px;
|
|
168
|
-
position: absolute;
|
|
169
|
-
top: calc(100% + 4px);
|
|
170
|
-
left: 0;
|
|
332
|
+
.ov-file-tree__info {
|
|
333
|
+
flex-direction: column;
|
|
334
|
+
gap: 8px;
|
|
335
|
+
display: flex;
|
|
171
336
|
}
|
|
172
337
|
|
|
173
|
-
.ov-file-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
338
|
+
.ov-file-tree__info-title {
|
|
339
|
+
color: var(--ov-ui-file-tree-text);
|
|
340
|
+
word-break: break-all;
|
|
341
|
+
font-size: 13px;
|
|
342
|
+
font-weight: 500;
|
|
343
|
+
line-height: 22px;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.ov-file-tree__info-row {
|
|
347
|
+
gap: 8px;
|
|
348
|
+
min-width: 0;
|
|
180
349
|
display: flex;
|
|
181
350
|
}
|
|
182
351
|
|
|
183
|
-
.ov-file-
|
|
184
|
-
color: var(--ov-ui-
|
|
352
|
+
.ov-file-tree__info-label {
|
|
353
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
354
|
+
flex: none;
|
|
185
355
|
}
|
|
186
356
|
|
|
187
|
-
.ov-file-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
background: none;
|
|
192
|
-
border: 0;
|
|
193
|
-
padding: 0;
|
|
194
|
-
text-decoration: underline;
|
|
357
|
+
.ov-file-tree__info-value {
|
|
358
|
+
min-width: 0;
|
|
359
|
+
color: var(--ov-ui-file-tree-text);
|
|
360
|
+
word-break: break-word;
|
|
195
361
|
}
|
|
196
362
|
|
|
197
|
-
.ov-file-
|
|
198
|
-
|
|
199
|
-
|
|
363
|
+
.ov-file-tree__info-path {
|
|
364
|
+
min-width: 0;
|
|
365
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
366
|
+
word-break: break-all;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.ov-file-tree__state-row {
|
|
370
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.ov-file-tree__state-row[data-tone="error"] {
|
|
374
|
+
color: var(--ov-ui-color-status-error, var(--ov-ui-status-error-default, #c43838));
|
|
200
375
|
}
|
|
201
376
|
|
|
202
377
|
.ov-file-tree__state {
|
|
203
378
|
box-sizing: border-box;
|
|
379
|
+
min-height: 120px;
|
|
380
|
+
color: var(--ov-ui-file-tree-text-muted);
|
|
204
381
|
justify-content: center;
|
|
205
382
|
align-items: center;
|
|
206
|
-
min-height: 120px;
|
|
207
383
|
padding: 24px;
|
|
208
384
|
display: flex;
|
|
209
385
|
}
|
|
210
386
|
|
|
211
387
|
.ov-file-tree__muted {
|
|
212
388
|
color: inherit;
|
|
389
|
+
text-overflow: ellipsis;
|
|
390
|
+
white-space: nowrap;
|
|
391
|
+
overflow: hidden;
|
|
213
392
|
}
|
|
214
393
|
|
|
215
394
|
.ov-file-tree__spinner {
|
|
216
395
|
box-sizing: border-box;
|
|
217
|
-
border:
|
|
218
|
-
border-
|
|
396
|
+
border: 1px solid var(--ov-ui-file-tree-spinner-track);
|
|
397
|
+
border-top-color: var(--ov-ui-file-tree-spinner);
|
|
219
398
|
border-radius: 50%;
|
|
220
399
|
flex: none;
|
|
221
400
|
width: 12px;
|
|
222
401
|
height: 12px;
|
|
223
|
-
animation: .
|
|
402
|
+
animation: .9s linear infinite ov-file-tree-spin;
|
|
224
403
|
display: inline-block;
|
|
225
404
|
}
|
|
226
405
|
|
|
@@ -230,8 +409,26 @@
|
|
|
230
409
|
}
|
|
231
410
|
}
|
|
232
411
|
|
|
412
|
+
.ov-file-tree__action {
|
|
413
|
+
color: inherit;
|
|
414
|
+
font: inherit;
|
|
415
|
+
cursor: pointer;
|
|
416
|
+
background: none;
|
|
417
|
+
border: 0;
|
|
418
|
+
padding: 0;
|
|
419
|
+
transition: color .12s;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.ov-file-tree__action:hover:not(:disabled) {
|
|
423
|
+
color: var(--ov-ui-file-tree-action);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.ov-file-tree__action:disabled {
|
|
427
|
+
cursor: default;
|
|
428
|
+
}
|
|
429
|
+
|
|
233
430
|
@media (prefers-reduced-motion: reduce) {
|
|
234
|
-
.ov-file-tree__chevron {
|
|
431
|
+
.ov-file-tree__chevron, .ov-file-tree__folder-layer {
|
|
235
432
|
transition: none;
|
|
236
433
|
}
|
|
237
434
|
|
|
@@ -240,5 +437,13 @@
|
|
|
240
437
|
}
|
|
241
438
|
}
|
|
242
439
|
|
|
440
|
+
.ov-file-tree__file-type-icon {
|
|
441
|
+
color: var(--ov-file-tree-icon-light, var(--ov-ui-file-tree-icon));
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.dark .ov-file-tree__file-type-icon {
|
|
445
|
+
color: var(--ov-file-tree-icon-dark, var(--ov-ui-file-tree-icon));
|
|
446
|
+
}
|
|
447
|
+
|
|
243
448
|
|
|
244
449
|
|