cozy-ui 85.8.0 → 85.8.1
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/.bundlemonrc +7 -3
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/react/Paywall/Paywall.jsx +0 -1
- package/react/Paywall/locales/en.json +4 -4
- package/react/Paywall/locales/fr.json +4 -4
- package/transpiled/react/Paywall/Paywall.js +1 -5
- package/transpiled/react/Paywall/locales/withPaywallLocales.js +8 -8
package/.bundlemonrc
CHANGED
|
@@ -3,17 +3,21 @@
|
|
|
3
3
|
"files": [
|
|
4
4
|
{
|
|
5
5
|
"path": "dist/cozy-ui.min.css",
|
|
6
|
-
"maxPercentIncrease":
|
|
6
|
+
"maxPercentIncrease": 10
|
|
7
7
|
},
|
|
8
8
|
{
|
|
9
9
|
"path": "dist/cozy-ui.utils.min.css",
|
|
10
|
-
"maxPercentIncrease":
|
|
10
|
+
"maxPercentIncrease": 10
|
|
11
11
|
},
|
|
12
|
+
{
|
|
13
|
+
"path": "transpiled/react/stylesheet.css",
|
|
14
|
+
"maxPercentIncrease": 10
|
|
15
|
+
}
|
|
12
16
|
],
|
|
13
17
|
"groups": [
|
|
14
18
|
{
|
|
15
19
|
"path": "transpiled/react/**"
|
|
16
|
-
}
|
|
20
|
+
}
|
|
17
21
|
],
|
|
18
22
|
"reportOutput": ["github"]
|
|
19
23
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [85.8.1](https://github.com/cozy/cozy-ui/compare/v85.8.0...v85.8.1) (2023-06-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Change default wording for paywall ([87f2680](https://github.com/cozy/cozy-ui/commit/87f2680))
|
|
7
|
+
|
|
1
8
|
# [85.8.0](https://github.com/cozy/cozy-ui/compare/v85.7.0...v85.8.0) (2023-06-15)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -75,7 +75,6 @@ const Paywall = ({ variant, onClose, isPublic, contentInterpolation }) => {
|
|
|
75
75
|
content={
|
|
76
76
|
<ReactMarkdown
|
|
77
77
|
source={t(`${variant}Paywall.${type}.content`, {
|
|
78
|
-
mail: instance?.context?.data?.attributes?.reply_to,
|
|
79
78
|
...contentInterpolation
|
|
80
79
|
})}
|
|
81
80
|
renderers={{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"default": {
|
|
17
17
|
"title": "Information",
|
|
18
|
-
"content": "Your current offer does not allow you to take advantage of this feature.
|
|
18
|
+
"content": "Your current offer does not allow you to take advantage of this feature.",
|
|
19
19
|
"action": "I understood"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"default": {
|
|
29
29
|
"title": "Information",
|
|
30
|
-
"content": "Your current offer does not allow you to take advantage of this feature.
|
|
30
|
+
"content": "Your current offer does not allow you to take advantage of this feature.",
|
|
31
31
|
"action": "I understood"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"default": {
|
|
42
42
|
"title": "Information",
|
|
43
|
-
"content": "Your current offer does not allow you to take advantage of this feature.
|
|
43
|
+
"content": "Your current offer does not allow you to take advantage of this feature.",
|
|
44
44
|
"action": "I understood"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"default": {
|
|
54
54
|
"title": "Information",
|
|
55
|
-
"content": "Your current offer does not allow you to take advantage of this feature.
|
|
55
|
+
"content": "Your current offer does not allow you to take advantage of this feature.",
|
|
56
56
|
"action": "I understood"
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"default": {
|
|
17
17
|
"title": "Information",
|
|
18
|
-
"content": "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalité.
|
|
18
|
+
"content": "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalité.",
|
|
19
19
|
"action": "J'ai compris"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"default": {
|
|
29
29
|
"title": "Information",
|
|
30
|
-
"content": "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalité.
|
|
30
|
+
"content": "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalité.",
|
|
31
31
|
"action": "J'ai compris"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"default": {
|
|
42
42
|
"title": "Information",
|
|
43
|
-
"content": "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalité.
|
|
43
|
+
"content": "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalité.",
|
|
44
44
|
"action": "J'ai compris"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"default": {
|
|
54
54
|
"title": "Information",
|
|
55
|
-
"content": "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalité.
|
|
55
|
+
"content": "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalité.",
|
|
56
56
|
"action": "J'ai compris"
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -25,8 +25,6 @@ import withPaywallLocales from "cozy-ui/transpiled/react/Paywall/locales/withPay
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
var Paywall = function Paywall(_ref) {
|
|
28
|
-
var _instance$context, _instance$context$dat, _instance$context$dat2;
|
|
29
|
-
|
|
30
28
|
var variant = _ref.variant,
|
|
31
29
|
onClose = _ref.onClose,
|
|
32
30
|
isPublic = _ref.isPublic,
|
|
@@ -76,9 +74,7 @@ var Paywall = function Paywall(_ref) {
|
|
|
76
74
|
label: isMobileAppVersion ? t("mobileApp.action") : t("".concat(variant, "Paywall.").concat(type, ".action"))
|
|
77
75
|
}),
|
|
78
76
|
content: /*#__PURE__*/React.createElement(ReactMarkdown, {
|
|
79
|
-
source: t("".concat(variant, "Paywall.").concat(type, ".content"), _objectSpread({
|
|
80
|
-
mail: instance === null || instance === void 0 ? void 0 : (_instance$context = instance.context) === null || _instance$context === void 0 ? void 0 : (_instance$context$dat = _instance$context.data) === null || _instance$context$dat === void 0 ? void 0 : (_instance$context$dat2 = _instance$context$dat.attributes) === null || _instance$context$dat2 === void 0 ? void 0 : _instance$context$dat2.reply_to
|
|
81
|
-
}, contentInterpolation)),
|
|
77
|
+
source: t("".concat(variant, "Paywall.").concat(type, ".content"), _objectSpread({}, contentInterpolation)),
|
|
82
78
|
renderers: {
|
|
83
79
|
paragraph: function paragraph(_ref2) {
|
|
84
80
|
var children = _ref2.children;
|
|
@@ -16,7 +16,7 @@ var en = {
|
|
|
16
16
|
},
|
|
17
17
|
"default": {
|
|
18
18
|
title: "Information",
|
|
19
|
-
content: "Your current offer does not allow you to take advantage of this feature.
|
|
19
|
+
content: "Your current offer does not allow you to take advantage of this feature.",
|
|
20
20
|
action: "I understood"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
@@ -28,7 +28,7 @@ var en = {
|
|
|
28
28
|
},
|
|
29
29
|
"default": {
|
|
30
30
|
title: "Information",
|
|
31
|
-
content: "Your current offer does not allow you to take advantage of this feature.
|
|
31
|
+
content: "Your current offer does not allow you to take advantage of this feature.",
|
|
32
32
|
action: "I understood"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
@@ -41,7 +41,7 @@ var en = {
|
|
|
41
41
|
},
|
|
42
42
|
"default": {
|
|
43
43
|
title: "Information",
|
|
44
|
-
content: "Your current offer does not allow you to take advantage of this feature.
|
|
44
|
+
content: "Your current offer does not allow you to take advantage of this feature.",
|
|
45
45
|
action: "I understood"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
@@ -53,7 +53,7 @@ var en = {
|
|
|
53
53
|
},
|
|
54
54
|
"default": {
|
|
55
55
|
title: "Information",
|
|
56
|
-
content: "Your current offer does not allow you to take advantage of this feature.
|
|
56
|
+
content: "Your current offer does not allow you to take advantage of this feature.",
|
|
57
57
|
action: "I understood"
|
|
58
58
|
}
|
|
59
59
|
}
|
|
@@ -75,7 +75,7 @@ var fr = {
|
|
|
75
75
|
},
|
|
76
76
|
"default": {
|
|
77
77
|
title: "Information",
|
|
78
|
-
content: "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalit\xE9.
|
|
78
|
+
content: "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalit\xE9.",
|
|
79
79
|
action: "J'ai compris"
|
|
80
80
|
}
|
|
81
81
|
},
|
|
@@ -87,7 +87,7 @@ var fr = {
|
|
|
87
87
|
},
|
|
88
88
|
"default": {
|
|
89
89
|
title: "Information",
|
|
90
|
-
content: "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalit\xE9.
|
|
90
|
+
content: "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalit\xE9.",
|
|
91
91
|
action: "J'ai compris"
|
|
92
92
|
}
|
|
93
93
|
},
|
|
@@ -100,7 +100,7 @@ var fr = {
|
|
|
100
100
|
},
|
|
101
101
|
"default": {
|
|
102
102
|
title: "Information",
|
|
103
|
-
content: "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalit\xE9.
|
|
103
|
+
content: "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalit\xE9.",
|
|
104
104
|
action: "J'ai compris"
|
|
105
105
|
}
|
|
106
106
|
},
|
|
@@ -112,7 +112,7 @@ var fr = {
|
|
|
112
112
|
},
|
|
113
113
|
"default": {
|
|
114
114
|
title: "Information",
|
|
115
|
-
content: "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalit\xE9.
|
|
115
|
+
content: "Votre offre actuelle ne vous permet pas de profiter de cette fonctionnalit\xE9.",
|
|
116
116
|
action: "J'ai compris"
|
|
117
117
|
}
|
|
118
118
|
}
|