@bigbinary/neeto-site-blocks 1.8.12 → 1.8.13
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 +2 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4992,10 +4992,6 @@ var isLinkHighlighted = function isLinkHighlighted(to, currentPath) {
|
|
|
4992
4992
|
if (!(to && currentPath)) return false;
|
|
4993
4993
|
return currentPath.pathName === to && isEmpty(currentPath.hash) || currentPath.hash === to;
|
|
4994
4994
|
};
|
|
4995
|
-
var isEditorContent = function isEditorContent(content) {
|
|
4996
|
-
var checkForHTMLTags = /<(p|h[1-5])>.*?<\/\1>/;
|
|
4997
|
-
return checkForHTMLTags.test(content);
|
|
4998
|
-
};
|
|
4999
4995
|
|
|
5000
4996
|
function ownKeys$l(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5001
4997
|
function _objectSpread$l(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$l(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$l(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
@@ -15909,7 +15905,7 @@ function Interweave(props) {
|
|
|
15909
15905
|
|
|
15910
15906
|
var StyledInterweave = styled__default["default"](Interweave)(function (_ref) {
|
|
15911
15907
|
var fontSize = _ref.fontSize;
|
|
15912
|
-
return "\n
|
|
15908
|
+
return "\n h1 {\n font-size: ".concat(fontSize ? "calc(".concat(FIXED_H1_SIZE, " + ").concat(fontSize, ")") : FIXED_H1_SIZE, ";\n font-weight: inherit;\n }\n\n h2 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H2_SIZE, " + ").concat(fontSize, ")") : FIXED_H2_SIZE, ";\n font-weight: inherit;\n }\n\n h3 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H3_SIZE, " + ").concat(fontSize, ")") : FIXED_H3_SIZE, ";\n font-weight: inherit;\n }\n\n h4 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H4_SIZE, " + ").concat(fontSize, ")") : FIXED_H4_SIZE, ";\n font-weight: inherit;\n }\n\n h5 {\n font-size: ").concat(fontSize ? "calc(".concat(FIXED_H5_SIZE, " + ").concat(fontSize, ")") : FIXED_H5_SIZE, ";\n font-weight: inherit;\n }\n");
|
|
15913
15909
|
});
|
|
15914
15910
|
|
|
15915
15911
|
var _templateObject;
|
|
@@ -16408,7 +16404,7 @@ var Typography = function Typography(_ref) {
|
|
|
16408
16404
|
className: "neeto-editor-content",
|
|
16409
16405
|
content: children,
|
|
16410
16406
|
fontSize: style.fontSize,
|
|
16411
|
-
tagName:
|
|
16407
|
+
tagName: "p"
|
|
16412
16408
|
}));
|
|
16413
16409
|
};
|
|
16414
16410
|
Typography.displayName = "Typography";
|