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
@@ -135,6 +135,9 @@ function UIChildren(props) {
|
|
135
135
|
}
|
136
136
|
return _extends({}, def, css, scope.getStyle(part));
|
137
137
|
};
|
138
|
+
if (props["transient"]) {
|
139
|
+
return /*#__PURE__*/jsxRuntime.jsx(Draw, {});
|
140
|
+
}
|
138
141
|
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
139
142
|
children: /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
|
140
143
|
style: getStyle(name),
|
@@ -458,6 +461,11 @@ function UIButton(props) {
|
|
458
461
|
if (size) {
|
459
462
|
def = _extends({}, def, BUTTONS_SIZE[size]);
|
460
463
|
}
|
464
|
+
if (!label) {
|
465
|
+
def = _extends({}, def, {
|
466
|
+
borderRadius: 20
|
467
|
+
});
|
468
|
+
}
|
461
469
|
var css = style('button', def);
|
462
470
|
if (!css.width) {
|
463
471
|
var h = css.height;
|
@@ -905,6 +913,7 @@ function UIListRow(props) {
|
|
905
913
|
}
|
906
914
|
return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
907
915
|
children: /*#__PURE__*/jsxRuntime.jsx(UIChildren, {
|
916
|
+
"transient": true,
|
908
917
|
scope: row,
|
909
918
|
crud: row.crud,
|
910
919
|
children: props.children
|