@openviking/react 0.1.6 → 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 (94) hide show
  1. package/README.md +2 -0
  2. package/dist/2~0.js +6 -5
  3. package/dist/3c~0.js +10 -4
  4. package/dist/3~0.js +18 -8
  5. package/dist/ae~0.js +8 -1
  6. package/dist/ark-message-list-view~0.js +9 -4
  7. package/dist/a~0.js +12 -6
  8. package/dist/c7r~0.js +50 -0
  9. package/dist/ck~0.js +3 -0
  10. package/dist/client/paths.d.ts +6 -0
  11. package/dist/client/provider.d.ts +6 -1
  12. package/dist/components/agent-connect/style.css +222 -35
  13. package/dist/components/directory-tour/style.css +221 -21
  14. package/dist/components/directory-tour.js +1 -1
  15. package/dist/components/experience-dashboard/style.css +227 -12
  16. package/dist/components/experience-dashboard.js +1 -1
  17. package/dist/components/file-browser-entries/style.css +325 -80
  18. package/dist/components/file-preview/style.css +221 -76
  19. package/dist/components/file-tree/file-tree-toolbar.d.ts +3 -3
  20. package/dist/components/file-tree/locales/en-US.d.ts +3 -0
  21. package/dist/components/file-tree/locales/zh-CN.d.ts +3 -0
  22. package/dist/components/file-tree/style.css +311 -86
  23. package/dist/components/file-tree/types.d.ts +13 -4
  24. package/dist/components/scope-switcher/style.css +366 -37
  25. package/dist/components/scope-switcher.js +1 -1
  26. package/dist/components/style.css +3329 -640
  27. package/dist/components/tui/style.css +267 -35
  28. package/dist/components/viking-bot/interaction/style.css +143 -22
  29. package/dist/components/viking-bot/style.css +945 -295
  30. package/dist/components/wiki-dashboard/style.css +227 -12
  31. package/dist/c~0.js +16 -8
  32. package/dist/ep~0.js +345 -0
  33. package/dist/e~0.js +33 -328
  34. package/dist/fj~0.js +8 -4
  35. package/dist/fl~0.js +709 -0
  36. package/dist/f~0.js +302 -663
  37. package/dist/index.js +3 -3
  38. package/dist/lk~0.js +6 -3
  39. package/dist/l~0.js +1874 -437
  40. package/dist/modules/console/style.css +1471 -351
  41. package/dist/modules/file-browser/acl/acl-add-principal.d.ts +12 -0
  42. package/dist/modules/file-browser/acl/acl-candidate.d.ts +8 -0
  43. package/dist/modules/file-browser/acl/acl-client.d.ts +13 -0
  44. package/dist/modules/file-browser/acl/acl-confirmation.d.ts +6 -0
  45. package/dist/modules/file-browser/acl/acl-entry.d.ts +13 -0
  46. package/dist/modules/file-browser/acl/acl-labels.d.ts +47 -0
  47. package/dist/modules/file-browser/acl/acl-menu.d.ts +10 -0
  48. package/dist/modules/file-browser/acl/acl-modal.d.ts +17 -0
  49. package/dist/modules/file-browser/acl/acl-model.d.ts +17 -0
  50. package/dist/modules/file-browser/acl/acl-principal-tabs.d.ts +6 -0
  51. package/dist/modules/file-browser/acl/acl-tag.d.ts +7 -0
  52. package/dist/modules/file-browser/acl/locales/en-US.d.ts +44 -0
  53. package/dist/modules/file-browser/acl/locales/zh-CN.d.ts +44 -0
  54. package/dist/modules/file-browser/acl/use-acl-principals.d.ts +17 -0
  55. package/dist/modules/file-browser/acl/use-acl-report.d.ts +27 -0
  56. package/dist/modules/file-browser/acl-types.d.ts +86 -0
  57. package/dist/modules/file-browser/dashboard-model.d.ts +3 -0
  58. package/dist/modules/file-browser/file-browser-detail.d.ts +4 -1
  59. package/dist/modules/file-browser/file-browser-labels.d.ts +1 -1
  60. package/dist/modules/file-browser/file-browser-search.d.ts +20 -0
  61. package/dist/modules/file-browser/file-browser-toolbar.d.ts +3 -10
  62. package/dist/modules/file-browser/file-browser-tree-pane.d.ts +2 -6
  63. package/dist/modules/file-browser/file-browser.d.ts +1 -1
  64. package/dist/modules/file-browser/fs-directories.d.ts +1 -0
  65. package/dist/modules/file-browser/fs-model.d.ts +3 -1
  66. package/dist/modules/file-browser/index.d.ts +1 -0
  67. package/dist/modules/file-browser/locales/en-US.d.ts +5 -0
  68. package/dist/modules/file-browser/locales/zh-CN.d.ts +5 -0
  69. package/dist/modules/file-browser/style.css +2409 -603
  70. package/dist/modules/file-browser/types.d.ts +20 -20
  71. package/dist/modules/file-browser/use-file-browser-acl.d.ts +15 -0
  72. package/dist/modules/file-browser/use-file-browser.d.ts +5 -7
  73. package/dist/modules/file-browser/use-fs-tree.d.ts +1 -0
  74. package/dist/modules/scope-cascade/style.css +535 -37
  75. package/dist/modules/style.css +12227 -8757
  76. package/dist/n~0.js +60 -36
  77. package/dist/rt~0.js +107 -4
  78. package/dist/r~0.js +1 -1
  79. package/dist/shared/components/button/button.d.ts +20 -0
  80. package/dist/shared/components/input/input.d.ts +17 -0
  81. package/dist/shared/components/modal/locales/en-US.d.ts +4 -0
  82. package/dist/shared/components/modal/locales/zh-CN.d.ts +4 -0
  83. package/dist/shared/components/modal/modal.d.ts +2 -0
  84. package/dist/shared/components/modal/types.d.ts +18 -0
  85. package/dist/shared/components/overlay/lock-body-scroll.d.ts +1 -0
  86. package/dist/style.css +7776 -1571
  87. package/dist/s~0.js +16 -0
  88. package/dist/u~0.js +15 -6
  89. package/dist/viking-bot-composer~0.js +29 -11
  90. package/dist/viking-bot-interaction~0.js +2 -1
  91. package/package.json +3 -2
  92. package/dist/fi~0.js +0 -354
  93. package/dist/modules/file-browser/fs-selection.d.ts +0 -4
  94. package/dist/o~0.js +0 -106
@@ -1,4 +1,482 @@
1
- .ov-directory-tour, .ov-wiki-dashboard, .ov-experience-dashboard, .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-input, .ov-textarea {
171
+ --ov-ui-input-height: 32px;
172
+ --ov-ui-input-bg: var(--ov-ui-color-bg-white, var(--ov-ui-bg-white-default));
173
+ --ov-ui-input-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
174
+ --ov-ui-input-muted: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default));
175
+ --ov-ui-input-border: var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
176
+ --ov-ui-input-focus: var(--ov-ui-color-focus, var(--ov-ui-color-link, var(--ov-ui-link-default)));
177
+ box-sizing: border-box;
178
+ border: 1px solid var(--ov-ui-input-border);
179
+ background: var(--ov-ui-input-bg);
180
+ width: 100%;
181
+ min-width: 0;
182
+ color: var(--ov-ui-input-text);
183
+ border-radius: 6px;
184
+ margin: 0;
185
+ padding: 0 12px;
186
+ font-family: inherit;
187
+ font-size: 13px;
188
+ line-height: 1.53846;
189
+ transition: color .1s cubic-bezier(0, 0, 1, 1), border-color .1s cubic-bezier(0, 0, 1, 1), background-color .1s cubic-bezier(0, 0, 1, 1);
190
+ }
191
+
192
+ .ov-input {
193
+ height: var(--ov-ui-input-height);
194
+ vertical-align: middle;
195
+ align-items: center;
196
+ gap: 12px;
197
+ display: inline-flex;
198
+ }
199
+
200
+ .ov-input--mini {
201
+ --ov-ui-input-height: 24px;
202
+ border-radius: 4px;
203
+ font-size: 12px;
204
+ line-height: 1.667;
205
+ }
206
+
207
+ .ov-input--small {
208
+ --ov-ui-input-height: 28px;
209
+ }
210
+
211
+ .ov-input--large {
212
+ --ov-ui-input-height: calc(1.53846em + 14px);
213
+ padding-inline: 16px;
214
+ font-size: 14px;
215
+ }
216
+
217
+ .ov-input__element {
218
+ appearance: none;
219
+ box-sizing: border-box;
220
+ width: 100%;
221
+ min-width: 0;
222
+ height: 100%;
223
+ color: inherit;
224
+ caret-color: var(--ov-ui-input-focus);
225
+ font: inherit;
226
+ background: none;
227
+ border: 0;
228
+ border-radius: 0;
229
+ outline: none;
230
+ margin: 0;
231
+ padding: 0;
232
+ }
233
+
234
+ .ov-input__element::placeholder, .ov-textarea::placeholder {
235
+ color: var(--ov-ui-input-muted);
236
+ opacity: 1;
237
+ }
238
+
239
+ .ov-input__affix {
240
+ color: var(--ov-ui-color-text-2, var(--ov-ui-text-2-default));
241
+ flex: none;
242
+ align-items: center;
243
+ display: inline-flex;
244
+ }
245
+
246
+ .ov-input:not(.ov-input--disabled):not(:focus-within):hover, .ov-textarea:not(:disabled):not(:focus):hover {
247
+ border-color: var(--ov-ui-color-border-4, var(--ov-ui-border-4-default));
248
+ }
249
+
250
+ .ov-input:focus-within, .ov-textarea:focus {
251
+ border-color: var(--ov-ui-input-focus);
252
+ box-shadow: 0 0 0 2px
253
+ var(--ov-ui-color-focus-ring, var(--ov-ui-input-focus-ring-default));
254
+ outline: none;
255
+ }
256
+
257
+ .ov-input:has(.ov-input__affix):focus-within {
258
+ box-shadow: 0 0 0 2px
259
+ color-mix(in srgb,
260
+ var(--ov-ui-color-primary, var(--ov-ui-primary-default)) 30%,
261
+ transparent);
262
+ }
263
+
264
+ .ov-input:has([aria-invalid="true"]), .ov-textarea[aria-invalid="true"] {
265
+ border-color: var(--ov-ui-color-error-border, var(--ov-ui-error-border-default));
266
+ background: var(--ov-ui-color-error-bg, var(--ov-ui-error-bg-default));
267
+ }
268
+
269
+ .ov-input:has([aria-invalid="true"]):is(:hover, :focus-within), .ov-textarea[aria-invalid="true"]:is(:hover, :focus) {
270
+ border-color: var(--ov-ui-color-error, var(--ov-ui-error-default));
271
+ }
272
+
273
+ .ov-input:has([aria-invalid="true"]):focus-within, .ov-textarea[aria-invalid="true"]:focus {
274
+ background: var(--ov-ui-input-bg);
275
+ box-shadow: 0 0 0 2px
276
+ color-mix(in srgb,
277
+ var(--ov-ui-color-error, var(--ov-ui-error-default)) 30%,
278
+ transparent);
279
+ }
280
+
281
+ .ov-input--disabled, .ov-textarea:disabled {
282
+ background: var(--ov-ui-color-bg-2, var(--ov-ui-bg-2-default));
283
+ border-color: var(--ov-ui-input-border);
284
+ }
285
+
286
+ .ov-input--disabled, .ov-input__element:disabled, .ov-textarea:disabled {
287
+ cursor: not-allowed;
288
+ color: var(--ov-ui-input-muted);
289
+ opacity: 1;
290
+ }
291
+
292
+ .ov-input--disabled .ov-input__element::placeholder, .ov-textarea:disabled::placeholder {
293
+ color: var(--ov-ui-color-text-5, var(--ov-ui-text-5-default));
294
+ }
295
+
296
+ .ov-textarea {
297
+ resize: vertical;
298
+ min-height: 32px;
299
+ padding-block: 4px;
300
+ line-height: 1.6923;
301
+ display: block;
302
+ }
303
+
304
+ @media (prefers-reduced-motion: reduce) {
305
+ .ov-input, .ov-textarea {
306
+ transition: none;
307
+ }
308
+ }
309
+
310
+ .ov-button {
311
+ --ov-ui-button-height: 32px;
312
+ --ov-ui-button-padding: 16px;
313
+ --ov-ui-button-primary: var(--ov-ui-color-primary, var(--ov-ui-primary-default));
314
+ --ov-ui-button-text: var(--ov-ui-color-text-2, var(--ov-ui-text-2-default));
315
+ --ov-ui-button-fill: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
316
+ --ov-ui-button-fill-hover: var(--ov-ui-color-bg-11, var(--ov-ui-bg-11-default));
317
+ --ov-ui-button-focus-ring: var(--ov-ui-color-neutral-4, var(--ov-ui-neutral-4-default));
318
+ appearance: none;
319
+ box-sizing: border-box;
320
+ height: var(--ov-ui-button-height);
321
+ padding: 0 var(--ov-ui-button-padding);
322
+ background: var(--ov-ui-button-fill);
323
+ color: var(--ov-ui-button-text);
324
+ white-space: nowrap;
325
+ cursor: pointer;
326
+ -webkit-user-select: none;
327
+ user-select: none;
328
+ border: 1px solid #0000;
329
+ border-radius: 6px;
330
+ flex-shrink: 0;
331
+ justify-content: center;
332
+ align-items: center;
333
+ gap: 8px;
334
+ margin: 0;
335
+ font-family: inherit;
336
+ font-size: 13px;
337
+ font-weight: 500;
338
+ line-height: 1.53846;
339
+ text-decoration: none;
340
+ 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);
341
+ display: inline-flex;
342
+ }
343
+
344
+ .ov-button--mini {
345
+ --ov-ui-button-height: 24px;
346
+ --ov-ui-button-padding: 12px;
347
+ gap: 4px;
348
+ font-size: 12px;
349
+ }
350
+
351
+ .ov-button--small {
352
+ --ov-ui-button-height: 28px;
353
+ }
354
+
355
+ .ov-button--large {
356
+ --ov-ui-button-height: 36px;
357
+ }
358
+
359
+ .ov-button--icon-only {
360
+ width: var(--ov-ui-button-height);
361
+ padding: 0;
362
+ }
363
+
364
+ .ov-button--circle {
365
+ border-radius: 50%;
366
+ }
367
+
368
+ .ov-button--long {
369
+ width: 100%;
370
+ }
371
+
372
+ .ov-button:not(:disabled):not([aria-disabled="true"]):hover {
373
+ background: var(--ov-ui-button-fill-hover);
374
+ }
375
+
376
+ .ov-button:not(:disabled):not([aria-disabled="true"]):active {
377
+ background: var(--ov-ui-button-fill);
378
+ color: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
379
+ transition: none;
380
+ }
381
+
382
+ .ov-button:focus-visible {
383
+ box-shadow: 0 0 0 2px var(--ov-ui-button-focus-ring);
384
+ outline: none;
385
+ }
386
+
387
+ .ov-button:disabled:not(.ov-button--loading), .ov-button.ov-button--disabled, .ov-button[aria-disabled="true"] {
388
+ background: var(--ov-ui-color-bg-4, var(--ov-ui-bg-4-default));
389
+ cursor: not-allowed;
390
+ color: var(--ov-ui-color-text-disabled, var(--ov-ui-text-disabled-default));
391
+ }
392
+
393
+ .ov-button--primary, .ov-button--outline {
394
+ --ov-ui-button-focus-ring: var(--ov-ui-color-primary-disabled, var(--ov-ui-primary-disabled-default));
395
+ }
396
+
397
+ .ov-button--primary {
398
+ background: var(--ov-ui-button-primary);
399
+ color: var(--ov-ui-color-text-on-primary, var(--ov-ui-text-on-primary-default));
400
+ border-style: dashed;
401
+ }
402
+
403
+ .ov-button--primary:not(:disabled):not([aria-disabled="true"]):hover {
404
+ background: var(--ov-ui-color-primary-strong, var(--ov-ui-primary-strong-default));
405
+ color: var(--ov-ui-color-text-on-primary, var(--ov-ui-text-on-primary-default));
406
+ }
407
+
408
+ .ov-button--primary:not(:disabled):not([aria-disabled="true"]):active {
409
+ background: var(--ov-ui-button-primary);
410
+ color: var(--ov-ui-color-text-on-primary, var(--ov-ui-text-on-primary-default));
411
+ }
412
+
413
+ .ov-button--primary:disabled:not(.ov-button--loading), .ov-button--primary.ov-button--disabled, .ov-button--primary[aria-disabled="true"] {
414
+ background: var(--ov-ui-color-primary-disabled, var(--ov-ui-primary-disabled-default));
415
+ color: var(--ov-ui-color-text-on-primary-disabled, var(--ov-ui-on-primary-disabled-default));
416
+ }
417
+
418
+ .ov-button--outline, .ov-button--outline:disabled:not(.ov-button--loading), .ov-button--outline.ov-button--disabled, .ov-button--outline[aria-disabled="true"] {
419
+ border-color: var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
420
+ background: none;
421
+ }
422
+
423
+ .ov-button--outline:not(:disabled):not([aria-disabled="true"]):hover, .ov-button--outline:not(:disabled):not([aria-disabled="true"]):active {
424
+ background: var(--ov-ui-color-bg-7, var(--ov-ui-bg-7-default));
425
+ color: var(--ov-ui-button-text);
426
+ }
427
+
428
+ .ov-button--outline:not(:disabled):not([aria-disabled="true"]):active {
429
+ border-color: var(--ov-ui-color-border-4, var(--ov-ui-border-4-default));
430
+ }
431
+
432
+ .ov-button--text {
433
+ color: var(--ov-ui-color-link, var(--ov-ui-link-default));
434
+ background: none;
435
+ }
436
+
437
+ .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"] {
438
+ color: var(--ov-ui-color-primary-muted, var(--ov-ui-primary-muted-default));
439
+ background: none;
440
+ }
441
+
442
+ .ov-button--text:not(:disabled):not([aria-disabled="true"]):active {
443
+ color: var(--ov-ui-color-link-active, var(--ov-ui-link-active-default));
444
+ background: none;
445
+ }
446
+
447
+ .ov-button__icon {
448
+ flex: none;
449
+ align-items: center;
450
+ display: inline-flex;
451
+ }
452
+
453
+ .ov-button__spinner {
454
+ box-sizing: border-box;
455
+ border: 1.5px solid;
456
+ border-inline-start-color: #0000;
457
+ border-radius: 50%;
458
+ width: 1em;
459
+ height: 1em;
460
+ animation: 1s linear infinite ov-button-spin;
461
+ }
462
+
463
+ @keyframes ov-button-spin {
464
+ to {
465
+ transform: rotate(360deg);
466
+ }
467
+ }
468
+
469
+ @media (prefers-reduced-motion: reduce) {
470
+ .ov-button {
471
+ transition: none;
472
+ }
473
+
474
+ .ov-button__spinner {
475
+ animation: none;
476
+ }
477
+ }
478
+
479
+ .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
480
  --ov-ui-tour-shadow-default: 0 15px 35px #0000000d, 0 5px 15px #0000000d;
3
481
  --ov-ui-tour-highlight-default: #5252ff14;
4
482
  --ov-ui-primary-default: #5252ff;
@@ -57,7 +535,7 @@
57
535
  #bd9cff 100%);
58
536
  }
59
537
 
60
- .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-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 {
538
+ 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 {
61
539
  --ov-ui-primary-default: #5f5fff;
62
540
  --ov-ui-primary-hover-default: #7075ff;
63
541
  --ov-ui-primary-active-default: #4242ba;
@@ -87,6 +565,52 @@
87
565
  --ov-ui-tooltip-text-default: #f0f1f3;
88
566
  }
89
567
 
568
+ .ov-button, .ov-input, .ov-textarea {
569
+ --ov-ui-bg-white-default: var(--ov-ui-bg-1-default);
570
+ --ov-ui-bg-2-default: #fafbfd;
571
+ --ov-ui-bg-7-default: var(--ov-ui-border-1-default);
572
+ --ov-ui-bg-11-default: #e1e3ef;
573
+ --ov-ui-border-4-default: #acb0c5;
574
+ --ov-ui-neutral-4-default: #c9cdd4;
575
+ --ov-ui-primary-muted-default: #8e96ff;
576
+ --ov-ui-primary-strong-default: var(--ov-ui-primary-active-default);
577
+ --ov-ui-link-default: var(--ov-ui-primary-default);
578
+ --ov-ui-link-active-default: var(--ov-ui-primary-active-default);
579
+ --ov-ui-text-5-default: #c9c9d4;
580
+ --ov-ui-on-primary-disabled-default: var(--ov-ui-text-on-primary-default);
581
+ --ov-ui-input-focus-ring-default: color-mix(in srgb,
582
+ var(--ov-ui-color-primary, var(--ov-ui-primary-default)) 30%,
583
+ transparent);
584
+ --ov-ui-error-default: #e31b54;
585
+ --ov-ui-error-bg-default: #ffecec;
586
+ --ov-ui-error-border-default: #ffa3a0;
587
+ }
588
+
589
+ html.dark .ov-button, html.dark .ov-input, html.dark .ov-textarea {
590
+ --ov-ui-bg-white-default: #fff0;
591
+ --ov-ui-bg-2-default: #fcfdfe03;
592
+ --ov-ui-bg-4-default: #f6f8fa0f;
593
+ --ov-ui-bg-5-default: #f1f3f514;
594
+ --ov-ui-bg-7-default: #1a1b1e;
595
+ --ov-ui-bg-11-default: #1e2023;
596
+ --ov-ui-border-2-default: #dde2e926;
597
+ --ov-ui-border-3-default: #dde2e94d;
598
+ --ov-ui-border-4-default: #6d6d6d;
599
+ --ov-ui-neutral-4-default: #5f5f60;
600
+ --ov-ui-primary-disabled-default: #3f3a89;
601
+ --ov-ui-primary-muted-default: #4c48b4;
602
+ --ov-ui-primary-strong-default: var(--ov-ui-primary-hover-default);
603
+ --ov-ui-link-default: #787dff;
604
+ --ov-ui-link-active-default: #949cff;
605
+ --ov-ui-text-disabled-default: #42464e;
606
+ --ov-ui-text-5-default: #e1e3ef;
607
+ --ov-ui-on-primary-disabled-default: #ffffff4d;
608
+ --ov-ui-input-focus-ring-default: #4583ff4d;
609
+ --ov-ui-error-default: #ff706d;
610
+ --ov-ui-error-bg-default: #9f211c33;
611
+ --ov-ui-error-border-default: #ff706d4d;
612
+ }
613
+
90
614
  .dark .ov-viking-bot {
91
615
  --ov-ui-code-bg-default: var(--ov-ui-bg-3-default);
92
616
  }
@@ -208,11 +732,11 @@ html.dark .ov-wiki-dashboard, html.dark .ov-experience-dashboard, html.dark .ov-
208
732
  display: inline-flex;
209
733
  }
210
734
 
211
- button.ov-scope-switcher__trigger {
735
+ button:not(.ov-button).ov-scope-switcher__trigger {
212
736
  cursor: pointer;
213
737
  }
214
738
 
215
- button.ov-scope-switcher__trigger:hover:not(:disabled), button.ov-scope-switcher__trigger:focus-visible, button.ov-scope-switcher__trigger[aria-expanded="true"] {
739
+ button:not(.ov-button).ov-scope-switcher__trigger:hover:not(:disabled), button:not(.ov-button).ov-scope-switcher__trigger:focus-visible, button:not(.ov-button).ov-scope-switcher__trigger[aria-expanded="true"] {
216
740
  border-color: var(--ov-ui-color-primary, var(--ov-ui-primary-default, #5252ff));
217
741
  }
218
742
 
@@ -325,21 +849,13 @@ button.ov-scope-switcher__trigger:hover:not(:disabled), button.ov-scope-switcher
325
849
  display: flex;
326
850
  }
327
851
 
328
- .ov-scope-switcher__search-field {
329
- border: 1px solid
330
- var(--ov-ui-color-border-3, var(--ov-ui-border-3-default, #d7daea));
331
- background: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default, #fff));
332
- border-radius: 6px;
852
+ .ov-scope-switcher .ov-scope-switcher__search-field {
853
+ background: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default));
333
854
  flex-shrink: 0;
334
- align-items: center;
335
855
  gap: 4px;
336
- height: 28px;
337
- padding: 3px 8px;
338
- display: flex;
339
- }
340
-
341
- .ov-scope-switcher__search-field:focus-within {
342
- border-color: var(--ov-ui-color-primary, var(--ov-ui-primary-default, #5252ff));
856
+ padding-inline: 8px;
857
+ font-size: 12px;
858
+ line-height: 22px;
343
859
  }
344
860
 
345
861
  .ov-scope-switcher__search-icon {
@@ -349,24 +865,6 @@ button.ov-scope-switcher__trigger:hover:not(:disabled), button.ov-scope-switcher
349
865
  flex: 0 0 16px;
350
866
  }
351
867
 
352
- .ov-scope-switcher__search {
353
- min-width: 0;
354
- height: 100%;
355
- color: inherit;
356
- font: inherit;
357
- background: none;
358
- border: 0;
359
- outline: none;
360
- flex: 1;
361
- padding: 0;
362
- font-size: 12px;
363
- line-height: 22px;
364
- }
365
-
366
- .ov-scope-switcher__search::placeholder {
367
- color: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default, #6e718c));
368
- }
369
-
370
868
  .ov-scope-switcher__list {
371
869
  gap: var(--ov-ui-scope-switcher-option-gap);
372
870
  min-height: 0;
@@ -474,7 +972,7 @@ button.ov-scope-switcher__trigger:hover:not(:disabled), button.ov-scope-switcher
474
972
  display: flex;
475
973
  }
476
974
 
477
- .ov-scope-switcher button:disabled {
975
+ .ov-scope-switcher button:not(.ov-button):disabled {
478
976
  cursor: default;
479
977
  }
480
978
 
@@ -489,7 +987,7 @@ button.ov-scope-switcher__trigger:hover:not(:disabled), button.ov-scope-switcher
489
987
  outline-offset: 2px;
490
988
  }
491
989
 
492
- .ov-scope-switcher__trigger:focus-visible, .ov-scope-switcher__search:focus-visible {
990
+ .ov-scope-switcher__trigger:focus-visible {
493
991
  outline: none;
494
992
  }
495
993