@undp/carbon-library 1.0.287-carbon-lib-test.0 → 1.0.287
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1449 -1044
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/CoBenifits/coBenifits.d.ts +1 -0
- package/dist/cjs/types/Components/Common/Models/programmeRetireForm.d.ts +1 -0
- package/dist/cjs/types/Components/Common/Models/programmeTransferForm.d.ts +1 -0
- package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
- package/dist/cjs/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +2 -0
- package/dist/cjs/types/Components/Company/CompanyDetails/companyDetailsComponent.d.ts +3 -0
- package/dist/cjs/types/Definitions/Definitions/connectionContext.definitions.d.ts +0 -3
- package/dist/cjs/types/Definitions/Definitions/ndcDetails.definitions.d.ts +1 -0
- package/dist/cjs/types/Definitions/Enums/instrument.enum.d.ts +3 -0
- package/dist/cjs/types/Definitions/Enums/payback.enum.d.ts +8 -0
- package/dist/cjs/types/index.d.ts +0 -1
- package/dist/esm/index.js +1453 -1040
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/CoBenifits/coBenifits.d.ts +1 -0
- package/dist/esm/types/Components/Common/Models/programmeRetireForm.d.ts +1 -0
- package/dist/esm/types/Components/Common/Models/programmeTransferForm.d.ts +1 -0
- package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
- package/dist/esm/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +2 -0
- package/dist/esm/types/Components/Company/CompanyDetails/companyDetailsComponent.d.ts +3 -0
- package/dist/esm/types/Definitions/Definitions/connectionContext.definitions.d.ts +0 -3
- package/dist/esm/types/Definitions/Definitions/ndcDetails.definitions.d.ts +1 -0
- package/dist/esm/types/Definitions/Enums/instrument.enum.d.ts +3 -0
- package/dist/esm/types/Definitions/Enums/payback.enum.d.ts +8 -0
- package/dist/esm/types/index.d.ts +0 -1
- package/dist/index.d.ts +11 -23
- package/dist/locales/i18n/companyDetails/en.json +19 -0
- package/dist/locales/i18n/companyDetails/es.json +16 -0
- package/dist/locales/i18n/companyDetails/fr.json +16 -0
- package/dist/locales/i18n/companyProfile/en.json +1 -18
- package/dist/locales/i18n/companyProfile/es.json +0 -14
- package/dist/locales/i18n/companyProfile/fr.json +0 -13
- package/dist/locales/i18n/ghgInventory/en.json +3 -1
- package/dist/locales/i18n/login/en.json +1 -0
- package/dist/locales/i18n/ndc/en.json +2 -0
- package/dist/locales/i18n/programme/en.json +9 -1
- package/package.json +2 -29
- package/dist/cjs/types/Context/ConnectionContext/connectionContext.d.ts +0 -8
- package/dist/cjs/types/Context/SettingsContext/settingsContext.d.ts +0 -10
- package/dist/cjs/types/Context/UserInformationContext/userInformationContext.d.ts +0 -6
- package/dist/cjs/types/Context/index.d.ts +0 -3
- package/dist/cjs/types/Storybook/AddNewCompanyComponent.stories.d.ts +0 -12
- package/dist/cjs/types/Storybook/AddNewUserComponent.stories.d.ts +0 -12
- package/dist/cjs/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +0 -2
- package/dist/cjs/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +0 -2
- package/dist/cjs/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +0 -2
- package/dist/cjs/types/Storybook/Decorators/DashboardI18nDecorator.d.ts +0 -2
- package/dist/cjs/types/Storybook/Decorators/InvestmentCreationI18nDecorator.d.ts +0 -2
- package/dist/cjs/types/Storybook/Decorators/ProgrammeCreateI18nDecorator.d.ts +0 -2
- package/dist/cjs/types/Storybook/InvestmentCreationComponent.stories.d.ts +0 -12
- package/dist/cjs/types/Storybook/MRVDashboard.stories.d.ts +0 -12
- package/dist/cjs/types/Storybook/ProgrammeCreationComponent.stories.d.ts +0 -12
- package/dist/cjs/types/Storybook/RegistryDashboard.stories.d.ts +0 -12
- package/dist/esm/types/Context/ConnectionContext/connectionContext.d.ts +0 -8
- package/dist/esm/types/Context/SettingsContext/settingsContext.d.ts +0 -10
- package/dist/esm/types/Context/UserInformationContext/userInformationContext.d.ts +0 -6
- package/dist/esm/types/Context/index.d.ts +0 -3
- package/dist/esm/types/Storybook/AddNewCompanyComponent.stories.d.ts +0 -12
- package/dist/esm/types/Storybook/AddNewUserComponent.stories.d.ts +0 -12
- package/dist/esm/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +0 -2
- package/dist/esm/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +0 -2
- package/dist/esm/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +0 -2
- package/dist/esm/types/Storybook/Decorators/DashboardI18nDecorator.d.ts +0 -2
- package/dist/esm/types/Storybook/Decorators/InvestmentCreationI18nDecorator.d.ts +0 -2
- package/dist/esm/types/Storybook/Decorators/ProgrammeCreateI18nDecorator.d.ts +0 -2
- package/dist/esm/types/Storybook/InvestmentCreationComponent.stories.d.ts +0 -12
- package/dist/esm/types/Storybook/MRVDashboard.stories.d.ts +0 -12
- package/dist/esm/types/Storybook/ProgrammeCreationComponent.stories.d.ts +0 -12
- package/dist/esm/types/Storybook/RegistryDashboard.stories.d.ts +0 -12
@@ -1,8 +0,0 @@
|
|
1
|
-
import React, { FC } from 'react';
|
2
|
-
import { ConnectionContextProviderProps, ConnectionProps } from '../../Definitions';
|
3
|
-
declare const ConnectionContext: React.Context<{
|
4
|
-
connection?: ConnectionProps | undefined;
|
5
|
-
}>;
|
6
|
-
export declare const ConnectionContextProvider: FC<ConnectionContextProviderProps>;
|
7
|
-
export default ConnectionContext;
|
8
|
-
export declare const useConnection: () => ConnectionProps;
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
export declare const SettingsContext: React.Context<{
|
3
|
-
isTransferFrozen: boolean;
|
4
|
-
setTransferFrozen: (value: boolean) => void;
|
5
|
-
}>;
|
6
|
-
export declare const SettingsContextProvider: ({ children }: React.PropsWithChildren) => React.JSX.Element;
|
7
|
-
export declare const useSettingsContext: () => {
|
8
|
-
isTransferFrozen: boolean;
|
9
|
-
setTransferFrozen: (value: boolean) => void;
|
10
|
-
};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { UserContextProps } from '../../Definitions';
|
3
|
-
export declare const UserContext: React.Context<UserContextProps>;
|
4
|
-
export declare const UserInformationContextProvider: ({ children }: React.PropsWithChildren) => React.JSX.Element;
|
5
|
-
export default UserContext;
|
6
|
-
export declare const useUserContext: () => UserContextProps;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import type { StoryObj } from "@storybook/react";
|
3
|
-
import "antd/dist/antd.css";
|
4
|
-
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
-
declare const meta: {
|
6
|
-
title: string;
|
7
|
-
component: (props: any) => import("react").JSX.Element;
|
8
|
-
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
-
};
|
10
|
-
export default meta;
|
11
|
-
type Story = StoryObj<typeof meta>;
|
12
|
-
export declare const Primary: Story;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import type { StoryObj } from "@storybook/react";
|
3
|
-
import "antd/dist/antd.css";
|
4
|
-
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
-
declare const meta: {
|
6
|
-
title: string;
|
7
|
-
component: (props: any) => import("react").JSX.Element;
|
8
|
-
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
-
};
|
10
|
-
export default meta;
|
11
|
-
type Story = StoryObj<typeof meta>;
|
12
|
-
export declare const Primary: Story;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import type { StoryObj } from "@storybook/react";
|
3
|
-
import "antd/dist/antd.css";
|
4
|
-
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
-
declare const meta: {
|
6
|
-
title: string;
|
7
|
-
component: (props: any) => import("react").JSX.Element;
|
8
|
-
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
-
};
|
10
|
-
export default meta;
|
11
|
-
type Story = StoryObj<typeof meta>;
|
12
|
-
export declare const Primary: Story;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import type { StoryObj } from "@storybook/react";
|
3
|
-
import "antd/dist/antd.css";
|
4
|
-
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
-
declare const meta: {
|
6
|
-
title: string;
|
7
|
-
component: (props: any) => import("react").JSX.Element;
|
8
|
-
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
-
};
|
10
|
-
export default meta;
|
11
|
-
type Story = StoryObj<typeof meta>;
|
12
|
-
export declare const Primary: Story;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import type { StoryObj } from "@storybook/react";
|
3
|
-
import "antd/dist/antd.css";
|
4
|
-
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
-
declare const meta: {
|
6
|
-
title: string;
|
7
|
-
component: (props: any) => import("react").JSX.Element;
|
8
|
-
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
-
};
|
10
|
-
export default meta;
|
11
|
-
type Story = StoryObj<typeof meta>;
|
12
|
-
export declare const Primary: Story;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import type { StoryObj } from "@storybook/react";
|
3
|
-
import "antd/dist/antd.css";
|
4
|
-
import ConnectionContextDecorator from './Decorators/ConnectionContextDecorator';
|
5
|
-
declare const meta: {
|
6
|
-
title: string;
|
7
|
-
component: (props: any) => import("react").JSX.Element;
|
8
|
-
decorators: (typeof ConnectionContextDecorator)[];
|
9
|
-
};
|
10
|
-
export default meta;
|
11
|
-
type Story = StoryObj<typeof meta>;
|
12
|
-
export declare const Primary: Story;
|