llmasaservice-ui 0.7.3 → 0.7.4
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.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/ChatPanel.tsx +1 -1
package/dist/index.js
CHANGED
|
@@ -254,7 +254,7 @@ var ChatPanel = ({
|
|
|
254
254
|
const buttonId = `button-${messages.length}-${index}-${matchIndex}`;
|
|
255
255
|
let html = match;
|
|
256
256
|
if (action.type === "button" || action.type === "callback") {
|
|
257
|
-
html = `<button id="${buttonId}" style="${(_a = action.style) != null ? _a : "button"}>${(_b = action.markdown) != null ? _b : match}</button>`;
|
|
257
|
+
html = `<button id="${buttonId}" style="${(_a = action.style) != null ? _a : "button"}">${(_b = action.markdown) != null ? _b : match}</button>`;
|
|
258
258
|
} else if (action.type === "markdown" || action.type === "html") {
|
|
259
259
|
html = (_c = action.markdown) != null ? _c : "";
|
|
260
260
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -220,7 +220,7 @@ var ChatPanel = ({
|
|
|
220
220
|
const buttonId = `button-${messages.length}-${index}-${matchIndex}`;
|
|
221
221
|
let html = match;
|
|
222
222
|
if (action.type === "button" || action.type === "callback") {
|
|
223
|
-
html = `<button id="${buttonId}" style="${(_a = action.style) != null ? _a : "button"}>${(_b = action.markdown) != null ? _b : match}</button>`;
|
|
223
|
+
html = `<button id="${buttonId}" style="${(_a = action.style) != null ? _a : "button"}">${(_b = action.markdown) != null ? _b : match}</button>`;
|
|
224
224
|
} else if (action.type === "markdown" || action.type === "html") {
|
|
225
225
|
html = (_c = action.markdown) != null ? _c : "";
|
|
226
226
|
}
|
package/package.json
CHANGED
package/src/ChatPanel.tsx
CHANGED
|
@@ -178,7 +178,7 @@ const ChatPanel: React.FC<ChatPanelProps & ExtraProps> = ({
|
|
|
178
178
|
|
|
179
179
|
let html = match;
|
|
180
180
|
if (action.type === "button" || action.type === "callback") {
|
|
181
|
-
html = `<button id="${buttonId}" style="${action.style ?? 'button'}>${
|
|
181
|
+
html = `<button id="${buttonId}" style="${action.style ?? 'button'}">${
|
|
182
182
|
action.markdown ?? match
|
|
183
183
|
}</button>`;
|
|
184
184
|
} else if (action.type === "markdown" || action.type === "html") {
|