react-crud-mobile 1.0.618 → 1.0.620
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 +13 -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 +13 -2
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIChildren.tsx +11 -2
- package/src/elements/core/UIListRow.tsx +1 -0
|
@@ -108,11 +108,20 @@ export default function UIChildren(props: UIChildrenType) {
|
|
|
108
108
|
const getStyle = (part?: string) => {
|
|
109
109
|
let key = Utils.nvl(part, 'root');
|
|
110
110
|
let def = styles[key];
|
|
111
|
+
let css = {};
|
|
111
112
|
|
|
112
113
|
if (!Utils.isEmpty(props.style)) {
|
|
113
|
-
|
|
114
|
+
if (props.style?.push) {
|
|
115
|
+
Utils.each(props.style, s => {
|
|
116
|
+
if (s) {
|
|
117
|
+
css = { ...css, ...s };
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
} else {
|
|
121
|
+
css = { ...props.style };
|
|
122
|
+
}
|
|
114
123
|
}
|
|
115
|
-
return { ...def, ...scope.getStyle(part) };
|
|
124
|
+
return { ...def, ...css, ...scope.getStyle(part) };
|
|
116
125
|
};
|
|
117
126
|
|
|
118
127
|
return (
|