vpt-sebraeds 0.0.57 → 0.0.58
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/AccordionAvatar/index.jsx +3 -2
- package/components/BottomSheet/BottomSheetNomeEmpresa.jsx +5 -4
- package/components/BottomSheet/Components/ActionButtons.jsx +2 -1
- package/components/BottomSheet/Components/ListaDeEstados.jsx +3 -2
- package/components/CommitmentCard/index.jsx +9 -8
- package/components/ContentCard/index.jsx +6 -5
- package/components/ContentSlot/index.jsx +4 -3
- package/components/CopyButton/index.jsx +2 -1
- package/components/Datepicker/MonthSelector.jsx +2 -1
- package/components/Datepicker/TimeSelector.jsx +5 -4
- package/components/Datepicker/index.jsx +8 -7
- package/components/DonutChart/DonutChart.stories.jsx +4 -3
- package/components/DonutChart/index.jsx +3 -2
- package/components/Dropdown/index.jsx +10 -9
- package/components/DropdownCommitments/index.js +3 -2
- package/components/EmptySlot/index.jsx +5 -4
- package/components/Header/index.jsx +4 -3
- package/components/Input/index.jsx +5 -4
- package/components/Legend/index.jsx +5 -4
- package/components/List/index.jsx +5 -4
- package/components/ListItem/index.jsx +3 -2
- package/components/MenuAccordion/index.jsx +3 -2
- package/components/Modal/index.jsx +7 -6
- package/components/Navbar/index.jsx +2 -1
- package/components/NotificationBanner/index.jsx +2 -1
- package/components/NotificationCard/index.jsx +6 -5
- package/components/NumberDisplay/index.jsx +7 -6
- package/components/Pagination/index.jsx +4 -3
- package/components/ProgressBar/ProgressBar.stories.jsx +7 -6
- package/components/ProgressBar/index.jsx +3 -2
- package/components/RadioButton/index.jsx +2 -1
- package/components/Rating/index.jsx +2 -1
- package/components/Search/index.jsx +5 -4
- package/components/SegmentedButton/index.jsx +2 -1
- package/components/SelectItem/SelectItem.stories.jsx +7 -6
- package/components/SelectItem/index.jsx +7 -6
- package/components/ShowMore/index.jsx +2 -1
- package/components/Slider/index.jsx +2 -1
- package/components/Tab/index.jsx +4 -3
- package/components/Tag/index.jsx +3 -2
- package/components/TaskCard/TaskCard.stories.jsx +11 -10
- package/components/TaskCard/components/SuccessTitle.jsx +2 -1
- package/components/TaskCard/components/Tag.jsx +5 -4
- package/components/TaskCard/components/TaskDescription.jsx +2 -1
- package/components/Toast/Toast.stories.jsx +4 -3
- package/components/Toast/index.jsx +14 -13
- package/components/Toggle/Toggle.stories.jsx +6 -5
- package/components/Typography/Typography.stories.jsx +2 -1
- package/components/Typography/index.jsx +5 -4
- package/components/utils/fontFamily.js +6 -0
- package/dist/components/AccordionAvatar/index.d.ts.map +1 -1
- package/dist/components/AccordionAvatar/index.js +3 -2
- package/dist/components/BottomSheet/BottomSheetNomeEmpresa.d.ts.map +1 -1
- package/dist/components/BottomSheet/BottomSheetNomeEmpresa.js +5 -4
- package/dist/components/BottomSheet/Components/ActionButtons.d.ts.map +1 -1
- package/dist/components/BottomSheet/Components/ActionButtons.js +2 -1
- package/dist/components/BottomSheet/Components/ListaDeEstados.d.ts.map +1 -1
- package/dist/components/BottomSheet/Components/ListaDeEstados.js +3 -2
- package/dist/components/CommitmentCard/index.d.ts.map +1 -1
- package/dist/components/CommitmentCard/index.js +9 -8
- package/dist/components/ContentCard/index.d.ts.map +1 -1
- package/dist/components/ContentCard/index.js +6 -5
- package/dist/components/ContentSlot/index.d.ts.map +1 -1
- package/dist/components/ContentSlot/index.js +4 -3
- package/dist/components/CopyButton/index.d.ts.map +1 -1
- package/dist/components/CopyButton/index.js +2 -1
- package/dist/components/Datepicker/MonthSelector.js +2 -1
- package/dist/components/Datepicker/TimeSelector.js +5 -4
- package/dist/components/Datepicker/index.d.ts.map +1 -1
- package/dist/components/Datepicker/index.js +8 -7
- package/dist/components/DonutChart/index.d.ts.map +1 -1
- package/dist/components/DonutChart/index.js +3 -2
- package/dist/components/Dropdown/index.d.ts.map +1 -1
- package/dist/components/Dropdown/index.js +10 -9
- package/dist/components/DropdownCommitments/index.d.ts.map +1 -1
- package/dist/components/DropdownCommitments/index.js +3 -2
- package/dist/components/EmptySlot/index.d.ts.map +1 -1
- package/dist/components/EmptySlot/index.js +5 -4
- package/dist/components/Header/index.d.ts.map +1 -1
- package/dist/components/Header/index.js +4 -3
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/Input/index.js +5 -4
- package/dist/components/Legend/index.d.ts.map +1 -1
- package/dist/components/Legend/index.js +5 -4
- package/dist/components/List/index.d.ts.map +1 -1
- package/dist/components/List/index.js +5 -4
- package/dist/components/ListItem/index.d.ts.map +1 -1
- package/dist/components/ListItem/index.js +3 -2
- package/dist/components/MenuAccordion/index.d.ts.map +1 -1
- package/dist/components/MenuAccordion/index.js +3 -2
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.js +7 -6
- package/dist/components/Navbar/index.d.ts.map +1 -1
- package/dist/components/Navbar/index.js +2 -1
- package/dist/components/NotificationBanner/index.d.ts.map +1 -1
- package/dist/components/NotificationBanner/index.js +2 -1
- package/dist/components/NotificationCard/index.d.ts.map +1 -1
- package/dist/components/NotificationCard/index.js +6 -5
- package/dist/components/NumberDisplay/index.d.ts.map +1 -1
- package/dist/components/NumberDisplay/index.js +7 -6
- package/dist/components/Pagination/index.d.ts.map +1 -1
- package/dist/components/Pagination/index.js +4 -3
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/index.js +3 -2
- package/dist/components/RadioButton/index.d.ts.map +1 -1
- package/dist/components/RadioButton/index.js +2 -1
- package/dist/components/Rating/index.d.ts.map +1 -1
- package/dist/components/Rating/index.js +2 -1
- package/dist/components/Search/index.d.ts.map +1 -1
- package/dist/components/Search/index.js +5 -4
- package/dist/components/SegmentedButton/index.d.ts.map +1 -1
- package/dist/components/SegmentedButton/index.js +2 -1
- package/dist/components/SelectItem/index.d.ts.map +1 -1
- package/dist/components/SelectItem/index.js +7 -6
- package/dist/components/ShowMore/index.d.ts.map +1 -1
- package/dist/components/ShowMore/index.js +2 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/index.js +2 -1
- package/dist/components/Tab/index.d.ts.map +1 -1
- package/dist/components/Tab/index.js +4 -3
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.js +3 -2
- package/dist/components/TaskCard/components/SuccessTitle.d.ts.map +1 -1
- package/dist/components/TaskCard/components/SuccessTitle.js +2 -1
- package/dist/components/TaskCard/components/Tag.d.ts.map +1 -1
- package/dist/components/TaskCard/components/Tag.js +5 -4
- package/dist/components/TaskCard/components/TaskDescription.d.ts.map +1 -1
- package/dist/components/TaskCard/components/TaskDescription.js +2 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/index.js +14 -13
- package/dist/components/Typography/index.d.ts.map +1 -1
- package/dist/components/Typography/index.js +5 -4
- package/dist/components/utils/fontFamily.d.ts +5 -0
- package/dist/components/utils/fontFamily.d.ts.map +1 -0
- package/dist/components/utils/fontFamily.js +5 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { View, Text, TouchableOpacity } from 'react-native';
|
|
3
3
|
import Icon from '../Icon';
|
|
4
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
4
5
|
|
|
5
6
|
const AccordionAvatar = ({
|
|
6
7
|
avatarIcon = 'user-3-fill',
|
|
@@ -38,7 +39,7 @@ const AccordionAvatar = ({
|
|
|
38
39
|
</View>
|
|
39
40
|
{/* Label */}
|
|
40
41
|
<Text style={{
|
|
41
|
-
fontFamily:
|
|
42
|
+
fontFamily: fontFamily.bold,
|
|
42
43
|
fontWeight: '700',
|
|
43
44
|
fontSize: 24, // h5
|
|
44
45
|
lineHeight: 32, // h5
|
|
@@ -68,7 +69,7 @@ const AccordionAvatar = ({
|
|
|
68
69
|
}}
|
|
69
70
|
>
|
|
70
71
|
<Text style={{
|
|
71
|
-
fontFamily:
|
|
72
|
+
fontFamily: fontFamily.bold,
|
|
72
73
|
fontWeight: '700',
|
|
73
74
|
fontSize: 16, // body-2
|
|
74
75
|
lineHeight: 24, // body-2
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { View, Text, TextInput, TouchableOpacity, StyleSheet } from 'react-native';
|
|
3
3
|
import BottomSheet from './BottomSheet';
|
|
4
4
|
import Icon from '../Icon';
|
|
5
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
5
6
|
|
|
6
7
|
const BottomSheetNomeEmpresa = ({ isOpen, setIsOpen }) => (
|
|
7
8
|
<BottomSheet isOpen={isOpen} setIsOpen={setIsOpen} showHeader>
|
|
@@ -42,7 +43,7 @@ const styles = StyleSheet.create({
|
|
|
42
43
|
fontSize: 24,
|
|
43
44
|
fontWeight: '700',
|
|
44
45
|
color: '#081032',
|
|
45
|
-
fontFamily:
|
|
46
|
+
fontFamily: fontFamily.bold,
|
|
46
47
|
lineHeight: 32,
|
|
47
48
|
marginBottom: 0,
|
|
48
49
|
},
|
|
@@ -74,7 +75,7 @@ const styles = StyleSheet.create({
|
|
|
74
75
|
flex: 1,
|
|
75
76
|
fontSize: 16,
|
|
76
77
|
color: '#081032',
|
|
77
|
-
fontFamily:
|
|
78
|
+
fontFamily: fontFamily.regular,
|
|
78
79
|
},
|
|
79
80
|
infoIcon: {
|
|
80
81
|
marginLeft: 8,
|
|
@@ -89,7 +90,7 @@ const styles = StyleSheet.create({
|
|
|
89
90
|
marginLeft: 8,
|
|
90
91
|
fontSize: 14,
|
|
91
92
|
color: '#081032',
|
|
92
|
-
fontFamily:
|
|
93
|
+
fontFamily: fontFamily.regular,
|
|
93
94
|
},
|
|
94
95
|
button: {
|
|
95
96
|
backgroundColor: '#193ABB',
|
|
@@ -103,7 +104,7 @@ const styles = StyleSheet.create({
|
|
|
103
104
|
color: '#FFF500',
|
|
104
105
|
fontWeight: '700',
|
|
105
106
|
fontSize: 16,
|
|
106
|
-
fontFamily:
|
|
107
|
+
fontFamily: fontFamily.bold,
|
|
107
108
|
},
|
|
108
109
|
});
|
|
109
110
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { View, TouchableOpacity, Text, StyleSheet } from 'react-native';
|
|
3
3
|
import Icon from '../../Icon';
|
|
4
|
+
import { fontFamily } from '../../utils/fontFamily';
|
|
4
5
|
|
|
5
6
|
const ActionButtons = ({
|
|
6
7
|
onRemindLater = () => { },
|
|
@@ -53,7 +54,7 @@ const styles = StyleSheet.create({
|
|
|
53
54
|
fontSize: 14, // size/button-s
|
|
54
55
|
fontWeight: '700', // Bold
|
|
55
56
|
color: '#081032',
|
|
56
|
-
fontFamily:
|
|
57
|
+
fontFamily: fontFamily.bold, // family/default
|
|
57
58
|
lineHeight: 20, // line-height/button-s
|
|
58
59
|
letterSpacing: 0, // 0%
|
|
59
60
|
textAlign: 'left', // Mantendo left pois center não faz sentido neste layout
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { useCallback, useState } from 'react'
|
|
2
2
|
import { Dimensions, FlatList, StyleSheet, TouchableOpacity, View, Text } from 'react-native'
|
|
3
3
|
import Checkbox from '../../Checkbox';
|
|
4
|
+
import { fontFamily } from '../../utils/fontFamily';
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
const { height: screenHeight } = Dimensions.get('window');
|
|
@@ -246,7 +247,7 @@ const styles = StyleSheet.create({
|
|
|
246
247
|
color: '#000',
|
|
247
248
|
textAlign: 'left',
|
|
248
249
|
lineHeight: 32,
|
|
249
|
-
fontFamily:
|
|
250
|
+
fontFamily: fontFamily.bold,
|
|
250
251
|
},
|
|
251
252
|
modalSubtitle: {
|
|
252
253
|
fontSize: 14,
|
|
@@ -321,7 +322,7 @@ const styles = StyleSheet.create({
|
|
|
321
322
|
flex: 1,
|
|
322
323
|
color: '#000',
|
|
323
324
|
textAlign: 'left',
|
|
324
|
-
fontFamily:
|
|
325
|
+
fontFamily: fontFamily.bold,
|
|
325
326
|
fontSize: 14,
|
|
326
327
|
fontWeight: '700',
|
|
327
328
|
lineHeight: 20,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { View, Text, StyleSheet, TouchableOpacity } from 'react-native';
|
|
3
3
|
import Icon from '../Icon';
|
|
4
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
4
5
|
|
|
5
6
|
const CommitmentCard = ({
|
|
6
7
|
style = 'flat', // flat, elevated
|
|
@@ -118,7 +119,7 @@ const styles = StyleSheet.create({
|
|
|
118
119
|
},
|
|
119
120
|
countdownText: {
|
|
120
121
|
fontSize: 12, // font-size/body-4
|
|
121
|
-
fontFamily:
|
|
122
|
+
fontFamily: fontFamily.regular, // family/default
|
|
122
123
|
fontWeight: '400', // Weight: 400 (Regular)
|
|
123
124
|
marginLeft: 8,
|
|
124
125
|
lineHeight: 18, // line-height/body-4
|
|
@@ -126,7 +127,7 @@ const styles = StyleSheet.create({
|
|
|
126
127
|
},
|
|
127
128
|
title: {
|
|
128
129
|
fontSize: 14, // font-size/body-2
|
|
129
|
-
fontFamily:
|
|
130
|
+
fontFamily: fontFamily.bold, // family/default
|
|
130
131
|
fontWeight: '700', // Weight: 700 (Bold)
|
|
131
132
|
color: '#1B244B', // content/default
|
|
132
133
|
marginBottom: 16, // Reduzido de 24 para 16
|
|
@@ -143,7 +144,7 @@ const styles = StyleSheet.create({
|
|
|
143
144
|
},
|
|
144
145
|
amount: {
|
|
145
146
|
fontSize: 28, // font-size/h2
|
|
146
|
-
fontFamily:
|
|
147
|
+
fontFamily: fontFamily.bold, // family/default
|
|
147
148
|
fontWeight: '700', // Weight: 700 (Bold)
|
|
148
149
|
color: '#1B244B', // content/default
|
|
149
150
|
lineHeight: 36, // line-height/h2
|
|
@@ -152,7 +153,7 @@ const styles = StyleSheet.create({
|
|
|
152
153
|
},
|
|
153
154
|
date: {
|
|
154
155
|
fontSize: 14, // font-size/body-3
|
|
155
|
-
fontFamily:
|
|
156
|
+
fontFamily: fontFamily.regular, // family/default
|
|
156
157
|
fontWeight: '400', // Weight: 400 (Regular)
|
|
157
158
|
color: '#687499', // content/subtler
|
|
158
159
|
lineHeight: 20, // line-height/body-3
|
|
@@ -160,7 +161,7 @@ const styles = StyleSheet.create({
|
|
|
160
161
|
},
|
|
161
162
|
description: {
|
|
162
163
|
fontSize: 14, // font-size/body-3
|
|
163
|
-
fontFamily:
|
|
164
|
+
fontFamily: fontFamily.regular, // family/default
|
|
164
165
|
fontWeight: '400', // Weight: 400 (Regular)
|
|
165
166
|
color: '#1B244B', // content/default
|
|
166
167
|
lineHeight: 20, // line-height/body-3
|
|
@@ -181,7 +182,7 @@ const styles = StyleSheet.create({
|
|
|
181
182
|
codeValue: {
|
|
182
183
|
flex: 1,
|
|
183
184
|
fontSize: 16, // font-size/body-1
|
|
184
|
-
fontFamily:
|
|
185
|
+
fontFamily: fontFamily.regular, // family/default
|
|
185
186
|
fontWeight: '400', // Weight: 400 (Regular)
|
|
186
187
|
color: '#687499', // content/subtler
|
|
187
188
|
paddingHorizontal: 12,
|
|
@@ -201,7 +202,7 @@ const styles = StyleSheet.create({
|
|
|
201
202
|
},
|
|
202
203
|
copyButtonText: {
|
|
203
204
|
fontSize: 16, // font-size/button-m
|
|
204
|
-
fontFamily:
|
|
205
|
+
fontFamily: fontFamily.bold, // family/default
|
|
205
206
|
fontWeight: '700', // Weight: 700 (Bold)
|
|
206
207
|
color: '#E7F79E', // Cor atualizada
|
|
207
208
|
lineHeight: 24, // line-height/button-m
|
|
@@ -215,7 +216,7 @@ const styles = StyleSheet.create({
|
|
|
215
216
|
},
|
|
216
217
|
downloadText: {
|
|
217
218
|
fontSize: 14, // font-size/button-s
|
|
218
|
-
fontFamily:
|
|
219
|
+
fontFamily: fontFamily.bold, // family/default
|
|
219
220
|
fontWeight: '700', // Weight: 700 (Bold)
|
|
220
221
|
color: '#2A4FDA', // content/action/tertiary/default
|
|
221
222
|
marginLeft: 8,
|
|
@@ -6,6 +6,7 @@ import Button from '../Button';
|
|
|
6
6
|
import Icon from '../Icon';
|
|
7
7
|
import DonutChart from '../DonutChart';
|
|
8
8
|
import ProgressBar from '../ProgressBar';
|
|
9
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
9
10
|
|
|
10
11
|
// Pegue a largura da tela
|
|
11
12
|
const ContentCard = ({
|
|
@@ -242,7 +243,7 @@ const styles = StyleSheet.create({
|
|
|
242
243
|
timeText: {
|
|
243
244
|
fontSize: 12, // Reduz fonte
|
|
244
245
|
color: '#1B244B',
|
|
245
|
-
fontFamily:
|
|
246
|
+
fontFamily: fontFamily.regular,
|
|
246
247
|
},
|
|
247
248
|
tagsWrapper: {
|
|
248
249
|
left: -5,
|
|
@@ -267,7 +268,7 @@ const styles = StyleSheet.create({
|
|
|
267
268
|
color: '#1B244B',
|
|
268
269
|
marginBottom: 12, // Espaçamento adequado
|
|
269
270
|
lineHeight: 24, // line-height/body-2
|
|
270
|
-
fontFamily:
|
|
271
|
+
fontFamily: fontFamily.bold,
|
|
271
272
|
letterSpacing: 0,
|
|
272
273
|
// numberOfLines removido, deve ser prop do Text
|
|
273
274
|
},
|
|
@@ -277,7 +278,7 @@ const styles = StyleSheet.create({
|
|
|
277
278
|
color: '#1B244B',
|
|
278
279
|
marginBottom: 12, // Espaçamento adequado
|
|
279
280
|
lineHeight: 16, // line-height/body-4
|
|
280
|
-
fontFamily:
|
|
281
|
+
fontFamily: fontFamily.bold,
|
|
281
282
|
letterSpacing: 0,
|
|
282
283
|
},
|
|
283
284
|
infoContainer: {
|
|
@@ -300,7 +301,7 @@ const styles = StyleSheet.create({
|
|
|
300
301
|
dateText: {
|
|
301
302
|
fontSize: 14, // Reduz fonte
|
|
302
303
|
color: '#1B244B',
|
|
303
|
-
fontFamily:
|
|
304
|
+
fontFamily: fontFamily.regular,
|
|
304
305
|
},
|
|
305
306
|
locationContainer: {
|
|
306
307
|
flexDirection: 'row',
|
|
@@ -310,7 +311,7 @@ const styles = StyleSheet.create({
|
|
|
310
311
|
locationText: {
|
|
311
312
|
fontSize: 12, // Reduz fonte
|
|
312
313
|
color: '#666',
|
|
313
|
-
fontFamily:
|
|
314
|
+
fontFamily: fontFamily.regular,
|
|
314
315
|
},
|
|
315
316
|
actionsContainer: {
|
|
316
317
|
flexDirection: 'column',
|
|
@@ -3,6 +3,7 @@ import { View, Text, StyleSheet, TouchableOpacity, ScrollView } from 'react-nati
|
|
|
3
3
|
import Tag from '../Tag';
|
|
4
4
|
import Image from '../Image';
|
|
5
5
|
import Icon from '../Icon';
|
|
6
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
6
7
|
|
|
7
8
|
// Props para o componente ContentSlot:
|
|
8
9
|
// title: string;
|
|
@@ -164,10 +165,10 @@ const styles = StyleSheet.create({
|
|
|
164
165
|
},
|
|
165
166
|
title: {
|
|
166
167
|
fontSize: 16,
|
|
167
|
-
fontWeight: '
|
|
168
|
+
fontWeight: '700',
|
|
168
169
|
color: '#1B244B',
|
|
169
170
|
lineHeight: 20,
|
|
170
|
-
fontFamily:
|
|
171
|
+
fontFamily: fontFamily.bold,
|
|
171
172
|
marginBottom: 8,
|
|
172
173
|
textAlign: 'left',
|
|
173
174
|
alignSelf: 'stretch',
|
|
@@ -187,7 +188,7 @@ const styles = StyleSheet.create({
|
|
|
187
188
|
fontSize: 12,
|
|
188
189
|
color: '#1B244B',
|
|
189
190
|
lineHeight: 16,
|
|
190
|
-
fontFamily:
|
|
191
|
+
fontFamily: fontFamily.regular,
|
|
191
192
|
textAlign: 'left',
|
|
192
193
|
},
|
|
193
194
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { TouchableOpacity, Text, StyleSheet } from 'react-native';
|
|
3
3
|
import Icon from '../Icon';
|
|
4
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
4
5
|
|
|
5
6
|
const CopyButton = ({
|
|
6
7
|
variant = 'ghost', // ghost, default, primary, success, selected
|
|
@@ -165,7 +166,7 @@ const styles = StyleSheet.create({
|
|
|
165
166
|
padding: 9, // Reduzido de 12 para compensar a borda de 3px
|
|
166
167
|
},
|
|
167
168
|
text: {
|
|
168
|
-
fontFamily:
|
|
169
|
+
fontFamily: fontFamily.bold, // family/default
|
|
169
170
|
fontWeight: '700', // Bold
|
|
170
171
|
fontSize: 14, // font-size/button-m
|
|
171
172
|
lineHeight: 20, // line-height/button-m
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
Animated,
|
|
9
9
|
Platform,
|
|
10
10
|
} from 'react-native';
|
|
11
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
11
12
|
|
|
12
13
|
const { width: screenWidth } = Dimensions.get('window');
|
|
13
14
|
|
|
@@ -276,7 +277,7 @@ const styles = StyleSheet.create({
|
|
|
276
277
|
monthText: {
|
|
277
278
|
fontSize: 22,
|
|
278
279
|
textAlign: 'center',
|
|
279
|
-
fontFamily:
|
|
280
|
+
fontFamily: fontFamily.regular,
|
|
280
281
|
// Adiciona sombra sutil para melhor legibilidade
|
|
281
282
|
textShadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
282
283
|
textShadowOffset: { width: 0, height: 1 },
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
Animated,
|
|
9
9
|
Platform,
|
|
10
10
|
} from 'react-native';
|
|
11
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
11
12
|
|
|
12
13
|
const ITEM_HEIGHT = 60;
|
|
13
14
|
const VISIBLE_ITEMS = 5;
|
|
@@ -226,10 +227,10 @@ const styles = StyleSheet.create({
|
|
|
226
227
|
},
|
|
227
228
|
itemText: {
|
|
228
229
|
fontSize: 38,
|
|
229
|
-
fontWeight: '
|
|
230
|
+
fontWeight: '700',
|
|
230
231
|
color: '#0A2D5E',
|
|
231
232
|
textAlign: 'center',
|
|
232
|
-
fontFamily:
|
|
233
|
+
fontFamily: fontFamily.bold,
|
|
233
234
|
// Adiciona sombra sutil para melhor legibilidade
|
|
234
235
|
textShadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
235
236
|
textShadowOffset: { width: 0, height: 1 },
|
|
@@ -237,12 +238,12 @@ const styles = StyleSheet.create({
|
|
|
237
238
|
},
|
|
238
239
|
separator: {
|
|
239
240
|
fontSize: 36,
|
|
240
|
-
fontWeight: '
|
|
241
|
+
fontWeight: '700',
|
|
241
242
|
color: '#0A2D5E',
|
|
242
243
|
marginHorizontal: 15,
|
|
243
244
|
lineHeight: ITEM_HEIGHT,
|
|
244
245
|
textAlign: 'center',
|
|
245
|
-
fontFamily:
|
|
246
|
+
fontFamily: fontFamily.bold,
|
|
246
247
|
},
|
|
247
248
|
selectionIndicator: {
|
|
248
249
|
position: 'absolute',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { useState, useEffect, forwardRef, useImperativeHandle } from 'react';
|
|
2
2
|
import { View, Text, StyleSheet, TouchableOpacity } from 'react-native';
|
|
3
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
3
4
|
// import TimeSelector from './TimeSelector';
|
|
4
5
|
// import MonthSelector from './MonthSelector';
|
|
5
6
|
|
|
@@ -325,15 +326,15 @@ const styles = StyleSheet.create({
|
|
|
325
326
|
navButton: {
|
|
326
327
|
fontSize: 22,
|
|
327
328
|
color: '#007AFF',
|
|
328
|
-
fontWeight: '
|
|
329
|
+
fontWeight: '700',
|
|
329
330
|
padding: 10,
|
|
330
|
-
fontFamily:
|
|
331
|
+
fontFamily: fontFamily.bold,
|
|
331
332
|
},
|
|
332
333
|
monthYear: {
|
|
333
334
|
fontSize: 18,
|
|
334
|
-
fontWeight: '
|
|
335
|
+
fontWeight: '700',
|
|
335
336
|
color: '#333333',
|
|
336
|
-
fontFamily:
|
|
337
|
+
fontFamily: fontFamily.bold,
|
|
337
338
|
},
|
|
338
339
|
// Dias da Semana
|
|
339
340
|
weekDaysContainer: {
|
|
@@ -346,7 +347,7 @@ const styles = StyleSheet.create({
|
|
|
346
347
|
fontSize: 13,
|
|
347
348
|
color: '#8A8A8E',
|
|
348
349
|
fontWeight: '500',
|
|
349
|
-
fontFamily:
|
|
350
|
+
fontFamily: fontFamily.regular,
|
|
350
351
|
},
|
|
351
352
|
// Grid de Dias
|
|
352
353
|
daysGrid: {
|
|
@@ -367,7 +368,7 @@ const styles = StyleSheet.create({
|
|
|
367
368
|
color: '#333333',
|
|
368
369
|
height: '100%',
|
|
369
370
|
verticalAlign: 'middle',
|
|
370
|
-
fontFamily:
|
|
371
|
+
fontFamily: fontFamily.regular,
|
|
371
372
|
},
|
|
372
373
|
emptyDay: {
|
|
373
374
|
color: 'transparent',
|
|
@@ -437,7 +438,7 @@ const styles = StyleSheet.create({
|
|
|
437
438
|
yearText: {
|
|
438
439
|
fontSize: 16,
|
|
439
440
|
color: '#333',
|
|
440
|
-
fontFamily:
|
|
441
|
+
fontFamily: fontFamily.regular,
|
|
441
442
|
},
|
|
442
443
|
selectedYearText: {
|
|
443
444
|
color: '#181010ff',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { View, Text } from "react-native";
|
|
2
2
|
import DonutChart from "./index.jsx";
|
|
3
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
3
4
|
|
|
4
5
|
const meta = {
|
|
5
6
|
title: "Molecules/DonutChart",
|
|
@@ -163,7 +164,7 @@ export const FigmaExamples = {
|
|
|
163
164
|
size={190}
|
|
164
165
|
strokeWidth={12}
|
|
165
166
|
/>
|
|
166
|
-
<Text style={{ marginTop: 10, fontSize: 14, color: '#666', fontFamily:
|
|
167
|
+
<Text style={{ marginTop: 10, fontSize: 14, color: '#666', fontFamily: fontFamily.regular }}>Nível Básico</Text>
|
|
167
168
|
</View>
|
|
168
169
|
<View style={{ alignItems: 'center' }}>
|
|
169
170
|
<DonutChart
|
|
@@ -171,7 +172,7 @@ export const FigmaExamples = {
|
|
|
171
172
|
size={190}
|
|
172
173
|
strokeWidth={12}
|
|
173
174
|
/>
|
|
174
|
-
<Text style={{ marginTop: 10, fontSize: 14, color: '#666', fontFamily:
|
|
175
|
+
<Text style={{ marginTop: 10, fontSize: 14, color: '#666', fontFamily: fontFamily.regular }}>Nível Intermediário</Text>
|
|
175
176
|
</View>
|
|
176
177
|
<View style={{ alignItems: 'center' }}>
|
|
177
178
|
<DonutChart
|
|
@@ -179,7 +180,7 @@ export const FigmaExamples = {
|
|
|
179
180
|
size={190}
|
|
180
181
|
strokeWidth={12}
|
|
181
182
|
/>
|
|
182
|
-
<Text style={{ marginTop: 10, fontSize: 14, color: '#666', fontFamily:
|
|
183
|
+
<Text style={{ marginTop: 10, fontSize: 14, color: '#666', fontFamily: fontFamily.regular }}>Nível Avançado</Text>
|
|
183
184
|
</View>
|
|
184
185
|
</View>
|
|
185
186
|
),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { View, Text, StyleSheet } from 'react-native';
|
|
3
3
|
import Svg, { Circle } from 'react-native-svg';
|
|
4
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
// Paleta baseada na imagem fornecida
|
|
@@ -166,7 +167,7 @@ const styles = StyleSheet.create({
|
|
|
166
167
|
alignItems: 'baseline',
|
|
167
168
|
},
|
|
168
169
|
percentageNumber: {
|
|
169
|
-
fontFamily:
|
|
170
|
+
fontFamily: fontFamily.bold,
|
|
170
171
|
fontSize: 48,
|
|
171
172
|
fontWeight: '700', // Bold
|
|
172
173
|
lineHeight: 48, // 100% da fontSize (48px)
|
|
@@ -174,7 +175,7 @@ const styles = StyleSheet.create({
|
|
|
174
175
|
textAlign: 'center',
|
|
175
176
|
},
|
|
176
177
|
percentageSymbol: {
|
|
177
|
-
fontFamily:
|
|
178
|
+
fontFamily: fontFamily.bold,
|
|
178
179
|
fontSize: 27, // Símbolo % menor
|
|
179
180
|
fontWeight: '700', // Bold (mesmo peso que o número)
|
|
180
181
|
lineHeight: 24, // 100% da fontSize (24px)
|
|
@@ -5,6 +5,7 @@ import Icon from '../Icon';
|
|
|
5
5
|
import ContentCard from '../ContentCard';
|
|
6
6
|
import Checkbox from '../Checkbox';
|
|
7
7
|
import Button from '../Button';
|
|
8
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
8
9
|
|
|
9
10
|
const commitmentsData = [
|
|
10
11
|
{
|
|
@@ -71,12 +72,12 @@ const CommitmentsDropdownContent = ({ onPress, open, onArrowPress }) => (
|
|
|
71
72
|
fontWeight: '700',
|
|
72
73
|
fontSize: 16,
|
|
73
74
|
color: '#1B244B',
|
|
74
|
-
fontFamily:
|
|
75
|
+
fontFamily: fontFamily.bold,
|
|
75
76
|
lineHeight: 24,
|
|
76
77
|
letterSpacing: 0
|
|
77
78
|
}}>Meus compromissos</Text>
|
|
78
79
|
<Text style={{
|
|
79
|
-
fontFamily:
|
|
80
|
+
fontFamily: fontFamily.regular,
|
|
80
81
|
fontWeight: '400',
|
|
81
82
|
fontSize: 14,
|
|
82
83
|
color: '#485274',
|
|
@@ -441,13 +442,13 @@ const styles = StyleSheet.create({
|
|
|
441
442
|
fontSize: 14,
|
|
442
443
|
color: '#333333',
|
|
443
444
|
fontWeight: '500',
|
|
444
|
-
fontFamily:
|
|
445
|
+
fontFamily: fontFamily.regular,
|
|
445
446
|
},
|
|
446
447
|
text: {
|
|
447
448
|
flex: 1,
|
|
448
449
|
fontSize: 14,
|
|
449
450
|
color: '#333333',
|
|
450
|
-
fontFamily:
|
|
451
|
+
fontFamily: fontFamily.regular,
|
|
451
452
|
},
|
|
452
453
|
overlay: {
|
|
453
454
|
flex: 1,
|
|
@@ -485,9 +486,9 @@ const styles = StyleSheet.create({
|
|
|
485
486
|
},
|
|
486
487
|
modalTitle: {
|
|
487
488
|
fontSize: 18,
|
|
488
|
-
fontWeight: '
|
|
489
|
+
fontWeight: '700',
|
|
489
490
|
color: '#333333',
|
|
490
|
-
fontFamily:
|
|
491
|
+
fontFamily: fontFamily.bold,
|
|
491
492
|
},
|
|
492
493
|
closeButton: {
|
|
493
494
|
width: 32,
|
|
@@ -512,7 +513,7 @@ const styles = StyleSheet.create({
|
|
|
512
513
|
optionText: {
|
|
513
514
|
fontSize: 16,
|
|
514
515
|
color: '#333333',
|
|
515
|
-
fontFamily:
|
|
516
|
+
fontFamily: fontFamily.regular,
|
|
516
517
|
},
|
|
517
518
|
buttonContainer: {
|
|
518
519
|
paddingHorizontal: 20,
|
|
@@ -533,12 +534,12 @@ const styles = StyleSheet.create({
|
|
|
533
534
|
alignItems: 'center',
|
|
534
535
|
},
|
|
535
536
|
pickerItemText: {
|
|
536
|
-
fontFamily:
|
|
537
|
+
fontFamily: fontFamily.regular,
|
|
537
538
|
textAlign: 'center',
|
|
538
539
|
},
|
|
539
540
|
pickerSelectedText: {
|
|
540
541
|
fontSize: 24,
|
|
541
|
-
fontWeight: '
|
|
542
|
+
fontWeight: '700',
|
|
542
543
|
color: '#1B244B',
|
|
543
544
|
},
|
|
544
545
|
pickerAdjacentText: {
|
|
@@ -2,6 +2,7 @@ import React, { useState } from 'react';
|
|
|
2
2
|
import { Animated, View, Text, ScrollView, TouchableOpacity, Dimensions } from 'react-native';
|
|
3
3
|
import Icon from '../Icon';
|
|
4
4
|
import ContentCard from '../ContentCard';
|
|
5
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
5
6
|
|
|
6
7
|
const screenWidth = Dimensions.get('window').width;
|
|
7
8
|
|
|
@@ -33,12 +34,12 @@ const CommitmentsDropdownContent = ({ onPress, open, onArrowPress, total }) => (
|
|
|
33
34
|
fontWeight: '700',
|
|
34
35
|
fontSize: 16,
|
|
35
36
|
color: '#1B244B',
|
|
36
|
-
fontFamily:
|
|
37
|
+
fontFamily: fontFamily.bold,
|
|
37
38
|
lineHeight: 24,
|
|
38
39
|
letterSpacing: 0
|
|
39
40
|
}}>Meus compromissos</Text>
|
|
40
41
|
<Text style={{
|
|
41
|
-
fontFamily:
|
|
42
|
+
fontFamily: fontFamily.regular,
|
|
42
43
|
fontWeight: '400',
|
|
43
44
|
fontSize: 14,
|
|
44
45
|
color: '#485274',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
|
|
3
3
|
import Icon from '../Icon';
|
|
4
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
4
5
|
|
|
5
6
|
const EmptySlot = ({
|
|
6
7
|
title = "Nada por aqui ainda",
|
|
@@ -102,7 +103,7 @@ const styles = StyleSheet.create({
|
|
|
102
103
|
title: {
|
|
103
104
|
fontSize: 14, // font-size/body-3
|
|
104
105
|
fontWeight: '700', // font-weight: 700 (Bold)
|
|
105
|
-
fontFamily:
|
|
106
|
+
fontFamily: fontFamily.bold, // family/default
|
|
106
107
|
textAlign: 'center',
|
|
107
108
|
marginBottom: 8,
|
|
108
109
|
lineHeight: 20, // line-height/body-3
|
|
@@ -117,7 +118,7 @@ const styles = StyleSheet.create({
|
|
|
117
118
|
message: {
|
|
118
119
|
fontSize: 14,
|
|
119
120
|
fontWeight: '400',
|
|
120
|
-
fontFamily:
|
|
121
|
+
fontFamily: fontFamily.regular,
|
|
121
122
|
textAlign: 'center',
|
|
122
123
|
marginBottom: 24,
|
|
123
124
|
lineHeight: 20,
|
|
@@ -141,8 +142,8 @@ const styles = StyleSheet.create({
|
|
|
141
142
|
buttonText: {
|
|
142
143
|
color: '#E7F79E', // Updated color to match the request
|
|
143
144
|
fontSize: 14,
|
|
144
|
-
fontWeight: '
|
|
145
|
-
fontFamily:
|
|
145
|
+
fontWeight: '700',
|
|
146
|
+
fontFamily: fontFamily.bold,
|
|
146
147
|
lineHeight: 20,
|
|
147
148
|
letterSpacing: 0,
|
|
148
149
|
},
|
|
@@ -3,6 +3,7 @@ import { SafeAreaProvider, SafeAreaView } from 'react-native-safe-area-context';
|
|
|
3
3
|
import { StyleSheet, Text, View, StatusBar } from 'react-native';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import Header from './components';
|
|
6
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Componente de cabeçalho que utiliza `forwardRef` para expor propriedades e métodos para componentes pai.
|
|
@@ -161,14 +162,14 @@ const styles = StyleSheet.create({
|
|
|
161
162
|
},
|
|
162
163
|
title: {
|
|
163
164
|
fontSize: 24,
|
|
164
|
-
fontWeight: '
|
|
165
|
+
fontWeight: '700',
|
|
165
166
|
color: "#fff",
|
|
166
|
-
fontFamily:
|
|
167
|
+
fontFamily: fontFamily.bold,
|
|
167
168
|
},
|
|
168
169
|
subtitle: {
|
|
169
170
|
fontSize: 16,
|
|
170
171
|
color: "#fff",
|
|
171
|
-
fontFamily:
|
|
172
|
+
fontFamily: fontFamily.regular,
|
|
172
173
|
},
|
|
173
174
|
});
|
|
174
175
|
|
|
@@ -4,6 +4,7 @@ import Icon from '../Icon';
|
|
|
4
4
|
import TooltipCard from '../TooltipCard';
|
|
5
5
|
import SEText from '../SEText';
|
|
6
6
|
import InputUnderline from './InputUnderline';
|
|
7
|
+
import { fontFamily } from '../utils/fontFamily';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Componente de Input controlado e reutilizável com suporte a máscaras e estados de validação.
|
|
@@ -277,28 +278,28 @@ const styles = StyleSheet.create({
|
|
|
277
278
|
height: 40,
|
|
278
279
|
color: '#333333',
|
|
279
280
|
fontSize: 14,
|
|
280
|
-
fontFamily:
|
|
281
|
+
fontFamily: fontFamily.regular,
|
|
281
282
|
},
|
|
282
283
|
inputError: {
|
|
283
284
|
flex: 1,
|
|
284
285
|
height: 40,
|
|
285
286
|
color: '#FF4D4F',
|
|
286
287
|
fontSize: 14,
|
|
287
|
-
fontFamily:
|
|
288
|
+
fontFamily: fontFamily.regular,
|
|
288
289
|
},
|
|
289
290
|
inputSuccess: {
|
|
290
291
|
flex: 1,
|
|
291
292
|
height: 40,
|
|
292
293
|
color: '#52C41A',
|
|
293
294
|
fontSize: 14,
|
|
294
|
-
fontFamily:
|
|
295
|
+
fontFamily: fontFamily.regular,
|
|
295
296
|
},
|
|
296
297
|
inputDisabled: {
|
|
297
298
|
flex: 1,
|
|
298
299
|
height: 40,
|
|
299
300
|
color: '#687499',
|
|
300
301
|
fontSize: 14,
|
|
301
|
-
fontFamily:
|
|
302
|
+
fontFamily: fontFamily.regular,
|
|
302
303
|
},
|
|
303
304
|
});
|
|
304
305
|
|