@knapsack/renderer-react 4.70.0--canary.3797.b249674.0 → 4.70.0--canary.4821.e250df4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/client/init.js +66 -15
- package/dist/client/init.js.map +1 -1
- package/dist/client/init.mjs +71 -10
- package/dist/client/init.mjs.map +1 -1
- package/dist/demo-wrapper.d.mts +1 -2
- package/dist/demo-wrapper.d.ts +1 -2
- package/dist/demo-wrapper.js +27 -7
- package/dist/demo-wrapper.js.map +1 -1
- package/dist/demo-wrapper.mjs +9 -5
- package/dist/demo-wrapper.mjs.map +1 -1
- package/dist/error-catcher.js +94 -28
- package/dist/error-catcher.js.map +1 -1
- package/dist/error-catcher.mjs +66 -6
- package/dist/error-catcher.mjs.map +1 -1
- package/dist/index.d.mts +6 -7
- package/dist/index.d.ts +6 -7
- package/dist/index.js +1287 -42
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1296 -37
- package/dist/index.mjs.map +1 -1
- package/dist/prototype-template.js +26 -5
- package/dist/prototype-template.js.map +1 -1
- package/dist/prototype-template.mjs +8 -3
- package/dist/prototype-template.mjs.map +1 -1
- package/dist/types-CivTHEEo.d.mts +10 -0
- package/dist/types-CivTHEEo.d.ts +10 -0
- package/package.json +13 -13
- package/dist/types-D2eCZXsg.d.mts +0 -13
- package/dist/types-D2eCZXsg.d.ts +0 -13
package/dist/index.d.ts
CHANGED
@@ -1,8 +1,7 @@
|
|
1
|
-
import { RendererWebpackBase, Renderer,
|
1
|
+
import { RendererWebpackBase, Renderer, KsJsImportMap } from '@knapsack/renderer-webpack-base';
|
2
2
|
import { Renderable } from '@knapsack/app/renderers';
|
3
3
|
import { RendererId } from '@knapsack/types';
|
4
|
-
|
5
|
-
export { D as DemoWrapperProps } from './types-D2eCZXsg.js';
|
4
|
+
export { D as DemoWrapperProps } from './types-CivTHEEo.js';
|
6
5
|
|
7
6
|
declare class KnapsackReactRenderer extends RendererWebpackBase implements Renderable {
|
8
7
|
/**
|
@@ -24,15 +23,15 @@ declare class KnapsackReactRenderer extends RendererWebpackBase implements Rende
|
|
24
23
|
id?: RendererId;
|
25
24
|
});
|
26
25
|
init: Renderer['init'];
|
26
|
+
hydrate: Renderer['hydrate'];
|
27
27
|
getMeta: Renderer['getMeta'];
|
28
28
|
changeCase: Renderer['changeCase'];
|
29
29
|
createWebpackConfig: RendererWebpackBase['createWebpackConfig'];
|
30
|
-
|
31
|
-
prepClientRenderResults({ usage, demoApp, imports: xImports, renderOptions: { pattern, template, demo }, }: {
|
30
|
+
prepClientRenderResults({ usage, demoApp, importMap, renderOptions: { demo, state, patternId, templateId }, }: {
|
32
31
|
usage: string;
|
33
32
|
demoApp: string;
|
34
|
-
|
35
|
-
renderOptions:
|
33
|
+
importMap: KsJsImportMap;
|
34
|
+
renderOptions: Parameters<Renderer['render']>[0];
|
36
35
|
}): ReturnType<Renderer['render']>;
|
37
36
|
render: Renderer['render'];
|
38
37
|
getUsageAndImports: RendererWebpackBase['getUsageAndImports'];
|