decap-cms-core 3.13.0 → 3.15.0
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/dist/decap-cms-core.js +9 -9
- package/dist/decap-cms-core.js.map +1 -1
- package/dist/esm/actions/config.js +14 -1
- package/dist/esm/actions/entries.js +15 -4
- package/dist/esm/backend.js +2 -0
- package/dist/esm/bootstrap.js +2 -2
- package/dist/esm/components/App/App.js +15 -8
- package/dist/esm/components/App/Header.js +18 -18
- package/dist/esm/components/Collection/Collection.js +7 -7
- package/dist/esm/components/Collection/CollectionControls.js +1 -1
- package/dist/esm/components/Collection/CollectionTop.js +8 -8
- package/dist/esm/components/Collection/ControlButton.js +2 -2
- package/dist/esm/components/Collection/Entries/Entries.js +2 -2
- package/dist/esm/components/Collection/Entries/EntryCard.js +30 -15
- package/dist/esm/components/Collection/NestedCollection.js +20 -11
- package/dist/esm/components/Collection/Sidebar.js +6 -6
- package/dist/esm/components/Editor/EditorPreviewPane/EditorPreviewPane.js +22 -6
- package/dist/esm/components/MediaLibrary/MediaLibraryButtons.js +48 -9
- package/dist/esm/components/MediaLibrary/MediaLibraryCard.js +7 -9
- package/dist/esm/components/MediaLibrary/MediaLibraryCardGrid.js +5 -5
- package/dist/esm/components/MediaLibrary/MediaLibraryHeader.js +15 -3
- package/dist/esm/components/MediaLibrary/MediaLibraryModal.js +4 -1
- package/dist/esm/components/MediaLibrary/MediaLibrarySearch.js +6 -6
- package/dist/esm/components/MediaLibrary/MediaLibraryTop.js +14 -24
- package/dist/esm/components/UI/ErrorBoundary.js +2 -2
- package/dist/esm/components/UI/Modal.js +11 -4
- package/dist/esm/components/UI/SettingsDropdown.js +25 -27
- package/dist/esm/components/Workflow/Workflow.js +5 -5
- package/dist/esm/components/Workflow/WorkflowCard.js +14 -14
- package/dist/esm/components/Workflow/WorkflowList.js +18 -42
- package/dist/esm/constants/configSchema.js +2 -3
- package/dist/esm/lib/registry.js +4 -1
- package/dist/esm/reducers/entries.js +9 -7
- package/dist/esm/reducers/entryDraft.js +39 -7
- package/dist/esm/reducers/mediaLibrary.js +2 -3
- package/dist/esm/reducers/notifications.js +1 -2
- package/index.d.ts +19 -3
- package/package.json +7 -8
- package/src/__tests__/backend.spec.js +214 -0
- package/src/actions/__tests__/config.spec.js +14 -0
- package/src/actions/__tests__/editorialWorkflow.spec.js +1 -3
- package/src/actions/__tests__/entries.spec.js +36 -1
- package/src/actions/config.ts +13 -1
- package/src/actions/entries.ts +22 -7
- package/src/backend.ts +2 -0
- package/src/components/App/App.js +22 -14
- package/src/components/App/Header.js +36 -11
- package/src/components/Collection/Collection.js +10 -3
- package/src/components/Collection/CollectionControls.js +4 -3
- package/src/components/Collection/CollectionTop.js +3 -2
- package/src/components/Collection/ControlButton.js +1 -0
- package/src/components/Collection/Entries/Entries.js +1 -0
- package/src/components/Collection/Entries/EntryCard.js +13 -3
- package/src/components/Collection/NestedCollection.js +14 -7
- package/src/components/Collection/Sidebar.js +8 -7
- package/src/components/Collection/__tests__/NestedCollection.spec.js +1 -1
- package/src/components/Collection/__tests__/__snapshots__/Collection.spec.js.snap +76 -12
- package/src/components/Collection/__tests__/__snapshots__/NestedCollection.spec.js.snap +0 -68
- package/src/components/Collection/__tests__/__snapshots__/Sidebar.spec.js.snap +76 -16
- package/src/components/Editor/EditorPreviewPane/EditorPreviewPane.js +6 -5
- package/src/components/Editor/__tests__/__snapshots__/EditorToolbar.spec.js.snap +104 -72
- package/src/components/MediaLibrary/MediaLibraryButtons.js +39 -7
- package/src/components/MediaLibrary/MediaLibraryCard.js +1 -3
- package/src/components/MediaLibrary/MediaLibraryCardGrid.js +2 -2
- package/src/components/MediaLibrary/MediaLibraryHeader.js +32 -17
- package/src/components/MediaLibrary/MediaLibraryModal.js +8 -4
- package/src/components/MediaLibrary/MediaLibrarySearch.js +3 -1
- package/src/components/MediaLibrary/MediaLibraryTop.js +19 -1
- package/src/components/MediaLibrary/__tests__/__snapshots__/MediaLibraryCard.spec.js.snap +6 -6
- package/src/components/UI/Modal.js +10 -3
- package/src/components/UI/SettingsDropdown.js +36 -9
- package/src/components/Workflow/Workflow.js +7 -1
- package/src/components/Workflow/WorkflowCard.js +52 -14
- package/src/components/Workflow/WorkflowList.js +50 -31
- package/src/constants/__tests__/configSchema.spec.js +9 -6
- package/src/constants/configSchema.js +2 -3
- package/src/lib/__tests__/formatters.spec.js +16 -4
- package/src/lib/__tests__/registry.spec.js +3 -3
- package/src/lib/registry.js +4 -1
- package/src/reducers/__tests__/entryDraft.spec.js +118 -1
- package/src/reducers/__tests__/mediaLibrary.spec.js +0 -1
- package/src/reducers/entries.ts +9 -7
- package/src/reducers/entryDraft.js +46 -7
- package/src/reducers/mediaLibrary.ts +2 -3
- package/src/reducers/notifications.ts +1 -2
- package/src/types/redux.ts +22 -5
|
@@ -138,20 +138,6 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
138
138
|
margin-right: 4px;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
.emotion-6 {
|
|
142
|
-
position: relative;
|
|
143
|
-
top: 2px;
|
|
144
|
-
color: #fff;
|
|
145
|
-
width: 0;
|
|
146
|
-
height: 0;
|
|
147
|
-
border: 5px solid transparent;
|
|
148
|
-
border-radius: 2px;
|
|
149
|
-
border-left: 6px solid currentColor;
|
|
150
|
-
border-right: 0;
|
|
151
|
-
color: currentColor;
|
|
152
|
-
left: 2px;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
141
|
<a
|
|
156
142
|
class="emotion-0 emotion-1"
|
|
157
143
|
data-testid="/a"
|
|
@@ -169,9 +155,6 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
169
155
|
>
|
|
170
156
|
File 1
|
|
171
157
|
</div>
|
|
172
|
-
<div
|
|
173
|
-
class="emotion-6 emotion-7"
|
|
174
|
-
/>
|
|
175
158
|
</div>
|
|
176
159
|
</a>
|
|
177
160
|
.emotion-0 {
|
|
@@ -224,20 +207,6 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
224
207
|
margin-right: 4px;
|
|
225
208
|
}
|
|
226
209
|
|
|
227
|
-
.emotion-6 {
|
|
228
|
-
position: relative;
|
|
229
|
-
top: 2px;
|
|
230
|
-
color: #fff;
|
|
231
|
-
width: 0;
|
|
232
|
-
height: 0;
|
|
233
|
-
border: 5px solid transparent;
|
|
234
|
-
border-radius: 2px;
|
|
235
|
-
border-left: 6px solid currentColor;
|
|
236
|
-
border-right: 0;
|
|
237
|
-
color: currentColor;
|
|
238
|
-
left: 2px;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
210
|
<a
|
|
242
211
|
class="emotion-0 emotion-1"
|
|
243
212
|
data-testid="/b"
|
|
@@ -255,9 +224,6 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
255
224
|
>
|
|
256
225
|
File 2
|
|
257
226
|
</div>
|
|
258
|
-
<div
|
|
259
|
-
class="emotion-6 emotion-7"
|
|
260
|
-
/>
|
|
261
227
|
</div>
|
|
262
228
|
</a>
|
|
263
229
|
</DocumentFragment>
|
|
@@ -401,20 +367,6 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
401
367
|
margin-right: 4px;
|
|
402
368
|
}
|
|
403
369
|
|
|
404
|
-
.emotion-6 {
|
|
405
|
-
position: relative;
|
|
406
|
-
top: 2px;
|
|
407
|
-
color: #fff;
|
|
408
|
-
width: 0;
|
|
409
|
-
height: 0;
|
|
410
|
-
border: 5px solid transparent;
|
|
411
|
-
border-radius: 2px;
|
|
412
|
-
border-left: 6px solid currentColor;
|
|
413
|
-
border-right: 0;
|
|
414
|
-
color: currentColor;
|
|
415
|
-
left: 2px;
|
|
416
|
-
}
|
|
417
|
-
|
|
418
370
|
<a
|
|
419
371
|
class="emotion-0 emotion-1"
|
|
420
372
|
data-testid="/a"
|
|
@@ -432,9 +384,6 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
432
384
|
>
|
|
433
385
|
File 1
|
|
434
386
|
</div>
|
|
435
|
-
<div
|
|
436
|
-
class="emotion-6 emotion-7"
|
|
437
|
-
/>
|
|
438
387
|
</div>
|
|
439
388
|
</a>
|
|
440
389
|
.emotion-0 {
|
|
@@ -487,20 +436,6 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
487
436
|
margin-right: 4px;
|
|
488
437
|
}
|
|
489
438
|
|
|
490
|
-
.emotion-6 {
|
|
491
|
-
position: relative;
|
|
492
|
-
top: 2px;
|
|
493
|
-
color: #fff;
|
|
494
|
-
width: 0;
|
|
495
|
-
height: 0;
|
|
496
|
-
border: 5px solid transparent;
|
|
497
|
-
border-radius: 2px;
|
|
498
|
-
border-left: 6px solid currentColor;
|
|
499
|
-
border-right: 0;
|
|
500
|
-
color: currentColor;
|
|
501
|
-
left: 2px;
|
|
502
|
-
}
|
|
503
|
-
|
|
504
439
|
<a
|
|
505
440
|
class="emotion-0 emotion-1"
|
|
506
441
|
data-testid="/b"
|
|
@@ -518,9 +453,6 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
518
453
|
>
|
|
519
454
|
File 2
|
|
520
455
|
</div>
|
|
521
|
-
<div
|
|
522
|
-
class="emotion-6 emotion-7"
|
|
523
|
-
/>
|
|
524
456
|
</div>
|
|
525
457
|
</a>
|
|
526
458
|
</DocumentFragment>
|
|
@@ -6,9 +6,9 @@ exports[`Sidebar should render nested collection with filterTerm 1`] = `
|
|
|
6
6
|
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1);
|
|
7
7
|
border-radius: 5px;
|
|
8
8
|
background-color: #fff;
|
|
9
|
-
width:
|
|
9
|
+
width: 682px;
|
|
10
|
+
max-width: 100%;
|
|
10
11
|
padding: 8px 0 12px;
|
|
11
|
-
position: fixed;
|
|
12
12
|
max-height: calc(100vh - 112px);
|
|
13
13
|
display: -webkit-box;
|
|
14
14
|
display: -webkit-flex;
|
|
@@ -19,15 +19,30 @@ exports[`Sidebar should render nested collection with filterTerm 1`] = `
|
|
|
19
19
|
flex-direction: column;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
@media (min-width: 800px) {
|
|
23
|
+
.emotion-0 {
|
|
24
|
+
position: fixed;
|
|
25
|
+
width: 250px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
22
29
|
.emotion-2 {
|
|
23
|
-
font-size:
|
|
30
|
+
font-size: 20px;
|
|
31
|
+
line-height: 24px;
|
|
24
32
|
font-weight: 600;
|
|
25
|
-
|
|
33
|
+
margin: 0;
|
|
26
34
|
padding: 0;
|
|
27
35
|
margin: 10px 20px;
|
|
28
36
|
color: #313d3e;
|
|
29
37
|
}
|
|
30
38
|
|
|
39
|
+
@media (min-width: 500px) {
|
|
40
|
+
.emotion-2 {
|
|
41
|
+
font-size: 22px;
|
|
42
|
+
line-height: 26px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
31
46
|
.emotion-4 {
|
|
32
47
|
margin: 12px 0 0;
|
|
33
48
|
list-style: none;
|
|
@@ -67,9 +82,9 @@ exports[`Sidebar should render sidebar with a nested collection 1`] = `
|
|
|
67
82
|
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1);
|
|
68
83
|
border-radius: 5px;
|
|
69
84
|
background-color: #fff;
|
|
70
|
-
width:
|
|
85
|
+
width: 682px;
|
|
86
|
+
max-width: 100%;
|
|
71
87
|
padding: 8px 0 12px;
|
|
72
|
-
position: fixed;
|
|
73
88
|
max-height: calc(100vh - 112px);
|
|
74
89
|
display: -webkit-box;
|
|
75
90
|
display: -webkit-flex;
|
|
@@ -80,15 +95,30 @@ exports[`Sidebar should render sidebar with a nested collection 1`] = `
|
|
|
80
95
|
flex-direction: column;
|
|
81
96
|
}
|
|
82
97
|
|
|
98
|
+
@media (min-width: 800px) {
|
|
99
|
+
.emotion-0 {
|
|
100
|
+
position: fixed;
|
|
101
|
+
width: 250px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
83
105
|
.emotion-2 {
|
|
84
|
-
font-size:
|
|
106
|
+
font-size: 20px;
|
|
107
|
+
line-height: 24px;
|
|
85
108
|
font-weight: 600;
|
|
86
|
-
|
|
109
|
+
margin: 0;
|
|
87
110
|
padding: 0;
|
|
88
111
|
margin: 10px 20px;
|
|
89
112
|
color: #313d3e;
|
|
90
113
|
}
|
|
91
114
|
|
|
115
|
+
@media (min-width: 500px) {
|
|
116
|
+
.emotion-2 {
|
|
117
|
+
font-size: 22px;
|
|
118
|
+
line-height: 26px;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
92
122
|
.emotion-4 {
|
|
93
123
|
margin: 12px 0 0;
|
|
94
124
|
list-style: none;
|
|
@@ -127,9 +157,9 @@ exports[`Sidebar should render sidebar with a simple collection 1`] = `
|
|
|
127
157
|
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1);
|
|
128
158
|
border-radius: 5px;
|
|
129
159
|
background-color: #fff;
|
|
130
|
-
width:
|
|
160
|
+
width: 682px;
|
|
161
|
+
max-width: 100%;
|
|
131
162
|
padding: 8px 0 12px;
|
|
132
|
-
position: fixed;
|
|
133
163
|
max-height: calc(100vh - 112px);
|
|
134
164
|
display: -webkit-box;
|
|
135
165
|
display: -webkit-flex;
|
|
@@ -140,15 +170,30 @@ exports[`Sidebar should render sidebar with a simple collection 1`] = `
|
|
|
140
170
|
flex-direction: column;
|
|
141
171
|
}
|
|
142
172
|
|
|
173
|
+
@media (min-width: 800px) {
|
|
174
|
+
.emotion-0 {
|
|
175
|
+
position: fixed;
|
|
176
|
+
width: 250px;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
143
180
|
.emotion-2 {
|
|
144
|
-
font-size:
|
|
181
|
+
font-size: 20px;
|
|
182
|
+
line-height: 24px;
|
|
145
183
|
font-weight: 600;
|
|
146
|
-
|
|
184
|
+
margin: 0;
|
|
147
185
|
padding: 0;
|
|
148
186
|
margin: 10px 20px;
|
|
149
187
|
color: #313d3e;
|
|
150
188
|
}
|
|
151
189
|
|
|
190
|
+
@media (min-width: 500px) {
|
|
191
|
+
.emotion-2 {
|
|
192
|
+
font-size: 22px;
|
|
193
|
+
line-height: 26px;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
152
197
|
.emotion-4 {
|
|
153
198
|
margin: 12px 0 0;
|
|
154
199
|
list-style: none;
|
|
@@ -224,9 +269,9 @@ exports[`Sidebar should render sidebar without search 1`] = `
|
|
|
224
269
|
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1);
|
|
225
270
|
border-radius: 5px;
|
|
226
271
|
background-color: #fff;
|
|
227
|
-
width:
|
|
272
|
+
width: 682px;
|
|
273
|
+
max-width: 100%;
|
|
228
274
|
padding: 8px 0 12px;
|
|
229
|
-
position: fixed;
|
|
230
275
|
max-height: calc(100vh - 112px);
|
|
231
276
|
display: -webkit-box;
|
|
232
277
|
display: -webkit-flex;
|
|
@@ -237,15 +282,30 @@ exports[`Sidebar should render sidebar without search 1`] = `
|
|
|
237
282
|
flex-direction: column;
|
|
238
283
|
}
|
|
239
284
|
|
|
285
|
+
@media (min-width: 800px) {
|
|
286
|
+
.emotion-0 {
|
|
287
|
+
position: fixed;
|
|
288
|
+
width: 250px;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
240
292
|
.emotion-2 {
|
|
241
|
-
font-size:
|
|
293
|
+
font-size: 20px;
|
|
294
|
+
line-height: 24px;
|
|
242
295
|
font-weight: 600;
|
|
243
|
-
|
|
296
|
+
margin: 0;
|
|
244
297
|
padding: 0;
|
|
245
298
|
margin: 10px 20px;
|
|
246
299
|
color: #313d3e;
|
|
247
300
|
}
|
|
248
301
|
|
|
302
|
+
@media (min-width: 500px) {
|
|
303
|
+
.emotion-2 {
|
|
304
|
+
font-size: 22px;
|
|
305
|
+
line-height: 26px;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
249
309
|
.emotion-4 {
|
|
250
310
|
margin: 12px 0 0;
|
|
251
311
|
list-style: none;
|
|
@@ -224,17 +224,18 @@ export class PreviewPane extends React.Component {
|
|
|
224
224
|
* This function exists entirely to expose collections from outside of this entry
|
|
225
225
|
*
|
|
226
226
|
*/
|
|
227
|
-
getCollection = async (collectionName,
|
|
227
|
+
getCollection = async (collectionName, slugToLoad) => {
|
|
228
228
|
const { state } = this.props;
|
|
229
229
|
const selectedCollection = state.collections.get(collectionName);
|
|
230
230
|
|
|
231
|
-
if (typeof
|
|
231
|
+
if (typeof slugToLoad === 'undefined') {
|
|
232
232
|
const entries = await getAllEntries(state, selectedCollection);
|
|
233
|
-
|
|
233
|
+
|
|
234
|
+
return entries.map(({ data, slug, path }) => Map({ data, slug, path }));
|
|
234
235
|
}
|
|
235
236
|
|
|
236
|
-
const
|
|
237
|
-
return Map(
|
|
237
|
+
const { data, slug, path } = await tryLoadEntry(state, selectedCollection, slugToLoad);
|
|
238
|
+
return Map({ data, slug, path });
|
|
238
239
|
};
|
|
239
240
|
|
|
240
241
|
render() {
|
|
@@ -106,6 +106,7 @@ exports[`EditorToolbar should render normal save button 1`] = `
|
|
|
106
106
|
-moz-user-select: none;
|
|
107
107
|
-ms-user-select: none;
|
|
108
108
|
user-select: none;
|
|
109
|
+
touch-action: manipulation;
|
|
109
110
|
margin: 0 10px;
|
|
110
111
|
}
|
|
111
112
|
|
|
@@ -127,6 +128,7 @@ exports[`EditorToolbar should render normal save button 1`] = `
|
|
|
127
128
|
padding-left: 20px;
|
|
128
129
|
padding-right: 40px;
|
|
129
130
|
position: relative;
|
|
131
|
+
white-space: nowrap;
|
|
130
132
|
overflow: hidden;
|
|
131
133
|
white-space: nowrap;
|
|
132
134
|
text-overflow: ellipsis;
|
|
@@ -245,15 +247,17 @@ exports[`EditorToolbar should render normal save button 1`] = `
|
|
|
245
247
|
<div
|
|
246
248
|
class="emotion-14 emotion-15 emotion-16"
|
|
247
249
|
>
|
|
248
|
-
<
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
250
|
+
<div>
|
|
251
|
+
<span
|
|
252
|
+
aria-expanded="false"
|
|
253
|
+
aria-haspopup="true"
|
|
254
|
+
class="emotion-17 emotion-18"
|
|
255
|
+
role="button"
|
|
256
|
+
tabindex="0"
|
|
257
|
+
>
|
|
258
|
+
editor.editorToolbar.publish
|
|
259
|
+
</span>
|
|
260
|
+
</div>
|
|
257
261
|
</div>
|
|
258
262
|
</div>
|
|
259
263
|
<div>
|
|
@@ -383,6 +387,7 @@ exports[`EditorToolbar should render normal save button 2`] = `
|
|
|
383
387
|
-moz-user-select: none;
|
|
384
388
|
-ms-user-select: none;
|
|
385
389
|
user-select: none;
|
|
390
|
+
touch-action: manipulation;
|
|
386
391
|
margin: 0 10px;
|
|
387
392
|
}
|
|
388
393
|
|
|
@@ -404,6 +409,7 @@ exports[`EditorToolbar should render normal save button 2`] = `
|
|
|
404
409
|
padding-left: 20px;
|
|
405
410
|
padding-right: 40px;
|
|
406
411
|
position: relative;
|
|
412
|
+
white-space: nowrap;
|
|
407
413
|
overflow: hidden;
|
|
408
414
|
white-space: nowrap;
|
|
409
415
|
text-overflow: ellipsis;
|
|
@@ -522,15 +528,17 @@ exports[`EditorToolbar should render normal save button 2`] = `
|
|
|
522
528
|
<div
|
|
523
529
|
class="emotion-14 emotion-15 emotion-16"
|
|
524
530
|
>
|
|
525
|
-
<
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
531
|
+
<div>
|
|
532
|
+
<span
|
|
533
|
+
aria-expanded="false"
|
|
534
|
+
aria-haspopup="true"
|
|
535
|
+
class="emotion-17 emotion-18"
|
|
536
|
+
role="button"
|
|
537
|
+
tabindex="0"
|
|
538
|
+
>
|
|
539
|
+
editor.editorToolbar.publish
|
|
540
|
+
</span>
|
|
541
|
+
</div>
|
|
534
542
|
</div>
|
|
535
543
|
</div>
|
|
536
544
|
<div>
|
|
@@ -927,6 +935,7 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=false 1`
|
|
|
927
935
|
-moz-user-select: none;
|
|
928
936
|
-ms-user-select: none;
|
|
929
937
|
user-select: none;
|
|
938
|
+
touch-action: manipulation;
|
|
930
939
|
margin: 0 10px;
|
|
931
940
|
}
|
|
932
941
|
|
|
@@ -948,6 +957,7 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=false 1`
|
|
|
948
957
|
padding-left: 20px;
|
|
949
958
|
padding-right: 40px;
|
|
950
959
|
position: relative;
|
|
960
|
+
white-space: nowrap;
|
|
951
961
|
overflow: hidden;
|
|
952
962
|
white-space: nowrap;
|
|
953
963
|
text-overflow: ellipsis;
|
|
@@ -1072,15 +1082,17 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=false 1`
|
|
|
1072
1082
|
<div
|
|
1073
1083
|
class="emotion-16 emotion-17 emotion-18"
|
|
1074
1084
|
>
|
|
1075
|
-
<
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1085
|
+
<div>
|
|
1086
|
+
<span
|
|
1087
|
+
aria-expanded="false"
|
|
1088
|
+
aria-haspopup="true"
|
|
1089
|
+
class="emotion-19 emotion-20"
|
|
1090
|
+
role="button"
|
|
1091
|
+
tabindex="0"
|
|
1092
|
+
>
|
|
1093
|
+
editor.editorToolbar.status
|
|
1094
|
+
</span>
|
|
1095
|
+
</div>
|
|
1084
1096
|
</div>
|
|
1085
1097
|
<button
|
|
1086
1098
|
class="emotion-21 emotion-22"
|
|
@@ -1238,6 +1250,7 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=true 1`]
|
|
|
1238
1250
|
-moz-user-select: none;
|
|
1239
1251
|
-ms-user-select: none;
|
|
1240
1252
|
user-select: none;
|
|
1253
|
+
touch-action: manipulation;
|
|
1241
1254
|
margin: 0 10px;
|
|
1242
1255
|
}
|
|
1243
1256
|
|
|
@@ -1259,6 +1272,7 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=true 1`]
|
|
|
1259
1272
|
padding-left: 20px;
|
|
1260
1273
|
padding-right: 40px;
|
|
1261
1274
|
position: relative;
|
|
1275
|
+
white-space: nowrap;
|
|
1262
1276
|
overflow: hidden;
|
|
1263
1277
|
white-space: nowrap;
|
|
1264
1278
|
text-overflow: ellipsis;
|
|
@@ -1417,15 +1431,17 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=true 1`]
|
|
|
1417
1431
|
<div
|
|
1418
1432
|
class="emotion-16 emotion-17 emotion-18"
|
|
1419
1433
|
>
|
|
1420
|
-
<
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1434
|
+
<div>
|
|
1435
|
+
<span
|
|
1436
|
+
aria-expanded="false"
|
|
1437
|
+
aria-haspopup="true"
|
|
1438
|
+
class="emotion-19 emotion-20"
|
|
1439
|
+
role="button"
|
|
1440
|
+
tabindex="0"
|
|
1441
|
+
>
|
|
1442
|
+
editor.editorToolbar.status
|
|
1443
|
+
</span>
|
|
1444
|
+
</div>
|
|
1429
1445
|
</div>
|
|
1430
1446
|
<div
|
|
1431
1447
|
class="emotion-21 emotion-22"
|
|
@@ -1610,6 +1626,7 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
|
|
|
1610
1626
|
-moz-user-select: none;
|
|
1611
1627
|
-ms-user-select: none;
|
|
1612
1628
|
user-select: none;
|
|
1629
|
+
touch-action: manipulation;
|
|
1613
1630
|
margin: 0 10px;
|
|
1614
1631
|
}
|
|
1615
1632
|
|
|
@@ -1631,6 +1648,7 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
|
|
|
1631
1648
|
padding-left: 20px;
|
|
1632
1649
|
padding-right: 40px;
|
|
1633
1650
|
position: relative;
|
|
1651
|
+
white-space: nowrap;
|
|
1634
1652
|
overflow: hidden;
|
|
1635
1653
|
white-space: nowrap;
|
|
1636
1654
|
text-overflow: ellipsis;
|
|
@@ -1755,15 +1773,17 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
|
|
|
1755
1773
|
<div
|
|
1756
1774
|
class="emotion-16 emotion-17 emotion-18"
|
|
1757
1775
|
>
|
|
1758
|
-
<
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1776
|
+
<div>
|
|
1777
|
+
<span
|
|
1778
|
+
aria-expanded="false"
|
|
1779
|
+
aria-haspopup="true"
|
|
1780
|
+
class="emotion-19 emotion-20"
|
|
1781
|
+
role="button"
|
|
1782
|
+
tabindex="0"
|
|
1783
|
+
>
|
|
1784
|
+
editor.editorToolbar.status
|
|
1785
|
+
</span>
|
|
1786
|
+
</div>
|
|
1767
1787
|
</div>
|
|
1768
1788
|
<button
|
|
1769
1789
|
class="emotion-21 emotion-22"
|
|
@@ -1921,6 +1941,7 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
|
|
|
1921
1941
|
-moz-user-select: none;
|
|
1922
1942
|
-ms-user-select: none;
|
|
1923
1943
|
user-select: none;
|
|
1944
|
+
touch-action: manipulation;
|
|
1924
1945
|
margin: 0 10px;
|
|
1925
1946
|
}
|
|
1926
1947
|
|
|
@@ -1942,6 +1963,7 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
|
|
|
1942
1963
|
padding-left: 20px;
|
|
1943
1964
|
padding-right: 40px;
|
|
1944
1965
|
position: relative;
|
|
1966
|
+
white-space: nowrap;
|
|
1945
1967
|
overflow: hidden;
|
|
1946
1968
|
white-space: nowrap;
|
|
1947
1969
|
text-overflow: ellipsis;
|
|
@@ -2082,15 +2104,17 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
|
|
|
2082
2104
|
<div
|
|
2083
2105
|
class="emotion-16 emotion-17 emotion-18"
|
|
2084
2106
|
>
|
|
2085
|
-
<
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2107
|
+
<div>
|
|
2108
|
+
<span
|
|
2109
|
+
aria-expanded="false"
|
|
2110
|
+
aria-haspopup="true"
|
|
2111
|
+
class="emotion-19 emotion-20"
|
|
2112
|
+
role="button"
|
|
2113
|
+
tabindex="0"
|
|
2114
|
+
>
|
|
2115
|
+
editor.editorToolbar.status
|
|
2116
|
+
</span>
|
|
2117
|
+
</div>
|
|
2094
2118
|
</div>
|
|
2095
2119
|
<div
|
|
2096
2120
|
class="emotion-21 emotion-22"
|
|
@@ -2270,6 +2294,7 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
|
|
|
2270
2294
|
-moz-user-select: none;
|
|
2271
2295
|
-ms-user-select: none;
|
|
2272
2296
|
user-select: none;
|
|
2297
|
+
touch-action: manipulation;
|
|
2273
2298
|
margin: 0 10px;
|
|
2274
2299
|
}
|
|
2275
2300
|
|
|
@@ -2291,6 +2316,7 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
|
|
|
2291
2316
|
padding-left: 20px;
|
|
2292
2317
|
padding-right: 40px;
|
|
2293
2318
|
position: relative;
|
|
2319
|
+
white-space: nowrap;
|
|
2294
2320
|
overflow: hidden;
|
|
2295
2321
|
white-space: nowrap;
|
|
2296
2322
|
text-overflow: ellipsis;
|
|
@@ -2415,15 +2441,17 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
|
|
|
2415
2441
|
<div
|
|
2416
2442
|
class="emotion-16 emotion-17 emotion-18"
|
|
2417
2443
|
>
|
|
2418
|
-
<
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2444
|
+
<div>
|
|
2445
|
+
<span
|
|
2446
|
+
aria-expanded="false"
|
|
2447
|
+
aria-haspopup="true"
|
|
2448
|
+
class="emotion-19 emotion-20"
|
|
2449
|
+
role="button"
|
|
2450
|
+
tabindex="0"
|
|
2451
|
+
>
|
|
2452
|
+
editor.editorToolbar.status
|
|
2453
|
+
</span>
|
|
2454
|
+
</div>
|
|
2427
2455
|
</div>
|
|
2428
2456
|
<button
|
|
2429
2457
|
class="emotion-21 emotion-22"
|
|
@@ -2581,6 +2609,7 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
|
|
|
2581
2609
|
-moz-user-select: none;
|
|
2582
2610
|
-ms-user-select: none;
|
|
2583
2611
|
user-select: none;
|
|
2612
|
+
touch-action: manipulation;
|
|
2584
2613
|
margin: 0 10px;
|
|
2585
2614
|
}
|
|
2586
2615
|
|
|
@@ -2602,6 +2631,7 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
|
|
|
2602
2631
|
padding-left: 20px;
|
|
2603
2632
|
padding-right: 40px;
|
|
2604
2633
|
position: relative;
|
|
2634
|
+
white-space: nowrap;
|
|
2605
2635
|
overflow: hidden;
|
|
2606
2636
|
white-space: nowrap;
|
|
2607
2637
|
text-overflow: ellipsis;
|
|
@@ -2760,15 +2790,17 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
|
|
|
2760
2790
|
<div
|
|
2761
2791
|
class="emotion-16 emotion-17 emotion-18"
|
|
2762
2792
|
>
|
|
2763
|
-
<
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2793
|
+
<div>
|
|
2794
|
+
<span
|
|
2795
|
+
aria-expanded="false"
|
|
2796
|
+
aria-haspopup="true"
|
|
2797
|
+
class="emotion-19 emotion-20"
|
|
2798
|
+
role="button"
|
|
2799
|
+
tabindex="0"
|
|
2800
|
+
>
|
|
2801
|
+
editor.editorToolbar.status
|
|
2802
|
+
</span>
|
|
2803
|
+
</div>
|
|
2772
2804
|
</div>
|
|
2773
2805
|
<div
|
|
2774
2806
|
class="emotion-21 emotion-22"
|