@bigbinary/neeto-molecules 1.6.0 → 1.6.1-beta

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.
@@ -1550,6 +1550,7 @@ var LinkSection = function LinkSection(_ref) {
1550
1550
  otherProps = _objectWithoutProperties(_ref2, _excluded$1);
1551
1551
  return /*#__PURE__*/React__default["default"].createElement(MenuItem.Button, _extends({
1552
1552
  className: "neeto-molecules-menu-sublist__item-btn",
1553
+ "data-cy": "floating-action-menu-link-section",
1553
1554
  key: idx,
1554
1555
  prefix: /*#__PURE__*/React__default["default"].createElement(Icon, {
1555
1556
  size: 18
@@ -1557,6 +1558,7 @@ var LinkSection = function LinkSection(_ref) {
1557
1558
  style: "text"
1558
1559
  }, otherProps), label, neetoCist.isPresent(changesCount) && /*#__PURE__*/React__default["default"].createElement("span", {
1559
1560
  className: "neeto-molecules-menu-list__item-btn-count",
1561
+ "data-cy": "help-section-menu-changes-count",
1560
1562
  "data-testid": "help-section-menu-changes-count"
1561
1563
  }, changesCount));
1562
1564
  });
@@ -1567,10 +1569,12 @@ var ProfileHeader = function ProfileHeader(_ref) {
1567
1569
  var name = profileInfo.name,
1568
1570
  email = profileInfo.email;
1569
1571
  return /*#__PURE__*/React__default["default"].createElement("div", {
1570
- className: "neeto-ui-relative neeto-ui-flex neeto-ui-items-center neeto-ui-p-3 neeto-ui-bg-primary-100 neeto-molecules-profile-popup__top-section"
1572
+ className: "neeto-ui-relative neeto-ui-flex neeto-ui-items-center neeto-ui-p-3 neeto-ui-bg-primary-100 neeto-molecules-profile-popup__top-section",
1573
+ "data-cy": "floating-action-menu-profile-header"
1571
1574
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1572
1575
  className: "top-0 left-0"
1573
1576
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Avatar, {
1577
+ "data-cy": "floating-action-menu-header-profile-icon",
1574
1578
  size: "large",
1575
1579
  user: profileInfo
1576
1580
  })), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -1578,12 +1582,14 @@ var ProfileHeader = function ProfileHeader(_ref) {
1578
1582
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
1579
1583
  className: "neeto-ui-m-0",
1580
1584
  component: "h2",
1585
+ "data-cy": "floating-action-menu-header-user-name",
1581
1586
  lineHeight: "tight",
1582
1587
  style: "h5",
1583
1588
  title: name,
1584
1589
  weight: "semibold"
1585
1590
  }, neetoCist.truncate(name, 18)), email && /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
1586
1591
  className: "neeto-ui-w-full neeto-ui-truncate neeto-ui-text-gray-700",
1592
+ "data-cy": "floating-action-menu-header-user-email",
1587
1593
  lineHeight: "tight",
1588
1594
  style: "body3"
1589
1595
  }, email)));
@@ -1773,6 +1779,7 @@ var ProfileButton = function ProfileButton(_ref) {
1773
1779
  zIndex: 99999,
1774
1780
  customTarget: /*#__PURE__*/React__default["default"].createElement(neetoui.Avatar, {
1775
1781
  className: "neeto-ui-flex-shrink-0 neeto-molecules-floating-action-button__profile-avatar",
1782
+ "data-cy": "profile-avatar",
1776
1783
  "data-testid": "profile-avatar",
1777
1784
  size: "medium",
1778
1785
  user: profileInfo
@@ -1789,6 +1796,7 @@ var ProfileButton = function ProfileButton(_ref) {
1789
1796
  topLinks: newTopLinks
1790
1797
  })), neetoCist.isPresent(changesCount) && /*#__PURE__*/React__default["default"].createElement("span", {
1791
1798
  className: "neeto-molecules-menu__notif-count",
1799
+ "data-cy": "help-icon-changes-count",
1792
1800
  "data-testid": "help-icon-changes-count"
1793
1801
  }, changesCount));
1794
1802
  };
@@ -1813,6 +1821,7 @@ var FloatingActionMenu = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1813
1821
  return /*#__PURE__*/React__default["default"].createElement("div", _extends({
1814
1822
  ref: ref,
1815
1823
  className: "neeto-molecules-floating-action-menu__container",
1824
+ "data-cy": "floating-action-menu-container",
1816
1825
  "data-testid": "floating-action-menu-container"
1817
1826
  }, otherProps), /*#__PURE__*/React__default["default"].createElement(ProfileButton, {
1818
1827
  bottomLinks: bottomLinks,