cdslibrary 1.2.94 → 1.2.95
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/components/CDSLoader.jsx
CHANGED
|
@@ -49,8 +49,6 @@ export const CDSLoader = ({ visible = false, message }) => {
|
|
|
49
49
|
autoPlay
|
|
50
50
|
loop
|
|
51
51
|
source={require("../assets/animations/animationLoaderWhite.json")}
|
|
52
|
-
// CLAVE: Definimos un tamaño que funcione en ambos,
|
|
53
|
-
// pero limitado para que en Web no explote
|
|
54
52
|
style={styles.lottie}
|
|
55
53
|
resizeMode="contain"
|
|
56
54
|
/>
|
|
@@ -64,7 +62,7 @@ export const CDSLoader = ({ visible = false, message }) => {
|
|
|
64
62
|
paddingHorizontal: 20
|
|
65
63
|
}
|
|
66
64
|
]}>
|
|
67
|
-
{message}
|
|
65
|
+
{/* {message} */}
|
|
68
66
|
</Text>
|
|
69
67
|
)}
|
|
70
68
|
</View>
|
|
@@ -80,17 +78,14 @@ const styles = StyleSheet.create({
|
|
|
80
78
|
alignItems: "center",
|
|
81
79
|
},
|
|
82
80
|
loaderContainer: {
|
|
83
|
-
// Evita que el contenedor se estire en pantallas grandes (Web)
|
|
84
81
|
width: '100%',
|
|
85
82
|
maxWidth: 300,
|
|
86
83
|
justifyContent: "center",
|
|
87
84
|
alignItems: "center",
|
|
88
85
|
},
|
|
89
86
|
lottie: {
|
|
90
|
-
// Tamaño controlado para móvil y Web
|
|
91
87
|
width: 150,
|
|
92
88
|
height: 150,
|
|
93
|
-
// En Web a veces necesita una alineación extra
|
|
94
89
|
...Platform.select({
|
|
95
90
|
web: {
|
|
96
91
|
alignSelf: 'center',
|
package/components/CDSTable.jsx
CHANGED
|
@@ -77,7 +77,7 @@ export const CDSTable = ({ columns, data, breakpoint = 500 }) => {
|
|
|
77
77
|
{
|
|
78
78
|
color: theme.text.neutral.secondary,
|
|
79
79
|
textAlign: col.align || 'left',
|
|
80
|
-
fontVariant: col.align === 'right' ? ['tabular-nums'] : [],
|
|
80
|
+
// fontVariant: col.align === 'right' ? ['tabular-nums'] : [],
|
|
81
81
|
}
|
|
82
82
|
]}>
|
|
83
83
|
{item[col.key]}
|