react-crud-mobile 1.0.598 → 1.0.600
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 +2 -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 +2 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIListRow.tsx +2 -5
|
@@ -26,15 +26,12 @@ export default function UIListRow(props: UIListRowType) {
|
|
|
26
26
|
const styles = props.styles;
|
|
27
27
|
const cols = Utils.nvl(original.cols, 1);
|
|
28
28
|
const rowWidth = Math.floor(100 / cols) + '%';
|
|
29
|
-
|
|
30
29
|
const [scope] = useState(ScopeUtils.create(row));
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
return scope.getStyle(key, { ...extra, ...styles[key] });
|
|
34
|
-
};
|
|
31
|
+
console.log(styles);
|
|
35
32
|
|
|
36
33
|
const getRowStyle = (extra?: any) => {
|
|
37
|
-
let row = getStyle('row', {});
|
|
34
|
+
let row = scope.getStyle('row', { ...extra, ...styles.row });
|
|
38
35
|
|
|
39
36
|
if (cols > 0) {
|
|
40
37
|
row.width = rowWidth;
|