ba-js-common-header 0.0.41 → 0.0.42

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.
@@ -30525,7 +30525,14 @@ function Row(props) {
30525
30525
  className: "row m-0 py-lg-0 align-items-center",
30526
30526
  children: [/* @__PURE__ */ jsx("div", {
30527
30527
  className: "col py-2 py-lg-0 px-0",
30528
- children: /* @__PURE__ */ jsx("span", {
30528
+ children: href ? /* @__PURE__ */ jsx("a", {
30529
+ className: "ps-lg-3 pe-3 py-2",
30530
+ href,
30531
+ onClick: () => {
30532
+ dispatch(setSelectedItem(id2));
30533
+ },
30534
+ children: i18n.translate(label).fetch()
30535
+ }) : /* @__PURE__ */ jsx("span", {
30529
30536
  className: "ps-lg-3 pe-3 py-2",
30530
30537
  children: i18n.translate(label).fetch()
30531
30538
  })
@@ -30864,8 +30871,10 @@ function Header(props) {
30864
30871
  "hd-menu-opened": headerIsOpen,
30865
30872
  "hd-overflow-hidden": subMenus.length > 0
30866
30873
  }),
30867
- style: __spreadValues({}, isMobileOrTablet && !headerIsOpen && {
30874
+ style: __spreadProps(__spreadValues({}, isMobileOrTablet && !headerIsOpen && {
30868
30875
  overflow: "hidden"
30876
+ }), {
30877
+ maxWidth: "none"
30869
30878
  }),
30870
30879
  children: [/* @__PURE__ */ jsx(TitleBar, __spreadValues({}, props)), /* @__PURE__ */ jsx(MenuBar, {})]
30871
30880
  }), /* @__PURE__ */ jsx(Breadcrumb, {})]