@zero-library/chat-copilot 3.1.29 → 3.1.30
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/index.cjs.js +6 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +15 -7
- package/dist/index.css.map +1 -1
- package/dist/index.esm.js +6 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
|
@@ -72,7 +72,9 @@ function useChatStore() {
|
|
|
72
72
|
// src/components/styles.module.less
|
|
73
73
|
var styles_module_default = {
|
|
74
74
|
chatAttachments: "styles_module_chatAttachments",
|
|
75
|
-
chatSender: "styles_module_chatSender"
|
|
75
|
+
chatSender: "styles_module_chatSender",
|
|
76
|
+
bubble: "styles_module_bubble"
|
|
77
|
+
};
|
|
76
78
|
var Attachments_default = React10.forwardRef(({ fileUpload, fileUploadConfig, fileList = [], onChange, extraParams }, ref) => {
|
|
77
79
|
const { message: message3 } = antd.App.useApp();
|
|
78
80
|
const chatStore = useChatStore();
|
|
@@ -3126,7 +3128,7 @@ var CodeHighlight_default = ({ className, data }) => {
|
|
|
3126
3128
|
overflowX: "auto",
|
|
3127
3129
|
borderRadius: 8
|
|
3128
3130
|
},
|
|
3129
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3131
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(xV2.CodeHighlighter, { lang, style: { margin: 0 }, children: data })
|
|
3130
3132
|
}
|
|
3131
3133
|
);
|
|
3132
3134
|
};
|
|
@@ -5070,7 +5072,7 @@ var index_module_default2 = {
|
|
|
5070
5072
|
duration: "index_module_duration",
|
|
5071
5073
|
toolNamePending: "index_module_toolNamePending",
|
|
5072
5074
|
dot: "index_module_dot",
|
|
5073
|
-
|
|
5075
|
+
"dot-blink": "index_module_dot-blink",
|
|
5074
5076
|
expandIcon: "index_module_expandIcon",
|
|
5075
5077
|
expanded: "index_module_expanded",
|
|
5076
5078
|
contentScrollContainer: "index_module_contentScrollContainer",
|
|
@@ -5465,6 +5467,7 @@ var MessageRender_default = React10__namespace.default.memo(({ role, message: me
|
|
|
5465
5467
|
{
|
|
5466
5468
|
role: role.user,
|
|
5467
5469
|
placement: role.placement,
|
|
5470
|
+
className: styles_module_default.bubble,
|
|
5468
5471
|
variant: item.type === "files" ? "borderless" : void 0,
|
|
5469
5472
|
content: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5470
5473
|
(item.type === "toolCall" || item.type === "toolResult") && /* @__PURE__ */ jsxRuntime.jsx(tool_call_item_default, { item }, `tool-call-${item.toolCallId || index}`),
|