@meduza/ui-kit-2 1.4.6-c → 1.4.7-b
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 +6 -6
- 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 +6 -6
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit-game.css +60 -139
- package/dist/ui-kit.css +60 -139
- package/package.json +13 -13
- package/src/Image/index.tsx +1 -2
- package/src/MediaCaption/MediaCaption.module.css +1 -1
- package/src/Meta/Meta.module.css +0 -4
- package/src/RelatedBlock/RelatedBlock.module.css +1 -1
- package/src/RelatedCarousel/RelatedCarousel.stories.module.css +1 -1
- package/src/RelatedRichBlock/RelatedRichBlock.module.css +17 -55
- package/src/RelatedRichBlock/index.tsx +2 -2
- package/src/RichTitle/RichTitle.module.css +0 -20
- package/src/ShopRelatedBlock/ShopRelatedBlock.module.css +1 -1
- package/src/SimpleBlock/FootnoteLink.css +2 -2
- package/src/SimpleBlock/SimpleBlock.module.css +1 -1
- package/src/SourceBlock/SourceBlock.module.css +1 -1
- package/src/SvgSymbol/SvgSymbol.stories.module.css +2 -2
- package/src/Table/Table.module.css +2 -2
|
@@ -4,78 +4,49 @@
|
|
|
4
4
|
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-flow: column nowrap;
|
|
7
|
-
gap:
|
|
7
|
+
gap: 20px;
|
|
8
8
|
|
|
9
|
-
padding:
|
|
9
|
+
padding: 10px 20px 20px;
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
|
|
12
|
-
color: #000;
|
|
13
12
|
text-decoration: none;
|
|
14
13
|
|
|
15
14
|
background-color: #f7f7f7;
|
|
16
15
|
|
|
17
|
-
border-top: 2px solid
|
|
16
|
+
border-top: 2px solid $gold;
|
|
18
17
|
|
|
19
18
|
outline-width: 0;
|
|
20
19
|
box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1);
|
|
21
20
|
}
|
|
22
21
|
|
|
23
|
-
.root {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
@media $portraitTablet {
|
|
27
|
-
margin-top: 25px;
|
|
28
|
-
margin-bottom: 25px;
|
|
22
|
+
.root:hover {
|
|
23
|
+
@media $mobile {
|
|
24
|
+
opacity: 0.95;
|
|
29
25
|
}
|
|
30
26
|
}
|
|
31
27
|
|
|
32
|
-
.root
|
|
33
|
-
margin
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.root:last-child {
|
|
37
|
-
margin-bottom: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.isInCard {
|
|
41
|
-
margin-right: -11px;
|
|
42
|
-
margin-left: -11px;
|
|
28
|
+
.root {
|
|
29
|
+
margin: 16px 0;
|
|
43
30
|
|
|
44
31
|
@media $portraitTablet {
|
|
45
|
-
margin
|
|
46
|
-
margin-left: 0;
|
|
32
|
+
margin: 25px 0;
|
|
47
33
|
}
|
|
48
34
|
}
|
|
49
35
|
|
|
50
36
|
.content {
|
|
51
37
|
display: flex;
|
|
52
|
-
flex-flow:
|
|
38
|
+
flex-flow: row nowrap;
|
|
53
39
|
gap: 20px;
|
|
54
|
-
|
|
55
|
-
@media $portraitTablet {
|
|
56
|
-
flex-flow: row nowrap;
|
|
57
|
-
}
|
|
58
40
|
}
|
|
59
41
|
|
|
60
42
|
.cover {
|
|
61
43
|
flex-shrink: 0;
|
|
62
|
-
width:
|
|
63
|
-
|
|
64
|
-
@media $portraitTablet {
|
|
65
|
-
width: 200px;
|
|
66
|
-
}
|
|
44
|
+
width: 200px;
|
|
67
45
|
}
|
|
68
46
|
|
|
69
47
|
.body {
|
|
70
48
|
display: flex;
|
|
71
49
|
flex-flow: column nowrap;
|
|
72
|
-
gap: 16px;
|
|
73
|
-
|
|
74
|
-
transition: color 0.15s;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.root:hover .body {
|
|
78
|
-
color: #5c5c5c;
|
|
79
50
|
}
|
|
80
51
|
|
|
81
52
|
.isCard .cover {
|
|
@@ -91,28 +62,19 @@
|
|
|
91
62
|
}
|
|
92
63
|
|
|
93
64
|
.isCard .cover > div {
|
|
94
|
-
width:
|
|
95
|
-
height:
|
|
96
|
-
|
|
97
|
-
@media $portraitTablet {
|
|
98
|
-
width: 100px;
|
|
99
|
-
height: 100px;
|
|
100
|
-
}
|
|
65
|
+
width: 100px;
|
|
66
|
+
height: 100px;
|
|
101
67
|
}
|
|
102
68
|
|
|
103
69
|
.tag {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
color: #7f7f7f;
|
|
70
|
+
color: rgba(0, 0, 0, 0.5);
|
|
107
71
|
}
|
|
108
72
|
|
|
109
73
|
.center {
|
|
74
|
+
width: 100%;
|
|
110
75
|
max-width: 650px;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
margin-right: auto;
|
|
114
|
-
margin-left: auto;
|
|
115
|
-
}
|
|
76
|
+
margin-right: auto;
|
|
77
|
+
margin-left: auto;
|
|
116
78
|
}
|
|
117
79
|
|
|
118
80
|
/* Display */
|
|
@@ -33,12 +33,12 @@ export const RelatedRichBlock: React.FC<RelatedRichBlockProps> = ({
|
|
|
33
33
|
[styles[onlyOn], !!onlyOn && !!styles[onlyOn]]
|
|
34
34
|
]
|
|
35
35
|
|
|
36
|
-
let context = ['isInMediaBlock'
|
|
36
|
+
let context = ['isInMediaBlock']
|
|
37
37
|
|
|
38
38
|
if (styleContext) {
|
|
39
39
|
classNames = makeStyleContext(classNames, styleContext, styles)
|
|
40
40
|
|
|
41
|
-
context = [...styleContext, 'isInMediaBlock'
|
|
41
|
+
context = [...styleContext, 'isInMediaBlock']
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
return (
|
|
@@ -119,26 +119,6 @@
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.root.richRelated {
|
|
123
|
-
margin: 0;
|
|
124
|
-
|
|
125
|
-
font-size: 18px;
|
|
126
|
-
line-height: 1.3;
|
|
127
|
-
letter-spacing: normal;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.root.richRelated span {
|
|
131
|
-
margin-top: 0;
|
|
132
|
-
padding-top: 0;
|
|
133
|
-
|
|
134
|
-
font-size: 16px;
|
|
135
|
-
line-height: 1.3;
|
|
136
|
-
|
|
137
|
-
@media $landscapeTablet {
|
|
138
|
-
font-size: 18px;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
|
|
142
122
|
.isInBookRelated {
|
|
143
123
|
margin: 6px 0 20px;
|
|
144
124
|
|
|
@@ -25,6 +25,6 @@ span[data-body]:hover {
|
|
|
25
25
|
span[data-highlight='true'],
|
|
26
26
|
span[data-highlight='true']:hover {
|
|
27
27
|
background-color: #f4efe9;
|
|
28
|
-
box-shadow: inset 1px 0
|
|
29
|
-
inset 0 -1px
|
|
28
|
+
box-shadow: inset 1px 0 $gold, inset 0 1px $gold, inset -1px 0 $gold,
|
|
29
|
+
inset 0 -1px $gold;
|
|
30
30
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
color: #000;
|
|
8
8
|
border-radius: 2px 8px 8px 2px;
|
|
9
9
|
background-color: $platinum;
|
|
10
|
-
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), inset 4px 0 0 0
|
|
10
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), inset 4px 0 0 0 $gold;
|
|
11
11
|
|
|
12
12
|
font-size: 16px;
|
|
13
13
|
line-height: 20px;
|