@undp/carbon-library 1.0.156 → 1.0.157-CARBON-339.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +85251 -30
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Internationalization/i18n.d.ts +2 -0
- package/dist/cjs/types/Components/index.d.ts +1 -0
- package/dist/esm/index.js +85253 -33
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Internationalization/i18n.d.ts +2 -0
- package/dist/esm/types/Components/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/package.json +6 -1
@@ -39,3 +39,4 @@ export * from "./Common/OrganisationStatus/organisationStatus";
|
|
39
39
|
export * from "./Common/ProgrammeDocuments/programmeDocuments";
|
40
40
|
export * from "./Common/UserRoleIcon/userRoleIcon";
|
41
41
|
export * from "./Common/TimelineBody/timelineBody";
|
42
|
+
export * from "./Internationalization/i18n";
|
package/dist/index.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import React, { FC, ReactNode } from 'react';
|
2
2
|
import { RcFile } from 'rc-upload/lib/interface';
|
3
|
+
export { default as i18n } from 'i18next';
|
3
4
|
import { RawAxiosResponseHeaders, AxiosResponseHeaders, AxiosRequestConfig } from 'axios';
|
4
5
|
import { BuildingType } from '@undp/carbon-credit-calculator';
|
5
6
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@undp/carbon-library",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.157-CARBON-339.0",
|
4
4
|
"description": "Shared Library of tools for Carbon Credits applications ecosystem for ExO and and HQ/GEF",
|
5
5
|
"type": "module",
|
6
6
|
"scripts": {
|
@@ -13,12 +13,17 @@
|
|
13
13
|
"license": "ISC",
|
14
14
|
"dependencies": {
|
15
15
|
"@rollup/plugin-commonjs": "^25.0.0",
|
16
|
+
"@rollup/plugin-json": "^6.0.1",
|
16
17
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
17
18
|
"@rollup/plugin-typescript": "^11.1.1",
|
18
19
|
"@undp/carbon-credit-calculator": "^1.0.0",
|
20
|
+
"i18next": "^22.0.6",
|
21
|
+
"i18next-browser-languagedetector": "^7.0.1",
|
22
|
+
"i18next-http-backend": "^2.0.1",
|
19
23
|
"node-sass": "^7.0.3",
|
20
24
|
"postcss": "^8.4.23",
|
21
25
|
"react-circle-flags": "^0.0.19",
|
26
|
+
"react-i18next": "^12.0.0",
|
22
27
|
"rollup": "^3.22.0",
|
23
28
|
"rollup-plugin-dts": "^5.3.0",
|
24
29
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|