@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.
Files changed (70) hide show
  1. package/dist/cjs/index.js +1449 -1044
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/Components/Common/CoBenifits/coBenifits.d.ts +1 -0
  4. package/dist/cjs/types/Components/Common/Models/programmeRetireForm.d.ts +1 -0
  5. package/dist/cjs/types/Components/Common/Models/programmeTransferForm.d.ts +1 -0
  6. package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
  7. package/dist/cjs/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +2 -0
  8. package/dist/cjs/types/Components/Company/CompanyDetails/companyDetailsComponent.d.ts +3 -0
  9. package/dist/cjs/types/Definitions/Definitions/connectionContext.definitions.d.ts +0 -3
  10. package/dist/cjs/types/Definitions/Definitions/ndcDetails.definitions.d.ts +1 -0
  11. package/dist/cjs/types/Definitions/Enums/instrument.enum.d.ts +3 -0
  12. package/dist/cjs/types/Definitions/Enums/payback.enum.d.ts +8 -0
  13. package/dist/cjs/types/index.d.ts +0 -1
  14. package/dist/esm/index.js +1453 -1040
  15. package/dist/esm/index.js.map +1 -1
  16. package/dist/esm/types/Components/Common/CoBenifits/coBenifits.d.ts +1 -0
  17. package/dist/esm/types/Components/Common/Models/programmeRetireForm.d.ts +1 -0
  18. package/dist/esm/types/Components/Common/Models/programmeTransferForm.d.ts +1 -0
  19. package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
  20. package/dist/esm/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +2 -0
  21. package/dist/esm/types/Components/Company/CompanyDetails/companyDetailsComponent.d.ts +3 -0
  22. package/dist/esm/types/Definitions/Definitions/connectionContext.definitions.d.ts +0 -3
  23. package/dist/esm/types/Definitions/Definitions/ndcDetails.definitions.d.ts +1 -0
  24. package/dist/esm/types/Definitions/Enums/instrument.enum.d.ts +3 -0
  25. package/dist/esm/types/Definitions/Enums/payback.enum.d.ts +8 -0
  26. package/dist/esm/types/index.d.ts +0 -1
  27. package/dist/index.d.ts +11 -23
  28. package/dist/locales/i18n/companyDetails/en.json +19 -0
  29. package/dist/locales/i18n/companyDetails/es.json +16 -0
  30. package/dist/locales/i18n/companyDetails/fr.json +16 -0
  31. package/dist/locales/i18n/companyProfile/en.json +1 -18
  32. package/dist/locales/i18n/companyProfile/es.json +0 -14
  33. package/dist/locales/i18n/companyProfile/fr.json +0 -13
  34. package/dist/locales/i18n/ghgInventory/en.json +3 -1
  35. package/dist/locales/i18n/login/en.json +1 -0
  36. package/dist/locales/i18n/ndc/en.json +2 -0
  37. package/dist/locales/i18n/programme/en.json +9 -1
  38. package/package.json +2 -29
  39. package/dist/cjs/types/Context/ConnectionContext/connectionContext.d.ts +0 -8
  40. package/dist/cjs/types/Context/SettingsContext/settingsContext.d.ts +0 -10
  41. package/dist/cjs/types/Context/UserInformationContext/userInformationContext.d.ts +0 -6
  42. package/dist/cjs/types/Context/index.d.ts +0 -3
  43. package/dist/cjs/types/Storybook/AddNewCompanyComponent.stories.d.ts +0 -12
  44. package/dist/cjs/types/Storybook/AddNewUserComponent.stories.d.ts +0 -12
  45. package/dist/cjs/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +0 -2
  46. package/dist/cjs/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +0 -2
  47. package/dist/cjs/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +0 -2
  48. package/dist/cjs/types/Storybook/Decorators/DashboardI18nDecorator.d.ts +0 -2
  49. package/dist/cjs/types/Storybook/Decorators/InvestmentCreationI18nDecorator.d.ts +0 -2
  50. package/dist/cjs/types/Storybook/Decorators/ProgrammeCreateI18nDecorator.d.ts +0 -2
  51. package/dist/cjs/types/Storybook/InvestmentCreationComponent.stories.d.ts +0 -12
  52. package/dist/cjs/types/Storybook/MRVDashboard.stories.d.ts +0 -12
  53. package/dist/cjs/types/Storybook/ProgrammeCreationComponent.stories.d.ts +0 -12
  54. package/dist/cjs/types/Storybook/RegistryDashboard.stories.d.ts +0 -12
  55. package/dist/esm/types/Context/ConnectionContext/connectionContext.d.ts +0 -8
  56. package/dist/esm/types/Context/SettingsContext/settingsContext.d.ts +0 -10
  57. package/dist/esm/types/Context/UserInformationContext/userInformationContext.d.ts +0 -6
  58. package/dist/esm/types/Context/index.d.ts +0 -3
  59. package/dist/esm/types/Storybook/AddNewCompanyComponent.stories.d.ts +0 -12
  60. package/dist/esm/types/Storybook/AddNewUserComponent.stories.d.ts +0 -12
  61. package/dist/esm/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +0 -2
  62. package/dist/esm/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +0 -2
  63. package/dist/esm/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +0 -2
  64. package/dist/esm/types/Storybook/Decorators/DashboardI18nDecorator.d.ts +0 -2
  65. package/dist/esm/types/Storybook/Decorators/InvestmentCreationI18nDecorator.d.ts +0 -2
  66. package/dist/esm/types/Storybook/Decorators/ProgrammeCreateI18nDecorator.d.ts +0 -2
  67. package/dist/esm/types/Storybook/InvestmentCreationComponent.stories.d.ts +0 -12
  68. package/dist/esm/types/Storybook/MRVDashboard.stories.d.ts +0 -12
  69. package/dist/esm/types/Storybook/ProgrammeCreationComponent.stories.d.ts +0 -12
  70. 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,3 +0,0 @@
1
- export * from './ConnectionContext/connectionContext';
2
- export * from './UserInformationContext/userInformationContext';
3
- export * from './SettingsContext/settingsContext';
@@ -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,2 +0,0 @@
1
- import React from "react";
2
- export default function AddNewCompanyI18nDecorator(Story: any, context: any): React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export default function AddNewUserI18nDecorator(Story: any, context: any): React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export default function ConnectionContextDecorator(Story: any, context: any): React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export default function DashboardI18nDecorator(Story: any, context: any): React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export default function InvestmentCreationI18nDecorator(Story: any, context: any): React.JSX.Element;
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export default function ProgrammeCreateI18nDecorator(Story: any, context: any): React.JSX.Element;
@@ -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;