@arc-fusion/pb-editor-wrapper
Advanced tools
Comparing version 0.0.142 to 0.0.143
@@ -129,10 +129,7 @@ "use strict"; | ||
width: 'initial', | ||
borderRadius: 5, | ||
'& i': { | ||
padding: 6 | ||
}, | ||
'& i:hover': { | ||
opacity: 0.85 | ||
} | ||
borderRadius: 5 | ||
}, | ||
actionIcon: { | ||
padding: 6 | ||
}, | ||
button: { | ||
@@ -147,6 +144,3 @@ fontFamily: 'OutputSans', | ||
boxShadow: 'none', | ||
border: 'none', | ||
':hover': { | ||
backgroundColor: '#5272f3' | ||
} | ||
border: 'none' | ||
}, | ||
@@ -163,9 +157,3 @@ buttonTop: { | ||
marginLeft: 'auto', | ||
marginRight: 'auto', | ||
'svg': { | ||
width: 10, | ||
display: 'inline', | ||
margin: 0, | ||
padding: 0 | ||
} | ||
marginRight: 'auto' | ||
}, | ||
@@ -182,9 +170,9 @@ buttonBottom: { | ||
marginLeft: 'auto', | ||
marginRight: 'auto', | ||
'svg': { | ||
width: 10, | ||
display: 'inline', | ||
margin: 0, | ||
padding: 0 | ||
} | ||
marginRight: 'auto' | ||
}, | ||
buttonIcon: { | ||
width: 10, | ||
display: 'inline', | ||
margin: 0, | ||
padding: 0 | ||
} | ||
@@ -235,14 +223,22 @@ }; | ||
onClick: onAddTop | ||
}, /*#__PURE__*/React.createElement("i", null, /*#__PURE__*/React.createElement(PlusIcon, null))), /*#__PURE__*/React.createElement("button", { | ||
}, /*#__PURE__*/React.createElement("i", { | ||
style: styles.buttonIcon | ||
}, /*#__PURE__*/React.createElement(PlusIcon, null))), /*#__PURE__*/React.createElement("button", { | ||
style: _objectSpread(_objectSpread({}, styles.button), styles.buttonButtom), | ||
onClick: onAddBottom | ||
}, /*#__PURE__*/React.createElement("i", null, /*#__PURE__*/React.createElement(PlusIcon, null))), /*#__PURE__*/React.createElement("div", { | ||
}, /*#__PURE__*/React.createElement("i", { | ||
style: styles.buttonIcon | ||
}, /*#__PURE__*/React.createElement(PlusIcon, null))), /*#__PURE__*/React.createElement("div", { | ||
style: styles.actions | ||
}, plugins && /*#__PURE__*/React.createElement("i", { | ||
style: styles.actionIcon, | ||
onClick: onPluginLoad | ||
}, /*#__PURE__*/React.createElement(PluginIcon, null)), /*#__PURE__*/React.createElement("i", { | ||
style: styles.actionIcon, | ||
onClick: onEdit | ||
}, /*#__PURE__*/React.createElement(EditIcon, null)), /*#__PURE__*/React.createElement("i", { | ||
style: styles.actionIcon, | ||
onClick: onLocate | ||
}, /*#__PURE__*/React.createElement(LocatorIcon, null)), /*#__PURE__*/React.createElement("i", { | ||
style: styles.actionIcon, | ||
onClick: onDelete | ||
@@ -249,0 +245,0 @@ }, /*#__PURE__*/React.createElement(TrashIcon, null)))), children); |
{ | ||
"name": "@arc-fusion/pb-editor-wrapper", | ||
"description": "PageBuilder Preview Wrapper", | ||
"version": "0.0.142", | ||
"version": "0.0.143", | ||
"module": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
12794
248