@arc-fusion/pb-editor-wrapper
Advanced tools
Comparing version 0.0.101 to 0.0.102
@@ -78,4 +78,6 @@ "use strict"; | ||
var ChainWrapper = function ChainWrapper() { | ||
var ChainWrapper = function ChainWrapper(_ref2) { | ||
var className = _ref2.className; | ||
return (0, _react.jsx)("editor-wrapper", { | ||
className: className, | ||
"data-fusion-component": fingerprint, | ||
@@ -86,6 +88,6 @@ "data-fusion-plugins": plugins | ||
var FeatureWrapper = function FeatureWrapper(_ref2) { | ||
var className = _ref2.className; | ||
var FeatureWrapper = function FeatureWrapper(_ref3) { | ||
var className = _ref3.className; | ||
return (0, _react.jsx)("editor-wrapper", { | ||
class: className, | ||
className: className, | ||
onMouseEnter: onFeatureHover, | ||
@@ -121,4 +123,6 @@ onMouseLeave: function onMouseLeave() { | ||
return isChain ? (0, _react.jsx)(ChainWrapper, null) : (0, _react.jsx)(FeatureWrapper, { | ||
return isChain ? (0, _react.jsx)(ChainWrapper, { | ||
css: [styles.wrapper, isHovered && styles.wrapper.highlighted] | ||
}) : (0, _react.jsx)(FeatureWrapper, { | ||
css: [styles.wrapper, isHovered && styles.wrapper.highlighted] | ||
}); | ||
@@ -125,0 +129,0 @@ }; |
{ | ||
"name": "@arc-fusion/pb-editor-wrapper", | ||
"description": "PageBuilder Preview Wrapper", | ||
"version": "0.0.101", | ||
"version": "0.0.102", | ||
"module": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
8988
127