vpt-sebraeds 0.0.57 → 0.0.59

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 (148) hide show
  1. package/components/AccordionAvatar/index.jsx +3 -2
  2. package/components/AdBanner/index.jsx +5 -2
  3. package/components/BottomSheet/BottomSheetNomeEmpresa.jsx +5 -4
  4. package/components/BottomSheet/Components/ActionButtons.jsx +2 -1
  5. package/components/BottomSheet/Components/ListaDeEstados.jsx +3 -2
  6. package/components/CardNumber/index.jsx +5 -2
  7. package/components/Checkbox/index.jsx +3 -1
  8. package/components/CommitmentCard/index.jsx +9 -8
  9. package/components/ContentCard/index.jsx +6 -5
  10. package/components/ContentSlot/index.jsx +4 -3
  11. package/components/CopyButton/index.jsx +2 -1
  12. package/components/Datepicker/MonthSelector.jsx +2 -1
  13. package/components/Datepicker/TimeSelector.jsx +5 -4
  14. package/components/Datepicker/index.jsx +14 -10
  15. package/components/DonutChart/DonutChart.stories.jsx +4 -3
  16. package/components/DonutChart/index.jsx +3 -2
  17. package/components/Dropdown/index.jsx +10 -9
  18. package/components/DropdownCommitments/index.js +3 -2
  19. package/components/EmptySlot/index.jsx +5 -4
  20. package/components/Header/index.jsx +4 -3
  21. package/components/Input/index.jsx +5 -4
  22. package/components/Legend/index.jsx +5 -4
  23. package/components/List/index.jsx +5 -4
  24. package/components/ListItem/index.jsx +3 -2
  25. package/components/MenuAccordion/index.jsx +3 -2
  26. package/components/Modal/index.jsx +7 -6
  27. package/components/Navbar/index.jsx +2 -1
  28. package/components/NotificationBanner/index.jsx +2 -1
  29. package/components/NotificationCard/index.jsx +6 -5
  30. package/components/NumberDisplay/index.jsx +7 -6
  31. package/components/Pagination/index.jsx +4 -3
  32. package/components/ProgressBar/ProgressBar.stories.jsx +7 -6
  33. package/components/ProgressBar/index.jsx +3 -2
  34. package/components/RadioButton/index.jsx +2 -1
  35. package/components/Rating/index.jsx +2 -1
  36. package/components/Search/index.jsx +5 -4
  37. package/components/SegmentedButton/index.jsx +2 -1
  38. package/components/SelectItem/SelectItem.stories.jsx +7 -6
  39. package/components/SelectItem/index.jsx +7 -6
  40. package/components/ShowMore/index.jsx +2 -1
  41. package/components/Slider/index.jsx +2 -1
  42. package/components/Tab/index.jsx +4 -3
  43. package/components/Tag/index.jsx +3 -2
  44. package/components/TaskCard/TaskCard.stories.jsx +11 -10
  45. package/components/TaskCard/components/SuccessTitle.jsx +2 -1
  46. package/components/TaskCard/components/Tag.jsx +5 -4
  47. package/components/TaskCard/components/TaskDescription.jsx +2 -1
  48. package/components/Toast/Toast.stories.jsx +4 -3
  49. package/components/Toast/index.jsx +14 -13
  50. package/components/Toggle/Toggle.stories.jsx +6 -5
  51. package/components/TooltipCard/index.jsx +3 -1
  52. package/components/Typography/Typography.stories.jsx +2 -1
  53. package/components/Typography/index.jsx +5 -4
  54. package/components/utils/fontFamily.js +6 -0
  55. package/dist/components/AccordionAvatar/index.d.ts.map +1 -1
  56. package/dist/components/AccordionAvatar/index.js +3 -2
  57. package/dist/components/AdBanner/index.d.ts.map +1 -1
  58. package/dist/components/AdBanner/index.js +5 -2
  59. package/dist/components/BottomSheet/BottomSheetNomeEmpresa.d.ts.map +1 -1
  60. package/dist/components/BottomSheet/BottomSheetNomeEmpresa.js +5 -4
  61. package/dist/components/BottomSheet/Components/ActionButtons.d.ts.map +1 -1
  62. package/dist/components/BottomSheet/Components/ActionButtons.js +2 -1
  63. package/dist/components/BottomSheet/Components/ListaDeEstados.d.ts.map +1 -1
  64. package/dist/components/BottomSheet/Components/ListaDeEstados.js +3 -2
  65. package/dist/components/CardNumber/index.d.ts.map +1 -1
  66. package/dist/components/CardNumber/index.js +5 -2
  67. package/dist/components/Checkbox/index.d.ts.map +1 -1
  68. package/dist/components/Checkbox/index.js +3 -1
  69. package/dist/components/CommitmentCard/index.d.ts.map +1 -1
  70. package/dist/components/CommitmentCard/index.js +9 -8
  71. package/dist/components/ContentCard/index.d.ts.map +1 -1
  72. package/dist/components/ContentCard/index.js +6 -5
  73. package/dist/components/ContentSlot/index.d.ts.map +1 -1
  74. package/dist/components/ContentSlot/index.js +4 -3
  75. package/dist/components/CopyButton/index.d.ts.map +1 -1
  76. package/dist/components/CopyButton/index.js +2 -1
  77. package/dist/components/Datepicker/MonthSelector.js +2 -1
  78. package/dist/components/Datepicker/TimeSelector.js +5 -4
  79. package/dist/components/Datepicker/index.d.ts.map +1 -1
  80. package/dist/components/Datepicker/index.js +14 -10
  81. package/dist/components/DonutChart/index.d.ts.map +1 -1
  82. package/dist/components/DonutChart/index.js +3 -2
  83. package/dist/components/Dropdown/index.d.ts.map +1 -1
  84. package/dist/components/Dropdown/index.js +10 -9
  85. package/dist/components/DropdownCommitments/index.d.ts.map +1 -1
  86. package/dist/components/DropdownCommitments/index.js +3 -2
  87. package/dist/components/EmptySlot/index.d.ts.map +1 -1
  88. package/dist/components/EmptySlot/index.js +5 -4
  89. package/dist/components/Header/index.d.ts.map +1 -1
  90. package/dist/components/Header/index.js +4 -3
  91. package/dist/components/Input/index.d.ts.map +1 -1
  92. package/dist/components/Input/index.js +5 -4
  93. package/dist/components/Legend/index.d.ts.map +1 -1
  94. package/dist/components/Legend/index.js +5 -4
  95. package/dist/components/List/index.d.ts.map +1 -1
  96. package/dist/components/List/index.js +5 -4
  97. package/dist/components/ListItem/index.d.ts.map +1 -1
  98. package/dist/components/ListItem/index.js +3 -2
  99. package/dist/components/MenuAccordion/index.d.ts.map +1 -1
  100. package/dist/components/MenuAccordion/index.js +3 -2
  101. package/dist/components/Modal/index.d.ts.map +1 -1
  102. package/dist/components/Modal/index.js +7 -6
  103. package/dist/components/Navbar/index.d.ts.map +1 -1
  104. package/dist/components/Navbar/index.js +2 -1
  105. package/dist/components/NotificationBanner/index.d.ts.map +1 -1
  106. package/dist/components/NotificationBanner/index.js +2 -1
  107. package/dist/components/NotificationCard/index.d.ts.map +1 -1
  108. package/dist/components/NotificationCard/index.js +6 -5
  109. package/dist/components/NumberDisplay/index.d.ts.map +1 -1
  110. package/dist/components/NumberDisplay/index.js +7 -6
  111. package/dist/components/Pagination/index.d.ts.map +1 -1
  112. package/dist/components/Pagination/index.js +4 -3
  113. package/dist/components/ProgressBar/index.d.ts.map +1 -1
  114. package/dist/components/ProgressBar/index.js +3 -2
  115. package/dist/components/RadioButton/index.d.ts.map +1 -1
  116. package/dist/components/RadioButton/index.js +2 -1
  117. package/dist/components/Rating/index.d.ts.map +1 -1
  118. package/dist/components/Rating/index.js +2 -1
  119. package/dist/components/Search/index.d.ts.map +1 -1
  120. package/dist/components/Search/index.js +5 -4
  121. package/dist/components/SegmentedButton/index.d.ts.map +1 -1
  122. package/dist/components/SegmentedButton/index.js +2 -1
  123. package/dist/components/SelectItem/index.d.ts.map +1 -1
  124. package/dist/components/SelectItem/index.js +7 -6
  125. package/dist/components/ShowMore/index.d.ts.map +1 -1
  126. package/dist/components/ShowMore/index.js +2 -1
  127. package/dist/components/Slider/index.d.ts.map +1 -1
  128. package/dist/components/Slider/index.js +2 -1
  129. package/dist/components/Tab/index.d.ts.map +1 -1
  130. package/dist/components/Tab/index.js +4 -3
  131. package/dist/components/Tag/index.d.ts.map +1 -1
  132. package/dist/components/Tag/index.js +3 -2
  133. package/dist/components/TaskCard/components/SuccessTitle.d.ts.map +1 -1
  134. package/dist/components/TaskCard/components/SuccessTitle.js +2 -1
  135. package/dist/components/TaskCard/components/Tag.d.ts.map +1 -1
  136. package/dist/components/TaskCard/components/Tag.js +5 -4
  137. package/dist/components/TaskCard/components/TaskDescription.d.ts.map +1 -1
  138. package/dist/components/TaskCard/components/TaskDescription.js +2 -1
  139. package/dist/components/Toast/index.d.ts.map +1 -1
  140. package/dist/components/Toast/index.js +14 -13
  141. package/dist/components/TooltipCard/index.d.ts.map +1 -1
  142. package/dist/components/TooltipCard/index.js +3 -1
  143. package/dist/components/Typography/index.d.ts.map +1 -1
  144. package/dist/components/Typography/index.js +5 -4
  145. package/dist/components/utils/fontFamily.d.ts +5 -0
  146. package/dist/components/utils/fontFamily.d.ts.map +1 -0
  147. package/dist/components/utils/fontFamily.js +5 -0
  148. 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: 'Nunito Sans',
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: 'Nunito Sans',
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, StyleSheet } from 'react-native';
3
3
  import Image from '../Image';
4
4
  import Button from '../Button';
5
+ import { fontFamily } from '../utils/fontFamily';
5
6
 
6
7
  const AdBanner = ({
7
8
  imageSource,
@@ -62,7 +63,8 @@ const styles = StyleSheet.create({
62
63
  title: {
63
64
  color: '#fff',
64
65
  fontSize: 28,
65
- fontWeight: 'bold',
66
+ fontWeight: '700',
67
+ fontFamily: fontFamily.bold,
66
68
  marginBottom: 16,
67
69
  textAlign: 'left',
68
70
  width: '100%',
@@ -75,7 +77,8 @@ const styles = StyleSheet.create({
75
77
  width: '100%',
76
78
  },
77
79
  highlight: {
78
- fontWeight: 'bold',
80
+ fontWeight: '700',
81
+ fontFamily: fontFamily.bold,
79
82
  color: '#fff',
80
83
  },
81
84
  button: {
@@ -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: 'Nunito Sans',
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: 'Nunito Sans',
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: 'Nunito Sans',
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: 'Nunito Sans',
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: 'Nunito Sans', // family/default
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: 'Nunito Sans',
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: 'Nunito Sans',
325
+ fontFamily: fontFamily.bold,
325
326
  fontSize: 14,
326
327
  fontWeight: '700',
327
328
  lineHeight: 20,
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import { View, Text, StyleSheet } from 'react-native';
3
3
  import PropTypes from 'prop-types';
4
4
  import Icon from '../Icon';
5
+ import { fontFamily } from '../utils/fontFamily';
5
6
 
6
7
  const CardNumber = ({
7
8
  icon,
@@ -109,7 +110,8 @@ const styles = StyleSheet.create({
109
110
  },
110
111
  title: {
111
112
  fontSize: 18,
112
- fontWeight: 'bold',
113
+ fontWeight: '700',
114
+ fontFamily: fontFamily.bold,
113
115
  textAlign: 'center',
114
116
  lineHeight: 22,
115
117
  },
@@ -122,7 +124,8 @@ const styles = StyleSheet.create({
122
124
  },
123
125
  number: {
124
126
  fontSize: 28,
125
- fontWeight: 'bold',
127
+ fontWeight: '700',
128
+ fontFamily: fontFamily.bold,
126
129
  color: '#1B244B',
127
130
  textAlign: 'center',
128
131
  lineHeight: 28,
@@ -7,6 +7,7 @@ import {
7
7
  } from 'react-native';
8
8
  import Icon from '../Icon';
9
9
  import SEText from '../SEText';
10
+ import { fontFamily } from '../utils/fontFamily';
10
11
 
11
12
  const Checkbox = ({ label, checked, disabled, variant, onChange, noBorder = false }) => {
12
13
  return (
@@ -104,7 +105,8 @@ const styles = StyleSheet.create({
104
105
  },
105
106
  icon: {
106
107
  color: '#FFF',
107
- fontWeight: 'bold',
108
+ fontWeight: '700',
109
+ fontFamily: fontFamily.bold,
108
110
  fontSize: 14,
109
111
  },
110
112
  iconDisabled: {
@@ -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: 'Nunito Sans', // family/default
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: 'Nunito Sans', // family/default
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: 'Nunito Sans', // family/default
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: 'Nunito Sans', // family/default
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: 'Nunito Sans', // family/default
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: 'Nunito Sans', // family/default
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: 'Nunito Sans', // family/default
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: 'Nunito Sans', // family/default
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: 'Nunito Sans',
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: 'Nunito Sans',
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: 'Nunito Sans',
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: 'Nunito Sans',
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: 'Nunito Sans',
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: 'bold',
168
+ fontWeight: '700',
168
169
  color: '#1B244B',
169
170
  lineHeight: 20,
170
- fontFamily: 'Nunito Sans',
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: 'Nunito Sans',
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: 'Nunito Sans', // family/default
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: 'Nunito Sans',
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: '600',
230
+ fontWeight: '700',
230
231
  color: '#0A2D5E',
231
232
  textAlign: 'center',
232
- fontFamily: 'Nunito Sans',
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: '600',
241
+ fontWeight: '700',
241
242
  color: '#0A2D5E',
242
243
  marginHorizontal: 15,
243
244
  lineHeight: ITEM_HEIGHT,
244
245
  textAlign: 'center',
245
- fontFamily: 'Nunito Sans',
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: 'bold',
329
+ fontWeight: '700',
329
330
  padding: 10,
330
- fontFamily: 'Nunito Sans',
331
+ fontFamily: fontFamily.bold,
331
332
  },
332
333
  monthYear: {
333
334
  fontSize: 18,
334
- fontWeight: 'bold',
335
+ fontWeight: '700',
335
336
  color: '#333333',
336
- fontFamily: 'Nunito Sans',
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: 'Nunito Sans',
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: 'Nunito Sans',
371
+ fontFamily: fontFamily.regular,
371
372
  },
372
373
  emptyDay: {
373
374
  color: 'transparent',
@@ -391,7 +392,8 @@ const styles = StyleSheet.create({
391
392
  },
392
393
  startEndDayText: {
393
394
  color: '#FFFFFF',
394
- fontWeight: 'bold',
395
+ fontWeight: '700',
396
+ fontFamily: fontFamily.bold,
395
397
  },
396
398
  // Views de Mês e Ano
397
399
  monthsGrid: {
@@ -416,7 +418,8 @@ const styles = StyleSheet.create({
416
418
  },
417
419
  selectedMonthText: {
418
420
  color: '#FFFFFF',
419
- fontWeight: 'bold',
421
+ fontWeight: '700',
422
+ fontFamily: fontFamily.bold,
420
423
  },
421
424
  yearsGrid: {
422
425
  flexDirection: 'row',
@@ -437,11 +440,12 @@ const styles = StyleSheet.create({
437
440
  yearText: {
438
441
  fontSize: 16,
439
442
  color: '#333',
440
- fontFamily: 'Nunito Sans',
443
+ fontFamily: fontFamily.regular,
441
444
  },
442
445
  selectedYearText: {
443
446
  color: '#181010ff',
444
- fontWeight: 'bold',
447
+ fontWeight: '700',
448
+ fontFamily: fontFamily.bold,
445
449
  },
446
450
  });
447
451
 
@@ -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: 'Nunito Sans' }}>Nível Básico</Text>
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: 'Nunito Sans' }}>Nível Intermediário</Text>
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: 'Nunito Sans' }}>Nível Avançado</Text>
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: 'Nunito Sans',
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: 'Nunito Sans',
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: 'Nunito Sans',
75
+ fontFamily: fontFamily.bold,
75
76
  lineHeight: 24,
76
77
  letterSpacing: 0
77
78
  }}>Meus compromissos</Text>
78
79
  <Text style={{
79
- fontFamily: 'Nunito Sans',
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: 'Nunito Sans',
445
+ fontFamily: fontFamily.regular,
445
446
  },
446
447
  text: {
447
448
  flex: 1,
448
449
  fontSize: 14,
449
450
  color: '#333333',
450
- fontFamily: 'Nunito Sans',
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: '600',
489
+ fontWeight: '700',
489
490
  color: '#333333',
490
- fontFamily: 'Nunito Sans',
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: 'Nunito Sans',
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: 'Nunito Sans',
537
+ fontFamily: fontFamily.regular,
537
538
  textAlign: 'center',
538
539
  },
539
540
  pickerSelectedText: {
540
541
  fontSize: 24,
541
- fontWeight: 'bold',
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: 'Nunito Sans',
37
+ fontFamily: fontFamily.bold,
37
38
  lineHeight: 24,
38
39
  letterSpacing: 0
39
40
  }}>Meus compromissos</Text>
40
41
  <Text style={{
41
- fontFamily: 'Nunito Sans',
42
+ fontFamily: fontFamily.regular,
42
43
  fontWeight: '400',
43
44
  fontSize: 14,
44
45
  color: '#485274',