react-crud-mobile 1.3.24 → 1.3.26
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/dist/react-crud-mobile.cjs.development.js +6 -2
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +6 -2
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UISelect.tsx +4 -3
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ export default function UISelect(props: ChildType) {
|
|
|
31
31
|
};
|
|
32
32
|
const iconColor = Utils.nvl(theme.colors?.text, '#100e0e');
|
|
33
33
|
const modalColor = Utils.nvl(headerStyle.color, 'white');
|
|
34
|
-
|
|
34
|
+
const defaults = { color: modalColor };
|
|
35
35
|
const onClick = ({ crud, value }: MethodType) => {
|
|
36
36
|
let val = value as any;
|
|
37
37
|
|
|
@@ -88,10 +88,10 @@ export default function UISelect(props: ChildType) {
|
|
|
88
88
|
style={style('modalCloseButton')}
|
|
89
89
|
>
|
|
90
90
|
<Ionicons
|
|
91
|
-
name="
|
|
91
|
+
name="close"
|
|
92
92
|
size={24}
|
|
93
93
|
color={modalColor}
|
|
94
|
-
style={style('modalCloseText',
|
|
94
|
+
style={style('modalCloseText', defaults)}
|
|
95
95
|
/>
|
|
96
96
|
</TouchableOpacity>
|
|
97
97
|
<Text style={style('modalTitle')}>{placeholder}</Text>
|
|
@@ -100,6 +100,7 @@ export default function UISelect(props: ChildType) {
|
|
|
100
100
|
<UI.List
|
|
101
101
|
data={items}
|
|
102
102
|
name={scope.getName('list')}
|
|
103
|
+
layout="card"
|
|
103
104
|
click={onClick}
|
|
104
105
|
rowStyle={scope.original?.rowStyle}
|
|
105
106
|
>
|