@undp/carbon-library 1.0.263-carbon-lib-test.0 → 1.0.263-carbon-lib-test.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,2 @@
1
+ import React from "react";
2
+ export default function DashboardI18nDecorator(Story: any, context: any): React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export default function ProgrammeCreateI18nDecorator(Story: any, context: any): React.JSX.Element;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.263-carbon-lib-test.0",
3
+ "version": "1.0.263-carbon-lib-test.2",
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": {