react-crud-mobile 1.0.700 → 1.0.702
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 +7 -3
- 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 +7 -3
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIButton.tsx +3 -2
- package/src/elements/core/UIList.tsx +1 -1
package/package.json
CHANGED
|
@@ -30,7 +30,6 @@ export default function UIButton(props: ChildType) {
|
|
|
30
30
|
fontSize: 18,
|
|
31
31
|
},
|
|
32
32
|
button: {
|
|
33
|
-
height: 50,
|
|
34
33
|
backgroundColor: color,
|
|
35
34
|
borderRadius: 24,
|
|
36
35
|
gap: 10,
|
|
@@ -52,7 +51,9 @@ export default function UIButton(props: ChildType) {
|
|
|
52
51
|
let extra: any = {};
|
|
53
52
|
|
|
54
53
|
if (icon) {
|
|
55
|
-
extra.button = { padding: 0 };
|
|
54
|
+
extra.button = { padding: 0, height: 40 };
|
|
55
|
+
} else {
|
|
56
|
+
extra.button = { height: 50 };
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
let buttonStyle = Utils.call(() => {
|
|
@@ -9,7 +9,7 @@ export default function UIList(props: ChildType) {
|
|
|
9
9
|
const scope = props.scope;
|
|
10
10
|
const crud = scope.crud;
|
|
11
11
|
const original = scope.original;
|
|
12
|
-
const cols = Utils.nvl(
|
|
12
|
+
const cols = Utils.nvl(scope.getPart('cols', undefined, 1));
|
|
13
13
|
const items = Utils.nvl(scope.getItems(), []);
|
|
14
14
|
const styles = { repeat: stylesRepeat, list: stylesList }?.[original.type];
|
|
15
15
|
const add = ComponentUtils.getDefine(props, 'add');
|