@app-studio/web 0.9.65 → 0.9.66

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.
@@ -3062,14 +3062,14 @@
3062
3062
  ,
3063
3063
  lineHeight: "24px",
3064
3064
  color: themes[variant].content.color,
3065
- bgColor: themes[variant].container.backgroundColor
3065
+ backgroundColor: themes[variant].container.backgroundColor
3066
3066
  }, views == null ? void 0 : views.title), title), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
3067
3067
  fontSize: "14px",
3068
3068
  fontWeight: "400" // Regular
3069
3069
  ,
3070
3070
  lineHeight: "20px",
3071
3071
  color: themes[variant].content.color,
3072
- bgColor: themes[variant].container.backgroundColor
3072
+ backgroundColor: themes[variant].container.backgroundColor
3073
3073
  }, views == null ? void 0 : views.description), description || children)));
3074
3074
  };
3075
3075
 
@@ -3392,16 +3392,16 @@
3392
3392
  }, /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
3393
3393
  size: "md",
3394
3394
  weight: "semiBold",
3395
- bgColor: Theme[variant].container.backgroundColor
3395
+ backgroundColor: Theme[variant].container.backgroundColor
3396
3396
  }, views == null ? void 0 : views.title), title), subtitle && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
3397
3397
  size: "sm",
3398
- bgColor: Theme[variant].container.backgroundColor
3398
+ backgroundColor: Theme[variant].container.backgroundColor
3399
3399
  }, views == null ? void 0 : views.subtitle), subtitle))), showAction && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
3400
3400
  marginRight: 10,
3401
3401
  onClick: action,
3402
3402
  padding: "6px 10px",
3403
3403
  whiteSpace: "nowrap",
3404
- bgColor: Theme[variant].container.backgroundColor
3404
+ backgroundColor: Theme[variant].container.backgroundColor
3405
3405
  }, containerStyle, views == null ? void 0 : views.actionText), actionText)), isClosable && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
3406
3406
  position: "absolute",
3407
3407
  zIndex: 10000,
@@ -9676,7 +9676,7 @@
9676
9676
  var isSelected = value === option.value;
9677
9677
  var borderColor = getColor('color.gray.200');
9678
9678
  var textColor = getColor('color.gray.500');
9679
- var bgColor = 'transparent';
9679
+ var backgroundColor = 'transparent';
9680
9680
  if (isSelected) {
9681
9681
  if (option.color) {
9682
9682
  // We need a way to get related colors (50, 500, 700 etc) from a base color if we want full fidelity.
@@ -9687,13 +9687,13 @@
9687
9687
  // Simplification: if color provided, use it for border/text.
9688
9688
  // Background is hard to derive without more specific props.
9689
9689
  // Let's try to use a very light opacity of the color for background.
9690
- bgColor = 'rgba(0,0,0,0.05)'; // Generic active background
9690
+ backgroundColor = 'rgba(0,0,0,0.05)'; // Generic active background
9691
9691
  } else {
9692
9692
  // Default active style
9693
9693
  var primary = getColor('theme.primary');
9694
9694
  borderColor = primary;
9695
9695
  textColor = primary;
9696
- bgColor = 'color.gray.50';
9696
+ backgroundColor = 'color.gray.50';
9697
9697
  }
9698
9698
  // Specific overrides based on user request "ComplexitySelector" style
9699
9699
  // If the values match 'High', 'Medium', 'Low' we can hardcode for *demo* fidelity if generic logic fails.
@@ -9703,12 +9703,12 @@
9703
9703
  // Fallback for customized options
9704
9704
  borderColor = getColor(option.color);
9705
9705
  textColor = getColor(option.color);
9706
- bgColor = 'transparent';
9706
+ backgroundColor = 'transparent';
9707
9707
  } else {
9708
9708
  // Default fallback
9709
9709
  borderColor = getColor('theme.primary');
9710
9710
  textColor = getColor('theme.primary');
9711
- bgColor = 'transparent';
9711
+ backgroundColor = 'transparent';
9712
9712
  }
9713
9713
  }
9714
9714
  return /*#__PURE__*/React__default.createElement(Button, Object.assign({
@@ -9728,7 +9728,7 @@
9728
9728
  borderBottom: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
9729
9729
  borderLeft: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
9730
9730
  borderRight: index === arr.length - 1 || isSelected ? "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')) : 'none',
9731
- backgroundColor: bgColor,
9731
+ backgroundColor: backgroundColor,
9732
9732
  color: textColor,
9733
9733
  borderRadius: index === 0 ? '6px 0 0 6px' : index === arr.length - 1 ? '0 6px 6px 0' : '0',
9734
9734
  zIndex: isSelected ? 1 : 0,
@@ -26243,13 +26243,13 @@
26243
26243
  fontWeight: "600" // Semi-bold for better readability
26244
26244
  ,
26245
26245
  color: Theme[variant].content.color,
26246
- bgColor: Theme[variant].container.backgroundColor
26246
+ backgroundColor: Theme[variant].container.backgroundColor
26247
26247
  }, views == null ? void 0 : views.title), title), description && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
26248
26248
  size: "sm",
26249
26249
  color: Theme[variant].content.color,
26250
26250
  fontWeight: "400" // Regular weight
26251
26251
  ,
26252
- bgColor: Theme[variant].container.backgroundColor
26252
+ backgroundColor: Theme[variant].container.backgroundColor
26253
26253
  }, views == null ? void 0 : views.description), description)), action && actionText && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
26254
26254
  size: "sm",
26255
26255
  fontWeight: "600" // Semi-bold for better readability
@@ -26258,7 +26258,7 @@
26258
26258
  ,
26259
26259
  cursor: "pointer",
26260
26260
  color: Theme[variant].content.color,
26261
- bgColor: Theme[variant].container.backgroundColor,
26261
+ backgroundColor: Theme[variant].container.backgroundColor,
26262
26262
  onClick: e => {
26263
26263
  e.stopPropagation();
26264
26264
  action();