cdslibrary 1.2.74 → 1.2.76
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
|
@@ -37,7 +37,7 @@ export const CDSLoader = ({ visible = false, message }) => {
|
|
|
37
37
|
const animatedStyle = useAnimatedStyle(() => ({
|
|
38
38
|
opacity: opacity.value,
|
|
39
39
|
}));
|
|
40
|
-
|
|
40
|
+
console.log(theme)
|
|
41
41
|
if (!shouldRender && !visible) return null;
|
|
42
42
|
return (
|
|
43
43
|
<Modal transparent visible={shouldRender} animationType="none">
|
|
@@ -54,7 +54,7 @@ export const CDSLoader = ({ visible = false, message }) => {
|
|
|
54
54
|
source={require("../assets/animations/animationLoaderWhite.json")}
|
|
55
55
|
resizeMode="contain"
|
|
56
56
|
/>
|
|
57
|
-
{message && <Text style={[theme.typography.semiBold.md, {color: theme.text.
|
|
57
|
+
{message && <Text style={[theme.typography.semiBold.md, {color: theme.text.special.loader}]}>
|
|
58
58
|
{message}
|
|
59
59
|
</Text>}
|
|
60
60
|
</View>
|
|
@@ -76,6 +76,7 @@ const styles = StyleSheet.create({
|
|
|
76
76
|
// O si usas fijos, asegúrate que sean mayores al estilo del Lottie
|
|
77
77
|
minWidth: 180,
|
|
78
78
|
minHeight: 180,
|
|
79
|
+
maxWidth: 320,
|
|
79
80
|
justifyContent: "center",
|
|
80
81
|
alignItems: "center",
|
|
81
82
|
},
|
package/package.json
CHANGED
|
@@ -27,7 +27,7 @@ export const CDSsemanticColors = {
|
|
|
27
27
|
primary: CDSprimitiveColors.neutral[800],
|
|
28
28
|
pressed: CDSprimitiveColors.neutral[1000],
|
|
29
29
|
},
|
|
30
|
-
brand:{
|
|
30
|
+
brand: {
|
|
31
31
|
primary: CDSprimitiveColors.brand[50],
|
|
32
32
|
primaryVariant: CDSprimitiveColors.brand[100],
|
|
33
33
|
secondary: CDSprimitiveColors.brand[200],
|
|
@@ -108,6 +108,9 @@ export const CDSsemanticColors = {
|
|
|
108
108
|
warning: CDSprimitiveColors.marigold[300],
|
|
109
109
|
error: CDSprimitiveColors.scarlet[300],
|
|
110
110
|
},
|
|
111
|
+
special: {
|
|
112
|
+
loader: CDSprimitiveColors.neutral[0],
|
|
113
|
+
}
|
|
111
114
|
},
|
|
112
115
|
overlay: CDSprimitiveColors.overlay.light,
|
|
113
116
|
},
|
|
@@ -138,7 +141,7 @@ export const CDSsemanticColors = {
|
|
|
138
141
|
pressed: CDSprimitiveColors.neutral[100],
|
|
139
142
|
},
|
|
140
143
|
|
|
141
|
-
|
|
144
|
+
brand: {
|
|
142
145
|
primary: CDSprimitiveColors.neutral[900],
|
|
143
146
|
primaryVariant: CDSprimitiveColors.brand[800],
|
|
144
147
|
secondary: CDSprimitiveColors.brand[150],
|
|
@@ -220,6 +223,9 @@ export const CDSsemanticColors = {
|
|
|
220
223
|
warning: CDSprimitiveColors.marigold[350],
|
|
221
224
|
error: CDSprimitiveColors.scarlet[350],
|
|
222
225
|
},
|
|
226
|
+
special: {
|
|
227
|
+
loader: CDSprimitiveColors.neutral[0],
|
|
228
|
+
}
|
|
223
229
|
},
|
|
224
230
|
overlay: CDSprimitiveColors.overlay.dark,
|
|
225
231
|
},
|