llmasaservice-ui 0.9.6 → 0.9.7

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.d.mts CHANGED
@@ -86,6 +86,7 @@ interface AgentPanelProps {
86
86
  thumbsUpClick?: (callId: string) => void;
87
87
  thumbsDownClick?: (callId: string) => void;
88
88
  theme?: "light" | "dark";
89
+ markdownClass?: string;
89
90
  width?: string;
90
91
  height?: string;
91
92
  url?: string;
package/dist/index.d.ts CHANGED
@@ -86,6 +86,7 @@ interface AgentPanelProps {
86
86
  thumbsUpClick?: (callId: string) => void;
87
87
  thumbsDownClick?: (callId: string) => void;
88
88
  theme?: "light" | "dark";
89
+ markdownClass?: string;
89
90
  width?: string;
90
91
  height?: string;
91
92
  url?: string;
package/dist/index.js CHANGED
@@ -1377,7 +1377,7 @@ var AgentPanel = ({
1377
1377
  thumbsUpClick,
1378
1378
  thumbsDownClick,
1379
1379
  theme,
1380
- //markdownClass = null,
1380
+ markdownClass = null,
1381
1381
  width,
1382
1382
  height,
1383
1383
  url = "https://chat.llmasaservice.io/",
@@ -1458,6 +1458,7 @@ var AgentPanel = ({
1458
1458
  url,
1459
1459
  title: (_a = agentData == null ? void 0 : agentData.displayTitle) != null ? _a : "",
1460
1460
  theme: theme ? theme : (agentData == null ? void 0 : agentData.displayTheme) === "light" ? "light" : "dark",
1461
+ markdownClass: markdownClass != null ? markdownClass : void 0,
1461
1462
  cssUrl: (_b = agentData == null ? void 0 : agentData.cssUrl) != null ? _b : "",
1462
1463
  height: height ? height : (_c = agentData == null ? void 0 : agentData.displayHeight) != null ? _c : "100vh",
1463
1464
  width: width ? width : (_d = agentData == null ? void 0 : agentData.displayWidth) != null ? _d : "100%",
package/dist/index.mjs CHANGED
@@ -1343,7 +1343,7 @@ var AgentPanel = ({
1343
1343
  thumbsUpClick,
1344
1344
  thumbsDownClick,
1345
1345
  theme,
1346
- //markdownClass = null,
1346
+ markdownClass = null,
1347
1347
  width,
1348
1348
  height,
1349
1349
  url = "https://chat.llmasaservice.io/",
@@ -1424,6 +1424,7 @@ var AgentPanel = ({
1424
1424
  url,
1425
1425
  title: (_a = agentData == null ? void 0 : agentData.displayTitle) != null ? _a : "",
1426
1426
  theme: theme ? theme : (agentData == null ? void 0 : agentData.displayTheme) === "light" ? "light" : "dark",
1427
+ markdownClass: markdownClass != null ? markdownClass : void 0,
1427
1428
  cssUrl: (_b = agentData == null ? void 0 : agentData.cssUrl) != null ? _b : "",
1428
1429
  height: height ? height : (_c = agentData == null ? void 0 : agentData.displayHeight) != null ? _c : "100vh",
1429
1430
  width: width ? width : (_d = agentData == null ? void 0 : agentData.displayWidth) != null ? _d : "100%",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llmasaservice-ui",
3
- "version": "0.9.6",
3
+ "version": "0.9.7",
4
4
  "description": "Prebuilt UI components for LLMAsAService.io",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -18,7 +18,7 @@ export interface AgentPanelProps {
18
18
  thumbsUpClick?: (callId: string) => void;
19
19
  thumbsDownClick?: (callId: string) => void;
20
20
  theme?: "light" | "dark";
21
- //markdownClass?: string;
21
+ markdownClass?: string;
22
22
  width?: string;
23
23
  height?: string;
24
24
  url?: string;
@@ -78,7 +78,7 @@ const AgentPanel: React.FC<AgentPanelProps & ExtraProps> = ({
78
78
  thumbsUpClick,
79
79
  thumbsDownClick,
80
80
  theme,
81
- //markdownClass = null,
81
+ markdownClass = null,
82
82
  width,
83
83
  height,
84
84
  url = "https://chat.llmasaservice.io/",
@@ -178,6 +178,7 @@ const AgentPanel: React.FC<AgentPanelProps & ExtraProps> = ({
178
178
  ? "light"
179
179
  : "dark"
180
180
  }
181
+ markdownClass={markdownClass ?? undefined}
181
182
  cssUrl={agentData?.cssUrl ?? ""}
182
183
  height={height ? height : agentData?.displayHeight ?? "100vh"}
183
184
  width={width ? width : agentData?.displayWidth ?? "100%"}