react-crud-mobile 1.0.549 → 1.0.551
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 -5
- 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 -5
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIElement.tsx +10 -6
|
@@ -1296,17 +1296,18 @@ function UIElement(props) {
|
|
|
1296
1296
|
var _elementStyle$type;
|
|
1297
1297
|
var type = reactCrudUtils.Utils.nvl(original.type, 'none');
|
|
1298
1298
|
var key = reactCrudUtils.Utils.nvl(part, 'root');
|
|
1299
|
-
var def = _extends({}, styles$a[key]
|
|
1299
|
+
var def = _extends({}, styles$a[key]);
|
|
1300
1300
|
var hasChild = hasChildren();
|
|
1301
1301
|
if (!part && !hasChild) {
|
|
1302
1302
|
def = _extends({}, def);
|
|
1303
1303
|
}
|
|
1304
|
-
if (hasChild && part) {
|
|
1305
|
-
def = _extends({}, def, withChildStyles[part]);
|
|
1306
|
-
}
|
|
1307
1304
|
if (scope.isInput()) {
|
|
1308
1305
|
def = _extends({}, def, elementStyle.input[key]);
|
|
1309
1306
|
}
|
|
1307
|
+
def = _extends({}, def, elementStyle == null || (_elementStyle$type = elementStyle[type]) == null ? void 0 : _elementStyle$type[key]);
|
|
1308
|
+
if (hasChild && part) {
|
|
1309
|
+
def = _extends({}, def, withChildStyles[part]);
|
|
1310
|
+
}
|
|
1310
1311
|
return _extends({}, def, scope.getStyle(part, def));
|
|
1311
1312
|
};
|
|
1312
1313
|
var elStyle = getStyle('element');
|
|
@@ -1554,8 +1555,10 @@ elementStyle.quantity = {
|
|
|
1554
1555
|
backgroundColor: 'primarySoft',
|
|
1555
1556
|
fontWeight: 600,
|
|
1556
1557
|
fontSize: 16,
|
|
1557
|
-
padding: 5,
|
|
1558
1558
|
borderRadius: 25,
|
|
1559
|
+
borderWidth: 0,
|
|
1560
|
+
paddingHorizontal: 5,
|
|
1561
|
+
paddingVertical: 5,
|
|
1559
1562
|
flexWrap: 'nowrap',
|
|
1560
1563
|
flex: 1,
|
|
1561
1564
|
flexDirection: 'row',
|