sapo-components-ui-rn 1.1.27 → 1.1.29
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
|
@@ -4787,7 +4787,7 @@ var Text = function (props) {
|
|
|
4787
4787
|
fontSize: 15,
|
|
4788
4788
|
lineHeight: 20,
|
|
4789
4789
|
};
|
|
4790
|
-
var _a = props.size, size = _a === void 0 ?
|
|
4790
|
+
var _a = props.size, size = _a === void 0 ? 15 : _a, lineHeight = props.lineHeight, center = props.center, color = props.color, bold = props.bold, medium = props.medium, semibold = props.semibold;
|
|
4791
4791
|
style.color = theme.colors.textDefault || "black";
|
|
4792
4792
|
if (size) {
|
|
4793
4793
|
style.fontSize = size;
|
|
@@ -6279,9 +6279,9 @@ var Button = function (_a) {
|
|
|
6279
6279
|
{
|
|
6280
6280
|
backgroundColor: colors.surfaceBrandDefault,
|
|
6281
6281
|
},
|
|
6282
|
+
renderButtonStyle(),
|
|
6282
6283
|
borderColor && { borderColor: borderColor },
|
|
6283
6284
|
backgroundColor && { backgroundColor: backgroundColor },
|
|
6284
|
-
renderButtonStyle(),
|
|
6285
6285
|
buttonSize === "small" && styles$b.small,
|
|
6286
6286
|
disabled &&
|
|
6287
6287
|
!isLoading && [
|