@xetwa/design-system 1.0.7 → 1.0.9

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xetwa/design-system",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -212,7 +212,11 @@ export const MainButton = React.forwardRef<React.ElementRef<typeof Pressable>, M
212
212
  />
213
213
  )}
214
214
 
215
- <Typography style={textStyles} weight={weight}>
215
+ <Typography
216
+ style={textStyles}
217
+ variant={size === 'lg' ? 'btnLg' : size === 'sm' ? 'btnSm' : 'btnMd'}
218
+ weight={weight}
219
+ >
216
220
  {children}
217
221
  </Typography>
218
222
  </Pressable>
@@ -56,7 +56,7 @@ export const SelectionCard = ({
56
56
  {iconNode}
57
57
  </View>
58
58
  )}
59
- <Typography style={[styles.label, { fontSize: scaleText(16) }]}>{label}</Typography>
59
+ <Typography weight="bold" style={[styles.label, { fontSize: scaleText(16) }]}>{label}</Typography>
60
60
  </Pressable>
61
61
  );
62
62
  };
@@ -228,7 +228,7 @@ export const Vava: React.FC<VavaProps> = ({ variant = 'original', size = 200, av
228
228
  <Svg
229
229
  width={size}
230
230
  height={size}
231
- viewBox={avatarOnly ? "35 45 130 130" : "0 0 200 200"}
231
+ viewBox={avatarOnly ? "35 30 130 140" : "0 0 200 200"}
232
232
  role="img"
233
233
  aria-label={`Mascote Vava: ${variant}`}
234
234
  >