react-crud-mobile 1.3.22 → 1.3.24

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.
@@ -504,7 +504,7 @@ var MobileUtils = /*#__PURE__*/function () {
504
504
  }();
505
505
 
506
506
  function UISelect(props) {
507
- var _theme$styles, _theme$colors;
507
+ var _theme$styles, _theme$colors, _scope$original;
508
508
  var _useState = React.useState(false),
509
509
  modalVisible = _useState[0],
510
510
  setModalVisible = _useState[1];
@@ -522,6 +522,7 @@ function UISelect(props) {
522
522
  setModalVisible(_modalVisible);
523
523
  };
524
524
  var iconColor = reactCrudUtils.Utils.nvl((_theme$colors = theme.colors) == null ? void 0 : _theme$colors.text, '#100e0e');
525
+ var modalColor = reactCrudUtils.Utils.nvl(headerStyle.color, 'white');
525
526
  var onClick = function onClick(_ref) {
526
527
  var value = _ref.value;
527
528
  var val = value;
@@ -541,7 +542,7 @@ function UISelect(props) {
541
542
  var isModalVisible = function isModalVisible() {
542
543
  return modalVisible;
543
544
  };
544
- //v1
545
+ //v2
545
546
  React.useEffect(function () {
546
547
  MobileUtils.syncTheme();
547
548
  }, [modalVisible]);
@@ -577,9 +578,11 @@ function UISelect(props) {
577
578
  return setModalVisible(false);
578
579
  },
579
580
  style: style('modalCloseButton'),
580
- children: /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
581
- style: style('modalCloseText'),
582
- children: "X"
581
+ children: /*#__PURE__*/jsxRuntime.jsx(vectorIcons.Ionicons, {
582
+ name: "chevron-back-outline",
583
+ size: 24,
584
+ color: modalColor,
585
+ style: style('modalCloseText', {})
583
586
  })
584
587
  }), /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
585
588
  style: style('modalTitle'),
@@ -591,6 +594,7 @@ function UISelect(props) {
591
594
  data: items,
592
595
  name: scope.getName('list'),
593
596
  click: onClick,
597
+ rowStyle: (_scope$original = scope.original) == null ? void 0 : _scope$original.rowStyle,
594
598
  children: /*#__PURE__*/jsxRuntime.jsx(UI.Value, {
595
599
  value: "#{@this.label}"
596
600
  })