@2uinc/frontend-component-xpert-chatbot 1.40.3 → 1.40.4

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.
@@ -1995,7 +1995,7 @@ const rf = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20hei
1995
1995
  handleFloatingActionButtonClick: e = null
1996
1996
  }) => {
1997
1997
  const { launchButton: t } = oe($e), { isMobile: n } = oe(tt);
1998
- return /* @__PURE__ */ _.jsx(
1998
+ return /* @__PURE__ */ _.jsxs(
1999
1999
  Si,
2000
2000
  {
2001
2001
  onClick: e,
@@ -2004,17 +2004,20 @@ const rf = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20hei
2004
2004
  "aria-haspopup": "dialog",
2005
2005
  "aria-expanded": open,
2006
2006
  className: "xpert-chatbot-button",
2007
- children: /* @__PURE__ */ _.jsx(
2008
- "img",
2009
- {
2010
- "data-ot-ignore": "",
2011
- className: `xpert-chatbot-button__logo optanon-category-C0001 xpert-chatbot-button__logo--${t?.logoType || "default"}`,
2012
- src: af[t?.logoType || "default"],
2013
- alt: "xpert logo",
2014
- "aria-hidden": !0,
2015
- style: { width: t?.style?.iconWidth }
2016
- }
2017
- )
2007
+ children: [
2008
+ /* @__PURE__ */ _.jsx(
2009
+ "img",
2010
+ {
2011
+ "data-ot-ignore": "",
2012
+ className: `xpert-chatbot-button__logo optanon-category-C0001 xpert-chatbot-button__logo--${t?.logoType || "default"}`,
2013
+ src: af[t?.logoType || "default"],
2014
+ alt: "xpert logo",
2015
+ "aria-hidden": !0,
2016
+ style: { width: t?.style?.iconWidth }
2017
+ }
2018
+ ),
2019
+ t?.text && /* @__PURE__ */ _.jsx("div", { className: "xpert-chatbot-button-text", children: t?.text })
2020
+ ]
2018
2021
  }
2019
2022
  );
2020
2023
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2uinc/frontend-component-xpert-chatbot",
3
- "version": "1.40.3",
3
+ "version": "1.40.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/2uinc/frontend-component-xpert-chatbot.git"