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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-crud-mobile",
3
- "version": "1.3.166",
3
+ "version": "1.3.168",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native",
6
6
  "main": "dist/index.js",
@@ -124,6 +124,9 @@ export default function UIChildren(props: UIChildrenType) {
124
124
  return { ...def, ...css, ...scope.getStyle(part) };
125
125
  };
126
126
 
127
+ if (props.transient) {
128
+ return <Draw />;
129
+ }
127
130
  return (
128
131
  <>
129
132
  <View style={getStyle(name)}>
@@ -94,6 +94,10 @@ export default function UIButton(props: ChildType) {
94
94
  def = { ...def, ...BUTTONS_SIZE[size] };
95
95
  }
96
96
 
97
+ if (!label) {
98
+ def = { ...def, borderRadius: 20 };
99
+ }
100
+
97
101
  let css = style('button', def);
98
102
 
99
103
  if (!css.width) {
@@ -44,7 +44,7 @@ export default function UIListRow(props: UIListRowType) {
44
44
  }
45
45
  return (
46
46
  <>
47
- <UIChildren scope={row} crud={row.crud}>
47
+ <UIChildren transient scope={row} crud={row.crud}>
48
48
  {props.children}
49
49
  </UIChildren>
50
50
  </>