@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.
package/dist/web.esm.js CHANGED
@@ -8840,7 +8840,7 @@ var Item = _ref => {
8840
8840
  fontSize: Typography.fontSizes[size],
8841
8841
  fontWeight: "400" // Regular weight
8842
8842
  ,
8843
- lineHeight: "1.5"
8843
+ lineHeight: "15px"
8844
8844
  }, style), option.label));
8845
8845
  };
8846
8846
  /**
@@ -9586,7 +9586,7 @@ var useSelectorState = _ref => {
9586
9586
  };
9587
9587
  };
9588
9588
 
9589
- var _excluded$u = ["id", "name", "label", "value", "views", "options", "onChange", "setValue"];
9589
+ var _excluded$u = ["id", "name", "label", "value", "size", "views", "options", "onChange", "setValue"];
9590
9590
  /**
9591
9591
  * SelectorView Component
9592
9592
  *
@@ -9598,6 +9598,7 @@ var SelectorView = _ref => {
9598
9598
  name,
9599
9599
  label,
9600
9600
  value,
9601
+ size,
9601
9602
  views = {},
9602
9603
  options = [],
9603
9604
  onChange = () => {},
@@ -9667,15 +9668,20 @@ var SelectorView = _ref => {
9667
9668
  // Default fallback
9668
9669
  borderColor = getColor('theme.primary');
9669
9670
  textColor = getColor('theme.primary');
9670
- bgColor = getColor('color.blue.50');
9671
+ bgColor = 'transparent';
9671
9672
  }
9672
9673
  }
9673
9674
  return /*#__PURE__*/React.createElement(Button, Object.assign({
9674
9675
  key: option.value,
9675
9676
  onClick: () => handleCallback(option),
9676
- flex: 1,
9677
+ flex: 1
9678
+ }, size ? {
9679
+ size
9680
+ } : {
9681
+ // Legacy default: keep existing compact look when `size` isn't specified.
9677
9682
  paddingVertical: 6,
9678
- fontSize: "12px",
9683
+ fontSize: '12px'
9684
+ }, {
9679
9685
  fontWeight: isSelected ? 'bold' : 'normal',
9680
9686
  style: {
9681
9687
  borderTop: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
@@ -10353,7 +10359,7 @@ var CheckboxView = _ref => {
10353
10359
  size: "sm",
10354
10360
  fontWeight: "400" // Regular weight
10355
10361
  ,
10356
- lineHeight: "1.5"
10362
+ lineHeight: "15"
10357
10363
  }, views == null ? void 0 : views.infoText), infoText))), error && (/*#__PURE__*/React.createElement(Text, {
10358
10364
  size: "xs",
10359
10365
  marginTop: 4,
@@ -13974,7 +13980,6 @@ var OTPInputView = _ref => {
13974
13980
  border: '0 solid transparent',
13975
13981
  outline: '0 solid transparent',
13976
13982
  boxShadow: 'none',
13977
- lineHeight: '1',
13978
13983
  letterSpacing: '-.5em',
13979
13984
  fontSize: 'var(--root-height)',
13980
13985
  fontFamily: 'monospace',
@@ -14572,7 +14577,7 @@ var DefaultAgentChatStyles = {
14572
14577
  marginBottom: '4px'
14573
14578
  },
14574
14579
  messageContent: {
14575
- lineHeight: 1.5
14580
+ lineHeight: 15
14576
14581
  },
14577
14582
  messageFooter: {
14578
14583
  marginTop: '8px'
@@ -14744,7 +14749,7 @@ var DefaultChatInputStyles = {
14744
14749
  maxHeight: '200px',
14745
14750
  padding: '8px 12px',
14746
14751
  fontSize: '14px',
14747
- lineHeight: '1.5',
14752
+ lineHeight: '15px',
14748
14753
  color: 'color.gray.900',
14749
14754
  backgroundColor: 'color.white',
14750
14755
  border: 'none',
@@ -15576,7 +15581,6 @@ var EditableInput = /*#__PURE__*/forwardRef((_ref, ref) => {
15576
15581
  color: "color.gray.400",
15577
15582
  pointerEvents: "none",
15578
15583
  fontSize: "14px",
15579
- lineHeight: "1.5",
15580
15584
  zIndex: 1
15581
15585
  }, views == null ? void 0 : views.placeholder), placeholder)), /*#__PURE__*/React.createElement(View, Object.assign({
15582
15586
  as: "div",
@@ -15597,7 +15601,6 @@ var EditableInput = /*#__PURE__*/forwardRef((_ref, ref) => {
15597
15601
  whiteSpace: "pre-wrap",
15598
15602
  wordBreak: "break-word",
15599
15603
  fontSize: "14px",
15600
- lineHeight: "1.5",
15601
15604
  color: "color.gray.900",
15602
15605
  backgroundColor: "transparent"
15603
15606
  }, views == null ? void 0 : views.input))), showMentions && filteredMentions.length > 0 && (/*#__PURE__*/React.createElement(View, Object.assign({
@@ -26160,14 +26163,12 @@ var ToastView = _ref => {
26160
26163
  fontWeight: "600" // Semi-bold for better readability
26161
26164
  ,
26162
26165
  color: Theme[variant].content.color,
26163
- lineHeight: "1.4",
26164
26166
  bgColor: Theme[variant].container.backgroundColor
26165
26167
  }, views == null ? void 0 : views.title), title), description && (/*#__PURE__*/React.createElement(Text, Object.assign({
26166
26168
  size: "sm",
26167
26169
  color: Theme[variant].content.color,
26168
26170
  fontWeight: "400" // Regular weight
26169
26171
  ,
26170
- lineHeight: "1.5",
26171
26172
  bgColor: Theme[variant].container.backgroundColor
26172
26173
  }, views == null ? void 0 : views.description), description)), action && actionText && (/*#__PURE__*/React.createElement(Text, Object.assign({
26173
26174
  size: "sm",