cdslibrary 1.2.70 → 1.2.71
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/CDSInput.jsx +3 -3
- package/components/CDSOffer.jsx +1 -1
- package/index.js +4 -4
- package/package.json +1 -1
package/components/CDSInput.jsx
CHANGED
|
@@ -58,7 +58,7 @@ export const CDSInput = ({ label, type, keyboard, placeholder, value, onChangeTe
|
|
|
58
58
|
borderWidth: 1 + flashValue.value * 1,
|
|
59
59
|
};
|
|
60
60
|
});
|
|
61
|
-
|
|
61
|
+
console.log(theme.surface.neutral)
|
|
62
62
|
return (
|
|
63
63
|
<View style={[styles.container, { gap: theme.space.sm }]}>
|
|
64
64
|
{label && (
|
|
@@ -71,7 +71,7 @@ export const CDSInput = ({ label, type, keyboard, placeholder, value, onChangeTe
|
|
|
71
71
|
styles.wrapper,
|
|
72
72
|
animatedBoxStyle,
|
|
73
73
|
{
|
|
74
|
-
backgroundColor: type === 'readOnly' ? theme.surface.
|
|
74
|
+
backgroundColor: type === 'readOnly' ? theme.surface.neutral.primaryVariant : theme.surface.neutral.primary,
|
|
75
75
|
borderRadius: theme.radius.sm,
|
|
76
76
|
}
|
|
77
77
|
]}>
|
|
@@ -81,7 +81,7 @@ export const CDSInput = ({ label, type, keyboard, placeholder, value, onChangeTe
|
|
|
81
81
|
theme.typography.inputText.value,
|
|
82
82
|
{ pointerEvents: (type === 'readOnly' ? 'none' : 'auto'),
|
|
83
83
|
paddingHorizontal: theme.space.sm,
|
|
84
|
-
color: theme.text.neutral.primary,
|
|
84
|
+
color: (type === 'readOnly' ? theme.text.neutral.secondary :theme.text.neutral.primary),
|
|
85
85
|
// @ts-ignore
|
|
86
86
|
outlineStyle: 'none',
|
|
87
87
|
},
|
package/components/CDSOffer.jsx
CHANGED
|
@@ -12,7 +12,7 @@ export const CDSOffer = ({ description, minValue, maxValue }) => {
|
|
|
12
12
|
return (
|
|
13
13
|
<View style={[styles.mainContainer, { gap: theme.space.md }]}>
|
|
14
14
|
<Text style={theme.typography.regular.md}>Por tu</Text>
|
|
15
|
-
<Text style={theme.typography.semiBold.lg}>{description}</Text>
|
|
15
|
+
<Text style={[theme.typography.semiBold.lg, {textAlign: 'center'}]}>{description}</Text>
|
|
16
16
|
<Text style={theme.typography.regular.md}>Hoy podrías obtener:</Text>
|
|
17
17
|
<View style={[styles.minMaxContainer, { flexDirection: isMobile ? 'column' : 'row' }]}>
|
|
18
18
|
<View style={[styles.containerMin, { backgroundColor: theme.surface.neutral.secondary, borderColor: theme.outline.neutral.tertiaryVariant, gap: theme.space.sm, padding: theme.space.md, borderRadius: theme.radius.md }]}>
|
package/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import 'react-native-gesture-handler';
|
|
3
|
-
|
|
2
|
+
// import 'react-native-gesture-handler';
|
|
3
|
+
// import { registerRootComponent } from 'expo';
|
|
4
4
|
|
|
5
|
-
import App from './App';
|
|
6
|
-
registerRootComponent(App);
|
|
5
|
+
// import App from './App';
|
|
6
|
+
// registerRootComponent(App);
|
|
7
7
|
|
|
8
8
|
export {CDSBottomSheet} from './components/CDSBottomSheet';
|
|
9
9
|
export {CDSButton} from './components/CDSButton';
|