@plusscommunities/pluss-core-app 1.0.7 → 1.1.2

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 (47) hide show
  1. package/assets/icons/reactions/heart.png +0 -0
  2. package/assets/icons/reactions/party.png +0 -0
  3. package/assets/icons/reactions/sad.png +0 -0
  4. package/assets/icons/reactions/smile.png +0 -0
  5. package/package.json +6 -2
  6. package/src/actions/FollowerActions.js +40 -0
  7. package/src/actions/ResidentActions.js +29 -0
  8. package/src/actions/UserActions.js +221 -0
  9. package/src/actions/index.js +3 -0
  10. package/src/actions/types.js +8 -0
  11. package/src/apis/analyticsActions.js +20 -0
  12. package/src/apis/contactActions.js +23 -0
  13. package/src/apis/eventActions.js +147 -0
  14. package/src/apis/followerActions.js +32 -0
  15. package/src/apis/index.js +5 -0
  16. package/src/apis/reactionActions.js +23 -23
  17. package/src/apis/userActions.js +98 -0
  18. package/src/colours.js +6 -6
  19. package/src/components/BackButton.js +57 -0
  20. package/src/components/CategoryTabs.js +182 -0
  21. package/src/components/DropDownItem.js +73 -0
  22. package/src/components/DropDownMenu.js +37 -0
  23. package/src/components/FontScaleButton.js +38 -0
  24. package/src/components/FontScalePopup.js +73 -0
  25. package/src/components/FormattedText.js +131 -0
  26. package/src/components/ImageUploader.js +9 -20
  27. package/src/components/Input.js +187 -0
  28. package/src/components/PlussChat.js +885 -0
  29. package/src/components/PlussChatMessage.js +208 -0
  30. package/src/components/PlussChatTime.js +63 -0
  31. package/src/components/PositionedImage.js +260 -0
  32. package/src/components/Reaction.js +111 -0
  33. package/src/components/Reactions.js +75 -0
  34. package/src/components/StickyFooter.js +34 -0
  35. package/src/components/TextStyle.js +6 -1
  36. package/src/components/Toggle.js +84 -0
  37. package/src/components/TouchableSearchBar.js +62 -0
  38. package/src/components/UserListPopup.js +140 -0
  39. package/src/components/UserListing.js +262 -0
  40. package/src/components/WarningPopup.js +79 -0
  41. package/src/components/index.js +18 -0
  42. package/src/config.js +9 -1
  43. package/src/constants.js +24 -0
  44. package/src/helper.js +199 -29
  45. package/src/index.js +3 -1
  46. package/src/session.js +12 -12
  47. package/src/styles.js +33 -0
@@ -0,0 +1,98 @@
1
+ // import axios from 'axios';
2
+ // import Constants from 'expo-constants';
3
+ import { getUrl } from '../helper';
4
+ import { authedFunction } from '../session';
5
+
6
+ export default {
7
+ // registerUserToken: token => {
8
+ // return authedFunction({
9
+ // method: 'POST',
10
+ // url: getUrl('notifications', 'registerNotificationToken'),
11
+ // data: { token, deviceId: Constants.installationId },
12
+ // });
13
+ // },
14
+ // unregisterUserToken: () => {
15
+ // return authedFunction({
16
+ // method: 'POST',
17
+ // url: getUrl('notifications', 'unregisterNotificationToken'),
18
+ // data: { deviceId: Constants.installationId },
19
+ // });
20
+ // },
21
+ // updateProfile: input => {
22
+ // return authedFunction({
23
+ // method: 'POST',
24
+ // url: getUrl('users', 'updateProfile'),
25
+ // data: {
26
+ // details: input,
27
+ // },
28
+ // });
29
+ // },
30
+ getLinkedUsers: userID => {
31
+ return authedFunction({
32
+ method: 'GET',
33
+ url: getUrl('linkedusers', 'getLinkedTo', { userID }),
34
+ });
35
+ },
36
+ getLinkedToMe: userID => {
37
+ return authedFunction({
38
+ method: 'GET',
39
+ url: getUrl('linkedusers', 'getLinkedToMe', { userID }),
40
+ });
41
+ },
42
+ // getInviteCode: site => {
43
+ // return authedFunction({
44
+ // method: 'GET',
45
+ // url: getUrl('users', 'invite/get', { site }),
46
+ // });
47
+ // },
48
+ // generateInviteCode: site => {
49
+ // return authedFunction({
50
+ // method: 'POST',
51
+ // url: getUrl('users', 'invite/generate'),
52
+ // data: {
53
+ // site,
54
+ // },
55
+ // });
56
+ // },
57
+ // validateInviteCode: code => {
58
+ // return axios({
59
+ // method: 'POST',
60
+ // url: getUrl('users', 'invite/validate'),
61
+ // data: {
62
+ // code,
63
+ // },
64
+ // }).catch(error => {
65
+ // console.log('validateInviteCode error', error);
66
+ // throw error;
67
+ // });
68
+ // },
69
+ // signUpViaInviteCode: (user, code, info) => {
70
+ // return axios({
71
+ // method: 'POST',
72
+ // url: getUrl('users', 'invite/signup'),
73
+ // data: {
74
+ // user,
75
+ // code,
76
+ // info,
77
+ // },
78
+ // }).catch(error => {
79
+ // console.log('signUpViaInviteCode error', error);
80
+ // throw error;
81
+ // });
82
+ // },
83
+ getSiteUsers: site => {
84
+ return authedFunction({
85
+ method: 'GET',
86
+ url: getUrl('users', 'getsite', { site }),
87
+ });
88
+ },
89
+ // getUsers: site => {
90
+ // return authedFunction({
91
+ // method: 'POST',
92
+ // url: getUrl('users', 'get'),
93
+ // data: {
94
+ // site,
95
+ // },
96
+ // });
97
+ // },
98
+ };
package/src/colours.js CHANGED
@@ -7,7 +7,7 @@ const TEXT_BLUEGREY = '#6c7a90';
7
7
  // const TEXT_DARK_ALPHA50 = 'rgba(60, 60, 80, .5)';
8
8
  // const TEXT_DARK_ALPHA20 = 'rgba(60, 60, 80, .2)';
9
9
  // const TEXT_DARK_ALPHA10 = 'rgba(60, 60, 80, .1)';
10
- // const TEXT_MID = '#5a5a6e';
10
+ const TEXT_MID = '#5a5a6e';
11
11
  // const TEXT_MID_ALPHA50 = 'rgba(90, 90, 110, .5)';
12
12
  const TEXT_LIGHT = '#717b81';
13
13
  const TEXT_LIGHTER = 'rgba(113, 123, 129, 0.8)';
@@ -18,7 +18,7 @@ const BOXGREY = '#ebeff2';
18
18
  const PINKISH_GREY = '#c4c4c4';
19
19
  // const PALE_GREY = '#f6f7f9';
20
20
  const INACTIVE_BUTTON = '#d5d9e1';
21
- // const INACTIVE_TEXT = 'rgba(113, 123, 130, 0.8)';
21
+ const INACTIVE_TEXT = 'rgba(113, 123, 130, 0.8)';
22
22
  const COLOUR_TEAL = '#82d6e5';
23
23
  // const COLOUR_TEAL_ALPHA50 = 'rgba(4, 196, 169, 0.2)';
24
24
  // const COLOUR_BLUE = '#0083ee';
@@ -44,7 +44,7 @@ const COLOUR_BRANDING_LIGHT = '#FCE1E1';
44
44
  const COLOUR_BRANDING_DARK = '#D13636';
45
45
  // const COLOUR_DAY = '#89c4f4';
46
46
  // const COLOUR_NIGHT = '#003159';
47
- // const COLOUR_TAN = '#fff3d1';
47
+ const COLOUR_TAN = '#fff3d1';
48
48
 
49
49
  // const hexToRGB = hex => {
50
50
  // // Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF")
@@ -135,7 +135,7 @@ export {
135
135
  // TEXT_DARK_ALPHA50,
136
136
  // TEXT_DARK_ALPHA20,
137
137
  // TEXT_DARK_ALPHA10,
138
- // TEXT_MID,
138
+ TEXT_MID,
139
139
  // TEXT_MID_ALPHA50,
140
140
  TEXT_LIGHT,
141
141
  TEXT_LIGHTER,
@@ -146,7 +146,7 @@ export {
146
146
  BOXGREY,
147
147
  // PALE_GREY,
148
148
  INACTIVE_BUTTON,
149
- // INACTIVE_TEXT,
149
+ INACTIVE_TEXT,
150
150
  COLOUR_TEAL,
151
151
  // COLOUR_TEAL_ALPHA50,
152
152
  // COLOUR_BLUE,
@@ -174,7 +174,7 @@ export {
174
174
  COLOUR_GRAPEFRUIT,
175
175
  // COLOUR_DAY,
176
176
  // COLOUR_NIGHT,
177
- // COLOUR_TAN,
177
+ COLOUR_TAN,
178
178
  // getHeaderBrandingColourFromState,
179
179
  getMainBrandingColourFromState,
180
180
  getDarkBrandingColourFromState,
@@ -0,0 +1,57 @@
1
+ import React, { PureComponent } from 'react';
2
+ import { View, TouchableOpacity } from 'react-native';
3
+ import { connect } from 'react-redux';
4
+ import stylez from '../styles';
5
+ import { Pl60Icon } from '../fonts';
6
+ import { getMainBrandingColourFromState } from '../colours';
7
+
8
+ /*
9
+ Props-
10
+ onPress - onPress action
11
+ diameter - size of button
12
+ color - default will be aveoMain
13
+ style - custom style for container
14
+ */
15
+
16
+ class BackButton extends PureComponent {
17
+ render() {
18
+ const size = this.props.diameter || 32;
19
+ const radius = size / 2;
20
+ if (this.props.noClick) {
21
+ return (
22
+ <View
23
+ style={[
24
+ stylez.backButton,
25
+ { backgroundColor: this.props.colourBrandingMain, height: size, width: size, borderRadius: radius },
26
+ this.props.color && { backgroundColor: this.props.color },
27
+ this.props.style,
28
+ ]}
29
+ >
30
+ <Pl60Icon name={this.props.flipped ? 'chevron_right' : 'chevron_left'} style={[stylez.backButtonIcon, this.props.iconStyle]} />
31
+ </View>
32
+ );
33
+ }
34
+ return (
35
+ <TouchableOpacity
36
+ style={[
37
+ stylez.backButton,
38
+ { backgroundColor: this.props.colourBrandingMain, height: size, width: size, borderRadius: radius },
39
+ this.props.color && { backgroundColor: this.props.color },
40
+ this.props.style,
41
+ ]}
42
+ onPress={this.props.onPress}
43
+ >
44
+ <Pl60Icon name={this.props.flipped ? 'chevron_right' : 'chevron_left'} style={[stylez.backButtonIcon, this.props.iconStyle]} />
45
+ </TouchableOpacity>
46
+ );
47
+ }
48
+ }
49
+
50
+ const mapStateToProps = state => {
51
+ return {
52
+ colourBrandingMain: getMainBrandingColourFromState(state),
53
+ };
54
+ };
55
+
56
+ const backButton = connect(mapStateToProps, {})(BackButton);
57
+ export { backButton as BackButton };
@@ -0,0 +1,182 @@
1
+ import React, { Component } from 'react';
2
+ import _ from 'lodash';
3
+ import { Text, TouchableOpacity, View, ScrollView } from 'react-native';
4
+ import { connect } from 'react-redux';
5
+ import { TEXT_LIGHT, COLOUR_GREEN, getMainBrandingColourFromState } from '../colours';
6
+ import { getSiteSettingFromState } from '../helper';
7
+ // import { HAS_GRADIENT_HEADER } from '../../config';
8
+ import Config from '../config';
9
+
10
+ class CategoryTabs extends Component {
11
+ constructor(props) {
12
+ super(props);
13
+ this.state = {
14
+ categoryKeys: [],
15
+ selectedCategory: this.props.initialCategory,
16
+ };
17
+ }
18
+
19
+ UNSAFE_componentWillMount() {
20
+ this.setState({
21
+ selectedCategory:
22
+ !_.isUndefined(this.props.currentTab) && !_.isEmpty(this.props.currentTab) ? this.props.currentTab : this.props.initialCategory,
23
+ categoryKeys: this.props.categoryKeys,
24
+ });
25
+ }
26
+
27
+ componentDidMount() {
28
+ this.setState({
29
+ selectedCategory:
30
+ !_.isUndefined(this.props.currentTab) && !_.isEmpty(this.props.currentTab) ? this.props.currentTab : this.props.initialCategory,
31
+ });
32
+ }
33
+
34
+ UNSAFE_componentWillReceiveProps(nextProps) {
35
+ if (!_.isUndefined(nextProps.currentTab) && !_.isEmpty(nextProps.currentTab)) {
36
+ this.setState({ selectedCategory: nextProps.currentTab });
37
+ }
38
+ }
39
+
40
+ selectCategory(key) {
41
+ this.setState({
42
+ selectedCategory: key,
43
+ });
44
+ this.props.onSelect(key);
45
+ }
46
+
47
+ renderCounter(key) {
48
+ if (
49
+ this.props.categoryCounter &&
50
+ this.props.categoryCounter[key] &&
51
+ this.props.categoryCounter[key] === true &&
52
+ this.props.counterValues &&
53
+ this.props.counterValues[key] > 0
54
+ ) {
55
+ return (
56
+ <View style={styles.counter}>
57
+ <Text style={styles.counterText}>{this.props.counterValues[key]}</Text>
58
+ </View>
59
+ );
60
+ }
61
+ return null;
62
+ }
63
+
64
+ renderCategories(noScrollStyle) {
65
+ const getTextColour = key => {
66
+ if (this.state.selectedCategory === key) {
67
+ return this.props.headerType !== 'white' ? '#fff' : this.props.colourBrandingMain;
68
+ }
69
+ return this.props.headerType !== 'white' ? '#fff' : TEXT_LIGHT;
70
+ };
71
+ const getBottomBorderColour = key => {
72
+ if (this.state.selectedCategory === key) {
73
+ return this.props.headerType !== 'white' ? '#fff' : this.props.colourBrandingMain;
74
+ }
75
+ return this.props.headerType !== 'white' ? this.props.colourBrandingMain : '#fff';
76
+ };
77
+ return this.state.categoryKeys.map((key, index) => {
78
+ return (
79
+ <TouchableOpacity
80
+ key={index}
81
+ // style={[{ minHeight: this.props.height || 30, justifyContent: 'center' }, noScrollStyle && { flex: 1 }]}
82
+ style={[{ flex: 1, minHeight: this.props.height || 30, justifyContent: 'center' }, this.props.catWrapperStyle]}
83
+ onPress={this.selectCategory.bind(this, key)}
84
+ >
85
+ <View
86
+ style={[
87
+ {
88
+ borderBottomColor: getBottomBorderColour(key),
89
+ borderBottomWidth: noScrollStyle ? 0 : 2,
90
+ marginRight: noScrollStyle ? 0 : 16,
91
+ marginLeft: index === 0 && !noScrollStyle ? 16 : 0,
92
+ justifyContent: 'center',
93
+ alignContent: 'center',
94
+ minHeight: 30,
95
+ flexDirection: 'row',
96
+ backgroundColor: this.props.headerType !== 'white' ? this.props.colourBrandingMain : undefined,
97
+ },
98
+ this.props.style,
99
+ ]}
100
+ >
101
+ <View
102
+ style={[
103
+ noScrollStyle && styles.innerContainer,
104
+ {
105
+ flex: 1,
106
+ borderColor: getBottomBorderColour(key),
107
+ justifyContent: 'center',
108
+ },
109
+ this.props.catStyle,
110
+ ]}
111
+ >
112
+ <Text
113
+ style={[
114
+ {
115
+ fontFamily: 'sf-semibold',
116
+ fontSize: 15,
117
+ color: getTextColour(key),
118
+ textAlign: 'center',
119
+ paddingVertical: 8,
120
+ width: 'auto',
121
+ },
122
+ this.props.textStyle,
123
+ this.props.colourBrandingHeader &&
124
+ this.state.selectedCategory !== key && { color: this.props.colourBrandingMain, opacity: 0.5 },
125
+ ]}
126
+ >
127
+ {key}
128
+ </Text>
129
+ {this.renderCounter(key)}
130
+ </View>
131
+ </View>
132
+ </TouchableOpacity>
133
+ );
134
+ });
135
+ }
136
+
137
+ render() {
138
+ if (this.props.noScroll) {
139
+ // return (<View style={{ flexDirection: 'row', paddingLeft: 16, paddingRight: 16 }}>
140
+ return <View style={{ flexDirection: 'row', justifyContent: 'space-evenly' }}>{this.renderCategories(true)}</View>;
141
+ }
142
+ return <ScrollView horizontal>{this.renderCategories(false)}</ScrollView>;
143
+ }
144
+ }
145
+
146
+ const styles = {
147
+ counter: {
148
+ backgroundColor: COLOUR_GREEN,
149
+ height: 16,
150
+ minWidth: 16,
151
+ borderRadius: 8,
152
+ marginLeft: 4,
153
+ marginTop: 4,
154
+ justifyContent: 'center',
155
+ alignContent: 'center',
156
+ },
157
+ counterText: {
158
+ color: '#fff',
159
+ textAlign: 'center',
160
+ fontSize: 12,
161
+ fontFamily: 'sf-semibold',
162
+ },
163
+ innerContainer: {
164
+ borderBottomWidth: 2,
165
+ flexDirection: 'row',
166
+ paddingHorizontal: 8,
167
+ },
168
+ };
169
+
170
+ const mapStateToProps = state => {
171
+ return {
172
+ colourBrandingMain: getMainBrandingColourFromState(state),
173
+ headerType: getSiteSettingFromState(
174
+ state,
175
+ 'HeaderType',
176
+ getSiteSettingFromState(state, 'UseGradientHeader', Config.env.hasGradientHeader) ? 'gradient' : 'white',
177
+ ),
178
+ };
179
+ };
180
+
181
+ const categoryTabs = connect(mapStateToProps, {})(CategoryTabs);
182
+ export { categoryTabs as CategoryTabs };
@@ -0,0 +1,73 @@
1
+ import React, { Component } from 'react';
2
+ import _ from 'lodash';
3
+ import { Text, TouchableOpacity } from 'react-native';
4
+ import { Icon } from 'react-native-elements';
5
+ import { connect } from 'react-redux';
6
+ import { TEXT_DARK, getMainBrandingColourFromState } from '../colours';
7
+
8
+ class DropDownItem extends Component {
9
+ state = {};
10
+
11
+ renderIcon() {
12
+ if (!_.isUndefined(this.props.icon)) {
13
+ return (
14
+ <Icon
15
+ name={this.props.icon}
16
+ type="font-awesome"
17
+ style={styles.dropDownItem_Icon}
18
+ iconStyle={[styles.dropDownItem_IconStyle, { fontSize: 16, color: this.props.colourBrandingMain }]}
19
+ />
20
+ );
21
+ }
22
+ return null;
23
+ }
24
+
25
+ render() {
26
+ return (
27
+ <TouchableOpacity
28
+ style={[styles.container, this.props.last && { marginBottom: 0 }, this.props.style]}
29
+ onPress={this.props.onPress}
30
+ activeOpacity={0.6}
31
+ >
32
+ {this.renderIcon()}
33
+ <Text style={[styles.text, this.props.textStyle]}>{this.props.text}</Text>
34
+ </TouchableOpacity>
35
+ );
36
+ }
37
+ }
38
+
39
+ const styles = {
40
+ container: {
41
+ flexDirection: 'row',
42
+ marginBottom: 12,
43
+ minHeight: 18,
44
+ width: '100%',
45
+ position: 'relative',
46
+ },
47
+ text: {
48
+ fontFamily: 'sf-medium',
49
+ fontSize: 16,
50
+ lineHeight: 18,
51
+ color: TEXT_DARK,
52
+ backgroundColor: 'transparent',
53
+ },
54
+ dropDownItem_Icon: {
55
+ marginRight: 8,
56
+ width: 18,
57
+ alignSelf: 'center',
58
+ },
59
+ dropDownItem_IconStyle: {
60
+ fontSize: 16,
61
+ lineHeight: 18,
62
+ textAlign: 'center',
63
+ },
64
+ };
65
+
66
+ const mapStateToProps = state => {
67
+ return {
68
+ colourBrandingMain: getMainBrandingColourFromState(state),
69
+ };
70
+ };
71
+
72
+ const dropDownItem = connect(mapStateToProps, {})(DropDownItem);
73
+ export { dropDownItem as DropDownItem };
@@ -0,0 +1,37 @@
1
+ import React, { Component } from 'react';
2
+ import { View } from 'react-native';
3
+
4
+ class DropDownMenu extends Component {
5
+ state = {};
6
+
7
+ render() {
8
+ if (!this.props.visible) {
9
+ return null;
10
+ }
11
+ return <View style={[styles.container, this.props.style]}>{this.props.children}</View>;
12
+ }
13
+ }
14
+
15
+ const styles = {
16
+ container: {
17
+ borderRadius: 2,
18
+ shadowColor: '#000',
19
+ shadowOffset: {
20
+ width: 0,
21
+ height: 2,
22
+ },
23
+ shadowOpacity: 0.2,
24
+ shadowRadius: 4,
25
+ elevation: 4,
26
+ zIndex: 10,
27
+ backgroundColor: '#fff',
28
+ padding: 16,
29
+ paddingVertical: 14,
30
+
31
+ position: 'absolute',
32
+ right: 0,
33
+ top: 0,
34
+ },
35
+ };
36
+
37
+ export { DropDownMenu };
@@ -0,0 +1,38 @@
1
+ import React, { PureComponent } from 'react';
2
+ import { TouchableOpacity, Text } from 'react-native';
3
+ import { TEXT_DARK } from '../colours';
4
+
5
+ /*
6
+ Props-
7
+ style - custom style for container
8
+ */
9
+
10
+ class FontScaleButton extends PureComponent {
11
+ render() {
12
+ return (
13
+ <TouchableOpacity style={[styles.container, this.props.style]} onPress={this.props.onPress}>
14
+ <Text style={styles.text}>
15
+ <Text>A</Text>
16
+ <Text>{` `}</Text>
17
+ <Text style={styles.largeText}>A</Text>
18
+ </Text>
19
+ </TouchableOpacity>
20
+ );
21
+ }
22
+ }
23
+
24
+ const styles = {
25
+ container: {
26
+ padding: 15,
27
+ },
28
+ text: {
29
+ fontFamily: 'sf-medium',
30
+ color: TEXT_DARK,
31
+ fontSize: 14,
32
+ },
33
+ largeText: {
34
+ fontSize: 24,
35
+ },
36
+ };
37
+
38
+ export { FontScaleButton };
@@ -0,0 +1,73 @@
1
+ import React, { PureComponent } from 'react';
2
+ import { TouchableOpacity, Text, View } from 'react-native';
3
+ import { TEXT_DARK, LINEGREY } from '../colours';
4
+
5
+ /*
6
+ Props-
7
+ style - custom style for container
8
+ buttonLeftStyle - custom style for left button
9
+ buttonRightStyle - custom style for right button
10
+ onPressSmall - callback function
11
+ onPressLarge - custom style for right button
12
+ */
13
+
14
+ class FontScalePopup extends PureComponent {
15
+ render() {
16
+ if (!this.props.visible) {
17
+ return null;
18
+ }
19
+ return (
20
+ <View style={[styles.container, this.props.style]}>
21
+ <TouchableOpacity style={[styles.button, styles.buttonLeft, this.props.buttonLeftStyle]} onPress={this.props.onPressSmall}>
22
+ <Text style={styles.smallText}>A</Text>
23
+ </TouchableOpacity>
24
+ <TouchableOpacity style={[styles.button, styles.buttonRight, this.props.buttonRightStyle]} onPress={this.props.onPressLarge}>
25
+ <Text style={styles.largeText}>A</Text>
26
+ </TouchableOpacity>
27
+ </View>
28
+ );
29
+ }
30
+ }
31
+
32
+ const styles = {
33
+ container: {
34
+ flexDirection: 'row',
35
+ borderRadius: 2,
36
+ shadowColor: '#000',
37
+ shadowOffset: {
38
+ width: 0,
39
+ height: 2,
40
+ },
41
+ shadowOpacity: 0.2,
42
+ shadowRadius: 4,
43
+ elevation: 4,
44
+ zIndex: 10,
45
+ backgroundColor: '#fff',
46
+ padding: 2,
47
+ },
48
+ button: {
49
+ height: 50,
50
+ width: 64,
51
+ borderColor: LINEGREY,
52
+ alignItems: 'center',
53
+ justifyContent: 'center',
54
+ },
55
+ buttonLeft: {
56
+ borderRightWidth: 1,
57
+ },
58
+ buttonRight: {
59
+ borderLeftWidth: 1,
60
+ },
61
+ smallText: {
62
+ fontFamily: 'sf-medium',
63
+ color: TEXT_DARK,
64
+ fontSize: 16,
65
+ },
66
+ largeText: {
67
+ fontFamily: 'sf-medium',
68
+ color: TEXT_DARK,
69
+ fontSize: 24,
70
+ },
71
+ };
72
+
73
+ export { FontScalePopup };