New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@uniformdev/canvas-react

Package Overview
Dependencies
Maintainers
0
Versions
721
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniformdev/canvas-react - npm Package Compare versions

Comparing version 19.198.3-alpha.2 to 19.198.3-alpha.5

15

./dist/index.js

@@ -874,3 +874,16 @@ 'use client';

if (!isContextualEditing && (0, import_richtext6.isRichTextValueConsideredEmpty)(value)) return null;
return Tag === null ? /* @__PURE__ */ import_react22.default.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer }) : /* @__PURE__ */ import_react22.default.createElement(
if (!Tag) {
return isContextualEditing && (0, import_richtext6.isRichTextValueConsideredEmpty)(value) ? /* @__PURE__ */ import_react22.default.createElement(
"p",
{
...{
[import_canvas11.ATTRIBUTE_COMPONENT_ID]: componentData == null ? void 0 : componentData._id,
[import_canvas11.ATTRIBUTE_PARAMETER_ID]: parameterId,
[import_canvas11.ATTRIBUTE_PARAMETER_TYPE]: "richText"
}
},
/* @__PURE__ */ import_react22.default.createElement("i", null, computedPlaceholder)
) : /* @__PURE__ */ import_react22.default.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer });
}
return /* @__PURE__ */ import_react22.default.createElement(
Tag,

@@ -877,0 +890,0 @@ {

4

dist/index.d.ts

@@ -464,3 +464,3 @@ import React$1, { Key, ReactNode, PropsWithChildren } from 'react';

*/
as?: React$1.ElementType;
as?: React$1.ElementType | null;
/** The ID of the parameter. */

@@ -490,3 +490,3 @@ parameterId: string;

*/
as?: React$1.ElementType;
as?: React$1.ElementType | null;
/** The ID of the parameter. */

@@ -493,0 +493,0 @@ parameterId: string;

@@ -850,3 +850,16 @@ 'use client';

if (!isContextualEditing && isRichTextValueConsideredEmpty(value)) return null;
return Tag === null ? /* @__PURE__ */ React20.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer }) : /* @__PURE__ */ React20.createElement(
if (!Tag) {
return isContextualEditing && isRichTextValueConsideredEmpty(value) ? /* @__PURE__ */ React20.createElement(
"p",
{
...{
[ATTRIBUTE_COMPONENT_ID]: componentData == null ? void 0 : componentData._id,
[ATTRIBUTE_PARAMETER_ID]: parameterId,
[ATTRIBUTE_PARAMETER_TYPE]: "richText"
}
},
/* @__PURE__ */ React20.createElement("i", null, computedPlaceholder)
) : /* @__PURE__ */ React20.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer });
}
return /* @__PURE__ */ React20.createElement(
Tag,

@@ -853,0 +866,0 @@ {

@@ -874,3 +874,16 @@ 'use client';

if (!isContextualEditing && (0, import_richtext6.isRichTextValueConsideredEmpty)(value)) return null;
return Tag === null ? /* @__PURE__ */ import_react22.default.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer }) : /* @__PURE__ */ import_react22.default.createElement(
if (!Tag) {
return isContextualEditing && (0, import_richtext6.isRichTextValueConsideredEmpty)(value) ? /* @__PURE__ */ import_react22.default.createElement(
"p",
{
...{
[import_canvas11.ATTRIBUTE_COMPONENT_ID]: componentData == null ? void 0 : componentData._id,
[import_canvas11.ATTRIBUTE_PARAMETER_ID]: parameterId,
[import_canvas11.ATTRIBUTE_PARAMETER_TYPE]: "richText"
}
},
/* @__PURE__ */ import_react22.default.createElement("i", null, computedPlaceholder)
) : /* @__PURE__ */ import_react22.default.createElement(UniformRichTextNode, { node: value.root, resolveRichTextRenderer });
}
return /* @__PURE__ */ import_react22.default.createElement(
Tag,

@@ -877,0 +890,0 @@ {

{
"name": "@uniformdev/canvas-react",
"version": "19.198.3-alpha.2+2332c2beb2",
"version": "19.198.3-alpha.5+c37bbd4ef2",
"description": "React SDK for Uniform Canvas",

@@ -48,6 +48,6 @@ "license": "SEE LICENSE IN LICENSE.txt",

"dependencies": {
"@uniformdev/canvas": "19.198.3-alpha.2+2332c2beb2",
"@uniformdev/context": "19.198.3-alpha.2+2332c2beb2",
"@uniformdev/context-react": "19.198.3-alpha.2+2332c2beb2",
"@uniformdev/richtext": "19.198.3-alpha.2+2332c2beb2"
"@uniformdev/canvas": "19.198.3-alpha.5+c37bbd4ef2",
"@uniformdev/context": "19.198.3-alpha.5+c37bbd4ef2",
"@uniformdev/context-react": "19.198.3-alpha.5+c37bbd4ef2",
"@uniformdev/richtext": "19.198.3-alpha.5+c37bbd4ef2"
},

@@ -71,3 +71,3 @@ "peerDependencies": {

},
"gitHead": "2332c2beb206a6f3897f55ba4bb2f2ce882b3d0b"
"gitHead": "c37bbd4ef2353582b4125b9dd21599634ecd5165"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc