@meduza/ui-kit-2 0.6.8 → 0.7.0
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/ui-kit-2.cjs.development.js +11 -5
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +11 -5
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/RenderBlocks/index.tsx +7 -4
- package/src/SimpleBlock/index.tsx +1 -1
|
@@ -1458,7 +1458,7 @@ const SimpleBlock = ({
|
|
|
1458
1458
|
only_on: onlyOn
|
|
1459
1459
|
},
|
|
1460
1460
|
styleContext,
|
|
1461
|
-
id
|
|
1461
|
+
id = null
|
|
1462
1462
|
}) => {
|
|
1463
1463
|
let TagName;
|
|
1464
1464
|
let classNames = [[styles$i[type], !!type && !!styles$i[type]], [styles$i[onlyOn], true]];
|
|
@@ -2057,16 +2057,22 @@ const RenderBlocks = ({
|
|
|
2057
2057
|
bookmarkAction: bookmarkAction
|
|
2058
2058
|
});
|
|
2059
2059
|
}
|
|
2060
|
-
case 'h1':
|
|
2061
|
-
case 'h2':
|
|
2062
|
-
case 'h3':
|
|
2063
|
-
case 'h4':
|
|
2064
2060
|
case 'blockquote':
|
|
2065
2061
|
case 'p':
|
|
2066
2062
|
case 'context_p':
|
|
2067
2063
|
case 'divider':
|
|
2068
2064
|
case 'lead':
|
|
2069
2065
|
case 'lead_hr':
|
|
2066
|
+
{
|
|
2067
|
+
return /*#__PURE__*/React.createElement(SimpleBlock, {
|
|
2068
|
+
block: block,
|
|
2069
|
+
styleContext: styleContext
|
|
2070
|
+
});
|
|
2071
|
+
}
|
|
2072
|
+
case 'h1':
|
|
2073
|
+
case 'h2':
|
|
2074
|
+
case 'h3':
|
|
2075
|
+
case 'h4':
|
|
2070
2076
|
{
|
|
2071
2077
|
return /*#__PURE__*/React.createElement(SimpleBlock, {
|
|
2072
2078
|
block: block,
|