@meduza/ui-kit-2 0.1.29 → 0.1.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 +3 -3
- 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 +3 -3
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +585 -585
- package/package.json +1 -1
- package/src/RelatedRichBlock/index.tsx +6 -4
|
@@ -1705,8 +1705,7 @@ var RelatedRichBlock = function RelatedRichBlock(_ref) {
|
|
|
1705
1705
|
|
|
1706
1706
|
var cardType = "is" + toCapitalize(layout);
|
|
1707
1707
|
React.useEffect(function () {
|
|
1708
|
-
|
|
1709
|
-
setType('richRelated');
|
|
1708
|
+
setType(Math.random() >= 0.5 ? 'simpleRelated' : 'richRelated');
|
|
1710
1709
|
}, []);
|
|
1711
1710
|
|
|
1712
1711
|
var _useInView = reactIntersectionObserver.useInView({
|
|
@@ -1758,7 +1757,8 @@ var RelatedRichBlock = function RelatedRichBlock(_ref) {
|
|
|
1758
1757
|
className: styles$s.wrapper
|
|
1759
1758
|
}, React__default.createElement(RelatedBlock, {
|
|
1760
1759
|
block: fallback,
|
|
1761
|
-
trackClick: true
|
|
1760
|
+
trackClick: true,
|
|
1761
|
+
styleContext: styleContext
|
|
1762
1762
|
}));
|
|
1763
1763
|
}
|
|
1764
1764
|
|