sapo-components-ui-rn 1.1.35 → 1.1.37
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
|
@@ -6299,7 +6299,7 @@ var Button = function (_a) {
|
|
|
6299
6299
|
],
|
|
6300
6300
|
isLoading && { justifyContent: "center" },
|
|
6301
6301
|
style,
|
|
6302
|
-
], disabled: isLoading }, isLoading ? (React__default.createElement(ActivityIndicator, { color: (textStyle === null || textStyle === void 0 ? void 0 : textStyle.color) || renderTextColor() })) : (React__default.createElement(View, { row: true },
|
|
6302
|
+
], disabled: isLoading }, isLoading ? (React__default.createElement(ActivityIndicator, { color: (textStyle === null || textStyle === void 0 ? void 0 : textStyle.color) || renderTextColor() })) : (React__default.createElement(View, { row: true, alignCenter: true },
|
|
6303
6303
|
React__default.createElement(Spacer, { width: left ? CONSTANTS.SPACE_12 : CONSTANTS.SPACE_16 }),
|
|
6304
6304
|
!isLoading && left,
|
|
6305
6305
|
left && (React__default.createElement(Spacer, { width: buttonSize === "small"
|
|
@@ -7082,7 +7082,7 @@ var Avatar = function (_a) {
|
|
|
7082
7082
|
var getLineHeight = function (size) {
|
|
7083
7083
|
switch (size) {
|
|
7084
7084
|
case 64:
|
|
7085
|
-
return
|
|
7085
|
+
return 36;
|
|
7086
7086
|
case 48:
|
|
7087
7087
|
return 28;
|
|
7088
7088
|
case 32:
|