@akropolys/kiku 1.7.4 → 1.7.5
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 +19 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -11
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +103 -48
- package/dist/styles.css.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -2014,21 +2014,29 @@ function ChatModal({
|
|
|
2014
2014
|
] }),
|
|
2015
2015
|
/* @__PURE__ */ jsxs6("div", { className: "hsk-cb-msgs", ref: msgsContainerRef, children: [
|
|
2016
2016
|
displayMessages.length === 0 ? /* @__PURE__ */ jsxs6("div", { className: "hsk-cb-empty", children: [
|
|
2017
|
-
/* @__PURE__ */ jsx7("div", { className: "hsk-cb-empty-logo", "aria-hidden": "true", children: /* @__PURE__ */ jsx7("svg", { viewBox: "0 0 100 100", className: "hsk-brand-mark", children: /* @__PURE__ */ jsx7("path", { d: "M39.4 10.4 Q44 0 48.6 10.4 L86.1 95.8 Q88 100 83.4 100 L4.6 100 Q0 100 1.9 95.8 Z M24 100 L24 65 Q24 60 27.4 56.3 Q44 38 60.6 56.3 Q64 60 64 65 L64 100 Z", transform: "translate(22.7 19) scale(0.62)", fillRule: "evenodd" }) }) }),
|
|
2018
2017
|
awaitingName ? /* @__PURE__ */ jsxs6(Fragment3, { children: [
|
|
2019
|
-
/* @__PURE__ */
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2018
|
+
/* @__PURE__ */ jsxs6("h2", { className: "hsk-cb-hello", children: [
|
|
2019
|
+
"Hi, I'm ",
|
|
2020
|
+
/* @__PURE__ */ jsx7("b", { children: "kiku" }),
|
|
2021
|
+
"."
|
|
2022
|
+
] }),
|
|
2023
|
+
/* @__PURE__ */ jsx7("p", { className: "hsk-cb-hello-lead", children: "I can search, visualize, or capture anything for you \u2014 on this site or any other." }),
|
|
2024
|
+
/* @__PURE__ */ jsx7("p", { className: "hsk-cb-hello-ask", children: "What should I call you?" }),
|
|
2025
|
+
/* @__PURE__ */ jsx7("button", { className: "hsk-cb-hello-skip", onClick: () => setNameSkipped(true), children: "Skip for now" })
|
|
2023
2026
|
] }) : shopperName ? /* @__PURE__ */ jsxs6(Fragment3, { children: [
|
|
2024
|
-
/* @__PURE__ */ jsxs6("
|
|
2025
|
-
"
|
|
2026
|
-
shopperName
|
|
2027
|
+
/* @__PURE__ */ jsxs6("h2", { className: "hsk-cb-hello", children: [
|
|
2028
|
+
"Hi, ",
|
|
2029
|
+
shopperName,
|
|
2030
|
+
"."
|
|
2027
2031
|
] }),
|
|
2028
|
-
/* @__PURE__ */ jsx7("
|
|
2032
|
+
/* @__PURE__ */ jsx7("p", { className: "hsk-cb-hello-lead", children: "What can I find for you today?" })
|
|
2029
2033
|
] }) : /* @__PURE__ */ jsxs6(Fragment3, { children: [
|
|
2030
|
-
/* @__PURE__ */
|
|
2031
|
-
|
|
2034
|
+
/* @__PURE__ */ jsxs6("h2", { className: "hsk-cb-hello", children: [
|
|
2035
|
+
"Hi, I'm ",
|
|
2036
|
+
/* @__PURE__ */ jsx7("b", { children: "kiku" }),
|
|
2037
|
+
"."
|
|
2038
|
+
] }),
|
|
2039
|
+
/* @__PURE__ */ jsx7("p", { className: "hsk-cb-hello-lead", children: "Ask me to search, visualize, or capture anything \u2014 I look across the whole site in real time." })
|
|
2032
2040
|
] }),
|
|
2033
2041
|
!awaitingName && activeChips.length > 0 && /* @__PURE__ */ jsx7("div", { className: "hsk-cb-chips", children: activeChips.map((chip) => /* @__PURE__ */ jsx7(
|
|
2034
2042
|
"button",
|