decap-cms-core 3.2.5 → 3.2.8
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/auth.js +6 -12
- package/dist/esm/actions/config.js +5 -8
- package/dist/esm/actions/deploys.js +3 -6
- package/dist/esm/actions/editorialWorkflow.js +19 -36
- package/dist/esm/actions/entries.js +35 -68
- package/dist/esm/actions/media.js +6 -12
- package/dist/esm/actions/mediaLibrary.js +19 -36
- package/dist/esm/actions/notifications.js +3 -6
- package/dist/esm/actions/search.js +8 -16
- package/dist/esm/actions/status.js +3 -6
- package/dist/esm/backend.js +10 -8
- package/dist/esm/bootstrap.js +11 -12
- package/dist/esm/components/App/App.js +49 -50
- package/dist/esm/components/App/Header.js +42 -43
- package/dist/esm/components/App/NotFoundPage.js +5 -6
- package/dist/esm/components/Collection/Collection.js +23 -24
- package/dist/esm/components/Collection/CollectionControls.js +9 -10
- package/dist/esm/components/Collection/CollectionSearch.js +36 -37
- package/dist/esm/components/Collection/CollectionTop.js +18 -19
- package/dist/esm/components/Collection/ControlButton.js +6 -6
- package/dist/esm/components/Collection/Entries/Entries.js +15 -16
- package/dist/esm/components/Collection/Entries/EntriesCollection.js +11 -12
- package/dist/esm/components/Collection/Entries/EntriesSearch.js +3 -4
- package/dist/esm/components/Collection/Entries/EntryCard.js +35 -36
- package/dist/esm/components/Collection/Entries/EntryListing.js +10 -10
- package/dist/esm/components/Collection/FilterControl.js +5 -6
- package/dist/esm/components/Collection/GroupControl.js +5 -6
- package/dist/esm/components/Collection/NestedCollection.js +40 -41
- package/dist/esm/components/Collection/Sidebar.js +27 -28
- package/dist/esm/components/Collection/SortControl.js +5 -6
- package/dist/esm/components/Collection/ViewStyleControl.js +15 -16
- package/dist/esm/components/Editor/Editor.js +5 -6
- package/dist/esm/components/Editor/EditorControlPane/EditorControl.js +24 -26
- package/dist/esm/components/Editor/EditorControlPane/EditorControlPane.js +39 -39
- package/dist/esm/components/Editor/EditorControlPane/Widget.js +2 -2
- package/dist/esm/components/Editor/EditorInterface.js +67 -68
- package/dist/esm/components/Editor/EditorPreviewPane/EditorPreview.js +8 -8
- package/dist/esm/components/Editor/EditorPreviewPane/EditorPreviewContent.js +3 -4
- package/dist/esm/components/Editor/EditorPreviewPane/EditorPreviewPane.js +18 -19
- package/dist/esm/components/Editor/EditorPreviewPane/PreviewHOC.js +1 -2
- package/dist/esm/components/Editor/EditorToolbar.js +155 -156
- package/dist/esm/components/Editor/withWorkflow.js +4 -4
- package/dist/esm/components/EditorWidgets/Unknown/UnknownControl.js +3 -4
- package/dist/esm/components/EditorWidgets/Unknown/UnknownPreview.js +3 -4
- package/dist/esm/components/MediaLibrary/EmptyMessage.js +6 -7
- package/dist/esm/components/MediaLibrary/MediaLibrary.js +7 -8
- package/dist/esm/components/MediaLibrary/MediaLibraryButtons.js +17 -21
- package/dist/esm/components/MediaLibrary/MediaLibraryCard.js +25 -26
- package/dist/esm/components/MediaLibrary/MediaLibraryCardGrid.js +29 -30
- package/dist/esm/components/MediaLibrary/MediaLibraryHeader.js +10 -11
- package/dist/esm/components/MediaLibrary/MediaLibraryModal.js +10 -12
- package/dist/esm/components/MediaLibrary/MediaLibrarySearch.js +15 -16
- package/dist/esm/components/MediaLibrary/MediaLibraryTop.js +27 -28
- package/dist/esm/components/UI/DragDrop.js +3 -3
- package/dist/esm/components/UI/ErrorBoundary.js +15 -16
- package/dist/esm/components/UI/FileUploadButton.js +3 -3
- package/dist/esm/components/UI/Modal.js +5 -5
- package/dist/esm/components/UI/Notifications.js +7 -8
- package/dist/esm/components/UI/SettingsDropdown.js +41 -42
- package/dist/esm/components/Workflow/Workflow.js +21 -22
- package/dist/esm/components/Workflow/WorkflowCard.js +44 -45
- package/dist/esm/components/Workflow/WorkflowList.js +56 -57
- package/dist/esm/constants/collectionTypes.js +2 -4
- package/dist/esm/constants/collectionViews.js +2 -4
- package/dist/esm/constants/commitProps.js +2 -4
- package/dist/esm/constants/configSchema.js +2 -2
- package/dist/esm/constants/fieldInference.js +8 -11
- package/dist/esm/constants/publishModes.js +6 -11
- package/dist/esm/constants/validationErrorTypes.js +2 -3
- package/dist/esm/formats/formats.js +5 -8
- package/dist/esm/formats/frontmatter.js +3 -4
- package/dist/esm/formats/json.js +2 -3
- package/dist/esm/formats/toml.js +2 -3
- package/dist/esm/formats/yaml.js +2 -3
- package/dist/esm/index.js +4 -6
- package/dist/esm/integrations/index.js +2 -3
- package/dist/esm/integrations/providers/algolia/implementation.js +2 -2
- package/dist/esm/integrations/providers/assetStore/implementation.js +2 -2
- package/dist/esm/lib/formatters.js +2 -2
- package/dist/esm/lib/i18n.js +5 -8
- package/dist/esm/lib/registry.js +3 -4
- package/dist/esm/lib/urlHelper.js +2 -2
- package/dist/esm/reducers/auth.js +2 -4
- package/dist/esm/reducers/collections.js +3 -4
- package/dist/esm/reducers/combinedReducer.js +3 -4
- package/dist/esm/reducers/config.js +3 -4
- package/dist/esm/reducers/cursors.js +1 -2
- package/dist/esm/reducers/deploys.js +1 -2
- package/dist/esm/reducers/editorialWorkflow.js +3 -4
- package/dist/esm/reducers/entries.js +3 -4
- package/dist/esm/reducers/entryDraft.js +1 -2
- package/dist/esm/reducers/globalUI.js +1 -2
- package/dist/esm/reducers/index.js +15 -12
- package/dist/esm/reducers/integrations.js +3 -4
- package/dist/esm/reducers/mediaLibrary.js +3 -4
- package/dist/esm/reducers/medias.js +1 -2
- package/dist/esm/reducers/notifications.js +3 -4
- package/dist/esm/reducers/search.js +1 -2
- package/dist/esm/reducers/status.js +1 -2
- package/dist/esm/redux/index.js +1 -2
- package/dist/esm/redux/middleware/waitUntilAction.js +1 -2
- package/dist/esm/routing/history.js +1 -2
- package/dist/esm/types/redux.js +2 -3
- package/dist/esm/valueObjects/EditorComponent.js +2 -2
- package/index.d.ts +1 -0
- package/package.json +4 -4
- package/src/backend.ts +6 -1
- package/src/components/App/Header.js +1 -1
- package/src/components/Collection/ControlButton.js +1 -1
- package/src/components/Collection/NestedCollection.js +1 -1
- package/src/components/Collection/Sidebar.js +1 -1
- package/src/components/Collection/__tests__/__snapshots__/Collection.spec.js.snap +16 -16
- package/src/components/Collection/__tests__/__snapshots__/NestedCollection.spec.js.snap +143 -143
- package/src/components/Collection/__tests__/__snapshots__/Sidebar.spec.js.snap +36 -36
- package/src/components/Editor/EditorControlPane/EditorControl.js +1 -1
- package/src/components/Editor/EditorControlPane/EditorControlPane.js +1 -1
- package/src/components/Editor/EditorInterface.js +1 -1
- package/src/components/Editor/EditorToolbar.js +1 -1
- package/src/components/Editor/__tests__/__snapshots__/EditorToolbar.spec.js.snap +1000 -1102
- package/src/components/MediaLibrary/MediaLibraryButtons.js +1 -1
- package/src/components/MediaLibrary/__tests__/__snapshots__/MediaLibraryCard.spec.js.snap +94 -46
- package/src/components/UI/Modal.js +1 -1
- package/src/components/UI/SettingsDropdown.js +1 -1
- package/src/components/Workflow/WorkflowCard.js +1 -1
- package/src/components/Workflow/WorkflowList.js +1 -1
- package/src/types/redux.ts +1 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`NestedCollection should render connected component 1`] = `
|
|
4
4
|
<DocumentFragment>
|
|
5
|
-
.emotion-
|
|
5
|
+
.emotion-0 {
|
|
6
6
|
display: -webkit-box;
|
|
7
7
|
display: -webkit-flex;
|
|
8
8
|
display: -ms-flexbox;
|
|
@@ -18,29 +18,29 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
18
18
|
border-left: 2px solid #fff;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.emotion-
|
|
21
|
+
.emotion-0 mocked-icon {
|
|
22
22
|
margin-right: 8px;
|
|
23
23
|
-webkit-flex-shrink: 0;
|
|
24
24
|
-ms-flex-negative: 0;
|
|
25
25
|
flex-shrink: 0;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.emotion-
|
|
29
|
-
.emotion-
|
|
30
|
-
.emotion-
|
|
28
|
+
.emotion-0:hover,
|
|
29
|
+
.emotion-0:active,
|
|
30
|
+
.emotion-0.sidebar-active {
|
|
31
31
|
color: #3a69c7;
|
|
32
32
|
background-color: #e8f5fe;
|
|
33
33
|
border-left-color: #4863c6;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.emotion-
|
|
36
|
+
.emotion-2 {
|
|
37
37
|
display: -webkit-box;
|
|
38
38
|
display: -webkit-flex;
|
|
39
39
|
display: -ms-flexbox;
|
|
40
40
|
display: flex;
|
|
41
41
|
-webkit-box-pack: center;
|
|
42
|
-
-webkit-justify-content: center;
|
|
43
42
|
-ms-flex-pack: center;
|
|
43
|
+
-webkit-justify-content: center;
|
|
44
44
|
justify-content: center;
|
|
45
45
|
-webkit-align-items: center;
|
|
46
46
|
-webkit-box-align: center;
|
|
@@ -48,11 +48,11 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
48
48
|
align-items: center;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.emotion-
|
|
51
|
+
.emotion-4 {
|
|
52
52
|
margin-right: 4px;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.emotion-
|
|
55
|
+
.emotion-6 {
|
|
56
56
|
position: relative;
|
|
57
57
|
top: 2px;
|
|
58
58
|
color: #fff;
|
|
@@ -67,7 +67,7 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
67
67
|
|
|
68
68
|
<a
|
|
69
69
|
aria-current="page"
|
|
70
|
-
class="emotion-
|
|
70
|
+
class="emotion-0 emotion-1 sidebar-active"
|
|
71
71
|
data-testid="/"
|
|
72
72
|
depth="0"
|
|
73
73
|
href="/collections/pages"
|
|
@@ -76,38 +76,19 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
76
76
|
type="write"
|
|
77
77
|
/>
|
|
78
78
|
<div
|
|
79
|
-
class="emotion-
|
|
79
|
+
class="emotion-2 emotion-3"
|
|
80
80
|
>
|
|
81
81
|
<div
|
|
82
|
-
class="emotion-
|
|
82
|
+
class="emotion-4 emotion-5"
|
|
83
83
|
>
|
|
84
84
|
Pages
|
|
85
85
|
</div>
|
|
86
86
|
<div
|
|
87
|
-
class="emotion-
|
|
87
|
+
class="emotion-6 emotion-7"
|
|
88
88
|
/>
|
|
89
89
|
</div>
|
|
90
90
|
</a>
|
|
91
|
-
.emotion-
|
|
92
|
-
display: -webkit-box;
|
|
93
|
-
display: -webkit-flex;
|
|
94
|
-
display: -ms-flexbox;
|
|
95
|
-
display: flex;
|
|
96
|
-
-webkit-box-pack: center;
|
|
97
|
-
-webkit-justify-content: center;
|
|
98
|
-
-ms-flex-pack: center;
|
|
99
|
-
justify-content: center;
|
|
100
|
-
-webkit-align-items: center;
|
|
101
|
-
-webkit-box-align: center;
|
|
102
|
-
-ms-flex-align: center;
|
|
103
|
-
align-items: center;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.emotion-0 {
|
|
107
|
-
margin-right: 4px;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.emotion-4 {
|
|
91
|
+
.emotion-0 {
|
|
111
92
|
display: -webkit-box;
|
|
112
93
|
display: -webkit-flex;
|
|
113
94
|
display: -ms-flexbox;
|
|
@@ -123,23 +104,42 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
123
104
|
border-left: 2px solid #fff;
|
|
124
105
|
}
|
|
125
106
|
|
|
126
|
-
.emotion-
|
|
107
|
+
.emotion-0 mocked-icon {
|
|
127
108
|
margin-right: 8px;
|
|
128
109
|
-webkit-flex-shrink: 0;
|
|
129
110
|
-ms-flex-negative: 0;
|
|
130
111
|
flex-shrink: 0;
|
|
131
112
|
}
|
|
132
113
|
|
|
133
|
-
.emotion-
|
|
134
|
-
.emotion-
|
|
135
|
-
.emotion-
|
|
114
|
+
.emotion-0:hover,
|
|
115
|
+
.emotion-0:active,
|
|
116
|
+
.emotion-0.sidebar-active {
|
|
136
117
|
color: #3a69c7;
|
|
137
118
|
background-color: #e8f5fe;
|
|
138
119
|
border-left-color: #4863c6;
|
|
139
120
|
}
|
|
140
121
|
|
|
122
|
+
.emotion-2 {
|
|
123
|
+
display: -webkit-box;
|
|
124
|
+
display: -webkit-flex;
|
|
125
|
+
display: -ms-flexbox;
|
|
126
|
+
display: flex;
|
|
127
|
+
-webkit-box-pack: center;
|
|
128
|
+
-ms-flex-pack: center;
|
|
129
|
+
-webkit-justify-content: center;
|
|
130
|
+
justify-content: center;
|
|
131
|
+
-webkit-align-items: center;
|
|
132
|
+
-webkit-box-align: center;
|
|
133
|
+
-ms-flex-align: center;
|
|
134
|
+
align-items: center;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.emotion-4 {
|
|
138
|
+
margin-right: 4px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
141
|
<a
|
|
142
|
-
class="emotion-
|
|
142
|
+
class="emotion-0 emotion-1"
|
|
143
143
|
data-testid="/a"
|
|
144
144
|
depth="1"
|
|
145
145
|
href="/collections/pages/filter/a"
|
|
@@ -151,32 +151,13 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
151
151
|
class="emotion-2 emotion-3"
|
|
152
152
|
>
|
|
153
153
|
<div
|
|
154
|
-
class="emotion-
|
|
154
|
+
class="emotion-4 emotion-5"
|
|
155
155
|
>
|
|
156
156
|
File 1
|
|
157
157
|
</div>
|
|
158
158
|
</div>
|
|
159
159
|
</a>
|
|
160
|
-
.emotion-
|
|
161
|
-
display: -webkit-box;
|
|
162
|
-
display: -webkit-flex;
|
|
163
|
-
display: -ms-flexbox;
|
|
164
|
-
display: flex;
|
|
165
|
-
-webkit-box-pack: center;
|
|
166
|
-
-webkit-justify-content: center;
|
|
167
|
-
-ms-flex-pack: center;
|
|
168
|
-
justify-content: center;
|
|
169
|
-
-webkit-align-items: center;
|
|
170
|
-
-webkit-box-align: center;
|
|
171
|
-
-ms-flex-align: center;
|
|
172
|
-
align-items: center;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.emotion-0 {
|
|
176
|
-
margin-right: 4px;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.emotion-4 {
|
|
160
|
+
.emotion-0 {
|
|
180
161
|
display: -webkit-box;
|
|
181
162
|
display: -webkit-flex;
|
|
182
163
|
display: -ms-flexbox;
|
|
@@ -192,23 +173,42 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
192
173
|
border-left: 2px solid #fff;
|
|
193
174
|
}
|
|
194
175
|
|
|
195
|
-
.emotion-
|
|
176
|
+
.emotion-0 mocked-icon {
|
|
196
177
|
margin-right: 8px;
|
|
197
178
|
-webkit-flex-shrink: 0;
|
|
198
179
|
-ms-flex-negative: 0;
|
|
199
180
|
flex-shrink: 0;
|
|
200
181
|
}
|
|
201
182
|
|
|
202
|
-
.emotion-
|
|
203
|
-
.emotion-
|
|
204
|
-
.emotion-
|
|
183
|
+
.emotion-0:hover,
|
|
184
|
+
.emotion-0:active,
|
|
185
|
+
.emotion-0.sidebar-active {
|
|
205
186
|
color: #3a69c7;
|
|
206
187
|
background-color: #e8f5fe;
|
|
207
188
|
border-left-color: #4863c6;
|
|
208
189
|
}
|
|
209
190
|
|
|
191
|
+
.emotion-2 {
|
|
192
|
+
display: -webkit-box;
|
|
193
|
+
display: -webkit-flex;
|
|
194
|
+
display: -ms-flexbox;
|
|
195
|
+
display: flex;
|
|
196
|
+
-webkit-box-pack: center;
|
|
197
|
+
-ms-flex-pack: center;
|
|
198
|
+
-webkit-justify-content: center;
|
|
199
|
+
justify-content: center;
|
|
200
|
+
-webkit-align-items: center;
|
|
201
|
+
-webkit-box-align: center;
|
|
202
|
+
-ms-flex-align: center;
|
|
203
|
+
align-items: center;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.emotion-4 {
|
|
207
|
+
margin-right: 4px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
210
|
<a
|
|
211
|
-
class="emotion-
|
|
211
|
+
class="emotion-0 emotion-1"
|
|
212
212
|
data-testid="/b"
|
|
213
213
|
depth="1"
|
|
214
214
|
href="/collections/pages/filter/b"
|
|
@@ -220,7 +220,7 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
220
220
|
class="emotion-2 emotion-3"
|
|
221
221
|
>
|
|
222
222
|
<div
|
|
223
|
-
class="emotion-
|
|
223
|
+
class="emotion-4 emotion-5"
|
|
224
224
|
>
|
|
225
225
|
File 2
|
|
226
226
|
</div>
|
|
@@ -231,7 +231,7 @@ exports[`NestedCollection should render connected component 1`] = `
|
|
|
231
231
|
|
|
232
232
|
exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
233
233
|
<DocumentFragment>
|
|
234
|
-
.emotion-
|
|
234
|
+
.emotion-0 {
|
|
235
235
|
display: -webkit-box;
|
|
236
236
|
display: -webkit-flex;
|
|
237
237
|
display: -ms-flexbox;
|
|
@@ -247,29 +247,29 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
247
247
|
border-left: 2px solid #fff;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
.emotion-
|
|
250
|
+
.emotion-0 mocked-icon {
|
|
251
251
|
margin-right: 8px;
|
|
252
252
|
-webkit-flex-shrink: 0;
|
|
253
253
|
-ms-flex-negative: 0;
|
|
254
254
|
flex-shrink: 0;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
.emotion-
|
|
258
|
-
.emotion-
|
|
259
|
-
.emotion-
|
|
257
|
+
.emotion-0:hover,
|
|
258
|
+
.emotion-0:active,
|
|
259
|
+
.emotion-0.sidebar-active {
|
|
260
260
|
color: #3a69c7;
|
|
261
261
|
background-color: #e8f5fe;
|
|
262
262
|
border-left-color: #4863c6;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
.emotion-
|
|
265
|
+
.emotion-2 {
|
|
266
266
|
display: -webkit-box;
|
|
267
267
|
display: -webkit-flex;
|
|
268
268
|
display: -ms-flexbox;
|
|
269
269
|
display: flex;
|
|
270
270
|
-webkit-box-pack: center;
|
|
271
|
-
-webkit-justify-content: center;
|
|
272
271
|
-ms-flex-pack: center;
|
|
272
|
+
-webkit-justify-content: center;
|
|
273
273
|
justify-content: center;
|
|
274
274
|
-webkit-align-items: center;
|
|
275
275
|
-webkit-box-align: center;
|
|
@@ -277,11 +277,11 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
277
277
|
align-items: center;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
|
-
.emotion-
|
|
280
|
+
.emotion-4 {
|
|
281
281
|
margin-right: 4px;
|
|
282
282
|
}
|
|
283
283
|
|
|
284
|
-
.emotion-
|
|
284
|
+
.emotion-6 {
|
|
285
285
|
position: relative;
|
|
286
286
|
top: 2px;
|
|
287
287
|
color: #fff;
|
|
@@ -296,7 +296,7 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
296
296
|
|
|
297
297
|
<a
|
|
298
298
|
aria-current="page"
|
|
299
|
-
class="emotion-
|
|
299
|
+
class="emotion-0 emotion-1 sidebar-active"
|
|
300
300
|
data-testid="/"
|
|
301
301
|
depth="0"
|
|
302
302
|
href="/collections/pages"
|
|
@@ -305,38 +305,19 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
305
305
|
type="write"
|
|
306
306
|
/>
|
|
307
307
|
<div
|
|
308
|
-
class="emotion-
|
|
308
|
+
class="emotion-2 emotion-3"
|
|
309
309
|
>
|
|
310
310
|
<div
|
|
311
|
-
class="emotion-
|
|
311
|
+
class="emotion-4 emotion-5"
|
|
312
312
|
>
|
|
313
313
|
Pages
|
|
314
314
|
</div>
|
|
315
315
|
<div
|
|
316
|
-
class="emotion-
|
|
316
|
+
class="emotion-6 emotion-7"
|
|
317
317
|
/>
|
|
318
318
|
</div>
|
|
319
319
|
</a>
|
|
320
|
-
.emotion-
|
|
321
|
-
display: -webkit-box;
|
|
322
|
-
display: -webkit-flex;
|
|
323
|
-
display: -ms-flexbox;
|
|
324
|
-
display: flex;
|
|
325
|
-
-webkit-box-pack: center;
|
|
326
|
-
-webkit-justify-content: center;
|
|
327
|
-
-ms-flex-pack: center;
|
|
328
|
-
justify-content: center;
|
|
329
|
-
-webkit-align-items: center;
|
|
330
|
-
-webkit-box-align: center;
|
|
331
|
-
-ms-flex-align: center;
|
|
332
|
-
align-items: center;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.emotion-0 {
|
|
336
|
-
margin-right: 4px;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
.emotion-4 {
|
|
320
|
+
.emotion-0 {
|
|
340
321
|
display: -webkit-box;
|
|
341
322
|
display: -webkit-flex;
|
|
342
323
|
display: -ms-flexbox;
|
|
@@ -352,23 +333,42 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
352
333
|
border-left: 2px solid #fff;
|
|
353
334
|
}
|
|
354
335
|
|
|
355
|
-
.emotion-
|
|
336
|
+
.emotion-0 mocked-icon {
|
|
356
337
|
margin-right: 8px;
|
|
357
338
|
-webkit-flex-shrink: 0;
|
|
358
339
|
-ms-flex-negative: 0;
|
|
359
340
|
flex-shrink: 0;
|
|
360
341
|
}
|
|
361
342
|
|
|
362
|
-
.emotion-
|
|
363
|
-
.emotion-
|
|
364
|
-
.emotion-
|
|
343
|
+
.emotion-0:hover,
|
|
344
|
+
.emotion-0:active,
|
|
345
|
+
.emotion-0.sidebar-active {
|
|
365
346
|
color: #3a69c7;
|
|
366
347
|
background-color: #e8f5fe;
|
|
367
348
|
border-left-color: #4863c6;
|
|
368
349
|
}
|
|
369
350
|
|
|
351
|
+
.emotion-2 {
|
|
352
|
+
display: -webkit-box;
|
|
353
|
+
display: -webkit-flex;
|
|
354
|
+
display: -ms-flexbox;
|
|
355
|
+
display: flex;
|
|
356
|
+
-webkit-box-pack: center;
|
|
357
|
+
-ms-flex-pack: center;
|
|
358
|
+
-webkit-justify-content: center;
|
|
359
|
+
justify-content: center;
|
|
360
|
+
-webkit-align-items: center;
|
|
361
|
+
-webkit-box-align: center;
|
|
362
|
+
-ms-flex-align: center;
|
|
363
|
+
align-items: center;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.emotion-4 {
|
|
367
|
+
margin-right: 4px;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
370
|
<a
|
|
371
|
-
class="emotion-
|
|
371
|
+
class="emotion-0 emotion-1"
|
|
372
372
|
data-testid="/a"
|
|
373
373
|
depth="1"
|
|
374
374
|
href="/collections/pages/filter/a"
|
|
@@ -380,32 +380,13 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
380
380
|
class="emotion-2 emotion-3"
|
|
381
381
|
>
|
|
382
382
|
<div
|
|
383
|
-
class="emotion-
|
|
383
|
+
class="emotion-4 emotion-5"
|
|
384
384
|
>
|
|
385
385
|
File 1
|
|
386
386
|
</div>
|
|
387
387
|
</div>
|
|
388
388
|
</a>
|
|
389
|
-
.emotion-
|
|
390
|
-
display: -webkit-box;
|
|
391
|
-
display: -webkit-flex;
|
|
392
|
-
display: -ms-flexbox;
|
|
393
|
-
display: flex;
|
|
394
|
-
-webkit-box-pack: center;
|
|
395
|
-
-webkit-justify-content: center;
|
|
396
|
-
-ms-flex-pack: center;
|
|
397
|
-
justify-content: center;
|
|
398
|
-
-webkit-align-items: center;
|
|
399
|
-
-webkit-box-align: center;
|
|
400
|
-
-ms-flex-align: center;
|
|
401
|
-
align-items: center;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.emotion-0 {
|
|
405
|
-
margin-right: 4px;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
.emotion-4 {
|
|
389
|
+
.emotion-0 {
|
|
409
390
|
display: -webkit-box;
|
|
410
391
|
display: -webkit-flex;
|
|
411
392
|
display: -ms-flexbox;
|
|
@@ -421,23 +402,42 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
421
402
|
border-left: 2px solid #fff;
|
|
422
403
|
}
|
|
423
404
|
|
|
424
|
-
.emotion-
|
|
405
|
+
.emotion-0 mocked-icon {
|
|
425
406
|
margin-right: 8px;
|
|
426
407
|
-webkit-flex-shrink: 0;
|
|
427
408
|
-ms-flex-negative: 0;
|
|
428
409
|
flex-shrink: 0;
|
|
429
410
|
}
|
|
430
411
|
|
|
431
|
-
.emotion-
|
|
432
|
-
.emotion-
|
|
433
|
-
.emotion-
|
|
412
|
+
.emotion-0:hover,
|
|
413
|
+
.emotion-0:active,
|
|
414
|
+
.emotion-0.sidebar-active {
|
|
434
415
|
color: #3a69c7;
|
|
435
416
|
background-color: #e8f5fe;
|
|
436
417
|
border-left-color: #4863c6;
|
|
437
418
|
}
|
|
438
419
|
|
|
420
|
+
.emotion-2 {
|
|
421
|
+
display: -webkit-box;
|
|
422
|
+
display: -webkit-flex;
|
|
423
|
+
display: -ms-flexbox;
|
|
424
|
+
display: flex;
|
|
425
|
+
-webkit-box-pack: center;
|
|
426
|
+
-ms-flex-pack: center;
|
|
427
|
+
-webkit-justify-content: center;
|
|
428
|
+
justify-content: center;
|
|
429
|
+
-webkit-align-items: center;
|
|
430
|
+
-webkit-box-align: center;
|
|
431
|
+
-ms-flex-align: center;
|
|
432
|
+
align-items: center;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.emotion-4 {
|
|
436
|
+
margin-right: 4px;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
439
|
<a
|
|
440
|
-
class="emotion-
|
|
440
|
+
class="emotion-0 emotion-1"
|
|
441
441
|
data-testid="/b"
|
|
442
442
|
depth="1"
|
|
443
443
|
href="/collections/pages/filter/b"
|
|
@@ -449,7 +449,7 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
449
449
|
class="emotion-2 emotion-3"
|
|
450
450
|
>
|
|
451
451
|
<div
|
|
452
|
-
class="emotion-
|
|
452
|
+
class="emotion-4 emotion-5"
|
|
453
453
|
>
|
|
454
454
|
File 2
|
|
455
455
|
</div>
|
|
@@ -460,7 +460,7 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
|
|
|
460
460
|
|
|
461
461
|
exports[`NestedCollection should render correctly with no entries 1`] = `
|
|
462
462
|
<DocumentFragment>
|
|
463
|
-
.emotion-
|
|
463
|
+
.emotion-0 {
|
|
464
464
|
display: -webkit-box;
|
|
465
465
|
display: -webkit-flex;
|
|
466
466
|
display: -ms-flexbox;
|
|
@@ -476,29 +476,29 @@ exports[`NestedCollection should render correctly with no entries 1`] = `
|
|
|
476
476
|
border-left: 2px solid #fff;
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
.emotion-
|
|
479
|
+
.emotion-0 mocked-icon {
|
|
480
480
|
margin-right: 8px;
|
|
481
481
|
-webkit-flex-shrink: 0;
|
|
482
482
|
-ms-flex-negative: 0;
|
|
483
483
|
flex-shrink: 0;
|
|
484
484
|
}
|
|
485
485
|
|
|
486
|
-
.emotion-
|
|
487
|
-
.emotion-
|
|
488
|
-
.emotion-
|
|
486
|
+
.emotion-0:hover,
|
|
487
|
+
.emotion-0:active,
|
|
488
|
+
.emotion-0.sidebar-active {
|
|
489
489
|
color: #3a69c7;
|
|
490
490
|
background-color: #e8f5fe;
|
|
491
491
|
border-left-color: #4863c6;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
|
-
.emotion-
|
|
494
|
+
.emotion-2 {
|
|
495
495
|
display: -webkit-box;
|
|
496
496
|
display: -webkit-flex;
|
|
497
497
|
display: -ms-flexbox;
|
|
498
498
|
display: flex;
|
|
499
499
|
-webkit-box-pack: center;
|
|
500
|
-
-webkit-justify-content: center;
|
|
501
500
|
-ms-flex-pack: center;
|
|
501
|
+
-webkit-justify-content: center;
|
|
502
502
|
justify-content: center;
|
|
503
503
|
-webkit-align-items: center;
|
|
504
504
|
-webkit-box-align: center;
|
|
@@ -506,11 +506,11 @@ exports[`NestedCollection should render correctly with no entries 1`] = `
|
|
|
506
506
|
align-items: center;
|
|
507
507
|
}
|
|
508
508
|
|
|
509
|
-
.emotion-
|
|
509
|
+
.emotion-4 {
|
|
510
510
|
margin-right: 4px;
|
|
511
511
|
}
|
|
512
512
|
|
|
513
|
-
.emotion-
|
|
513
|
+
.emotion-6 {
|
|
514
514
|
position: relative;
|
|
515
515
|
top: 2px;
|
|
516
516
|
color: #fff;
|
|
@@ -525,7 +525,7 @@ exports[`NestedCollection should render correctly with no entries 1`] = `
|
|
|
525
525
|
}
|
|
526
526
|
|
|
527
527
|
<a
|
|
528
|
-
class="emotion-
|
|
528
|
+
class="emotion-0 emotion-1"
|
|
529
529
|
data-testid="/"
|
|
530
530
|
depth="0"
|
|
531
531
|
href="/collections/pages"
|
|
@@ -534,15 +534,15 @@ exports[`NestedCollection should render correctly with no entries 1`] = `
|
|
|
534
534
|
type="write"
|
|
535
535
|
/>
|
|
536
536
|
<div
|
|
537
|
-
class="emotion-
|
|
537
|
+
class="emotion-2 emotion-3"
|
|
538
538
|
>
|
|
539
539
|
<div
|
|
540
|
-
class="emotion-
|
|
540
|
+
class="emotion-4 emotion-5"
|
|
541
541
|
>
|
|
542
542
|
Pages
|
|
543
543
|
</div>
|
|
544
544
|
<div
|
|
545
|
-
class="emotion-
|
|
545
|
+
class="emotion-6 emotion-7"
|
|
546
546
|
/>
|
|
547
547
|
</div>
|
|
548
548
|
</a>
|