vpt-sebraeds 0.0.58 → 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.
@@ -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, 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: {
@@ -392,7 +392,8 @@ const styles = StyleSheet.create({
392
392
  },
393
393
  startEndDayText: {
394
394
  color: '#FFFFFF',
395
- fontWeight: 'bold',
395
+ fontWeight: '700',
396
+ fontFamily: fontFamily.bold,
396
397
  },
397
398
  // Views de Mês e Ano
398
399
  monthsGrid: {
@@ -417,7 +418,8 @@ const styles = StyleSheet.create({
417
418
  },
418
419
  selectedMonthText: {
419
420
  color: '#FFFFFF',
420
- fontWeight: 'bold',
421
+ fontWeight: '700',
422
+ fontFamily: fontFamily.bold,
421
423
  },
422
424
  yearsGrid: {
423
425
  flexDirection: 'row',
@@ -442,7 +444,8 @@ const styles = StyleSheet.create({
442
444
  },
443
445
  selectedYearText: {
444
446
  color: '#181010ff',
445
- fontWeight: 'bold',
447
+ fontWeight: '700',
448
+ fontFamily: fontFamily.bold,
446
449
  },
447
450
  });
448
451
 
@@ -1,6 +1,7 @@
1
1
  import React, { useRef, useState, useEffect } from 'react';
2
2
  import { View, TouchableOpacity, Dimensions, Modal, Platform } from 'react-native';
3
3
  import SEText from '../SEText';
4
+ import { fontFamily } from '../utils/fontFamily';
4
5
 
5
6
  const variants = {
6
7
  light: {
@@ -298,7 +299,8 @@ const styles = {
298
299
  },
299
300
  title: {
300
301
  fontSize: 20,
301
- fontWeight: 'bold',
302
+ fontWeight: '700',
303
+ fontFamily: fontFamily.bold,
302
304
  marginBottom: 8,
303
305
  lineHeight: 24,
304
306
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/AdBanner/index.jsx"],"names":[],"mappings":";AAKA;;;;;;;;sBAoCC;kBAzCiB,OAAO"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/AdBanner/index.jsx"],"names":[],"mappings":";AAMA;;;;;;;;sBAoCC;kBA1CiB,OAAO"}
@@ -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
  const AdBanner = ({ imageSource, title, description, highlight, buttonLabel, onButtonPress, style }) => {
6
7
  return (<View>
7
8
  <Text style={styles.featuredText}>CONTINUA DEPOIS DA PUBLICIDADE</Text>
@@ -38,7 +39,8 @@ const styles = StyleSheet.create({
38
39
  title: {
39
40
  color: '#fff',
40
41
  fontSize: 28,
41
- fontWeight: 'bold',
42
+ fontWeight: '700',
43
+ fontFamily: fontFamily.bold,
42
44
  marginBottom: 16,
43
45
  textAlign: 'left',
44
46
  width: '100%',
@@ -51,7 +53,8 @@ const styles = StyleSheet.create({
51
53
  width: '100%',
52
54
  },
53
55
  highlight: {
54
- fontWeight: 'bold',
56
+ fontWeight: '700',
57
+ fontFamily: fontFamily.bold,
55
58
  color: '#fff',
56
59
  },
57
60
  button: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/CardNumber/index.jsx"],"names":[],"mappings":";AAKA;;;;;;;;;;;;;;;sBAiDC;;;;;;;;;;;;;;;;;;;kBAtDiB,OAAO"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/CardNumber/index.jsx"],"names":[],"mappings":";AAMA;;;;;;;;;;;;;;;sBAiDC;;;;;;;;;;;;;;;;;;;kBAvDiB,OAAO"}
@@ -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
  const CardNumber = ({ icon, title = 'Total de empresas', subtitle = 'Todos os portes', number = '3.160.337', backgroundColor = '#EAF0FF', contentBackgroundColor = '#F7F9FF', iconColor = '#222', textColor = '#222',
6
7
  // Back-compat: keep width/height props but use them as minimums
7
8
  width = 258, height = 180,
@@ -85,7 +86,8 @@ const styles = StyleSheet.create({
85
86
  },
86
87
  title: {
87
88
  fontSize: 18,
88
- fontWeight: 'bold',
89
+ fontWeight: '700',
90
+ fontFamily: fontFamily.bold,
89
91
  textAlign: 'center',
90
92
  lineHeight: 22,
91
93
  },
@@ -98,7 +100,8 @@ const styles = StyleSheet.create({
98
100
  },
99
101
  number: {
100
102
  fontSize: 28,
101
- fontWeight: 'bold',
103
+ fontWeight: '700',
104
+ fontFamily: fontFamily.bold,
102
105
  color: '#1B244B',
103
106
  textAlign: 'center',
104
107
  lineHeight: 28,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/Checkbox/index.jsx"],"names":[],"mappings":";AAUA;;;;;;;sBAuCC;;;;;;;;;;;;;;;;;;;QAgBW,mCAAS;;;;;;kBAjEH,OAAO"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/Checkbox/index.jsx"],"names":[],"mappings":";AAWA;;;;;;;sBAuCC;;;;;;;;;;;;;;;;;;;QAgBW,mCAAS;;;;;;kBAlEH,OAAO"}
@@ -3,6 +3,7 @@ import PropTypes from 'prop-types';
3
3
  import { View, TouchableOpacity, StyleSheet, } from 'react-native';
4
4
  import Icon from '../Icon';
5
5
  import SEText from '../SEText';
6
+ import { fontFamily } from '../utils/fontFamily';
6
7
  const Checkbox = ({ label, checked, disabled, variant, onChange, noBorder = false }) => {
7
8
  return (<TouchableOpacity style={[
8
9
  styles.container,
@@ -76,7 +77,8 @@ const styles = StyleSheet.create({
76
77
  },
77
78
  icon: {
78
79
  color: '#FFF',
79
- fontWeight: 'bold',
80
+ fontWeight: '700',
81
+ fontFamily: fontFamily.bold,
80
82
  fontSize: 14,
81
83
  },
82
84
  iconDisabled: {
@@ -330,7 +330,8 @@ const styles = StyleSheet.create({
330
330
  },
331
331
  startEndDayText: {
332
332
  color: '#FFFFFF',
333
- fontWeight: 'bold',
333
+ fontWeight: '700',
334
+ fontFamily: fontFamily.bold,
334
335
  },
335
336
  // Views de Mês e Ano
336
337
  monthsGrid: {
@@ -355,7 +356,8 @@ const styles = StyleSheet.create({
355
356
  },
356
357
  selectedMonthText: {
357
358
  color: '#FFFFFF',
358
- fontWeight: 'bold',
359
+ fontWeight: '700',
360
+ fontFamily: fontFamily.bold,
359
361
  },
360
362
  yearsGrid: {
361
363
  flexDirection: 'row',
@@ -380,7 +382,8 @@ const styles = StyleSheet.create({
380
382
  },
381
383
  selectedYearText: {
382
384
  color: '#181010ff',
383
- fontWeight: 'bold',
385
+ fontWeight: '700',
386
+ fontFamily: fontFamily.bold,
384
387
  },
385
388
  });
386
389
  export { default as MonthSelector } from './MonthSelector';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/TooltipCard/index.jsx"],"names":[],"mappings":";AAmBA;;;;;;;;sBAyQC;kBA5RkD,OAAO"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/TooltipCard/index.jsx"],"names":[],"mappings":";AAoBA;;;;;;;;sBAyQC;kBA7RkD,OAAO"}
@@ -1,6 +1,7 @@
1
1
  import React, { useRef, useState, useEffect } from 'react';
2
2
  import { View, TouchableOpacity, Dimensions, Modal, Platform } from 'react-native';
3
3
  import SEText from '../SEText';
4
+ import { fontFamily } from '../utils/fontFamily';
4
5
  const variants = {
5
6
  light: {
6
7
  backgroundColor: '#fff',
@@ -231,7 +232,8 @@ const styles = {
231
232
  },
232
233
  title: {
233
234
  fontSize: 20,
234
- fontWeight: 'bold',
235
+ fontWeight: '700',
236
+ fontFamily: fontFamily.bold,
235
237
  marginBottom: 8,
236
238
  lineHeight: 24,
237
239
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vpt-sebraeds",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "description": "Biblioteca de componentes React Native do Sebrae",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",