react-cosmos-renderer
Advanced tools
Comparing version 6.0.0-canary.285c677.0 to 6.0.0-canary.28d8672.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; |
@@ -10,3 +10,3 @@ import React from 'react'; | ||
}; | ||
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 {}; |
@@ -10,3 +10,3 @@ import React from 'react'; | ||
}; | ||
export declare function ServerFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, selectedFixture, }: Props): JSX.Element; | ||
export declare function ServerFixtureLoader({ moduleWrappers, globalDecorators, renderMessage, selectedFixture, }: Props): React.JSX.Element; | ||
export {}; |
@@ -0,1 +1,3 @@ | ||
// https://github.com/DefinitelyTyped/DefinitelyTyped/pull/65220 | ||
/// <reference types="react/experimental" /> | ||
import React, { Suspense } from 'react'; | ||
@@ -2,0 +4,0 @@ import { FixtureModule } from '../fixtureModule/FixtureModule.js'; |
@@ -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 {}; |
@@ -14,3 +14,3 @@ import React from 'react'; | ||
}; | ||
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.285c677.0+285c677", | ||
"version": "6.0.0-canary.28d8672.0+28d8672", | ||
"description": "React Cosmos Renderer", | ||
@@ -14,7 +14,7 @@ "repository": "https://github.com/react-cosmos/react-cosmos/tree/main/packages/react-cosmos-renderer", | ||
"dependencies": { | ||
"lodash-es": "^4.17.21", | ||
"react-cosmos-core": "6.0.0-canary.285c677.0+285c677", | ||
"react-is": "^18.2.0" | ||
"lodash-es": "4.17.21", | ||
"react-cosmos-core": "6.0.0-canary.28d8672.0+28d8672", | ||
"react-is": "18.2.0" | ||
}, | ||
"gitHead": "285c677258b718d7169aae5513671d659c2a7d8b" | ||
"gitHead": "28d867204eff3744a9731177b6827fa53dcd293e" | ||
} |
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
71042
1520
+ Addedreact-is@18.2.0(transitive)
- Removedreact-is@18.3.1(transitive)
Updatedlodash-es@4.17.21
Updatedreact-is@18.2.0