@uniformdev/canvas-next-rsc 20.46.1-alpha.9 → 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/LICENSE.txt CHANGED
@@ -1,2 +1,2 @@
1
- © 2025 Uniform Systems, Inc. All Rights Reserved.
1
+ © 2026 Uniform Systems, Inc. All Rights Reserved.
2
2
  See details of Uniform Systems, Inc. Master Subscription Agreement here: https://uniform.dev/eula
@@ -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, ReactNode } from 'react';
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, ReactNode } from 'react';
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,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, JSX } from 'react';
4
- export { R as ResolveComponentFunction, a as ResolveComponentResult } from './UniformComposition-D_HC6rSo.mjs';
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
- }) => JSX.Element;
91
+ }) => ReactNode;
92
92
  type UniformSlotProps = {
93
93
  data: ComponentInstance;
94
94
  context: CompositionContext;
@@ -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, JSX } from 'react';
4
- export { R as ResolveComponentFunction, a as ResolveComponentResult } from './UniformComposition-D_HC6rSo.js';
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
- }) => JSX.Element;
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-D_HC6rSo.mjs';
9
- export { b as UniformComposition, r as resolveComposition } from './UniformComposition-D_HC6rSo.mjs';
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-D_HC6rSo.js';
9
- export { b as UniformComposition, r as resolveComposition } from './UniformComposition-D_HC6rSo.js';
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.46.1-alpha.9+14b25be438",
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": "18.3.24",
58
+ "@types/react": "19.2.2",
59
59
  "next": "15.2.5",
60
- "react": "18.3.1",
61
- "react-dom": "18.3.1"
60
+ "react": "19.2.1",
61
+ "react-dom": "19.2.1"
62
62
  },
63
63
  "dependencies": {
64
- "@uniformdev/canvas": "20.46.1-alpha.9+14b25be438",
65
- "@uniformdev/canvas-next-rsc-client": "^20.46.1-alpha.9+14b25be438",
66
- "@uniformdev/canvas-next-rsc-shared": "^20.46.1-alpha.9+14b25be438",
67
- "@uniformdev/canvas-react": "20.46.1-alpha.9+14b25be438",
68
- "@uniformdev/context": "20.46.1-alpha.9+14b25be438",
69
- "@uniformdev/project-map": "20.46.1-alpha.9+14b25be438",
70
- "@uniformdev/redirect": "20.46.1-alpha.9+14b25be438",
71
- "@uniformdev/richtext": "20.46.1-alpha.9+14b25be438",
72
- "@uniformdev/webhooks": "20.46.1-alpha.9+14b25be438",
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": "14b25be4388a016175906a6c7dcfeae9e3055acd"
89
+ "gitHead": "04fdfa028a09763f4f9e89f78f32aef1de247ad4"
90
90
  }