@meduza/ui-kit-2 1.2.0 → 1.3.0
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/MetaItem/MetaItem.types.d.ts +1 -1
- package/dist/MetaItemLive/MetaItemLive.types.d.ts +1 -0
- package/dist/ui-kit-2.cjs.development.js +11 -8
- 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 +11 -8
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit-game.css +27 -109
- package/dist/ui-kit.css +27 -109
- package/package.json +1 -1
- package/src/Meta/MetaContainer.tsx +1 -1
- package/src/MetaItem/MetaItem.module.css +2 -10
- package/src/MetaItem/MetaItem.types.ts +1 -1
- package/src/MetaItem/index.tsx +2 -2
- package/src/MetaItemLive/MetaItemLive.module.css +21 -96
- package/src/MetaItemLive/MetaItemLive.types.ts +1 -0
- package/src/MetaItemLive/index.tsx +5 -2
- package/src/RichTitle/RichTitle.module.css +2 -0
- package/src/Tag/Tag.module.css +2 -0
package/dist/ui-kit-game.css
CHANGED
|
@@ -1346,6 +1346,8 @@
|
|
|
1346
1346
|
}
|
|
1347
1347
|
|
|
1348
1348
|
.Tag-module_isInBlockMetaContainer__bAmLh {
|
|
1349
|
+
margin-top: -1px;
|
|
1350
|
+
|
|
1349
1351
|
line-height: 15px;
|
|
1350
1352
|
}
|
|
1351
1353
|
|
|
@@ -3192,6 +3194,8 @@
|
|
|
3192
3194
|
@media only screen and (max-width: 40.5625em) {
|
|
3193
3195
|
|
|
3194
3196
|
.RichTitle-module_isInFeaturedBlock__3vYu9 {
|
|
3197
|
+
margin-bottom: 16px;
|
|
3198
|
+
|
|
3195
3199
|
font-size: 22px;
|
|
3196
3200
|
line-height: 110%;
|
|
3197
3201
|
}
|
|
@@ -4676,7 +4680,7 @@ a mark {
|
|
|
4676
4680
|
.MetaItem-module_root__sRbrZ {
|
|
4677
4681
|
display: inline;
|
|
4678
4682
|
|
|
4679
|
-
margin-right:
|
|
4683
|
+
margin-right: 6px;
|
|
4680
4684
|
}
|
|
4681
4685
|
|
|
4682
4686
|
.MetaItem-module_root__sRbrZ > svg {
|
|
@@ -4761,28 +4765,16 @@ a mark {
|
|
|
4761
4765
|
}
|
|
4762
4766
|
}
|
|
4763
4767
|
|
|
4764
|
-
.MetaItem-
|
|
4765
|
-
margin-right: 6px;
|
|
4766
|
-
}
|
|
4767
|
-
|
|
4768
|
-
@media only screen and (min-width: 40.625em) {
|
|
4769
|
-
|
|
4770
|
-
.MetaItem-module_mobileOnly__VJCjl {
|
|
4771
|
-
display: none;
|
|
4772
|
-
}
|
|
4773
|
-
}
|
|
4774
|
-
|
|
4775
|
-
.MetaItem-module_mobileOnly__VJCjl + .MetaItem-module_hasBullets__b1eW9::before {
|
|
4768
|
+
.MetaItem-module_tag__3HzOp + .MetaItem-module_hasBullets__b1eW9::before {
|
|
4776
4769
|
content: none;
|
|
4777
4770
|
}
|
|
4778
4771
|
|
|
4779
4772
|
.MetaItemLive-module_root__XfQiW {
|
|
4780
4773
|
position: relative;
|
|
4781
4774
|
|
|
4782
|
-
display: inline-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
height: 18px;
|
|
4775
|
+
display: inline-flex;
|
|
4776
|
+
gap: 6px;
|
|
4777
|
+
align-items: center;
|
|
4786
4778
|
|
|
4787
4779
|
vertical-align: middle;
|
|
4788
4780
|
}
|
|
@@ -4791,110 +4783,36 @@ a mark {
|
|
|
4791
4783
|
color: #b88b59;
|
|
4792
4784
|
}
|
|
4793
4785
|
|
|
4794
|
-
.MetaItemLive-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
top: 0;
|
|
4799
|
-
right: 0;
|
|
4800
|
-
bottom: 0;
|
|
4801
|
-
left: 0;
|
|
4802
|
-
z-index: 0;
|
|
4803
|
-
}
|
|
4804
|
-
|
|
4805
|
-
.MetaItemLive-module_root__XfQiW {
|
|
4806
|
-
margin-top: -4px;
|
|
4807
|
-
margin-right: 1px;
|
|
4808
|
-
|
|
4809
|
-
transform: translateY(1px);
|
|
4810
|
-
}
|
|
4811
|
-
|
|
4812
|
-
.MetaItemLive-module_root__XfQiW::before,
|
|
4813
|
-
.MetaItemLive-module_root__XfQiW::after,
|
|
4814
|
-
.MetaItemLive-module_frame__FHByQ {
|
|
4815
|
-
|
|
4816
|
-
border-radius: 50%;
|
|
4817
|
-
transform: scale(0);
|
|
4818
|
-
|
|
4819
|
-
animation-duration: 1.05s;
|
|
4820
|
-
animation-timing-function: linear;
|
|
4821
|
-
animation-iteration-count: infinite;
|
|
4822
|
-
}
|
|
4823
|
-
|
|
4824
|
-
.MetaItemLive-module_frame__FHByQ {
|
|
4825
|
-
|
|
4826
|
-
background: currentColor;
|
|
4827
|
-
|
|
4828
|
-
animation-name: MetaItemLive-module_liveMiddle__SX4Gs;
|
|
4829
|
-
}
|
|
4830
|
-
|
|
4831
|
-
.MetaItemLive-module_root__XfQiW::before,
|
|
4832
|
-
.MetaItemLive-module_root__XfQiW::after {
|
|
4833
|
-
|
|
4834
|
-
border: 1px solid currentColor;
|
|
4835
|
-
|
|
4836
|
-
content: '';
|
|
4837
|
-
}
|
|
4786
|
+
.MetaItemLive-module_icon__JIMLl {
|
|
4787
|
+
width: 10px;
|
|
4788
|
+
height: 10px;
|
|
4789
|
+
margin-top: -1px;
|
|
4838
4790
|
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
}
|
|
4791
|
+
background-color: #ff4e4e;
|
|
4792
|
+
border-radius: 5px;
|
|
4842
4793
|
|
|
4843
|
-
|
|
4844
|
-
animation-name: MetaItemLive-module_liveSecondWave__hlbpt;
|
|
4794
|
+
animation: MetaItemLive-module_pulse__zzrle 2s infinite ease-out;
|
|
4845
4795
|
}
|
|
4846
4796
|
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
transform: scale(0.22);
|
|
4854
|
-
}
|
|
4855
|
-
|
|
4856
|
-
63% {
|
|
4857
|
-
transform: scale(0.22);
|
|
4858
|
-
}
|
|
4859
|
-
|
|
4860
|
-
70% {
|
|
4861
|
-
transform: scale(0);
|
|
4862
|
-
}
|
|
4863
|
-
|
|
4864
|
-
100% {
|
|
4865
|
-
transform: scale(0);
|
|
4866
|
-
}
|
|
4797
|
+
.MetaItemLive-module_text__wgLcT {
|
|
4798
|
+
color: #ff4e4e;
|
|
4799
|
+
font-weight: 600;
|
|
4800
|
+
font-size: 12px;
|
|
4801
|
+
letter-spacing: 1px;
|
|
4802
|
+
text-transform: uppercase;
|
|
4867
4803
|
}
|
|
4868
4804
|
|
|
4869
|
-
@keyframes MetaItemLive-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
}
|
|
4873
|
-
|
|
4874
|
-
53% {
|
|
4875
|
-
transform: scale(0.33);
|
|
4805
|
+
@keyframes MetaItemLive-module_pulse__zzrle {
|
|
4806
|
+
0% {
|
|
4807
|
+
opacity: 1;
|
|
4876
4808
|
}
|
|
4877
4809
|
|
|
4878
|
-
|
|
4879
|
-
transform: scale(0.66);
|
|
4880
|
-
|
|
4810
|
+
50% {
|
|
4881
4811
|
opacity: 0;
|
|
4882
4812
|
}
|
|
4883
|
-
}
|
|
4884
|
-
|
|
4885
|
-
@keyframes MetaItemLive-module_liveSecondWave__hlbpt {
|
|
4886
|
-
21% {
|
|
4887
|
-
transform: scale(0.22);
|
|
4888
|
-
}
|
|
4889
|
-
|
|
4890
|
-
53% {
|
|
4891
|
-
transform: scale(0.55);
|
|
4892
|
-
}
|
|
4893
4813
|
|
|
4894
4814
|
100% {
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
opacity: 0;
|
|
4815
|
+
opacity: 1;
|
|
4898
4816
|
}
|
|
4899
4817
|
}
|
|
4900
4818
|
|
package/dist/ui-kit.css
CHANGED
|
@@ -1346,6 +1346,8 @@
|
|
|
1346
1346
|
}
|
|
1347
1347
|
|
|
1348
1348
|
.Tag-module_isInBlockMetaContainer__bAmLh {
|
|
1349
|
+
margin-top: -1px;
|
|
1350
|
+
|
|
1349
1351
|
line-height: 15px;
|
|
1350
1352
|
}
|
|
1351
1353
|
|
|
@@ -3192,6 +3194,8 @@
|
|
|
3192
3194
|
@media only screen and (max-width: 63.9375em) {
|
|
3193
3195
|
|
|
3194
3196
|
.RichTitle-module_isInFeaturedBlock__3vYu9 {
|
|
3197
|
+
margin-bottom: 16px;
|
|
3198
|
+
|
|
3195
3199
|
font-size: 22px;
|
|
3196
3200
|
line-height: 110%;
|
|
3197
3201
|
}
|
|
@@ -4676,7 +4680,7 @@ a mark {
|
|
|
4676
4680
|
.MetaItem-module_root__sRbrZ {
|
|
4677
4681
|
display: inline;
|
|
4678
4682
|
|
|
4679
|
-
margin-right:
|
|
4683
|
+
margin-right: 6px;
|
|
4680
4684
|
}
|
|
4681
4685
|
|
|
4682
4686
|
.MetaItem-module_root__sRbrZ > svg {
|
|
@@ -4761,28 +4765,16 @@ a mark {
|
|
|
4761
4765
|
}
|
|
4762
4766
|
}
|
|
4763
4767
|
|
|
4764
|
-
.MetaItem-
|
|
4765
|
-
margin-right: 6px;
|
|
4766
|
-
}
|
|
4767
|
-
|
|
4768
|
-
@media only screen and (min-width: 48em) {
|
|
4769
|
-
|
|
4770
|
-
.MetaItem-module_mobileOnly__VJCjl {
|
|
4771
|
-
display: none;
|
|
4772
|
-
}
|
|
4773
|
-
}
|
|
4774
|
-
|
|
4775
|
-
.MetaItem-module_mobileOnly__VJCjl + .MetaItem-module_hasBullets__b1eW9::before {
|
|
4768
|
+
.MetaItem-module_tag__3HzOp + .MetaItem-module_hasBullets__b1eW9::before {
|
|
4776
4769
|
content: none;
|
|
4777
4770
|
}
|
|
4778
4771
|
|
|
4779
4772
|
.MetaItemLive-module_root__XfQiW {
|
|
4780
4773
|
position: relative;
|
|
4781
4774
|
|
|
4782
|
-
display: inline-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
height: 18px;
|
|
4775
|
+
display: inline-flex;
|
|
4776
|
+
gap: 6px;
|
|
4777
|
+
align-items: center;
|
|
4786
4778
|
|
|
4787
4779
|
vertical-align: middle;
|
|
4788
4780
|
}
|
|
@@ -4791,110 +4783,36 @@ a mark {
|
|
|
4791
4783
|
color: #b88b59;
|
|
4792
4784
|
}
|
|
4793
4785
|
|
|
4794
|
-
.MetaItemLive-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
top: 0;
|
|
4799
|
-
right: 0;
|
|
4800
|
-
bottom: 0;
|
|
4801
|
-
left: 0;
|
|
4802
|
-
z-index: 0;
|
|
4803
|
-
}
|
|
4804
|
-
|
|
4805
|
-
.MetaItemLive-module_root__XfQiW {
|
|
4806
|
-
margin-top: -4px;
|
|
4807
|
-
margin-right: 1px;
|
|
4808
|
-
|
|
4809
|
-
transform: translateY(1px);
|
|
4810
|
-
}
|
|
4811
|
-
|
|
4812
|
-
.MetaItemLive-module_root__XfQiW::before,
|
|
4813
|
-
.MetaItemLive-module_root__XfQiW::after,
|
|
4814
|
-
.MetaItemLive-module_frame__FHByQ {
|
|
4815
|
-
|
|
4816
|
-
border-radius: 50%;
|
|
4817
|
-
transform: scale(0);
|
|
4818
|
-
|
|
4819
|
-
animation-duration: 1.05s;
|
|
4820
|
-
animation-timing-function: linear;
|
|
4821
|
-
animation-iteration-count: infinite;
|
|
4822
|
-
}
|
|
4823
|
-
|
|
4824
|
-
.MetaItemLive-module_frame__FHByQ {
|
|
4825
|
-
|
|
4826
|
-
background: currentColor;
|
|
4827
|
-
|
|
4828
|
-
animation-name: MetaItemLive-module_liveMiddle__SX4Gs;
|
|
4829
|
-
}
|
|
4830
|
-
|
|
4831
|
-
.MetaItemLive-module_root__XfQiW::before,
|
|
4832
|
-
.MetaItemLive-module_root__XfQiW::after {
|
|
4833
|
-
|
|
4834
|
-
border: 1px solid currentColor;
|
|
4835
|
-
|
|
4836
|
-
content: '';
|
|
4837
|
-
}
|
|
4786
|
+
.MetaItemLive-module_icon__JIMLl {
|
|
4787
|
+
width: 10px;
|
|
4788
|
+
height: 10px;
|
|
4789
|
+
margin-top: -1px;
|
|
4838
4790
|
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
}
|
|
4791
|
+
background-color: #ff4e4e;
|
|
4792
|
+
border-radius: 5px;
|
|
4842
4793
|
|
|
4843
|
-
|
|
4844
|
-
animation-name: MetaItemLive-module_liveSecondWave__hlbpt;
|
|
4794
|
+
animation: MetaItemLive-module_pulse__zzrle 2s infinite ease-out;
|
|
4845
4795
|
}
|
|
4846
4796
|
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
transform: scale(0.22);
|
|
4854
|
-
}
|
|
4855
|
-
|
|
4856
|
-
63% {
|
|
4857
|
-
transform: scale(0.22);
|
|
4858
|
-
}
|
|
4859
|
-
|
|
4860
|
-
70% {
|
|
4861
|
-
transform: scale(0);
|
|
4862
|
-
}
|
|
4863
|
-
|
|
4864
|
-
100% {
|
|
4865
|
-
transform: scale(0);
|
|
4866
|
-
}
|
|
4797
|
+
.MetaItemLive-module_text__wgLcT {
|
|
4798
|
+
color: #ff4e4e;
|
|
4799
|
+
font-weight: 600;
|
|
4800
|
+
font-size: 12px;
|
|
4801
|
+
letter-spacing: 1px;
|
|
4802
|
+
text-transform: uppercase;
|
|
4867
4803
|
}
|
|
4868
4804
|
|
|
4869
|
-
@keyframes MetaItemLive-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
}
|
|
4873
|
-
|
|
4874
|
-
53% {
|
|
4875
|
-
transform: scale(0.33);
|
|
4805
|
+
@keyframes MetaItemLive-module_pulse__zzrle {
|
|
4806
|
+
0% {
|
|
4807
|
+
opacity: 1;
|
|
4876
4808
|
}
|
|
4877
4809
|
|
|
4878
|
-
|
|
4879
|
-
transform: scale(0.66);
|
|
4880
|
-
|
|
4810
|
+
50% {
|
|
4881
4811
|
opacity: 0;
|
|
4882
4812
|
}
|
|
4883
|
-
}
|
|
4884
|
-
|
|
4885
|
-
@keyframes MetaItemLive-module_liveSecondWave__hlbpt {
|
|
4886
|
-
21% {
|
|
4887
|
-
transform: scale(0.22);
|
|
4888
|
-
}
|
|
4889
|
-
|
|
4890
|
-
53% {
|
|
4891
|
-
transform: scale(0.55);
|
|
4892
|
-
}
|
|
4893
4813
|
|
|
4894
4814
|
100% {
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
opacity: 0;
|
|
4815
|
+
opacity: 1;
|
|
4898
4816
|
}
|
|
4899
4817
|
}
|
|
4900
4818
|
|
package/package.json
CHANGED
|
@@ -101,7 +101,7 @@ export const MetaContainer: React.FC<MetaContainerProps> = ({
|
|
|
101
101
|
case 'broadcast_active': {
|
|
102
102
|
return (
|
|
103
103
|
<MetaItem hasSource={hasSource} bullets key={component.id}>
|
|
104
|
-
<MetaItemLive
|
|
104
|
+
<MetaItemLive>Прямой эфир</MetaItemLive>
|
|
105
105
|
</MetaItem>
|
|
106
106
|
)
|
|
107
107
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.root {
|
|
2
2
|
display: inline;
|
|
3
3
|
|
|
4
|
-
margin-right:
|
|
4
|
+
margin-right: 6px;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.root > svg {
|
|
@@ -79,14 +79,6 @@
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.
|
|
83
|
-
margin-right: 6px;
|
|
84
|
-
|
|
85
|
-
@media $portraitTablet {
|
|
86
|
-
display: none;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.mobileOnly + .hasBullets::before {
|
|
82
|
+
.tag + .hasBullets::before {
|
|
91
83
|
content: none;
|
|
92
84
|
}
|
package/src/MetaItem/index.tsx
CHANGED
|
@@ -8,14 +8,14 @@ export const MetaItem: React.FC<MetaItemProps> = ({
|
|
|
8
8
|
type,
|
|
9
9
|
children,
|
|
10
10
|
bullets,
|
|
11
|
-
|
|
11
|
+
variant
|
|
12
12
|
}) => {
|
|
13
13
|
const classNames = [
|
|
14
14
|
[styles.root, true],
|
|
15
15
|
[styles[type], !!type && !!styles[type]],
|
|
16
16
|
[styles.hasSource, !!hasSource],
|
|
17
17
|
[styles.hasBullets, !!bullets],
|
|
18
|
-
[styles
|
|
18
|
+
[styles[variant], !!variant && !!styles[variant]]
|
|
19
19
|
]
|
|
20
20
|
|
|
21
21
|
return (
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
.root {
|
|
2
2
|
position: relative;
|
|
3
3
|
|
|
4
|
-
display: inline-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
height: 18px;
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
gap: 6px;
|
|
6
|
+
align-items: center;
|
|
8
7
|
|
|
9
8
|
vertical-align: middle;
|
|
10
9
|
}
|
|
@@ -13,109 +12,35 @@
|
|
|
13
12
|
color: $gold;
|
|
14
13
|
}
|
|
15
14
|
|
|
16
|
-
.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
top: 0;
|
|
21
|
-
right: 0;
|
|
22
|
-
bottom: 0;
|
|
23
|
-
left: 0;
|
|
24
|
-
z-index: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.root {
|
|
28
|
-
margin-top: -4px;
|
|
29
|
-
margin-right: 1px;
|
|
30
|
-
|
|
31
|
-
transform: translateY(1px);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.root::before,
|
|
35
|
-
.root::after,
|
|
36
|
-
.frame {
|
|
37
|
-
|
|
38
|
-
border-radius: 50%;
|
|
39
|
-
transform: scale(0);
|
|
40
|
-
|
|
41
|
-
animation-duration: 1.05s;
|
|
42
|
-
animation-timing-function: linear;
|
|
43
|
-
animation-iteration-count: infinite;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.frame {
|
|
47
|
-
|
|
48
|
-
background: currentColor;
|
|
49
|
-
|
|
50
|
-
animation-name: liveMiddle;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.root::before,
|
|
54
|
-
.root::after {
|
|
15
|
+
.icon {
|
|
16
|
+
width: 10px;
|
|
17
|
+
height: 10px;
|
|
18
|
+
margin-top: -1px;
|
|
55
19
|
|
|
56
|
-
|
|
20
|
+
background-color: #ff4e4e;
|
|
21
|
+
border-radius: 5px;
|
|
57
22
|
|
|
58
|
-
|
|
23
|
+
animation: pulse 2s infinite ease-out;
|
|
59
24
|
}
|
|
60
25
|
|
|
61
|
-
.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@keyframes liveMiddle {
|
|
70
|
-
14% {
|
|
71
|
-
transform: scale(0);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
30% {
|
|
75
|
-
transform: scale(0.22);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
63% {
|
|
79
|
-
transform: scale(0.22);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
70% {
|
|
83
|
-
transform: scale(0);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
100% {
|
|
87
|
-
transform: scale(0);
|
|
88
|
-
}
|
|
26
|
+
.text {
|
|
27
|
+
color: #ff4e4e;
|
|
28
|
+
font-weight: 600;
|
|
29
|
+
font-size: 12px;
|
|
30
|
+
letter-spacing: 1px;
|
|
31
|
+
text-transform: uppercase;
|
|
89
32
|
}
|
|
90
33
|
|
|
91
|
-
@keyframes
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
53% {
|
|
97
|
-
transform: scale(0.33);
|
|
34
|
+
@keyframes pulse {
|
|
35
|
+
0% {
|
|
36
|
+
opacity: 1;
|
|
98
37
|
}
|
|
99
38
|
|
|
100
|
-
|
|
101
|
-
transform: scale(0.66);
|
|
102
|
-
|
|
39
|
+
50% {
|
|
103
40
|
opacity: 0;
|
|
104
41
|
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
@keyframes liveSecondWave {
|
|
108
|
-
21% {
|
|
109
|
-
transform: scale(0.22);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
53% {
|
|
113
|
-
transform: scale(0.55);
|
|
114
|
-
}
|
|
115
42
|
|
|
116
43
|
100% {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
opacity: 0;
|
|
44
|
+
opacity: 1;
|
|
120
45
|
}
|
|
121
46
|
}
|
|
@@ -4,7 +4,8 @@ import { makeClassName } from '../utils/makeClassName'
|
|
|
4
4
|
import styles from './MetaItemLive.module.css'
|
|
5
5
|
|
|
6
6
|
export const MetaItemLive: React.FC<MetaItemLiveProps> = ({
|
|
7
|
-
theme = 'gold'
|
|
7
|
+
theme = 'gold',
|
|
8
|
+
children
|
|
8
9
|
}) => {
|
|
9
10
|
const classNames = [
|
|
10
11
|
[styles.root, true],
|
|
@@ -17,7 +18,9 @@ export const MetaItemLive: React.FC<MetaItemLiveProps> = ({
|
|
|
17
18
|
data-meta="live"
|
|
18
19
|
className={makeClassName(classNames)}
|
|
19
20
|
>
|
|
20
|
-
<div className={styles.
|
|
21
|
+
<div className={styles.icon} />
|
|
22
|
+
|
|
23
|
+
{children && <span className={styles.text}>{children}</span>}
|
|
21
24
|
</div>
|
|
22
25
|
)
|
|
23
26
|
}
|