vpt-sebraeds 0.0.30 → 0.0.31
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.
|
@@ -106,11 +106,11 @@ const NavigationItem: React.FC<NavigationItemProps> = ({
|
|
|
106
106
|
const getArrowSize = () => {
|
|
107
107
|
switch (size) {
|
|
108
108
|
case 'small':
|
|
109
|
-
return 11;
|
|
109
|
+
return 11;
|
|
110
110
|
case 'large':
|
|
111
|
-
return
|
|
111
|
+
return 20;
|
|
112
112
|
default:
|
|
113
|
-
return
|
|
113
|
+
return 20;
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
|
|
@@ -179,10 +179,10 @@ const NavigationItem: React.FC<NavigationItemProps> = ({
|
|
|
179
179
|
|
|
180
180
|
{layout === 'expanded' && description ? (
|
|
181
181
|
<View style={styles.textContainer}>
|
|
182
|
-
<SEText
|
|
183
|
-
type="ns-sm-body-semibold"
|
|
184
|
-
color={variant === 'disabled' ? '#9CA3AF' : textColor || '#1B244B'}
|
|
185
|
-
style={styles.labelExpanded}
|
|
182
|
+
<SEText
|
|
183
|
+
type="ns-sm-body-semibold"
|
|
184
|
+
color={variant === 'disabled' ? '#9CA3AF' : textColor || '#1B244B'}
|
|
185
|
+
style={styles.labelExpanded}
|
|
186
186
|
numberOfLines={1}
|
|
187
187
|
>
|
|
188
188
|
{label}
|
|
@@ -199,10 +199,10 @@ const NavigationItem: React.FC<NavigationItemProps> = ({
|
|
|
199
199
|
{label}
|
|
200
200
|
</SEText>
|
|
201
201
|
) : (
|
|
202
|
-
<SEText
|
|
203
|
-
type="ns-sm-body-semibold"
|
|
204
|
-
color={variant === 'disabled' ? '#9CA3AF' : variant === 'selected' ? '#1B244B' : textColor || '#1B244B'}
|
|
205
|
-
style={labelStyle}
|
|
202
|
+
<SEText
|
|
203
|
+
type="ns-sm-body-semibold"
|
|
204
|
+
color={variant === 'disabled' ? '#9CA3AF' : variant === 'selected' ? '#1B244B' : textColor || '#1B244B'}
|
|
205
|
+
style={labelStyle}
|
|
206
206
|
numberOfLines={1}
|
|
207
207
|
>
|
|
208
208
|
{label}
|
|
@@ -359,7 +359,7 @@ const styles = StyleSheet.create({
|
|
|
359
359
|
width: 48,
|
|
360
360
|
height: 48,
|
|
361
361
|
borderRadius: 12,
|
|
362
|
-
alignSelf: '
|
|
362
|
+
alignSelf: 'center',
|
|
363
363
|
},
|
|
364
364
|
iconContainerHidden: {
|
|
365
365
|
width: 0,
|
|
@@ -64,11 +64,11 @@ const NavigationItem = ({ iconName, label, variant = 'default', size = 'medium',
|
|
|
64
64
|
const getArrowSize = () => {
|
|
65
65
|
switch (size) {
|
|
66
66
|
case 'small':
|
|
67
|
-
return 11;
|
|
67
|
+
return 11;
|
|
68
68
|
case 'large':
|
|
69
|
-
return
|
|
69
|
+
return 20;
|
|
70
70
|
default:
|
|
71
|
-
return
|
|
71
|
+
return 20;
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
const getBadgeStyle = () => {
|
|
@@ -260,7 +260,7 @@ const styles = StyleSheet.create({
|
|
|
260
260
|
width: 48,
|
|
261
261
|
height: 48,
|
|
262
262
|
borderRadius: 12,
|
|
263
|
-
alignSelf: '
|
|
263
|
+
alignSelf: 'center',
|
|
264
264
|
},
|
|
265
265
|
iconContainerHidden: {
|
|
266
266
|
width: 0,
|