@undp/carbon-library 1.0.258-carbon-lib-test.0 → 1.0.258

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. package/dist/cjs/index.js +179 -366
  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/Definitions/Definitions/connectionContext.definitions.d.ts +0 -1
  9. package/dist/cjs/types/Definitions/Entities/programmeTransfer.d.ts +1 -0
  10. package/dist/cjs/types/index.d.ts +0 -1
  11. package/dist/esm/index.js +181 -360
  12. package/dist/esm/index.js.map +1 -1
  13. package/dist/esm/types/Components/Common/CoBenifits/coBenifits.d.ts +1 -0
  14. package/dist/esm/types/Components/Common/Models/programmeRetireForm.d.ts +1 -0
  15. package/dist/esm/types/Components/Common/Models/programmeTransferForm.d.ts +1 -0
  16. package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
  17. package/dist/esm/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +2 -0
  18. package/dist/esm/types/Definitions/Definitions/connectionContext.definitions.d.ts +0 -1
  19. package/dist/esm/types/Definitions/Entities/programmeTransfer.d.ts +1 -0
  20. package/dist/esm/types/index.d.ts +0 -1
  21. package/dist/index.d.ts +9 -21
  22. package/dist/locales/i18n/company/en.json +2 -1
  23. package/dist/locales/i18n/companyProfile/en.json +2 -1
  24. package/package.json +2 -29
  25. package/dist/cjs/types/Context/ConnectionContext/connectionContext.d.ts +0 -8
  26. package/dist/cjs/types/Context/SettingsContext/settingsContext.d.ts +0 -10
  27. package/dist/cjs/types/Context/UserInformationContext/userInformationContext.d.ts +0 -6
  28. package/dist/cjs/types/Context/index.d.ts +0 -3
  29. package/dist/cjs/types/Storybook/AddNewCompanyComponent.stories.d.ts +0 -12
  30. package/dist/cjs/types/Storybook/AddNewUserComponent.stories.d.ts +0 -12
  31. package/dist/cjs/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +0 -2
  32. package/dist/cjs/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +0 -2
  33. package/dist/cjs/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +0 -2
  34. package/dist/esm/types/Context/ConnectionContext/connectionContext.d.ts +0 -8
  35. package/dist/esm/types/Context/SettingsContext/settingsContext.d.ts +0 -10
  36. package/dist/esm/types/Context/UserInformationContext/userInformationContext.d.ts +0 -6
  37. package/dist/esm/types/Context/index.d.ts +0 -3
  38. package/dist/esm/types/Storybook/AddNewCompanyComponent.stories.d.ts +0 -12
  39. package/dist/esm/types/Storybook/AddNewUserComponent.stories.d.ts +0 -12
  40. package/dist/esm/types/Storybook/Decorators/AddNewCompanyI18nDecorator.d.ts +0 -2
  41. package/dist/esm/types/Storybook/Decorators/AddNewUserI18nDecorator.d.ts +0 -2
  42. package/dist/esm/types/Storybook/Decorators/ConnectionContextDecorator.d.ts +0 -2
@@ -10,5 +10,6 @@ export interface CoBenefitProps {
10
10
  loading?: any;
11
11
  sdgGoalImages?: any;
12
12
  translator?: any;
13
+ useConnection?: any;
13
14
  }
14
15
  export declare const CoBenifitsComponent: (props: CoBenefitProps) => React.JSX.Element;
@@ -9,5 +9,6 @@ export interface ProgrammeRetireFormProps {
9
9
  hideType: boolean;
10
10
  myCompanyId?: number;
11
11
  translator: any;
12
+ useConnection: any;
12
13
  }
13
14
  export declare const ProgrammeRetireForm: FC<ProgrammeRetireFormProps>;
@@ -12,6 +12,7 @@ export interface ProgrammeTransferFormProps {
12
12
  userCompanyId: number | undefined;
13
13
  companyRole: string;
14
14
  translator: any;
15
+ useConnection: any;
15
16
  ministryLevelPermission?: boolean;
16
17
  }
17
18
  export declare const ProgrammeTransferForm: FC<ProgrammeTransferFormProps>;
@@ -8,7 +8,9 @@ export interface NdcActionBodyProps {
8
8
  programmeOwnerId?: any;
9
9
  getProgrammeDocs?: any;
10
10
  ministryLevelPermission?: boolean;
11
+ useConnection: any;
11
12
  translator: any;
13
+ useUserContext: any;
12
14
  onFinish?: any;
13
15
  programme?: any;
14
16
  }
@@ -9,6 +9,8 @@ export interface ProgrammeDocumentsProps {
9
9
  getDocumentDetails: any;
10
10
  getProgrammeById: any;
11
11
  ministryLevelPermission?: boolean;
12
+ useConnection: any;
13
+ useUserContext: any;
12
14
  translator: any;
13
15
  methodologyDocumentUpdated: any;
14
16
  programmeStatus?: any;
@@ -3,7 +3,6 @@ import { ReactNode } from 'react';
3
3
  export type Methods = 'get' | 'post' | 'delete' | 'put' | 'patch';
4
4
  export type ConnectionContextProviderProps = {
5
5
  serverURL: string;
6
- t: any;
7
6
  children: ReactNode;
8
7
  };
9
8
  export interface Response<T> {
@@ -21,4 +21,5 @@ export declare class ProgrammeTransfer implements BaseEntity {
21
21
  createdTime?: number;
22
22
  retirementType?: RetireType;
23
23
  toCompanyMeta?: any;
24
+ omgePercentage?: any;
24
25
  }
@@ -1,4 +1,3 @@
1
1
  export * from './Components';
2
2
  export * from './Definitions';
3
3
  export * from './Styles';
4
- export * from './Context';