whyuzeim 1.1.81 → 1.1.83

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.
@@ -76,7 +76,7 @@ var AIReportMsg = function AIReportMsg(props) {
76
76
  onReportClick && onReportClick(msg.customExts);
77
77
  }
78
78
  }, /*#__PURE__*/React.createElement("span", {
79
- className: "text-base prose dark:prose-invert",
79
+ className: "text-base prose",
80
80
  style: {
81
81
  color: isMySelf ? "var(--im-msg-bubble-right-font-color)" : "var(--im-msg-bubble-font-color)"
82
82
  }
@@ -142,9 +142,10 @@ var HighlyCustomChat = function HighlyCustomChat(props) {
142
142
  },
143
143
  className: "inline-block"
144
144
  }, /*#__PURE__*/React.createElement("span", {
145
- className: classNames("cui-message-text1", 'prose', {
146
- 'prose-invert': !isMySelf
147
- })
145
+ className: classNames("cui-message-text1", 'prose'),
146
+ style: {
147
+ color: isMySelf ? "var(--im-msg-bubble-right-font-color)" : "var(--im-msg-bubble-font-color)"
148
+ }
148
149
  }, /*#__PURE__*/React.createElement(ReactMarkdown, {
149
150
  rehypePlugins: [rehypeHighlight],
150
151
  remarkPlugins: [remarkGfm]
@@ -74,7 +74,7 @@ var AIReportMsg = function AIReportMsg(props) {
74
74
  onReportClick && onReportClick(msg.customExts);
75
75
  }
76
76
  }, /*#__PURE__*/React.createElement("span", {
77
- className: "text-base prose dark:prose-invert",
77
+ className: "text-base prose",
78
78
  style: {
79
79
  color: isMySelf ? "var(--im-msg-bubble-right-font-color)" : "var(--im-msg-bubble-font-color)"
80
80
  }
@@ -140,9 +140,10 @@ var HighlyCustomChat = function HighlyCustomChat(props) {
140
140
  },
141
141
  className: "inline-block"
142
142
  }, /*#__PURE__*/React.createElement("span", {
143
- className: classNames("cui-message-text1", 'prose', {
144
- 'prose-invert': !isMySelf
145
- })
143
+ className: classNames("cui-message-text1", 'prose'),
144
+ style: {
145
+ color: isMySelf ? "var(--im-msg-bubble-right-font-color)" : "var(--im-msg-bubble-font-color)"
146
+ }
146
147
  }, /*#__PURE__*/React.createElement(ReactMarkdown, {
147
148
  rehypePlugins: [rehypeHighlight],
148
149
  remarkPlugins: [remarkGfm]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whyuzeim",
3
- "version": "1.1.81",
3
+ "version": "1.1.83",
4
4
  "description": "im componenets",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",