@uniformdev/canvas-next-rsc 19.178.2-alpha.25 → 19.179.2-alpha.22

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.
@@ -40,11 +40,11 @@ type ResolveComponentResult = {
40
40
  fallback: ComponentType<any> | undefined;
41
41
  };
42
42
  };
43
- declare const resolveComposition: (props: Omit<ResolveComponentsOptions, 'slotName' | 'slotIndex' | 'target'> & {
43
+ declare const resolveComposition: (props: Omit<ResolveComponentsOptions, "slotName" | "slotIndex" | "target"> & {
44
44
  composition: ComponentInstance;
45
45
  compositionContext: CompositionContext;
46
46
  }) => React$1.FunctionComponentElement<{
47
- children?: ReactNode;
47
+ children?: ReactNode | undefined;
48
48
  }> | null;
49
49
  type ResolveComponentsOptions = {
50
50
  serverContext?: AppDirectoryServerContext;
@@ -40,11 +40,11 @@ type ResolveComponentResult = {
40
40
  fallback: ComponentType<any> | undefined;
41
41
  };
42
42
  };
43
- declare const resolveComposition: (props: Omit<ResolveComponentsOptions, 'slotName' | 'slotIndex' | 'target'> & {
43
+ declare const resolveComposition: (props: Omit<ResolveComponentsOptions, "slotName" | "slotIndex" | "target"> & {
44
44
  composition: ComponentInstance;
45
45
  compositionContext: CompositionContext;
46
46
  }) => React$1.FunctionComponentElement<{
47
- children?: ReactNode;
47
+ children?: ReactNode | undefined;
48
48
  }> | null;
49
49
  type ResolveComponentsOptions = {
50
50
  serverContext?: AppDirectoryServerContext;
@@ -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
3
  import React__default, { PropsWithChildren, ReactNode, Key } from 'react';
4
- export { R as ResolveComponentFunction, b as ResolveComponentResult } from './UniformComposition-B-Z17dUt.mjs';
4
+ export { R as ResolveComponentFunction, b as ResolveComponentResult } from './UniformComposition-Dw55RFP6.mjs';
5
5
  import { ComponentInstance } from '@uniformdev/canvas';
6
6
  import { RichTextNode } from '@uniformdev/richtext';
7
7
  import { PureUniformTextProps } from '@uniformdev/canvas-react/core';
@@ -34,16 +34,7 @@ type UniformRichTextProps = {
34
34
  resolveRichTextRenderer?: RenderRichTextComponentResolver;
35
35
  /** The component instance. */
36
36
  component: ComponentInstance;
37
- context?: Pick<CompositionContext, 'isContextualEditing'>;
38
- /**
39
- * Sets the value to show in Canvas editor when the parameter value is empty.
40
- * Can be a static string, or a function to generate the placeholder out of parameter info.
41
- * @default undefined
42
- */
43
- placeholder?: string | ((parameter: {
44
- id: string;
45
- }) => string | undefined);
46
- } & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children' | 'placeholder'>;
37
+ } & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'>;
47
38
  /**
48
39
  * Adds rendering support for Uniform Rich Text parameters
49
40
  */
@@ -52,26 +43,17 @@ declare const UniformRichText: React__default.ForwardRefExoticComponent<{
52
43
  * The name of the HTML tag to render.
53
44
  * @default "div"
54
45
  */
55
- as?: React__default.ElementType<any> | undefined;
46
+ as?: React__default.ElementType;
56
47
  /** The ID of the parameter. */
57
48
  parameterId: string;
58
49
  /**
59
50
  * A function which can provide a custom react component
60
51
  * for rendering a rich text node
61
52
  */
62
- resolveRichTextRenderer?: RenderRichTextComponentResolver | undefined;
53
+ resolveRichTextRenderer?: RenderRichTextComponentResolver;
63
54
  /** The component instance. */
64
55
  component: ComponentInstance;
65
- context?: Pick<CompositionContext, "isContextualEditing"> | undefined;
66
- /**
67
- * Sets the value to show in Canvas editor when the parameter value is empty.
68
- * Can be a static string, or a function to generate the placeholder out of parameter info.
69
- * @default undefined
70
- */
71
- placeholder?: string | ((parameter: {
72
- id: string;
73
- }) => string | undefined) | undefined;
74
- } & Omit<React__default.HTMLAttributes<HTMLDivElement>, "placeholder" | "children"> & React__default.RefAttributes<unknown>>;
56
+ } & Omit<React__default.HTMLAttributes<HTMLDivElement>, "children"> & React__default.RefAttributes<unknown>>;
75
57
 
76
58
  type UniformRichTextNodeProps = {
77
59
  node: RichTextNode;
@@ -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
3
  import React__default, { PropsWithChildren, ReactNode, Key } from 'react';
4
- export { R as ResolveComponentFunction, b as ResolveComponentResult } from './UniformComposition-B-Z17dUt.js';
4
+ export { R as ResolveComponentFunction, b as ResolveComponentResult } from './UniformComposition-Dw55RFP6.js';
5
5
  import { ComponentInstance } from '@uniformdev/canvas';
6
6
  import { RichTextNode } from '@uniformdev/richtext';
7
7
  import { PureUniformTextProps } from '@uniformdev/canvas-react/core';
@@ -34,16 +34,7 @@ type UniformRichTextProps = {
34
34
  resolveRichTextRenderer?: RenderRichTextComponentResolver;
35
35
  /** The component instance. */
36
36
  component: ComponentInstance;
37
- context?: Pick<CompositionContext, 'isContextualEditing'>;
38
- /**
39
- * Sets the value to show in Canvas editor when the parameter value is empty.
40
- * Can be a static string, or a function to generate the placeholder out of parameter info.
41
- * @default undefined
42
- */
43
- placeholder?: string | ((parameter: {
44
- id: string;
45
- }) => string | undefined);
46
- } & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children' | 'placeholder'>;
37
+ } & Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children'>;
47
38
  /**
48
39
  * Adds rendering support for Uniform Rich Text parameters
49
40
  */
@@ -52,26 +43,17 @@ declare const UniformRichText: React__default.ForwardRefExoticComponent<{
52
43
  * The name of the HTML tag to render.
53
44
  * @default "div"
54
45
  */
55
- as?: React__default.ElementType<any> | undefined;
46
+ as?: React__default.ElementType;
56
47
  /** The ID of the parameter. */
57
48
  parameterId: string;
58
49
  /**
59
50
  * A function which can provide a custom react component
60
51
  * for rendering a rich text node
61
52
  */
62
- resolveRichTextRenderer?: RenderRichTextComponentResolver | undefined;
53
+ resolveRichTextRenderer?: RenderRichTextComponentResolver;
63
54
  /** The component instance. */
64
55
  component: ComponentInstance;
65
- context?: Pick<CompositionContext, "isContextualEditing"> | undefined;
66
- /**
67
- * Sets the value to show in Canvas editor when the parameter value is empty.
68
- * Can be a static string, or a function to generate the placeholder out of parameter info.
69
- * @default undefined
70
- */
71
- placeholder?: string | ((parameter: {
72
- id: string;
73
- }) => string | undefined) | undefined;
74
- } & Omit<React__default.HTMLAttributes<HTMLDivElement>, "placeholder" | "children"> & React__default.RefAttributes<unknown>>;
56
+ } & Omit<React__default.HTMLAttributes<HTMLDivElement>, "children"> & React__default.RefAttributes<unknown>>;
75
57
 
76
58
  type UniformRichTextNodeProps = {
77
59
  node: RichTextNode;
package/dist/component.js CHANGED
@@ -48,14 +48,13 @@ var DefaultNotImplementedComponent = ({ component }) => {
48
48
  };
49
49
 
50
50
  // src/components/UniformRichText.tsx
51
- var import_canvas = require("@uniformdev/canvas");
52
- var import_richtext6 = require("@uniformdev/richtext");
53
- var import_react12 = __toESM(require("react"));
54
-
55
- // src/components/UniformRichTextNode.tsx
56
51
  var import_richtext5 = require("@uniformdev/richtext");
57
52
  var import_react11 = __toESM(require("react"));
58
53
 
54
+ // src/components/UniformRichTextNode.tsx
55
+ var import_richtext4 = require("@uniformdev/richtext");
56
+ var import_react10 = __toESM(require("react"));
57
+
59
58
  // src/components/nodes/HeadingRichTextNode.tsx
60
59
  var import_react2 = __toESM(require("react"));
61
60
  var HeadingRichTextNode = ({ children, node }) => {
@@ -108,34 +107,25 @@ var ParagraphRichTextNode = ({ children, node }) => {
108
107
  );
109
108
  };
110
109
 
111
- // src/components/nodes/TableCellRichTextNode.tsx
112
- var import_richtext3 = require("@uniformdev/richtext");
113
- var import_react8 = __toESM(require("react"));
114
- var TableCellRichTextNode = ({ children, node }) => {
115
- const { headerState } = node;
116
- const TableCellTag = (0, import_richtext3.getRichTextTagFromTableCellHeaderState)(headerState);
117
- return /* @__PURE__ */ import_react8.default.createElement(TableCellTag, null, children);
118
- };
119
-
120
110
  // src/components/nodes/TabRichTextNode.tsx
121
- var import_react9 = __toESM(require("react"));
111
+ var import_react8 = __toESM(require("react"));
122
112
  var TabRichTextNode = () => {
123
- return /* @__PURE__ */ import_react9.default.createElement(import_react9.default.Fragment, null, " ");
113
+ return /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, " ");
124
114
  };
125
115
 
126
116
  // src/components/nodes/TextRichTextNode.tsx
127
- var import_richtext4 = require("@uniformdev/richtext");
128
- var import_react10 = __toESM(require("react"));
117
+ var import_richtext3 = require("@uniformdev/richtext");
118
+ var import_react9 = __toESM(require("react"));
129
119
  var TextRichTextNode = ({ node }) => {
130
120
  const { text, format } = node;
131
- const tags = (0, import_richtext4.getRichTextTagsFromTextFormat)(format);
132
- return /* @__PURE__ */ import_react10.default.createElement(import_react10.default.Fragment, null, tags.length > 0 ? tags.reduceRight((children, Tag) => /* @__PURE__ */ import_react10.default.createElement(Tag, null, children), text) : text);
121
+ const tags = (0, import_richtext3.getRichTextTagsFromTextFormat)(format);
122
+ return /* @__PURE__ */ import_react9.default.createElement(import_react9.default.Fragment, null, tags.length > 0 ? tags.reduceRight((children, Tag) => /* @__PURE__ */ import_react9.default.createElement(Tag, null, children), text) : text);
133
123
  };
134
124
 
135
125
  // src/components/UniformRichTextNode.tsx
136
126
  function UniformRichTextNode({ node, ...props }) {
137
127
  var _a;
138
- if (!(0, import_richtext5.isRichTextNode)(node)) return null;
128
+ if (!(0, import_richtext4.isRichTextNode)(node)) return null;
139
129
  let NodeRenderer = (_a = props.resolveRichTextRenderer) == null ? void 0 : _a.call(props, node);
140
130
  if (typeof NodeRenderer === "undefined") {
141
131
  NodeRenderer = resolveRichTextDefaultRenderer(node);
@@ -143,8 +133,8 @@ function UniformRichTextNode({ node, ...props }) {
143
133
  if (!NodeRenderer) {
144
134
  return null;
145
135
  }
146
- const children = node.children ? node.children.map((childNode, i) => /* @__PURE__ */ import_react11.default.createElement(UniformRichTextNode, { ...props, key: i, node: childNode })) : null;
147
- return /* @__PURE__ */ import_react11.default.createElement(NodeRenderer, { node }, children);
136
+ const children = node.children ? node.children.map((childNode, i) => /* @__PURE__ */ import_react10.default.createElement(UniformRichTextNode, { ...props, key: i, node: childNode })) : null;
137
+ return /* @__PURE__ */ import_react10.default.createElement(NodeRenderer, { node }, children);
148
138
  }
149
139
  var rendererMap = /* @__PURE__ */ new Map([
150
140
  ["heading", HeadingRichTextNode],
@@ -153,58 +143,26 @@ var rendererMap = /* @__PURE__ */ new Map([
153
143
  ["list", ListRichTextNode],
154
144
  ["listitem", ListItemRichTextNode],
155
145
  ["paragraph", ParagraphRichTextNode],
156
- ["quote", ({ children }) => /* @__PURE__ */ import_react11.default.createElement("blockquote", null, children)],
146
+ ["quote", ({ children }) => /* @__PURE__ */ import_react10.default.createElement("blockquote", null, children)],
157
147
  [
158
148
  "code",
159
- ({ children }) => /* @__PURE__ */ import_react11.default.createElement("pre", null, /* @__PURE__ */ import_react11.default.createElement("code", null, children))
149
+ ({ children }) => /* @__PURE__ */ import_react10.default.createElement("pre", null, /* @__PURE__ */ import_react10.default.createElement("code", null, children))
160
150
  ],
161
- ["root", ({ children }) => /* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, children)],
151
+ ["root", ({ children }) => /* @__PURE__ */ import_react10.default.createElement(import_react10.default.Fragment, null, children)],
162
152
  ["text", TextRichTextNode],
163
- ["tab", TabRichTextNode],
164
- [
165
- "table",
166
- ({ children }) => /* @__PURE__ */ import_react11.default.createElement("table", null, /* @__PURE__ */ import_react11.default.createElement("tbody", null, children))
167
- ],
168
- ["tablerow", ({ children }) => /* @__PURE__ */ import_react11.default.createElement("tr", null, children)],
169
- ["tablecell", TableCellRichTextNode]
153
+ ["tab", TabRichTextNode]
170
154
  ]);
171
155
  var resolveRichTextDefaultRenderer = (node) => {
172
156
  return rendererMap.get(node.type);
173
157
  };
174
158
 
175
159
  // src/components/UniformRichText.tsx
176
- var UniformRichText = import_react12.default.forwardRef(function UniformRichText2({
177
- parameterId,
178
- component,
179
- resolveRichTextRenderer,
180
- as: Tag = "div",
181
- context,
182
- placeholder,
183
- ...props
184
- }, ref) {
185
- var _a, _b;
186
- const isContextualEditing = (_a = context == null ? void 0 : context.isContextualEditing) != null ? _a : false;
187
- const parameter = (_b = component == null ? void 0 : component.parameters) == null ? void 0 : _b[parameterId];
188
- if (!parameter) {
189
- return null;
190
- }
191
- const computedPlaceholder = typeof placeholder === "function" ? placeholder({ id: parameterId }) : placeholder;
192
- const value = parameter.value;
193
- if (!value || !(0, import_richtext6.isRichTextValue)(value)) return null;
194
- if (!isContextualEditing && (0, import_richtext6.isRichTextValueConsideredEmpty)(value)) return null;
195
- return Tag === null ? /* @__PURE__ */ import_react12.default.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer }) : /* @__PURE__ */ import_react12.default.createElement(
196
- Tag,
197
- {
198
- ref,
199
- ...props,
200
- ...isContextualEditing ? {
201
- [import_canvas.ATTRIBUTE_COMPONENT_ID]: component._id,
202
- [import_canvas.ATTRIBUTE_PARAMETER_ID]: parameterId,
203
- [import_canvas.ATTRIBUTE_PARAMETER_TYPE]: "richText"
204
- } : {}
205
- },
206
- (0, import_richtext6.isRichTextValueConsideredEmpty)(value) ? /* @__PURE__ */ import_react12.default.createElement("p", null, /* @__PURE__ */ import_react12.default.createElement("i", null, computedPlaceholder)) : /* @__PURE__ */ import_react12.default.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer })
207
- );
160
+ var UniformRichText = import_react11.default.forwardRef(function UniformRichText2({ parameterId, component, resolveRichTextRenderer, as: Tag = "div", ...props }, ref) {
161
+ var _a;
162
+ const parameter = (_a = component == null ? void 0 : component.parameters) == null ? void 0 : _a[parameterId];
163
+ const value = parameter == null ? void 0 : parameter.value;
164
+ if (!value || !(0, import_richtext5.isRichTextValue)(value) || (0, import_richtext5.isRichTextValueConsideredEmpty)(value)) return null;
165
+ return Tag === null ? /* @__PURE__ */ import_react11.default.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer }) : /* @__PURE__ */ import_react11.default.createElement(Tag, { ref, ...props }, /* @__PURE__ */ import_react11.default.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer }));
208
166
  });
209
167
 
210
168
  // src/components/UniformSlot.tsx
@@ -235,9 +193,9 @@ var UniformSlot = ({ data, slot, children }) => {
235
193
 
236
194
  // src/components/UniformText.tsx
237
195
  var import_core = require("@uniformdev/canvas-react/core");
238
- var import_react13 = __toESM(require("react"));
196
+ var import_react12 = __toESM(require("react"));
239
197
  var UniformText = ({ context, ...rest }) => {
240
- return /* @__PURE__ */ import_react13.default.createElement(
198
+ return /* @__PURE__ */ import_react12.default.createElement(
241
199
  import_core.PureUniformText,
242
200
  {
243
201
  ...rest,
@@ -6,16 +6,14 @@ var DefaultNotImplementedComponent = ({ component }) => {
6
6
 
7
7
  // src/components/UniformRichText.tsx
8
8
  import {
9
- ATTRIBUTE_COMPONENT_ID,
10
- ATTRIBUTE_PARAMETER_ID,
11
- ATTRIBUTE_PARAMETER_TYPE
12
- } from "@uniformdev/canvas";
13
- import { isRichTextValue, isRichTextValueConsideredEmpty } from "@uniformdev/richtext";
14
- import React12 from "react";
9
+ isRichTextValue,
10
+ isRichTextValueConsideredEmpty
11
+ } from "@uniformdev/richtext";
12
+ import React11 from "react";
15
13
 
16
14
  // src/components/UniformRichTextNode.tsx
17
15
  import { isRichTextNode } from "@uniformdev/richtext";
18
- import React11 from "react";
16
+ import React10 from "react";
19
17
 
20
18
  // src/components/nodes/HeadingRichTextNode.tsx
21
19
  import React2 from "react";
@@ -69,28 +67,19 @@ var ParagraphRichTextNode = ({ children, node }) => {
69
67
  );
70
68
  };
71
69
 
72
- // src/components/nodes/TableCellRichTextNode.tsx
73
- import { getRichTextTagFromTableCellHeaderState } from "@uniformdev/richtext";
74
- import React8 from "react";
75
- var TableCellRichTextNode = ({ children, node }) => {
76
- const { headerState } = node;
77
- const TableCellTag = getRichTextTagFromTableCellHeaderState(headerState);
78
- return /* @__PURE__ */ React8.createElement(TableCellTag, null, children);
79
- };
80
-
81
70
  // src/components/nodes/TabRichTextNode.tsx
82
- import React9 from "react";
71
+ import React8 from "react";
83
72
  var TabRichTextNode = () => {
84
- return /* @__PURE__ */ React9.createElement(React9.Fragment, null, " ");
73
+ return /* @__PURE__ */ React8.createElement(React8.Fragment, null, " ");
85
74
  };
86
75
 
87
76
  // src/components/nodes/TextRichTextNode.tsx
88
77
  import { getRichTextTagsFromTextFormat } from "@uniformdev/richtext";
89
- import React10 from "react";
78
+ import React9 from "react";
90
79
  var TextRichTextNode = ({ node }) => {
91
80
  const { text, format } = node;
92
81
  const tags = getRichTextTagsFromTextFormat(format);
93
- return /* @__PURE__ */ React10.createElement(React10.Fragment, null, tags.length > 0 ? tags.reduceRight((children, Tag) => /* @__PURE__ */ React10.createElement(Tag, null, children), text) : text);
82
+ return /* @__PURE__ */ React9.createElement(React9.Fragment, null, tags.length > 0 ? tags.reduceRight((children, Tag) => /* @__PURE__ */ React9.createElement(Tag, null, children), text) : text);
94
83
  };
95
84
 
96
85
  // src/components/UniformRichTextNode.tsx
@@ -104,8 +93,8 @@ function UniformRichTextNode({ node, ...props }) {
104
93
  if (!NodeRenderer) {
105
94
  return null;
106
95
  }
107
- const children = node.children ? node.children.map((childNode, i) => /* @__PURE__ */ React11.createElement(UniformRichTextNode, { ...props, key: i, node: childNode })) : null;
108
- return /* @__PURE__ */ React11.createElement(NodeRenderer, { node }, children);
96
+ const children = node.children ? node.children.map((childNode, i) => /* @__PURE__ */ React10.createElement(UniformRichTextNode, { ...props, key: i, node: childNode })) : null;
97
+ return /* @__PURE__ */ React10.createElement(NodeRenderer, { node }, children);
109
98
  }
110
99
  var rendererMap = /* @__PURE__ */ new Map([
111
100
  ["heading", HeadingRichTextNode],
@@ -114,58 +103,26 @@ var rendererMap = /* @__PURE__ */ new Map([
114
103
  ["list", ListRichTextNode],
115
104
  ["listitem", ListItemRichTextNode],
116
105
  ["paragraph", ParagraphRichTextNode],
117
- ["quote", ({ children }) => /* @__PURE__ */ React11.createElement("blockquote", null, children)],
106
+ ["quote", ({ children }) => /* @__PURE__ */ React10.createElement("blockquote", null, children)],
118
107
  [
119
108
  "code",
120
- ({ children }) => /* @__PURE__ */ React11.createElement("pre", null, /* @__PURE__ */ React11.createElement("code", null, children))
109
+ ({ children }) => /* @__PURE__ */ React10.createElement("pre", null, /* @__PURE__ */ React10.createElement("code", null, children))
121
110
  ],
122
- ["root", ({ children }) => /* @__PURE__ */ React11.createElement(React11.Fragment, null, children)],
111
+ ["root", ({ children }) => /* @__PURE__ */ React10.createElement(React10.Fragment, null, children)],
123
112
  ["text", TextRichTextNode],
124
- ["tab", TabRichTextNode],
125
- [
126
- "table",
127
- ({ children }) => /* @__PURE__ */ React11.createElement("table", null, /* @__PURE__ */ React11.createElement("tbody", null, children))
128
- ],
129
- ["tablerow", ({ children }) => /* @__PURE__ */ React11.createElement("tr", null, children)],
130
- ["tablecell", TableCellRichTextNode]
113
+ ["tab", TabRichTextNode]
131
114
  ]);
132
115
  var resolveRichTextDefaultRenderer = (node) => {
133
116
  return rendererMap.get(node.type);
134
117
  };
135
118
 
136
119
  // src/components/UniformRichText.tsx
137
- var UniformRichText = React12.forwardRef(function UniformRichText2({
138
- parameterId,
139
- component,
140
- resolveRichTextRenderer,
141
- as: Tag = "div",
142
- context,
143
- placeholder,
144
- ...props
145
- }, ref) {
146
- var _a, _b;
147
- const isContextualEditing = (_a = context == null ? void 0 : context.isContextualEditing) != null ? _a : false;
148
- const parameter = (_b = component == null ? void 0 : component.parameters) == null ? void 0 : _b[parameterId];
149
- if (!parameter) {
150
- return null;
151
- }
152
- const computedPlaceholder = typeof placeholder === "function" ? placeholder({ id: parameterId }) : placeholder;
153
- const value = parameter.value;
154
- if (!value || !isRichTextValue(value)) return null;
155
- if (!isContextualEditing && isRichTextValueConsideredEmpty(value)) return null;
156
- return Tag === null ? /* @__PURE__ */ React12.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer }) : /* @__PURE__ */ React12.createElement(
157
- Tag,
158
- {
159
- ref,
160
- ...props,
161
- ...isContextualEditing ? {
162
- [ATTRIBUTE_COMPONENT_ID]: component._id,
163
- [ATTRIBUTE_PARAMETER_ID]: parameterId,
164
- [ATTRIBUTE_PARAMETER_TYPE]: "richText"
165
- } : {}
166
- },
167
- isRichTextValueConsideredEmpty(value) ? /* @__PURE__ */ React12.createElement("p", null, /* @__PURE__ */ React12.createElement("i", null, computedPlaceholder)) : /* @__PURE__ */ React12.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer })
168
- );
120
+ var UniformRichText = React11.forwardRef(function UniformRichText2({ parameterId, component, resolveRichTextRenderer, as: Tag = "div", ...props }, ref) {
121
+ var _a;
122
+ const parameter = (_a = component == null ? void 0 : component.parameters) == null ? void 0 : _a[parameterId];
123
+ const value = parameter == null ? void 0 : parameter.value;
124
+ if (!value || !isRichTextValue(value) || isRichTextValueConsideredEmpty(value)) return null;
125
+ return Tag === null ? /* @__PURE__ */ React11.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer }) : /* @__PURE__ */ React11.createElement(Tag, { ref, ...props }, /* @__PURE__ */ React11.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer }));
169
126
  });
170
127
 
171
128
  // src/components/UniformSlot.tsx
@@ -196,9 +153,9 @@ var UniformSlot = ({ data, slot, children }) => {
196
153
 
197
154
  // src/components/UniformText.tsx
198
155
  import { PureUniformText } from "@uniformdev/canvas-react/core";
199
- import React13 from "react";
156
+ import React12 from "react";
200
157
  var UniformText = ({ context, ...rest }) => {
201
- return /* @__PURE__ */ React13.createElement(
158
+ return /* @__PURE__ */ React12.createElement(
202
159
  PureUniformText,
203
160
  {
204
161
  ...rest,
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__default, { PropsWithChildren } from 'react';
8
- import { U as UniformCompositionProps } from './UniformComposition-B-Z17dUt.mjs';
9
- export { a as UniformComposition, r as resolveComposition } from './UniformComposition-B-Z17dUt.mjs';
8
+ import { U as UniformCompositionProps } from './UniformComposition-Dw55RFP6.mjs';
9
+ export { a as UniformComposition, r as resolveComposition } from './UniformComposition-Dw55RFP6.mjs';
10
10
  import { ClientContextComponent } from '@uniformdev/canvas-next-rsc-client';
11
11
 
12
12
  type GetCanvasClientOptions = {
@@ -14,7 +14,7 @@ type GetCanvasClientOptions = {
14
14
  };
15
15
  declare const getCanvasClient: (options: GetCanvasClientOptions) => CanvasClient;
16
16
  declare const getDefaultCanvasClient: ({ searchParams, }: {
17
- searchParams: PageParameters['searchParams'];
17
+ searchParams: PageParameters["searchParams"];
18
18
  }) => CanvasClient;
19
19
 
20
20
  type GetManifestClientOptions = {
@@ -22,34 +22,34 @@ type GetManifestClientOptions = {
22
22
  };
23
23
  declare const getManifestClient: (options: GetManifestClientOptions) => ManifestClient;
24
24
  declare const getDefaultManifestClient: ({ searchParams, }: {
25
- searchParams?: PageParameters['searchParams'];
25
+ searchParams?: PageParameters["searchParams"];
26
26
  }) => ManifestClient;
27
27
  declare const getManifest: ({ searchParams }: {
28
- searchParams: PageParameters['searchParams'];
28
+ searchParams: PageParameters["searchParams"];
29
29
  }) => Promise<{
30
30
  project: {
31
- id?: string | undefined;
32
- name?: string | undefined;
33
- ui_version?: number | undefined;
31
+ id?: string;
32
+ name?: string;
33
+ ui_version?: number;
34
34
  pz?: {
35
35
  sig?: {
36
36
  [key: string]: {
37
37
  str: number;
38
38
  cap: number;
39
- dur: "p" | "s" | "t";
39
+ dur: "s" | "p" | "t";
40
40
  crit: {
41
41
  type: "G";
42
- op?: "&" | "|" | undefined;
42
+ op?: "&" | "|";
43
43
  clauses: ({
44
44
  type: "G";
45
- op?: "&" | "|" | undefined;
46
- clauses: (any | {
45
+ op?: "&" | "|";
46
+ clauses: (any | ({
47
47
  type: "CK";
48
48
  cookieName: string;
49
49
  match: {
50
50
  rhs: string;
51
51
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
52
- cs?: boolean | undefined;
52
+ cs?: boolean;
53
53
  } | {
54
54
  op: "*" | "!*";
55
55
  };
@@ -59,7 +59,7 @@ declare const getManifest: ({ searchParams }: {
59
59
  match: {
60
60
  rhs: string;
61
61
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
62
- cs?: boolean | undefined;
62
+ cs?: boolean;
63
63
  } | {
64
64
  op: "*" | "!*";
65
65
  };
@@ -69,7 +69,7 @@ declare const getManifest: ({ searchParams }: {
69
69
  match: {
70
70
  rhs: string;
71
71
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
72
- cs?: boolean | undefined;
72
+ cs?: boolean;
73
73
  } | {
74
74
  op: "*" | "!*";
75
75
  };
@@ -78,7 +78,7 @@ declare const getManifest: ({ searchParams }: {
78
78
  event: {
79
79
  rhs: string;
80
80
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
81
- cs?: boolean | undefined;
81
+ cs?: boolean;
82
82
  } | {
83
83
  op: "*" | "!*";
84
84
  };
@@ -87,7 +87,7 @@ declare const getManifest: ({ searchParams }: {
87
87
  path: {
88
88
  rhs: string;
89
89
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
90
- cs?: boolean | undefined;
90
+ cs?: boolean;
91
91
  } | {
92
92
  op: "*" | "!*";
93
93
  };
@@ -95,16 +95,16 @@ declare const getManifest: ({ searchParams }: {
95
95
  type: "PVC";
96
96
  match: {
97
97
  rhs: number;
98
- op: "=" | "!=" | "<" | ">";
98
+ op: "=" | "<" | ">" | "!=";
99
99
  };
100
- })[];
101
- } | {
100
+ }))[];
101
+ } | ({
102
102
  type: "CK";
103
103
  cookieName: string;
104
104
  match: {
105
105
  rhs: string;
106
106
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
107
- cs?: boolean | undefined;
107
+ cs?: boolean;
108
108
  } | {
109
109
  op: "*" | "!*";
110
110
  };
@@ -114,7 +114,7 @@ declare const getManifest: ({ searchParams }: {
114
114
  match: {
115
115
  rhs: string;
116
116
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
117
- cs?: boolean | undefined;
117
+ cs?: boolean;
118
118
  } | {
119
119
  op: "*" | "!*";
120
120
  };
@@ -124,7 +124,7 @@ declare const getManifest: ({ searchParams }: {
124
124
  match: {
125
125
  rhs: string;
126
126
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
127
- cs?: boolean | undefined;
127
+ cs?: boolean;
128
128
  } | {
129
129
  op: "*" | "!*";
130
130
  };
@@ -133,7 +133,7 @@ declare const getManifest: ({ searchParams }: {
133
133
  event: {
134
134
  rhs: string;
135
135
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
136
- cs?: boolean | undefined;
136
+ cs?: boolean;
137
137
  } | {
138
138
  op: "*" | "!*";
139
139
  };
@@ -142,7 +142,7 @@ declare const getManifest: ({ searchParams }: {
142
142
  path: {
143
143
  rhs: string;
144
144
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
145
- cs?: boolean | undefined;
145
+ cs?: boolean;
146
146
  } | {
147
147
  op: "*" | "!*";
148
148
  };
@@ -150,35 +150,35 @@ declare const getManifest: ({ searchParams }: {
150
150
  type: "PVC";
151
151
  match: {
152
152
  rhs: number;
153
- op: "=" | "!=" | "<" | ">";
153
+ op: "=" | "<" | ">" | "!=";
154
154
  };
155
- })[];
155
+ }))[];
156
156
  };
157
157
  conversion?: {
158
158
  freq: "O";
159
- } | null | undefined;
159
+ } | null;
160
160
  };
161
- } | undefined;
161
+ };
162
162
  enr?: {
163
163
  [key: string]: {
164
164
  cap: number;
165
165
  };
166
- } | undefined;
166
+ };
167
167
  agg?: {
168
168
  [key: string]: {
169
169
  inputs: {
170
170
  dim: string;
171
- sign?: "c" | "+" | "-" | undefined;
171
+ sign?: "+" | "-" | "c";
172
172
  }[];
173
173
  };
174
- } | undefined;
175
- control?: number | undefined;
176
- } | undefined;
174
+ };
175
+ control?: number;
176
+ };
177
177
  test?: {
178
178
  [key: string]: {
179
- wv?: string | undefined;
179
+ wv?: string;
180
180
  };
181
- } | undefined;
181
+ };
182
182
  };
183
183
  }>;
184
184
 
@@ -187,7 +187,7 @@ type GetProjectMapClientOptions = {
187
187
  };
188
188
  declare const getProjectMapClient: (options: GetProjectMapClientOptions) => ProjectMapClient;
189
189
  declare const getDefaultProjectMapClient: ({ searchParams, }: {
190
- searchParams: PageParameters['searchParams'];
190
+ searchParams: PageParameters["searchParams"];
191
191
  }) => ProjectMapClient;
192
192
 
193
193
  type GetRouteClientOptions = {
@@ -195,7 +195,7 @@ type GetRouteClientOptions = {
195
195
  };
196
196
  declare const getRouteClient: (options: GetRouteClientOptions) => RouteClient;
197
197
  declare const getDefaultRouteClient: ({ searchParams }: {
198
- searchParams: PageParameters['searchParams'];
198
+ searchParams: PageParameters["searchParams"];
199
199
  }) => RouteClient;
200
200
 
201
201
  type ContextUpdateTransferProps = {
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__default, { PropsWithChildren } from 'react';
8
- import { U as UniformCompositionProps } from './UniformComposition-B-Z17dUt.js';
9
- export { a as UniformComposition, r as resolveComposition } from './UniformComposition-B-Z17dUt.js';
8
+ import { U as UniformCompositionProps } from './UniformComposition-Dw55RFP6.js';
9
+ export { a as UniformComposition, r as resolveComposition } from './UniformComposition-Dw55RFP6.js';
10
10
  import { ClientContextComponent } from '@uniformdev/canvas-next-rsc-client';
11
11
 
12
12
  type GetCanvasClientOptions = {
@@ -14,7 +14,7 @@ type GetCanvasClientOptions = {
14
14
  };
15
15
  declare const getCanvasClient: (options: GetCanvasClientOptions) => CanvasClient;
16
16
  declare const getDefaultCanvasClient: ({ searchParams, }: {
17
- searchParams: PageParameters['searchParams'];
17
+ searchParams: PageParameters["searchParams"];
18
18
  }) => CanvasClient;
19
19
 
20
20
  type GetManifestClientOptions = {
@@ -22,34 +22,34 @@ type GetManifestClientOptions = {
22
22
  };
23
23
  declare const getManifestClient: (options: GetManifestClientOptions) => ManifestClient;
24
24
  declare const getDefaultManifestClient: ({ searchParams, }: {
25
- searchParams?: PageParameters['searchParams'];
25
+ searchParams?: PageParameters["searchParams"];
26
26
  }) => ManifestClient;
27
27
  declare const getManifest: ({ searchParams }: {
28
- searchParams: PageParameters['searchParams'];
28
+ searchParams: PageParameters["searchParams"];
29
29
  }) => Promise<{
30
30
  project: {
31
- id?: string | undefined;
32
- name?: string | undefined;
33
- ui_version?: number | undefined;
31
+ id?: string;
32
+ name?: string;
33
+ ui_version?: number;
34
34
  pz?: {
35
35
  sig?: {
36
36
  [key: string]: {
37
37
  str: number;
38
38
  cap: number;
39
- dur: "p" | "s" | "t";
39
+ dur: "s" | "p" | "t";
40
40
  crit: {
41
41
  type: "G";
42
- op?: "&" | "|" | undefined;
42
+ op?: "&" | "|";
43
43
  clauses: ({
44
44
  type: "G";
45
- op?: "&" | "|" | undefined;
46
- clauses: (any | {
45
+ op?: "&" | "|";
46
+ clauses: (any | ({
47
47
  type: "CK";
48
48
  cookieName: string;
49
49
  match: {
50
50
  rhs: string;
51
51
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
52
- cs?: boolean | undefined;
52
+ cs?: boolean;
53
53
  } | {
54
54
  op: "*" | "!*";
55
55
  };
@@ -59,7 +59,7 @@ declare const getManifest: ({ searchParams }: {
59
59
  match: {
60
60
  rhs: string;
61
61
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
62
- cs?: boolean | undefined;
62
+ cs?: boolean;
63
63
  } | {
64
64
  op: "*" | "!*";
65
65
  };
@@ -69,7 +69,7 @@ declare const getManifest: ({ searchParams }: {
69
69
  match: {
70
70
  rhs: string;
71
71
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
72
- cs?: boolean | undefined;
72
+ cs?: boolean;
73
73
  } | {
74
74
  op: "*" | "!*";
75
75
  };
@@ -78,7 +78,7 @@ declare const getManifest: ({ searchParams }: {
78
78
  event: {
79
79
  rhs: string;
80
80
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
81
- cs?: boolean | undefined;
81
+ cs?: boolean;
82
82
  } | {
83
83
  op: "*" | "!*";
84
84
  };
@@ -87,7 +87,7 @@ declare const getManifest: ({ searchParams }: {
87
87
  path: {
88
88
  rhs: string;
89
89
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
90
- cs?: boolean | undefined;
90
+ cs?: boolean;
91
91
  } | {
92
92
  op: "*" | "!*";
93
93
  };
@@ -95,16 +95,16 @@ declare const getManifest: ({ searchParams }: {
95
95
  type: "PVC";
96
96
  match: {
97
97
  rhs: number;
98
- op: "=" | "!=" | "<" | ">";
98
+ op: "=" | "<" | ">" | "!=";
99
99
  };
100
- })[];
101
- } | {
100
+ }))[];
101
+ } | ({
102
102
  type: "CK";
103
103
  cookieName: string;
104
104
  match: {
105
105
  rhs: string;
106
106
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
107
- cs?: boolean | undefined;
107
+ cs?: boolean;
108
108
  } | {
109
109
  op: "*" | "!*";
110
110
  };
@@ -114,7 +114,7 @@ declare const getManifest: ({ searchParams }: {
114
114
  match: {
115
115
  rhs: string;
116
116
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
117
- cs?: boolean | undefined;
117
+ cs?: boolean;
118
118
  } | {
119
119
  op: "*" | "!*";
120
120
  };
@@ -124,7 +124,7 @@ declare const getManifest: ({ searchParams }: {
124
124
  match: {
125
125
  rhs: string;
126
126
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
127
- cs?: boolean | undefined;
127
+ cs?: boolean;
128
128
  } | {
129
129
  op: "*" | "!*";
130
130
  };
@@ -133,7 +133,7 @@ declare const getManifest: ({ searchParams }: {
133
133
  event: {
134
134
  rhs: string;
135
135
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
136
- cs?: boolean | undefined;
136
+ cs?: boolean;
137
137
  } | {
138
138
  op: "*" | "!*";
139
139
  };
@@ -142,7 +142,7 @@ declare const getManifest: ({ searchParams }: {
142
142
  path: {
143
143
  rhs: string;
144
144
  op: "=" | "~" | "//" | "!=" | "!~" | "!//";
145
- cs?: boolean | undefined;
145
+ cs?: boolean;
146
146
  } | {
147
147
  op: "*" | "!*";
148
148
  };
@@ -150,35 +150,35 @@ declare const getManifest: ({ searchParams }: {
150
150
  type: "PVC";
151
151
  match: {
152
152
  rhs: number;
153
- op: "=" | "!=" | "<" | ">";
153
+ op: "=" | "<" | ">" | "!=";
154
154
  };
155
- })[];
155
+ }))[];
156
156
  };
157
157
  conversion?: {
158
158
  freq: "O";
159
- } | null | undefined;
159
+ } | null;
160
160
  };
161
- } | undefined;
161
+ };
162
162
  enr?: {
163
163
  [key: string]: {
164
164
  cap: number;
165
165
  };
166
- } | undefined;
166
+ };
167
167
  agg?: {
168
168
  [key: string]: {
169
169
  inputs: {
170
170
  dim: string;
171
- sign?: "c" | "+" | "-" | undefined;
171
+ sign?: "+" | "-" | "c";
172
172
  }[];
173
173
  };
174
- } | undefined;
175
- control?: number | undefined;
176
- } | undefined;
174
+ };
175
+ control?: number;
176
+ };
177
177
  test?: {
178
178
  [key: string]: {
179
- wv?: string | undefined;
179
+ wv?: string;
180
180
  };
181
- } | undefined;
181
+ };
182
182
  };
183
183
  }>;
184
184
 
@@ -187,7 +187,7 @@ type GetProjectMapClientOptions = {
187
187
  };
188
188
  declare const getProjectMapClient: (options: GetProjectMapClientOptions) => ProjectMapClient;
189
189
  declare const getDefaultProjectMapClient: ({ searchParams, }: {
190
- searchParams: PageParameters['searchParams'];
190
+ searchParams: PageParameters["searchParams"];
191
191
  }) => ProjectMapClient;
192
192
 
193
193
  type GetRouteClientOptions = {
@@ -195,7 +195,7 @@ type GetRouteClientOptions = {
195
195
  };
196
196
  declare const getRouteClient: (options: GetRouteClientOptions) => RouteClient;
197
197
  declare const getDefaultRouteClient: ({ searchParams }: {
198
- searchParams: PageParameters['searchParams'];
198
+ searchParams: PageParameters["searchParams"];
199
199
  }) => RouteClient;
200
200
 
201
201
  type ContextUpdateTransferProps = {
package/dist/index.esm.js CHANGED
@@ -760,10 +760,13 @@ var UniformComposition = async ({
760
760
  update: {
761
761
  params: props.params,
762
762
  searchParams,
763
- cookies: cookies2().getAll().reduce((acc, cookie) => {
764
- acc[cookie.name] = cookie.value;
765
- return acc;
766
- }, {}),
763
+ cookies: cookies2().getAll().reduce(
764
+ (acc, cookie) => {
765
+ acc[cookie.name] = cookie.value;
766
+ return acc;
767
+ },
768
+ {}
769
+ ),
767
770
  quirks: {
768
771
  "vc-country": headersValue.get("x-vercel-ip-country") || missingQuirkValue,
769
772
  "vc-region": headersValue.get("x-vercel-ip-country-region") || missingQuirkValue,
package/dist/index.js CHANGED
@@ -790,10 +790,13 @@ var UniformComposition = async ({
790
790
  update: {
791
791
  params: props.params,
792
792
  searchParams,
793
- cookies: (0, import_headers3.cookies)().getAll().reduce((acc, cookie) => {
794
- acc[cookie.name] = cookie.value;
795
- return acc;
796
- }, {}),
793
+ cookies: (0, import_headers3.cookies)().getAll().reduce(
794
+ (acc, cookie) => {
795
+ acc[cookie.name] = cookie.value;
796
+ return acc;
797
+ },
798
+ {}
799
+ ),
797
800
  quirks: {
798
801
  "vc-country": headersValue.get("x-vercel-ip-country") || missingQuirkValue,
799
802
  "vc-region": headersValue.get("x-vercel-ip-country-region") || missingQuirkValue,
package/dist/index.mjs CHANGED
@@ -760,10 +760,13 @@ var UniformComposition = async ({
760
760
  update: {
761
761
  params: props.params,
762
762
  searchParams,
763
- cookies: cookies2().getAll().reduce((acc, cookie) => {
764
- acc[cookie.name] = cookie.value;
765
- return acc;
766
- }, {}),
763
+ cookies: cookies2().getAll().reduce(
764
+ (acc, cookie) => {
765
+ acc[cookie.name] = cookie.value;
766
+ return acc;
767
+ },
768
+ {}
769
+ ),
767
770
  quirks: {
768
771
  "vc-country": headersValue.get("x-vercel-ip-country") || missingQuirkValue,
769
772
  "vc-region": headersValue.get("x-vercel-ip-country-region") || missingQuirkValue,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-next-rsc",
3
- "version": "19.178.2-alpha.25+0f7f53f560",
3
+ "version": "19.179.2-alpha.22+79878be48f",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "scripts": {
6
6
  "build": "tsup",
@@ -14,22 +14,22 @@
14
14
  "exports": {
15
15
  ".": {
16
16
  "require": "./dist/index.js",
17
- "import": "./dist/index.esm.js",
17
+ "import": "./dist/index.js",
18
18
  "types": "./dist/index.d.ts"
19
19
  },
20
20
  "./handler": {
21
21
  "require": "./dist/handler.js",
22
- "import": "./dist/handler.mjs",
22
+ "import": "./dist/handler.js",
23
23
  "types": "./dist/handler.d.ts"
24
24
  },
25
25
  "./config": {
26
26
  "require": "./dist/config.js",
27
- "import": "./dist/config.mjs",
27
+ "import": "./dist/config.js",
28
28
  "types": "./dist/config.d.ts"
29
29
  },
30
30
  "./component": {
31
31
  "require": "./dist/component.js",
32
- "import": "./dist/component.mjs",
32
+ "import": "./dist/component.js",
33
33
  "types": "./dist/component.d.ts"
34
34
  }
35
35
  },
@@ -53,23 +53,23 @@
53
53
  "/dist"
54
54
  ],
55
55
  "devDependencies": {
56
- "@types/node": "^20.0.0",
57
- "@types/react": "18.2.40",
58
- "eslint": "8.57.0",
56
+ "@types/node": "20.10.6",
57
+ "@types/react": "18.3.3",
58
+ "eslint": "9.9.0",
59
59
  "next": "^14.0.0",
60
- "react": "18.2.0",
61
- "react-dom": "18.2.0"
60
+ "react": "18.3.1",
61
+ "react-dom": "18.3.1"
62
62
  },
63
63
  "dependencies": {
64
- "@uniformdev/canvas": "19.178.2-alpha.25+0f7f53f560",
65
- "@uniformdev/canvas-next-rsc-client": "^19.178.2-alpha.25+0f7f53f560",
66
- "@uniformdev/canvas-next-rsc-shared": "^19.178.2-alpha.25+0f7f53f560",
67
- "@uniformdev/canvas-react": "19.178.2-alpha.25+0f7f53f560",
68
- "@uniformdev/context": "19.178.2-alpha.25+0f7f53f560",
69
- "@uniformdev/project-map": "19.178.2-alpha.25+0f7f53f560",
70
- "@uniformdev/redirect": "19.178.2-alpha.25+0f7f53f560",
71
- "@uniformdev/richtext": "19.178.2-alpha.25+0f7f53f560",
72
- "@uniformdev/webhooks": "19.178.2-alpha.25+0f7f53f560",
64
+ "@uniformdev/canvas": "19.179.2-alpha.22+79878be48f",
65
+ "@uniformdev/canvas-next-rsc-client": "^19.179.2-alpha.22+79878be48f",
66
+ "@uniformdev/canvas-next-rsc-shared": "^19.179.2-alpha.22+79878be48f",
67
+ "@uniformdev/canvas-react": "19.179.2-alpha.22+79878be48f",
68
+ "@uniformdev/context": "19.179.2-alpha.22+79878be48f",
69
+ "@uniformdev/project-map": "19.179.2-alpha.22+79878be48f",
70
+ "@uniformdev/redirect": "19.179.2-alpha.22+79878be48f",
71
+ "@uniformdev/richtext": "19.179.2-alpha.22+79878be48f",
72
+ "@uniformdev/webhooks": "19.179.2-alpha.22+79878be48f",
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": "0f7f53f56071a59cee38bf83c9f3bae541846de2"
89
+ "gitHead": "79878be48f2d4b1c6158026aa632e71c91473ac6"
90
90
  }