@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
package/dist/ui-kit-2.esm.js
CHANGED
|
@@ -1698,8 +1698,7 @@ var RelatedRichBlock = function RelatedRichBlock(_ref) {
|
|
|
1698
1698
|
|
|
1699
1699
|
var cardType = "is" + toCapitalize(layout);
|
|
1700
1700
|
useEffect(function () {
|
|
1701
|
-
|
|
1702
|
-
setType('richRelated');
|
|
1701
|
+
setType(Math.random() >= 0.5 ? 'simpleRelated' : 'richRelated');
|
|
1703
1702
|
}, []);
|
|
1704
1703
|
|
|
1705
1704
|
var _useInView = useInView({
|
|
@@ -1751,7 +1750,8 @@ var RelatedRichBlock = function RelatedRichBlock(_ref) {
|
|
|
1751
1750
|
className: styles$s.wrapper
|
|
1752
1751
|
}, React.createElement(RelatedBlock, {
|
|
1753
1752
|
block: fallback,
|
|
1754
|
-
trackClick: true
|
|
1753
|
+
trackClick: true,
|
|
1754
|
+
styleContext: styleContext
|
|
1755
1755
|
}));
|
|
1756
1756
|
}
|
|
1757
1757
|
|