react-cosmos-renderer 6.0.0-beta.5 → 6.0.0-canary.025e7c1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fixture/FixtureCapture/FixtureCapture.d.ts +1 -1
- package/dist/fixture/Viewport.d.ts +1 -1
- package/dist/fixtureLoaders/ClientFixtureLoader.d.ts +2 -2
- package/dist/fixtureLoaders/FixtureLoaderConnect.d.ts +1 -1
- package/dist/fixtureLoaders/RendererSync.d.ts +1 -1
- package/dist/fixtureLoaders/ServerFixtureLoader.d.ts +1 -1
- package/dist/fixtureLoaders/defaultRenderMessage.d.ts +2 -2
- package/dist/fixtureModule/FixtureModule.d.ts +1 -1
- package/dist/fixtureModule/FixtureProvider.d.ts +1 -1
- package/dist/rendererConnect/RendererProvider.d.ts +1 -1
- package/dist/rendererConnect/StatefulRendererProvider.d.ts +1 -1
- package/package.json +3 -3
|
@@ -4,5 +4,5 @@ type Props = {
|
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
decoratorId: FixtureDecoratorId;
|
|
6
6
|
};
|
|
7
|
-
export declare function FixtureCapture({ children, decoratorId }: Props): JSX.Element;
|
|
7
|
+
export declare function FixtureCapture({ children, decoratorId }: Props): React.JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -4,7 +4,7 @@ type Props = {
|
|
|
4
4
|
width: number;
|
|
5
5
|
height: number;
|
|
6
6
|
};
|
|
7
|
-
export declare function Viewport({ children, width, height }: Props): JSX.Element;
|
|
7
|
+
export declare function Viewport({ children, width, height }: Props): React.JSX.Element;
|
|
8
8
|
export declare namespace Viewport {
|
|
9
9
|
var cosmosCapture: boolean;
|
|
10
10
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
2
|
import { ReactDecorator, UserModuleWrappers } from 'react-cosmos-core';
|
|
3
3
|
type Props = {
|
|
4
4
|
moduleWrappers: UserModuleWrappers;
|
|
5
5
|
globalDecorators?: ReactDecorator[];
|
|
6
6
|
renderMessage?: (msg: string) => ReactElement;
|
|
7
7
|
};
|
|
8
|
-
export declare function ClientFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, }: Props): JSX.Element;
|
|
8
|
+
export declare function ClientFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, }: Props): React.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
renderMessage: (msg: string) => React.ReactElement;
|
|
8
8
|
renderFixture: (selected: SelectedFixture) => React.ReactElement;
|
|
9
9
|
};
|
|
10
|
-
export declare function FixtureLoaderConnect({ moduleWrappers, selectedFixture, renderMessage, renderFixture, }: Props): JSX.Element;
|
|
10
|
+
export declare function FixtureLoaderConnect({ moduleWrappers, selectedFixture, renderMessage, renderFixture, }: Props): React.JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
renderMessage?: (msg: string) => React.ReactElement;
|
|
8
8
|
selectedFixture: SelectedFixture | null;
|
|
9
9
|
};
|
|
10
|
-
export declare function ServerFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, selectedFixture, }: Props): JSX.Element;
|
|
10
|
+
export declare function ServerFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, selectedFixture, }: Props): React.JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function defaultRenderMessage(msg: string): JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare function defaultRenderMessage(msg: string): React.JSX.Element;
|
|
@@ -10,5 +10,5 @@ type Props = {
|
|
|
10
10
|
lazy: boolean;
|
|
11
11
|
renderMessage: (msg: string) => React.ReactElement;
|
|
12
12
|
};
|
|
13
|
-
export declare function FixtureModule({ fixtureModule, decoratorModules, globalDecorators, fixtureId, initialFixtureState, renderKey, lazy, renderMessage, }: Props): JSX.Element;
|
|
13
|
+
export declare function FixtureModule({ fixtureModule, decoratorModules, globalDecorators, fixtureId, initialFixtureState, renderKey, lazy, renderMessage, }: Props): React.JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -8,5 +8,5 @@ type Props = {
|
|
|
8
8
|
selectedFixtureId: FixtureId | null;
|
|
9
9
|
reloadRenderer(): void;
|
|
10
10
|
};
|
|
11
|
-
export declare function StatefulRendererProvider({ children, selectedFixtureId, ...otherProps }: Props): JSX.Element;
|
|
11
|
+
export declare function StatefulRendererProvider({ children, selectedFixtureId, ...otherProps }: Props): React.JSX.Element;
|
|
12
12
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-cosmos-renderer",
|
|
3
|
-
"version": "6.0.0-
|
|
3
|
+
"version": "6.0.0-canary.025e7c1.0+025e7c1",
|
|
4
4
|
"description": "React Cosmos Renderer",
|
|
5
5
|
"repository": "https://github.com/react-cosmos/react-cosmos/tree/main/packages/react-cosmos-renderer",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"lodash-es": "^4.17.21",
|
|
15
|
-
"react-cosmos-core": "6.0.0-
|
|
15
|
+
"react-cosmos-core": "6.0.0-canary.025e7c1.0+025e7c1",
|
|
16
16
|
"react-is": "^18.2.0"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "025e7c1ed755313489d117d6f15b2f7d4cc5f237"
|
|
19
19
|
}
|