labsense-ui-kit 1.2.40 → 1.2.41

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.
@@ -5986,8 +5986,8 @@ var StyledButton = styled.button(_templateObject5$1 || (_templateObject5$1 = _ta
5986
5986
  return '';
5987
5987
  }
5988
5988
  }, function (_ref16) {
5989
- var color = _ref16.color;
5990
- return color;
5989
+ var $color = _ref16.$color;
5990
+ return $color;
5991
5991
  });
5992
5992
  var ButtonText = styled.span(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n white-space: nowrap;\n"])), function (_ref17) {
5993
5993
  var $fontFamily = _ref17.$fontFamily;
@@ -8967,7 +8967,7 @@ var Sidebar = function Sidebar(_ref16) {
8967
8967
  "$color": themeColors.text.medium
8968
8968
  }, child.label), _getTotalNotifications(child) > 0 && React.createElement(NotificationBadge, {
8969
8969
  "$position": 'unset'
8970
- }, _getTotalNotifications(child))));
8970
+ }, _getTotalNotifications(child) > 99 ? '99+' : _getTotalNotifications(child))));
8971
8971
  });
8972
8972
  var renderChildLinks = function renderChildLinks(children) {
8973
8973
  return React.createElement(Container, {
@@ -9026,7 +9026,7 @@ var Sidebar = function Sidebar(_ref16) {
9026
9026
  size: 20,
9027
9027
  weight: item.iconWeight,
9028
9028
  color: isHovered || isActive ? themeColors.text.white : themeColors.text.medium
9029
- })), _getTotalNotifications(item) > 0 && React.createElement(NotificationBadge, null, _getTotalNotifications(item))), React.createElement(TextContainer, {
9029
+ })), _getTotalNotifications(item) > 0 && React.createElement(NotificationBadge, null, _getTotalNotifications(item) > 99 ? '99+' : _getTotalNotifications(item))), React.createElement(TextContainer, {
9030
9030
  "$isExpanded": isExpanded,
9031
9031
  "$fontSize": '14px'
9032
9032
  }, item.label)), hasChildren && React.createElement(Container, {