@arc-fusion/pb-editor-wrapper
Advanced tools
Comparing version 0.0.116 to 0.0.117
@@ -84,2 +84,46 @@ "use strict"; | ||
} | ||
}, | ||
button: { | ||
fontFamily: 'OutputSans', | ||
fontSize: '13px', | ||
zIndex: 2147483646, | ||
textAlign: 'center', | ||
backgroundColor: '#3760FF', | ||
color: '#FFFFFF', | ||
cursor: 'pointer', | ||
boxShadow: 'none', | ||
border: 'none', | ||
':hover': { | ||
backgroundColor: '#5272f3' | ||
} | ||
}, | ||
buttonTop: { | ||
position: 'absolute', | ||
top: '-20px', | ||
borderTopLeftRadius: '5px', | ||
borderTopRightRadius: '5px', | ||
width: '65px', | ||
height: '20px', | ||
right: 0, | ||
left: 0, | ||
marginLeft: 'auto', | ||
marginRight: 'auto' | ||
}, | ||
buttonBottom: { | ||
position: 'absolute', | ||
bottom: '-20px', | ||
borderBottomLeftRadius: '5px', | ||
borderBottomRightRadius: '5px', | ||
width: '65px', | ||
height: '20px', | ||
right: 0, | ||
left: 0, | ||
marginLeft: 'auto', | ||
marginRight: 'auto' | ||
}, | ||
buttonIcon: { | ||
width: '10px', | ||
display: 'inline', | ||
margin: 0, | ||
padding: 0 | ||
} | ||
@@ -108,3 +152,3 @@ } | ||
}, isHovered && (0, _react.jsx)(React.Fragment, null, (0, _react.jsx)("button", { | ||
class: "pb__add__feature__btn top", | ||
css: styles.wrapper.buttonTop, | ||
onClick: function onClick() { | ||
@@ -114,8 +158,6 @@ return onAdd(fingerprint, 'top'); | ||
}, (0, _react.jsx)("i", null, (0, _react.jsx)("img", { | ||
class: "pb__add__feature__icon", | ||
css: styles.wrapper.buttonIcon, | ||
src: _plus.default | ||
})), (0, _react.jsx)("span", { | ||
class: "pb__add__feature__btn__text" | ||
})), (0, _react.jsx)("button", { | ||
class: "pb__add__feature__btn bottom", | ||
}))), (0, _react.jsx)("button", { | ||
css: styles.wrapper.buttonBottom, | ||
onClick: function onClick() { | ||
@@ -125,7 +167,5 @@ return onAdd(fingerprint, 'bottom'); | ||
}, (0, _react.jsx)("i", null, (0, _react.jsx)("img", { | ||
class: "pb__add__feature__icon", | ||
css: styles.wrapper.buttonIcon, | ||
src: _plus.default | ||
})), (0, _react.jsx)("span", { | ||
class: "pb__add__feature__btn__text" | ||
})), (0, _react.jsx)("div", { | ||
}))), (0, _react.jsx)("div", { | ||
css: styles.wrapper.actions | ||
@@ -132,0 +172,0 @@ }, plugins && (0, _react.jsx)("i", { |
{ | ||
"name": "@arc-fusion/pb-editor-wrapper", | ||
"description": "PageBuilder Preview Wrapper", | ||
"version": "0.0.116", | ||
"version": "0.0.117", | ||
"module": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
12077
200