@openviking/react 0.1.6 → 0.1.8-beta.10.1.g8e5299efeb0a
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 +13 -1
- package/dist/1~0.js +57 -0
- package/dist/2~0.js +6 -5
- package/dist/3c~0.js +10 -4
- package/dist/3~0.js +189 -13
- package/dist/5~0.js +181 -0
- package/dist/6~0.js +48 -0
- package/dist/ae~0.js +8 -1
- package/dist/ark-message-list-view~0.js +9 -4
- package/dist/a~0.js +12 -6
- package/dist/c7r~0.js +50 -0
- package/dist/ck~0.js +3 -0
- package/dist/client/paths.d.ts +6 -0
- package/dist/client/provider.d.ts +6 -1
- package/dist/components/agent-connect/style.css +224 -35
- package/dist/components/api-key-login-form/api-key-login-form.d.ts +2 -0
- package/dist/components/api-key-login-form/index.d.ts +3 -0
- package/dist/components/api-key-login-form/style.css +438 -0
- package/dist/components/api-key-login-form/style.js +0 -0
- package/dist/components/api-key-login-form/types.d.ts +7 -0
- package/dist/components/api-key-login-form.js +1 -0
- package/dist/components/directory-tour/directory-tour-intro.d.ts +3 -0
- package/dist/components/directory-tour/index.d.ts +2 -1
- package/dist/components/directory-tour/style.css +367 -39
- package/dist/components/directory-tour/tour-card.d.ts +14 -0
- package/dist/components/directory-tour/types.d.ts +24 -1
- package/dist/components/directory-tour/use-tour-anchor.d.ts +1 -0
- package/dist/components/directory-tour/use-tour-position.d.ts +4 -1
- package/dist/components/directory-tour/use-tour-theme.d.ts +2 -0
- package/dist/components/directory-tour.js +53 -2
- package/dist/components/email-login-form/email-login-form.d.ts +2 -0
- package/dist/components/email-login-form/index.d.ts +3 -0
- package/dist/components/email-login-form/style.css +438 -0
- package/dist/components/email-login-form/style.js +0 -0
- package/dist/components/email-login-form/types.d.ts +11 -0
- package/dist/components/email-login-form.js +1 -0
- package/dist/components/experience-dashboard/experience-impact.d.ts +3 -1
- package/dist/components/experience-dashboard/style.css +229 -12
- package/dist/components/experience-dashboard.js +1 -1
- package/dist/components/file-browser-entries/style.css +331 -80
- package/dist/components/file-preview/file-preview-header.d.ts +4 -21
- package/dist/components/file-preview/file-preview-toolbar.d.ts +7 -0
- package/dist/components/file-preview/locales/en-US.d.ts +9 -0
- package/dist/components/file-preview/locales/zh-CN.d.ts +9 -0
- package/dist/components/file-preview/style.css +335 -76
- package/dist/components/file-preview/types.d.ts +14 -21
- package/dist/components/file-tree/file-tree-toolbar.d.ts +3 -3
- package/dist/components/file-tree/locales/en-US.d.ts +3 -0
- package/dist/components/file-tree/locales/zh-CN.d.ts +3 -0
- package/dist/components/file-tree/style.css +313 -86
- package/dist/components/file-tree/types.d.ts +13 -4
- package/dist/components/invitation-confirmation/index.d.ts +3 -0
- package/dist/components/invitation-confirmation/invitation-confirmation.d.ts +2 -0
- package/dist/components/invitation-confirmation/style.css +438 -0
- package/dist/components/invitation-confirmation/style.js +0 -0
- package/dist/components/invitation-confirmation/types.d.ts +20 -0
- package/dist/components/invitation-confirmation.js +1 -0
- package/dist/components/login-method-selector/index.d.ts +2 -0
- package/dist/components/login-method-selector/login-method-selector.d.ts +2 -0
- package/dist/components/login-method-selector/style.css +438 -0
- package/dist/components/login-method-selector/style.js +0 -0
- package/dist/components/login-method-selector/types.d.ts +14 -0
- package/dist/components/login-method-selector.js +1 -0
- package/dist/components/password-reset-request-form/index.d.ts +3 -0
- package/dist/components/password-reset-request-form/password-reset-request-form.d.ts +2 -0
- package/dist/components/password-reset-request-form/style.css +438 -0
- package/dist/components/password-reset-request-form/style.js +0 -0
- package/dist/components/password-reset-request-form/types.d.ts +13 -0
- package/dist/components/password-reset-request-form.js +1 -0
- package/dist/components/password-setup-form/index.d.ts +3 -0
- package/dist/components/password-setup-form/password-setup-form.d.ts +2 -0
- package/dist/components/password-setup-form/style.css +438 -0
- package/dist/components/password-setup-form/style.js +0 -0
- package/dist/components/password-setup-form/types.d.ts +10 -0
- package/dist/components/password-setup-form.js +1 -0
- package/dist/components/scope-switcher/style.css +368 -37
- package/dist/components/style.css +13071 -7474
- package/dist/components/tui/style.css +271 -35
- package/dist/components/viking-bot/interaction/style.css +143 -22
- package/dist/components/viking-bot/style.css +951 -295
- package/dist/components/wiki-dashboard/index.d.ts +1 -1
- package/dist/components/wiki-dashboard/style.css +241 -14
- package/dist/components/wiki-dashboard/types.d.ts +12 -16
- package/dist/components/wiki-dashboard/wiki-action-button.d.ts +2 -9
- package/dist/components/wiki-dashboard/wiki-conflict-card.d.ts +3 -10
- package/dist/c~0.js +16 -8
- package/dist/d~0.js +28 -0
- package/dist/ep~0.js +493 -0
- package/dist/e~0.js +33 -328
- package/dist/fi~0.js +13 -28
- package/dist/fj~0.js +38 -69
- package/dist/fl~0.js +710 -0
- package/dist/f~0.js +61 -685
- package/dist/g~0.js +135 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.js +9 -3
- package/dist/k~0.js +44 -4
- package/dist/l5~0.js +3813 -0
- package/dist/lk~0.js +5 -2
- package/dist/l~0.js +49 -2369
- package/dist/modules/console/style.css +1485 -351
- package/dist/modules/file-browser/acl/acl-add-principal.d.ts +12 -0
- package/dist/modules/file-browser/acl/acl-candidate.d.ts +8 -0
- package/dist/modules/file-browser/acl/acl-client.d.ts +13 -0
- package/dist/modules/file-browser/acl/acl-confirmation.d.ts +6 -0
- package/dist/modules/file-browser/acl/acl-entry.d.ts +13 -0
- package/dist/modules/file-browser/acl/acl-labels.d.ts +47 -0
- package/dist/modules/file-browser/acl/acl-menu.d.ts +10 -0
- package/dist/modules/file-browser/acl/acl-modal.d.ts +17 -0
- package/dist/modules/file-browser/acl/acl-model.d.ts +17 -0
- package/dist/modules/file-browser/acl/acl-principal-tabs.d.ts +6 -0
- package/dist/modules/file-browser/acl/acl-tag.d.ts +7 -0
- package/dist/modules/file-browser/acl/locales/en-US.d.ts +44 -0
- package/dist/modules/file-browser/acl/locales/zh-CN.d.ts +44 -0
- package/dist/modules/file-browser/acl/use-acl-principals.d.ts +17 -0
- package/dist/modules/file-browser/acl/use-acl-report.d.ts +27 -0
- package/dist/modules/file-browser/acl-types.d.ts +86 -0
- package/dist/modules/file-browser/dashboard-model.d.ts +3 -0
- package/dist/modules/file-browser/file-browser-detail-icons.d.ts +0 -6
- package/dist/modules/file-browser/file-browser-detail.d.ts +5 -23
- package/dist/modules/file-browser/file-browser-labels.d.ts +1 -1
- package/dist/modules/file-browser/file-browser-search.d.ts +20 -0
- package/dist/modules/file-browser/file-browser-toolbar.d.ts +3 -10
- package/dist/modules/file-browser/file-browser-tree-pane.d.ts +2 -6
- package/dist/modules/file-browser/file-browser.d.ts +1 -1
- package/dist/modules/file-browser/fs-directories.d.ts +1 -0
- package/dist/modules/file-browser/fs-file-editing.d.ts +4 -0
- package/dist/modules/file-browser/fs-model.d.ts +3 -1
- package/dist/modules/file-browser/fs-preview-images.d.ts +3 -0
- package/dist/modules/file-browser/fs-read-file.d.ts +1 -1
- package/dist/modules/file-browser/index.d.ts +1 -0
- package/dist/modules/file-browser/locales/en-US.d.ts +5 -0
- package/dist/modules/file-browser/locales/zh-CN.d.ts +5 -0
- package/dist/modules/file-browser/style.css +2595 -703
- package/dist/modules/file-browser/types.d.ts +22 -20
- package/dist/modules/file-browser/use-file-browser-acl.d.ts +16 -0
- package/dist/modules/file-browser/use-file-browser.d.ts +5 -7
- package/dist/modules/file-browser/use-fs-tree.d.ts +1 -0
- package/dist/modules/file-browser/wiki-dashboard-pane.d.ts +2 -4
- package/dist/modules/file-browser.js +1 -1
- package/dist/modules/scope-cascade/style.css +537 -37
- package/dist/modules/style.css +12429 -8855
- package/dist/n~0.js +61 -37
- package/dist/p0~0.js +27 -0
- package/dist/p~0.js +34 -25
- package/dist/rt~0.js +107 -4
- package/dist/r~0.js +1 -1
- package/dist/shared/auth/agreements.d.ts +10 -0
- package/dist/shared/auth/fields.d.ts +15 -0
- package/dist/shared/auth/form-frame.d.ts +12 -0
- package/dist/shared/auth/locales/en-US.d.ts +24 -0
- package/dist/shared/auth/locales/zh-CN.d.ts +24 -0
- package/dist/shared/auth/types.d.ts +61 -0
- package/dist/shared/auth/use-auth-labels.d.ts +3 -0
- package/dist/shared/auth/use-form.d.ts +8 -0
- package/dist/shared/components/button/button.d.ts +20 -0
- package/dist/shared/components/input/input.d.ts +17 -0
- package/dist/shared/components/modal/locales/en-US.d.ts +4 -0
- package/dist/shared/components/modal/locales/zh-CN.d.ts +4 -0
- package/dist/shared/components/modal/modal.d.ts +2 -0
- package/dist/shared/components/modal/types.d.ts +18 -0
- package/dist/shared/components/overlay/lock-body-scroll.d.ts +1 -0
- package/dist/style.css +15477 -6258
- package/dist/s~0.js +16 -0
- package/dist/u~0.js +15 -6
- package/dist/viking-bot-composer~0.js +29 -11
- package/dist/viking-bot-interaction~0.js +2 -1
- package/package.json +34 -3
- package/dist/modules/file-browser/fs-selection.d.ts +0 -4
- package/dist/o~0.js +0 -106
|
@@ -1,6 +1,177 @@
|
|
|
1
|
-
.ov-
|
|
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-auth, .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;
|
|
173
|
+
--ov-ui-auth-on-primary-default: #fff;
|
|
174
|
+
--ov-ui-auth-backdrop-default: #0006;
|
|
4
175
|
--ov-ui-primary-default: #5252ff;
|
|
5
176
|
--ov-ui-primary-hover-default: #7075ff;
|
|
6
177
|
--ov-ui-primary-active-default: #3833d2;
|
|
@@ -57,7 +228,7 @@
|
|
|
57
228
|
#bd9cff 100%);
|
|
58
229
|
}
|
|
59
230
|
|
|
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 {
|
|
231
|
+
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-auth, .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
232
|
--ov-ui-primary-default: #5f5fff;
|
|
62
233
|
--ov-ui-primary-hover-default: #7075ff;
|
|
63
234
|
--ov-ui-primary-active-default: #4242ba;
|
|
@@ -87,6 +258,52 @@
|
|
|
87
258
|
--ov-ui-tooltip-text-default: #f0f1f3;
|
|
88
259
|
}
|
|
89
260
|
|
|
261
|
+
.ov-button, .ov-input, .ov-textarea {
|
|
262
|
+
--ov-ui-bg-white-default: var(--ov-ui-bg-1-default);
|
|
263
|
+
--ov-ui-bg-2-default: #fafbfd;
|
|
264
|
+
--ov-ui-bg-7-default: var(--ov-ui-border-1-default);
|
|
265
|
+
--ov-ui-bg-11-default: #e1e3ef;
|
|
266
|
+
--ov-ui-border-4-default: #acb0c5;
|
|
267
|
+
--ov-ui-neutral-4-default: #c9cdd4;
|
|
268
|
+
--ov-ui-primary-muted-default: #8e96ff;
|
|
269
|
+
--ov-ui-primary-strong-default: var(--ov-ui-primary-active-default);
|
|
270
|
+
--ov-ui-link-default: var(--ov-ui-primary-default);
|
|
271
|
+
--ov-ui-link-active-default: var(--ov-ui-primary-active-default);
|
|
272
|
+
--ov-ui-text-5-default: #c9c9d4;
|
|
273
|
+
--ov-ui-on-primary-disabled-default: var(--ov-ui-text-on-primary-default);
|
|
274
|
+
--ov-ui-input-focus-ring-default: color-mix(in srgb,
|
|
275
|
+
var(--ov-ui-color-primary, var(--ov-ui-primary-default)) 30%,
|
|
276
|
+
transparent);
|
|
277
|
+
--ov-ui-error-default: #e31b54;
|
|
278
|
+
--ov-ui-error-bg-default: #ffecec;
|
|
279
|
+
--ov-ui-error-border-default: #ffa3a0;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
html.dark .ov-button, html.dark .ov-input, html.dark .ov-textarea {
|
|
283
|
+
--ov-ui-bg-white-default: #fff0;
|
|
284
|
+
--ov-ui-bg-2-default: #fcfdfe03;
|
|
285
|
+
--ov-ui-bg-4-default: #f6f8fa0f;
|
|
286
|
+
--ov-ui-bg-5-default: #f1f3f514;
|
|
287
|
+
--ov-ui-bg-7-default: #1a1b1e;
|
|
288
|
+
--ov-ui-bg-11-default: #1e2023;
|
|
289
|
+
--ov-ui-border-2-default: #dde2e926;
|
|
290
|
+
--ov-ui-border-3-default: #dde2e94d;
|
|
291
|
+
--ov-ui-border-4-default: #6d6d6d;
|
|
292
|
+
--ov-ui-neutral-4-default: #5f5f60;
|
|
293
|
+
--ov-ui-primary-disabled-default: #3f3a89;
|
|
294
|
+
--ov-ui-primary-muted-default: #4c48b4;
|
|
295
|
+
--ov-ui-primary-strong-default: var(--ov-ui-primary-hover-default);
|
|
296
|
+
--ov-ui-link-default: #787dff;
|
|
297
|
+
--ov-ui-link-active-default: #949cff;
|
|
298
|
+
--ov-ui-text-disabled-default: #42464e;
|
|
299
|
+
--ov-ui-text-5-default: #e1e3ef;
|
|
300
|
+
--ov-ui-on-primary-disabled-default: #ffffff4d;
|
|
301
|
+
--ov-ui-input-focus-ring-default: #4583ff4d;
|
|
302
|
+
--ov-ui-error-default: #ff706d;
|
|
303
|
+
--ov-ui-error-bg-default: #9f211c33;
|
|
304
|
+
--ov-ui-error-border-default: #ff706d4d;
|
|
305
|
+
}
|
|
306
|
+
|
|
90
307
|
.dark .ov-viking-bot {
|
|
91
308
|
--ov-ui-code-bg-default: var(--ov-ui-bg-3-default);
|
|
92
309
|
}
|
|
@@ -135,25 +352,45 @@ html.dark .ov-wiki-dashboard, html.dark .ov-experience-dashboard, html.dark .ov-
|
|
|
135
352
|
--ov-ui-dashboard-success-default: var(--ov-ui-status-success-default);
|
|
136
353
|
}
|
|
137
354
|
|
|
355
|
+
.ov-directory-tour-host {
|
|
356
|
+
pointer-events: none;
|
|
357
|
+
background: none;
|
|
358
|
+
border: 0;
|
|
359
|
+
align-items: flex-start;
|
|
360
|
+
width: calc(100vw - 16px);
|
|
361
|
+
height: 100dvh;
|
|
362
|
+
margin: 0;
|
|
363
|
+
padding: 0;
|
|
364
|
+
display: flex;
|
|
365
|
+
position: fixed;
|
|
366
|
+
inset: auto;
|
|
367
|
+
overflow: visible;
|
|
368
|
+
}
|
|
369
|
+
|
|
138
370
|
.ov-directory-tour {
|
|
139
|
-
--ov-ui-directory-tour-primary: var(--ov-ui-color-primary, var(--ov-ui-primary-default));
|
|
140
|
-
--ov-ui-directory-tour-background: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default));
|
|
141
|
-
--ov-ui-directory-tour-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
|
|
142
|
-
--ov-ui-directory-tour-secondary: var(--ov-ui-color-text-2, var(--ov-ui-text-2-default));
|
|
143
|
-
--ov-ui-directory-tour-muted: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default));
|
|
144
|
-
--ov-ui-directory-tour-border: var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
|
|
371
|
+
--ov-ui-directory-tour-primary-fallback: var(--ov-ui-color-primary, var(--ov-ui-primary-default));
|
|
372
|
+
--ov-ui-directory-tour-background-fallback: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default));
|
|
373
|
+
--ov-ui-directory-tour-text-fallback: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
|
|
374
|
+
--ov-ui-directory-tour-secondary-fallback: var(--ov-ui-color-text-2, var(--ov-ui-text-2-default));
|
|
375
|
+
--ov-ui-directory-tour-muted-fallback: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default));
|
|
376
|
+
--ov-ui-directory-tour-border-fallback: var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
|
|
377
|
+
pointer-events: auto;
|
|
145
378
|
width: 270px;
|
|
379
|
+
min-width: 0;
|
|
146
380
|
max-width: calc(100vw - 16px);
|
|
147
|
-
|
|
148
|
-
|
|
381
|
+
min-height: 0;
|
|
382
|
+
max-height: 100%;
|
|
383
|
+
color: var(--ov-ui-directory-tour-text, var(--ov-ui-directory-tour-text-fallback));
|
|
149
384
|
box-sizing: border-box;
|
|
150
385
|
background: none;
|
|
151
386
|
border: 0;
|
|
387
|
+
flex-direction: column;
|
|
388
|
+
flex: 0 auto;
|
|
152
389
|
margin: 0;
|
|
153
390
|
padding: 0;
|
|
154
391
|
font-family: inherit;
|
|
155
|
-
|
|
156
|
-
|
|
392
|
+
display: flex;
|
|
393
|
+
position: relative;
|
|
157
394
|
overflow: visible;
|
|
158
395
|
}
|
|
159
396
|
|
|
@@ -162,13 +399,16 @@ html.dark .ov-wiki-dashboard, html.dark .ov-experience-dashboard, html.dark .ov-
|
|
|
162
399
|
}
|
|
163
400
|
|
|
164
401
|
.ov-directory-tour__card {
|
|
165
|
-
border: .5px solid
|
|
166
|
-
|
|
402
|
+
border: .5px solid
|
|
403
|
+
var(--ov-ui-directory-tour-border, var(--ov-ui-directory-tour-border-fallback));
|
|
404
|
+
background: var(--ov-ui-directory-tour-background, var(--ov-ui-directory-tour-background-fallback));
|
|
167
405
|
box-shadow: var(--ov-ui-color-tour-shadow, var(--ov-ui-tour-shadow-default));
|
|
406
|
+
min-height: 0;
|
|
407
|
+
max-height: var(--ov-ui-directory-tour-viewport-height, calc(100dvh - 16px));
|
|
168
408
|
border-radius: 8px;
|
|
169
409
|
flex-direction: column;
|
|
410
|
+
flex: auto;
|
|
170
411
|
gap: 12px;
|
|
171
|
-
max-height: calc(100dvh - 16px);
|
|
172
412
|
padding: 16px;
|
|
173
413
|
display: flex;
|
|
174
414
|
position: relative;
|
|
@@ -185,7 +425,7 @@ html.dark .ov-wiki-dashboard, html.dark .ov-experience-dashboard, html.dark .ov-
|
|
|
185
425
|
}
|
|
186
426
|
|
|
187
427
|
.ov-directory-tour__description {
|
|
188
|
-
color: var(--ov-ui-directory-tour-secondary);
|
|
428
|
+
color: var(--ov-ui-directory-tour-secondary, var(--ov-ui-directory-tour-secondary-fallback));
|
|
189
429
|
overflow-wrap: anywhere;
|
|
190
430
|
margin-top: -8px;
|
|
191
431
|
font-size: 12px;
|
|
@@ -216,54 +456,45 @@ html.dark .ov-wiki-dashboard, html.dark .ov-experience-dashboard, html.dark .ov-
|
|
|
216
456
|
}
|
|
217
457
|
|
|
218
458
|
.ov-directory-tour__progress {
|
|
219
|
-
color: var(--ov-ui-directory-tour-muted);
|
|
459
|
+
color: var(--ov-ui-directory-tour-muted, var(--ov-ui-directory-tour-muted-fallback));
|
|
220
460
|
flex: 1;
|
|
221
461
|
font-size: 12px;
|
|
222
462
|
line-height: 20px;
|
|
223
463
|
}
|
|
224
464
|
|
|
225
|
-
.ov-directory-tour button {
|
|
465
|
+
.ov-directory-tour button:where(:not(.ov-button)) {
|
|
226
466
|
cursor: pointer;
|
|
227
467
|
font: inherit;
|
|
228
|
-
border: 1px solid
|
|
229
|
-
|
|
230
|
-
|
|
468
|
+
border: 1px solid
|
|
469
|
+
var(--ov-ui-directory-tour-border, var(--ov-ui-directory-tour-border-fallback));
|
|
470
|
+
background: var(--ov-ui-directory-tour-background, var(--ov-ui-directory-tour-background-fallback));
|
|
471
|
+
color: var(--ov-ui-directory-tour-text, var(--ov-ui-directory-tour-text-fallback));
|
|
231
472
|
border-radius: 6px;
|
|
232
473
|
padding: 3px 10px;
|
|
233
474
|
font-size: 13px;
|
|
234
475
|
line-height: 22px;
|
|
235
476
|
}
|
|
236
477
|
|
|
237
|
-
.ov-directory-tour button:hover {
|
|
478
|
+
.ov-directory-tour button:where(:not(.ov-button)):hover {
|
|
238
479
|
background: var(--ov-ui-color-bg-3, var(--ov-ui-bg-3-default));
|
|
239
480
|
}
|
|
240
481
|
|
|
241
|
-
.ov-directory-tour button:focus-visible {
|
|
242
|
-
outline: 2px solid
|
|
482
|
+
.ov-directory-tour button:where(:not(.ov-button)):focus-visible {
|
|
483
|
+
outline: 2px solid
|
|
484
|
+
var(--ov-ui-directory-tour-primary, var(--ov-ui-directory-tour-primary-fallback));
|
|
243
485
|
outline-offset: 2px;
|
|
244
486
|
}
|
|
245
487
|
|
|
246
|
-
.ov-directory-tour button:disabled {
|
|
488
|
+
.ov-directory-tour button:where(:not(.ov-button)):disabled {
|
|
247
489
|
cursor: wait;
|
|
248
490
|
opacity: .5;
|
|
249
491
|
}
|
|
250
492
|
|
|
251
|
-
.ov-directory-tour .ov-
|
|
252
|
-
|
|
253
|
-
color: var(--ov-ui-color-on-primary, var(--ov-ui-auth-on-primary-default));
|
|
254
|
-
border: 0;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.ov-directory-tour .ov-directory-tour__primary:hover {
|
|
258
|
-
background: var(--ov-ui-color-primary-hover, var(--ov-ui-primary-hover-default));
|
|
493
|
+
.ov-directory-tour .ov-button {
|
|
494
|
+
--ov-ui-button-primary: var(--ov-ui-directory-tour-primary, var(--ov-ui-directory-tour-primary-fallback));
|
|
259
495
|
}
|
|
260
496
|
|
|
261
497
|
.ov-directory-tour .ov-directory-tour__close {
|
|
262
|
-
color: var(--ov-ui-directory-tour-muted);
|
|
263
|
-
background: none;
|
|
264
|
-
border: 0;
|
|
265
|
-
padding: 2px 6px;
|
|
266
|
-
font-size: 18px;
|
|
267
498
|
position: absolute;
|
|
268
499
|
top: 2px;
|
|
269
500
|
right: 4px;
|
|
@@ -271,11 +502,108 @@ html.dark .ov-wiki-dashboard, html.dark .ov-experience-dashboard, html.dark .ov-
|
|
|
271
502
|
|
|
272
503
|
.ov-directory-tour__highlight {
|
|
273
504
|
pointer-events: none;
|
|
274
|
-
border: 1px solid
|
|
505
|
+
border: 1px solid
|
|
506
|
+
var(--ov-ui-directory-tour-primary, var(--ov-ui-directory-tour-primary-fallback));
|
|
275
507
|
background: var(--ov-ui-color-tour-highlight, var(--ov-ui-tour-highlight-default));
|
|
276
508
|
border-radius: 4px;
|
|
277
509
|
position: fixed;
|
|
278
510
|
}
|
|
279
511
|
|
|
512
|
+
.ov-directory-tour__card--custom {
|
|
513
|
+
outline: .5px solid
|
|
514
|
+
var(--ov-ui-directory-tour-border, var(--ov-ui-directory-tour-border-fallback));
|
|
515
|
+
outline-offset: -.5px;
|
|
516
|
+
border: 0;
|
|
517
|
+
padding: 12px;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.ov-directory-tour__sr-only {
|
|
521
|
+
clip-path: inset(50%);
|
|
522
|
+
white-space: nowrap;
|
|
523
|
+
width: 1px;
|
|
524
|
+
height: 1px;
|
|
525
|
+
padding: 0;
|
|
526
|
+
position: absolute;
|
|
527
|
+
overflow: hidden;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.ov-directory-tour__intro {
|
|
531
|
+
flex-direction: column;
|
|
532
|
+
gap: 12px;
|
|
533
|
+
display: flex;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.ov-directory-tour__media {
|
|
537
|
+
border-radius: 12px;
|
|
538
|
+
width: 100%;
|
|
539
|
+
overflow: hidden;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.ov-directory-tour__intro-copy {
|
|
543
|
+
flex-direction: column;
|
|
544
|
+
gap: 4px;
|
|
545
|
+
display: flex;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.ov-directory-tour__intro-title {
|
|
549
|
+
letter-spacing: .042px;
|
|
550
|
+
margin: 0;
|
|
551
|
+
font-size: 14px;
|
|
552
|
+
font-weight: 500;
|
|
553
|
+
line-height: 22px;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.ov-directory-tour__intro-description {
|
|
557
|
+
color: var(--ov-ui-directory-tour-muted, var(--ov-ui-directory-tour-muted-fallback));
|
|
558
|
+
letter-spacing: .036px;
|
|
559
|
+
overflow-wrap: anywhere;
|
|
560
|
+
font-size: 12px;
|
|
561
|
+
line-height: 20px;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.ov-directory-tour__features {
|
|
565
|
+
background: var(--ov-ui-color-primary-light, var(--ov-ui-primary-light-default));
|
|
566
|
+
color: var(--ov-ui-directory-tour-secondary, var(--ov-ui-directory-tour-secondary-fallback));
|
|
567
|
+
letter-spacing: .036px;
|
|
568
|
+
border-radius: 8px;
|
|
569
|
+
flex-direction: column;
|
|
570
|
+
gap: 4px;
|
|
571
|
+
margin: 0;
|
|
572
|
+
padding: 8px 8px 8px 12px;
|
|
573
|
+
font-size: 12px;
|
|
574
|
+
line-height: 20px;
|
|
575
|
+
list-style: none;
|
|
576
|
+
display: flex;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.ov-directory-tour__features li {
|
|
580
|
+
align-items: baseline;
|
|
581
|
+
gap: 8px;
|
|
582
|
+
padding: 0 2px;
|
|
583
|
+
display: flex;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.ov-directory-tour__features li:before {
|
|
587
|
+
content: "";
|
|
588
|
+
background: var(--ov-ui-color-primary-hover, var(--ov-ui-primary-hover-default));
|
|
589
|
+
flex: 0 0 3px;
|
|
590
|
+
align-self: flex-start;
|
|
591
|
+
height: 3px;
|
|
592
|
+
margin-top: 9px;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.ov-directory-tour__actions {
|
|
596
|
+
justify-content: flex-end;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.ov-directory-tour__intro .ov-directory-tour__primary {
|
|
600
|
+
font-size: 12px;
|
|
601
|
+
line-height: 20px;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.ov-directory-tour__highlight--group {
|
|
605
|
+
border-radius: 8px;
|
|
606
|
+
}
|
|
607
|
+
|
|
280
608
|
|
|
281
609
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { DirectoryTourProps, DirectoryTourStep } from './types.js';
|
|
2
|
+
type Props = Pick<DirectoryTourProps, 'locale' | 'labels' | 'onClose' | 'renderContent'> & {
|
|
3
|
+
step: DirectoryTourStep;
|
|
4
|
+
index: number;
|
|
5
|
+
total: number;
|
|
6
|
+
titleId: string;
|
|
7
|
+
bodyId: string;
|
|
8
|
+
locating: boolean;
|
|
9
|
+
unavailable: boolean;
|
|
10
|
+
retry: () => void;
|
|
11
|
+
advance: (skip: boolean) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare function TourCard({ step, index, total, locale, labels, onClose, renderContent, titleId, bodyId, locating, unavailable, retry, advance, }: Props): import("react").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -7,8 +7,29 @@ export interface DirectoryTourStep {
|
|
|
7
7
|
title: ReactNode;
|
|
8
8
|
description: ReactNode;
|
|
9
9
|
illustration?: ReactNode;
|
|
10
|
+
/** Card width in CSS pixels; defaults to 270 and is viewport-constrained. */
|
|
11
|
+
cardWidth?: number;
|
|
10
12
|
nextLabel?: string;
|
|
11
13
|
}
|
|
14
|
+
/** The first element positions the card; all connected rows define the highlight. */
|
|
15
|
+
export type DirectoryTourAnchor = HTMLElement | readonly HTMLElement[];
|
|
16
|
+
export interface DirectoryTourContentContext {
|
|
17
|
+
step: DirectoryTourStep;
|
|
18
|
+
index: number;
|
|
19
|
+
total: number;
|
|
20
|
+
complete: () => void;
|
|
21
|
+
close: () => void;
|
|
22
|
+
}
|
|
23
|
+
export interface DirectoryTourIntroProps {
|
|
24
|
+
title: ReactNode;
|
|
25
|
+
description: ReactNode;
|
|
26
|
+
/** Inherits the nearest language scope, otherwise en-US. */
|
|
27
|
+
locale?: Locale;
|
|
28
|
+
features?: readonly ReactNode[];
|
|
29
|
+
media?: ReactNode;
|
|
30
|
+
onDone?: () => void;
|
|
31
|
+
labels?: Pick<DirectoryTourLabels, 'done'>;
|
|
32
|
+
}
|
|
12
33
|
export interface DirectoryTourResult {
|
|
13
34
|
skippedStepIds: readonly string[];
|
|
14
35
|
}
|
|
@@ -35,9 +56,11 @@ export interface DirectoryTourProps {
|
|
|
35
56
|
style?: CSSProperties;
|
|
36
57
|
/** Host loads/expands the path and resolves only after the row is rendered.
|
|
37
58
|
* Must respect cancellation. No network or business DTO belongs to the tour. */
|
|
38
|
-
locateTarget?: (target: string, signal: AbortSignal) => Promise<
|
|
59
|
+
locateTarget?: (target: string, signal: AbortSignal) => Promise<DirectoryTourAnchor | null>;
|
|
39
60
|
onStepChange?: (index: number) => void;
|
|
40
61
|
onClose?: () => void;
|
|
41
62
|
onComplete?: (result: DirectoryTourResult) => void;
|
|
63
|
+
/** Replaces ready-state card contents; loading and recovery stay built in. */
|
|
64
|
+
renderContent?: (context: DirectoryTourContentContext) => ReactNode;
|
|
42
65
|
labels?: DirectoryTourLabels;
|
|
43
66
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { DirectoryTourProps } from './types.js';
|
|
2
2
|
export declare function useTourAnchor(target: string, locateTarget: DirectoryTourProps['locateTarget'], timeout: number, attempt: number): {
|
|
3
3
|
anchor: HTMLElement | null;
|
|
4
|
+
elements: readonly HTMLElement[];
|
|
4
5
|
failed: boolean;
|
|
5
6
|
};
|
|
@@ -7,6 +7,9 @@ interface Position {
|
|
|
7
7
|
targetHeight: number;
|
|
8
8
|
visible: boolean;
|
|
9
9
|
missing: boolean;
|
|
10
|
+
maxWidth: number;
|
|
11
|
+
maxHeight: number;
|
|
12
|
+
layoutHeight: number;
|
|
10
13
|
}
|
|
11
|
-
export declare function useTourPosition(anchor: HTMLElement | null, surface: HTMLDivElement | null, placement: 'right' | 'left'): Position | undefined;
|
|
14
|
+
export declare function useTourPosition(anchor: HTMLElement | null, surface: HTMLDivElement | null, placement: 'right' | 'left', elements: readonly HTMLElement[]): Position | undefined;
|
|
12
15
|
export {};
|
|
@@ -1,3 +1,54 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useLocale } from "../28~0.js";
|
|
3
|
+
import { resolveLocale } from "../nx~0.js";
|
|
4
|
+
import { en_US, zh_CN } from "../ep~0.js";
|
|
5
|
+
import { button_Button } from "../e~0.js";
|
|
6
|
+
function DirectoryTourIntro({ locale: localeProp, title, description, features, media, onDone, labels }) {
|
|
7
|
+
const locale = useLocale(localeProp);
|
|
8
|
+
const text = resolveLocale({
|
|
9
|
+
'en-US': en_US,
|
|
10
|
+
'zh-CN': zh_CN
|
|
11
|
+
}, locale, labels);
|
|
12
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
13
|
+
className: "ov-directory-tour__intro",
|
|
14
|
+
children: [
|
|
15
|
+
media && /*#__PURE__*/ jsx("div", {
|
|
16
|
+
className: "ov-directory-tour__media",
|
|
17
|
+
children: media
|
|
18
|
+
}),
|
|
19
|
+
/*#__PURE__*/ jsxs("div", {
|
|
20
|
+
className: "ov-directory-tour__intro-copy",
|
|
21
|
+
children: [
|
|
22
|
+
/*#__PURE__*/ jsx("h3", {
|
|
23
|
+
className: "ov-directory-tour__intro-title",
|
|
24
|
+
children: title
|
|
25
|
+
}),
|
|
26
|
+
/*#__PURE__*/ jsx("div", {
|
|
27
|
+
className: "ov-directory-tour__intro-description",
|
|
28
|
+
children: description
|
|
29
|
+
})
|
|
30
|
+
]
|
|
31
|
+
}),
|
|
32
|
+
features?.length ? /*#__PURE__*/ jsx("ul", {
|
|
33
|
+
className: "ov-directory-tour__features",
|
|
34
|
+
children: features.map((feature, index)=>/*#__PURE__*/ jsx("li", {
|
|
35
|
+
children: feature
|
|
36
|
+
}, index))
|
|
37
|
+
}) : null,
|
|
38
|
+
/*#__PURE__*/ jsx("footer", {
|
|
39
|
+
className: "ov-directory-tour__actions",
|
|
40
|
+
children: /*#__PURE__*/ jsx(button_Button, {
|
|
41
|
+
size: "small",
|
|
42
|
+
type: "primary",
|
|
43
|
+
htmlType: "button",
|
|
44
|
+
className: "ov-directory-tour__primary",
|
|
45
|
+
onClick: onDone,
|
|
46
|
+
children: text.done
|
|
47
|
+
})
|
|
48
|
+
})
|
|
49
|
+
]
|
|
50
|
+
});
|
|
51
|
+
}
|
|
1
52
|
const openVikingDirectoryTourSteps = [
|
|
2
53
|
{
|
|
3
54
|
id: 'memories',
|
|
@@ -36,5 +87,5 @@ const openVikingDirectoryTourSteps = [
|
|
|
36
87
|
description: 'Memories specific to a repository, Agent or colleague stay separate. General preferences belong in memories.'
|
|
37
88
|
}
|
|
38
89
|
];
|
|
39
|
-
export { DirectoryTour } from "../
|
|
40
|
-
export { openVikingDirectoryTourSteps };
|
|
90
|
+
export { DirectoryTour } from "../ep~0.js";
|
|
91
|
+
export { DirectoryTourIntro, openVikingDirectoryTourSteps };
|