react-cosmos-renderer
Advanced tools
Comparing version 6.0.0-canary.8118727.0 to 6.0.0-canary.025e7c1.0
@@ -7,3 +7,3 @@ import React from 'react'; | ||
}; | ||
export declare function FixtureCapture({ children, decoratorId }: Props): JSX.Element; | ||
export declare function FixtureCapture({ children, decoratorId }: Props): React.JSX.Element; | ||
export {}; |
@@ -7,3 +7,3 @@ import React from 'react'; | ||
}; | ||
export declare function Viewport({ children, width, height }: Props): JSX.Element; | ||
export declare function Viewport({ children, width, height }: Props): React.JSX.Element; | ||
export declare namespace Viewport { | ||
@@ -10,0 +10,0 @@ var cosmosCapture: boolean; |
@@ -1,2 +0,2 @@ | ||
import { ReactElement } from 'react'; | ||
import React, { ReactElement } from 'react'; | ||
import { ReactDecorator, UserModuleWrappers } from 'react-cosmos-core'; | ||
@@ -8,3 +8,3 @@ type Props = { | ||
}; | ||
export declare function ClientFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, }: Props): JSX.Element; | ||
export declare function ClientFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, }: Props): React.JSX.Element; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
/// <reference types="react" /> | ||
export declare function defaultRenderMessage(msg: string): JSX.Element; | ||
import React from 'react'; | ||
export declare function defaultRenderMessage(msg: string): React.JSX.Element; |
import React from 'react'; | ||
import { UserModuleWrappers } from 'react-cosmos-core'; | ||
import { SelectedFixture } from '../rendererConnect/RendererContext.js'; | ||
import { SelectedFixture } from './SelectedFixture.js'; | ||
type Props = { | ||
@@ -10,3 +10,3 @@ moduleWrappers: UserModuleWrappers; | ||
}; | ||
export declare function FixtureLoaderConnect({ moduleWrappers, selectedFixture, renderMessage, renderFixture, }: Props): JSX.Element; | ||
export declare function FixtureLoaderConnect({ moduleWrappers, selectedFixture, renderMessage, renderFixture, }: Props): React.JSX.Element; | ||
export {}; |
@@ -7,3 +7,3 @@ import React from 'react'; | ||
}; | ||
export declare function RendererSync({ children, fixtures }: Props): JSX.Element; | ||
export declare function RendererSync({ children, fixtures }: Props): React.JSX.Element; | ||
export {}; |
import React from 'react'; | ||
import { ReactDecorator, UserModuleWrappers } from 'react-cosmos-core'; | ||
import { SelectedFixture } from '../rendererConnect/RendererContext.js'; | ||
import { SelectedFixture } from './SelectedFixture.js'; | ||
type Props = { | ||
@@ -10,3 +10,3 @@ moduleWrappers: UserModuleWrappers; | ||
}; | ||
export declare function ServerFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, selectedFixture, }: Props): JSX.Element; | ||
export declare function ServerFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, selectedFixture, }: Props): React.JSX.Element; | ||
export {}; |
@@ -13,3 +13,3 @@ import React from 'react'; | ||
}; | ||
export declare function FixtureModule({ fixtureModule, decoratorModules, globalDecorators, fixtureId, initialFixtureState, renderKey, lazy, renderMessage, }: Props): JSX.Element; | ||
export declare function FixtureModule({ fixtureModule, decoratorModules, globalDecorators, fixtureId, initialFixtureState, renderKey, lazy, renderMessage, }: Props): React.JSX.Element; | ||
export {}; |
@@ -10,3 +10,3 @@ import React from 'react'; | ||
}; | ||
export declare function FixtureProvider(props: Props): JSX.Element; | ||
export declare function FixtureProvider(props: Props): React.JSX.Element; | ||
export {}; |
@@ -0,1 +1,2 @@ | ||
export * from './fixtureLoaders/SelectedFixture.js'; | ||
export * from './fixtureLoaders/ServerFixtureLoader.js'; | ||
@@ -2,0 +3,0 @@ export * from './fixtureModule/createFixtureNode.js'; |
@@ -0,1 +1,2 @@ | ||
export * from './fixtureLoaders/SelectedFixture.js'; | ||
export * from './fixtureLoaders/ServerFixtureLoader.js'; | ||
@@ -2,0 +3,0 @@ export * from './fixtureModule/createFixtureNode.js'; |
import React from 'react'; | ||
import { FixtureId, FixtureList, FixtureState, RendererConnect } from 'react-cosmos-core'; | ||
export type SelectedFixture = { | ||
fixtureId: FixtureId; | ||
initialFixtureState: FixtureState; | ||
renderKey: number; | ||
}; | ||
import { SelectedFixture } from '../fixtureLoaders/SelectedFixture.js'; | ||
export type RendererContextValue = { | ||
@@ -9,0 +5,0 @@ rendererId: string; |
import React from 'react'; | ||
import { FixtureId, FixtureState, RendererConnect } from 'react-cosmos-core'; | ||
import { SelectedFixture } from './RendererContext.js'; | ||
import { SelectedFixture } from '../fixtureLoaders/SelectedFixture.js'; | ||
type Props = { | ||
@@ -14,3 +14,3 @@ children: React.ReactNode; | ||
}; | ||
export declare function RendererProvider(props: Props): JSX.Element; | ||
export declare function RendererProvider(props: Props): React.JSX.Element; | ||
export {}; |
@@ -11,3 +11,3 @@ import React from 'react'; | ||
}; | ||
export declare function StatefulRendererProvider({ children, selectedFixtureId, ...otherProps }: Props): JSX.Element; | ||
export declare function StatefulRendererProvider({ children, selectedFixtureId, ...otherProps }: Props): React.JSX.Element; | ||
export {}; |
{ | ||
"name": "react-cosmos-renderer", | ||
"version": "6.0.0-canary.8118727.0+8118727", | ||
"version": "6.0.0-canary.025e7c1.0+025e7c1", | ||
"description": "React Cosmos Renderer", | ||
@@ -15,6 +15,6 @@ "repository": "https://github.com/react-cosmos/react-cosmos/tree/main/packages/react-cosmos-renderer", | ||
"lodash-es": "^4.17.21", | ||
"react-cosmos-core": "6.0.0-canary.8118727.0+8118727", | ||
"react-cosmos-core": "6.0.0-canary.025e7c1.0+025e7c1", | ||
"react-is": "^18.2.0" | ||
}, | ||
"gitHead": "81187278dc56f44029e070ea67e2acddf3293282" | ||
"gitHead": "025e7c1ed755313489d117d6f15b2f7d4cc5f237" | ||
} |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
70934
106
1518