sapo-components-ui-rn 1.0.25 → 1.0.26

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
@@ -1921,8 +1921,6 @@ var styles$h = StyleSheet.create({
1921
1921
 
1922
1922
  var ViewCustom = function (_a) {
1923
1923
  var row = _a.row, full = _a.full, justifyCenter = _a.justifyCenter, justifyBetween = _a.justifyBetween, alignCenter = _a.alignCenter, center = _a.center, color = _a.color, backgroundColor = _a.backgroundColor, width = _a.width, height = _a.height, padding = _a.padding, paddingHorizontal = _a.paddingHorizontal, paddingVertical = _a.paddingVertical, marginHorizontal = _a.marginHorizontal, marginVertical = _a.marginVertical, paddingLeft = _a.paddingLeft, paddingRight = _a.paddingRight, paddingTop = _a.paddingTop, alignEnd = _a.alignEnd, wrap = _a.wrap, borderBottomWidth = _a.borderBottomWidth, borderBottomColor = _a.borderBottomColor, borderRadius = _a.borderRadius, borderWidth = _a.borderWidth, borderColor = _a.borderColor, style = _a.style, onPress = _a.onPress, _b = _a.activeOpacity, activeOpacity = _b === void 0 ? 0.8 : _b, children = _a.children, disabled = _a.disabled, paddingBottom = _a.paddingBottom;
1924
- var theme = useInternalTheme();
1925
- var colors = theme.colors;
1926
1924
  var getStyle = function () {
1927
1925
  var styleCustom = {};
1928
1926
  if (row) {
@@ -2008,11 +2006,7 @@ var ViewCustom = function (_a) {
2008
2006
  };
2009
2007
  var defaultStyle = getStyle();
2010
2008
  var Component = onPress ? TouchableOpacity : View$1;
2011
- return (React__default.createElement(Component, { activeOpacity: activeOpacity, onPress: onPress, disabled: disabled, style: [
2012
- { backgroundColor: colors.backgroundPrimary },
2013
- defaultStyle,
2014
- style,
2015
- ] }, children));
2009
+ return (React__default.createElement(Component, { activeOpacity: activeOpacity, onPress: onPress, disabled: disabled, style: [defaultStyle, style] }, children));
2016
2010
  };
2017
2011
  var View = React__default.memo(ViewCustom);
2018
2012