react-crud-mobile 1.3.15 → 1.3.17

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.
@@ -482,6 +482,7 @@ function UIButton(props) {
482
482
  }
483
483
 
484
484
  function UISelect(props) {
485
+ var _theme$colors;
485
486
  var _useState = useState(false),
486
487
  modalVisible = _useState[0],
487
488
  setModalVisible = _useState[1];
@@ -497,6 +498,7 @@ function UISelect(props) {
497
498
  main.data.selectIsOpen = _modalVisible;
498
499
  setModalVisible(_modalVisible);
499
500
  };
501
+ var iconColor = Utils.nvl((_theme$colors = theme.colors) == null ? void 0 : _theme$colors.text, '#100e0e');
500
502
  var onClick = function onClick(_ref) {
501
503
  var value = _ref.value;
502
504
  var val = value;
@@ -524,9 +526,10 @@ function UISelect(props) {
524
526
  style: style('selectLabel'),
525
527
  children: Utils.nvl(value, placeholder)
526
528
  }), /*#__PURE__*/jsx(Ionicons$1, {
527
- name: "arrow-down",
528
- size: 20,
529
- color: "#888"
529
+ name: "chevron-down-outline",
530
+ size: 24,
531
+ color: scope.getPart('iconColor', null, iconColor),
532
+ style: style('modalCloseText', {})
530
533
  })]
531
534
  }), /*#__PURE__*/jsxs(Modal, {
532
535
  animationType: "slide",
@@ -586,14 +589,16 @@ var styles$3 = /*#__PURE__*/StyleSheet.create({
586
589
  selectLabel: {
587
590
  flex: 1
588
591
  },
589
- modalTop: {
590
- backgroundColor: 'primary',
591
- width: '100%'
592
- },
593
592
  modalSafe: {
594
593
  flex: 1,
595
- width: '100%',
596
- backgroundColor: 'background'
594
+ backgroundColor: 'background',
595
+ paddingTop: StatusBar.currentHeight || 0
596
+ },
597
+ modalHeader: {
598
+ flexDirection: 'row',
599
+ alignItems: 'center',
600
+ padding: 15,
601
+ backgroundColor: 'theme'
597
602
  },
598
603
  modalCloseButton: {
599
604
  padding: 10
@@ -604,16 +609,17 @@ var styles$3 = /*#__PURE__*/StyleSheet.create({
604
609
  },
605
610
  modalTitle: {
606
611
  fontSize: 18,
612
+ color: 'white',
607
613
  fontWeight: 'bold',
608
614
  marginLeft: 10
609
615
  },
610
616
  modalContent: {
611
617
  flex: 1,
612
- backgroundColor: 'background',
613
- paddingTop: 10,
614
- paddingBottom: 10,
615
- paddingLeft: 15,
616
- paddingRight: 15
618
+ width: '100%',
619
+ alignSelf: 'flex-start',
620
+ flexDirection: 'row',
621
+ flexWrap: 'wrap',
622
+ padding: 20
617
623
  }
618
624
  });
619
625