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
|
@@ -523,6 +523,9 @@ function UISelect(props) {
|
|
|
523
523
|
};
|
|
524
524
|
var iconColor = reactCrudUtils.Utils.nvl((_theme$colors = theme.colors) == null ? void 0 : _theme$colors.text, '#100e0e');
|
|
525
525
|
var modalColor = reactCrudUtils.Utils.nvl(headerStyle.color, 'white');
|
|
526
|
+
var defaults = {
|
|
527
|
+
color: modalColor
|
|
528
|
+
};
|
|
526
529
|
var onClick = function onClick(_ref) {
|
|
527
530
|
var value = _ref.value;
|
|
528
531
|
var val = value;
|
|
@@ -579,10 +582,10 @@ function UISelect(props) {
|
|
|
579
582
|
},
|
|
580
583
|
style: style('modalCloseButton'),
|
|
581
584
|
children: /*#__PURE__*/jsxRuntime.jsx(vectorIcons.Ionicons, {
|
|
582
|
-
name: "
|
|
585
|
+
name: "close",
|
|
583
586
|
size: 24,
|
|
584
587
|
color: modalColor,
|
|
585
|
-
style: style('modalCloseText',
|
|
588
|
+
style: style('modalCloseText', defaults)
|
|
586
589
|
})
|
|
587
590
|
}), /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|
|
588
591
|
style: style('modalTitle'),
|
|
@@ -593,6 +596,7 @@ function UISelect(props) {
|
|
|
593
596
|
children: /*#__PURE__*/jsxRuntime.jsx(UI.List, {
|
|
594
597
|
data: items,
|
|
595
598
|
name: scope.getName('list'),
|
|
599
|
+
layout: "card",
|
|
596
600
|
click: onClick,
|
|
597
601
|
rowStyle: (_scope$original = scope.original) == null ? void 0 : _scope$original.rowStyle,
|
|
598
602
|
children: /*#__PURE__*/jsxRuntime.jsx(UI.Value, {
|