@meduza/ui-kit-2 0.1.30 → 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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.30",
2
+ "version": "0.1.31",
3
3
  "license": "MIT",
4
4
  "description": "UIKit for Meduza",
5
5
  "repository": "https://github.com/meduza-corp/ui-kit-2.git",
@@ -86,7 +86,6 @@ export const RelatedRichBlock: React.FC<RelatedRichBlockProps> = ({
86
86
  classNames = makeStyleContext(classNames, theme, styles)
87
87
 
88
88
  if (onlyOn === 'desktop') {
89
-
90
89
  style.backgroundImage = generateGradient(
91
90
  gradients.bg_rgb,
92
91
  'mediaBlockBottom'
@@ -101,7 +100,11 @@ export const RelatedRichBlock: React.FC<RelatedRichBlockProps> = ({
101
100
  if (type === 'simpleRelated') {
102
101
  return (
103
102
  <div ref={ref} className={styles.wrapper}>
104
- <RelatedBlock block={fallback} trackClick={true} />
103
+ <RelatedBlock
104
+ block={fallback}
105
+ trackClick={true}
106
+ styleContext={styleContext}
107
+ />
105
108
  </div>
106
109
  )
107
110
  }