@digigov/nextjs 1.0.0-8bbf3ef2 → 1.0.0-e322b0cc
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 +1 -1
- package/{esm/App.js → App.mjs} +1 -1
- package/Image.js +1 -1
- package/{esm/Image.js → Image.mjs} +1 -1
- package/es/App.js +1 -1
- package/es/Image.js +1 -1
- package/{esm/index.js → index.mjs} +1 -1
- package/libs/ui/src/i18n/index.d.ts +1 -1
- package/package.json +3 -3
- /package/{esm/Document.js → Document.mjs} +0 -0
- /package/{esm/Link.js → Link.mjs} +0 -0
- /package/{esm/hooks.js → hooks.mjs} +0 -0
- /package/{esm/i18n.js → i18n.mjs} +0 -0
package/App.js
CHANGED
|
@@ -27,7 +27,7 @@ var _head = _interopRequireDefault(require("next/head"));
|
|
|
27
27
|
|
|
28
28
|
var _Link = require("@digigov/ui/navigation/Link");
|
|
29
29
|
|
|
30
|
-
var _Link2 = _interopRequireDefault(require("
|
|
30
|
+
var _Link2 = _interopRequireDefault(require("./Link"));
|
|
31
31
|
|
|
32
32
|
var _dynamic = _interopRequireDefault(require("next/dynamic"));
|
|
33
33
|
|
package/{esm/App.js → App.mjs}
RENAMED
|
@@ -12,7 +12,7 @@ import React from 'react';
|
|
|
12
12
|
import App from 'next/app';
|
|
13
13
|
import Head from 'next/head';
|
|
14
14
|
import { LinkProvider } from '@digigov/ui/navigation/Link';
|
|
15
|
-
import NextLink from
|
|
15
|
+
import NextLink from "./Link";
|
|
16
16
|
import dynamic from 'next/dynamic';
|
|
17
17
|
import { I18NProvider } from '@digigov/ui/i18n';
|
|
18
18
|
import { withTranslation } from 'react-i18next';
|
package/Image.js
CHANGED
|
@@ -3,7 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["src"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import NextImage from 'next/image';
|
|
6
|
-
import { useBasePath } from
|
|
6
|
+
import { useBasePath } from "./hooks";
|
|
7
7
|
|
|
8
8
|
var Image = function Image(_ref) {
|
|
9
9
|
var src = _ref.src,
|
package/es/App.js
CHANGED
|
@@ -12,7 +12,7 @@ import React from 'react';
|
|
|
12
12
|
import App from 'next/app';
|
|
13
13
|
import Head from 'next/head';
|
|
14
14
|
import { LinkProvider } from '@digigov/ui/navigation/Link';
|
|
15
|
-
import NextLink from
|
|
15
|
+
import NextLink from "./Link";
|
|
16
16
|
import dynamic from 'next/dynamic';
|
|
17
17
|
import { I18NProvider } from '@digigov/ui/i18n';
|
|
18
18
|
import { withTranslation } from 'react-i18next';
|
package/es/Image.js
CHANGED
|
@@ -3,7 +3,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
var _excluded = ["src"];
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import NextImage from 'next/image';
|
|
6
|
-
import { useBasePath } from
|
|
6
|
+
import { useBasePath } from "./hooks";
|
|
7
7
|
|
|
8
8
|
var Image = function Image(_ref) {
|
|
9
9
|
var src = _ref.src,
|
|
@@ -5,7 +5,7 @@ export interface I18NContextProps {
|
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
i18n?: any;
|
|
7
7
|
}
|
|
8
|
-
export declare const defaultTranslate: (key: string, context?: Record<string, any>
|
|
8
|
+
export declare const defaultTranslate: (key: string, context?: Record<string, any>) => string;
|
|
9
9
|
export declare const I18NContext: React.Context<I18NContextProps>;
|
|
10
10
|
export declare const I18NProvider: React.FC<I18NContextProps>;
|
|
11
11
|
export declare const useTranslation: () => I18NContextProps;
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/nextjs",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-e322b0cc",
|
|
4
4
|
"description": "next specific utilities for @digigov apps",
|
|
5
5
|
"author": "GRNET Developers <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
|
-
"module": "./
|
|
8
|
+
"module": "./index.mjs",
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"main": "dist/index.js"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@digigov/ui": "1.0.0-
|
|
13
|
+
"@digigov/ui": "1.0.0-e322b0cc",
|
|
14
14
|
"@material-ui/core": "4.11.3",
|
|
15
15
|
"@material-ui/icons": "4.11.2",
|
|
16
16
|
"clsx": "1.1.1",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|