decap-cms-core 3.3.0 → 3.3.2

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.
@@ -54,8 +54,8 @@ function buildIssueTemplate({
54
54
  let version = '';
55
55
  if (typeof DECAP_CMS_VERSION === 'string') {
56
56
  version = `decap-cms@${DECAP_CMS_VERSION}`;
57
- } else if (typeof "3.1.0-beta.4" === 'string') {
58
- version = `decap-cms-app@${"3.1.0-beta.4"}`;
57
+ } else if (typeof "3.1.2" === 'string') {
58
+ version = `decap-cms-app@${"3.1.2"}`;
59
59
  }
60
60
  const template = getIssueTemplate({
61
61
  version,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "decap-cms-core",
3
3
  "description": "Decap CMS core application, see decap-cms package for the main distribution.",
4
- "version": "3.3.0",
4
+ "version": "3.3.2",
5
5
  "repository": "https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-core",
6
6
  "bugs": "https://github.com/decaporg/decap-cms/issues",
7
7
  "module": "dist/esm/index.js",
@@ -96,5 +96,5 @@
96
96
  "@types/url-join": "^4.0.0",
97
97
  "redux-mock-store": "^1.5.3"
98
98
  },
99
- "gitHead": "80fb16f775bc4a1ad026985ca85a2e9ee3f1e15c"
99
+ "gitHead": "3715ca74a21de3aed1a5b96627c6745bc1b5b490"
100
100
  }
@@ -31,7 +31,7 @@ const SearchInput = styled.input`
31
31
  background-color: #eff0f4;
32
32
  border-radius: ${lengths.borderRadius};
33
33
  font-size: 14px;
34
- padding: 10px 6px 10px 32px;
34
+ padding: 10px 6px 10px 34px;
35
35
  width: 100%;
36
36
  position: relative;
37
37
  z-index: ${zIndex.zIndex1};
@@ -62,7 +62,7 @@ const Suggestions = styled.ul`
62
62
  `;
63
63
 
64
64
  const SuggestionHeader = styled.li`
65
- padding: 0 6px 6px 32px;
65
+ padding: 0 6px 6px 34px;
66
66
  font-size: 12px;
67
67
  color: ${colors.text};
68
68
  `;
@@ -71,7 +71,7 @@ const SuggestionItem = styled.li(
71
71
  ({ isActive }) => `
72
72
  color: ${isActive ? colors.active : colorsRaw.grayDark};
73
73
  background-color: ${isActive ? colors.activeBackground : 'inherit'};
74
- padding: 6px 6px 6px 32px;
74
+ padding: 6px 6px 6px 34px;
75
75
  cursor: pointer;
76
76
  position: relative;
77
77
 
@@ -22,8 +22,10 @@ import { selectCollectionEntriesCursor } from '../../../reducers/cursors';
22
22
  import Entries from './Entries';
23
23
 
24
24
  const GroupHeading = styled.h2`
25
- font-size: 23px;
25
+ font-size: 22px;
26
26
  font-weight: 600;
27
+ line-height: 37px;
28
+ padding-inline-start: 20px;
27
29
  color: ${colors.textLead};
28
30
  `;
29
31
 
@@ -20,7 +20,7 @@ const ListCard = styled.li`
20
20
  const ListCardLink = styled(Link)`
21
21
  display: block;
22
22
  max-width: 100%;
23
- padding: 16px 22px;
23
+ padding: 16px 20px;
24
24
 
25
25
  &:hover {
26
26
  background-color: ${colors.foreground};
@@ -63,7 +63,7 @@ const CardHeading = styled.h2`
63
63
  `;
64
64
 
65
65
  const CardBody = styled.div`
66
- padding: 16px 22px;
66
+ padding: 16px 20px;
67
67
  height: 90px;
68
68
  position: relative;
69
69
  margin-bottom: ${props => props.hasImage && 0};
@@ -48,11 +48,11 @@ const TreeNavLink = styled(NavLink)`
48
48
  font-weight: 500;
49
49
  align-items: center;
50
50
  padding: 8px;
51
- padding-left: ${props => props.depth * 20 + 12}px;
51
+ padding-left: ${props => props.depth * 16 + 18}px;
52
52
  border-left: 2px solid #fff;
53
53
 
54
54
  ${Icon} {
55
- margin-right: 8px;
55
+ margin-right: 4px;
56
56
  flex-shrink: 0;
57
57
  }
58
58
 
@@ -30,15 +30,16 @@ const SidebarContainer = styled.aside`
30
30
  `;
31
31
 
32
32
  const SidebarHeading = styled.h2`
33
- font-size: 23px;
33
+ font-size: 22px;
34
34
  font-weight: 600;
35
+ line-height: 37px;
35
36
  padding: 0;
36
- margin: 18px 12px 12px;
37
+ margin: 10px 20px;
37
38
  color: ${colors.textLead};
38
39
  `;
39
40
 
40
41
  const SidebarNavList = styled.ul`
41
- margin: 16px 0 0;
42
+ margin: 12px 0 0;
42
43
  list-style: none;
43
44
  overflow: auto;
44
45
  `;
@@ -48,12 +49,12 @@ const SidebarNavLink = styled(NavLink)`
48
49
  font-size: 14px;
49
50
  font-weight: 500;
50
51
  align-items: center;
51
- padding: 8px 12px;
52
+ padding: 8px 18px;
52
53
  border-left: 2px solid #fff;
53
54
  z-index: -1;
54
55
 
55
56
  ${Icon} {
56
- margin-right: 8px;
57
+ margin-right: 4px;
57
58
  flex-shrink: 0;
58
59
  }
59
60
 
@@ -14,12 +14,12 @@ exports[`NestedCollection should render connected component 1`] = `
14
14
  -ms-flex-align: center;
15
15
  align-items: center;
16
16
  padding: 8px;
17
- padding-left: 12px;
17
+ padding-left: 18px;
18
18
  border-left: 2px solid #fff;
19
19
  }
20
20
 
21
21
  .emotion-0 mocked-icon {
22
- margin-right: 8px;
22
+ margin-right: 4px;
23
23
  -webkit-flex-shrink: 0;
24
24
  -ms-flex-negative: 0;
25
25
  flex-shrink: 0;
@@ -100,12 +100,12 @@ exports[`NestedCollection should render connected component 1`] = `
100
100
  -ms-flex-align: center;
101
101
  align-items: center;
102
102
  padding: 8px;
103
- padding-left: 32px;
103
+ padding-left: 34px;
104
104
  border-left: 2px solid #fff;
105
105
  }
106
106
 
107
107
  .emotion-0 mocked-icon {
108
- margin-right: 8px;
108
+ margin-right: 4px;
109
109
  -webkit-flex-shrink: 0;
110
110
  -ms-flex-negative: 0;
111
111
  flex-shrink: 0;
@@ -169,12 +169,12 @@ exports[`NestedCollection should render connected component 1`] = `
169
169
  -ms-flex-align: center;
170
170
  align-items: center;
171
171
  padding: 8px;
172
- padding-left: 32px;
172
+ padding-left: 34px;
173
173
  border-left: 2px solid #fff;
174
174
  }
175
175
 
176
176
  .emotion-0 mocked-icon {
177
- margin-right: 8px;
177
+ margin-right: 4px;
178
178
  -webkit-flex-shrink: 0;
179
179
  -ms-flex-negative: 0;
180
180
  flex-shrink: 0;
@@ -243,12 +243,12 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
243
243
  -ms-flex-align: center;
244
244
  align-items: center;
245
245
  padding: 8px;
246
- padding-left: 12px;
246
+ padding-left: 18px;
247
247
  border-left: 2px solid #fff;
248
248
  }
249
249
 
250
250
  .emotion-0 mocked-icon {
251
- margin-right: 8px;
251
+ margin-right: 4px;
252
252
  -webkit-flex-shrink: 0;
253
253
  -ms-flex-negative: 0;
254
254
  flex-shrink: 0;
@@ -329,12 +329,12 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
329
329
  -ms-flex-align: center;
330
330
  align-items: center;
331
331
  padding: 8px;
332
- padding-left: 32px;
332
+ padding-left: 34px;
333
333
  border-left: 2px solid #fff;
334
334
  }
335
335
 
336
336
  .emotion-0 mocked-icon {
337
- margin-right: 8px;
337
+ margin-right: 4px;
338
338
  -webkit-flex-shrink: 0;
339
339
  -ms-flex-negative: 0;
340
340
  flex-shrink: 0;
@@ -398,12 +398,12 @@ exports[`NestedCollection should render correctly with nested entries 1`] = `
398
398
  -ms-flex-align: center;
399
399
  align-items: center;
400
400
  padding: 8px;
401
- padding-left: 32px;
401
+ padding-left: 34px;
402
402
  border-left: 2px solid #fff;
403
403
  }
404
404
 
405
405
  .emotion-0 mocked-icon {
406
- margin-right: 8px;
406
+ margin-right: 4px;
407
407
  -webkit-flex-shrink: 0;
408
408
  -ms-flex-negative: 0;
409
409
  flex-shrink: 0;
@@ -472,12 +472,12 @@ exports[`NestedCollection should render correctly with no entries 1`] = `
472
472
  -ms-flex-align: center;
473
473
  align-items: center;
474
474
  padding: 8px;
475
- padding-left: 12px;
475
+ padding-left: 18px;
476
476
  border-left: 2px solid #fff;
477
477
  }
478
478
 
479
479
  .emotion-0 mocked-icon {
480
- margin-right: 8px;
480
+ margin-right: 4px;
481
481
  -webkit-flex-shrink: 0;
482
482
  -ms-flex-negative: 0;
483
483
  flex-shrink: 0;
@@ -20,15 +20,16 @@ exports[`Sidebar should render nested collection with filterTerm 1`] = `
20
20
  }
21
21
 
22
22
  .emotion-2 {
23
- font-size: 23px;
23
+ font-size: 22px;
24
24
  font-weight: 600;
25
+ line-height: 37px;
25
26
  padding: 0;
26
- margin: 18px 12px 12px;
27
+ margin: 10px 20px;
27
28
  color: #313d3e;
28
29
  }
29
30
 
30
31
  .emotion-4 {
31
- margin: 16px 0 0;
32
+ margin: 12px 0 0;
32
33
  list-style: none;
33
34
  overflow: auto;
34
35
  }
@@ -80,15 +81,16 @@ exports[`Sidebar should render sidebar with a nested collection 1`] = `
80
81
  }
81
82
 
82
83
  .emotion-2 {
83
- font-size: 23px;
84
+ font-size: 22px;
84
85
  font-weight: 600;
86
+ line-height: 37px;
85
87
  padding: 0;
86
- margin: 18px 12px 12px;
88
+ margin: 10px 20px;
87
89
  color: #313d3e;
88
90
  }
89
91
 
90
92
  .emotion-4 {
91
- margin: 16px 0 0;
93
+ margin: 12px 0 0;
92
94
  list-style: none;
93
95
  overflow: auto;
94
96
  }
@@ -139,15 +141,16 @@ exports[`Sidebar should render sidebar with a simple collection 1`] = `
139
141
  }
140
142
 
141
143
  .emotion-2 {
142
- font-size: 23px;
144
+ font-size: 22px;
143
145
  font-weight: 600;
146
+ line-height: 37px;
144
147
  padding: 0;
145
- margin: 18px 12px 12px;
148
+ margin: 10px 20px;
146
149
  color: #313d3e;
147
150
  }
148
151
 
149
152
  .emotion-4 {
150
- margin: 16px 0 0;
153
+ margin: 12px 0 0;
151
154
  list-style: none;
152
155
  overflow: auto;
153
156
  }
@@ -163,13 +166,13 @@ exports[`Sidebar should render sidebar with a simple collection 1`] = `
163
166
  -webkit-box-align: center;
164
167
  -ms-flex-align: center;
165
168
  align-items: center;
166
- padding: 8px 12px;
169
+ padding: 8px 18px;
167
170
  border-left: 2px solid #fff;
168
171
  z-index: -1;
169
172
  }
170
173
 
171
174
  .emotion-6 mocked-icon {
172
- margin-right: 8px;
175
+ margin-right: 4px;
173
176
  -webkit-flex-shrink: 0;
174
177
  -ms-flex-negative: 0;
175
178
  flex-shrink: 0;
@@ -235,15 +238,16 @@ exports[`Sidebar should render sidebar without search 1`] = `
235
238
  }
236
239
 
237
240
  .emotion-2 {
238
- font-size: 23px;
241
+ font-size: 22px;
239
242
  font-weight: 600;
243
+ line-height: 37px;
240
244
  padding: 0;
241
- margin: 18px 12px 12px;
245
+ margin: 10px 20px;
242
246
  color: #313d3e;
243
247
  }
244
248
 
245
249
  .emotion-4 {
246
- margin: 16px 0 0;
250
+ margin: 12px 0 0;
247
251
  list-style: none;
248
252
  overflow: auto;
249
253
  }
@@ -259,13 +263,13 @@ exports[`Sidebar should render sidebar without search 1`] = `
259
263
  -webkit-box-align: center;
260
264
  -ms-flex-align: center;
261
265
  align-items: center;
262
- padding: 8px 12px;
266
+ padding: 8px 18px;
263
267
  border-left: 2px solid #fff;
264
268
  z-index: -1;
265
269
  }
266
270
 
267
271
  .emotion-6 mocked-icon {
268
- margin-right: 8px;
272
+ margin-right: 4px;
269
273
  -webkit-flex-shrink: 0;
270
274
  -ms-flex-negative: 0;
271
275
  flex-shrink: 0;
@@ -47,24 +47,29 @@ function ReactSplitPaneGlobalStyles() {
47
47
  <Global
48
48
  styles={css`
49
49
  .Resizer.vertical {
50
- width: 21px;
50
+ width: 2px;
51
51
  cursor: col-resize;
52
52
  position: relative;
53
- transition: background-color ${transitions.main};
53
+ background: none;
54
54
 
55
55
  &:before {
56
56
  content: '';
57
57
  width: 2px;
58
58
  height: 100%;
59
59
  position: relative;
60
- left: 10px;
61
60
  background-color: ${colors.textFieldBorder};
62
61
  display: block;
62
+ z-index: 10;
63
+ transition: background-color ${transitions.main};
63
64
  }
64
65
 
65
66
  &:hover,
66
67
  &:active {
67
- background-color: ${colorsRaw.GrayLight};
68
+ &:before {
69
+ width: 4px;
70
+ left: -1px;
71
+ background-color: ${colorsRaw.blue};
72
+ }
68
73
  }
69
74
  }
70
75
  `}