@uniformdev/canvas-react 18.16.1-alpha.6 → 18.18.1-alpha.12

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.esm.js CHANGED
@@ -262,7 +262,8 @@ function renderComponent({
262
262
  ), isPlaceholder && emptyPlaceholder !== void 0 ? emptyPlaceholder : /* @__PURE__ */ React3.createElement(RenderComponent, { ...props }), !shouldRenderContextualEditingTags ? null : /* @__PURE__ */ React3.createElement("script", { "data-role": "component-end" }));
263
263
  } else if (process.env.NODE_ENV !== "production") {
264
264
  console.warn(
265
- `[canvas] found component of type '${component.type}' which the resolveRenderer prop returned no component for. Nothing will be rendered. The resolveRenderer function may need to be extended to handle the new type.`,
265
+ `[canvas] found component of type '${component.type}'${component.variant ? ` with variant '${component.variant}'` : ""}. Nothing will be rendered. Check your resolveRenderer function or add registerUniformComponent to your component.
266
+ See documentation https://docs.uniform.app/guides/dev/rendering`,
266
267
  component
267
268
  );
268
269
  }
package/dist/index.js CHANGED
@@ -300,7 +300,8 @@ function renderComponent({
300
300
  ), isPlaceholder && emptyPlaceholder !== void 0 ? emptyPlaceholder : /* @__PURE__ */ import_react2.default.createElement(RenderComponent, { ...props }), !shouldRenderContextualEditingTags ? null : /* @__PURE__ */ import_react2.default.createElement("script", { "data-role": "component-end" }));
301
301
  } else if (process.env.NODE_ENV !== "production") {
302
302
  console.warn(
303
- `[canvas] found component of type '${component.type}' which the resolveRenderer prop returned no component for. Nothing will be rendered. The resolveRenderer function may need to be extended to handle the new type.`,
303
+ `[canvas] found component of type '${component.type}'${component.variant ? ` with variant '${component.variant}'` : ""}. Nothing will be rendered. Check your resolveRenderer function or add registerUniformComponent to your component.
304
+ See documentation https://docs.uniform.app/guides/dev/rendering`,
304
305
  component
305
306
  );
306
307
  }
package/dist/index.mjs CHANGED
@@ -262,7 +262,8 @@ function renderComponent({
262
262
  ), isPlaceholder && emptyPlaceholder !== void 0 ? emptyPlaceholder : /* @__PURE__ */ React3.createElement(RenderComponent, { ...props }), !shouldRenderContextualEditingTags ? null : /* @__PURE__ */ React3.createElement("script", { "data-role": "component-end" }));
263
263
  } else if (process.env.NODE_ENV !== "production") {
264
264
  console.warn(
265
- `[canvas] found component of type '${component.type}' which the resolveRenderer prop returned no component for. Nothing will be rendered. The resolveRenderer function may need to be extended to handle the new type.`,
265
+ `[canvas] found component of type '${component.type}'${component.variant ? ` with variant '${component.variant}'` : ""}. Nothing will be rendered. Check your resolveRenderer function or add registerUniformComponent to your component.
266
+ See documentation https://docs.uniform.app/guides/dev/rendering`,
266
267
  component
267
268
  );
268
269
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-react",
3
- "version": "18.16.1-alpha.6+644024d8a",
3
+ "version": "18.18.1-alpha.12+e9f4d7eda",
4
4
  "description": "React SDK for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -23,9 +23,9 @@
23
23
  "format": "prettier --write \"src/**/*.{js,ts,tsx}\""
24
24
  },
25
25
  "dependencies": {
26
- "@uniformdev/canvas": "18.16.1-alpha.6+644024d8a",
27
- "@uniformdev/context": "18.16.1-alpha.6+644024d8a",
28
- "@uniformdev/context-react": "18.16.1-alpha.6+644024d8a"
26
+ "@uniformdev/canvas": "18.18.1-alpha.12+e9f4d7eda",
27
+ "@uniformdev/context": "18.18.1-alpha.12+e9f4d7eda",
28
+ "@uniformdev/context-react": "18.18.1-alpha.12+e9f4d7eda"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "react": ">= 16 || 17 || 18",
@@ -42,5 +42,5 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "644024d8ad8a3f1f9341039c8813f03058068e9b"
45
+ "gitHead": "e9f4d7eda7b1b425205d0be4ec736ebd5dbaed4d"
46
46
  }