react-crud-mobile 1.0.805 → 1.0.807

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.
@@ -367,6 +367,12 @@ function UIIcon(_ref) {
367
367
  });
368
368
  }
369
369
 
370
+ var sizes = {
371
+ small: {
372
+ minWidth: 30,
373
+ height: 30
374
+ }
375
+ };
370
376
  function UIButton(props) {
371
377
  var scope = props.scope;
372
378
  var element = scope.original;
@@ -420,6 +426,7 @@ function UIButton(props) {
420
426
  }
421
427
  var buttonStyle = reactCrudUtils.Utils.call(function () {
422
428
  var css = style('button', extra.button);
429
+ var size = element.size;
423
430
  if (!css.width) {
424
431
  var h = css.height;
425
432
  if (typeof h === 'number') {
@@ -430,6 +437,9 @@ function UIButton(props) {
430
437
  css.backgroundColor = 'transparent';
431
438
  css.color = 'text';
432
439
  }
440
+ if (size) {
441
+ css = _extends({}, css, sizes[size]);
442
+ }
433
443
  return css;
434
444
  });
435
445
  var iconStyle = reactCrudUtils.Utils.call(function () {
@@ -1708,6 +1718,7 @@ function UIElement(props) {
1708
1718
  flexDirection: 'row',
1709
1719
  display: 'flex',
1710
1720
  justifyContent: 'space-between',
1721
+ alignItems: 'center',
1711
1722
  width: '100%'
1712
1723
  }),
1713
1724
  children: [/*#__PURE__*/jsxRuntime.jsx(reactNative.Text, {