sapo-components-ui-rn 1.0.55 → 1.0.56

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/index.esm.js CHANGED
@@ -5696,11 +5696,20 @@ var TextInputDefault = function (_a) {
5696
5696
  return React$3.createElement(View, null);
5697
5697
  };
5698
5698
  var getPaddingTopValue = function () {
5699
+ var _a, _b;
5699
5700
  if (multiline) {
5700
5701
  if (Platform.OS === "ios") {
5701
- return CONSTANTS.SPACE_4;
5702
+ if (parentState.focused ||
5703
+ (parentState.value !== undefined &&
5704
+ ((_a = parentState.value) === null || _a === void 0 ? void 0 : _a.toString()) !== ""))
5705
+ return CONSTANTS.SPACE_4;
5706
+ return CONSTANTS.SPACE_8;
5702
5707
  }
5703
- return CONSTANTS.SPACE_2;
5708
+ if (parentState.focused ||
5709
+ (parentState.value !== undefined &&
5710
+ ((_b = parentState.value) === null || _b === void 0 ? void 0 : _b.toString()) !== ""))
5711
+ return CONSTANTS.SPACE_4;
5712
+ return CONSTANTS.SPACE_8;
5704
5713
  }
5705
5714
  return 0;
5706
5715
  };