decap-cms-core 3.2.0 → 3.2.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.
- package/dist/decap-cms-core.js +2 -2
- package/dist/decap-cms-core.js.map +1 -1
- package/dist/esm/bootstrap.js +2 -2
- package/dist/esm/components/Editor/EditorToolbar.js +32 -31
- package/dist/esm/components/UI/ErrorBoundary.js +2 -2
- package/package.json +7 -7
- package/src/components/Editor/EditorToolbar.js +1 -0
- package/src/components/Editor/__tests__/__snapshots__/EditorToolbar.spec.js.snap +15 -15
|
@@ -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.0.
|
|
58
|
-
version = `decap-cms-app@${"3.0.
|
|
57
|
+
} else if (typeof "3.0.5" === 'string') {
|
|
58
|
+
version = `decap-cms-app@${"3.0.5"}`;
|
|
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.2.
|
|
4
|
+
"version": "3.2.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",
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"@emotion/core": "^10.0.35",
|
|
81
81
|
"@emotion/styled": "^10.0.27",
|
|
82
|
-
"decap-cms-editor-component-image": "^
|
|
83
|
-
"decap-cms-lib-auth": "^
|
|
84
|
-
"decap-cms-lib-util": "^
|
|
85
|
-
"decap-cms-lib-widgets": "^
|
|
86
|
-
"decap-cms-ui-default": "^
|
|
82
|
+
"decap-cms-editor-component-image": "^3.0.0",
|
|
83
|
+
"decap-cms-lib-auth": "^3.0.0",
|
|
84
|
+
"decap-cms-lib-util": "^3.0.0",
|
|
85
|
+
"decap-cms-lib-widgets": "^3.0.0",
|
|
86
|
+
"decap-cms-ui-default": "^3.0.0",
|
|
87
87
|
"immutable": "^3.7.6",
|
|
88
88
|
"lodash": "^4.17.11",
|
|
89
89
|
"moment": "^2.24.0",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"@types/url-join": "^4.0.0",
|
|
99
99
|
"redux-mock-store": "^1.5.3"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "2f0f9dbd1654868da59cbdbaa2c9dce1d1bcb2c6"
|
|
102
102
|
}
|
|
@@ -200,7 +200,7 @@ exports[`EditorToolbar should render normal save button 1`] = `
|
|
|
200
200
|
class="emotion-21 emotion-22"
|
|
201
201
|
>
|
|
202
202
|
<mock-link
|
|
203
|
-
classname="css-
|
|
203
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
204
204
|
to=""
|
|
205
205
|
>
|
|
206
206
|
<div
|
|
@@ -463,7 +463,7 @@ exports[`EditorToolbar should render normal save button 2`] = `
|
|
|
463
463
|
class="emotion-21 emotion-22"
|
|
464
464
|
>
|
|
465
465
|
<mock-link
|
|
466
|
-
classname="css-
|
|
466
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
467
467
|
to=""
|
|
468
468
|
>
|
|
469
469
|
<div
|
|
@@ -695,7 +695,7 @@ exports[`EditorToolbar should render with default props 1`] = `
|
|
|
695
695
|
class="emotion-18 emotion-19"
|
|
696
696
|
>
|
|
697
697
|
<mock-link
|
|
698
|
-
classname="css-
|
|
698
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
699
699
|
to=""
|
|
700
700
|
>
|
|
701
701
|
<div
|
|
@@ -980,7 +980,7 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=false 1`
|
|
|
980
980
|
class="emotion-23 emotion-24"
|
|
981
981
|
>
|
|
982
982
|
<mock-link
|
|
983
|
-
classname="css-
|
|
983
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
984
984
|
to=""
|
|
985
985
|
>
|
|
986
986
|
<div
|
|
@@ -1310,7 +1310,7 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=true 1`]
|
|
|
1310
1310
|
class="emotion-30 emotion-31"
|
|
1311
1311
|
>
|
|
1312
1312
|
<mock-link
|
|
1313
|
-
classname="css-
|
|
1313
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
1314
1314
|
to=""
|
|
1315
1315
|
>
|
|
1316
1316
|
<div
|
|
@@ -1634,7 +1634,7 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
|
|
|
1634
1634
|
class="emotion-23 emotion-24"
|
|
1635
1635
|
>
|
|
1636
1636
|
<mock-link
|
|
1637
|
-
classname="css-
|
|
1637
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
1638
1638
|
to=""
|
|
1639
1639
|
>
|
|
1640
1640
|
<div
|
|
@@ -1946,7 +1946,7 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
|
|
|
1946
1946
|
class="emotion-28 emotion-29"
|
|
1947
1947
|
>
|
|
1948
1948
|
<mock-link
|
|
1949
|
-
classname="css-
|
|
1949
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
1950
1950
|
to=""
|
|
1951
1951
|
>
|
|
1952
1952
|
<div
|
|
@@ -2265,7 +2265,7 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
|
|
|
2265
2265
|
class="emotion-23 emotion-24"
|
|
2266
2266
|
>
|
|
2267
2267
|
<mock-link
|
|
2268
|
-
classname="css-
|
|
2268
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
2269
2269
|
to=""
|
|
2270
2270
|
>
|
|
2271
2271
|
<div
|
|
@@ -2595,7 +2595,7 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
|
|
|
2595
2595
|
class="emotion-30 emotion-31"
|
|
2596
2596
|
>
|
|
2597
2597
|
<mock-link
|
|
2598
|
-
classname="css-
|
|
2598
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
2599
2599
|
to=""
|
|
2600
2600
|
>
|
|
2601
2601
|
<div
|
|
@@ -2862,7 +2862,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
|
|
|
2862
2862
|
class="emotion-18 emotion-19"
|
|
2863
2863
|
>
|
|
2864
2864
|
<mock-link
|
|
2865
|
-
classname="css-
|
|
2865
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
2866
2866
|
to=""
|
|
2867
2867
|
>
|
|
2868
2868
|
<div
|
|
@@ -3064,7 +3064,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
|
|
|
3064
3064
|
class="emotion-16 emotion-17"
|
|
3065
3065
|
>
|
|
3066
3066
|
<mock-link
|
|
3067
|
-
classname="css-
|
|
3067
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
3068
3068
|
to=""
|
|
3069
3069
|
>
|
|
3070
3070
|
<div
|
|
@@ -3286,7 +3286,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
|
|
|
3286
3286
|
class="emotion-18 emotion-19"
|
|
3287
3287
|
>
|
|
3288
3288
|
<mock-link
|
|
3289
|
-
classname="css-
|
|
3289
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
3290
3290
|
to=""
|
|
3291
3291
|
>
|
|
3292
3292
|
<div
|
|
@@ -3513,7 +3513,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
|
|
|
3513
3513
|
class="emotion-18 emotion-19"
|
|
3514
3514
|
>
|
|
3515
3515
|
<mock-link
|
|
3516
|
-
classname="css-
|
|
3516
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
3517
3517
|
to=""
|
|
3518
3518
|
>
|
|
3519
3519
|
<div
|
|
@@ -3740,7 +3740,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
|
|
|
3740
3740
|
class="emotion-18 emotion-19"
|
|
3741
3741
|
>
|
|
3742
3742
|
<mock-link
|
|
3743
|
-
classname="css-
|
|
3743
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
3744
3744
|
to=""
|
|
3745
3745
|
>
|
|
3746
3746
|
<div
|
|
@@ -3967,7 +3967,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
|
|
|
3967
3967
|
class="emotion-18 emotion-19"
|
|
3968
3968
|
>
|
|
3969
3969
|
<mock-link
|
|
3970
|
-
classname="css-
|
|
3970
|
+
classname="css-h6rugo-ToolbarSectionBackLink-toolbarSection e1d2l9mo8"
|
|
3971
3971
|
to=""
|
|
3972
3972
|
>
|
|
3973
3973
|
<div
|