@webless/agent 0.14.0 → 0.14.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.
- package/README.md +3 -3
- package/dist/{chunk-2Q754CIY.js → chunk-KUNT2X4I.js} +6 -11
- package/dist/chunk-KUNT2X4I.js.map +1 -0
- package/dist/embed.cjs +5 -10
- package/dist/embed.cjs.map +1 -1
- package/dist/embed.css +59 -6
- package/dist/embed.css.map +1 -1
- package/dist/embed.js +1 -1
- package/dist/react.cjs +5 -10
- package/dist/react.cjs.map +1 -1
- package/dist/react.css +59 -6
- package/dist/react.css.map +1 -1
- package/dist/react.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2Q754CIY.js.map +0 -1
package/dist/embed.js
CHANGED
package/dist/react.cjs
CHANGED
|
@@ -4826,16 +4826,11 @@ function ExploreMore({
|
|
|
4826
4826
|
if (!sources.length && !questions.length) return null;
|
|
4827
4827
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "explore-more", children: [
|
|
4828
4828
|
sources.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "explore-more__section", children: [
|
|
4829
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.
|
|
4830
|
-
"Based on ",
|
|
4831
|
-
sources.length,
|
|
4832
|
-
" ",
|
|
4833
|
-
sources.length === 1 ? "page" : "pages"
|
|
4834
|
-
] }),
|
|
4829
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "explore-more__label", children: "Related Resources" }),
|
|
4835
4830
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SearchReferences, { results, mode: "sources" })
|
|
4836
4831
|
] }) : null,
|
|
4837
4832
|
questions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "explore-more__section", children: [
|
|
4838
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "explore-more__label", children: "
|
|
4833
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "explore-more__label", children: "Ask Next" }),
|
|
4839
4834
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("ul", { className: "explore-more__questions", children: questions.map((question) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
4840
4835
|
"button",
|
|
4841
4836
|
{
|
|
@@ -5194,7 +5189,7 @@ function Composer({
|
|
|
5194
5189
|
disabled,
|
|
5195
5190
|
title: "Share your details and we'll reach out shortly",
|
|
5196
5191
|
onClick: () => setDraft((current) => ({ ...current, expanded: true })),
|
|
5197
|
-
children: "
|
|
5192
|
+
children: "Request a Follow-Up"
|
|
5198
5193
|
}
|
|
5199
5194
|
) : null
|
|
5200
5195
|
] }) : null,
|
|
@@ -5718,7 +5713,7 @@ var BRAND_LOGO_LAYOUT = {
|
|
|
5718
5713
|
header: { maxHeight: 20, maxWidth: 96, square: 24 },
|
|
5719
5714
|
message: { maxHeight: 18, maxWidth: 80, square: 22 },
|
|
5720
5715
|
/** Bottom/mobile launcher pill orb — keep in sync with AssistEdgeTab chip CSS. */
|
|
5721
|
-
launcher: { maxHeight:
|
|
5716
|
+
launcher: { maxHeight: 20, maxWidth: 80, square: 22 }
|
|
5722
5717
|
};
|
|
5723
5718
|
function isWideBrandLogo(naturalWidth, naturalHeight) {
|
|
5724
5719
|
return naturalWidth > naturalHeight * 1.4;
|
|
@@ -7687,7 +7682,7 @@ function AgentRail({
|
|
|
7687
7682
|
disabled: handoff.busy || handoff.hasPending || isBusy,
|
|
7688
7683
|
title: "Chat with a human representative",
|
|
7689
7684
|
onClick: () => void handoff.start(),
|
|
7690
|
-
children: "Talk to
|
|
7685
|
+
children: "Talk to an Expert"
|
|
7691
7686
|
}
|
|
7692
7687
|
) : null
|
|
7693
7688
|
] });
|