@2uinc/frontend-component-xpert-chatbot 1.13.9-beta.1 → 1.13.9-beta.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.
@@ -10399,7 +10399,7 @@ const Fn = ({
10399
10399
  "data-testid": "message-container",
10400
10400
  className: "xpert-chatbot-popup__bubble--assistant",
10401
10401
  role: "status",
10402
- "aria-label": "Xpert responded with a message",
10402
+ "aria-label": "The bot said",
10403
10403
  style: { maxWidth: n ? "85%" : "67%" },
10404
10404
  children: t.liveAgent ? /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
10405
10405
  /* @__PURE__ */ I.jsx("div", { "aria-label": "Sure, I can get you to someone who can help. Please click chat with us button to start a live chat.", children: "Sure, I can get you to someone who can help." }),
@@ -10531,12 +10531,14 @@ Xr.displayName = "PromptList";
10531
10531
  const Jh = Xr, Jr = ({ message: e, isNormalSize: t }) => /* @__PURE__ */ I.jsx(
10532
10532
  "div",
10533
10533
  {
10534
+ tabIndex: 0,
10534
10535
  role: "status",
10535
- "aria-label": "General message",
10536
+ "aria-label": "message-container",
10536
10537
  className: "xpert-chatbot-popup__bubble--group",
10537
10538
  children: /* @__PURE__ */ I.jsx("div", { className: "xpert-chatbot-popup__bubble--group-inner", children: /* @__PURE__ */ I.jsx(
10538
10539
  "div",
10539
10540
  {
10541
+ id: "message-container",
10540
10542
  "data-testid": "message-container",
10541
10543
  className: "xpert-chatbot-popup__bubble--assistant",
10542
10544
  style: { maxWidth: t ? "85%" : "67%" },
@@ -10557,7 +10559,7 @@ const eg = Jr, ei = ({ content: e, isNormalSize: t }) => {
10557
10559
  "div",
10558
10560
  {
10559
10561
  tabIndex: 0,
10560
- "aria-label": "Your message was",
10562
+ "aria-label": "You said",
10561
10563
  role: "log",
10562
10564
  className: "xpert-chatbot-popup__bubble--user",
10563
10565
  style: {
@@ -10598,12 +10600,13 @@ const tg = ei, Pn = ({
10598
10600
  /* @__PURE__ */ I.jsxs(
10599
10601
  "div",
10600
10602
  {
10601
- id: "chat-region",
10603
+ id: "chat-content",
10604
+ tabIndex: 0,
10602
10605
  "aria-live": "polite",
10603
10606
  role: "region",
10604
10607
  "aria-relevant": "additions",
10605
10608
  "aria-atomic": "false",
10606
- "aria-label": "Chat region",
10609
+ "aria-label": "Chat content",
10607
10610
  "aria-busy": t,
10608
10611
  style: { display: "flex", flexDirection: "column" },
10609
10612
  children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2uinc/frontend-component-xpert-chatbot",
3
- "version": "1.13.9-beta.1",
3
+ "version": "1.13.9-beta.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/2uinc/frontend-component-xpert-chatbot.git"