llmasaservice-ui 0.8.8 → 0.8.9
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.css +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/AgentPanel.tsx +1 -4
- package/src/ChatPanel.css +4 -4
package/dist/index.css
CHANGED
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
--powered-by-text-color: #999;
|
|
42
42
|
}
|
|
43
43
|
.dark-theme {
|
|
44
|
-
--background-color: #
|
|
44
|
+
--background-color: #171717;
|
|
45
45
|
--title-text-color: #e0e0e0;
|
|
46
|
-
--title-background-color: #
|
|
46
|
+
--title-background-color: #171717;
|
|
47
47
|
--title-divider-color: #333;
|
|
48
48
|
--input-background-color: #2c2c2c;
|
|
49
49
|
--input-border-color: #444;
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
--button-action-text-color: #bbb;
|
|
59
59
|
--prompt-background-color: #333333;
|
|
60
60
|
--prompt-text-color: #ffffff;
|
|
61
|
-
--response-background-color: #
|
|
61
|
+
--response-background-color: #171717;
|
|
62
62
|
--response-text-color: #e0e0e0;
|
|
63
63
|
--button-scroll-background-color: #505050;
|
|
64
64
|
--button-scroll-text-color: #fff;
|
package/dist/index.js
CHANGED
|
@@ -1262,7 +1262,7 @@ var AgentPanel = ({
|
|
|
1262
1262
|
clearFollowOnQuestionsNextPrompt,
|
|
1263
1263
|
historyChangedCallback,
|
|
1264
1264
|
responseCompleteCallback,
|
|
1265
|
-
prismStyle: (agentData == null ? void 0 : agentData.displayTheme) === "light" ? import_material_light2.default : import_material_dark2.default,
|
|
1265
|
+
prismStyle: theme ? theme === "light" ? import_material_light2.default : import_material_dark2.default : (agentData == null ? void 0 : agentData.displayTheme) === "light" ? import_material_light2.default : import_material_dark2.default,
|
|
1266
1266
|
actions: [
|
|
1267
1267
|
...actions,
|
|
1268
1268
|
...getActionsArraySafely(agentData == null ? void 0 : agentData.displayActions)
|
package/dist/index.mjs
CHANGED
|
@@ -1228,7 +1228,7 @@ var AgentPanel = ({
|
|
|
1228
1228
|
clearFollowOnQuestionsNextPrompt,
|
|
1229
1229
|
historyChangedCallback,
|
|
1230
1230
|
responseCompleteCallback,
|
|
1231
|
-
prismStyle: (agentData == null ? void 0 : agentData.displayTheme) === "light" ? materialLight2 : materialDark2,
|
|
1231
|
+
prismStyle: theme ? theme === "light" ? materialLight2 : materialDark2 : (agentData == null ? void 0 : agentData.displayTheme) === "light" ? materialLight2 : materialDark2,
|
|
1232
1232
|
actions: [
|
|
1233
1233
|
...actions,
|
|
1234
1234
|
...getActionsArraySafely(agentData == null ? void 0 : agentData.displayActions)
|
package/package.json
CHANGED
package/src/AgentPanel.tsx
CHANGED
|
@@ -200,10 +200,7 @@ const AgentPanel: React.FC<AgentPanelProps & ExtraProps> = ({
|
|
|
200
200
|
historyChangedCallback={historyChangedCallback}
|
|
201
201
|
responseCompleteCallback={responseCompleteCallback}
|
|
202
202
|
prismStyle={
|
|
203
|
-
(agentData?.displayTheme === "light"
|
|
204
|
-
? materialLight
|
|
205
|
-
: materialDark) as any
|
|
206
|
-
}
|
|
203
|
+
theme ? (theme === "light" ? materialLight: materialDark) as any : (agentData?.displayTheme === "light" ? materialLight : materialDark) as any }
|
|
207
204
|
actions={[
|
|
208
205
|
...actions,
|
|
209
206
|
...getActionsArraySafely(agentData?.displayActions),
|
package/src/ChatPanel.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* --------------------------------------------------------
|
|
2
2
|
LLM PANEL CSS
|
|
3
|
-
Version: 1.1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
-------------------------------------------------------- */
|
|
5
5
|
|
|
6
6
|
*,
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
|
|
63
63
|
/* Dark Theme Overrides */
|
|
64
64
|
.dark-theme {
|
|
65
|
-
--background-color: #
|
|
65
|
+
--background-color: #171717;
|
|
66
66
|
|
|
67
67
|
--title-text-color: #e0e0e0;
|
|
68
|
-
--title-background-color: #
|
|
68
|
+
--title-background-color: #171717;
|
|
69
69
|
--title-divider-color: #333;
|
|
70
70
|
|
|
71
71
|
--input-background-color: #2c2c2c;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
--prompt-background-color: #333333;
|
|
86
86
|
--prompt-text-color: #ffffff;
|
|
87
87
|
|
|
88
|
-
--response-background-color: #
|
|
88
|
+
--response-background-color: #171717;
|
|
89
89
|
--response-text-color: #e0e0e0;
|
|
90
90
|
|
|
91
91
|
--button-scroll-background-color: #505050;
|