@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.
@@ -9593,7 +9593,7 @@ var useSelectorState = _ref => {
9593
9593
  };
9594
9594
  };
9595
9595
 
9596
- var _excluded$u = ["id", "name", "label", "value", "views", "options", "onChange", "setValue"];
9596
+ var _excluded$u = ["id", "name", "label", "value", "size", "views", "options", "onChange", "setValue"];
9597
9597
  /**
9598
9598
  * SelectorView Component
9599
9599
  *
@@ -9605,6 +9605,7 @@ var SelectorView = _ref => {
9605
9605
  name,
9606
9606
  label,
9607
9607
  value,
9608
+ size,
9608
9609
  views = {},
9609
9610
  options = [],
9610
9611
  onChange = () => {},
@@ -9674,15 +9675,20 @@ var SelectorView = _ref => {
9674
9675
  // Default fallback
9675
9676
  borderColor = getColor('theme.primary');
9676
9677
  textColor = getColor('theme.primary');
9677
- bgColor = getColor('color.blue.50');
9678
+ bgColor = 'transparent';
9678
9679
  }
9679
9680
  }
9680
9681
  return /*#__PURE__*/React__default.createElement(Button, Object.assign({
9681
9682
  key: option.value,
9682
9683
  onClick: () => handleCallback(option),
9683
- flex: 1,
9684
+ flex: 1
9685
+ }, size ? {
9686
+ size
9687
+ } : {
9688
+ // Legacy default: keep existing compact look when `size` isn't specified.
9684
9689
  paddingVertical: 6,
9685
- fontSize: "12px",
9690
+ fontSize: '12px'
9691
+ }, {
9686
9692
  fontWeight: isSelected ? 'bold' : 'normal',
9687
9693
  style: {
9688
9694
  borderTop: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),