@asgard-js/react 0.0.38-canary.1 → 0.0.38-canary.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"chatbot-footer.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/chatbot-footer/chatbot-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EAMV,MAAM,OAAO,CAAC;AAQf,wBAAgB,aAAa,IAAI,SAAS,CA0HzC"}
1
+ {"version":3,"file":"chatbot-footer.d.ts","sourceRoot":"","sources":["../../../../src/components/chatbot/chatbot-footer/chatbot-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,SAAS,EAMV,MAAM,OAAO,CAAC;AAQf,wBAAgB,aAAa,IAAI,SAAS,CA4HzC"}
package/dist/index.js CHANGED
@@ -77610,7 +77610,9 @@ function H$e(e) {
77610
77610
  }
77611
77611
  function j$e() {
77612
77612
  var p, m, g, y, b, v, w, E;
77613
- const { sendMessage: e, isConnecting: t, inputPlaceholder: n } = Yi(), { chatbot: r } = ti(), [i, a] = Cn(""), [o, s] = Cn(!1), l = ro(null), u = cn(
77613
+ const { sendMessage: e, isConnecting: t, inputPlaceholder: n } = Yi();
77614
+ console.log("ChatbotFooter inputPlaceholder:", n);
77615
+ const { chatbot: r } = ti(), [i, a] = Cn(""), [o, s] = Cn(!1), l = ro(null), u = cn(
77614
77616
  () => t || !i.trim(),
77615
77617
  [t, i]
77616
77618
  ), c = cn(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgard-js/react",
3
- "version": "0.0.38-canary.1",
3
+ "version": "0.0.38-canary.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -54,7 +54,7 @@
54
54
  "vitest": "^1.6.0"
55
55
  },
56
56
  "peerDependencies": {
57
- "@asgard-js/core": "^0.0.38-canary.1",
57
+ "@asgard-js/core": "^0.0.38-canary.2",
58
58
  "react": "^18.0.0",
59
59
  "react-dom": "^18.0.0"
60
60
  },
@@ -17,6 +17,8 @@ import { useAsgardThemeContext } from '../../../context/asgard-theme-context';
17
17
 
18
18
  export function ChatbotFooter(): ReactNode {
19
19
  const { sendMessage, isConnecting, inputPlaceholder } = useAsgardContext();
20
+
21
+ console.log('ChatbotFooter inputPlaceholder:', inputPlaceholder);
20
22
 
21
23
  const { chatbot } = useAsgardThemeContext();
22
24