react-crud-mobile 1.0.804 → 1.0.805
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 +8 -2
- 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 +8 -2
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIButton.tsx +12 -7
|
@@ -428,10 +428,16 @@ function UIButton(props) {
|
|
|
428
428
|
}
|
|
429
429
|
if (element.variant === 'text') {
|
|
430
430
|
css.backgroundColor = 'transparent';
|
|
431
|
-
css.color = '
|
|
431
|
+
css.color = 'text';
|
|
432
432
|
}
|
|
433
433
|
return css;
|
|
434
434
|
});
|
|
435
|
+
var iconStyle = reactCrudUtils.Utils.call(function () {
|
|
436
|
+
var css = style('buttonIcon', extra.icon);
|
|
437
|
+
if (element.variant === 'text') {
|
|
438
|
+
css.color = 'text';
|
|
439
|
+
}
|
|
440
|
+
});
|
|
435
441
|
return /*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableHighlight, {
|
|
436
442
|
underlayColor: 'transparent',
|
|
437
443
|
onPress: onClick,
|
|
@@ -440,7 +446,7 @@ function UIButton(props) {
|
|
|
440
446
|
children: [icon && /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
441
447
|
children: /*#__PURE__*/jsxRuntime.jsx(vectorIcons.Ionicons, {
|
|
442
448
|
size: 30,
|
|
443
|
-
style:
|
|
449
|
+
style: iconStyle,
|
|
444
450
|
name: icon
|
|
445
451
|
})
|
|
446
452
|
}), label && /*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {
|