@arc-fusion/pb-editor-wrapper
Advanced tools
Comparing version 0.0.141 to 0.0.142
@@ -14,2 +14,8 @@ "use strict"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | ||
@@ -224,9 +230,9 @@ | ||
}, isHovered && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("button", { | ||
style: styles.buttonTop, | ||
style: _objectSpread(_objectSpread({}, styles.button), styles.buttonTop), | ||
onClick: onAddTop | ||
}, /*#__PURE__*/React.createElement("i", null, /*#__PURE__*/React.createElement(PlusIcon, null))), /*#__PURE__*/React.createElement("button", { | ||
style: styles.buttonBottom, | ||
style: _objectSpread(_objectSpread({}, styles.button), styles.buttonButtom), | ||
onClick: onAddBottom | ||
}, /*#__PURE__*/React.createElement("i", null, /*#__PURE__*/React.createElement(PlusIcon, null))), /*#__PURE__*/React.createElement("div", { | ||
css: styles.actions | ||
style: styles.actions | ||
}, plugins && /*#__PURE__*/React.createElement("i", { | ||
@@ -233,0 +239,0 @@ onClick: onPluginLoad |
{ | ||
"name": "@arc-fusion/pb-editor-wrapper", | ||
"description": "PageBuilder Preview Wrapper", | ||
"version": "0.0.141", | ||
"version": "0.0.142", | ||
"module": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
12820
252