sapo-components-ui-rn 1.0.89 → 1.1.1
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 +2 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Button/index.tsx +2 -3
package/dist/index.esm.js
CHANGED
|
@@ -6312,7 +6312,7 @@ var Button = function (_a) {
|
|
|
6312
6312
|
disabled && !isLoading && [styles$a.disabled],
|
|
6313
6313
|
isLoading && { justifyContent: "center" },
|
|
6314
6314
|
style,
|
|
6315
|
-
], disabled: isLoading }, isLoading ? (React__default.createElement(ActivityIndicator, { color: (textStyle === null || textStyle === void 0 ? void 0 : textStyle.color) || colors.textBrandDefault })) : (React__default.createElement(View, { row: true
|
|
6315
|
+
], disabled: isLoading }, isLoading ? (React__default.createElement(ActivityIndicator, { color: (textStyle === null || textStyle === void 0 ? void 0 : textStyle.color) || colors.textBrandDefault })) : (React__default.createElement(View, { row: true },
|
|
6316
6316
|
React__default.createElement(Spacer, { width: left ? CONSTANTS.SPACE_12 : CONSTANTS.SPACE_16 }),
|
|
6317
6317
|
!isLoading && left,
|
|
6318
6318
|
left && React__default.createElement(Spacer, { width: CONSTANTS.SPACE_4 }),
|
|
@@ -6345,7 +6345,7 @@ var Button = function (_a) {
|
|
|
6345
6345
|
],
|
|
6346
6346
|
isLoading && { justifyContent: "center" },
|
|
6347
6347
|
style,
|
|
6348
|
-
], disabled: isLoading }, isLoading ? (React__default.createElement(ActivityIndicator, { color: (textStyle === null || textStyle === void 0 ? void 0 : textStyle.color) || renderTextColor() })) : (React__default.createElement(View, { row: true
|
|
6348
|
+
], disabled: isLoading }, isLoading ? (React__default.createElement(ActivityIndicator, { color: (textStyle === null || textStyle === void 0 ? void 0 : textStyle.color) || renderTextColor() })) : (React__default.createElement(View, { row: true },
|
|
6349
6349
|
React__default.createElement(Spacer, { width: left ? CONSTANTS.SPACE_12 : CONSTANTS.SPACE_16 }),
|
|
6350
6350
|
!isLoading && left,
|
|
6351
6351
|
left && (React__default.createElement(Spacer, { width: buttonSize === "small"
|
|
@@ -6366,7 +6366,6 @@ var styles$a = StyleSheet.create({
|
|
|
6366
6366
|
alignItems: "center",
|
|
6367
6367
|
justifyContent: "center",
|
|
6368
6368
|
minWidth: CONSTANTS.DEVICE_WIDTH / 4.5,
|
|
6369
|
-
// paddingHorizontal: CONSTANTS.SPACE_12,
|
|
6370
6369
|
},
|
|
6371
6370
|
border: {
|
|
6372
6371
|
borderWidth: CONSTANTS.BORDER_WIDTH_1,
|