@udecode/plate-utils
Advanced tools
Comparing version 34.0.5 to 35.3.2
@@ -267,3 +267,3 @@ "use strict"; | ||
var createNodeHOC = (HOC) => (Component, props) => function hoc(childrenProps) { | ||
return /* @__PURE__ */ import_react3.default.createElement(HOC, __spreadValues(__spreadValues({}, childrenProps), props), /* @__PURE__ */ import_react3.default.createElement(Component, __spreadValues({}, childrenProps))); | ||
return /* @__PURE__ */ import_react3.default.createElement(HOC, __spreadValues({}, __spreadValues(__spreadValues({}, childrenProps), props)), /* @__PURE__ */ import_react3.default.createElement(Component, __spreadValues({}, childrenProps))); | ||
}; | ||
@@ -270,0 +270,0 @@ |
@@ -39,3 +39,3 @@ import React$1 from 'react'; | ||
declare const createNodeHOC: <V extends Value, T>(HOC: React$1.FC<T>) => (Component: any, props: T) => (childrenProps: PlateRenderElementProps<V>) => React$1.JSX.Element; | ||
declare const createNodeHOC: <V extends Value, T>(HOC: React$1.FC<T>) => (Component: any, props: Omit<T, keyof PlateRenderElementProps<V>>) => (childrenProps: PlateRenderElementProps<V>) => React$1.JSX.Element; | ||
@@ -42,0 +42,0 @@ type CreateHOCOptions<T> = { |
@@ -154,3 +154,3 @@ "use strict"; | ||
var createNodeHOC = (HOC) => (Component, props) => function hoc(childrenProps) { | ||
return /* @__PURE__ */ import_react3.default.createElement(HOC, __spreadValues(__spreadValues({}, childrenProps), props), /* @__PURE__ */ import_react3.default.createElement(Component, __spreadValues({}, childrenProps))); | ||
return /* @__PURE__ */ import_react3.default.createElement(HOC, __spreadValues({}, __spreadValues(__spreadValues({}, childrenProps), props)), /* @__PURE__ */ import_react3.default.createElement(Component, __spreadValues({}, childrenProps))); | ||
}; | ||
@@ -157,0 +157,0 @@ |
{ | ||
"name": "@udecode/plate-utils", | ||
"version": "34.0.5", | ||
"version": "35.3.2", | ||
"description": "Plate utils", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
129739