@arc-fusion/pb-editor-wrapper
Advanced tools
Comparing version 0.0.114 to 0.0.115
@@ -44,2 +44,3 @@ "use strict"; | ||
onHoverEnd = _ref.onHoverEnd, | ||
onAdd = _ref.onAdd, | ||
onEdit = _ref.onEdit, | ||
@@ -105,3 +106,23 @@ onDelete = _ref.onDelete, | ||
"data-fusion-component": fingerprint | ||
}, isHovered && (0, _react.jsx)("div", { | ||
}, isHovered && (0, _react.jsx)(React.Fragment, null, (0, _react.jsx)("button", { | ||
class: "pb__add__feature__btn top", | ||
onClick: function onClick() { | ||
return onAdd(fingerprint, 'top'); | ||
} | ||
}, (0, _react.jsx)("i", null, (0, _react.jsx)("img", { | ||
class: "pb__add__feature__icon", | ||
src: _plus.default | ||
})), (0, _react.jsx)("span", { | ||
class: "pb__add__feature__btn__text" | ||
})), (0, _react.jsx)("button", { | ||
class: "pb__add__feature__btn bottom", | ||
onClick: function onClick() { | ||
return onAdd(fingerprint, 'bottom'); | ||
} | ||
}, (0, _react.jsx)("i", null, (0, _react.jsx)("img", { | ||
class: "pb__add__feature__icon", | ||
src: _plus.default | ||
})), (0, _react.jsx)("span", { | ||
class: "pb__add__feature__btn__text" | ||
})), (0, _react.jsx)("div", { | ||
css: styles.wrapper.actions | ||
@@ -136,19 +157,3 @@ }, plugins && (0, _react.jsx)("i", { | ||
alt: "remove" | ||
})), (0, _react.jsx)("button", { | ||
placement: "top", | ||
class: "pb__add__feature__btn top" | ||
}, (0, _react.jsx)("i", null, (0, _react.jsx)("img", { | ||
class: "pb__add__feature__icon", | ||
src: _plus.default | ||
})), (0, _react.jsx)("span", { | ||
class: "pb__add__feature__btn__text" | ||
})), (0, _react.jsx)("button", { | ||
placement: "bottom", | ||
class: "pb__add__feature__btn bottom" | ||
}, (0, _react.jsx)("i", null, (0, _react.jsx)("img", { | ||
class: "pb__add__feature__icon", | ||
src: _plus.default | ||
})), (0, _react.jsx)("span", { | ||
class: "pb__add__feature__btn__text" | ||
}))), children); | ||
})))), children); | ||
}; | ||
@@ -155,0 +160,0 @@ |
{ | ||
"name": "@arc-fusion/pb-editor-wrapper", | ||
"description": "PageBuilder Preview Wrapper", | ||
"version": "0.0.114", | ||
"version": "0.0.115", | ||
"module": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
11154
159