@uniformdev/canvas-next-rsc 20.47.0 → 20.47.1-alpha.3
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/{UniformComposition-D_HC6rSo.d.mts → UniformComposition-CfpHU4f0.d.mts} +2 -4
- package/dist/{UniformComposition-D_HC6rSo.d.ts → UniformComposition-CfpHU4f0.d.ts} +2 -4
- package/dist/component.d.mts +3 -3
- package/dist/component.d.ts +3 -3
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +14 -14
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ResolvedRouteGetResponse, ComponentInstance } from '@uniformdev/canvas';
|
|
2
2
|
import { PageParameters, ComponentProps, CompositionContext, AppDirectoryServerContext } from '@uniformdev/canvas-next-rsc-shared';
|
|
3
|
-
import React, { ComponentType
|
|
3
|
+
import React, { ComponentType } from 'react';
|
|
4
4
|
|
|
5
5
|
type UniformStaticCompositionProps = {
|
|
6
6
|
/**
|
|
@@ -56,9 +56,7 @@ type ResolveEmptyPlaceholderResult = {
|
|
|
56
56
|
declare const resolveComposition: (props: Omit<ResolveComponentsOptions, "slotName" | "slotIndex" | "target"> & {
|
|
57
57
|
composition: ComponentInstance;
|
|
58
58
|
compositionContext: CompositionContext;
|
|
59
|
-
}) => React.FunctionComponentElement<
|
|
60
|
-
children?: ReactNode | undefined;
|
|
61
|
-
}> | null;
|
|
59
|
+
}) => React.FunctionComponentElement<React.FragmentProps> | null;
|
|
62
60
|
type ResolveComponentsOptions = {
|
|
63
61
|
serverContext?: AppDirectoryServerContext;
|
|
64
62
|
target: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ResolvedRouteGetResponse, ComponentInstance } from '@uniformdev/canvas';
|
|
2
2
|
import { PageParameters, ComponentProps, CompositionContext, AppDirectoryServerContext } from '@uniformdev/canvas-next-rsc-shared';
|
|
3
|
-
import React, { ComponentType
|
|
3
|
+
import React, { ComponentType } from 'react';
|
|
4
4
|
|
|
5
5
|
type UniformStaticCompositionProps = {
|
|
6
6
|
/**
|
|
@@ -56,9 +56,7 @@ type ResolveEmptyPlaceholderResult = {
|
|
|
56
56
|
declare const resolveComposition: (props: Omit<ResolveComponentsOptions, "slotName" | "slotIndex" | "target"> & {
|
|
57
57
|
composition: ComponentInstance;
|
|
58
58
|
compositionContext: CompositionContext;
|
|
59
|
-
}) => React.FunctionComponentElement<
|
|
60
|
-
children?: ReactNode | undefined;
|
|
61
|
-
}> | null;
|
|
59
|
+
}) => React.FunctionComponentElement<React.FragmentProps> | null;
|
|
62
60
|
type ResolveComponentsOptions = {
|
|
63
61
|
serverContext?: AppDirectoryServerContext;
|
|
64
62
|
target: {
|
package/dist/component.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, CompositionContext, SlotDefinition } from '@uniformdev/canvas-next-rsc-shared';
|
|
2
2
|
export { ComponentProps, CompositionContext } from '@uniformdev/canvas-next-rsc-shared';
|
|
3
|
-
import React, { PropsWithChildren, ReactNode, Key
|
|
4
|
-
export { R as ResolveComponentFunction, a as ResolveComponentResult } from './UniformComposition-
|
|
3
|
+
import React, { PropsWithChildren, ReactNode, Key } from 'react';
|
|
4
|
+
export { R as ResolveComponentFunction, a as ResolveComponentResult } from './UniformComposition-CfpHU4f0.mjs';
|
|
5
5
|
import { ComponentInstance } from '@uniformdev/canvas';
|
|
6
6
|
import { RichTextNode } from '@uniformdev/richtext';
|
|
7
7
|
import { PureUniformTextProps } from '@uniformdev/canvas-react/core';
|
|
@@ -88,7 +88,7 @@ type CustomSlotChildRenderFunc = (options: {
|
|
|
88
88
|
key: Key;
|
|
89
89
|
slotName: string;
|
|
90
90
|
slotIndex: number;
|
|
91
|
-
}) =>
|
|
91
|
+
}) => ReactNode;
|
|
92
92
|
type UniformSlotProps = {
|
|
93
93
|
data: ComponentInstance;
|
|
94
94
|
context: CompositionContext;
|
package/dist/component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, CompositionContext, SlotDefinition } from '@uniformdev/canvas-next-rsc-shared';
|
|
2
2
|
export { ComponentProps, CompositionContext } from '@uniformdev/canvas-next-rsc-shared';
|
|
3
|
-
import React, { PropsWithChildren, ReactNode, Key
|
|
4
|
-
export { R as ResolveComponentFunction, a as ResolveComponentResult } from './UniformComposition-
|
|
3
|
+
import React, { PropsWithChildren, ReactNode, Key } from 'react';
|
|
4
|
+
export { R as ResolveComponentFunction, a as ResolveComponentResult } from './UniformComposition-CfpHU4f0.js';
|
|
5
5
|
import { ComponentInstance } from '@uniformdev/canvas';
|
|
6
6
|
import { RichTextNode } from '@uniformdev/richtext';
|
|
7
7
|
import { PureUniformTextProps } from '@uniformdev/canvas-react/core';
|
|
@@ -88,7 +88,7 @@ type CustomSlotChildRenderFunc = (options: {
|
|
|
88
88
|
key: Key;
|
|
89
89
|
slotName: string;
|
|
90
90
|
slotIndex: number;
|
|
91
|
-
}) =>
|
|
91
|
+
}) => ReactNode;
|
|
92
92
|
type UniformSlotProps = {
|
|
93
93
|
data: ComponentInstance;
|
|
94
94
|
context: CompositionContext;
|
package/dist/index.d.mts
CHANGED
|
@@ -5,8 +5,8 @@ import { ManifestClient } from '@uniformdev/context/api';
|
|
|
5
5
|
import { ProjectMapClient, ProjectMapNode } from '@uniformdev/project-map';
|
|
6
6
|
import { ContextState, ContextOptions } from '@uniformdev/context';
|
|
7
7
|
import React, { PropsWithChildren } from 'react';
|
|
8
|
-
import { U as UniformCompositionProps } from './UniformComposition-
|
|
9
|
-
export { b as UniformComposition, r as resolveComposition } from './UniformComposition-
|
|
8
|
+
import { U as UniformCompositionProps } from './UniformComposition-CfpHU4f0.mjs';
|
|
9
|
+
export { b as UniformComposition, r as resolveComposition } from './UniformComposition-CfpHU4f0.mjs';
|
|
10
10
|
import { ClientContextComponent } from '@uniformdev/canvas-next-rsc-client';
|
|
11
11
|
|
|
12
12
|
type GetCanvasClientOptions = {
|
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { ManifestClient } from '@uniformdev/context/api';
|
|
|
5
5
|
import { ProjectMapClient, ProjectMapNode } from '@uniformdev/project-map';
|
|
6
6
|
import { ContextState, ContextOptions } from '@uniformdev/context';
|
|
7
7
|
import React, { PropsWithChildren } from 'react';
|
|
8
|
-
import { U as UniformCompositionProps } from './UniformComposition-
|
|
9
|
-
export { b as UniformComposition, r as resolveComposition } from './UniformComposition-
|
|
8
|
+
import { U as UniformCompositionProps } from './UniformComposition-CfpHU4f0.js';
|
|
9
|
+
export { b as UniformComposition, r as resolveComposition } from './UniformComposition-CfpHU4f0.js';
|
|
10
10
|
import { ClientContextComponent } from '@uniformdev/canvas-next-rsc-client';
|
|
11
11
|
|
|
12
12
|
type GetCanvasClientOptions = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next-rsc",
|
|
3
|
-
"version": "20.47.
|
|
3
|
+
"version": "20.47.1-alpha.3+04fdfa028a",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -55,21 +55,21 @@
|
|
|
55
55
|
],
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/node": "24.3.1",
|
|
58
|
-
"@types/react": "
|
|
58
|
+
"@types/react": "19.2.2",
|
|
59
59
|
"next": "15.2.5",
|
|
60
|
-
"react": "
|
|
61
|
-
"react-dom": "
|
|
60
|
+
"react": "19.2.1",
|
|
61
|
+
"react-dom": "19.2.1"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@uniformdev/canvas": "20.47.
|
|
65
|
-
"@uniformdev/canvas-next-rsc-client": "^20.47.
|
|
66
|
-
"@uniformdev/canvas-next-rsc-shared": "^20.47.
|
|
67
|
-
"@uniformdev/canvas-react": "20.47.
|
|
68
|
-
"@uniformdev/context": "20.47.
|
|
69
|
-
"@uniformdev/project-map": "20.47.
|
|
70
|
-
"@uniformdev/redirect": "20.47.
|
|
71
|
-
"@uniformdev/richtext": "20.47.
|
|
72
|
-
"@uniformdev/webhooks": "20.47.
|
|
64
|
+
"@uniformdev/canvas": "20.47.1-alpha.3+04fdfa028a",
|
|
65
|
+
"@uniformdev/canvas-next-rsc-client": "^20.47.1-alpha.3+04fdfa028a",
|
|
66
|
+
"@uniformdev/canvas-next-rsc-shared": "^20.47.1-alpha.3+04fdfa028a",
|
|
67
|
+
"@uniformdev/canvas-react": "20.47.1-alpha.3+04fdfa028a",
|
|
68
|
+
"@uniformdev/context": "20.47.1-alpha.3+04fdfa028a",
|
|
69
|
+
"@uniformdev/project-map": "20.47.1-alpha.3+04fdfa028a",
|
|
70
|
+
"@uniformdev/redirect": "20.47.1-alpha.3+04fdfa028a",
|
|
71
|
+
"@uniformdev/richtext": "20.47.1-alpha.3+04fdfa028a",
|
|
72
|
+
"@uniformdev/webhooks": "20.47.1-alpha.3+04fdfa028a",
|
|
73
73
|
"@vercel/edge-config": "^0.4.0",
|
|
74
74
|
"encoding": "^0.1.13",
|
|
75
75
|
"server-only": "^0.0.1",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "04fdfa028a09763f4f9e89f78f32aef1de247ad4"
|
|
90
90
|
}
|