@luscii-healthtech/web-ui 2.36.0 → 2.36.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.
@@ -6,7 +6,6 @@ export declare type NavMenuItemProps = {
6
6
  img: string;
7
7
  imgOnHover: string;
8
8
  dataTestId: string;
9
- gtmEvent?: string;
10
9
  isExternal?: boolean;
11
- track?: (event: string) => void;
10
+ trackEvent?: () => void;
12
11
  };
@@ -4728,7 +4728,7 @@ var NavMenuItem = function NavMenuItem(props) {
4728
4728
  }
4729
4729
 
4730
4730
  event.preventDefault();
4731
- props.track && props.gtmEvent && props.track(props.gtmEvent);
4731
+ props.trackEvent == null ? void 0 : props.trackEvent();
4732
4732
 
4733
4733
  if (props.isExternal) {
4734
4734
  window.open(props.href, "_blank");
@@ -4792,11 +4792,13 @@ var NavMenuContent = function NavMenuContent(_ref) {
4792
4792
  }));
4793
4793
  }), /*#__PURE__*/React__default.createElement(Divider, {
4794
4794
  dark: true
4795
- }), publicItems.map(function (item) {
4795
+ }), /*#__PURE__*/React__default.createElement("div", {
4796
+ className: "mt-1"
4797
+ }, publicItems.map(function (item) {
4796
4798
  return /*#__PURE__*/React__default.createElement(NavMenuItem, _extends({}, item, {
4797
4799
  key: item.title || item.dataTestId
4798
4800
  }));
4799
- }), /*#__PURE__*/React__default.createElement("div", {
4801
+ })), /*#__PURE__*/React__default.createElement("div", {
4800
4802
  className: "mt-auto"
4801
4803
  }, isUserAuthenticated && /*#__PURE__*/React__default.createElement(NavMenuItem, _extends({}, authenticationItems.logout, {
4802
4804
  key: authenticationItems.logout.title