@bigbinary/neeto-site-blocks 1.16.4 → 1.16.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +6 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -5933,7 +5933,7 @@ var StyledImageWithWrapper = function StyledImageWithWrapper(_ref2) {
|
|
|
5933
5933
|
children: /*#__PURE__*/jsxRuntime.jsx(StyledImage, _objectSpread$E({
|
|
5934
5934
|
as: image !== null && image !== void 0 ? image : "img",
|
|
5935
5935
|
height: 0,
|
|
5936
|
-
sizes: "(max-width: 480px) 700vw, (max-width: 768px) 500vw, (max-width: 1024px) 400vw, (max-width: 1200px) 300vw, (max-width: 1500px) 250vw,
|
|
5936
|
+
sizes: "(max-width: 480px) 700vw, (max-width: 768px) 500vw, (max-width: 1024px) 400vw, (max-width: 1200px) 300vw, (max-width: 1500px) 250vw, 150vw",
|
|
5937
5937
|
width: 0
|
|
5938
5938
|
}, props))
|
|
5939
5939
|
});
|
|
@@ -7714,6 +7714,10 @@ var Typography = function Typography(_ref) {
|
|
|
7714
7714
|
if (isEditorEmpty(children)) {
|
|
7715
7715
|
return null;
|
|
7716
7716
|
}
|
|
7717
|
+
var handleClick = function handleClick(event) {
|
|
7718
|
+
if (isAddNewPane) return;
|
|
7719
|
+
handleTitleClick(event);
|
|
7720
|
+
};
|
|
7717
7721
|
return /*#__PURE__*/jsxRuntime.jsx(StyledWrapper, _objectSpread$v(_objectSpread$v({
|
|
7718
7722
|
id: id,
|
|
7719
7723
|
as: isTitle ? component : COMPONENTS.div,
|
|
@@ -7721,7 +7725,7 @@ var Typography = function Typography(_ref) {
|
|
|
7721
7725
|
className: classnames__default["default"]("neeto-site-typography text-wrap", className, {
|
|
7722
7726
|
"neeto-site-highlight__element": disableButtonAndLinks && !isAddNewPane
|
|
7723
7727
|
}),
|
|
7724
|
-
onClick:
|
|
7728
|
+
onClick: handleClick
|
|
7725
7729
|
}, otherProps), {}, {
|
|
7726
7730
|
children: isTitle ? children : /*#__PURE__*/jsxRuntime.jsx(StyledInterweave, {
|
|
7727
7731
|
className: "neeto-editor-content",
|