cdslibrary 1.2.91 → 1.2.92
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.
|
@@ -35,7 +35,7 @@ export const CDSImageButtonGroup = ({ array, onSelect, isCentered }) => {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
return (
|
|
38
|
-
<View style={[
|
|
38
|
+
<Animated.View style={[
|
|
39
39
|
animatedLayout,
|
|
40
40
|
{ width: '100%' } // Asegura que el contenedor ocupe todo el ancho disponible
|
|
41
41
|
]}>
|
|
@@ -65,7 +65,7 @@ export const CDSImageButtonGroup = ({ array, onSelect, isCentered }) => {
|
|
|
65
65
|
/>
|
|
66
66
|
))}
|
|
67
67
|
</ScrollView>
|
|
68
|
-
</View>
|
|
68
|
+
</Animated.View>
|
|
69
69
|
);
|
|
70
70
|
}
|
|
71
71
|
|
package/components/CDSTable.jsx
CHANGED
|
@@ -69,7 +69,6 @@ export const CDSTable = ({ columns, data, breakpoint = 500 }) => {
|
|
|
69
69
|
styles.cell,
|
|
70
70
|
{ padding: theme.space.sm },
|
|
71
71
|
col.width ? { width: col.width } : { flex: 1 },
|
|
72
|
-
// Alinea el contenedor para móvil (Expo Go)
|
|
73
72
|
col.align === 'right' ? { alignItems: 'flex-end' } : { alignItems: 'flex-start' }
|
|
74
73
|
]}
|
|
75
74
|
>
|
|
@@ -78,7 +77,6 @@ export const CDSTable = ({ columns, data, breakpoint = 500 }) => {
|
|
|
78
77
|
{
|
|
79
78
|
color: theme.text.neutral.secondary,
|
|
80
79
|
textAlign: col.align || 'left',
|
|
81
|
-
// Tabular-nums asegura que los números tengan el mismo ancho (perfecto para precios)
|
|
82
80
|
fontVariant: col.align === 'right' ? ['tabular-nums'] : [],
|
|
83
81
|
}
|
|
84
82
|
]}>
|