@app-studio/web 0.9.30 → 0.9.31

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/web.esm.js CHANGED
@@ -557,7 +557,7 @@ var getTextColor = backgroundColor => {
557
557
  };
558
558
 
559
559
  var _excluded$2 = ["text", "maxLines", "views"],
560
- _excluded2$1 = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size", "backgroundColor", "color", "views"];
560
+ _excluded2$1 = ["children", "heading", "maxLines", "isItalic", "isUnderlined", "isSub", "isSup", "isStriked", "weight", "size", "bgColor", "color", "views"];
561
561
  /**
562
562
  * Renders text content with support for subscript and superscript
563
563
  */
@@ -672,7 +672,7 @@ var TextView = _ref3 => {
672
672
  isStriked = false,
673
673
  weight = 'normal',
674
674
  size = 'md',
675
- backgroundColor,
675
+ bgColor,
676
676
  color,
677
677
  views
678
678
  } = _ref3,
@@ -687,7 +687,7 @@ var TextView = _ref3 => {
687
687
  var fontSize = FontSizes[size];
688
688
  var lineHeight = LineHeights[size];
689
689
  var fontWeight = FontWeights[weight];
690
- var computedColor = color != null ? color : backgroundColor ? getTextColor(backgroundColor) : undefined;
690
+ var computedColor = color != null ? color : bgColor ? getTextColor(bgColor) : undefined;
691
691
  return /*#__PURE__*/React.createElement(Element
692
692
  // Apply typography styles according to design guidelines
693
693
  , Object.assign({