@xetwa/design-system 1.0.41 → 1.0.42
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/package.json
CHANGED
|
@@ -135,7 +135,7 @@ const TabBarItemComponent = ({
|
|
|
135
135
|
variant="smallHeavy"
|
|
136
136
|
style={[
|
|
137
137
|
styles.label,
|
|
138
|
-
{ color, fontSize: scaleText(
|
|
138
|
+
{ color, fontSize: scaleText(11.5) },
|
|
139
139
|
variant === 'C' && { marginBottom: scale(4) }
|
|
140
140
|
]}
|
|
141
141
|
>
|
|
@@ -162,7 +162,7 @@ export const TabBar = ({
|
|
|
162
162
|
const { scale, scaleText, width } = useResponsive();
|
|
163
163
|
const isDesktop = width >= 768;
|
|
164
164
|
|
|
165
|
-
const iconSize = isDesktop ? scale(
|
|
165
|
+
const iconSize = isDesktop ? scale(30) : scale(26);
|
|
166
166
|
const bottomPadding = Math.max(scale(14), safeAreaBottom);
|
|
167
167
|
|
|
168
168
|
return (
|
package/src/styles/theme.ts
CHANGED
|
@@ -5,7 +5,7 @@ const font = (family: string, webWeight: '400' | '500' | '600' | '700' | '800' |
|
|
|
5
5
|
const webFamily = family.split('-')[0];
|
|
6
6
|
return Platform.select({
|
|
7
7
|
web: { fontFamily: webFamily, fontWeight: webWeight },
|
|
8
|
-
default: { fontFamily: family
|
|
8
|
+
default: { fontFamily: family }
|
|
9
9
|
}) as { fontFamily: string; fontWeight?: '400' | '500' | '600' | '700' | '800' | '900' };
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -236,31 +236,37 @@ export const theme = {
|
|
|
236
236
|
|
|
237
237
|
// FAMÍLIA NUNITO (Corpo, Labels, Listas e Infos)
|
|
238
238
|
bodyLgHeavy: {
|
|
239
|
-
...font('Nunito-
|
|
239
|
+
...font('Nunito-Black', '900'),
|
|
240
|
+
fontSize: 16,
|
|
241
|
+
lineHeight: 24,
|
|
242
|
+
desktopFontSize: 18,
|
|
243
|
+
},
|
|
244
|
+
bodyLg: {
|
|
245
|
+
...font('Nunito-Black', '900'),
|
|
240
246
|
fontSize: 16,
|
|
241
247
|
lineHeight: 24,
|
|
242
248
|
desktopFontSize: 18,
|
|
243
249
|
},
|
|
244
250
|
bodyMdHeavy: {
|
|
245
|
-
...font('Nunito-
|
|
251
|
+
...font('Nunito-Black', '900'),
|
|
246
252
|
fontSize: 15,
|
|
247
253
|
lineHeight: 22,
|
|
248
254
|
desktopFontSize: 16,
|
|
249
255
|
},
|
|
250
256
|
bodyMd: {
|
|
251
|
-
...font('Nunito-
|
|
257
|
+
...font('Nunito-Black', '900'),
|
|
252
258
|
fontSize: 15,
|
|
253
259
|
lineHeight: 22,
|
|
254
260
|
desktopFontSize: 16,
|
|
255
261
|
},
|
|
256
262
|
bodySmHeavy: {
|
|
257
|
-
...font('Nunito-
|
|
263
|
+
...font('Nunito-Black', '900'),
|
|
258
264
|
fontSize: 13.5,
|
|
259
265
|
lineHeight: 20,
|
|
260
266
|
desktopFontSize: 15,
|
|
261
267
|
},
|
|
262
268
|
bodySm: {
|
|
263
|
-
...font('Nunito-
|
|
269
|
+
...font('Nunito-Black', '900'),
|
|
264
270
|
fontSize: 13.5,
|
|
265
271
|
lineHeight: 20,
|
|
266
272
|
desktopFontSize: 15,
|
|
@@ -295,7 +301,7 @@ export const theme = {
|
|
|
295
301
|
desktopFontSize: 12,
|
|
296
302
|
},
|
|
297
303
|
smallHeavy: {
|
|
298
|
-
...font('Nunito-
|
|
304
|
+
...font('Nunito-Black', '900'),
|
|
299
305
|
fontSize: 10,
|
|
300
306
|
lineHeight: 14,
|
|
301
307
|
desktopFontSize: 11,
|
package/src/utils/iconMap.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { FileText } from 'lucide-react';
|
|
2
|
-
import { Play, Volume2, Volume1, ArrowRight, X, Check, ChevronRight, ChevronLeft, Info, AlertTriangle, Book, Mic, Home, Compass, GraduationCap, FolderOpen, User, ShoppingCart } from 'lucide-react-native';
|
|
1
|
+
import { Play, Volume2, Volume1, ArrowRight, X, Check, ChevronRight, ChevronLeft, Info, AlertTriangle, Book, Mic, Home, Compass, GraduationCap, FolderOpen, User, ShoppingCart, FileText, Wallet } from 'lucide-react-native';
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
4
|
* Para evitar que o Vite e o Metro (React Native) tentem empacotar os 1400+ ícones
|
|
@@ -29,4 +28,5 @@ export const IconMap: Record<string, any> = {
|
|
|
29
28
|
User,
|
|
30
29
|
ShoppingCart,
|
|
31
30
|
FileText,
|
|
31
|
+
Wallet,
|
|
32
32
|
};
|