knight-ui 1.1.4 → 1.1.6
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/README.md +123 -37
- package/component/ai/AIChatDialogue.d.ts +3 -0
- package/component/ai/AIChatInput.d.ts +3 -0
- package/component/basic/Layout.d.ts +52 -0
- package/component/navigation/Navigation.d.ts +41 -1
- package/component/plus/Chat.d.ts +2 -0
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/tokens/tokens.css +116 -31
package/component/plus/Chat.d.ts
CHANGED
|
@@ -49,6 +49,8 @@ export interface ChatProps extends UIProps {
|
|
|
49
49
|
onRetry?: (msg: ChatMessage, index: number) => void;
|
|
50
50
|
loading?: boolean;
|
|
51
51
|
emptyContent?: React.ReactNode;
|
|
52
|
+
/** 面板底色。缺省走 .ku-chat-surface(暗 #151517 / 亮 #ecedf0), 与 AIChatDialogue / AIChatInput 同一档。 */
|
|
53
|
+
backgroundColor?: string;
|
|
52
54
|
showInput?: boolean;
|
|
53
55
|
placeholder?: string;
|
|
54
56
|
sendText?: string;
|