react-crud-mobile 1.3.16 → 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.
- package/dist/react-crud-mobile.cjs.development.js +5 -3
- 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 +5 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UISelect.tsx +4 -3
|
@@ -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,9 @@ function UISelect(props) {
|
|
|
524
526
|
style: style('selectLabel'),
|
|
525
527
|
children: Utils.nvl(value, placeholder)
|
|
526
528
|
}), /*#__PURE__*/jsx(Ionicons$1, {
|
|
527
|
-
name: "chevron-
|
|
529
|
+
name: "chevron-down-outline",
|
|
528
530
|
size: 24,
|
|
529
|
-
color: scope.getPart('iconColor', null,
|
|
531
|
+
color: scope.getPart('iconColor', null, iconColor),
|
|
530
532
|
style: style('modalCloseText', {})
|
|
531
533
|
})]
|
|
532
534
|
}), /*#__PURE__*/jsxs(Modal, {
|
|
@@ -596,7 +598,7 @@ var styles$3 = /*#__PURE__*/StyleSheet.create({
|
|
|
596
598
|
flexDirection: 'row',
|
|
597
599
|
alignItems: 'center',
|
|
598
600
|
padding: 15,
|
|
599
|
-
backgroundColor: '
|
|
601
|
+
backgroundColor: 'theme'
|
|
600
602
|
},
|
|
601
603
|
modalCloseButton: {
|
|
602
604
|
padding: 10
|