react-crud-mobile 1.3.14 → 1.3.16
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 -4
- 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 +6 -5
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/core/UISelect.tsx +9 -4
|
@@ -498,8 +498,8 @@ function UISelect(props) {
|
|
|
498
498
|
var items = reactCrudUtils.Utils.nvl(scope.getOptions(), []);
|
|
499
499
|
var placeholder = scope.attr('placeholder', 'Selecione...');
|
|
500
500
|
var value = scope.getDisplayValue();
|
|
501
|
-
var theme = reactCrudUtils.useTheme();
|
|
502
501
|
var main = reactCrudUtils.ViewUtils.getCrud('view');
|
|
502
|
+
var theme = scope.getTheme();
|
|
503
503
|
var handlePress = function handlePress() {
|
|
504
504
|
var _modalVisible = !modalVisible;
|
|
505
505
|
main.data.selectIsOpen = _modalVisible;
|
|
@@ -532,9 +532,10 @@ function UISelect(props) {
|
|
|
532
532
|
style: style('selectLabel'),
|
|
533
533
|
children: reactCrudUtils.Utils.nvl(value, placeholder)
|
|
534
534
|
}), /*#__PURE__*/jsxRuntime.jsx(vectorIcons.Ionicons, {
|
|
535
|
-
name: "
|
|
536
|
-
size:
|
|
537
|
-
color:
|
|
535
|
+
name: "chevron-back-outline",
|
|
536
|
+
size: 24,
|
|
537
|
+
color: scope.getPart('iconColor', null, 'white'),
|
|
538
|
+
style: style('modalCloseText', {})
|
|
538
539
|
})]
|
|
539
540
|
}), /*#__PURE__*/jsxRuntime.jsxs(reactNative.Modal, {
|
|
540
541
|
animationType: "slide",
|