@uniformdev/canvas-next-rsc 19.55.2-alpha.19 → 19.55.2-alpha.20
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/index.d.mts +4 -6
- package/dist/index.d.ts +4 -6
- package/dist/index.esm.js +4 -1
- package/dist/index.js +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +11 -11
package/dist/index.d.mts
CHANGED
|
@@ -5,8 +5,8 @@ export { ComponentProps, CompositionContext, PageParameters } from '@uniformdev/
|
|
|
5
5
|
import { ManifestClient } from '@uniformdev/context/api';
|
|
6
6
|
import { ProjectMapClient } from '@uniformdev/project-map';
|
|
7
7
|
import { ContextState, ManifestV2, ContextOptions } from '@uniformdev/context';
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
import React__default, {
|
|
8
|
+
import * as React$1 from 'react';
|
|
9
|
+
import React__default, { ComponentType, ReactNode, PropsWithChildren, Key } from 'react';
|
|
10
10
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
11
11
|
import { RichTextNode } from '@uniformdev/richtext';
|
|
12
12
|
import { PureUniformTextProps } from '@uniformdev/canvas-react/core';
|
|
@@ -233,9 +233,7 @@ type UniformCompositionProps = PageParameters & {
|
|
|
233
233
|
*/
|
|
234
234
|
resolveComponent: ResolveComponentFunction;
|
|
235
235
|
} & (UniformStaticCompositionProps | UniformServerCompositionProps);
|
|
236
|
-
declare const UniformComposition:
|
|
237
|
-
children?: ReactNode;
|
|
238
|
-
}> | null>;
|
|
236
|
+
declare const UniformComposition: React.FC<UniformCompositionProps>;
|
|
239
237
|
type ResolveComponentFunction = (options: {
|
|
240
238
|
component: ComponentInstance;
|
|
241
239
|
}) => {
|
|
@@ -245,7 +243,7 @@ type ResolveComponentFunction = (options: {
|
|
|
245
243
|
declare const resolveComposition: (props: Omit<ResolveComponentsOptions, 'slotName' | 'slotIndex' | 'target'> & {
|
|
246
244
|
composition: ComponentInstance;
|
|
247
245
|
compositionContext: CompositionContext;
|
|
248
|
-
}) => React.FunctionComponentElement<{
|
|
246
|
+
}) => React$1.FunctionComponentElement<{
|
|
249
247
|
children?: ReactNode;
|
|
250
248
|
}> | null;
|
|
251
249
|
type ResolveComponentsOptions = {
|
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export { ComponentProps, CompositionContext, PageParameters } from '@uniformdev/
|
|
|
5
5
|
import { ManifestClient } from '@uniformdev/context/api';
|
|
6
6
|
import { ProjectMapClient } from '@uniformdev/project-map';
|
|
7
7
|
import { ContextState, ManifestV2, ContextOptions } from '@uniformdev/context';
|
|
8
|
-
import * as React from 'react';
|
|
9
|
-
import React__default, {
|
|
8
|
+
import * as React$1 from 'react';
|
|
9
|
+
import React__default, { ComponentType, ReactNode, PropsWithChildren, Key } from 'react';
|
|
10
10
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
11
11
|
import { RichTextNode } from '@uniformdev/richtext';
|
|
12
12
|
import { PureUniformTextProps } from '@uniformdev/canvas-react/core';
|
|
@@ -233,9 +233,7 @@ type UniformCompositionProps = PageParameters & {
|
|
|
233
233
|
*/
|
|
234
234
|
resolveComponent: ResolveComponentFunction;
|
|
235
235
|
} & (UniformStaticCompositionProps | UniformServerCompositionProps);
|
|
236
|
-
declare const UniformComposition:
|
|
237
|
-
children?: ReactNode;
|
|
238
|
-
}> | null>;
|
|
236
|
+
declare const UniformComposition: React.FC<UniformCompositionProps>;
|
|
239
237
|
type ResolveComponentFunction = (options: {
|
|
240
238
|
component: ComponentInstance;
|
|
241
239
|
}) => {
|
|
@@ -245,7 +243,7 @@ type ResolveComponentFunction = (options: {
|
|
|
245
243
|
declare const resolveComposition: (props: Omit<ResolveComponentsOptions, 'slotName' | 'slotIndex' | 'target'> & {
|
|
246
244
|
composition: ComponentInstance;
|
|
247
245
|
compositionContext: CompositionContext;
|
|
248
|
-
}) => React.FunctionComponentElement<{
|
|
246
|
+
}) => React$1.FunctionComponentElement<{
|
|
249
247
|
children?: ReactNode;
|
|
250
248
|
}> | null;
|
|
251
249
|
type ResolveComponentsOptions = {
|
package/dist/index.esm.js
CHANGED
|
@@ -608,7 +608,10 @@ var TestServer = ({ test, component, contextInstance, slots }) => {
|
|
|
608
608
|
};
|
|
609
609
|
|
|
610
610
|
// src/components/UniformComposition.ts
|
|
611
|
-
var UniformComposition = async ({
|
|
611
|
+
var UniformComposition = async ({
|
|
612
|
+
resolveComponent,
|
|
613
|
+
...props
|
|
614
|
+
}) => {
|
|
612
615
|
let searchParams;
|
|
613
616
|
let serverContext = void 0;
|
|
614
617
|
if (props.mode === "static") {
|
package/dist/index.js
CHANGED
|
@@ -646,7 +646,10 @@ var TestServer = ({ test, component, contextInstance, slots }) => {
|
|
|
646
646
|
};
|
|
647
647
|
|
|
648
648
|
// src/components/UniformComposition.ts
|
|
649
|
-
var UniformComposition = async ({
|
|
649
|
+
var UniformComposition = async ({
|
|
650
|
+
resolveComponent,
|
|
651
|
+
...props
|
|
652
|
+
}) => {
|
|
650
653
|
let searchParams;
|
|
651
654
|
let serverContext = void 0;
|
|
652
655
|
if (props.mode === "static") {
|
package/dist/index.mjs
CHANGED
|
@@ -608,7 +608,10 @@ var TestServer = ({ test, component, contextInstance, slots }) => {
|
|
|
608
608
|
};
|
|
609
609
|
|
|
610
610
|
// src/components/UniformComposition.ts
|
|
611
|
-
var UniformComposition = async ({
|
|
611
|
+
var UniformComposition = async ({
|
|
612
|
+
resolveComponent,
|
|
613
|
+
...props
|
|
614
|
+
}) => {
|
|
612
615
|
let searchParams;
|
|
613
616
|
let serverContext = void 0;
|
|
614
617
|
if (props.mode === "static") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next-rsc",
|
|
3
|
-
"version": "19.55.2-alpha.
|
|
3
|
+
"version": "19.55.2-alpha.20+c97bb048d",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -53,15 +53,15 @@
|
|
|
53
53
|
"react-dom": "18.2.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@uniformdev/canvas": "19.55.2-alpha.
|
|
57
|
-
"@uniformdev/canvas-next-rsc-client": "^19.55.2-alpha.
|
|
58
|
-
"@uniformdev/canvas-next-rsc-shared": "^19.55.2-alpha.
|
|
59
|
-
"@uniformdev/canvas-react": "19.55.2-alpha.
|
|
60
|
-
"@uniformdev/context": "19.55.2-alpha.
|
|
61
|
-
"@uniformdev/project-map": "19.55.2-alpha.
|
|
62
|
-
"@uniformdev/redirect": "19.55.2-alpha.
|
|
63
|
-
"@uniformdev/richtext": "19.55.2-alpha.
|
|
64
|
-
"@uniformdev/webhooks": "19.55.2-alpha.
|
|
56
|
+
"@uniformdev/canvas": "19.55.2-alpha.20+c97bb048d",
|
|
57
|
+
"@uniformdev/canvas-next-rsc-client": "^19.55.2-alpha.20+c97bb048d",
|
|
58
|
+
"@uniformdev/canvas-next-rsc-shared": "^19.55.2-alpha.20+c97bb048d",
|
|
59
|
+
"@uniformdev/canvas-react": "19.55.2-alpha.20+c97bb048d",
|
|
60
|
+
"@uniformdev/context": "19.55.2-alpha.20+c97bb048d",
|
|
61
|
+
"@uniformdev/project-map": "19.55.2-alpha.20+c97bb048d",
|
|
62
|
+
"@uniformdev/redirect": "19.55.2-alpha.20+c97bb048d",
|
|
63
|
+
"@uniformdev/richtext": "19.55.2-alpha.20+c97bb048d",
|
|
64
|
+
"@uniformdev/webhooks": "19.55.2-alpha.20+c97bb048d",
|
|
65
65
|
"@vercel/edge-config": "^0.4.0",
|
|
66
66
|
"svix": "^1.5.0"
|
|
67
67
|
},
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "c97bb048d2d87112e6e6f75f4a9a86a4f42e8892"
|
|
80
80
|
}
|