@app-studio/web 0.9.55 → 0.9.56

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.
@@ -9554,7 +9554,7 @@
9554
9554
  };
9555
9555
  };
9556
9556
 
9557
- var _excluded$u = ["id", "name", "label", "value", "views", "options", "onChange", "setValue"];
9557
+ var _excluded$u = ["id", "name", "label", "value", "size", "views", "options", "onChange", "setValue"];
9558
9558
  /**
9559
9559
  * SelectorView Component
9560
9560
  *
@@ -9566,6 +9566,7 @@
9566
9566
  name,
9567
9567
  label,
9568
9568
  value,
9569
+ size,
9569
9570
  views = {},
9570
9571
  options = [],
9571
9572
  onChange = () => {},
@@ -9635,15 +9636,20 @@
9635
9636
  // Default fallback
9636
9637
  borderColor = getColor('theme.primary');
9637
9638
  textColor = getColor('theme.primary');
9638
- bgColor = getColor('color.blue.50');
9639
+ bgColor = 'transparent';
9639
9640
  }
9640
9641
  }
9641
9642
  return /*#__PURE__*/React__default.createElement(Button, Object.assign({
9642
9643
  key: option.value,
9643
9644
  onClick: () => handleCallback(option),
9644
- flex: 1,
9645
+ flex: 1
9646
+ }, size ? {
9647
+ size
9648
+ } : {
9649
+ // Legacy default: keep existing compact look when `size` isn't specified.
9645
9650
  paddingVertical: 6,
9646
- fontSize: "12px",
9651
+ fontSize: '12px'
9652
+ }, {
9647
9653
  fontWeight: isSelected ? 'bold' : 'normal',
9648
9654
  style: {
9649
9655
  borderTop: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),