react-crud-mobile 1.0.802 → 1.0.804
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 -0
- 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 -0
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/elements/UIElement.tsx +2 -0
- package/src/elements/core/UIButton.tsx +5 -0
|
@@ -426,6 +426,10 @@ function UIButton(props) {
|
|
|
426
426
|
css.minWidth = h;
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
+
if (element.variant === 'text') {
|
|
430
|
+
css.backgroundColor = 'transparent';
|
|
431
|
+
css.color = '#000';
|
|
432
|
+
}
|
|
429
433
|
return css;
|
|
430
434
|
});
|
|
431
435
|
return /*#__PURE__*/jsxRuntime.jsx(reactNative.TouchableHighlight, {
|
|
@@ -1517,6 +1521,7 @@ function UIElement(props) {
|
|
|
1517
1521
|
var key = reactCrudUtils.Utils.nvl(part, 'root');
|
|
1518
1522
|
var def = _extends({}, styles$a[key]);
|
|
1519
1523
|
var hasChild = hasChildren();
|
|
1524
|
+
type = reactCrudUtils.Utils.nvl(original.layout, type);
|
|
1520
1525
|
if (!part && !hasChild) {
|
|
1521
1526
|
def = _extends({}, def);
|
|
1522
1527
|
}
|