Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arc-fusion/pb-editor-wrapper

Package Overview
Dependencies
Maintainers
12
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arc-fusion/pb-editor-wrapper - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

29

dist/FeatureWrapper/index.js

@@ -119,3 +119,4 @@ "use strict";

onHoverEnd = _ref.onHoverEnd,
onAdd = _ref.onAdd,
onAddTop = _ref.onAddTop,
onAddBottom = _ref.onAddBottom,
onEdit = _ref.onEdit,

@@ -133,3 +134,3 @@ onDelete = _ref.onDelete,

(0, _react2.useEffect)(function () {
return isHovered ? onHover && onHover(fingerprint) : onHoverEnd && onHoverEnd(fingerprint);
return isHovered ? onHover && onHover() : onHoverEnd && onHoverEnd();
}, [isHovered]);

@@ -155,5 +156,3 @@

css: styles.wrapper.buttonTop,
onClick: function onClick() {
return onAdd(fingerprint, 'top');
}
onClick: onAddTop
}, (0, _react.jsx)("i", null, (0, _react.jsx)("img", {

@@ -164,5 +163,3 @@ css: styles.wrapper.buttonIcon,

css: styles.wrapper.buttonBottom,
onClick: function onClick() {
return onAdd(fingerprint, 'bottom');
}
onClick: onAddBottom
}, (0, _react.jsx)("i", null, (0, _react.jsx)("img", {

@@ -174,5 +171,3 @@ css: styles.wrapper.buttonIcon,

}, plugins && (0, _react.jsx)("i", {
onClick: function onClick() {
return onPluginLoad(fingerprint, plugins);
}
onClick: onPluginLoad
}, (0, _react.jsx)("img", {

@@ -182,5 +177,3 @@ src: _plugin.default,

})), (0, _react.jsx)("i", {
onClick: function onClick() {
return onEdit(fingerprint);
}
onClick: onEdit
}, (0, _react.jsx)("img", {

@@ -190,5 +183,3 @@ src: _pencil.default,

})), (0, _react.jsx)("i", {
onClick: function onClick() {
return onLocate(fingerprint);
}
onClick: onLocate
}, (0, _react.jsx)("img", {

@@ -198,5 +189,3 @@ src: _locator.default,

})), (0, _react.jsx)("i", {
onClick: function onClick() {
return onDelete(fingerprint);
}
onClick: onDelete
}, (0, _react.jsx)("img", {

@@ -203,0 +192,0 @@ src: _trash.default,

{
"name": "@arc-fusion/pb-editor-wrapper",
"description": "PageBuilder Preview Wrapper",
"version": "1.0.4",
"version": "1.0.5",
"module": "dist/index.js",

@@ -6,0 +6,0 @@ "files": [

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