@asgard-js/react 0.0.43-canary.6 → 0.0.43-canary.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.js
CHANGED
|
@@ -36179,10 +36179,11 @@ function Xoe({
|
|
|
36179
36179
|
showToggle: a = !0,
|
|
36180
36180
|
className: o
|
|
36181
36181
|
}) {
|
|
36182
|
-
|
|
36183
|
-
|
|
36184
|
-
|
|
36185
|
-
|
|
36182
|
+
var g, y;
|
|
36183
|
+
const [s, l] = gn(""), [u, c] = gn(!1), { chatbot: f } = pr(), { avatar: d } = Ci(), h = (b) => {
|
|
36184
|
+
b.preventDefault(), s.trim() && !t && e(s.trim());
|
|
36185
|
+
}, p = (b) => {
|
|
36186
|
+
l(b.target.value);
|
|
36186
36187
|
}, m = () => {
|
|
36187
36188
|
c(!u);
|
|
36188
36189
|
};
|
|
@@ -36197,7 +36198,7 @@ function Xoe({
|
|
|
36197
36198
|
children: [
|
|
36198
36199
|
/* @__PURE__ */ ot("div", { className: yr.header, children: [
|
|
36199
36200
|
/* @__PURE__ */ Q(zF, { avatar: d }),
|
|
36200
|
-
/* @__PURE__ */ Q("h2", { className: yr.title, children: i })
|
|
36201
|
+
/* @__PURE__ */ Q("h2", { className: yr.title, style: (y = (g = f == null ? void 0 : f.header) == null ? void 0 : g.title) == null ? void 0 : y.style, children: i })
|
|
36201
36202
|
] }),
|
|
36202
36203
|
/* @__PURE__ */ ot("form", { onSubmit: h, className: yr.form, children: [
|
|
36203
36204
|
/* @__PURE__ */ ot("div", { className: yr.inputGroup, children: [
|
package/package.json
CHANGED
|
@@ -54,7 +54,7 @@ export function ApiKeyInput({
|
|
|
54
54
|
>
|
|
55
55
|
<div className={styles.header}>
|
|
56
56
|
<ProfileIcon avatar={avatar} />
|
|
57
|
-
<h2 className={styles.title}>{title}</h2>
|
|
57
|
+
<h2 className={styles.title} style={chatbot?.header?.title?.style}>{title}</h2>
|
|
58
58
|
</div>
|
|
59
59
|
|
|
60
60
|
<form onSubmit={handleSubmit} className={styles.form}>
|