@meduza/ui-kit-2 0.2.29 → 0.2.31
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 +7 -1
- 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 +7 -1
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +2737 -2698
- package/package.json +1 -1
- package/src/QuoteBlock/QuoteBlock.module.css +10 -0
- package/src/RenderBlocks/index.tsx +1 -0
- package/src/RenderBlocks/mock.json +40 -0
- package/src/SimpleBlock/SimpleBlock.module.css +27 -0
- package/src/SimpleBlock/index.tsx +3 -0
- package/src/SimpleBlock/mock.json +5 -0
|
@@ -1541,7 +1541,7 @@ var RichTitle = function RichTitle(_ref) {
|
|
|
1541
1541
|
}, first, second && React__default.createElement("span", null, " ", second));
|
|
1542
1542
|
};
|
|
1543
1543
|
|
|
1544
|
-
var styles$n = {"p":"SimpleBlock-module_p__Q3azD","h2":"SimpleBlock-module_h2__S0LRs","h3":"SimpleBlock-module_h3__2Kv7Y","h4":"SimpleBlock-module_h4__2TJO3","lead":"SimpleBlock-module_lead__35nXx","lead_hr":"SimpleBlock-module_lead_hr__1yD5v","context_p":"SimpleBlock-module_context_p__33saY","blockquote":"SimpleBlock-module_blockquote__pwpcX","game":"SimpleBlock-module_game__2sjgl","slide":"SimpleBlock-module_slide__Aqgfu","dark":"SimpleBlock-module_dark__1J_ov","isInIntro":"SimpleBlock-module_isInIntro__DfutD","center":"SimpleBlock-module_center__2rjif","isInImportantLead":"SimpleBlock-module_isInImportantLead__3VGzT","isInAnswer":"SimpleBlock-module_isInAnswer__3aX6X","mobile":"SimpleBlock-module_mobile__Ckgek","desktop":"SimpleBlock-module_desktop__2se2o","isDark":"SimpleBlock-module_isDark__22q5s"};
|
|
1544
|
+
var styles$n = {"p":"SimpleBlock-module_p__Q3azD","h2":"SimpleBlock-module_h2__S0LRs","h3":"SimpleBlock-module_h3__2Kv7Y","h4":"SimpleBlock-module_h4__2TJO3","lead":"SimpleBlock-module_lead__35nXx","lead_hr":"SimpleBlock-module_lead_hr__1yD5v","context_p":"SimpleBlock-module_context_p__33saY","blockquote":"SimpleBlock-module_blockquote__pwpcX","game":"SimpleBlock-module_game__2sjgl","slide":"SimpleBlock-module_slide__Aqgfu","dark":"SimpleBlock-module_dark__1J_ov","divider":"SimpleBlock-module_divider__tnCGQ","isInIntro":"SimpleBlock-module_isInIntro__DfutD","center":"SimpleBlock-module_center__2rjif","isInImportantLead":"SimpleBlock-module_isInImportantLead__3VGzT","isInAnswer":"SimpleBlock-module_isInAnswer__3aX6X","mobile":"SimpleBlock-module_mobile__Ckgek","desktop":"SimpleBlock-module_desktop__2se2o","isDark":"SimpleBlock-module_isDark__22q5s"};
|
|
1545
1545
|
|
|
1546
1546
|
var SimpleBlock = function SimpleBlock(_ref) {
|
|
1547
1547
|
var _ref$block = _ref.block,
|
|
@@ -1566,6 +1566,11 @@ var SimpleBlock = function SimpleBlock(_ref) {
|
|
|
1566
1566
|
break;
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
|
+
case 'divider':
|
|
1570
|
+
return React__default.createElement("hr", {
|
|
1571
|
+
className: makeClassName(classNames)
|
|
1572
|
+
});
|
|
1573
|
+
|
|
1569
1574
|
case 'lead_hr':
|
|
1570
1575
|
{
|
|
1571
1576
|
TagName = 'div';
|
|
@@ -2181,6 +2186,7 @@ var RenderBlocks = function RenderBlocks(_ref) {
|
|
|
2181
2186
|
case 'blockquote':
|
|
2182
2187
|
case 'p':
|
|
2183
2188
|
case 'context_p':
|
|
2189
|
+
case 'divider':
|
|
2184
2190
|
case 'lead':
|
|
2185
2191
|
case 'lead_hr':
|
|
2186
2192
|
{
|