@digigov/nextjs 0.5.1 → 0.5.4
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/App.js +4 -2
- package/CHANGELOG.md +20 -1
- package/es/App.js +4 -2
- package/esm/App.js +4 -2
- package/esm/index.js +2 -2
- package/libs/ui/src/locales/el.d.ts +7 -0
- package/package.json +3 -3
package/App.js
CHANGED
|
@@ -85,10 +85,12 @@ var DigiGOVNextApp = /*#__PURE__*/function (_App) {
|
|
|
85
85
|
Component = _this$props.Component,
|
|
86
86
|
pageProps = _this$props.pageProps,
|
|
87
87
|
theme = _this$props.theme,
|
|
88
|
-
|
|
88
|
+
_t = _this$props.t,
|
|
89
89
|
i18n = _this$props.i18n;
|
|
90
90
|
return /*#__PURE__*/_react["default"].createElement(_i18n.I18NProvider, {
|
|
91
|
-
t: t
|
|
91
|
+
t: function t(str) {
|
|
92
|
+
return typeof str === 'string' ? _t(str) : str;
|
|
93
|
+
},
|
|
92
94
|
i18n: i18n
|
|
93
95
|
}, /*#__PURE__*/_react["default"].createElement(_Link.LinkProvider, {
|
|
94
96
|
component: _Link2["default"]
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
# Change Log - @digigov/nextjs
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 08 Jun 2022 13:32:34 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.5.4
|
|
6
|
+
Wed, 08 Jun 2022 13:32:34 GMT
|
|
7
|
+
|
|
8
|
+
### Patches
|
|
9
|
+
|
|
10
|
+
- Fix i18NProvider string interpolation support
|
|
11
|
+
|
|
12
|
+
## 0.5.3
|
|
13
|
+
Tue, 17 May 2022 11:04:22 GMT
|
|
14
|
+
|
|
15
|
+
_Version update only_
|
|
16
|
+
|
|
17
|
+
## 0.5.2
|
|
18
|
+
Mon, 16 May 2022 14:42:45 GMT
|
|
19
|
+
|
|
20
|
+
### Patches
|
|
21
|
+
|
|
22
|
+
- Change MIT License to BSD-2-Clause
|
|
4
23
|
|
|
5
24
|
## 0.5.1
|
|
6
25
|
Tue, 19 Apr 2022 12:17:34 GMT
|
package/es/App.js
CHANGED
|
@@ -56,10 +56,12 @@ var DigiGOVNextApp = /*#__PURE__*/function (_App) {
|
|
|
56
56
|
Component = _this$props.Component,
|
|
57
57
|
pageProps = _this$props.pageProps,
|
|
58
58
|
theme = _this$props.theme,
|
|
59
|
-
|
|
59
|
+
_t = _this$props.t,
|
|
60
60
|
i18n = _this$props.i18n;
|
|
61
61
|
return /*#__PURE__*/React.createElement(I18NProvider, {
|
|
62
|
-
t: t
|
|
62
|
+
t: function t(str) {
|
|
63
|
+
return typeof str === 'string' ? _t(str) : str;
|
|
64
|
+
},
|
|
63
65
|
i18n: i18n
|
|
64
66
|
}, /*#__PURE__*/React.createElement(LinkProvider, {
|
|
65
67
|
component: NextLink
|
package/esm/App.js
CHANGED
|
@@ -56,10 +56,12 @@ var DigiGOVNextApp = /*#__PURE__*/function (_App) {
|
|
|
56
56
|
Component = _this$props.Component,
|
|
57
57
|
pageProps = _this$props.pageProps,
|
|
58
58
|
theme = _this$props.theme,
|
|
59
|
-
|
|
59
|
+
_t = _this$props.t,
|
|
60
60
|
i18n = _this$props.i18n;
|
|
61
61
|
return /*#__PURE__*/React.createElement(I18NProvider, {
|
|
62
|
-
t: t
|
|
62
|
+
t: function t(str) {
|
|
63
|
+
return typeof str === 'string' ? _t(str) : str;
|
|
64
|
+
},
|
|
63
65
|
i18n: i18n
|
|
64
66
|
}, /*#__PURE__*/React.createElement(LinkProvider, {
|
|
65
67
|
component: NextLink
|
package/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/** @license Digigov v0.5.
|
|
1
|
+
/** @license Digigov v0.5.4
|
|
2
2
|
*
|
|
3
|
-
* This source code is licensed under the
|
|
3
|
+
* This source code is licensed under the BSD-2-Clause license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
5
5
|
*/
|
|
@@ -14,7 +14,11 @@ declare const _default: {
|
|
|
14
14
|
afm: string;
|
|
15
15
|
file_size: string;
|
|
16
16
|
mobile_phone: string;
|
|
17
|
+
phone_number: string;
|
|
18
|
+
landline: string;
|
|
17
19
|
uuid4: string;
|
|
20
|
+
iban: string;
|
|
21
|
+
postalCode: string;
|
|
18
22
|
date: {
|
|
19
23
|
invalid: string;
|
|
20
24
|
earlier_than: string;
|
|
@@ -65,5 +69,8 @@ declare const _default: {
|
|
|
65
69
|
change_file: string;
|
|
66
70
|
no_file: string;
|
|
67
71
|
};
|
|
72
|
+
'copy-to-clipboard': {
|
|
73
|
+
message: string;
|
|
74
|
+
};
|
|
68
75
|
};
|
|
69
76
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/nextjs",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"description": "next specific utilities for @digigov apps",
|
|
5
5
|
"author": "GRNET Developers <devs@lists.grnet.gr>",
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "BSD-2-Clause",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"module": "./esm/index.js",
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"main": "dist/index.js"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@digigov/ui": "0.
|
|
13
|
+
"@digigov/ui": "0.21.0",
|
|
14
14
|
"@material-ui/core": "4.11.3",
|
|
15
15
|
"@material-ui/icons": "4.11.2",
|
|
16
16
|
"clsx": "1.1.1",
|