ikualo-ui-kit-mobile 1.8.1 → 1.8.3
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/app.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "ikualo-app-2.0",
|
|
4
4
|
"slug": "ikualo-app-20",
|
|
5
5
|
"owner": "ikualo",
|
|
6
|
-
"version": "1.8.
|
|
6
|
+
"version": "1.8.3",
|
|
7
7
|
"orientation": "portrait",
|
|
8
8
|
"icon": "./assets/icon.png",
|
|
9
9
|
"userInterfaceStyle": "automatic",
|
|
@@ -39,6 +39,5 @@
|
|
|
39
39
|
"updates": {
|
|
40
40
|
"url": "https://u.expo.dev/5c8b451c-3fd3-42d1-91fd-fc1190b6f425"
|
|
41
41
|
}
|
|
42
|
-
|
|
43
42
|
}
|
|
44
43
|
}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import { getStyleInput } from '../../../assets/styles/elements/inputs';
|
|
|
6
6
|
import useStore from '../../store';
|
|
7
7
|
|
|
8
8
|
export const InputCheckbox = (props: ICheckboxComponent) => {
|
|
9
|
-
const { checked, onChange, label } = props;
|
|
9
|
+
const { checked, onChange, label, onlyRead } = props;
|
|
10
10
|
const theme = useStore().theme;
|
|
11
11
|
const [check, setCheck] = useState(checked);
|
|
12
12
|
const styleInputs = getStyleInput(theme);
|
|
@@ -18,6 +18,7 @@ export const InputCheckbox = (props: ICheckboxComponent) => {
|
|
|
18
18
|
<View style={styleInputs['input-checkbox-container']}>
|
|
19
19
|
<TouchableHighlight
|
|
20
20
|
underlayColor={theme.colors.background_focus}
|
|
21
|
+
disabled={onlyRead}
|
|
21
22
|
style={styleInputs['input-checkbox']}
|
|
22
23
|
onPress={() => {
|
|
23
24
|
setCheck(!check);
|
|
@@ -25,6 +26,7 @@ export const InputCheckbox = (props: ICheckboxComponent) => {
|
|
|
25
26
|
>
|
|
26
27
|
{check ? <CheckboxCheckedIcon /> : <CheckboxEmptyIcon />}
|
|
27
28
|
</TouchableHighlight>
|
|
29
|
+
|
|
28
30
|
{label && <Text style={styleInputs['input-checkbox-label']}>{label}</Text>}
|
|
29
31
|
</View>
|
|
30
32
|
);
|
|
@@ -23,7 +23,7 @@ export const PageBasic = (props: IFPageBasic) => {
|
|
|
23
23
|
<SafeAreaView style={stylePages['page-basic']}>
|
|
24
24
|
{!theme?.dark && (
|
|
25
25
|
<LinearGradient
|
|
26
|
-
colors={['#FFFFFF', '#
|
|
26
|
+
colors={['#FFFFFF', '#E5E5F9']}
|
|
27
27
|
style={StyleSheet.absoluteFillObject}
|
|
28
28
|
start={{ x: 0, y: 0 }}
|
|
29
29
|
end={{ x: 0, y: 1 }}
|