@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-2.cjs.development.js +12 -4
- 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 +12 -4
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +30 -0
- package/package.json +1 -1
- package/src/Image/Image.module.css +9 -0
- package/src/Meta/Meta.module.css +4 -0
- package/src/Meta/MetaContainer.tsx +7 -0
- package/src/RichTitle/RichTitle.module.css +10 -0
- package/src/Tag/Tag.module.css +8 -0
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
package/src/Meta/Meta.module.css
CHANGED
|
@@ -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
|