vpt-sebraeds 0.0.21 → 0.0.22
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/components/Checkbox/index.jsx +12 -8
- package/components/FilterTag/index.jsx +4 -7
- package/components/Link/index.jsx +9 -5
- package/components/ProgressChart/index.jsx +18 -13
- package/components/Select/index.jsx +69 -59
- package/components/Table/index.jsx +254 -125
- package/components/TaskCard/index.jsx +71 -55
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.js +5 -3
- package/dist/components/FilterTag/index.d.ts.map +1 -1
- package/dist/components/FilterTag/index.js +4 -6
- package/dist/components/Link/index.d.ts.map +1 -1
- package/dist/components/Link/index.js +6 -5
- package/dist/components/ProgressChart/index.d.ts.map +1 -1
- package/dist/components/ProgressChart/index.js +9 -12
- package/dist/components/Select/index.d.ts +4 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +35 -38
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +194 -94
- package/dist/components/TaskCard/index.d.ts +12 -1
- package/dist/components/TaskCard/index.d.ts.map +1 -1
- package/dist/components/TaskCard/index.js +53 -41
- package/package.json +1 -1
|
@@ -2,11 +2,11 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import {
|
|
4
4
|
View,
|
|
5
|
-
Text,
|
|
6
5
|
TouchableOpacity,
|
|
7
6
|
StyleSheet,
|
|
8
7
|
} from 'react-native';
|
|
9
|
-
import Icon from '../Icon'
|
|
8
|
+
import Icon from '../Icon';
|
|
9
|
+
import SEText from '../SEText';
|
|
10
10
|
|
|
11
11
|
const Checkbox = ({ label, checked, disabled, variant, onChange, noBorder = false }) => {
|
|
12
12
|
return (
|
|
@@ -35,12 +35,15 @@ const Checkbox = ({ label, checked, disabled, variant, onChange, noBorder = fals
|
|
|
35
35
|
)}
|
|
36
36
|
</View>
|
|
37
37
|
{label && (
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
<SEText
|
|
39
|
+
type="ns-sm-body"
|
|
40
|
+
style={[
|
|
41
|
+
styles.label,
|
|
42
|
+
disabled && styles.labelDisabled,
|
|
43
|
+
]}
|
|
44
|
+
>
|
|
42
45
|
{label}
|
|
43
|
-
</
|
|
46
|
+
</SEText>
|
|
44
47
|
)}
|
|
45
48
|
</TouchableOpacity>
|
|
46
49
|
);
|
|
@@ -108,6 +111,7 @@ const styles = StyleSheet.create({
|
|
|
108
111
|
color: '#A1A1A1',
|
|
109
112
|
},
|
|
110
113
|
label: {
|
|
114
|
+
fontFamily: 'NunitoSans_10pt-Medium',
|
|
111
115
|
marginLeft: 6,
|
|
112
116
|
fontSize: 14,
|
|
113
117
|
color: '#1F1F1F',
|
|
@@ -117,4 +121,4 @@ const styles = StyleSheet.create({
|
|
|
117
121
|
},
|
|
118
122
|
});
|
|
119
123
|
|
|
120
|
-
export default Checkbox;
|
|
124
|
+
export default Checkbox;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
|
-
import { TouchableOpacity,
|
|
2
|
+
import { TouchableOpacity, StyleSheet, View } from 'react-native';
|
|
3
|
+
import SEText from '../SEText';
|
|
3
4
|
|
|
4
5
|
const FilterTag = ({ label, onRemove }) => {
|
|
5
6
|
const [isHovered, setIsHovered] = useState(false);
|
|
@@ -7,7 +8,6 @@ const FilterTag = ({ label, onRemove }) => {
|
|
|
7
8
|
|
|
8
9
|
const getContainerStyle = () => {
|
|
9
10
|
const baseStyle = [styles.container];
|
|
10
|
-
|
|
11
11
|
if (isHovered) baseStyle.push(styles.containerHovered);
|
|
12
12
|
if (isFocused) baseStyle.push(styles.containerFocused);
|
|
13
13
|
|
|
@@ -24,9 +24,9 @@ const FilterTag = ({ label, onRemove }) => {
|
|
|
24
24
|
activeOpacity={0.8}
|
|
25
25
|
>
|
|
26
26
|
<View style={styles.content}>
|
|
27
|
-
<
|
|
27
|
+
<SEText type="ns-sm-body" style={styles.label}>{label}</SEText>
|
|
28
28
|
<TouchableOpacity onPress={onRemove} style={styles.removeButton}>
|
|
29
|
-
<
|
|
29
|
+
<SEText type="ns-sm-body-bold" style={styles.removeIcon}>×</SEText>
|
|
30
30
|
</TouchableOpacity>
|
|
31
31
|
</View>
|
|
32
32
|
</TouchableOpacity>
|
|
@@ -57,7 +57,6 @@ const styles = StyleSheet.create({
|
|
|
57
57
|
fontSize: 14,
|
|
58
58
|
color: '#4F7CFE',
|
|
59
59
|
marginRight: 4,
|
|
60
|
-
fontFamily: 'Nunito Sans',
|
|
61
60
|
},
|
|
62
61
|
removeButton: {
|
|
63
62
|
padding: 2,
|
|
@@ -65,8 +64,6 @@ const styles = StyleSheet.create({
|
|
|
65
64
|
removeIcon: {
|
|
66
65
|
fontSize: 16,
|
|
67
66
|
color: '#4F7CFE',
|
|
68
|
-
fontWeight: 'bold',
|
|
69
|
-
fontFamily: 'Nunito Sans',
|
|
70
67
|
},
|
|
71
68
|
});
|
|
72
69
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
|
-
import { TouchableOpacity,
|
|
2
|
+
import { TouchableOpacity, StyleSheet, View } from 'react-native';
|
|
3
3
|
import Icon from '../Icon';
|
|
4
|
+
import SEText from '../SEText';
|
|
4
5
|
|
|
5
6
|
const Link = ({ label, onPress, visited = false }) => {
|
|
6
7
|
const [isFocused, setIsFocused] = useState(false);
|
|
@@ -23,7 +24,12 @@ const Link = ({ label, onPress, visited = false }) => {
|
|
|
23
24
|
onPressOut={() => setIsFocused(false)}
|
|
24
25
|
>
|
|
25
26
|
<View style={styles.content}>
|
|
26
|
-
<
|
|
27
|
+
<SEText
|
|
28
|
+
type="ns-sm-body-semibold"
|
|
29
|
+
style={visited ? {...styles.label, ...styles.textVisited} : {...styles.label, ...styles.textDefault}}
|
|
30
|
+
>
|
|
31
|
+
{label}
|
|
32
|
+
</SEText>
|
|
27
33
|
<Icon name="arrow-right-line" size={20} color={visited ? styles.textVisited.color : styles.textDefault.color} />
|
|
28
34
|
</View>
|
|
29
35
|
</TouchableOpacity>
|
|
@@ -34,7 +40,7 @@ const styles = StyleSheet.create({
|
|
|
34
40
|
container: {
|
|
35
41
|
borderRadius: 4,
|
|
36
42
|
paddingVertical: 4,
|
|
37
|
-
paddingHorizontal: 8,
|
|
43
|
+
// paddingHorizontal: 8,
|
|
38
44
|
},
|
|
39
45
|
containerFocused: {
|
|
40
46
|
borderColor: '#6684FF',
|
|
@@ -47,9 +53,7 @@ const styles = StyleSheet.create({
|
|
|
47
53
|
},
|
|
48
54
|
label: {
|
|
49
55
|
fontSize: 14,
|
|
50
|
-
fontWeight: '500',
|
|
51
56
|
marginRight: 4,
|
|
52
|
-
fontFamily: 'Nunito Sans',
|
|
53
57
|
},
|
|
54
58
|
textVisited: {
|
|
55
59
|
color: '#50499D',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { View,
|
|
2
|
+
import { View, StyleSheet } from 'react-native';
|
|
3
|
+
import SEText from '../SEText';
|
|
3
4
|
|
|
4
5
|
export const ProgressChart = ({
|
|
5
6
|
title = "Progresso",
|
|
@@ -33,12 +34,12 @@ export const ProgressChart = ({
|
|
|
33
34
|
{/* Legenda */}
|
|
34
35
|
{showLegend && legend && Array.isArray(legend) && (
|
|
35
36
|
<View style={[styles.legendContainer, { width: tempConfig.width, marginLeft: 8, marginRight: 8 }]}>
|
|
36
|
-
<
|
|
37
|
+
<SEText type="ns-xs-body-semibold" style={styles.legendTitle}>Legenda</SEText>
|
|
37
38
|
<View style={styles.legendItems}>
|
|
38
39
|
{legend.map((item, index) => (
|
|
39
40
|
<View key={index} style={styles.legendItem}>
|
|
40
41
|
<View style={[styles.legendColor, { backgroundColor: item.color }]} />
|
|
41
|
-
<
|
|
42
|
+
<SEText type="ns-xs-body-semibold" style={styles.legendLabel}>{item.label}</SEText>
|
|
42
43
|
</View>
|
|
43
44
|
))}
|
|
44
45
|
</View>
|
|
@@ -98,14 +99,20 @@ export const ProgressChart = ({
|
|
|
98
99
|
{/* Container do título com porcentagem */}
|
|
99
100
|
<View style={styles.titleContainer}>
|
|
100
101
|
{showLabel && title && (
|
|
101
|
-
<
|
|
102
|
+
<SEText
|
|
103
|
+
type={config.titleSize === 14 ? 'ns-sm-body-semibold' : 'ns-xs-body-semibold'}
|
|
104
|
+
style={[styles.title, { fontSize: config.titleSize }]}
|
|
105
|
+
>
|
|
102
106
|
{title}
|
|
103
107
|
{showPercentage && (
|
|
104
|
-
<
|
|
108
|
+
<SEText
|
|
109
|
+
type={config.titleSize === 14 ? 'ns-sm-body-semibold' : 'ns-xs-body-semibold'}
|
|
110
|
+
style={[styles.percentage, { fontSize: config.titleSize }]}
|
|
111
|
+
>
|
|
105
112
|
{' '}{progressPercent}%
|
|
106
|
-
</
|
|
113
|
+
</SEText>
|
|
107
114
|
)}
|
|
108
|
-
</
|
|
115
|
+
</SEText>
|
|
109
116
|
)}
|
|
110
117
|
</View>
|
|
111
118
|
|
|
@@ -162,20 +169,18 @@ const styles = StyleSheet.create({
|
|
|
162
169
|
fontSize: 12,
|
|
163
170
|
fontWeight: '600', // SemiBold como no Figma
|
|
164
171
|
color: '#1B244B', // Cor exata do Figma
|
|
165
|
-
|
|
172
|
+
|
|
166
173
|
},
|
|
167
174
|
titleContainer: {
|
|
168
175
|
marginBottom: 8,
|
|
169
176
|
},
|
|
170
177
|
title: {
|
|
171
|
-
fontWeight: '
|
|
178
|
+
// fontWeight: '800', // SemiBold como no Figma
|
|
172
179
|
color: '#1B244B', // Cor exata do Figma
|
|
173
|
-
|
|
180
|
+
|
|
174
181
|
},
|
|
175
182
|
percentage: {
|
|
176
|
-
fontWeight: '600', // SemiBold como no Figma
|
|
177
183
|
color: '#1B244B', // Cor exata do Figma
|
|
178
|
-
fontFamily: 'Nunito Sans',
|
|
179
184
|
},
|
|
180
185
|
progressTrack: {
|
|
181
186
|
borderRadius: 2, // Conforme especificação do Figma
|
|
@@ -186,4 +191,4 @@ const styles = StyleSheet.create({
|
|
|
186
191
|
},
|
|
187
192
|
});
|
|
188
193
|
|
|
189
|
-
export default ProgressChart;
|
|
194
|
+
export default ProgressChart;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React, { useState,
|
|
2
|
-
import { View,
|
|
1
|
+
import React, { useState, useEffect } from 'react';
|
|
2
|
+
import { View, TouchableOpacity, StyleSheet } from 'react-native';
|
|
3
|
+
import { SEText } from 'vpt-sebraeds';
|
|
3
4
|
import Icon from '../Icon';
|
|
4
5
|
import Dropdown from '../Dropdown';
|
|
5
6
|
|
|
@@ -8,17 +9,19 @@ const Select = ({
|
|
|
8
9
|
placeholder = "Selecione uma opção",
|
|
9
10
|
value,
|
|
10
11
|
onSelect,
|
|
12
|
+
onValueChange, // Manter compatibilidade
|
|
11
13
|
options = [],
|
|
12
14
|
error,
|
|
13
15
|
success,
|
|
14
16
|
disabled,
|
|
15
17
|
supportText,
|
|
16
|
-
variant = "default",
|
|
18
|
+
variant = "default",
|
|
19
|
+
displayMode,
|
|
20
|
+
innerTitle
|
|
17
21
|
}) => {
|
|
18
22
|
const [isOpen, setIsOpen] = useState(false);
|
|
19
23
|
const [selectedOption, setSelectedOption] = useState(value || null);
|
|
20
|
-
|
|
21
|
-
const selectRef = useRef(null);
|
|
24
|
+
|
|
22
25
|
|
|
23
26
|
useEffect(() => {
|
|
24
27
|
if (selectedOption !== value) {
|
|
@@ -28,21 +31,28 @@ const Select = ({
|
|
|
28
31
|
|
|
29
32
|
const toggleDropdown = () => {
|
|
30
33
|
if (!disabled) {
|
|
31
|
-
const toValue = isOpen ? 0 : Math.min(options.length * 48, 240); // Max height 240px
|
|
32
|
-
|
|
33
|
-
Animated.timing(dropdownHeight, {
|
|
34
|
-
toValue,
|
|
35
|
-
duration: 200,
|
|
36
|
-
useNativeDriver: false,
|
|
37
|
-
}).start();
|
|
38
|
-
|
|
39
34
|
setIsOpen(!isOpen);
|
|
40
35
|
}
|
|
41
36
|
};
|
|
42
37
|
|
|
38
|
+
const handleSelect = (option) => {
|
|
39
|
+
console.log("Selected option:", option);
|
|
40
|
+
// setSelectedOption(option.map(option => option.value));
|
|
41
|
+
setSelectedOption(option.value);
|
|
42
|
+
setIsOpen(false);
|
|
43
|
+
|
|
44
|
+
// Compatibilidade com ambas as props
|
|
45
|
+
if (onSelect) {
|
|
46
|
+
onSelect(option);
|
|
47
|
+
}
|
|
48
|
+
// if (onValueChange) {
|
|
49
|
+
// onValueChange(option);
|
|
50
|
+
// }
|
|
51
|
+
};
|
|
52
|
+
|
|
43
53
|
const getContainerStyle = () => {
|
|
44
54
|
const baseStyle = variant === "inverse" ? styles.containerInverse : styles.container;
|
|
45
|
-
|
|
55
|
+
|
|
46
56
|
if (disabled) return [baseStyle, variant === "inverse" ? styles.containerInverseDisabled : styles.containerDisabled];
|
|
47
57
|
if (error) return [baseStyle, variant === "inverse" ? styles.containerInverseError : styles.containerError];
|
|
48
58
|
if (success) return [baseStyle, variant === "inverse" ? styles.containerInverseSuccess : styles.containerSuccess];
|
|
@@ -52,7 +62,7 @@ const Select = ({
|
|
|
52
62
|
|
|
53
63
|
const getLabelStyle = () => {
|
|
54
64
|
const baseStyle = variant === "inverse" ? styles.labelInverse : styles.label;
|
|
55
|
-
|
|
65
|
+
|
|
56
66
|
if (disabled) return [baseStyle, variant === "inverse" ? styles.labelInverseDisabled : styles.labelDisabled];
|
|
57
67
|
if (error) return [baseStyle, variant === "inverse" ? styles.labelInverseError : styles.labelError];
|
|
58
68
|
if (success) return [baseStyle, variant === "inverse" ? styles.labelInverseSuccess : styles.labelSuccess];
|
|
@@ -61,7 +71,7 @@ const Select = ({
|
|
|
61
71
|
|
|
62
72
|
const getTextStyle = () => {
|
|
63
73
|
const baseStyle = variant === "inverse" ? styles.textInverse : styles.text;
|
|
64
|
-
|
|
74
|
+
|
|
65
75
|
if (disabled) return [baseStyle, variant === "inverse" ? styles.textInverseDisabled : styles.textDisabled];
|
|
66
76
|
if (error) return [baseStyle, variant === "inverse" ? styles.textInverseError : styles.textError];
|
|
67
77
|
if (success) return [baseStyle, variant === "inverse" ? styles.textInverseSuccess : styles.textSuccess];
|
|
@@ -70,7 +80,7 @@ const Select = ({
|
|
|
70
80
|
|
|
71
81
|
const getSupportTextStyle = () => {
|
|
72
82
|
const baseStyle = variant === "inverse" ? styles.supportTextInverse : styles.supportText;
|
|
73
|
-
|
|
83
|
+
|
|
74
84
|
if (error) return [baseStyle, variant === "inverse" ? styles.supportTextInverseError : styles.supportTextError];
|
|
75
85
|
if (success) return [baseStyle, variant === "inverse" ? styles.supportTextInverseSuccess : styles.supportTextSuccess];
|
|
76
86
|
return baseStyle;
|
|
@@ -83,53 +93,59 @@ const Select = ({
|
|
|
83
93
|
if (success) return '#52C41A';
|
|
84
94
|
return '#FFFFFF';
|
|
85
95
|
}
|
|
86
|
-
|
|
96
|
+
|
|
87
97
|
if (disabled) return '#BFBFBF';
|
|
88
98
|
if (error) return '#FF4D4F';
|
|
89
99
|
if (success) return '#52C41A';
|
|
90
100
|
return '#687499';
|
|
91
101
|
};
|
|
92
102
|
|
|
93
|
-
|
|
94
103
|
const wrapperStyle = variant === "inverse" ? styles.wrapperInverse : styles.wrapper;
|
|
95
104
|
|
|
96
105
|
return (
|
|
97
106
|
<View style={wrapperStyle}>
|
|
98
|
-
{label && <
|
|
99
|
-
|
|
107
|
+
{label && <SEText type="ns-sm-body" style={getLabelStyle()}>{label}</SEText>}
|
|
108
|
+
|
|
100
109
|
<View style={styles.selectContainer}>
|
|
101
110
|
<TouchableOpacity
|
|
102
|
-
ref={selectRef}
|
|
103
111
|
style={getContainerStyle()}
|
|
104
112
|
onPress={toggleDropdown}
|
|
105
113
|
activeOpacity={disabled ? 1 : 0.7}
|
|
106
114
|
>
|
|
107
|
-
<
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
115
|
+
<SEText
|
|
116
|
+
type="ns-sm-body"
|
|
117
|
+
style={[
|
|
118
|
+
getTextStyle(),
|
|
119
|
+
!selectedOption && (variant === "inverse" ? styles.placeholderTextInverse : styles.placeholderText)
|
|
120
|
+
]}
|
|
121
|
+
numberOfLines={1}
|
|
122
|
+
ellipsizeMode="tail"
|
|
123
|
+
>
|
|
124
|
+
{selectedOption ? (
|
|
125
|
+
selectedOption.label ||
|
|
126
|
+
selectedOption
|
|
127
|
+
) : placeholder}
|
|
128
|
+
</SEText>
|
|
129
|
+
|
|
114
130
|
<Icon
|
|
115
|
-
name={isOpen ? "arrow-up-s-line" : "arrow-down-s-line"}
|
|
131
|
+
name={isOpen ? "arrow-up-s-line" : "arrow-down-s-line"}
|
|
116
132
|
size={20}
|
|
117
|
-
color={getIconColor()}
|
|
133
|
+
color={getIconColor()}
|
|
118
134
|
/>
|
|
119
135
|
</TouchableOpacity>
|
|
120
136
|
|
|
121
|
-
<Dropdown
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
137
|
+
<Dropdown
|
|
138
|
+
title={innerTitle}
|
|
139
|
+
options={options}
|
|
140
|
+
isOpen={isOpen}
|
|
141
|
+
setIsOpen={setIsOpen}
|
|
142
|
+
onSelect={handleSelect}
|
|
143
|
+
displayMode={displayMode}
|
|
144
|
+
selectedValue={selectedOption}
|
|
129
145
|
/>
|
|
130
146
|
</View>
|
|
131
147
|
|
|
132
|
-
|
|
148
|
+
{supportText && <SEText type="ns-xs-body" style={getSupportTextStyle()}>{supportText}</SEText>}
|
|
133
149
|
</View>
|
|
134
150
|
);
|
|
135
151
|
};
|
|
@@ -147,16 +163,15 @@ const styles = StyleSheet.create({
|
|
|
147
163
|
position: 'relative',
|
|
148
164
|
zIndex: 1000,
|
|
149
165
|
},
|
|
150
|
-
|
|
166
|
+
|
|
151
167
|
// DEFAULT VARIANT STYLES
|
|
152
168
|
container: {
|
|
153
169
|
flexDirection: 'row',
|
|
154
170
|
alignItems: 'center',
|
|
155
171
|
justifyContent: 'space-between',
|
|
156
|
-
borderWidth:
|
|
157
|
-
borderColor: '#
|
|
172
|
+
borderWidth: 2,
|
|
173
|
+
borderColor: '#96ACFF',
|
|
158
174
|
borderRadius: 8,
|
|
159
|
-
backgroundColor: '#F5F8FF',
|
|
160
175
|
paddingHorizontal: 12,
|
|
161
176
|
height: 40,
|
|
162
177
|
},
|
|
@@ -177,7 +192,7 @@ const styles = StyleSheet.create({
|
|
|
177
192
|
borderColor: '#E6EEFF',
|
|
178
193
|
backgroundColor: '#F5F5F5',
|
|
179
194
|
},
|
|
180
|
-
|
|
195
|
+
|
|
181
196
|
// INVERSE VARIANT STYLES
|
|
182
197
|
containerInverse: {
|
|
183
198
|
flexDirection: 'row',
|
|
@@ -207,13 +222,12 @@ const styles = StyleSheet.create({
|
|
|
207
222
|
borderColor: 'rgba(255, 255, 255, 0.1)',
|
|
208
223
|
backgroundColor: 'rgba(255, 255, 255, 0.05)',
|
|
209
224
|
},
|
|
210
|
-
|
|
225
|
+
|
|
211
226
|
// LABEL STYLES
|
|
212
227
|
label: {
|
|
213
|
-
fontSize:
|
|
228
|
+
fontSize: 18,
|
|
214
229
|
color: '#333333',
|
|
215
|
-
|
|
216
|
-
fontFamily: 'Nunito Sans',
|
|
230
|
+
marginBottom: 4,
|
|
217
231
|
},
|
|
218
232
|
labelError: {
|
|
219
233
|
color: '#FF4D4F',
|
|
@@ -225,10 +239,8 @@ const styles = StyleSheet.create({
|
|
|
225
239
|
color: '#BFBFBF',
|
|
226
240
|
},
|
|
227
241
|
labelInverse: {
|
|
228
|
-
fontSize:
|
|
242
|
+
fontSize: 18,
|
|
229
243
|
color: '#FFFFFF',
|
|
230
|
-
fontWeight: '500',
|
|
231
|
-
fontFamily: 'Nunito Sans',
|
|
232
244
|
},
|
|
233
245
|
labelInverseError: {
|
|
234
246
|
color: '#FF4D4F',
|
|
@@ -239,13 +251,13 @@ const styles = StyleSheet.create({
|
|
|
239
251
|
labelInverseDisabled: {
|
|
240
252
|
color: 'rgba(255, 255, 255, 0.4)',
|
|
241
253
|
},
|
|
242
|
-
|
|
254
|
+
|
|
243
255
|
// TEXT STYLES
|
|
244
256
|
text: {
|
|
245
257
|
flex: 1,
|
|
246
258
|
fontSize: 14,
|
|
247
259
|
color: '#333333',
|
|
248
|
-
|
|
260
|
+
textTransform: 'capitalize',
|
|
249
261
|
},
|
|
250
262
|
textError: {
|
|
251
263
|
color: '#FF4D4F',
|
|
@@ -260,7 +272,6 @@ const styles = StyleSheet.create({
|
|
|
260
272
|
flex: 1,
|
|
261
273
|
fontSize: 14,
|
|
262
274
|
color: '#FFFFFF',
|
|
263
|
-
fontFamily: 'Nunito Sans',
|
|
264
275
|
},
|
|
265
276
|
textInverseError: {
|
|
266
277
|
color: '#FF4D4F',
|
|
@@ -271,7 +282,7 @@ const styles = StyleSheet.create({
|
|
|
271
282
|
textInverseDisabled: {
|
|
272
283
|
color: 'rgba(255, 255, 255, 0.4)',
|
|
273
284
|
},
|
|
274
|
-
|
|
285
|
+
|
|
275
286
|
// PLACEHOLDER STYLES
|
|
276
287
|
placeholderText: {
|
|
277
288
|
color: '#BFBFBF',
|
|
@@ -279,12 +290,12 @@ const styles = StyleSheet.create({
|
|
|
279
290
|
placeholderTextInverse: {
|
|
280
291
|
color: 'rgba(255, 255, 255, 0.6)',
|
|
281
292
|
},
|
|
282
|
-
|
|
293
|
+
|
|
283
294
|
// SUPPORT TEXT STYLES
|
|
284
295
|
supportText: {
|
|
285
296
|
fontSize: 12,
|
|
286
297
|
color: '#4F7CFE',
|
|
287
|
-
|
|
298
|
+
|
|
288
299
|
},
|
|
289
300
|
supportTextError: {
|
|
290
301
|
color: '#FF4D4F',
|
|
@@ -295,7 +306,6 @@ const styles = StyleSheet.create({
|
|
|
295
306
|
supportTextInverse: {
|
|
296
307
|
fontSize: 12,
|
|
297
308
|
color: 'rgba(255, 255, 255, 0.8)',
|
|
298
|
-
fontFamily: 'Nunito Sans',
|
|
299
309
|
},
|
|
300
310
|
supportTextInverseError: {
|
|
301
311
|
color: '#FF4D4F',
|