@meduza/ui-kit-2 1.1.3 → 1.2.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.
Files changed (54) hide show
  1. package/dist/Meta/Meta.types.d.ts +0 -5
  2. package/dist/MetaItem/MetaItem.types.d.ts +1 -0
  3. package/dist/RawHtmlBlock/RawHtmlBlock.types.d.ts +1 -5
  4. package/dist/RenderBlocks/RenderBlocks.types.d.ts +1 -5
  5. package/dist/SvgSymbol/SvgSymbol.types.d.ts +2 -2
  6. package/dist/SvgSymbol/icons.d.ts +0 -25
  7. package/dist/ToolbarButton/ToolbarButton.types.d.ts +1 -2
  8. package/dist/constants.d.ts +0 -2
  9. package/dist/index.d.ts +0 -1
  10. package/dist/types.d.ts +1 -1
  11. package/dist/ui-kit-2.cjs.development.js +69 -167
  12. package/dist/ui-kit-2.cjs.development.js.map +1 -1
  13. package/dist/ui-kit-2.cjs.production.min.js +1 -1
  14. package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
  15. package/dist/ui-kit-2.esm.js +70 -167
  16. package/dist/ui-kit-2.esm.js.map +1 -1
  17. package/dist/ui-kit-game.css +47 -156
  18. package/dist/ui-kit.css +47 -156
  19. package/package.json +13 -13
  20. package/src/Cover/Cover.module.css +0 -17
  21. package/src/Meta/Meta.module.css +0 -11
  22. package/src/Meta/Meta.stories.tsx +1 -3
  23. package/src/Meta/Meta.types.ts +0 -5
  24. package/src/Meta/MetaContainer.tsx +5 -44
  25. package/src/MetaItem/MetaItem.module.css +12 -22
  26. package/src/MetaItem/MetaItem.types.ts +1 -0
  27. package/src/MetaItem/index.tsx +4 -2
  28. package/src/RawHtmlBlock/RawHtmlBlock.types.ts +1 -5
  29. package/src/RawHtmlBlock/index.tsx +0 -8
  30. package/src/RawHtmlBlock/mock.json +1 -2
  31. package/src/RenderBlocks/RenderBlocks.types.ts +1 -5
  32. package/src/RenderBlocks/index.tsx +0 -8
  33. package/src/RichTitle/RichTitle.module.css +22 -3
  34. package/src/SvgSymbol/SvgSymbol.module.css +1 -26
  35. package/src/SvgSymbol/SvgSymbol.stories.tsx +1 -2
  36. package/src/SvgSymbol/SvgSymbol.types.ts +0 -6
  37. package/src/SvgSymbol/icons.ts +0 -33
  38. package/src/Tag/Tag.module.css +7 -4
  39. package/src/Toolbar/Toolbar.stories.tsx +2 -18
  40. package/src/ToolbarButton/ToolbarButton.module.css +0 -16
  41. package/src/ToolbarButton/ToolbarButton.types.ts +0 -2
  42. package/src/ToolbarButton/index.tsx +0 -7
  43. package/src/constants.ts +1 -3
  44. package/src/index.tsx +0 -1
  45. package/src/types.ts +0 -1
  46. package/dist/BookmarkButton/BookmarkButton.types.d.ts +0 -6
  47. package/dist/BookmarkButton/index.d.ts +0 -3
  48. package/src/BookmarkButton/BookmarkButton.css +0 -45
  49. package/src/BookmarkButton/BookmarkButton.module.css +0 -45
  50. package/src/BookmarkButton/BookmarkButton.stories.module.css +0 -5
  51. package/src/BookmarkButton/BookmarkButton.stories.tsx +0 -39
  52. package/src/BookmarkButton/BookmarkButton.test.tsx +0 -33
  53. package/src/BookmarkButton/BookmarkButton.types.ts +0 -6
  54. package/src/BookmarkButton/index.tsx +0 -35
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.3",
2
+ "version": "1.2.0",
3
3
  "license": "MIT",
4
4
  "description": "UIKit for Meduza",
5
5
  "repository": "https://github.com/meduza-corp/ui-kit-2.git",
@@ -15,6 +15,17 @@
15
15
  "engines": {
16
16
  "node": ">=16"
17
17
  },
18
+ "scripts": {
19
+ "start": "dts watch --tsconfig ./tsconfig.build.json --mode development",
20
+ "build": "dts build --tsconfig ./tsconfig.build.json --mode production && node build.sh",
21
+ "generate": "plop --plopfile generators/index.js",
22
+ "test": "dts test --passWithNoTests",
23
+ "test:watch": "dts test --watch",
24
+ "test:coverage": "dts test --coverage",
25
+ "lint": "eslint src",
26
+ "storybook": "storybook dev -p 6006",
27
+ "build-storybook": "storybook build"
28
+ },
18
29
  "peerDependencies": {
19
30
  "dayjs": "^1.10.3",
20
31
  "react": ">=16",
@@ -114,16 +125,5 @@
114
125
  "typescript": "^5.1.6",
115
126
  "typescript-plugin-css-modules": "^5.0.1",
116
127
  "utils": "^0.3.1"
117
- },
118
- "scripts": {
119
- "start": "dts watch --tsconfig ./tsconfig.build.json --mode development",
120
- "build": "dts build --tsconfig ./tsconfig.build.json --mode production && node build.sh",
121
- "generate": "plop --plopfile generators/index.js",
122
- "test": "dts test --passWithNoTests",
123
- "test:watch": "dts test --watch",
124
- "test:coverage": "dts test --coverage",
125
- "lint": "eslint src",
126
- "storybook": "storybook dev -p 6006",
127
- "build-storybook": "storybook build"
128
128
  }
129
- }
129
+ }
@@ -22,7 +22,6 @@
22
22
  }
23
23
 
24
24
  .rich {
25
-
26
25
  margin: 0 -20px;
27
26
  overflow: hidden;
28
27
 
@@ -77,28 +76,12 @@
77
76
 
78
77
  .isInDynamicBlock {
79
78
  overflow: hidden;
80
-
81
- border-radius: 8px;
82
79
  }
83
80
 
84
81
  .isInDynamicBlock .body {
85
82
  padding: 0 12px 12px;
86
83
  }
87
84
 
88
- .isInDynamicBlock::after {
89
- position: absolute;
90
- top: 0;
91
- right: 0;
92
- bottom: 0;
93
- left: 0;
94
- z-index: 1;
95
-
96
- border: 1px solid rgba(0, 0, 0, 0.1);
97
- border-radius: 8px;
98
-
99
- content: '';
100
- }
101
-
102
85
  /* VISIBILITY */
103
86
 
104
87
  .mobile {
@@ -92,17 +92,6 @@
92
92
  }
93
93
  }
94
94
 
95
- .bookmark {
96
- position: absolute;
97
- right: -12px;
98
- bottom: -4px;
99
- z-index: 10;
100
-
101
- @media $mobile {
102
- display: none;
103
- }
104
- }
105
-
106
95
  .isInBookRelated {
107
96
  opacity: 0.5;
108
97
  }
@@ -31,9 +31,7 @@ const Example: React.FC = () => {
31
31
  </MetaItem>
32
32
  {['card', 'podcast'].map((type: 'card' | 'podcast') => (
33
33
  <MetaItem key={type}>
34
- <DocumentItemsCount type={type} items={4}>
35
- <SvgSymbol icon={type} size="small" />
36
- </DocumentItemsCount>
34
+ <DocumentItemsCount type={type} items={4} />
37
35
  </MetaItem>
38
36
  ))}
39
37
  </Meta>
@@ -1,13 +1,8 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  import React from 'react'
3
- import { CallToActions } from '../types'
4
3
  export interface MetaContainerProps {
5
4
  block: any
6
5
  styleContext: string[] | string
7
- isRead: boolean | undefined
8
- isListened: boolean | undefined
9
- isInBookmarks: boolean | undefined
10
- bookmarkAction?: (service: CallToActions, place: string) => void
11
6
  lightBox?: () => void
12
7
  lang: 'ru' | 'en'
13
8
  }
@@ -6,21 +6,13 @@ import { Meta } from './'
6
6
  import { MetaItem } from '../MetaItem'
7
7
  import { MetaItemLive } from '../MetaItemLive'
8
8
  import { DocumentItemsCount } from '../DocumentItemsCount'
9
- import { BookmarkButton } from '../BookmarkButton'
10
9
  import { Timestamp } from '../Timestamp'
11
- import { SvgSymbol } from '../SvgSymbol'
12
10
 
13
11
  import { TimestampProps } from '../Timestamp/Timestamp.types'
14
12
 
15
- import styles from './Meta.module.css'
16
-
17
13
  export const MetaContainer: React.FC<MetaContainerProps> = ({
18
14
  lang,
19
15
  block,
20
- isRead,
21
- isListened,
22
- bookmarkAction,
23
- isInBookmarks,
24
16
  block: {
25
17
  data: { components, theme }
26
18
  },
@@ -29,7 +21,6 @@ export const MetaContainer: React.FC<MetaContainerProps> = ({
29
21
  const themeColor =
30
22
  styleContext && styleContext.indexOf('dark') !== -1 ? 'light' : 'unset'
31
23
  const isPodcast = styleContext && styleContext.indexOf('podcast') !== -1
32
- const isSlides = styleContext && styleContext.indexOf('slide') !== -1
33
24
 
34
25
  let context = []
35
26
 
@@ -72,12 +63,7 @@ export const MetaContainer: React.FC<MetaContainerProps> = ({
72
63
  case 'duration': {
73
64
  return (
74
65
  <MetaItem hasSource={hasSource} bullets key={component.id}>
75
- <>
76
- {styleContext !== 'isInDynamicBlock' && (
77
- <SvgSymbol icon="podcast" size="small" />
78
- )}
79
- {component.text}
80
- </>
66
+ {component.text}
81
67
  </MetaItem>
82
68
  )
83
69
  }
@@ -108,29 +94,22 @@ export const MetaContainer: React.FC<MetaContainerProps> = ({
108
94
  items={component.count}
109
95
  type={isPodcast ? 'podcast' : 'card'}
110
96
  lang={lang}
111
- >
112
- <SvgSymbol icon="card" size="unset" />
113
- </DocumentItemsCount>
97
+ />
114
98
  </MetaItem>
115
99
  )
116
100
  }
117
101
  case 'broadcast_active': {
118
102
  return (
119
103
  <MetaItem hasSource={hasSource} bullets key={component.id}>
120
- <>
121
- <MetaItemLive /> Прямой эфир
122
- </>
104
+ <MetaItemLive /> Прямой эфир
123
105
  </MetaItem>
124
106
  )
125
107
  }
126
108
  case 'broadcast': {
127
109
  return (
128
110
  <MetaItem hasSource={hasSource} bullets key={component.id}>
129
- <>
130
- {component.with_icon && <MetaItemLive />}
131
-
132
- {component.label}
133
- </>
111
+ {component.with_icon && <MetaItemLive />}
112
+ {component.label}
134
113
  </MetaItem>
135
114
  )
136
115
  }
@@ -147,24 +126,6 @@ export const MetaContainer: React.FC<MetaContainerProps> = ({
147
126
  }
148
127
  }
149
128
  })}
150
- {(isRead || isListened) && (
151
- <MetaItem
152
- hasSource={hasSource}
153
- bullets
154
- type={isListened ? 'listened' : 'read'}
155
- >
156
- <SvgSymbol icon={isListened ? 'listened' : 'read'} size="unset" />
157
- </MetaItem>
158
- )}
159
-
160
- {isSlides && lang === 'ru' && (
161
- <div className={styles.bookmark}>
162
- <BookmarkButton
163
- isInBookmarks={isInBookmarks}
164
- onClick={(): void => bookmarkAction('bookmark', 'top')}
165
- />
166
- </div>
167
- )}
168
129
  </Meta>
169
130
  )
170
131
  }
@@ -9,21 +9,21 @@
9
9
 
10
10
  margin-right: 1px;
11
11
 
12
- vertical-align: top;
13
-
14
12
  color: inherit;
15
13
 
14
+ vertical-align: top;
15
+
16
16
  fill: currentColor;
17
17
  }
18
18
 
19
19
  .root a {
20
20
  display: inline;
21
21
 
22
- text-decoration: underline;
23
-
24
22
  color: inherit;
25
23
 
26
- -webkit-text-decoration-skip: auto;
24
+ text-decoration: underline;
25
+
26
+ text-decoration-skip: auto;
27
27
  }
28
28
 
29
29
  .root a:hover {
@@ -67,16 +67,7 @@
67
67
  }
68
68
  }
69
69
 
70
- .hasSource.listened::before,
71
- .hasSource.read::before {
72
- @media $mobileMax {
73
- display: inline-block
74
- }
75
- }
76
-
77
- .datetime,
78
- .listened,
79
- .read {
70
+ .datetime {
80
71
  @media $mobileMax {
81
72
  width: auto;
82
73
  }
@@ -88,15 +79,14 @@
88
79
  }
89
80
  }
90
81
 
91
- .hasSource.listened,
92
- .hasSource.read {
93
- @media $mobileMax {
94
- order: -1;
82
+ .mobileOnly {
83
+ margin-right: 6px;
95
84
 
96
- margin-top: 0;
85
+ @media $portraitTablet {
86
+ display: none;
97
87
  }
98
88
  }
99
89
 
100
- .read svg {
101
- margin-top: -1px;
90
+ .mobileOnly + .hasBullets::before {
91
+ content: none;
102
92
  }
@@ -2,5 +2,6 @@ export interface MetaItemProps {
2
2
  bullets?: boolean
3
3
  hasSource?: boolean
4
4
  type?: string
5
+ mobileOnly?: boolean
5
6
  children: React.ReactNode | JSX.Element[] | JSX.Element
6
7
  }
@@ -7,13 +7,15 @@ export const MetaItem: React.FC<MetaItemProps> = ({
7
7
  hasSource,
8
8
  type,
9
9
  children,
10
- bullets
10
+ bullets,
11
+ mobileOnly
11
12
  }) => {
12
13
  const classNames = [
13
14
  [styles.root, true],
14
15
  [styles[type], !!type && !!styles[type]],
15
16
  [styles.hasSource, !!hasSource],
16
- [styles.hasBullets, !!bullets]
17
+ [styles.hasBullets, !!bullets],
18
+ [styles.mobileOnly, !!mobileOnly]
17
19
  ]
18
20
 
19
21
  return (
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  import { ImageProps } from '../Image/Image.types'
3
- import { CallToActions, LightboxContext } from '../types'
3
+ import { LightboxContext } from '../types'
4
4
 
5
5
  export type lightBox = {
6
6
  show: (image?: ImageProps['optimized'], alt?: ImageProps['alt']) => void
@@ -11,10 +11,6 @@ export type lightBox = {
11
11
  export interface RawHtmlBlockProps {
12
12
  block: any
13
13
  styleContext?: string[] | string
14
- isRead?: boolean | undefined
15
- isListened?: boolean | undefined
16
- isInBookmarks?: boolean | undefined
17
- bookmarkAction?: (service: CallToActions, place: string) => void
18
14
  lightBox?: LightboxContext | null | undefined
19
15
  lang?: 'ru' | 'en'
20
16
  platform?: 'website' | 'mirror'
@@ -13,10 +13,6 @@ import { RelatedBook } from '../RelatedBook'
13
13
  export const RawHtmlBlock: React.FC<RawHtmlBlockProps> = ({
14
14
  block,
15
15
  styleContext,
16
- isRead,
17
- isListened,
18
- isInBookmarks,
19
- bookmarkAction,
20
16
  lightBox,
21
17
  lang,
22
18
  platform
@@ -64,10 +60,6 @@ export const RawHtmlBlock: React.FC<RawHtmlBlockProps> = ({
64
60
  <RenderBlocks
65
61
  block={block}
66
62
  styleContext={styleContext}
67
- isRead={isRead}
68
- isListened={isListened}
69
- isInBookmarks={isInBookmarks}
70
- bookmarkAction={bookmarkAction}
71
63
  lang={lang}
72
64
  platform={platform}
73
65
  />
@@ -371,8 +371,7 @@
371
371
  {
372
372
  "type": "share",
373
373
  "data": {
374
- "share": true,
375
- "bookmark": true
374
+ "share": true
376
375
  },
377
376
  "id": "18-c940481d7193bbdc8371aa0ed3bef69e5dea7f17e544f90b3a235abe69605cd8"
378
377
  }
@@ -1,13 +1,9 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
- import { CallToActions, LightboxContext } from '../types'
2
+ import { LightboxContext } from '../types'
3
3
 
4
4
  export interface RenderBlocksProps {
5
5
  block: any
6
6
  styleContext?: any
7
- isRead?: boolean
8
- isListened?: boolean
9
- isInBookmarks?: boolean
10
- bookmarkAction?: (service: CallToActions, place: string) => void
11
7
  lightBox?: LightboxContext | null | undefined
12
8
  lang?: 'ru' | 'en'
13
9
  platform?: 'website' | 'mirror'
@@ -24,10 +24,6 @@ export const RenderBlocks: React.FC<RenderBlocksProps> = ({
24
24
  block,
25
25
  styleContext,
26
26
  lang,
27
- isRead,
28
- isListened,
29
- bookmarkAction,
30
- isInBookmarks,
31
27
  platform
32
28
  }) => {
33
29
  switch (block.type) {
@@ -58,10 +54,6 @@ export const RenderBlocks: React.FC<RenderBlocksProps> = ({
58
54
  block={block}
59
55
  lang={block.data.lang}
60
56
  styleContext={styleContext}
61
- isRead={isRead}
62
- isListened={isListened}
63
- isInBookmarks={isInBookmarks}
64
- bookmarkAction={bookmarkAction}
65
57
  />
66
58
  )
67
59
  }
@@ -59,7 +59,6 @@
59
59
 
60
60
  .featured {
61
61
  @media $landscapeTabletMax {
62
-
63
62
  font-size: 28px;
64
63
  line-height: 30px;
65
64
  letter-spacing: 0.3px;
@@ -77,6 +76,24 @@
77
76
  }
78
77
  }
79
78
 
79
+ .isInFeaturedBlock {
80
+ @media $landscapeTabletMax {
81
+ font-size: 22px;
82
+ line-height: 110%;
83
+ }
84
+ }
85
+
86
+ .isInFeaturedBlock span {
87
+ @media $landscapeTabletMax {
88
+ display: block;
89
+
90
+ padding-top: 4px;
91
+
92
+ font-size: 18px;
93
+ line-height: 120%;
94
+ }
95
+ }
96
+
80
97
  .isInMediaBlock {
81
98
  text-align: left;
82
99
 
@@ -107,9 +124,10 @@
107
124
  margin: 6px 0 20px;
108
125
 
109
126
  @media $landscapeTablet {
127
+ margin: 6px 0 18px;
128
+
110
129
  font-size: 27px;
111
130
  line-height: 32px;
112
- margin: 6px 0 18px;
113
131
  }
114
132
  }
115
133
 
@@ -123,9 +141,10 @@
123
141
  }
124
142
 
125
143
  .root.isInPodcastPlayer {
144
+ margin: 0 0 20px;
145
+
126
146
  font-size: 19px;
127
147
  line-height: 23px;
128
- margin: 0 0 20px;
129
148
  }
130
149
 
131
150
  .root.large {
@@ -71,9 +71,7 @@
71
71
  }
72
72
 
73
73
  .card,
74
- .podcast,
75
- .read,
76
- .listened {
74
+ .podcast {
77
75
  width: 15px;
78
76
  height: 15px;
79
77
  }
@@ -198,29 +196,6 @@
198
196
  }
199
197
  }
200
198
 
201
- .bookmark {
202
- cursor: pointer;
203
-
204
- stroke-width: 2px;
205
-
206
- @media $landscapeTablet {
207
- stroke-width: 1.5px;
208
- }
209
- }
210
-
211
- .shareBookmark {
212
- width: 11px;
213
- height: auto;
214
-
215
- cursor: pointer;
216
-
217
- stroke-width: 1.2px;
218
- }
219
-
220
- .isInToolbar.bookmark {
221
- width: 14px;
222
- }
223
-
224
199
  .receipt {
225
200
  width: 10px;
226
201
  height: 13px;
@@ -27,7 +27,7 @@ const podcast: Icons[] = [
27
27
  'speedTwo'
28
28
  ]
29
29
 
30
- const meta: Icons[] = ['card', 'podcast', 'read', 'listened']
30
+ const meta: Icons[] = ['card', 'podcast']
31
31
 
32
32
  const other: Icons[] = [
33
33
  'meduzaLogo',
@@ -37,7 +37,6 @@ const other: Icons[] = [
37
37
  'cross',
38
38
  'link',
39
39
  'user',
40
- 'bookmark',
41
40
  'receipt'
42
41
  ]
43
42
 
@@ -12,7 +12,6 @@ export type SvgSymbolStyleContexts =
12
12
  | 'PodcastMaterial'
13
13
  | 'isInHeader'
14
14
  | 'isInProfile'
15
- | 'isInBookmark'
16
15
 
17
16
  export type Icons =
18
17
  | 'meduzaLogo'
@@ -29,14 +28,12 @@ export type Icons =
29
28
  | 'episodeDownload'
30
29
  | 'play'
31
30
  | 'pause'
32
- | 'shareBookmark'
33
31
  | 'speedHalf'
34
32
  | 'speedThreeQuarters'
35
33
  | 'speedOne'
36
34
  | 'speedOneQuarter'
37
35
  | 'speedOneHalf'
38
36
  | 'speedTwo'
39
- | 'podcastBookmark'
40
37
  | 'reaction'
41
38
  | 'cross'
42
39
  | 'link'
@@ -46,10 +43,7 @@ export type Icons =
46
43
  | 'arrow'
47
44
  | 'brent'
48
45
  | 'user'
49
- | 'bookmark'
50
46
  | 'receipt'
51
- | 'read'
52
- | 'listened'
53
47
 
54
48
  export type Sizes = 'small' | 'normal' | 'medium' | 'large' | 'unset'
55
49
 
@@ -165,13 +165,6 @@ export const icons = {
165
165
  </g>`
166
166
  },
167
167
 
168
- podcastBookmark: {
169
- width: 25,
170
- height: 27,
171
- content:
172
- '<path d="M12.5 27C19.404 27 25 21.404 25 14.5S19.404 2 12.5 2 0 7.596 0 14.5 5.596 27 12.5 27zm0-1.5c-6.075 0-11-4.925-11-11s4.925-11 11-11 11 4.925 11 11-4.925 11-11 11z" /> <path d="M17.071 8.25H8a.75.75 0 00-.75.75v11.545l.007.104a.75.75 0 001.228.468l4.05-3.437 4.051 3.437a.75.75 0 001.235-.572V9a.75.75 0 00-.75-.75zm-.75 1.499v9.176l-3.3-2.8-.098-.07a.75.75 0 00-.873.07l-3.3 2.799V9.749h7.571z" data-stroke="true" /> <path d="M17.071 8.25H8a.75.75 0 00-.75.75v11.545l.007.104a.75.75 0 001.228.468l4.05-3.437 4.051 3.437a.75.75 0 001.235-.572V9a.75.75 0 00-.75-.75z" data-fill="true" />'
173
- },
174
-
175
168
  reaction: {
176
169
  width: 16,
177
170
  height: 16,
@@ -235,20 +228,6 @@ export const icons = {
235
228
  '<path fill="currentColor" fill-rule="nonzero" d="M8 1a4.25 4.25 0 012.676 7.552 6.751 6.751 0 014.074 6.198.75.75 0 11-1.5 0 5.25 5.25 0 00-10.5 0 .75.75 0 11-1.5 0 6.752 6.752 0 014.074-6.199A4.25 4.25 0 018 1zm0 1.5A2.75 2.75 0 108 8a2.75 2.75 0 000-5.5z" />'
236
229
  },
237
230
 
238
- bookmark: {
239
- width: 30,
240
- height: 30,
241
- content:
242
- '<g opacity="1"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 21.8237C24 22.847 24 23.3587 23.7885 23.6299C23.6043 23.8659 23.3242 24.007 23.025 24.0145C22.6811 24.0231 22.27 23.7185 21.4476 23.1094L15.9524 19.0388C15.6105 18.7856 15.4396 18.659 15.2523 18.6101C15.0869 18.567 14.9131 18.567 14.7477 18.6101C14.5604 18.659 14.3895 18.7856 14.0476 19.0388L8.55236 23.1094C7.73003 23.7185 7.31886 24.0231 6.97505 24.0145C6.67581 24.007 6.39566 23.8659 6.21155 23.6299C6 23.3587 6 22.847 6 21.8237V6.6C6 6.03995 6 5.75992 6.10899 5.54601C6.20487 5.35785 6.35785 5.20487 6.54601 5.10899C6.75992 5 7.03995 5 7.6 5H22.4C22.9601 5 23.2401 5 23.454 5.10899C23.6422 5.20487 23.7951 5.35785 23.891 5.54601C24 5.75992 24 6.03995 24 6.6V21.8237Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g>'
243
- },
244
-
245
- shareBookmark: {
246
- width: 11,
247
- height: 15,
248
- content:
249
- '<path clip-rule="evenodd" d="M10 14 5.5 9.667 1 14V1h9v13Z" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round"/>'
250
- },
251
-
252
231
  receipt: {
253
232
  width: 10,
254
233
  height: 13,
@@ -256,18 +235,6 @@ export const icons = {
256
235
  '<g fill="currentColor" fill-rule="nonzero"><path d="M10 0H0v13l2-1.74 1.5 1.305L5 11.26l1.5 1.305L8 11.26 10 13V0zM9 .997v9.81l-1-.87-1.5 1.304L5 9.937 3.5 11.24 2 9.937l-1 .87V.996h8z"/><path d="M7 3v1H3V3zM7 6v1H3V6z"/></g>'
257
236
  },
258
237
 
259
- read: {
260
- width: 15,
261
- height: 15,
262
- content:
263
- '<g fill="none" fill-rule="evenodd"><path opacity=".98" d="M0 0h15v15H0z"/><path d="M13.085 1.694a.513.513 0 01.855.56l-.051.077-3.163 3.975a.514.514 0 01-.73.075l-.068-.069-1.812-2.208a.512.512 0 01.729-.716l.065.066 1.409 1.718 2.766-3.478z" fill="#6EAC65" fill-rule="nonzero"/><path d="M6.454 12.997l-.06-.01-.078-.023a.49.49 0 01-.266-.24l.011.015a2.349 2.349 0 00-.535-.607c-.89-.745-2.117-.917-3.813-.12a.5.5 0 01-.706-.37L1 11.558V4.568a.5.5 0 01.287-.453c2.053-.963 3.695-.733 4.88.26.327.272.556.548.698.77l.084.144.018.04.022.076.01.071L7 11.233l.126-.09c.95-.656 2.16-.857 3.608-.417l.266.087v-2.81a.5.5 0 01.41-.491l.09-.008a.5.5 0 01.492.41l.008.09v3.555a.5.5 0 01-.713.452c-1.696-.796-2.922-.624-3.813.12a2.533 2.533 0 00-.497.544l-.038.064a.486.486 0 01-.485.258zm-4.29-8.17L2 4.892v5.92c1.637-.572 2.977-.348 4 .42l.002-5.58a2.605 2.605 0 00-.476-.513c-.81-.677-1.897-.88-3.362-.314z" fill="currentColor" fill-rule="nonzero"/></g>'
264
- },
265
- listened: {
266
- width: 15,
267
- height: 15,
268
- content:
269
- '<g fill-rule="nonzero"><path d="M4.978 4.354a.5.5 0 01-.332.624c-1.197.367-2.064 1.527-2.14 2.897l-.005.167a.749.749 0 01.999.708v3a.75.75 0 01-1.458.248L2 12a1 1 0 01-1-1v-1a1 1 0 01.5-.866V8.072c0-1.886 1.172-3.535 2.854-4.05a.5.5 0 01.624.332zM10 7a.5.5 0 01.492.41l.008.09.001 1.634a1 1 0 01.492.745L11 10v1a1 1 0 01-.883.993L10 12l-.042-.002a.75.75 0 01-1.451-.146L8.5 11.75v-3a.75.75 0 011.001-.707L9.5 7.5l.008-.09A.5.5 0 0110 7z" fill="currentColor" /><path d="M11.585 1.194a.513.513 0 01.855.56l-.051.077-3.163 3.975a.514.514 0 01-.73.075l-.068-.069-1.812-2.208a.512.512 0 01.729-.716l.065.066 1.409 1.718 2.766-3.478z" fill="#6EAC65" /></g>'
270
- },
271
238
  magic: {
272
239
  width: 15,
273
240
  height: 15,
@@ -26,7 +26,6 @@
26
26
 
27
27
  .large {
28
28
  @media $landscapeTablet {
29
-
30
29
  font-size: 14px;
31
30
  line-height: 16px;
32
31
  letter-spacing: 1px;
@@ -57,7 +56,6 @@
57
56
  .is1to2,
58
57
  .isInSuperBlock {
59
58
  @media $landscapeTablet {
60
-
61
59
  font-size: 12px;
62
60
  line-height: 20px;
63
61
  letter-spacing: 1px;
@@ -67,7 +65,6 @@
67
65
  .is1to3,
68
66
  .is1to4 {
69
67
  @media $landscapeTablet {
70
-
71
68
  font-size: 10px;
72
69
  line-height: 15px;
73
70
  letter-spacing: 0.5px;
@@ -107,6 +104,10 @@
107
104
  }
108
105
  }
109
106
 
107
+ .isInBlockMetaContainer {
108
+ line-height: 15px;
109
+ }
110
+
110
111
  .slide,
111
112
  .game,
112
113
  .card,
@@ -129,10 +130,12 @@
129
130
  }
130
131
 
131
132
  .isInPodcastPlayer {
133
+ margin-bottom: 6px;
134
+
132
135
  font-size: 12px;
133
136
  line-height: 12px;
137
+
134
138
  opacity: 1;
135
- margin-bottom: 6px;
136
139
 
137
140
  @media $mobile {
138
141
  margin-bottom: 6px;