react-crud-mobile 1.3.166 → 1.3.168
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 +9 -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 +9 -0
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/UIChildren.tsx +3 -0
- package/src/elements/core/UIButton.tsx +4 -0
- package/src/elements/core/UIListRow.tsx +1 -1
@@ -126,6 +126,9 @@ function UIChildren(props) {
|
|
126
126
|
}
|
127
127
|
return _extends({}, def, css, scope.getStyle(part));
|
128
128
|
};
|
129
|
+
if (props["transient"]) {
|
130
|
+
return /*#__PURE__*/jsx(Draw, {});
|
131
|
+
}
|
129
132
|
return /*#__PURE__*/jsx(Fragment, {
|
130
133
|
children: /*#__PURE__*/jsx(View, {
|
131
134
|
style: getStyle(name),
|
@@ -449,6 +452,11 @@ function UIButton(props) {
|
|
449
452
|
if (size) {
|
450
453
|
def = _extends({}, def, BUTTONS_SIZE[size]);
|
451
454
|
}
|
455
|
+
if (!label) {
|
456
|
+
def = _extends({}, def, {
|
457
|
+
borderRadius: 20
|
458
|
+
});
|
459
|
+
}
|
452
460
|
var css = style('button', def);
|
453
461
|
if (!css.width) {
|
454
462
|
var h = css.height;
|
@@ -896,6 +904,7 @@ function UIListRow(props) {
|
|
896
904
|
}
|
897
905
|
return /*#__PURE__*/jsx(Fragment, {
|
898
906
|
children: /*#__PURE__*/jsx(UIChildren, {
|
907
|
+
"transient": true,
|
899
908
|
scope: row,
|
900
909
|
crud: row.crud,
|
901
910
|
children: props.children
|