@2uinc/frontend-component-xpert-chatbot 1.13.9-beta.5 → 1.13.9-beta.6

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.
@@ -64,9 +64,9 @@ const os = {
64
64
  },
65
65
  proactiveMessage: {
66
66
  enabled: !0,
67
- textPrefix: "Hi there!",
67
+ textPrefix: "Hi!",
68
68
  showEmoji: !0,
69
- text: "I'm Xpert, an AI-powered assistant from edX who can help you find what you're looking for.",
69
+ text: "I'm Xpert, an AI assistant to help you find things.",
70
70
  delayMs: 4e3,
71
71
  style: {
72
72
  bottom: "6.75rem",
@@ -11237,7 +11237,15 @@ function ti({ submitEventExternal: e }) {
11237
11237
  onClick: Be,
11238
11238
  cookieName: `${l}-proactive-message-xpert-chatbot`,
11239
11239
  children: /* @__PURE__ */ I.jsx("div", { className: "xpert-chatbot-proactive-message", children: /* @__PURE__ */ I.jsxs("div", { className: "xpert-chatbot-proactive-message__text", children: [
11240
- i.prefix && /* @__PURE__ */ I.jsx("span", { children: i.prefix }),
11240
+ i.textPrefix && /* @__PURE__ */ I.jsx(
11241
+ "span",
11242
+ {
11243
+ style: {
11244
+ paddingRight: i.showEmoji ? "0" : "0.3rem"
11245
+ },
11246
+ children: i.textPrefix
11247
+ }
11248
+ ),
11241
11249
  i.showEmoji && /* @__PURE__ */ I.jsx(
11242
11250
  "span",
11243
11251
  {
@@ -11245,7 +11253,7 @@ function ti({ submitEventExternal: e }) {
11245
11253
  "aria-label": "Hand wave emoji",
11246
11254
  className: "xpert-chatbot-proactive-message__wave",
11247
11255
  style: {
11248
- margin: i.prefix ? "0 5px" : "0 5px 0 0"
11256
+ padding: i.textPrefix ? "0 0.3rem" : "0 0.3rem 0 0"
11249
11257
  },
11250
11258
  children: "👋"
11251
11259
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2uinc/frontend-component-xpert-chatbot",
3
- "version": "1.13.9-beta.5",
3
+ "version": "1.13.9-beta.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/2uinc/frontend-component-xpert-chatbot.git"