@openviking/react 0.1.4 → 0.1.6

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 (139) hide show
  1. package/README.md +15 -11
  2. package/dist/28~0.js +15 -0
  3. package/dist/2~0.js +6 -3
  4. package/dist/37~0.js +27 -0
  5. package/dist/3c~0.js +17 -9
  6. package/dist/3~0.js +4 -2
  7. package/dist/ae~0.js +6 -2
  8. package/dist/a~0.js +79 -72
  9. package/dist/ck~0.js +4 -0
  10. package/dist/client/paths.d.ts +4 -0
  11. package/dist/client/provider.d.ts +10 -6
  12. package/dist/components/agent-connect/agent-connect-code-block.d.ts +14 -0
  13. package/dist/components/agent-connect/agent-connect-copy.d.ts +3 -0
  14. package/dist/components/agent-connect/agent-connect-design.d.ts +1 -1
  15. package/dist/components/agent-connect/agent-connect-installer.d.ts +1 -0
  16. package/dist/components/agent-connect/agent-connect-instructions-view.d.ts +4 -6
  17. package/dist/components/agent-connect/agent-connect-instructions.d.ts +13 -0
  18. package/dist/components/agent-connect/agent-connect-markdown.d.ts +8 -2
  19. package/dist/components/agent-connect/agent-connect-mask.d.ts +10 -0
  20. package/dist/components/agent-connect/agent-connect.d.ts +1 -1
  21. package/dist/components/agent-connect/locales/en-US.d.ts +3 -0
  22. package/dist/components/agent-connect/style.css +163 -5
  23. package/dist/components/agent-connect/types.d.ts +5 -3
  24. package/dist/components/agent-connect/use-agent-connect-copy.d.ts +6 -0
  25. package/dist/components/directory-tour/style.css +46 -2
  26. package/dist/components/directory-tour/types.d.ts +2 -1
  27. package/dist/components/experience-dashboard/dashboard-tabs.d.ts +11 -0
  28. package/dist/components/experience-dashboard/experience-dashboard.d.ts +2 -0
  29. package/dist/components/experience-dashboard/experience-impact.d.ts +11 -0
  30. package/dist/components/experience-dashboard/experience-list.d.ts +9 -0
  31. package/dist/components/experience-dashboard/experience-pagination.d.ts +8 -0
  32. package/dist/components/experience-dashboard/experience-tests.d.ts +6 -0
  33. package/dist/components/experience-dashboard/experience-trajectories.d.ts +6 -0
  34. package/dist/components/experience-dashboard/index.d.ts +2 -0
  35. package/dist/components/experience-dashboard/labels.d.ts +2 -0
  36. package/dist/components/experience-dashboard/style.css +699 -0
  37. package/dist/components/experience-dashboard/style.js +0 -0
  38. package/dist/components/experience-dashboard/types.d.ts +106 -0
  39. package/dist/components/experience-dashboard.js +1 -0
  40. package/dist/components/file-browser-entries/file-browser-entries.d.ts +1 -1
  41. package/dist/components/file-browser-entries/style.css +259 -13
  42. package/dist/components/file-browser-entries/types.d.ts +2 -2
  43. package/dist/components/file-preview/style.css +48 -4
  44. package/dist/components/file-preview/types.d.ts +2 -2
  45. package/dist/components/file-tree/style.css +63 -4
  46. package/dist/components/file-tree/types.d.ts +2 -2
  47. package/dist/components/scope-switcher/scope-switcher.d.ts +2 -2
  48. package/dist/components/scope-switcher/style.css +48 -4
  49. package/dist/components/scope-switcher/types.d.ts +5 -5
  50. package/dist/components/scope-switcher.js +1 -1
  51. package/dist/components/style.css +2451 -139
  52. package/dist/components/tui/style.css +122 -36
  53. package/dist/components/tui/tui.d.ts +1 -1
  54. package/dist/components/tui/types.d.ts +2 -2
  55. package/dist/components/viking-bot/ark-message-list-view.d.ts +4 -1
  56. package/dist/components/viking-bot/interaction/types.d.ts +2 -2
  57. package/dist/components/viking-bot/interaction/viking-bot-interaction.d.ts +1 -1
  58. package/dist/components/viking-bot/session-actions.d.ts +2 -2
  59. package/dist/components/viking-bot/style.css +159 -12
  60. package/dist/components/viking-bot/types.d.ts +7 -7
  61. package/dist/components/viking-bot/viking-bot.d.ts +1 -1
  62. package/dist/components/wiki-dashboard/index.d.ts +2 -0
  63. package/dist/components/wiki-dashboard/labels.d.ts +2 -0
  64. package/dist/components/wiki-dashboard/style.css +741 -0
  65. package/dist/components/wiki-dashboard/style.js +0 -0
  66. package/dist/components/wiki-dashboard/types.d.ts +92 -0
  67. package/dist/components/wiki-dashboard/wiki-action-button.d.ts +9 -0
  68. package/dist/components/wiki-dashboard/wiki-conflict-card.d.ts +15 -0
  69. package/dist/components/wiki-dashboard/wiki-dashboard.d.ts +2 -0
  70. package/dist/components/wiki-dashboard/wiki-file-icon.d.ts +3 -0
  71. package/dist/components/wiki-dashboard/wiki-severity-filter.d.ts +8 -0
  72. package/dist/components/wiki-dashboard.js +1 -0
  73. package/dist/c~0.js +169 -155
  74. package/dist/e~0.js +3 -1
  75. package/dist/fi~0.js +354 -0
  76. package/dist/fj~0.js +503 -0
  77. package/dist/f~0.js +661 -309
  78. package/dist/icons/index.d.ts +28 -0
  79. package/dist/icons.js +1 -1
  80. package/dist/index.d.ts +4 -0
  81. package/dist/index.js +3 -1
  82. package/dist/k~0.js +277 -1
  83. package/dist/lk~0.js +55 -13
  84. package/dist/l~0.js +1096 -187
  85. package/dist/modules/console/console.d.ts +1 -1
  86. package/dist/modules/console/index.d.ts +1 -2
  87. package/dist/modules/console/style.css +377 -56
  88. package/dist/modules/console/types.d.ts +2 -2
  89. package/dist/modules/console/use-console.d.ts +1 -1
  90. package/dist/modules/console.js +1 -1
  91. package/dist/modules/file-browser/dashboard-data.d.ts +9 -0
  92. package/dist/modules/file-browser/dashboard-indicator.d.ts +8 -0
  93. package/dist/modules/file-browser/dashboard-labels.d.ts +9 -0
  94. package/dist/modules/file-browser/dashboard-model.d.ts +14 -0
  95. package/dist/modules/file-browser/dashboard-resource.d.ts +12 -0
  96. package/dist/modules/file-browser/experience-dashboard-pane.d.ts +8 -0
  97. package/dist/modules/file-browser/experience-data.d.ts +31 -0
  98. package/dist/modules/file-browser/file-browser-labels.d.ts +1 -1
  99. package/dist/modules/file-browser/file-browser-tree-pane.d.ts +3 -2
  100. package/dist/modules/file-browser/file-browser.d.ts +1 -1
  101. package/dist/modules/file-browser/fs-directories.d.ts +8 -0
  102. package/dist/modules/file-browser/fs-lines.d.ts +36 -0
  103. package/dist/modules/file-browser/fs-memory-fields.d.ts +65 -0
  104. package/dist/modules/file-browser/fs-model.d.ts +12 -2
  105. package/dist/modules/file-browser/fs-read-file.d.ts +14 -0
  106. package/dist/modules/file-browser/fs-selection.d.ts +4 -0
  107. package/dist/modules/file-browser/index.d.ts +2 -2
  108. package/dist/modules/file-browser/style.css +1883 -25
  109. package/dist/modules/file-browser/types.d.ts +64 -2
  110. package/dist/modules/file-browser/use-browser-dashboards.d.ts +31 -0
  111. package/dist/modules/file-browser/use-dashboard-query.d.ts +9 -0
  112. package/dist/modules/file-browser/use-experience-dashboard.d.ts +27 -0
  113. package/dist/modules/file-browser/use-file-browser.d.ts +2 -45
  114. package/dist/modules/file-browser/use-fs-tree.d.ts +2 -0
  115. package/dist/modules/file-browser/use-wiki-dashboard.d.ts +17 -0
  116. package/dist/modules/file-browser/wiki-conflicts.d.ts +12 -0
  117. package/dist/modules/file-browser/wiki-dashboard-pane.d.ts +14 -0
  118. package/dist/modules/file-browser.js +1 -1
  119. package/dist/modules/scope-cascade/controller.d.ts +2 -2
  120. package/dist/modules/scope-cascade/index.d.ts +1 -2
  121. package/dist/modules/scope-cascade/scope-cascade.d.ts +2 -2
  122. package/dist/modules/scope-cascade/style.css +48 -4
  123. package/dist/modules/scope-cascade/types.d.ts +9 -4
  124. package/dist/modules/scope-cascade/use-scope-cascade.d.ts +2 -2
  125. package/dist/modules/scope-cascade.js +1 -1
  126. package/dist/modules/style.css +2459 -192
  127. package/dist/n~0.js +16 -130
  128. package/dist/rt~0.js +152 -0
  129. package/dist/r~0.js +17 -38
  130. package/dist/shared/components/popover/popover.d.ts +1 -1
  131. package/dist/shared/components/popover/types.d.ts +7 -1
  132. package/dist/shared/dashboard/dashboard-state.d.ts +12 -0
  133. package/dist/shared/locale-context.d.ts +8 -0
  134. package/dist/static/image/dashboard-background.png +0 -0
  135. package/dist/style.css +9445 -4822
  136. package/dist/u~0.js +324 -96
  137. package/dist/viking-bot-composer~0.js +4 -2
  138. package/dist/viking-bot-interaction~0.js +3 -1
  139. package/package.json +14 -2
@@ -0,0 +1,741 @@
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 {
2
+ --ov-ui-tour-shadow-default: 0 15px 35px #0000000d, 0 5px 15px #0000000d;
3
+ --ov-ui-tour-highlight-default: #5252ff14;
4
+ --ov-ui-primary-default: #5252ff;
5
+ --ov-ui-primary-hover-default: #7075ff;
6
+ --ov-ui-primary-active-default: #3833d2;
7
+ --ov-ui-primary-disabled-default: #acb4ff;
8
+ --ov-ui-text-on-primary-default: #fff;
9
+ --ov-ui-primary-light-default: #f5f7ff;
10
+ --ov-ui-connect-glow-warm-default: #ff952b0a;
11
+ --ov-ui-connect-glow-pink-default: #fb4fbc0f;
12
+ --ov-ui-connect-glow-pink-soft-default: #fb4fbc0a;
13
+ --ov-ui-on-primary-default: #fff;
14
+ --ov-ui-text-1-default: #0b0b0f;
15
+ --ov-ui-text-2-default: #3f3f51;
16
+ --ov-ui-text-3-default: #6e718c;
17
+ --ov-ui-text-description-default: #0006;
18
+ --ov-ui-text-disabled-default: #a5a7bb;
19
+ --ov-ui-border-1-default: #f0f2fa;
20
+ --ov-ui-border-2-default: #e1e4f2;
21
+ --ov-ui-border-3-default: #d7daea;
22
+ --ov-ui-bg-1-default: #fff;
23
+ --ov-ui-bg-3-default: #f7f8fd;
24
+ --ov-ui-bg-4-default: #f6f7fa;
25
+ --ov-ui-bg-5-default: #f1f2f9;
26
+ --ov-ui-code-bg-default: #fbfbfc;
27
+ --ov-ui-status-success-default: #1f9d55;
28
+ --ov-ui-shadow-default: #0f172a;
29
+ --ov-ui-shadow-control-default: #0000000d;
30
+ --ov-ui-focus-default: #5252ff;
31
+ --ov-ui-fill-hover-default: #f1f2f9;
32
+ --ov-ui-status-error-default: #c43838;
33
+ --ov-ui-warning-default: #b26a00;
34
+ --ov-ui-warning-light-default: #fff0b3;
35
+ --ov-ui-overlay-default: #0006;
36
+ --ov-ui-tooltip-bg-default: #1f2329;
37
+ --ov-ui-tooltip-text-default: #fff;
38
+ --ov-ui-library-swatch-1-default: linear-gradient(145deg,
39
+ #ffd8ec 8%,
40
+ #ffabc8 46%,
41
+ #d8cbff 100%);
42
+ --ov-ui-library-swatch-2-default: linear-gradient(145deg,
43
+ #d9e8ff 8%,
44
+ #b8a6ff 52%,
45
+ #f3d6ff 100%);
46
+ --ov-ui-library-swatch-3-default: linear-gradient(145deg,
47
+ #ffe6bc 8%,
48
+ #ffaf96 48%,
49
+ #ff8bc5 100%);
50
+ --ov-ui-library-swatch-4-default: linear-gradient(145deg,
51
+ #eaf7ba 8%,
52
+ #b5efb8 52%,
53
+ #73d9c6 100%);
54
+ --ov-ui-library-swatch-5-default: linear-gradient(145deg,
55
+ #fff1ba 8%,
56
+ #ffc776 52%,
57
+ #bd9cff 100%);
58
+ }
59
+
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 {
61
+ --ov-ui-primary-default: #5f5fff;
62
+ --ov-ui-primary-hover-default: #7075ff;
63
+ --ov-ui-primary-active-default: #4242ba;
64
+ --ov-ui-primary-light-default: #1a1632;
65
+ --ov-ui-connect-glow-warm-default: #ff952b05;
66
+ --ov-ui-connect-glow-pink-default: #fb4fbc08;
67
+ --ov-ui-connect-glow-pink-soft-default: #fb4fbc05;
68
+ --ov-ui-text-1-default: #c7ccd6;
69
+ --ov-ui-text-2-default: #9da3af;
70
+ --ov-ui-text-3-default: #737a87;
71
+ --ov-ui-text-description-default: #fff6;
72
+ --ov-ui-text-disabled-default: #42464e;
73
+ --ov-ui-border-1-default: #23252a;
74
+ --ov-ui-border-2-default: #2e3138;
75
+ --ov-ui-border-3-default: #3a3d45;
76
+ --ov-ui-bg-1-default: #131416;
77
+ --ov-ui-bg-3-default: #1b1d21;
78
+ --ov-ui-bg-4-default: #202227;
79
+ --ov-ui-bg-5-default: #23252a;
80
+ --ov-ui-focus-default: #5f5fff;
81
+ --ov-ui-fill-hover-default: #23252a;
82
+ --ov-ui-status-error-default: #ff9595;
83
+ --ov-ui-warning-default: #e0a04a;
84
+ --ov-ui-warning-light-default: #3a2f14;
85
+ --ov-ui-tooltip-bg-default: #2a2d33;
86
+ --ov-ui-overlay-default: #000000a3;
87
+ --ov-ui-tooltip-text-default: #f0f1f3;
88
+ }
89
+
90
+ .dark .ov-viking-bot {
91
+ --ov-ui-code-bg-default: var(--ov-ui-bg-3-default);
92
+ }
93
+
94
+ .ov-agent-connect {
95
+ --ov-ui-connect-card-default: #fbfbfc;
96
+ --ov-ui-connect-tabs-default: #f7f7f9;
97
+ --ov-ui-connect-selected-default: #f3f4f7;
98
+ --ov-ui-connect-border-default: #edeef2;
99
+ --ov-ui-connect-outline-default: #e1e3ea;
100
+ --ov-ui-connect-muted-default: #787c91;
101
+ --ov-ui-connect-notice-default: #2e2984;
102
+ }
103
+
104
+ .dark .ov-agent-connect {
105
+ --ov-ui-connect-card-default: var(--ov-ui-bg-3-default);
106
+ --ov-ui-connect-tabs-default: var(--ov-ui-bg-3-default);
107
+ --ov-ui-connect-selected-default: var(--ov-ui-bg-4-default);
108
+ --ov-ui-connect-border-default: var(--ov-ui-border-1-default);
109
+ --ov-ui-connect-outline-default: var(--ov-ui-border-2-default);
110
+ --ov-ui-connect-muted-default: var(--ov-ui-text-3-default);
111
+ --ov-ui-connect-notice-default: var(--ov-ui-text-2-default);
112
+ }
113
+
114
+ .ov-wiki-dashboard, .ov-experience-dashboard, .ov-file-browser {
115
+ --ov-ui-dashboard-surface-default: #f8f8f8;
116
+ --ov-ui-dashboard-card-default: #fafafa;
117
+ --ov-ui-dashboard-muted-default: #787c91;
118
+ --ov-ui-dashboard-border-default: #edeef2;
119
+ --ov-ui-dashboard-warning-default: #eb7d00;
120
+ --ov-ui-dashboard-warning-light-default: #fff0e5;
121
+ --ov-ui-dashboard-danger-default: #d92d54;
122
+ --ov-ui-dashboard-danger-light-default: #ffecee;
123
+ --ov-ui-dashboard-success-default: #4f9c70;
124
+ }
125
+
126
+ html.dark .ov-wiki-dashboard, html.dark .ov-experience-dashboard, html.dark .ov-file-browser {
127
+ --ov-ui-dashboard-surface-default: var(--ov-ui-bg-3-default);
128
+ --ov-ui-dashboard-card-default: var(--ov-ui-bg-3-default);
129
+ --ov-ui-dashboard-muted-default: var(--ov-ui-text-3-default);
130
+ --ov-ui-dashboard-border-default: var(--ov-ui-border-1-default);
131
+ --ov-ui-dashboard-warning-default: var(--ov-ui-warning-default);
132
+ --ov-ui-dashboard-warning-light-default: var(--ov-ui-warning-light-default);
133
+ --ov-ui-dashboard-danger-default: var(--ov-ui-status-error-default);
134
+ --ov-ui-dashboard-danger-light-default: var(--ov-ui-bg-5-default);
135
+ --ov-ui-dashboard-success-default: var(--ov-ui-status-success-default);
136
+ }
137
+
138
+ .ov-dashboard-state {
139
+ text-align: center;
140
+ min-height: 120px;
141
+ color: var(--ov-ui-color-dashboard-muted, var(--ov-ui-dashboard-muted-default));
142
+ flex-direction: column;
143
+ justify-content: center;
144
+ align-items: center;
145
+ padding: 16px;
146
+ font-size: 13px;
147
+ display: flex;
148
+ }
149
+
150
+ .ov-dashboard-state p {
151
+ overflow-wrap: anywhere;
152
+ margin: 4px 0;
153
+ }
154
+
155
+ .ov-dashboard-state button {
156
+ color: var(--ov-ui-color-primary, var(--ov-ui-primary-default));
157
+ font: inherit;
158
+ cursor: pointer;
159
+ background: none;
160
+ border: 0;
161
+ padding: 4px 8px;
162
+ }
163
+
164
+ .ov-dashboard-tabs {
165
+ background: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default));
166
+ flex: none;
167
+ gap: 24px;
168
+ padding: 0 12px;
169
+ display: flex;
170
+ overflow: auto;
171
+ }
172
+
173
+ .ov-dashboard-tabs button {
174
+ min-height: 42px;
175
+ color: var(--ov-ui-color-text-2, var(--ov-ui-text-2-default));
176
+ font: inherit;
177
+ cursor: pointer;
178
+ background: none;
179
+ border: 0;
180
+ flex: none;
181
+ padding: 8px 0;
182
+ position: relative;
183
+ }
184
+
185
+ .ov-dashboard-tabs button[aria-selected="true"] {
186
+ color: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
187
+ font-weight: 500;
188
+ }
189
+
190
+ .ov-dashboard-tabs button[aria-selected="true"]:after {
191
+ content: "";
192
+ background: currentColor;
193
+ width: 14px;
194
+ height: 2px;
195
+ position: absolute;
196
+ inset-block-end: 2px;
197
+ inset-inline-start: calc(50% - 7px);
198
+ }
199
+
200
+ .ov-dashboard-tabpanel {
201
+ flex-direction: column;
202
+ flex: 1;
203
+ min-height: 0;
204
+ display: flex;
205
+ }
206
+
207
+ .ov-wiki-dashboard__body, .ov-experience-dashboard__body {
208
+ isolation: isolate;
209
+ position: relative;
210
+ }
211
+
212
+ .ov-wiki-dashboard__body:before, .ov-experience-dashboard__body:before {
213
+ content: "";
214
+ opacity: .08;
215
+ pointer-events: none;
216
+ z-index: -1;
217
+ background-image: url(../../static/image/dashboard-background.png);
218
+ background-size: 20px 20px;
219
+ position: absolute;
220
+ inset: 0;
221
+ }
222
+
223
+ .ov-popover {
224
+ --ov-ui-popover-bg: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default, #fff));
225
+ --ov-ui-popover-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default, #0b0b0f));
226
+ --ov-ui-popover-border: var(--ov-ui-color-border-2, var(--ov-ui-border-2-default, #e1e4f2));
227
+ z-index: 1000;
228
+ box-sizing: border-box;
229
+ border: 1px solid var(--ov-ui-popover-border);
230
+ background: var(--ov-ui-popover-bg);
231
+ max-width: 320px;
232
+ color: var(--ov-ui-popover-text);
233
+ overflow-wrap: break-word;
234
+ border-radius: 8px;
235
+ padding: 12px;
236
+ font-family: inherit;
237
+ font-size: 12px;
238
+ line-height: 20px;
239
+ animation: .12s ease-out ov-popover-enter;
240
+ position: fixed;
241
+ box-shadow: 0 15px 35px -2px #0000000d, 0 5px 15px #0000000d;
242
+ }
243
+
244
+ @keyframes ov-popover-enter {
245
+ from {
246
+ opacity: 0;
247
+ }
248
+
249
+ to {
250
+ opacity: 1;
251
+ }
252
+ }
253
+
254
+ @media (prefers-reduced-motion: reduce) {
255
+ .ov-popover {
256
+ animation: none;
257
+ }
258
+ }
259
+
260
+ .ov-tooltip {
261
+ --ov-ui-tooltip-bg: var(--ov-ui-color-tooltip-bg, var(--ov-ui-tooltip-bg-default, #1f2329));
262
+ --ov-ui-tooltip-text: var(--ov-ui-color-tooltip-text, var(--ov-ui-tooltip-text-default, #fff));
263
+ --ov-ui-tooltip-border: transparent;
264
+ --ov-ui-tooltip-radius: var(--ov-ui-radius, 6px);
265
+ --ov-ui-tooltip-offset: 6px;
266
+ z-index: 1000;
267
+ box-sizing: border-box;
268
+ border: 1px solid var(--ov-ui-tooltip-border);
269
+ border-radius: var(--ov-ui-tooltip-radius);
270
+ background: var(--ov-ui-tooltip-bg);
271
+ max-width: 320px;
272
+ color: var(--ov-ui-tooltip-text);
273
+ overflow-wrap: break-word;
274
+ padding: 6px 8px;
275
+ font-family: inherit;
276
+ font-size: 12px;
277
+ line-height: 18px;
278
+ animation: .12s ease-out ov-tooltip-enter;
279
+ position: fixed;
280
+ box-shadow: 0 4px 12px #0000001f;
281
+ }
282
+
283
+ .ov-tooltip[role="dialog"] {
284
+ --ov-ui-tooltip-bg: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default, #fff));
285
+ --ov-ui-tooltip-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default, #0b0b0f));
286
+ --ov-ui-tooltip-border: var(--ov-ui-color-border-2, var(--ov-ui-border-2-default, #e1e4f2));
287
+ min-width: 120px;
288
+ max-width: 360px;
289
+ padding: 4px;
290
+ box-shadow: 0 6px 16px #0000001f;
291
+ }
292
+
293
+ @keyframes ov-tooltip-enter {
294
+ from {
295
+ opacity: 0;
296
+ }
297
+
298
+ to {
299
+ opacity: 1;
300
+ }
301
+ }
302
+
303
+ @media (prefers-reduced-motion: reduce) {
304
+ .ov-tooltip {
305
+ animation: none;
306
+ }
307
+ }
308
+
309
+ .ov-wiki-dashboard {
310
+ min-width: 0;
311
+ height: 100%;
312
+ color: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
313
+ flex-direction: column;
314
+ font-family: inherit;
315
+ font-size: 13px;
316
+ line-height: 22px;
317
+ display: flex;
318
+ }
319
+
320
+ .ov-wiki-dashboard__header {
321
+ background: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default));
322
+ padding: 4px 16px 0;
323
+ }
324
+
325
+ .ov-wiki-dashboard__header h2 {
326
+ align-items: center;
327
+ min-height: 34px;
328
+ margin: 0;
329
+ font-size: 12px;
330
+ font-weight: 500;
331
+ display: inline-flex;
332
+ position: relative;
333
+ }
334
+
335
+ .ov-wiki-dashboard__header h2:after {
336
+ content: "";
337
+ background: currentColor;
338
+ width: 14px;
339
+ height: 2px;
340
+ position: absolute;
341
+ inset-block-end: 0;
342
+ inset-inline-start: calc(50% - 7px);
343
+ }
344
+
345
+ .ov-wiki-dashboard__body {
346
+ background: var(--ov-ui-color-dashboard-surface, var(--ov-ui-dashboard-surface-default));
347
+ flex: 1;
348
+ min-height: 0;
349
+ padding: 12px;
350
+ overflow: auto;
351
+ }
352
+
353
+ .ov-wiki-dashboard__statistics {
354
+ border: 1px solid
355
+ var(--ov-ui-color-dashboard-border, var(--ov-ui-dashboard-border-default));
356
+ border-radius: 12px;
357
+ margin: 0 0 24px;
358
+ padding: 15px;
359
+ display: flex;
360
+ }
361
+
362
+ .ov-wiki-dashboard__statistics svg {
363
+ color: var(--ov-ui-color-dashboard-warning, var(--ov-ui-dashboard-warning-default));
364
+ margin-bottom: 12px;
365
+ display: block;
366
+ }
367
+
368
+ .ov-wiki-dashboard__statistics dd {
369
+ margin: 0;
370
+ font-size: 20px;
371
+ font-weight: 500;
372
+ line-height: 24px;
373
+ }
374
+
375
+ .ov-wiki-dashboard__statistics dt {
376
+ color: var(--ov-ui-color-dashboard-muted, var(--ov-ui-dashboard-muted-default));
377
+ margin-top: 2px;
378
+ font-size: 12px;
379
+ line-height: 20px;
380
+ }
381
+
382
+ .ov-wiki-dashboard__toolbar {
383
+ flex-wrap: wrap;
384
+ justify-content: space-between;
385
+ align-items: center;
386
+ gap: 12px;
387
+ margin-bottom: 12px;
388
+ display: flex;
389
+ }
390
+
391
+ .ov-wiki-dashboard__toolbar h3 {
392
+ margin: 0;
393
+ font-size: 13px;
394
+ font-weight: 500;
395
+ line-height: 22px;
396
+ }
397
+
398
+ .ov-wiki-dashboard button {
399
+ cursor: pointer;
400
+ font: inherit;
401
+ color: inherit;
402
+ }
403
+
404
+ .ov-wiki-dashboard button:disabled {
405
+ cursor: default;
406
+ }
407
+
408
+ .ov-wiki-dashboard__conflicts {
409
+ flex-direction: column;
410
+ gap: 12px;
411
+ display: flex;
412
+ overflow-x: auto;
413
+ }
414
+
415
+ .ov-wiki-dashboard__conflict {
416
+ border: 1px solid
417
+ var(--ov-ui-color-dashboard-border, var(--ov-ui-dashboard-border-default));
418
+ border-radius: 12px;
419
+ min-width: 690px;
420
+ }
421
+
422
+ .ov-wiki-dashboard__conflict-row {
423
+ grid-template-columns: 78px minmax(140px, 1fr) 200px 74px 100px;
424
+ align-items: center;
425
+ display: grid;
426
+ }
427
+
428
+ .ov-wiki-dashboard__conflict-row--without-path {
429
+ grid-template-columns: 78px minmax(140px, 1fr) 74px 100px;
430
+ }
431
+
432
+ .ov-wiki-dashboard__severity {
433
+ border-radius: 62px;
434
+ justify-self: start;
435
+ margin-inline-start: 0;
436
+ padding: 0 8px;
437
+ font-size: 12px;
438
+ line-height: 22px;
439
+ }
440
+
441
+ .ov-wiki-dashboard__severity--high {
442
+ color: var(--ov-ui-color-dashboard-danger, var(--ov-ui-dashboard-danger-default));
443
+ background: var(--ov-ui-color-dashboard-danger-light, var(--ov-ui-dashboard-danger-light-default));
444
+ }
445
+
446
+ .ov-wiki-dashboard__severity--medium {
447
+ color: var(--ov-ui-color-dashboard-warning, var(--ov-ui-dashboard-warning-default));
448
+ background: var(--ov-ui-color-dashboard-warning-light, var(--ov-ui-dashboard-warning-light-default));
449
+ }
450
+
451
+ .ov-wiki-dashboard__severity--low {
452
+ color: var(--ov-ui-color-dashboard-muted, var(--ov-ui-dashboard-muted-default));
453
+ background: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
454
+ }
455
+
456
+ .ov-wiki-dashboard__issue {
457
+ min-width: 0;
458
+ padding: 11px 16px;
459
+ }
460
+
461
+ .ov-wiki-dashboard__issue strong {
462
+ font-weight: 400;
463
+ }
464
+
465
+ .ov-wiki-dashboard__issue p {
466
+ color: var(--ov-ui-color-dashboard-muted, var(--ov-ui-dashboard-muted-default));
467
+ margin: 0;
468
+ font-size: 12px;
469
+ }
470
+
471
+ .ov-wiki-dashboard__solution {
472
+ color: var(--ov-ui-color-status-success, var(--ov-ui-status-success-default));
473
+ margin-top: 6px;
474
+ padding: 0;
475
+ display: inline-block;
476
+ }
477
+
478
+ .ov-wiki-dashboard__path {
479
+ text-align: start;
480
+ overflow-wrap: anywhere;
481
+ background: none;
482
+ border: 0;
483
+ padding: 6px 16px;
484
+ }
485
+
486
+ .ov-wiki-dashboard__status {
487
+ font-size: 12px;
488
+ }
489
+
490
+ .ov-wiki-dashboard__status--unfixed {
491
+ color: var(--ov-ui-color-dashboard-warning, var(--ov-ui-dashboard-warning-default));
492
+ }
493
+
494
+ .ov-wiki-dashboard__status--fixed {
495
+ color: var(--ov-ui-color-status-success, var(--ov-ui-status-success-default));
496
+ }
497
+
498
+ .ov-wiki-dashboard__action {
499
+ background: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
500
+ border: 0;
501
+ border-radius: 6px;
502
+ margin: 6px 16px;
503
+ padding: 4px;
504
+ }
505
+
506
+ .ov-wiki-dashboard__evidence {
507
+ color: var(--ov-ui-color-dashboard-muted, var(--ov-ui-dashboard-muted-default));
508
+ padding: 8px 16px;
509
+ font-size: 12px;
510
+ }
511
+
512
+ .ov-wiki-dashboard__evidence summary {
513
+ cursor: pointer;
514
+ }
515
+
516
+ .ov-wiki-dashboard__files {
517
+ margin: 0;
518
+ padding: 0;
519
+ list-style: none;
520
+ }
521
+
522
+ .ov-wiki-dashboard__files li {
523
+ border-bottom: 1px solid
524
+ var(--ov-ui-color-dashboard-border, var(--ov-ui-dashboard-border-default));
525
+ align-items: center;
526
+ gap: 12px;
527
+ padding: 12px 0;
528
+ display: flex;
529
+ }
530
+
531
+ .ov-wiki-dashboard__files button {
532
+ text-align: start;
533
+ background: none;
534
+ border: 0;
535
+ min-width: 0;
536
+ padding: 0;
537
+ }
538
+
539
+ .ov-wiki-dashboard__files button:first-child {
540
+ flex-direction: column;
541
+ flex: 1;
542
+ align-items: stretch;
543
+ display: flex;
544
+ }
545
+
546
+ .ov-wiki-dashboard__file-uri, .ov-wiki-dashboard__limited {
547
+ color: var(--ov-ui-color-dashboard-muted, var(--ov-ui-dashboard-muted-default));
548
+ overflow-wrap: anywhere;
549
+ font-size: 12px;
550
+ }
551
+
552
+ .ov-wiki-dashboard :is(button, summary):focus-visible {
553
+ outline: 2px solid var(--ov-ui-color-primary, var(--ov-ui-primary-default));
554
+ outline-offset: 2px;
555
+ }
556
+
557
+ .ov-wiki-dashboard, .ov-wiki-dashboard *, .ov-wiki-dashboard :before, .ov-wiki-dashboard :after {
558
+ box-sizing: border-box;
559
+ }
560
+
561
+ .ov-wiki-dashboard__files li > svg {
562
+ flex: none;
563
+ }
564
+
565
+ .ov-wiki-dashboard__files button:first-of-type {
566
+ flex-direction: column;
567
+ flex: 1;
568
+ min-width: 0;
569
+ display: flex;
570
+ }
571
+
572
+ .ov-wiki-dashboard__status {
573
+ white-space: nowrap;
574
+ align-items: center;
575
+ gap: 4px;
576
+ padding-inline-start: 16px;
577
+ display: inline-flex;
578
+ }
579
+
580
+ .ov-wiki-dashboard__status svg {
581
+ flex: none;
582
+ }
583
+
584
+ .ov-wiki-dashboard__issue > button, .ov-wiki-dashboard__path > button {
585
+ text-overflow: ellipsis;
586
+ white-space: nowrap;
587
+ text-align: start;
588
+ background: none;
589
+ border: 0;
590
+ width: 100%;
591
+ padding: 0;
592
+ display: block;
593
+ overflow: hidden;
594
+ }
595
+
596
+ .ov-wiki-dashboard__issue p {
597
+ text-overflow: ellipsis;
598
+ white-space: nowrap;
599
+ overflow: hidden;
600
+ }
601
+
602
+ .ov-wiki-dashboard__path {
603
+ align-items: center;
604
+ gap: 8px;
605
+ min-width: 0;
606
+ display: flex;
607
+ }
608
+
609
+ .ov-wiki-dashboard__actions {
610
+ gap: 8px;
611
+ padding: 0 16px;
612
+ display: flex;
613
+ }
614
+
615
+ .ov-wiki-dashboard__actions button {
616
+ background: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
617
+ border: 0;
618
+ border-radius: 6px;
619
+ justify-content: center;
620
+ align-items: center;
621
+ width: 28px;
622
+ height: 28px;
623
+ padding: 0;
624
+ display: inline-flex;
625
+ }
626
+
627
+ .ov-wiki-dashboard__actions button[aria-disabled="true"] {
628
+ opacity: .4;
629
+ cursor: not-allowed;
630
+ }
631
+
632
+ .ov-wiki-dashboard__actions button:hover:not([aria-disabled="true"]) {
633
+ background: var(--ov-ui-color-fill-hover, var(--ov-ui-fill-hover-default));
634
+ }
635
+
636
+ .ov-wiki-dashboard .ov-wiki-dashboard__link {
637
+ color: var(--ov-ui-color-primary, var(--ov-ui-primary-default));
638
+ border-radius: 4px;
639
+ text-decoration: none;
640
+ }
641
+
642
+ .ov-wiki-dashboard .ov-wiki-dashboard__link:hover:not(:disabled) {
643
+ color: var(--ov-ui-color-primary-hover, var(--ov-ui-primary-hover-default));
644
+ }
645
+
646
+ .ov-wiki-dashboard .ov-wiki-dashboard__link:disabled {
647
+ color: var(--ov-ui-color-text-disabled, var(--ov-ui-text-disabled-default));
648
+ }
649
+
650
+ .ov-wiki-dashboard__file-icon {
651
+ width: 14px;
652
+ height: 14px;
653
+ color: var(--ov-ui-wiki-icon-light, currentColor);
654
+ flex: none;
655
+ }
656
+
657
+ html.dark .ov-wiki-dashboard__file-icon {
658
+ color: var(--ov-ui-wiki-icon-dark, currentColor);
659
+ }
660
+
661
+ .ov-wiki-dashboard__evidence dl {
662
+ grid-template-columns: 84px minmax(0, 1fr);
663
+ gap: 8px 16px;
664
+ margin: 0;
665
+ display: grid;
666
+ }
667
+
668
+ .ov-wiki-dashboard__evidence dd {
669
+ overflow-wrap: anywhere;
670
+ margin: 0;
671
+ }
672
+
673
+ .ov-wiki-dashboard .ov-wiki-dashboard__severity-filter {
674
+ min-height: 28px;
675
+ color: var(--ov-ui-color-dashboard-muted, var(--ov-ui-dashboard-muted-default));
676
+ background: none;
677
+ border: 0;
678
+ border-radius: 16px;
679
+ align-items: center;
680
+ gap: 4px;
681
+ padding: 0 8px;
682
+ font-size: 13px;
683
+ line-height: 22px;
684
+ display: inline-flex;
685
+ }
686
+
687
+ .ov-wiki-dashboard__severity-filter:hover, .ov-wiki-dashboard__severity-filter[aria-expanded="true"] {
688
+ background: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
689
+ }
690
+
691
+ .ov-wiki-dashboard__severity-filter svg {
692
+ flex: none;
693
+ width: 14px;
694
+ height: 14px;
695
+ }
696
+
697
+ .ov-wiki-dashboard__filter-value {
698
+ color: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
699
+ }
700
+
701
+ .ov-wiki-dashboard__severity-popover {
702
+ min-width: 160px;
703
+ padding: 4px;
704
+ }
705
+
706
+ .ov-wiki-dashboard__severity-menu {
707
+ flex-direction: column;
708
+ gap: 2px;
709
+ display: flex;
710
+ }
711
+
712
+ .ov-wiki-dashboard__severity-menu button {
713
+ min-height: 32px;
714
+ color: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
715
+ font: inherit;
716
+ text-align: start;
717
+ cursor: pointer;
718
+ background: none;
719
+ border: 0;
720
+ border-radius: 4px;
721
+ padding: 4px 12px;
722
+ font-size: 13px;
723
+ line-height: 22px;
724
+ }
725
+
726
+ .ov-wiki-dashboard__severity-menu button[aria-selected="true"] {
727
+ color: var(--ov-ui-color-primary, var(--ov-ui-primary-default));
728
+ background: var(--ov-ui-color-primary-light, var(--ov-ui-primary-light-default));
729
+ }
730
+
731
+ .ov-wiki-dashboard__severity-menu button:hover {
732
+ background: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
733
+ }
734
+
735
+ .ov-wiki-dashboard__severity-menu button:focus-visible {
736
+ outline: 2px solid var(--ov-ui-color-primary, var(--ov-ui-primary-default));
737
+ outline-offset: -2px;
738
+ }
739
+
740
+
741
+