@meduza/ui-kit-2 0.7.6 → 0.7.7

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.css CHANGED
@@ -700,6 +700,15 @@
700
700
  width: 100%;
701
701
  height: 100%;
702
702
  }
703
+ .Image-module_isStatic__TmQ1V img {
704
+ position: relative;
705
+ max-height: 160px;
706
+ }
707
+ @media only screen and (min-width: 64em) {
708
+ .Image-module_isStatic__TmQ1V img {
709
+ max-height: 200px;
710
+ }
711
+ }
703
712
  .Image-module_isLoaded__keFnD {
704
713
  background-color: transparent;
705
714
  }
@@ -1234,6 +1243,14 @@
1234
1243
  line-height: 20px;
1235
1244
  }
1236
1245
  }
1246
+ .Tag-module_isInBookRelated__ikTaj {
1247
+ opacity: 0.5;
1248
+ }
1249
+ @media only screen and (min-width: 64em) {
1250
+ .Tag-module_isInBookRelated__ikTaj {
1251
+ line-height: 20px;
1252
+ }
1253
+ }
1237
1254
  .Tag-module_slide__gzptP,
1238
1255
  .Tag-module_game__NmKec,
1239
1256
  .Tag-module_card__TX87-,
@@ -2220,6 +2237,9 @@
2220
2237
  display: none;
2221
2238
  }
2222
2239
  }
2240
+ .Meta-module_isInBookRelated__Ohidg {
2241
+ opacity: 0.5;
2242
+ }
2223
2243
  /* VISIBILITY */
2224
2244
  @media only screen and (min-width: 32em) {
2225
2245
  .Meta-module_mobile__PbG8N {
@@ -2946,6 +2966,16 @@
2946
2966
  font-size: 1.35rem;
2947
2967
  }
2948
2968
  }
2969
+ .RichTitle-module_isInBookRelated__LcCPV {
2970
+ margin: 6px 0 20px;
2971
+ }
2972
+ @media only screen and (min-width: 64em) {
2973
+ .RichTitle-module_isInBookRelated__LcCPV {
2974
+ font-size: 27px;
2975
+ line-height: 32px;
2976
+ margin: 6px 0 18px;
2977
+ }
2978
+ }
2949
2979
  @media only screen and (min-width: 32em) {
2950
2980
  .RichTitle-module_mobile__W5L9E {
2951
2981
  display: none;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.7.6",
2
+ "version": "0.7.7",
3
3
  "license": "MIT",
4
4
  "description": "UIKit for Meduza",
5
5
  "repository": "https://github.com/meduza-corp/ui-kit-2.git",
@@ -24,6 +24,15 @@
24
24
  height: 100%;
25
25
  }
26
26
 
27
+ .isStatic img {
28
+ position: relative;
29
+ max-height: 160px;
30
+
31
+ @media $landscapeTablet {
32
+ max-height: 200px;
33
+ }
34
+ }
35
+
27
36
  .isLoaded {
28
37
  background-color: transparent;
29
38
  }
@@ -104,6 +104,10 @@
104
104
  }
105
105
  }
106
106
 
107
+ .isInBookRelated {
108
+ opacity: 0.5;
109
+ }
110
+
107
111
  /* VISIBILITY */
108
112
 
109
113
  .mobile {
@@ -132,6 +132,13 @@ export const MetaContainer: React.FC<MetaContainerProps> = ({
132
132
  </MetaItem>
133
133
  )
134
134
  }
135
+ case 'string': {
136
+ return (
137
+ <MetaItem hasSource={hasSource} bullets key={component.id}>
138
+ {component.text}
139
+ </MetaItem>
140
+ )
141
+ }
135
142
 
136
143
  default: {
137
144
  return null
@@ -105,6 +105,16 @@
105
105
  }
106
106
  }
107
107
 
108
+ .isInBookRelated {
109
+ margin: 6px 0 20px;
110
+
111
+ @media $landscapeTablet {
112
+ font-size: 27px;
113
+ line-height: 32px;
114
+ margin: 6px 0 18px;
115
+ }
116
+ }
117
+
108
118
  .mobile {
109
119
  @media $mobile {
110
120
  display: none;
@@ -101,6 +101,14 @@
101
101
  }
102
102
  }
103
103
 
104
+ .isInBookRelated {
105
+ opacity: 0.5;
106
+
107
+ @media $landscapeTablet {
108
+ line-height: 20px;
109
+ }
110
+ }
111
+
104
112
  .slide,
105
113
  .game,
106
114
  .card,