@asgard-js/react 0.0.43-canary.10 → 0.0.43-canary.13
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/components/chatbot/api-key-input/api-key-input.d.ts.map +1 -1
- package/dist/context/asgard-theme-context.d.ts.map +1 -1
- package/dist/index.js +7601 -7595
- package/package.json +1 -1
- package/src/components/chatbot/api-key-input/api-key-input.tsx +2 -0
- package/src/context/asgard-theme-context.tsx +5 -0
package/package.json
CHANGED
|
@@ -28,6 +28,8 @@ export function ApiKeyInput({
|
|
|
28
28
|
const [showPassword, setShowPassword] = useState(false);
|
|
29
29
|
const { chatbot } = useAsgardThemeContext();
|
|
30
30
|
const { avatar } = useAsgardContext();
|
|
31
|
+
console.log('chatbot', chatbot);
|
|
32
|
+
console.log('chatbot.primaryComponent', chatbot.primaryComponent);
|
|
31
33
|
|
|
32
34
|
const handleSubmit = (e: FormEvent): void => {
|
|
33
35
|
e.preventDefault();
|
|
@@ -267,6 +267,9 @@ export function AsgardThemeContextProvider(
|
|
|
267
267
|
chatbot: {
|
|
268
268
|
backgroundColor: themeFromAnnotations.chatbot?.backgroundColor,
|
|
269
269
|
borderColor: themeFromAnnotations.chatbot?.borderColor,
|
|
270
|
+
inactiveColor: themeFromAnnotations.chatbot?.inactiveColor,
|
|
271
|
+
primaryComponent: themeFromAnnotations.chatbot?.primaryComponent,
|
|
272
|
+
|
|
270
273
|
header: {
|
|
271
274
|
style: {
|
|
272
275
|
borderBottomColor: themeFromAnnotations.chatbot?.borderColor,
|
|
@@ -407,6 +410,8 @@ export function AsgardThemeContextProvider(
|
|
|
407
410
|
chatbot: {
|
|
408
411
|
backgroundColor: propsTheme.chatbot?.backgroundColor,
|
|
409
412
|
borderColor: propsTheme.chatbot?.borderColor,
|
|
413
|
+
inactiveColor: propsTheme.chatbot?.inactiveColor,
|
|
414
|
+
primaryComponent: propsTheme.chatbot?.primaryComponent,
|
|
410
415
|
header: {
|
|
411
416
|
style: {
|
|
412
417
|
borderBottomColor: propsTheme.chatbot?.borderColor,
|