react-crud-mobile 1.3.16 → 1.3.18
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 +7 -5
- 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 +7 -5
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UISelect.tsx +6 -5
|
@@ -490,6 +490,7 @@ function UIButton(props) {
|
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
function UISelect(props) {
|
|
493
|
+
var _theme$colors;
|
|
493
494
|
var _useState = React.useState(false),
|
|
494
495
|
modalVisible = _useState[0],
|
|
495
496
|
setModalVisible = _useState[1];
|
|
@@ -505,6 +506,7 @@ function UISelect(props) {
|
|
|
505
506
|
main.data.selectIsOpen = _modalVisible;
|
|
506
507
|
setModalVisible(_modalVisible);
|
|
507
508
|
};
|
|
509
|
+
var iconColor = reactCrudUtils.Utils.nvl((_theme$colors = theme.colors) == null ? void 0 : _theme$colors.text, '#100e0e');
|
|
508
510
|
var onClick = function onClick(_ref) {
|
|
509
511
|
var value = _ref.value;
|
|
510
512
|
var val = value;
|
|
@@ -532,10 +534,10 @@ function UISelect(props) {
|
|
|
532
534
|
style: style('selectLabel'),
|
|
533
535
|
children: reactCrudUtils.Utils.nvl(value, placeholder)
|
|
534
536
|
}), /*#__PURE__*/jsxRuntime.jsx(vectorIcons.Ionicons, {
|
|
535
|
-
name: "chevron-
|
|
536
|
-
size: 24,
|
|
537
|
-
color: scope.getPart('iconColor', null,
|
|
538
|
-
style: style('
|
|
537
|
+
name: "chevron-down-outline",
|
|
538
|
+
size: scope.getPart('iconSize', null, 24),
|
|
539
|
+
color: scope.getPart('iconColor', null, iconColor),
|
|
540
|
+
style: style('iconStyle', {})
|
|
539
541
|
})]
|
|
540
542
|
}), /*#__PURE__*/jsxRuntime.jsxs(reactNative.Modal, {
|
|
541
543
|
animationType: "slide",
|
|
@@ -604,7 +606,7 @@ var styles$3 = /*#__PURE__*/reactNative.StyleSheet.create({
|
|
|
604
606
|
flexDirection: 'row',
|
|
605
607
|
alignItems: 'center',
|
|
606
608
|
padding: 15,
|
|
607
|
-
backgroundColor: '
|
|
609
|
+
backgroundColor: 'theme'
|
|
608
610
|
},
|
|
609
611
|
modalCloseButton: {
|
|
610
612
|
padding: 10
|