@undp/carbon-library 1.0.263-carbon-lib-test.1 → 1.0.263-carbon-lib-test.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +25 -19
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Definitions/Definitions/connectionContext.definitions.d.ts +2 -0
- package/dist/cjs/types/Storybook/Decorators/DashboardI18nDecorator.d.ts +2 -0
- package/dist/cjs/types/Storybook/Decorators/InvestmentCreationI18nDecorator.d.ts +2 -0
- package/dist/cjs/types/Storybook/InvestmentCreationComponent.stories.d.ts +12 -0
- package/dist/cjs/types/Storybook/MRVDashboard.stories.d.ts +12 -0
- package/dist/cjs/types/Storybook/RegistryDashboard.stories.d.ts +12 -0
- package/dist/esm/index.js +25 -19
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Definitions/Definitions/connectionContext.definitions.d.ts +2 -0
- package/dist/esm/types/Storybook/Decorators/DashboardI18nDecorator.d.ts +2 -0
- package/dist/esm/types/Storybook/Decorators/InvestmentCreationI18nDecorator.d.ts +2 -0
- package/dist/esm/types/Storybook/InvestmentCreationComponent.stories.d.ts +12 -0
- package/dist/esm/types/Storybook/MRVDashboard.stories.d.ts +12 -0
- package/dist/esm/types/Storybook/RegistryDashboard.stories.d.ts +12 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
|
|
3
3
|
export type Methods = 'get' | 'post' | 'delete' | 'put' | 'patch';
|
4
4
|
export type ConnectionContextProviderProps = {
|
5
5
|
serverURL: string;
|
6
|
+
statServerUrl?: string;
|
6
7
|
t: any;
|
7
8
|
children: ReactNode;
|
8
9
|
};
|
@@ -24,4 +25,5 @@ export type ConnectionProps = {
|
|
24
25
|
updateToken: (token?: string) => void;
|
25
26
|
token?: string;
|
26
27
|
removeToken: (tkn?: string) => void;
|
28
|
+
statServerUrl?: string;
|
27
29
|
};
|
@@ -0,0 +1,12 @@
|
|
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;
|
@@ -0,0 +1,12 @@
|
|
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;
|
@@ -0,0 +1,12 @@
|
|
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;
|
package/dist/index.d.ts
CHANGED
@@ -985,6 +985,7 @@ interface CountrySelect {
|
|
985
985
|
type Methods = 'get' | 'post' | 'delete' | 'put' | 'patch';
|
986
986
|
type ConnectionContextProviderProps = {
|
987
987
|
serverURL: string;
|
988
|
+
statServerUrl?: string;
|
988
989
|
t: any;
|
989
990
|
children: ReactNode;
|
990
991
|
};
|
@@ -1006,6 +1007,7 @@ type ConnectionProps = {
|
|
1006
1007
|
updateToken: (token?: string) => void;
|
1007
1008
|
token?: string;
|
1008
1009
|
removeToken: (tkn?: string) => void;
|
1010
|
+
statServerUrl?: string;
|
1009
1011
|
};
|
1010
1012
|
|
1011
1013
|
type HeaderProps = {
|
package/package.json
CHANGED