@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgard-js/react",
3
- "version": "0.0.43-canary.10",
3
+ "version": "0.0.43-canary.13",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -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,