cdslibrary 1.2.26 → 1.2.27

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.
@@ -12,19 +12,19 @@ export const CDSOffer = ({ description, minValue, maxValue }) => {
12
12
  const { theme } = useTheme();
13
13
  console.log(theme)
14
14
  return (
15
- <View style={[styles.mainContainer, { gap: theme.space.xs }]}>
15
+ <View style={[styles.mainContainer, { gap: theme.space.sm }]}>
16
16
  <Text style={theme.typography.regular.md}>Por tu</Text>
17
17
  <Text style={theme.typography.semiBold.lg}>{description}</Text>
18
18
  <Text style={theme.typography.regular.md}>Hoy podrías obtener:</Text>
19
19
  <View style={[styles.minMaxContainer, { flexDirection: isMobile ? 'column' : 'row' }]}>
20
- <View style={[styles.containerMin, { backgroundColor: theme.surface.neutral.secondary, borderColor: theme.outline.neutral.tertiaryVariant, gap: theme.space.xs, padding: theme.space.sm, borderRadius: theme.radius.lg }]}>
20
+ <View style={[styles.containerMin, { backgroundColor: theme.surface.neutral.secondary, borderColor: theme.outline.neutral.tertiaryVariant, gap: theme.space.xs, padding: theme.space.sm, borderRadius: theme.radius.md }]}>
21
21
  <Text style={[theme.typography.regular.md, { color: theme.text.neutral.primary }]}>Desde</Text>
22
22
  <Text style={[theme.typography.h3, { textAlign: 'center', color: theme.text.neutral.primary }]}>{`$${parseFloat(minValue).toLocaleString('en-US', {
23
23
  minimumFractionDigits: 2,
24
24
  maximumFractionDigits: 2
25
25
  })}`}</Text>
26
26
  </View>
27
- <View style={[styles.containerMax, { marginTop: isMobile ? -theme.space.xs : 0, marginLeft: isMobile ? 0 : -theme.space.xl, backgroundColor: theme.surface.brand.primaryVariant, borderColor: theme.outline.brand.secondary, gap: theme.space.xs, padding: theme.space.sm, borderRadius: theme.radius.lg }]}>
27
+ <View style={[styles.containerMax, { marginTop: isMobile ? -theme.space.xs : 0, marginLeft: isMobile ? 0 : -theme.space.xl, backgroundColor: theme.surface.brand.primaryVariant, borderColor: theme.outline.brand.secondary, gap: theme.space.xs, padding: theme.space.sm, borderRadius: theme.radius.md }]}>
28
28
  <Text style={[theme.typography.regular.md, { color: theme.text.brand.primary }]}>Hasta</Text>
29
29
  <Text style={[theme.typography.h1, { textAlign: 'center', color: theme.text.brand.primary }]}>{`$${parseFloat(maxValue).toLocaleString('en-US', {
30
30
  minimumFractionDigits: 2,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cdslibrary",
3
3
  "license": "0BSD",
4
- "version": "1.2.26",
4
+ "version": "1.2.27",
5
5
  "main": "index.js",
6
6
  "author": "Nat Viramontes",
7
7
  "description": "A library of components for the CDS project",