@ray-js/t-agent-ui-ray 0.2.7-beta.10 → 0.2.7-beta.11
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.
|
@@ -10,7 +10,7 @@ interface Props {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
renderTop?: React.ReactNode;
|
|
12
12
|
placeholder?: string;
|
|
13
|
-
placeholderStyle?:
|
|
13
|
+
placeholderStyle?: React.CSSProperties;
|
|
14
14
|
style?: React.CSSProperties;
|
|
15
15
|
attachment?: boolean | AttachmentOptions;
|
|
16
16
|
maxTextLength?: number;
|
|
@@ -222,8 +222,12 @@ export default function MessageInputAIStream(props) {
|
|
|
222
222
|
}]);
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
|
-
maxLength: props.maxTextLength || 200
|
|
226
|
-
|
|
225
|
+
maxLength: props.maxTextLength || 200
|
|
226
|
+
// @ts-ignore
|
|
227
|
+
,
|
|
228
|
+
placeholderStyle: props.placeholderStyle || {
|
|
229
|
+
color: 'var(--app-B1-N4)'
|
|
230
|
+
},
|
|
227
231
|
onFocus: () => {
|
|
228
232
|
setMoreOpen(false);
|
|
229
233
|
emitEvent('scrollToBottom', {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/t-agent-ui-ray",
|
|
3
|
-
"version": "0.2.7-beta.
|
|
3
|
+
"version": "0.2.7-beta.11",
|
|
4
4
|
"author": "Tuya.inc",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"@types/echarts": "^4.9.22",
|
|
41
41
|
"@types/markdown-it": "^14.1.1"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "10d81d0352c88b6b2eff7168ed046a065416dc4f"
|
|
44
44
|
}
|