@app-studio/web 0.9.65 → 0.9.66
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/components/Title/Title/SlideEffect.d.ts +1 -1
- package/dist/web.cjs.development.js +14 -14
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +14 -14
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +14 -14
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/docs/components/ChatInput.mdx +489 -8
- package/package.json +1 -1
package/dist/web.esm.js
CHANGED
|
@@ -3093,14 +3093,14 @@ var AlertView = _ref => {
|
|
|
3093
3093
|
,
|
|
3094
3094
|
lineHeight: "24px",
|
|
3095
3095
|
color: themes[variant].content.color,
|
|
3096
|
-
|
|
3096
|
+
backgroundColor: themes[variant].container.backgroundColor
|
|
3097
3097
|
}, views == null ? void 0 : views.title), title), /*#__PURE__*/React.createElement(Text, Object.assign({
|
|
3098
3098
|
fontSize: "14px",
|
|
3099
3099
|
fontWeight: "400" // Regular
|
|
3100
3100
|
,
|
|
3101
3101
|
lineHeight: "20px",
|
|
3102
3102
|
color: themes[variant].content.color,
|
|
3103
|
-
|
|
3103
|
+
backgroundColor: themes[variant].container.backgroundColor
|
|
3104
3104
|
}, views == null ? void 0 : views.description), description || children)));
|
|
3105
3105
|
};
|
|
3106
3106
|
|
|
@@ -3423,16 +3423,16 @@ var MessageView = _ref => {
|
|
|
3423
3423
|
}, /*#__PURE__*/React.createElement(Text, Object.assign({
|
|
3424
3424
|
size: "md",
|
|
3425
3425
|
weight: "semiBold",
|
|
3426
|
-
|
|
3426
|
+
backgroundColor: Theme[variant].container.backgroundColor
|
|
3427
3427
|
}, views == null ? void 0 : views.title), title), subtitle && (/*#__PURE__*/React.createElement(Text, Object.assign({
|
|
3428
3428
|
size: "sm",
|
|
3429
|
-
|
|
3429
|
+
backgroundColor: Theme[variant].container.backgroundColor
|
|
3430
3430
|
}, views == null ? void 0 : views.subtitle), subtitle))), showAction && (/*#__PURE__*/React.createElement(Text, Object.assign({
|
|
3431
3431
|
marginRight: 10,
|
|
3432
3432
|
onClick: action,
|
|
3433
3433
|
padding: "6px 10px",
|
|
3434
3434
|
whiteSpace: "nowrap",
|
|
3435
|
-
|
|
3435
|
+
backgroundColor: Theme[variant].container.backgroundColor
|
|
3436
3436
|
}, containerStyle, views == null ? void 0 : views.actionText), actionText)), isClosable && (/*#__PURE__*/React.createElement(View, Object.assign({
|
|
3437
3437
|
position: "absolute",
|
|
3438
3438
|
zIndex: 10000,
|
|
@@ -9707,7 +9707,7 @@ var SelectorView = _ref => {
|
|
|
9707
9707
|
var isSelected = value === option.value;
|
|
9708
9708
|
var borderColor = getColor('color.gray.200');
|
|
9709
9709
|
var textColor = getColor('color.gray.500');
|
|
9710
|
-
var
|
|
9710
|
+
var backgroundColor = 'transparent';
|
|
9711
9711
|
if (isSelected) {
|
|
9712
9712
|
if (option.color) {
|
|
9713
9713
|
// We need a way to get related colors (50, 500, 700 etc) from a base color if we want full fidelity.
|
|
@@ -9718,13 +9718,13 @@ var SelectorView = _ref => {
|
|
|
9718
9718
|
// Simplification: if color provided, use it for border/text.
|
|
9719
9719
|
// Background is hard to derive without more specific props.
|
|
9720
9720
|
// Let's try to use a very light opacity of the color for background.
|
|
9721
|
-
|
|
9721
|
+
backgroundColor = 'rgba(0,0,0,0.05)'; // Generic active background
|
|
9722
9722
|
} else {
|
|
9723
9723
|
// Default active style
|
|
9724
9724
|
var primary = getColor('theme.primary');
|
|
9725
9725
|
borderColor = primary;
|
|
9726
9726
|
textColor = primary;
|
|
9727
|
-
|
|
9727
|
+
backgroundColor = 'color.gray.50';
|
|
9728
9728
|
}
|
|
9729
9729
|
// Specific overrides based on user request "ComplexitySelector" style
|
|
9730
9730
|
// If the values match 'High', 'Medium', 'Low' we can hardcode for *demo* fidelity if generic logic fails.
|
|
@@ -9734,12 +9734,12 @@ var SelectorView = _ref => {
|
|
|
9734
9734
|
// Fallback for customized options
|
|
9735
9735
|
borderColor = getColor(option.color);
|
|
9736
9736
|
textColor = getColor(option.color);
|
|
9737
|
-
|
|
9737
|
+
backgroundColor = 'transparent';
|
|
9738
9738
|
} else {
|
|
9739
9739
|
// Default fallback
|
|
9740
9740
|
borderColor = getColor('theme.primary');
|
|
9741
9741
|
textColor = getColor('theme.primary');
|
|
9742
|
-
|
|
9742
|
+
backgroundColor = 'transparent';
|
|
9743
9743
|
}
|
|
9744
9744
|
}
|
|
9745
9745
|
return /*#__PURE__*/React.createElement(Button, Object.assign({
|
|
@@ -9759,7 +9759,7 @@ var SelectorView = _ref => {
|
|
|
9759
9759
|
borderBottom: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
|
|
9760
9760
|
borderLeft: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
|
|
9761
9761
|
borderRight: index === arr.length - 1 || isSelected ? "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')) : 'none',
|
|
9762
|
-
backgroundColor:
|
|
9762
|
+
backgroundColor: backgroundColor,
|
|
9763
9763
|
color: textColor,
|
|
9764
9764
|
borderRadius: index === 0 ? '6px 0 0 6px' : index === arr.length - 1 ? '0 6px 6px 0' : '0',
|
|
9765
9765
|
zIndex: isSelected ? 1 : 0,
|
|
@@ -26274,13 +26274,13 @@ var ToastView = _ref => {
|
|
|
26274
26274
|
fontWeight: "600" // Semi-bold for better readability
|
|
26275
26275
|
,
|
|
26276
26276
|
color: Theme[variant].content.color,
|
|
26277
|
-
|
|
26277
|
+
backgroundColor: Theme[variant].container.backgroundColor
|
|
26278
26278
|
}, views == null ? void 0 : views.title), title), description && (/*#__PURE__*/React.createElement(Text, Object.assign({
|
|
26279
26279
|
size: "sm",
|
|
26280
26280
|
color: Theme[variant].content.color,
|
|
26281
26281
|
fontWeight: "400" // Regular weight
|
|
26282
26282
|
,
|
|
26283
|
-
|
|
26283
|
+
backgroundColor: Theme[variant].container.backgroundColor
|
|
26284
26284
|
}, views == null ? void 0 : views.description), description)), action && actionText && (/*#__PURE__*/React.createElement(Text, Object.assign({
|
|
26285
26285
|
size: "sm",
|
|
26286
26286
|
fontWeight: "600" // Semi-bold for better readability
|
|
@@ -26289,7 +26289,7 @@ var ToastView = _ref => {
|
|
|
26289
26289
|
,
|
|
26290
26290
|
cursor: "pointer",
|
|
26291
26291
|
color: Theme[variant].content.color,
|
|
26292
|
-
|
|
26292
|
+
backgroundColor: Theme[variant].container.backgroundColor,
|
|
26293
26293
|
onClick: e => {
|
|
26294
26294
|
e.stopPropagation();
|
|
26295
26295
|
action();
|