@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.
@@ -8847,7 +8847,7 @@ var Item = _ref => {
8847
8847
  fontSize: appStudio.Typography.fontSizes[size],
8848
8848
  fontWeight: "400" // Regular weight
8849
8849
  ,
8850
- lineHeight: "1.5"
8850
+ lineHeight: "15px"
8851
8851
  }, style), option.label));
8852
8852
  };
8853
8853
  /**
@@ -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')),
@@ -10360,7 +10366,7 @@ var CheckboxView = _ref => {
10360
10366
  size: "sm",
10361
10367
  fontWeight: "400" // Regular weight
10362
10368
  ,
10363
- lineHeight: "1.5"
10369
+ lineHeight: "15"
10364
10370
  }, views == null ? void 0 : views.infoText), infoText))), error && (/*#__PURE__*/React__default.createElement(appStudio.Text, {
10365
10371
  size: "xs",
10366
10372
  marginTop: 4,
@@ -13981,7 +13987,6 @@ var OTPInputView = _ref => {
13981
13987
  border: '0 solid transparent',
13982
13988
  outline: '0 solid transparent',
13983
13989
  boxShadow: 'none',
13984
- lineHeight: '1',
13985
13990
  letterSpacing: '-.5em',
13986
13991
  fontSize: 'var(--root-height)',
13987
13992
  fontFamily: 'monospace',
@@ -14579,7 +14584,7 @@ var DefaultAgentChatStyles = {
14579
14584
  marginBottom: '4px'
14580
14585
  },
14581
14586
  messageContent: {
14582
- lineHeight: 1.5
14587
+ lineHeight: 15
14583
14588
  },
14584
14589
  messageFooter: {
14585
14590
  marginTop: '8px'
@@ -14751,7 +14756,7 @@ var DefaultChatInputStyles = {
14751
14756
  maxHeight: '200px',
14752
14757
  padding: '8px 12px',
14753
14758
  fontSize: '14px',
14754
- lineHeight: '1.5',
14759
+ lineHeight: '15px',
14755
14760
  color: 'color.gray.900',
14756
14761
  backgroundColor: 'color.white',
14757
14762
  border: 'none',
@@ -15583,7 +15588,6 @@ var EditableInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
15583
15588
  color: "color.gray.400",
15584
15589
  pointerEvents: "none",
15585
15590
  fontSize: "14px",
15586
- lineHeight: "1.5",
15587
15591
  zIndex: 1
15588
15592
  }, views == null ? void 0 : views.placeholder), placeholder)), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
15589
15593
  as: "div",
@@ -15604,7 +15608,6 @@ var EditableInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
15604
15608
  whiteSpace: "pre-wrap",
15605
15609
  wordBreak: "break-word",
15606
15610
  fontSize: "14px",
15607
- lineHeight: "1.5",
15608
15611
  color: "color.gray.900",
15609
15612
  backgroundColor: "transparent"
15610
15613
  }, views == null ? void 0 : views.input))), showMentions && filteredMentions.length > 0 && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
@@ -26167,14 +26170,12 @@ var ToastView = _ref => {
26167
26170
  fontWeight: "600" // Semi-bold for better readability
26168
26171
  ,
26169
26172
  color: Theme[variant].content.color,
26170
- lineHeight: "1.4",
26171
26173
  bgColor: Theme[variant].container.backgroundColor
26172
26174
  }, views == null ? void 0 : views.title), title), description && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
26173
26175
  size: "sm",
26174
26176
  color: Theme[variant].content.color,
26175
26177
  fontWeight: "400" // Regular weight
26176
26178
  ,
26177
- lineHeight: "1.5",
26178
26179
  bgColor: Theme[variant].container.backgroundColor
26179
26180
  }, views == null ? void 0 : views.description), description)), action && actionText && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
26180
26181
  size: "sm",