@app-studio/web 0.9.65 → 0.9.67

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
@@ -3093,14 +3093,14 @@ var AlertView = _ref => {
3093
3093
  ,
3094
3094
  lineHeight: "24px",
3095
3095
  color: themes[variant].content.color,
3096
- bgColor: themes[variant].container.backgroundColor
3096
+ backgroundColor: themes[variant].container.backgroundColor
3097
3097
  }, views == null ? void 0 : views.title), title), /*#__PURE__*/React.createElement(Text, Object.assign({
3098
3098
  fontSize: "14px",
3099
3099
  fontWeight: "400" // Regular
3100
3100
  ,
3101
3101
  lineHeight: "20px",
3102
3102
  color: themes[variant].content.color,
3103
- bgColor: themes[variant].container.backgroundColor
3103
+ backgroundColor: themes[variant].container.backgroundColor
3104
3104
  }, views == null ? void 0 : views.description), description || children)));
3105
3105
  };
3106
3106
 
@@ -3423,16 +3423,16 @@ var MessageView = _ref => {
3423
3423
  }, /*#__PURE__*/React.createElement(Text, Object.assign({
3424
3424
  size: "md",
3425
3425
  weight: "semiBold",
3426
- bgColor: Theme[variant].container.backgroundColor
3426
+ backgroundColor: Theme[variant].container.backgroundColor
3427
3427
  }, views == null ? void 0 : views.title), title), subtitle && (/*#__PURE__*/React.createElement(Text, Object.assign({
3428
3428
  size: "sm",
3429
- bgColor: Theme[variant].container.backgroundColor
3429
+ backgroundColor: Theme[variant].container.backgroundColor
3430
3430
  }, views == null ? void 0 : views.subtitle), subtitle))), showAction && (/*#__PURE__*/React.createElement(Text, Object.assign({
3431
3431
  marginRight: 10,
3432
3432
  onClick: action,
3433
3433
  padding: "6px 10px",
3434
3434
  whiteSpace: "nowrap",
3435
- bgColor: Theme[variant].container.backgroundColor
3435
+ backgroundColor: Theme[variant].container.backgroundColor
3436
3436
  }, containerStyle, views == null ? void 0 : views.actionText), actionText)), isClosable && (/*#__PURE__*/React.createElement(View, Object.assign({
3437
3437
  position: "absolute",
3438
3438
  zIndex: 10000,
@@ -4835,17 +4835,17 @@ var Loader = LoaderComponent;
4835
4835
  */
4836
4836
  var ButtonFontSize = {
4837
4837
  xs: 10,
4838
- sm: 14,
4839
- md: 16,
4840
- lg: 18,
4838
+ sm: 12,
4839
+ md: 14,
4840
+ lg: 16,
4841
4841
  xl: 20
4842
4842
  };
4843
4843
  var ButtonLineHeight = {
4844
- xs: 14,
4845
- sm: 20,
4846
- md: 24,
4847
- lg: 28,
4848
- xl: 32
4844
+ xs: 12,
4845
+ sm: 16,
4846
+ md: 20,
4847
+ lg: 24,
4848
+ xl: 28
4849
4849
  };
4850
4850
  var getButtonSize = size => {
4851
4851
  return {
@@ -9707,7 +9707,7 @@ var SelectorView = _ref => {
9707
9707
  var isSelected = value === option.value;
9708
9708
  var borderColor = getColor('color.gray.200');
9709
9709
  var textColor = getColor('color.gray.500');
9710
- var bgColor = 'transparent';
9710
+ var backgroundColor = 'transparent';
9711
9711
  if (isSelected) {
9712
9712
  if (option.color) {
9713
9713
  // We need a way to get related colors (50, 500, 700 etc) from a base color if we want full fidelity.
@@ -9718,13 +9718,13 @@ var SelectorView = _ref => {
9718
9718
  // Simplification: if color provided, use it for border/text.
9719
9719
  // Background is hard to derive without more specific props.
9720
9720
  // Let's try to use a very light opacity of the color for background.
9721
- bgColor = 'rgba(0,0,0,0.05)'; // Generic active background
9721
+ backgroundColor = 'rgba(0,0,0,0.05)'; // Generic active background
9722
9722
  } else {
9723
9723
  // Default active style
9724
9724
  var primary = getColor('theme.primary');
9725
9725
  borderColor = primary;
9726
9726
  textColor = primary;
9727
- bgColor = 'color.gray.50';
9727
+ backgroundColor = 'color.gray.50';
9728
9728
  }
9729
9729
  // Specific overrides based on user request "ComplexitySelector" style
9730
9730
  // If the values match 'High', 'Medium', 'Low' we can hardcode for *demo* fidelity if generic logic fails.
@@ -9734,12 +9734,12 @@ var SelectorView = _ref => {
9734
9734
  // Fallback for customized options
9735
9735
  borderColor = getColor(option.color);
9736
9736
  textColor = getColor(option.color);
9737
- bgColor = 'transparent';
9737
+ backgroundColor = 'transparent';
9738
9738
  } else {
9739
9739
  // Default fallback
9740
9740
  borderColor = getColor('theme.primary');
9741
9741
  textColor = getColor('theme.primary');
9742
- bgColor = 'transparent';
9742
+ backgroundColor = 'transparent';
9743
9743
  }
9744
9744
  }
9745
9745
  return /*#__PURE__*/React.createElement(Button, Object.assign({
@@ -9759,7 +9759,7 @@ var SelectorView = _ref => {
9759
9759
  borderBottom: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
9760
9760
  borderLeft: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
9761
9761
  borderRight: index === arr.length - 1 || isSelected ? "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')) : 'none',
9762
- backgroundColor: bgColor,
9762
+ backgroundColor: backgroundColor,
9763
9763
  color: textColor,
9764
9764
  borderRadius: index === 0 ? '6px 0 0 6px' : index === arr.length - 1 ? '0 6px 6px 0' : '0',
9765
9765
  zIndex: isSelected ? 1 : 0,
@@ -26274,13 +26274,13 @@ var ToastView = _ref => {
26274
26274
  fontWeight: "600" // Semi-bold for better readability
26275
26275
  ,
26276
26276
  color: Theme[variant].content.color,
26277
- bgColor: Theme[variant].container.backgroundColor
26277
+ backgroundColor: Theme[variant].container.backgroundColor
26278
26278
  }, views == null ? void 0 : views.title), title), description && (/*#__PURE__*/React.createElement(Text, Object.assign({
26279
26279
  size: "sm",
26280
26280
  color: Theme[variant].content.color,
26281
26281
  fontWeight: "400" // Regular weight
26282
26282
  ,
26283
- bgColor: Theme[variant].container.backgroundColor
26283
+ backgroundColor: Theme[variant].container.backgroundColor
26284
26284
  }, views == null ? void 0 : views.description), description)), action && actionText && (/*#__PURE__*/React.createElement(Text, Object.assign({
26285
26285
  size: "sm",
26286
26286
  fontWeight: "600" // Semi-bold for better readability
@@ -26289,7 +26289,7 @@ var ToastView = _ref => {
26289
26289
  ,
26290
26290
  cursor: "pointer",
26291
26291
  color: Theme[variant].content.color,
26292
- bgColor: Theme[variant].container.backgroundColor,
26292
+ backgroundColor: Theme[variant].container.backgroundColor,
26293
26293
  onClick: e => {
26294
26294
  e.stopPropagation();
26295
26295
  action();