@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
|
@@ -3100,14 +3100,14 @@ var AlertView = _ref => {
|
|
|
3100
3100
|
,
|
|
3101
3101
|
lineHeight: "24px",
|
|
3102
3102
|
color: themes[variant].content.color,
|
|
3103
|
-
|
|
3103
|
+
backgroundColor: themes[variant].container.backgroundColor
|
|
3104
3104
|
}, views == null ? void 0 : views.title), title), /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
3105
3105
|
fontSize: "14px",
|
|
3106
3106
|
fontWeight: "400" // Regular
|
|
3107
3107
|
,
|
|
3108
3108
|
lineHeight: "20px",
|
|
3109
3109
|
color: themes[variant].content.color,
|
|
3110
|
-
|
|
3110
|
+
backgroundColor: themes[variant].container.backgroundColor
|
|
3111
3111
|
}, views == null ? void 0 : views.description), description || children)));
|
|
3112
3112
|
};
|
|
3113
3113
|
|
|
@@ -3430,16 +3430,16 @@ var MessageView = _ref => {
|
|
|
3430
3430
|
}, /*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
3431
3431
|
size: "md",
|
|
3432
3432
|
weight: "semiBold",
|
|
3433
|
-
|
|
3433
|
+
backgroundColor: Theme[variant].container.backgroundColor
|
|
3434
3434
|
}, views == null ? void 0 : views.title), title), subtitle && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
3435
3435
|
size: "sm",
|
|
3436
|
-
|
|
3436
|
+
backgroundColor: Theme[variant].container.backgroundColor
|
|
3437
3437
|
}, views == null ? void 0 : views.subtitle), subtitle))), showAction && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
3438
3438
|
marginRight: 10,
|
|
3439
3439
|
onClick: action,
|
|
3440
3440
|
padding: "6px 10px",
|
|
3441
3441
|
whiteSpace: "nowrap",
|
|
3442
|
-
|
|
3442
|
+
backgroundColor: Theme[variant].container.backgroundColor
|
|
3443
3443
|
}, containerStyle, views == null ? void 0 : views.actionText), actionText)), isClosable && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
|
|
3444
3444
|
position: "absolute",
|
|
3445
3445
|
zIndex: 10000,
|
|
@@ -9714,7 +9714,7 @@ var SelectorView = _ref => {
|
|
|
9714
9714
|
var isSelected = value === option.value;
|
|
9715
9715
|
var borderColor = getColor('color.gray.200');
|
|
9716
9716
|
var textColor = getColor('color.gray.500');
|
|
9717
|
-
var
|
|
9717
|
+
var backgroundColor = 'transparent';
|
|
9718
9718
|
if (isSelected) {
|
|
9719
9719
|
if (option.color) {
|
|
9720
9720
|
// We need a way to get related colors (50, 500, 700 etc) from a base color if we want full fidelity.
|
|
@@ -9725,13 +9725,13 @@ var SelectorView = _ref => {
|
|
|
9725
9725
|
// Simplification: if color provided, use it for border/text.
|
|
9726
9726
|
// Background is hard to derive without more specific props.
|
|
9727
9727
|
// Let's try to use a very light opacity of the color for background.
|
|
9728
|
-
|
|
9728
|
+
backgroundColor = 'rgba(0,0,0,0.05)'; // Generic active background
|
|
9729
9729
|
} else {
|
|
9730
9730
|
// Default active style
|
|
9731
9731
|
var primary = getColor('theme.primary');
|
|
9732
9732
|
borderColor = primary;
|
|
9733
9733
|
textColor = primary;
|
|
9734
|
-
|
|
9734
|
+
backgroundColor = 'color.gray.50';
|
|
9735
9735
|
}
|
|
9736
9736
|
// Specific overrides based on user request "ComplexitySelector" style
|
|
9737
9737
|
// If the values match 'High', 'Medium', 'Low' we can hardcode for *demo* fidelity if generic logic fails.
|
|
@@ -9741,12 +9741,12 @@ var SelectorView = _ref => {
|
|
|
9741
9741
|
// Fallback for customized options
|
|
9742
9742
|
borderColor = getColor(option.color);
|
|
9743
9743
|
textColor = getColor(option.color);
|
|
9744
|
-
|
|
9744
|
+
backgroundColor = 'transparent';
|
|
9745
9745
|
} else {
|
|
9746
9746
|
// Default fallback
|
|
9747
9747
|
borderColor = getColor('theme.primary');
|
|
9748
9748
|
textColor = getColor('theme.primary');
|
|
9749
|
-
|
|
9749
|
+
backgroundColor = 'transparent';
|
|
9750
9750
|
}
|
|
9751
9751
|
}
|
|
9752
9752
|
return /*#__PURE__*/React__default.createElement(Button, Object.assign({
|
|
@@ -9766,7 +9766,7 @@ var SelectorView = _ref => {
|
|
|
9766
9766
|
borderBottom: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
|
|
9767
9767
|
borderLeft: "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')),
|
|
9768
9768
|
borderRight: index === arr.length - 1 || isSelected ? "1px solid " + (isSelected ? borderColor : getColor('color.gray.200')) : 'none',
|
|
9769
|
-
backgroundColor:
|
|
9769
|
+
backgroundColor: backgroundColor,
|
|
9770
9770
|
color: textColor,
|
|
9771
9771
|
borderRadius: index === 0 ? '6px 0 0 6px' : index === arr.length - 1 ? '0 6px 6px 0' : '0',
|
|
9772
9772
|
zIndex: isSelected ? 1 : 0,
|
|
@@ -26281,13 +26281,13 @@ var ToastView = _ref => {
|
|
|
26281
26281
|
fontWeight: "600" // Semi-bold for better readability
|
|
26282
26282
|
,
|
|
26283
26283
|
color: Theme[variant].content.color,
|
|
26284
|
-
|
|
26284
|
+
backgroundColor: Theme[variant].container.backgroundColor
|
|
26285
26285
|
}, views == null ? void 0 : views.title), title), description && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
26286
26286
|
size: "sm",
|
|
26287
26287
|
color: Theme[variant].content.color,
|
|
26288
26288
|
fontWeight: "400" // Regular weight
|
|
26289
26289
|
,
|
|
26290
|
-
|
|
26290
|
+
backgroundColor: Theme[variant].container.backgroundColor
|
|
26291
26291
|
}, views == null ? void 0 : views.description), description)), action && actionText && (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({
|
|
26292
26292
|
size: "sm",
|
|
26293
26293
|
fontWeight: "600" // Semi-bold for better readability
|
|
@@ -26296,7 +26296,7 @@ var ToastView = _ref => {
|
|
|
26296
26296
|
,
|
|
26297
26297
|
cursor: "pointer",
|
|
26298
26298
|
color: Theme[variant].content.color,
|
|
26299
|
-
|
|
26299
|
+
backgroundColor: Theme[variant].container.backgroundColor,
|
|
26300
26300
|
onClick: e => {
|
|
26301
26301
|
e.stopPropagation();
|
|
26302
26302
|
action();
|