@meduza/ui-kit-2 0.4.7 → 0.4.8
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
package/src/Meta/Meta.module.css
CHANGED
|
@@ -65,6 +65,40 @@ const Example: React.FC = () => {
|
|
|
65
65
|
isInBookmarks={false}
|
|
66
66
|
/>
|
|
67
67
|
</div>
|
|
68
|
+
<div
|
|
69
|
+
className={styles.layout}
|
|
70
|
+
style={
|
|
71
|
+
{
|
|
72
|
+
'--metaText': `pink`,
|
|
73
|
+
'--metaFill': 'currentColor'
|
|
74
|
+
} as React.CSSProperties
|
|
75
|
+
}
|
|
76
|
+
>
|
|
77
|
+
<h3>CSS Props</h3>
|
|
78
|
+
|
|
79
|
+
<Meta styleContext="isCustom">
|
|
80
|
+
<MetaItem bullets>
|
|
81
|
+
<MetaItemLive /> Онлайн
|
|
82
|
+
</MetaItem>
|
|
83
|
+
<MetaItem bullets>
|
|
84
|
+
Источник: <a href="https://meduza.io">Meduza</a>
|
|
85
|
+
</MetaItem>
|
|
86
|
+
<MetaItem bullets>
|
|
87
|
+
<Timestamp publishedAt={1558353600} type="date" locale="en" />
|
|
88
|
+
</MetaItem>
|
|
89
|
+
</Meta>
|
|
90
|
+
<div className={styles.layout}>
|
|
91
|
+
<h3>Блочная</h3>
|
|
92
|
+
<MetaContainer
|
|
93
|
+
block={MetaMock}
|
|
94
|
+
lang="ru"
|
|
95
|
+
styleContext={[]}
|
|
96
|
+
isRead={false}
|
|
97
|
+
isListened={false}
|
|
98
|
+
isInBookmarks={false}
|
|
99
|
+
/>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
68
102
|
</div>
|
|
69
103
|
</div>
|
|
70
104
|
)
|