@app-studio/web 0.9.55 → 0.9.57

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.
@@ -8808,7 +8808,7 @@
8808
8808
  fontSize: appStudio.Typography.fontSizes[size],
8809
8809
  fontWeight: "400" // Regular weight
8810
8810
  ,
8811
- lineHeight: "1.5"
8811
+ lineHeight: "15px"
8812
8812
  }, style), option.label));
8813
8813
  };
8814
8814
  /**
@@ -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')),
@@ -10321,7 +10327,7 @@
10321
10327
  size: "sm",
10322
10328
  fontWeight: "400" // Regular weight
10323
10329
  ,
10324
- lineHeight: "1.5"
10330
+ lineHeight: "15"
10325
10331
  }, views == null ? void 0 : views.infoText), infoText))), error && (/*#__PURE__*/React__default.createElement(appStudio.Text, {
10326
10332
  size: "xs",
10327
10333
  marginTop: 4,
@@ -13942,7 +13948,6 @@
13942
13948
  border: '0 solid transparent',
13943
13949
  outline: '0 solid transparent',
13944
13950
  boxShadow: 'none',
13945
- lineHeight: '1',
13946
13951
  letterSpacing: '-.5em',
13947
13952
  fontSize: 'var(--root-height)',
13948
13953
  fontFamily: 'monospace',
@@ -14540,7 +14545,7 @@
14540
14545
  marginBottom: '4px'
14541
14546
  },
14542
14547
  messageContent: {
14543
- lineHeight: 1.5
14548
+ lineHeight: 15
14544
14549
  },
14545
14550
  messageFooter: {
14546
14551
  marginTop: '8px'
@@ -14712,7 +14717,7 @@
14712
14717
  maxHeight: '200px',
14713
14718
  padding: '8px 12px',
14714
14719
  fontSize: '14px',
14715
- lineHeight: '1.5',
14720
+ lineHeight: '15px',
14716
14721
  color: 'color.gray.900',
14717
14722
  backgroundColor: 'color.white',
14718
14723
  border: 'none',
@@ -15544,7 +15549,6 @@
15544
15549
  color: "color.gray.400",
15545
15550
  pointerEvents: "none",
15546
15551
  fontSize: "14px",
15547
- lineHeight: "1.5",
15548
15552
  zIndex: 1
15549
15553
  }, views == null ? void 0 : views.placeholder), placeholder)), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
15550
15554
  as: "div",
@@ -15565,7 +15569,6 @@
15565
15569
  whiteSpace: "pre-wrap",
15566
15570
  wordBreak: "break-word",
15567
15571
  fontSize: "14px",
15568
- lineHeight: "1.5",
15569
15572
  color: "color.gray.900",
15570
15573
  backgroundColor: "transparent"
15571
15574
  }, views == null ? void 0 : views.input))), showMentions && filteredMentions.length > 0 && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
@@ -26128,14 +26131,12 @@
26128
26131
  fontWeight: "600" // Semi-bold for better readability
26129
26132
  ,
26130
26133
  color: Theme[variant].content.color,
26131
- lineHeight: "1.4",
26132
26134
  bgColor: Theme[variant].container.backgroundColor
26133
26135
  }, views == null ? void 0 : views.title), title), description && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
26134
26136
  size: "sm",
26135
26137
  color: Theme[variant].content.color,
26136
26138
  fontWeight: "400" // Regular weight
26137
26139
  ,
26138
- lineHeight: "1.5",
26139
26140
  bgColor: Theme[variant].container.backgroundColor
26140
26141
  }, views == null ? void 0 : views.description), description)), action && actionText && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
26141
26142
  size: "sm",