sapo-components-ui-rn 1.0.53 → 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
|
@@ -5537,7 +5537,7 @@ var TextInputFlat = function (_a) {
|
|
|
5537
5537
|
var _a;
|
|
5538
5538
|
if (parentState.focused) {
|
|
5539
5539
|
return (React$3.createElement(View$1, { style: {
|
|
5540
|
-
paddingBottom: Platform.OS === "ios" ? 9 :
|
|
5540
|
+
paddingBottom: Platform.OS === "ios" ? 9 : 14,
|
|
5541
5541
|
} },
|
|
5542
5542
|
React$3.createElement(Text$1, { color: theme.colors.textSecondary },
|
|
5543
5543
|
prefix, " ")));
|
|
@@ -5545,7 +5545,7 @@ var TextInputFlat = function (_a) {
|
|
|
5545
5545
|
else if (parentState.value !== undefined &&
|
|
5546
5546
|
((_a = parentState.value) === null || _a === void 0 ? void 0 : _a.toString()) !== "") {
|
|
5547
5547
|
return (React$3.createElement(View$1, { style: {
|
|
5548
|
-
paddingBottom: Platform.OS === "ios" ? 9 :
|
|
5548
|
+
paddingBottom: Platform.OS === "ios" ? 9 : 14,
|
|
5549
5549
|
} },
|
|
5550
5550
|
React$3.createElement(Text$1, { color: theme.colors.textSecondary },
|
|
5551
5551
|
prefix, " ")));
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
};
|