@quintype/native-components 2.22.3 → 2.22.5-beta.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 (44) hide show
  1. package/package.json +1 -1
  2. package/src/components/AlsoRead/index.js +4 -4
  3. package/src/components/AuthorRow/index.js +3 -3
  4. package/src/components/BackNavigator/index.js +6 -6
  5. package/src/components/Button/index.js +1 -1
  6. package/src/components/CollectionCard/index.js +20 -10
  7. package/src/components/CollectionTitle/index.js +19 -38
  8. package/src/components/CollectionTitle/styles.js +11 -13
  9. package/src/components/CustomSwitch/index.js +4 -4
  10. package/src/components/DailyMotionPlayer/index.js +2 -2
  11. package/src/components/Header/index.js +2 -2
  12. package/src/components/Html/index.js +4 -4
  13. package/src/components/IconText/index.js +4 -4
  14. package/src/components/JSEmbedElement/index.js +3 -3
  15. package/src/components/LightBoxImage/index.js +2 -2
  16. package/src/components/PDFReader/index.js +8 -7
  17. package/src/components/PrimaryStoryCard/index.js +44 -63
  18. package/src/components/PrimaryStoryCard/styles.js +32 -28
  19. package/src/components/RadioButton/index.js +3 -3
  20. package/src/components/Rating/index.js +1 -1
  21. package/src/components/RelatedStoriesCard/index.js +3 -13
  22. package/src/components/SecondaryStoryCard/index.js +37 -62
  23. package/src/components/SecondaryStoryCard/styles.js +37 -34
  24. package/src/components/Story/index.js +12 -13
  25. package/src/components/StoryHeader/index.js +8 -8
  26. package/src/components/StoryText/index.js +5 -2
  27. package/src/components/Text/index.js +3 -1
  28. package/src/components/TextA/index.js +4 -4
  29. package/src/components/TextBigFact/index.js +4 -4
  30. package/src/components/TextBlockQuote/index.js +5 -5
  31. package/src/components/TextBlurb/index.js +3 -3
  32. package/src/components/TextQandA/index.js +2 -3
  33. package/src/components/index.js +0 -4
  34. package/src/components/CollectionCardNew/index.js +0 -84
  35. package/src/components/CollectionTitle/CollectionTitle.test.js +0 -12
  36. package/src/components/CollectionTitle/__snapshots__/CollectionTitle.test.js.snap +0 -3
  37. package/src/components/CollectionTitleNew/index.js +0 -44
  38. package/src/components/CollectionTitleNew/styles.js +0 -20
  39. package/src/components/PrimaryStoryCard/PrimaryStoryCard.test.js +0 -43
  40. package/src/components/PrimaryStoryCardNew/index.js +0 -134
  41. package/src/components/PrimaryStoryCardNew/styles.js +0 -70
  42. package/src/components/SecondaryStoryCard/SecondaryStoryCard.test.js +0 -51
  43. package/src/components/SecondaryStoryCardNew/index.js +0 -140
  44. package/src/components/SecondaryStoryCardNew/styles.js +0 -82
@@ -1,44 +0,0 @@
1
- import PropTypes from 'prop-types';
2
- import React, { useContext, memo } from 'react';
3
- import {
4
- TextStyle,
5
- TouchableOpacity,
6
- TouchableOpacityProps,
7
- StyleSheet,
8
- } from 'react-native';
9
- import { Text } from '../index';
10
- import { collectionTitleStyles } from './styles';
11
- import { AppTheme } from '../../utils';
12
-
13
- const CollectionTitleNewBase = (props) => {
14
- const { theme } = useContext(AppTheme);
15
- const styles = collectionTitleStyles(theme);
16
- const containerStyle = StyleSheet.flatten([
17
- styles.container,
18
- { paddingHorizontal: props.horizontalPadding },
19
- ]);
20
- const titleStyle = StyleSheet.flatten([styles.title, props.titleStyle]);
21
-
22
- if (!props.title) {
23
- return null;
24
- }
25
-
26
- return (
27
- <TouchableOpacity style={containerStyle} onPress={props.onPress}>
28
- <Text style={titleStyle}>{props.title}</Text>
29
- </TouchableOpacity>
30
- );
31
- };
32
-
33
- CollectionTitleNewBase.propTypes = TouchableOpacityProps
34
- && {
35
- title: PropTypes.string,
36
- titleStyle: TextStyle,
37
- horizontalPadding: PropTypes.number,
38
- };
39
-
40
- CollectionTitleNewBase.defaultProps = {
41
- horizontalPadding: 12,
42
- };
43
-
44
- export const CollectionTitleNew = memo(CollectionTitleNewBase);
@@ -1,20 +0,0 @@
1
- import { StyleSheet } from 'react-native';
2
-
3
- export const collectionTitleStyles = (appThemeContext) => {
4
- const { COLORS, FONT_SIZE, FONT_FAMILY } = appThemeContext;
5
-
6
- return StyleSheet.create({
7
- container: {
8
- justifyContent: 'center',
9
- backgroundColor: COLORS.BRAND_WHITE,
10
- paddingHorizontal: 12,
11
- paddingVertical: 8,
12
- marginTop: 8,
13
- },
14
- title: {
15
- fontSize: FONT_SIZE.h3,
16
- fontFamily: FONT_FAMILY.secondaryBold,
17
- color: COLORS.BRAND_5,
18
- },
19
- });
20
- };
@@ -1,43 +0,0 @@
1
- import { cleanup, render, fireEvent } from '@testing-library/react-native';
2
- import React from 'react';
3
- import 'react-native';
4
- import { mockContext } from '../../utils';
5
- import { PrimaryStoryCard } from './index';
6
- import { data } from '../../constants/test-data/story.json';
7
- import { COMP_GENERAL_CONSTANTS } from '../../constants/component-constants/general-constants/constants';
8
-
9
- const storyData = data.story;
10
- const onPress = jest.fn();
11
-
12
- describe('Test Primary Story Card :', () => {
13
- afterEach(cleanup);
14
- test('renders author name properly', () => {
15
- const { getByTestId } = render(
16
- mockContext(<PrimaryStoryCard story={storyData} />),
17
- );
18
- const element = getByTestId(COMP_GENERAL_CONSTANTS.primaryStoryAuthor);
19
- expect(element.props.children).toBe('By Raghavendra Vaidya | ');
20
- });
21
- test('renders story headline properly', () => {
22
- const { getByTestId } = render(
23
- mockContext(<PrimaryStoryCard story={storyData} />),
24
- );
25
- const element = getByTestId(COMP_GENERAL_CONSTANTS.primaryStoryHeadline);
26
- expect(element.props.children).toBe('Jack and jill');
27
- });
28
- test('renders story publish date properly', () => {
29
- const { getByTestId } = render(
30
- mockContext(<PrimaryStoryCard story={storyData} />),
31
- );
32
- const element = getByTestId(COMP_GENERAL_CONSTANTS.primaryStoryPubishedAt);
33
- expect(element.props.children).toBe('1 Feb, 2021');
34
- });
35
- test('OnPress handler called properly', () => {
36
- const { getByTestId } = render(
37
- mockContext(<PrimaryStoryCard story={storyData} onPress={onPress} />),
38
- );
39
- const element = getByTestId(COMP_GENERAL_CONSTANTS.primaryStoryCard);
40
- fireEvent(element, 'press');
41
- expect(onPress).toHaveBeenCalled();
42
- });
43
- });
@@ -1,134 +0,0 @@
1
- import { get, throttle } from 'lodash';
2
- import PropTypes from 'prop-types';
3
- import React, { useContext, memo } from 'react';
4
- import { StyleSheet, TouchableOpacity, View } from 'react-native';
5
- import Icon from 'react-native-vector-icons/FontAwesome';
6
- import {
7
- AppTheme,
8
- getImageMetadata,
9
- getImageSlug,
10
- } from '../../utils';
11
- import { getStoryHeadline } from '../../utils/story';
12
- import { ResponsiveImage, Text, StoryCardDetailsRow } from '../index';
13
- import { storyStyles } from './styles';
14
- import {
15
- COMP_GENERAL_CONSTANTS,
16
- COMP_CONTENT_CONSTANTS,
17
- } from '../../constants/component-constants';
18
- import PremiumIcons from '../../Icons/PremiumIcons/index';
19
-
20
- const PrimaryStoryCardNewBase = (props) => {
21
- const { story = {} } = props;
22
- const { theme } = useContext(AppTheme);
23
- const {
24
- COLORS,
25
- FONT_SIZE,
26
- FONT_FAMILY,
27
- premiumIcon,
28
- lineHeightMultiplier,
29
- storyCardOptions = {},
30
- } = theme || {};
31
-
32
- const styles = storyStyles(theme);
33
- const containerStyle = StyleSheet.flatten([
34
- styles.container,
35
- { paddingHorizontal: props.horizontalPadding },
36
- ]);
37
- const headlineStyle = StyleSheet.flatten([
38
- styles.headline,
39
- props.headlineStyle,
40
- ]);
41
-
42
- const isPremiumStory = story['access'] === 'subscription';
43
-
44
- const throttledOnpress = throttle(props.onPress, 1000);
45
-
46
- const showIcon = (name) => (
47
- <View style={styles.storyType}>
48
- <Icon name={name} size={22} color={COLORS.MONO7} />
49
- </View>
50
- );
51
-
52
- const showLiveBlogIcon = () => (
53
- <View style={styles.storyType}>
54
- <View style={styles.liveBlogIcon} />
55
- <Text style={styles.liveBlogText}>LIVE</Text>
56
- </View>
57
- );
58
- const showStoryType = () => {
59
- switch (story['story-template']) {
60
- case 'text':
61
- return null;
62
- case 'photo':
63
- return showIcon('photo');
64
- case 'video':
65
- return showIcon('play');
66
- case 'live-blog':
67
- return showLiveBlogIcon();
68
- default:
69
- null;
70
- }
71
- };
72
-
73
- return (
74
- <>
75
- <TouchableOpacity
76
- testID={COMP_GENERAL_CONSTANTS.primaryStoryCard}
77
- onPress={throttledOnpress}
78
- activeOpacity={0.8}
79
- style={containerStyle}
80
- >
81
- <ResponsiveImage
82
- metaData={getImageMetadata(story)}
83
- slug={getImageSlug(story)}
84
- cdn={props.cdn}
85
- imageWidth={props.imageWidth}
86
- >
87
- <View style={styles.storyTypeContainer}>{showStoryType()}</View>
88
- </ResponsiveImage>
89
- <View style={styles.contentContainer}>
90
- <View style={styles.headlineAndTimestampContainer}>
91
- {storyCardOptions.enableSectionName && <Text numberOfLines={1} ellipsizeMode="tail" style={styles.sectionName}>{get(story, ['sections', 0, 'display-name'], '')}</Text>}
92
- <View style={{display:'flex', flexDirection:'row'}}>
93
- <Text
94
- primary
95
- numberOfLines={storyCardOptions.numberOfLinesForTitle}
96
- ellipsizeMode="tail"
97
- style={headlineStyle}
98
- testID={COMP_GENERAL_CONSTANTS.primaryStoryHeadline}
99
- >
100
- {isPremiumStory && premiumIcon !=='none' && <PremiumIcons style={styles.premiumIcon} name={premiumIcon} color={COLORS.primary} size={FONT_SIZE.h2} /> }
101
- {isPremiumStory && premiumIcon !=='none' && ' '}
102
- {getStoryHeadline(story)}
103
- </Text>
104
- </View>
105
- <StoryCardDetailsRow
106
- authorName={get(story.authors, [0, 'name'])}
107
- publishedAt={story["published-at"]}
108
- readTime={story['read-time']}
109
- />
110
- </View>
111
- <View style={styles.icon}>{props.iconComponent}</View>
112
- </View>
113
- </TouchableOpacity>
114
- <View style={[styles.separatorLine, {marginHorizontal: props.horizontalPadding}]}/>
115
- </>
116
- );
117
- };
118
-
119
- PrimaryStoryCardNewBase.propTypes = {
120
- cdn: PropTypes.string,
121
- imageWidth: PropTypes.number,
122
- headlineStyle: PropTypes.func,
123
- story: PropTypes.object.isRequired,
124
- onPress: PropTypes.func,
125
- horizontalPadding: PropTypes.number,
126
- iconComponent: PropTypes.element,
127
- };
128
-
129
- PrimaryStoryCardNewBase.defaultProps = {
130
- cdn: '',
131
- horizontalPadding: 12,
132
- };
133
-
134
- export const PrimaryStoryCardNew = memo(PrimaryStoryCardNewBase);
@@ -1,70 +0,0 @@
1
- export const storyStyles = ({COLORS, FONT_SIZE, FONT_FAMILY, lineHeightMultiplier, storyCardOptions = {}}) => ({
2
- container: {
3
- backgroundColor: COLORS.BRAND_WHITE,
4
- paddingVertical: 10,
5
- gap: 10,
6
- },
7
- contentContainer: {
8
- flexDirection: 'row',
9
- justifyContent: 'space-between',
10
- alignItems: 'flex-start',
11
- gap: 10,
12
- },
13
- headlineAndTimestampContainer: {
14
- flexShrink: 1,
15
- gap: 4,
16
- },
17
- icon: {
18
- marginBottom: 4,
19
- marginTop: storyCardOptions.enableSectionName ? FONT_SIZE.h4 * lineHeightMultiplier + 8 : 4,
20
- },
21
- sectionName: {
22
- color: COLORS.BRAND_1,
23
- fontSize: FONT_SIZE.h4,
24
- lineHeight: FONT_SIZE.h4 * lineHeightMultiplier,
25
- },
26
- headline: {
27
- fontFamily: FONT_FAMILY.primaryBold,
28
- fontSize: FONT_SIZE.title,
29
- lineHeight: FONT_SIZE.title * lineHeightMultiplier,
30
- color: COLORS.BRAND_BLACK,
31
- marginBottom: 4,
32
- },
33
- storyTypeContainer: {
34
- position: 'absolute',
35
- bottom: 0,
36
- left: 0,
37
- },
38
- storyType: {
39
- backgroundColor: COLORS.MONO1,
40
- padding: 8,
41
- justifyContent: 'space-between',
42
- alignItems: 'space-between',
43
- flexDirection: 'row',
44
- },
45
- storyTypeText: {
46
- color: COLORS.MONO7,
47
- fontSize: FONT_SIZE.h5,
48
- },
49
- liveBlogText: {
50
- color: COLORS.MONO7,
51
- fontSize: FONT_SIZE.h4,
52
- marginLeft: 10,
53
- fontWeight: 'bold',
54
- },
55
- liveBlogIcon: {
56
- height: 15,
57
- width: 15,
58
- borderRadius: 50,
59
- backgroundColor: COLORS.BRAND_3,
60
- },
61
- premiumIcon: {
62
- marginTop: FONT_SIZE.h3 * 0.92,
63
- marginRight: 5,
64
- },
65
- separatorLine: {
66
- height: 0.8,
67
- opacity: 0.1,
68
- backgroundColor: COLORS.BRAND_BLACK,
69
- },
70
- });
@@ -1,51 +0,0 @@
1
- import { cleanup, render, fireEvent } from '@testing-library/react-native';
2
- import React from 'react';
3
- import 'react-native';
4
- import { mockContext } from '../../utils';
5
- import { SecondaryStoryCard } from './index';
6
- import { data } from '../../constants/test-data/story.json';
7
- import { COMP_GENERAL_CONSTANTS } from '../../constants/component-constants/general-constants/constants';
8
-
9
- const storyData = data.story;
10
- const onPress = jest.fn();
11
-
12
- describe('Test Secondary Story Card :', () => {
13
- afterEach(cleanup);
14
- test('renders author name properly', () => {
15
- const { getByTestId } = render(
16
- mockContext(<SecondaryStoryCard story={storyData} />),
17
- );
18
- const element = getByTestId(COMP_GENERAL_CONSTANTS.secondaryStoryAuthor);
19
- expect(element.props.children).toBe('By Raghavendra Vaidya | ');
20
- });
21
- test('renders story headline properly', () => {
22
- const { getByTestId } = render(
23
- mockContext(<SecondaryStoryCard story={storyData} />),
24
- );
25
- const element = getByTestId(COMP_GENERAL_CONSTANTS.secondaryStoryHeadline);
26
- expect(element.props.children).toBe('Jack and jill');
27
- });
28
- test('renders story date properly', () => {
29
- const { getByTestId } = render(
30
- mockContext(<SecondaryStoryCard story={storyData} />),
31
- );
32
- const element = getByTestId(
33
- COMP_GENERAL_CONSTANTS.secondaryStoryPubishedAt,
34
- );
35
- expect(element.props.children).toBe('1 Feb, 2021');
36
- });
37
- test('OnPress handler called properly', () => {
38
- const { getByTestId } = render(
39
- mockContext(
40
- <SecondaryStoryCard
41
- story={storyData}
42
- onPress={onPress}
43
- collectionTestID="secondaryStoryCardView"
44
- />,
45
- ),
46
- );
47
- const element = getByTestId(COMP_GENERAL_CONSTANTS.secondaryStoryCard);
48
- fireEvent(element, 'press');
49
- expect(onPress).toHaveBeenCalled();
50
- });
51
- });
@@ -1,140 +0,0 @@
1
- import { get, isNull, throttle } from 'lodash';
2
- import PropTypes from 'prop-types';
3
- import React, { useContext, memo } from 'react';
4
- import {
5
- StyleSheet,
6
- TouchableOpacity,
7
- View,
8
- TextStyle,
9
- TouchableOpacityProps,
10
- } from 'react-native';
11
- import Icon from 'react-native-vector-icons/FontAwesome';
12
- import {
13
- AppTheme,
14
- getImageMetadata,
15
- getImageSlug,
16
- } from '../../utils';
17
- import { getStoryHeadline } from '../../utils/story';
18
- import { ResponsiveImage, Text, StoryCardDetailsRow } from '../index';
19
- import { storyStyles } from './styles';
20
- import {
21
- COMP_GENERAL_CONSTANTS,
22
- COMP_CONTENT_CONSTANTS,
23
- } from '../../constants/component-constants';
24
- import PremiumIcons from '../../Icons/PremiumIcons/index';
25
-
26
- const SecondaryStoryCardNewBase = (props) => {
27
- const { story = {} } = props;
28
- const { theme } = useContext(AppTheme);
29
- const {
30
- COLORS,
31
- premiumIcon,
32
- FONT_SIZE,
33
- storyCardOptions = {},
34
- } = theme;
35
-
36
- const styles = storyStyles(theme);
37
- const containerStyle = StyleSheet.flatten([
38
- styles.container,
39
- { paddingHorizontal: props.horizontalPadding },
40
- ]);
41
- const headlineStyle = StyleSheet.flatten([
42
- styles.headline,
43
- props.headlineStyle,
44
- ]);
45
-
46
- const isPremiumStory = story['access'] === 'subscription';
47
-
48
- const throttledOnpress = throttle(props.onPress, 1000);
49
-
50
- const showIcon = (name) => (
51
- <View style={styles.storyType}>
52
- <Icon name={name} size={14} color={COLORS.MONO7} />
53
- </View>
54
- );
55
-
56
- const showLiveBlogIcon = () => (
57
- <View style={styles.storyType}>
58
- <View style={styles.liveBlogIcon} />
59
- <Text style={styles.liveBlogText}>LIVE</Text>
60
- </View>
61
- );
62
-
63
- const showStoryType = () => {
64
- switch (story['story-template']) {
65
- case 'text':
66
- return null;
67
- case 'photo':
68
- return showIcon('photo');
69
- case 'video':
70
- return showIcon('play');
71
- case 'live-blog':
72
- return showLiveBlogIcon();
73
- default:
74
- null;
75
- }
76
- };
77
-
78
- return (
79
- <>
80
- <TouchableOpacity
81
- testID={COMP_GENERAL_CONSTANTS.secondaryStoryCard}
82
- onPress={throttledOnpress}
83
- activeOpacity={0.8}
84
- style={containerStyle}
85
- >
86
- <View style={[styles.imageAndDetails, storyCardOptions.alignSmallCardImage === "right" && { flexDirection: 'row-reverse'}]}>
87
- {storyCardOptions.enableSmallCardImage && (<ResponsiveImage
88
- styles={styles.image}
89
- metaData={getImageMetadata(story)}
90
- slug={getImageSlug(story) || ''}
91
- cdn={props.cdn || ''}
92
- imageWidth={props.imageWidth}
93
- >
94
- <View style={styles.storyTypeContainer}>{showStoryType()}</View>
95
- </ResponsiveImage>)
96
- }
97
- <View style={styles.headlineAndTimestampBlockContainer}>
98
- {storyCardOptions.enableSectionName && <Text numberOfLines={1} ellipsizeMode="tail" style={styles.sectionName}>{get(story, ['sections', 0, 'display-name'], '')}</Text>}
99
- <View style={{display:'flex', flexDirection:'row'}}>
100
- <Text
101
- primary
102
- numberOfLines={storyCardOptions.numberOfLinesForTitle}
103
- ellipsizeMode="tail"
104
- style={headlineStyle}
105
- testID={COMP_GENERAL_CONSTANTS.secondaryStoryHeadline}
106
- >
107
- {isPremiumStory && premiumIcon !=='none' && <PremiumIcons style={styles.premiumIcon} name={premiumIcon} color={COLORS.primary} size={FONT_SIZE.h4} />}
108
- {isPremiumStory && premiumIcon !=='none' && ' '}
109
- {getStoryHeadline(story)?.trim()}
110
- </Text>
111
- </View>
112
- <StoryCardDetailsRow
113
- authorName={get(story.authors, [0, 'name'])}
114
- publishedAt={story["published-at"]}
115
- readTime={story['read-time']}
116
- />
117
- </View>
118
- </View>
119
- <View style={styles.icon}>{props.iconComponent}</View>
120
- </TouchableOpacity>
121
- <View style={[styles.separatorLine, { marginHorizontal: props.horizontalPadding }]}/>
122
- </>
123
- );
124
- };
125
-
126
- SecondaryStoryCardNewBase.propTypes = TouchableOpacityProps && {
127
- cdn: PropTypes.string.isRequired,
128
- imageWidth: PropTypes.number,
129
- headlineStyle: TextStyle,
130
- story: PropTypes.any.isRequired,
131
- iconComponent: PropTypes.element,
132
- horizontalPadding: PropTypes.number,
133
- };
134
-
135
- SecondaryStoryCardNewBase.defaultProps = {
136
- cdn: '',
137
- horizontalPadding: 12,
138
- };
139
-
140
- export const SecondaryStoryCardNew = memo(SecondaryStoryCardNewBase);
@@ -1,82 +0,0 @@
1
- import { StyleSheet } from 'react-native';
2
-
3
- export const storyStyles = ({ COLORS, FONT_SIZE, FONT_FAMILY, lineHeightMultiplier, storyCardOptions = {} }) => StyleSheet.create({
4
- container: {
5
- flexDirection: 'row',
6
- justifyContent: 'space-between',
7
- backgroundColor: COLORS.BRAND_WHITE,
8
- paddingVertical: 10,
9
- alignItems: 'flex-start',
10
- gap: 10,
11
- },
12
- imageAndDetails: {
13
- flexDirection: 'row',
14
- flexShrink: 1,
15
- alignItems: 'flex-start',
16
- gap: 10,
17
- },
18
- image: {
19
- marginBottom: 4,
20
- marginTop: storyCardOptions.enableSectionName ? FONT_SIZE.h4 * lineHeightMultiplier + 8 : 4,
21
- },
22
- icon: {
23
- marginBottom: 4,
24
- marginTop: storyCardOptions.enableSectionName ? FONT_SIZE.h4 * lineHeightMultiplier + 8 : 4,
25
- },
26
- headlineAndTimestampBlockContainer: {
27
- flexShrink: 1,
28
- flexGrow: 1,
29
- gap: 4,
30
- justifyContent: 'space-between',
31
- },
32
- sectionName: {
33
- color: COLORS.BRAND_1,
34
- fontSize: FONT_SIZE.h4,
35
- lineHeight: FONT_SIZE.h4 * lineHeightMultiplier,
36
- },
37
- headline: {
38
- color: COLORS.BRAND_BLACK,
39
- flexWrap: 'wrap',
40
- fontSize: FONT_SIZE.h3,
41
- fontFamily: FONT_FAMILY.primaryBold,
42
- lineHeight: FONT_SIZE.h3 * lineHeightMultiplier,
43
- marginBottom: 4,
44
- },
45
- storyTypeContainer: {
46
- position: 'absolute',
47
- backgroundColor: COLORS.MONO1,
48
- bottom: 0,
49
- left: 0,
50
- },
51
- storyType: {
52
- padding: 5,
53
- justifyContent: 'space-between',
54
- alignItems: 'center',
55
- flexDirection: 'row',
56
- },
57
- storyTypeText: {
58
- color: COLORS.MONO7,
59
- fontSize: FONT_SIZE.h5,
60
- },
61
- liveBlogText: {
62
- color: COLORS.MONO7,
63
- fontSize: FONT_SIZE.h5,
64
- marginLeft: 4,
65
- fontWeight: 'bold',
66
- },
67
- liveBlogIcon: {
68
- height: 12,
69
- width: 12,
70
- borderRadius: 50,
71
- backgroundColor: COLORS.BRAND_3,
72
- },
73
- premiumIcon: {
74
- marginTop: FONT_SIZE.h3 * 0.45,
75
- marginRight: 3,
76
- },
77
- separatorLine: {
78
- height: 0.8,
79
- opacity: 0.1,
80
- backgroundColor: COLORS.BRAND_BLACK,
81
- },
82
- });