@digigov/nextjs 0.4.5 → 0.4.6

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/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Change Log - @digigov/nextjs
2
2
 
3
- This log was last generated on Wed, 30 Mar 2022 13:17:56 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 14 Apr 2022 12:32:51 GMT and should not be manually modified.
4
+
5
+ ## 0.4.6
6
+ Thu, 14 Apr 2022 12:32:51 GMT
7
+
8
+ _Version update only_
4
9
 
5
10
  ## 0.4.5
6
11
  Wed, 30 Mar 2022 13:17:56 GMT
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Digigov v0.4.5
1
+ /** @license Digigov v0.4.6
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -1,9 +1,11 @@
1
1
  import React from 'react';
2
2
  export interface I18NContextProps {
3
+ Trans?: any;
3
4
  t: (str: string) => string;
4
5
  children?: React.ReactNode;
5
6
  i18n?: any;
6
7
  }
8
+ export declare const defaultTranslate: (key: any) => any;
7
9
  export declare const I18NContext: React.Context<I18NContextProps>;
8
10
  export declare const I18NProvider: React.FC<I18NContextProps>;
9
11
  export declare const useTranslation: () => I18NContextProps;
@@ -57,6 +57,13 @@ declare const _default: {
57
57
  to: string;
58
58
  of: string;
59
59
  results: string;
60
+ label: string;
61
+ };
62
+ upload: {
63
+ file: string;
64
+ choose_file: string;
65
+ change_file: string;
66
+ no_file: string;
60
67
  };
61
68
  };
62
69
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/nextjs",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "next specific utilities for @digigov apps",
5
5
  "author": "GRNET Developers <devs@lists.grnet.gr>",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "main": "dist/index.js"
11
11
  },
12
12
  "peerDependencies": {
13
- "@digigov/ui": "0.15.1",
13
+ "@digigov/ui": "0.16.0",
14
14
  "@material-ui/core": "4.11.3",
15
15
  "@material-ui/icons": "4.11.2",
16
16
  "clsx": "1.1.1",