react-crud-mobile 1.3.23 → 1.3.25

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.
@@ -496,7 +496,7 @@ var MobileUtils = /*#__PURE__*/function () {
496
496
  }();
497
497
 
498
498
  function UISelect(props) {
499
- var _theme$styles, _theme$colors;
499
+ var _theme$styles, _theme$colors, _scope$original;
500
500
  var _useState = useState(false),
501
501
  modalVisible = _useState[0],
502
502
  setModalVisible = _useState[1];
@@ -514,6 +514,7 @@ function UISelect(props) {
514
514
  setModalVisible(_modalVisible);
515
515
  };
516
516
  var iconColor = Utils.nvl((_theme$colors = theme.colors) == null ? void 0 : _theme$colors.text, '#100e0e');
517
+ var modalColor = Utils.nvl(headerStyle.color, 'white');
517
518
  var onClick = function onClick(_ref) {
518
519
  var value = _ref.value;
519
520
  var val = value;
@@ -546,7 +547,7 @@ function UISelect(props) {
546
547
  style: style('selectLabel'),
547
548
  children: Utils.nvl(value, placeholder)
548
549
  }), /*#__PURE__*/jsx(Ionicons$1, {
549
- name: "chevron-down-outline",
550
+ name: "close",
550
551
  size: scope.getPart('iconSize', null, 24),
551
552
  color: scope.getPart('iconColor', null, iconColor),
552
553
  style: style('iconStyle', {})
@@ -569,9 +570,11 @@ function UISelect(props) {
569
570
  return setModalVisible(false);
570
571
  },
571
572
  style: style('modalCloseButton'),
572
- children: /*#__PURE__*/jsx(Text, {
573
- style: style('modalCloseText'),
574
- children: "X"
573
+ children: /*#__PURE__*/jsx(Ionicons$1, {
574
+ name: "chevron-back-outline",
575
+ size: 24,
576
+ color: modalColor,
577
+ style: style('modalCloseText', {})
575
578
  })
576
579
  }), /*#__PURE__*/jsx(Text, {
577
580
  style: style('modalTitle'),
@@ -582,7 +585,9 @@ function UISelect(props) {
582
585
  children: /*#__PURE__*/jsx(UI.List, {
583
586
  data: items,
584
587
  name: scope.getName('list'),
588
+ layout: "card",
585
589
  click: onClick,
590
+ rowStyle: (_scope$original = scope.original) == null ? void 0 : _scope$original.rowStyle,
586
591
  children: /*#__PURE__*/jsx(UI.Value, {
587
592
  value: "#{@this.label}"
588
593
  })