@openviking/react 0.1.5 → 0.1.7

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 (145) hide show
  1. package/README.md +15 -11
  2. package/dist/2~0.js +6 -5
  3. package/dist/37~0.js +27 -0
  4. package/dist/3c~0.js +24 -12
  5. package/dist/3~0.js +19 -9
  6. package/dist/ae~0.js +8 -1
  7. package/dist/ark-message-list-view~0.js +9 -4
  8. package/dist/a~0.js +13 -7
  9. package/dist/c7r~0.js +50 -0
  10. package/dist/ck~0.js +7 -0
  11. package/dist/client/paths.d.ts +10 -0
  12. package/dist/client/provider.d.ts +6 -1
  13. package/dist/components/agent-connect/style.css +268 -37
  14. package/dist/components/directory-tour/style.css +265 -21
  15. package/dist/components/directory-tour.js +1 -1
  16. package/dist/components/experience-dashboard/dashboard-tabs.d.ts +11 -0
  17. package/dist/components/experience-dashboard/experience-dashboard.d.ts +2 -0
  18. package/dist/components/experience-dashboard/experience-impact.d.ts +11 -0
  19. package/dist/components/experience-dashboard/experience-list.d.ts +9 -0
  20. package/dist/components/experience-dashboard/experience-pagination.d.ts +8 -0
  21. package/dist/components/experience-dashboard/experience-tests.d.ts +6 -0
  22. package/dist/components/experience-dashboard/experience-trajectories.d.ts +6 -0
  23. package/dist/components/experience-dashboard/index.d.ts +2 -0
  24. package/dist/components/experience-dashboard/labels.d.ts +2 -0
  25. package/dist/components/experience-dashboard/style.css +914 -0
  26. package/dist/components/experience-dashboard/style.js +0 -0
  27. package/dist/components/experience-dashboard/types.d.ts +106 -0
  28. package/dist/components/experience-dashboard.js +1 -0
  29. package/dist/components/file-browser-entries/style.css +463 -86
  30. package/dist/components/file-preview/style.css +267 -78
  31. package/dist/components/file-tree/file-tree-toolbar.d.ts +3 -3
  32. package/dist/components/file-tree/locales/en-US.d.ts +3 -0
  33. package/dist/components/file-tree/locales/zh-CN.d.ts +3 -0
  34. package/dist/components/file-tree/style.css +372 -88
  35. package/dist/components/file-tree/types.d.ts +13 -4
  36. package/dist/components/scope-switcher/style.css +412 -39
  37. package/dist/components/style.css +9326 -4553
  38. package/dist/components/tui/style.css +385 -67
  39. package/dist/components/viking-bot/interaction/style.css +143 -22
  40. package/dist/components/viking-bot/style.css +1075 -278
  41. package/dist/components/wiki-dashboard/index.d.ts +2 -0
  42. package/dist/components/wiki-dashboard/labels.d.ts +2 -0
  43. package/dist/components/wiki-dashboard/style.css +956 -0
  44. package/dist/components/wiki-dashboard/style.js +0 -0
  45. package/dist/components/wiki-dashboard/types.d.ts +92 -0
  46. package/dist/components/wiki-dashboard/wiki-action-button.d.ts +9 -0
  47. package/dist/components/wiki-dashboard/wiki-conflict-card.d.ts +15 -0
  48. package/dist/components/wiki-dashboard/wiki-dashboard.d.ts +2 -0
  49. package/dist/components/wiki-dashboard/wiki-file-icon.d.ts +3 -0
  50. package/dist/components/wiki-dashboard/wiki-severity-filter.d.ts +8 -0
  51. package/dist/components/wiki-dashboard.js +1 -0
  52. package/dist/c~0.js +16 -8
  53. package/dist/ep~0.js +345 -0
  54. package/dist/e~0.js +33 -328
  55. package/dist/fj~0.js +507 -0
  56. package/dist/fl~0.js +709 -0
  57. package/dist/f~0.js +12 -27
  58. package/dist/icons/index.d.ts +28 -0
  59. package/dist/icons.js +1 -1
  60. package/dist/index.d.ts +4 -0
  61. package/dist/index.js +3 -1
  62. package/dist/k~0.js +277 -1
  63. package/dist/lk~0.js +56 -14
  64. package/dist/l~0.js +2786 -446
  65. package/dist/modules/console/index.d.ts +1 -2
  66. package/dist/modules/console/style.css +1787 -346
  67. package/dist/modules/console.js +1 -1
  68. package/dist/modules/file-browser/acl/acl-add-principal.d.ts +12 -0
  69. package/dist/modules/file-browser/acl/acl-candidate.d.ts +8 -0
  70. package/dist/modules/file-browser/acl/acl-client.d.ts +13 -0
  71. package/dist/modules/file-browser/acl/acl-confirmation.d.ts +6 -0
  72. package/dist/modules/file-browser/acl/acl-entry.d.ts +13 -0
  73. package/dist/modules/file-browser/acl/acl-labels.d.ts +47 -0
  74. package/dist/modules/file-browser/acl/acl-menu.d.ts +10 -0
  75. package/dist/modules/file-browser/acl/acl-modal.d.ts +17 -0
  76. package/dist/modules/file-browser/acl/acl-model.d.ts +17 -0
  77. package/dist/modules/file-browser/acl/acl-principal-tabs.d.ts +6 -0
  78. package/dist/modules/file-browser/acl/acl-tag.d.ts +7 -0
  79. package/dist/modules/file-browser/acl/locales/en-US.d.ts +44 -0
  80. package/dist/modules/file-browser/acl/locales/zh-CN.d.ts +44 -0
  81. package/dist/modules/file-browser/acl/use-acl-principals.d.ts +17 -0
  82. package/dist/modules/file-browser/acl/use-acl-report.d.ts +27 -0
  83. package/dist/modules/file-browser/acl-types.d.ts +86 -0
  84. package/dist/modules/file-browser/dashboard-data.d.ts +9 -0
  85. package/dist/modules/file-browser/dashboard-indicator.d.ts +8 -0
  86. package/dist/modules/file-browser/dashboard-labels.d.ts +9 -0
  87. package/dist/modules/file-browser/dashboard-model.d.ts +17 -0
  88. package/dist/modules/file-browser/dashboard-resource.d.ts +12 -0
  89. package/dist/modules/file-browser/experience-dashboard-pane.d.ts +8 -0
  90. package/dist/modules/file-browser/experience-data.d.ts +31 -0
  91. package/dist/modules/file-browser/file-browser-detail.d.ts +4 -1
  92. package/dist/modules/file-browser/file-browser-labels.d.ts +1 -1
  93. package/dist/modules/file-browser/file-browser-search.d.ts +20 -0
  94. package/dist/modules/file-browser/file-browser-toolbar.d.ts +3 -10
  95. package/dist/modules/file-browser/file-browser-tree-pane.d.ts +4 -7
  96. package/dist/modules/file-browser/file-browser.d.ts +1 -1
  97. package/dist/modules/file-browser/fs-directories.d.ts +9 -0
  98. package/dist/modules/file-browser/fs-lines.d.ts +36 -0
  99. package/dist/modules/file-browser/fs-memory-fields.d.ts +65 -0
  100. package/dist/modules/file-browser/fs-model.d.ts +15 -3
  101. package/dist/modules/file-browser/fs-read-file.d.ts +14 -0
  102. package/dist/modules/file-browser/index.d.ts +3 -2
  103. package/dist/modules/file-browser/locales/en-US.d.ts +5 -0
  104. package/dist/modules/file-browser/locales/zh-CN.d.ts +5 -0
  105. package/dist/modules/file-browser/style.css +4033 -483
  106. package/dist/modules/file-browser/types.d.ts +82 -20
  107. package/dist/modules/file-browser/use-browser-dashboards.d.ts +31 -0
  108. package/dist/modules/file-browser/use-dashboard-query.d.ts +9 -0
  109. package/dist/modules/file-browser/use-experience-dashboard.d.ts +27 -0
  110. package/dist/modules/file-browser/use-file-browser-acl.d.ts +15 -0
  111. package/dist/modules/file-browser/use-file-browser.d.ts +6 -51
  112. package/dist/modules/file-browser/use-fs-tree.d.ts +3 -0
  113. package/dist/modules/file-browser/use-wiki-dashboard.d.ts +17 -0
  114. package/dist/modules/file-browser/wiki-conflicts.d.ts +12 -0
  115. package/dist/modules/file-browser/wiki-dashboard-pane.d.ts +14 -0
  116. package/dist/modules/file-browser.js +1 -1
  117. package/dist/modules/scope-cascade/controller.d.ts +2 -2
  118. package/dist/modules/scope-cascade/index.d.ts +1 -2
  119. package/dist/modules/scope-cascade/scope-cascade.d.ts +1 -1
  120. package/dist/modules/scope-cascade/style.css +581 -39
  121. package/dist/modules/scope-cascade/types.d.ts +8 -3
  122. package/dist/modules/scope-cascade/use-scope-cascade.d.ts +2 -2
  123. package/dist/modules/scope-cascade.js +1 -1
  124. package/dist/modules/style.css +13589 -7966
  125. package/dist/n~0.js +73 -165
  126. package/dist/rt~0.js +255 -0
  127. package/dist/r~0.js +18 -39
  128. package/dist/shared/components/button/button.d.ts +20 -0
  129. package/dist/shared/components/input/input.d.ts +17 -0
  130. package/dist/shared/components/modal/locales/en-US.d.ts +4 -0
  131. package/dist/shared/components/modal/locales/zh-CN.d.ts +4 -0
  132. package/dist/shared/components/modal/modal.d.ts +2 -0
  133. package/dist/shared/components/modal/types.d.ts +18 -0
  134. package/dist/shared/components/overlay/lock-body-scroll.d.ts +1 -0
  135. package/dist/shared/components/popover/popover.d.ts +1 -1
  136. package/dist/shared/components/popover/types.d.ts +7 -1
  137. package/dist/shared/dashboard/dashboard-state.d.ts +12 -0
  138. package/dist/static/image/dashboard-background.png +0 -0
  139. package/dist/style.css +16088 -5602
  140. package/dist/s~0.js +16 -0
  141. package/dist/u~0.js +15 -6
  142. package/dist/viking-bot-composer~0.js +30 -12
  143. package/dist/viking-bot-interaction~0.js +2 -1
  144. package/package.json +14 -3
  145. package/dist/o~0.js +0 -106
@@ -1,4 +1,173 @@
1
- .ov-directory-tour, .ov-agent-connect, .ov-console, .ov-divider, .ov-file-browser-entries, .ov-drawer, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__popover, .ov-viking-bot__reference-picker--mention, .ov-viking-bot__interaction {
1
+ .ov-button {
2
+ --ov-ui-button-height: 32px;
3
+ --ov-ui-button-padding: 16px;
4
+ --ov-ui-button-primary: var(--ov-ui-color-primary, var(--ov-ui-primary-default));
5
+ --ov-ui-button-text: var(--ov-ui-color-text-2, var(--ov-ui-text-2-default));
6
+ --ov-ui-button-fill: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
7
+ --ov-ui-button-fill-hover: var(--ov-ui-color-bg-11, var(--ov-ui-bg-11-default));
8
+ --ov-ui-button-focus-ring: var(--ov-ui-color-neutral-4, var(--ov-ui-neutral-4-default));
9
+ appearance: none;
10
+ box-sizing: border-box;
11
+ height: var(--ov-ui-button-height);
12
+ padding: 0 var(--ov-ui-button-padding);
13
+ background: var(--ov-ui-button-fill);
14
+ color: var(--ov-ui-button-text);
15
+ white-space: nowrap;
16
+ cursor: pointer;
17
+ -webkit-user-select: none;
18
+ user-select: none;
19
+ border: 1px solid #0000;
20
+ border-radius: 6px;
21
+ flex-shrink: 0;
22
+ justify-content: center;
23
+ align-items: center;
24
+ gap: 8px;
25
+ margin: 0;
26
+ font-family: inherit;
27
+ font-size: 13px;
28
+ font-weight: 500;
29
+ line-height: 1.53846;
30
+ text-decoration: none;
31
+ transition: background-color .1s cubic-bezier(0, 0, 1, 1), border-color .1s cubic-bezier(0, 0, 1, 1), color .1s cubic-bezier(0, 0, 1, 1);
32
+ display: inline-flex;
33
+ }
34
+
35
+ .ov-button--mini {
36
+ --ov-ui-button-height: 24px;
37
+ --ov-ui-button-padding: 12px;
38
+ gap: 4px;
39
+ font-size: 12px;
40
+ }
41
+
42
+ .ov-button--small {
43
+ --ov-ui-button-height: 28px;
44
+ }
45
+
46
+ .ov-button--large {
47
+ --ov-ui-button-height: 36px;
48
+ }
49
+
50
+ .ov-button--icon-only {
51
+ width: var(--ov-ui-button-height);
52
+ padding: 0;
53
+ }
54
+
55
+ .ov-button--circle {
56
+ border-radius: 50%;
57
+ }
58
+
59
+ .ov-button--long {
60
+ width: 100%;
61
+ }
62
+
63
+ .ov-button:not(:disabled):not([aria-disabled="true"]):hover {
64
+ background: var(--ov-ui-button-fill-hover);
65
+ }
66
+
67
+ .ov-button:not(:disabled):not([aria-disabled="true"]):active {
68
+ background: var(--ov-ui-button-fill);
69
+ color: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
70
+ transition: none;
71
+ }
72
+
73
+ .ov-button:focus-visible {
74
+ box-shadow: 0 0 0 2px var(--ov-ui-button-focus-ring);
75
+ outline: none;
76
+ }
77
+
78
+ .ov-button:disabled:not(.ov-button--loading), .ov-button.ov-button--disabled, .ov-button[aria-disabled="true"] {
79
+ background: var(--ov-ui-color-bg-4, var(--ov-ui-bg-4-default));
80
+ cursor: not-allowed;
81
+ color: var(--ov-ui-color-text-disabled, var(--ov-ui-text-disabled-default));
82
+ }
83
+
84
+ .ov-button--primary, .ov-button--outline {
85
+ --ov-ui-button-focus-ring: var(--ov-ui-color-primary-disabled, var(--ov-ui-primary-disabled-default));
86
+ }
87
+
88
+ .ov-button--primary {
89
+ background: var(--ov-ui-button-primary);
90
+ color: var(--ov-ui-color-text-on-primary, var(--ov-ui-text-on-primary-default));
91
+ border-style: dashed;
92
+ }
93
+
94
+ .ov-button--primary:not(:disabled):not([aria-disabled="true"]):hover {
95
+ background: var(--ov-ui-color-primary-strong, var(--ov-ui-primary-strong-default));
96
+ color: var(--ov-ui-color-text-on-primary, var(--ov-ui-text-on-primary-default));
97
+ }
98
+
99
+ .ov-button--primary:not(:disabled):not([aria-disabled="true"]):active {
100
+ background: var(--ov-ui-button-primary);
101
+ color: var(--ov-ui-color-text-on-primary, var(--ov-ui-text-on-primary-default));
102
+ }
103
+
104
+ .ov-button--primary:disabled:not(.ov-button--loading), .ov-button--primary.ov-button--disabled, .ov-button--primary[aria-disabled="true"] {
105
+ background: var(--ov-ui-color-primary-disabled, var(--ov-ui-primary-disabled-default));
106
+ color: var(--ov-ui-color-text-on-primary-disabled, var(--ov-ui-on-primary-disabled-default));
107
+ }
108
+
109
+ .ov-button--outline, .ov-button--outline:disabled:not(.ov-button--loading), .ov-button--outline.ov-button--disabled, .ov-button--outline[aria-disabled="true"] {
110
+ border-color: var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
111
+ background: none;
112
+ }
113
+
114
+ .ov-button--outline:not(:disabled):not([aria-disabled="true"]):hover, .ov-button--outline:not(:disabled):not([aria-disabled="true"]):active {
115
+ background: var(--ov-ui-color-bg-7, var(--ov-ui-bg-7-default));
116
+ color: var(--ov-ui-button-text);
117
+ }
118
+
119
+ .ov-button--outline:not(:disabled):not([aria-disabled="true"]):active {
120
+ border-color: var(--ov-ui-color-border-4, var(--ov-ui-border-4-default));
121
+ }
122
+
123
+ .ov-button--text {
124
+ color: var(--ov-ui-color-link, var(--ov-ui-link-default));
125
+ background: none;
126
+ }
127
+
128
+ .ov-button--text:not(:disabled):not([aria-disabled="true"]):hover, .ov-button--text:disabled:not(.ov-button--loading), .ov-button--text.ov-button--disabled, .ov-button--text[aria-disabled="true"] {
129
+ color: var(--ov-ui-color-primary-muted, var(--ov-ui-primary-muted-default));
130
+ background: none;
131
+ }
132
+
133
+ .ov-button--text:not(:disabled):not([aria-disabled="true"]):active {
134
+ color: var(--ov-ui-color-link-active, var(--ov-ui-link-active-default));
135
+ background: none;
136
+ }
137
+
138
+ .ov-button__icon {
139
+ flex: none;
140
+ align-items: center;
141
+ display: inline-flex;
142
+ }
143
+
144
+ .ov-button__spinner {
145
+ box-sizing: border-box;
146
+ border: 1.5px solid;
147
+ border-inline-start-color: #0000;
148
+ border-radius: 50%;
149
+ width: 1em;
150
+ height: 1em;
151
+ animation: 1s linear infinite ov-button-spin;
152
+ }
153
+
154
+ @keyframes ov-button-spin {
155
+ to {
156
+ transform: rotate(360deg);
157
+ }
158
+ }
159
+
160
+ @media (prefers-reduced-motion: reduce) {
161
+ .ov-button {
162
+ transition: none;
163
+ }
164
+
165
+ .ov-button__spinner {
166
+ animation: none;
167
+ }
168
+ }
169
+
170
+ .ov-button, .ov-input, .ov-textarea, .ov-directory-tour, .ov-wiki-dashboard, .ov-experience-dashboard, .ov-agent-connect, .ov-console, .ov-divider, .ov-file-browser-entries, .ov-drawer, .ov-modal, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__popover, .ov-viking-bot__reference-picker--mention, .ov-viking-bot__interaction {
2
171
  --ov-ui-tour-shadow-default: 0 15px 35px #0000000d, 0 5px 15px #0000000d;
3
172
  --ov-ui-tour-highlight-default: #5252ff14;
4
173
  --ov-ui-primary-default: #5252ff;
@@ -35,9 +204,29 @@
35
204
  --ov-ui-overlay-default: #0006;
36
205
  --ov-ui-tooltip-bg-default: #1f2329;
37
206
  --ov-ui-tooltip-text-default: #fff;
38
- }
39
-
40
- .dark .ov-directory-tour, .dark .ov-agent-connect, .dark .ov-console, .dark .ov-divider, .dark .ov-file-browser-entries, .dark .ov-drawer, .dark .ov-file-browser, .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__popover, .dark .ov-viking-bot__reference-picker--mention, .dark .ov-viking-bot__interaction {
207
+ --ov-ui-library-swatch-1-default: linear-gradient(145deg,
208
+ #ffd8ec 8%,
209
+ #ffabc8 46%,
210
+ #d8cbff 100%);
211
+ --ov-ui-library-swatch-2-default: linear-gradient(145deg,
212
+ #d9e8ff 8%,
213
+ #b8a6ff 52%,
214
+ #f3d6ff 100%);
215
+ --ov-ui-library-swatch-3-default: linear-gradient(145deg,
216
+ #ffe6bc 8%,
217
+ #ffaf96 48%,
218
+ #ff8bc5 100%);
219
+ --ov-ui-library-swatch-4-default: linear-gradient(145deg,
220
+ #eaf7ba 8%,
221
+ #b5efb8 52%,
222
+ #73d9c6 100%);
223
+ --ov-ui-library-swatch-5-default: linear-gradient(145deg,
224
+ #fff1ba 8%,
225
+ #ffc776 52%,
226
+ #bd9cff 100%);
227
+ }
228
+
229
+ html.dark .ov-button, html.dark .ov-input, html.dark .ov-textarea, .dark .ov-directory-tour, html.dark .ov-wiki-dashboard, html.dark .ov-experience-dashboard, .dark .ov-agent-connect, .dark .ov-console, .dark .ov-divider, .dark .ov-file-browser-entries, .dark .ov-drawer, .dark .ov-modal, .dark .ov-file-browser, .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__popover, .dark .ov-viking-bot__reference-picker--mention, .dark .ov-viking-bot__interaction {
41
230
  --ov-ui-primary-default: #5f5fff;
42
231
  --ov-ui-primary-hover-default: #7075ff;
43
232
  --ov-ui-primary-active-default: #4242ba;
@@ -67,6 +256,52 @@
67
256
  --ov-ui-tooltip-text-default: #f0f1f3;
68
257
  }
69
258
 
259
+ .ov-button, .ov-input, .ov-textarea {
260
+ --ov-ui-bg-white-default: var(--ov-ui-bg-1-default);
261
+ --ov-ui-bg-2-default: #fafbfd;
262
+ --ov-ui-bg-7-default: var(--ov-ui-border-1-default);
263
+ --ov-ui-bg-11-default: #e1e3ef;
264
+ --ov-ui-border-4-default: #acb0c5;
265
+ --ov-ui-neutral-4-default: #c9cdd4;
266
+ --ov-ui-primary-muted-default: #8e96ff;
267
+ --ov-ui-primary-strong-default: var(--ov-ui-primary-active-default);
268
+ --ov-ui-link-default: var(--ov-ui-primary-default);
269
+ --ov-ui-link-active-default: var(--ov-ui-primary-active-default);
270
+ --ov-ui-text-5-default: #c9c9d4;
271
+ --ov-ui-on-primary-disabled-default: var(--ov-ui-text-on-primary-default);
272
+ --ov-ui-input-focus-ring-default: color-mix(in srgb,
273
+ var(--ov-ui-color-primary, var(--ov-ui-primary-default)) 30%,
274
+ transparent);
275
+ --ov-ui-error-default: #e31b54;
276
+ --ov-ui-error-bg-default: #ffecec;
277
+ --ov-ui-error-border-default: #ffa3a0;
278
+ }
279
+
280
+ html.dark .ov-button, html.dark .ov-input, html.dark .ov-textarea {
281
+ --ov-ui-bg-white-default: #fff0;
282
+ --ov-ui-bg-2-default: #fcfdfe03;
283
+ --ov-ui-bg-4-default: #f6f8fa0f;
284
+ --ov-ui-bg-5-default: #f1f3f514;
285
+ --ov-ui-bg-7-default: #1a1b1e;
286
+ --ov-ui-bg-11-default: #1e2023;
287
+ --ov-ui-border-2-default: #dde2e926;
288
+ --ov-ui-border-3-default: #dde2e94d;
289
+ --ov-ui-border-4-default: #6d6d6d;
290
+ --ov-ui-neutral-4-default: #5f5f60;
291
+ --ov-ui-primary-disabled-default: #3f3a89;
292
+ --ov-ui-primary-muted-default: #4c48b4;
293
+ --ov-ui-primary-strong-default: var(--ov-ui-primary-hover-default);
294
+ --ov-ui-link-default: #787dff;
295
+ --ov-ui-link-active-default: #949cff;
296
+ --ov-ui-text-disabled-default: #42464e;
297
+ --ov-ui-text-5-default: #e1e3ef;
298
+ --ov-ui-on-primary-disabled-default: #ffffff4d;
299
+ --ov-ui-input-focus-ring-default: #4583ff4d;
300
+ --ov-ui-error-default: #ff706d;
301
+ --ov-ui-error-bg-default: #9f211c33;
302
+ --ov-ui-error-border-default: #ff706d4d;
303
+ }
304
+
70
305
  .dark .ov-viking-bot {
71
306
  --ov-ui-code-bg-default: var(--ov-ui-bg-3-default);
72
307
  }
@@ -91,6 +326,30 @@
91
326
  --ov-ui-connect-notice-default: var(--ov-ui-text-2-default);
92
327
  }
93
328
 
329
+ .ov-wiki-dashboard, .ov-experience-dashboard, .ov-file-browser {
330
+ --ov-ui-dashboard-surface-default: #f8f8f8;
331
+ --ov-ui-dashboard-card-default: #fafafa;
332
+ --ov-ui-dashboard-muted-default: #787c91;
333
+ --ov-ui-dashboard-border-default: #edeef2;
334
+ --ov-ui-dashboard-warning-default: #eb7d00;
335
+ --ov-ui-dashboard-warning-light-default: #fff0e5;
336
+ --ov-ui-dashboard-danger-default: #d92d54;
337
+ --ov-ui-dashboard-danger-light-default: #ffecee;
338
+ --ov-ui-dashboard-success-default: #4f9c70;
339
+ }
340
+
341
+ html.dark .ov-wiki-dashboard, html.dark .ov-experience-dashboard, html.dark .ov-file-browser {
342
+ --ov-ui-dashboard-surface-default: var(--ov-ui-bg-3-default);
343
+ --ov-ui-dashboard-card-default: var(--ov-ui-bg-3-default);
344
+ --ov-ui-dashboard-muted-default: var(--ov-ui-text-3-default);
345
+ --ov-ui-dashboard-border-default: var(--ov-ui-border-1-default);
346
+ --ov-ui-dashboard-warning-default: var(--ov-ui-warning-default);
347
+ --ov-ui-dashboard-warning-light-default: var(--ov-ui-warning-light-default);
348
+ --ov-ui-dashboard-danger-default: var(--ov-ui-status-error-default);
349
+ --ov-ui-dashboard-danger-light-default: var(--ov-ui-bg-5-default);
350
+ --ov-ui-dashboard-success-default: var(--ov-ui-status-success-default);
351
+ }
352
+
94
353
  .ov-tooltip {
95
354
  --ov-ui-tooltip-bg: var(--ov-ui-color-tooltip-bg, var(--ov-ui-tooltip-bg-default, #1f2329));
96
355
  --ov-ui-tooltip-text: var(--ov-ui-color-tooltip-text, var(--ov-ui-tooltip-text-default, #fff));
@@ -231,7 +490,7 @@
231
490
  opacity: .5;
232
491
  }
233
492
 
234
- .ov-file-preview__tab:focus-visible, .ov-file-preview__action:focus-visible, .ov-file-preview__button:focus-visible, .ov-file-preview__switch-item:focus-visible, .ov-file-preview__breadcrumb-link:focus-visible {
493
+ .ov-file-preview__tab:focus-visible, .ov-file-preview__breadcrumb-link:focus-visible {
235
494
  outline: 2px solid var(--ov-ui-file-preview-focus-ring);
236
495
  outline-offset: 1px;
237
496
  }
@@ -395,7 +654,7 @@
395
654
  overflow-y: auto;
396
655
  }
397
656
 
398
- .ov-file-preview__breadcrumb-menu button {
657
+ .ov-file-preview__breadcrumb-menu button:not(.ov-button) {
399
658
  box-sizing: border-box;
400
659
  border-radius: calc(var(--ov-ui-radius, 6px) - 2px);
401
660
  max-width: 320px;
@@ -412,31 +671,13 @@
412
671
  overflow: hidden;
413
672
  }
414
673
 
415
- .ov-file-preview__breadcrumb-menu button:hover:not(:disabled) {
674
+ .ov-file-preview__breadcrumb-menu button:not(.ov-button):hover:not(:disabled) {
416
675
  background: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default, #f1f2f9));
417
676
  }
418
677
 
419
678
  .ov-file-preview__action {
420
679
  box-sizing: border-box;
421
- width: 28px;
422
- height: 28px;
423
- color: var(--ov-ui-file-preview-text-path);
424
- font: inherit;
425
- cursor: pointer;
426
- background: none;
427
- border: 1px solid #0000;
428
- border-radius: 6px;
429
680
  flex: none;
430
- justify-content: center;
431
- align-items: center;
432
- padding: 0;
433
- transition: background-color .16s, border-color .16s;
434
- display: inline-flex;
435
- }
436
-
437
- .ov-file-preview__action:hover:not(:disabled) {
438
- background: var(--ov-ui-file-preview-row-hover);
439
- color: var(--ov-ui-file-preview-text);
440
681
  }
441
682
 
442
683
  .ov-file-preview__action--outlined {
@@ -449,11 +690,6 @@
449
690
  border-color: var(--ov-ui-file-preview-text-muted);
450
691
  }
451
692
 
452
- .ov-file-preview__action:disabled {
453
- cursor: not-allowed;
454
- opacity: .4;
455
- }
456
-
457
693
  .ov-file-preview__switch {
458
694
  box-sizing: border-box;
459
695
  background: var(--ov-ui-file-preview-row-hover);
@@ -469,60 +705,13 @@
469
705
 
470
706
  .ov-file-preview__switch-item {
471
707
  box-sizing: border-box;
472
- min-width: 50px;
473
- height: 24px;
474
- color: var(--ov-ui-file-preview-text-muted);
475
- font: inherit;
476
708
  white-space: nowrap;
477
- cursor: pointer;
478
- background: none;
479
- border: 0;
480
- border-radius: 6px;
481
- justify-content: center;
482
- align-items: center;
709
+ min-width: 50px;
483
710
  margin: 0;
484
- padding: 0 12px;
485
- font-size: 13px;
486
- line-height: 22px;
487
- transition: background-color .16s, color .16s;
488
- display: inline-flex;
489
- }
490
-
491
- .ov-file-preview__switch-item:hover:not([data-active]):not(:disabled) {
492
- color: var(--ov-ui-file-preview-text);
493
- }
494
-
495
- .ov-file-preview__switch-item[data-active] {
496
- background: var(--ov-ui-file-preview-surface);
497
- box-shadow: 0 0 0 1px var(--ov-ui-file-preview-border);
498
- color: var(--ov-ui-file-preview-text);
499
- font-weight: 500;
500
711
  }
501
712
 
502
713
  .ov-file-preview__button {
503
- border: 1px solid var(--ov-ui-file-preview-border);
504
- border-radius: var(--ov-ui-radius, 6px);
505
- color: inherit;
506
- font: inherit;
507
- cursor: pointer;
508
- background: none;
509
714
  flex: none;
510
- padding: 2px 10px;
511
- }
512
-
513
- .ov-file-preview__button:hover:not(:disabled) {
514
- background: var(--ov-ui-file-preview-row-hover);
515
- }
516
-
517
- .ov-file-preview__button--primary {
518
- border-color: var(--ov-ui-file-preview-accent);
519
- background: var(--ov-ui-file-preview-accent);
520
- color: #fff;
521
- }
522
-
523
- .ov-file-preview__button:disabled {
524
- cursor: not-allowed;
525
- opacity: .5;
526
715
  }
527
716
 
528
717
  .ov-file-preview__body {
@@ -1,11 +1,11 @@
1
1
  import type { ResolvedLabels } from './file-tree-row-context.js';
2
2
  import type { FileTreeProps } from './types.js';
3
- type ToolbarProps = Pick<FileTreeProps, 'search' | 'refresh'> & {
4
- text: ResolvedLabels;
3
+ type ToolbarProps = Pick<FileTreeProps, 'search' | 'refresh' | 'loading' | 'className'> & {
4
+ text: Pick<ResolvedLabels, 'search' | 'refresh'>;
5
5
  refreshing: boolean;
6
6
  onSearch?: () => void;
7
7
  onRefresh?: () => void;
8
8
  };
9
9
  /** Optional host-driven search and refresh controls; no data fetching here. */
10
- export declare function FileTreeToolbar({ search, refresh, text, refreshing, onSearch, onRefresh, }: ToolbarProps): import("react").JSX.Element | null;
10
+ export declare function FileTreeToolbar({ search, refresh, loading, text, refreshing, onSearch, onRefresh, className, }: ToolbarProps): import("react").JSX.Element | null;
11
11
  export {};
@@ -1,4 +1,7 @@
1
1
  declare const messages: {
2
+ readOnly: string;
3
+ noAccess: string;
4
+ traverseOnly: string;
2
5
  search: string;
3
6
  refresh: string;
4
7
  empty: string;
@@ -1,4 +1,7 @@
1
1
  declare const messages: {
2
+ readOnly: string;
3
+ noAccess: string;
4
+ traverseOnly: string;
2
5
  search: string;
3
6
  refresh: string;
4
7
  empty: string;