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.
package/dist/index.js CHANGED
@@ -5990,8 +5990,8 @@ var StyledButton = styled__default.button(_templateObject5$1 || (_templateObject
5990
5990
  return '';
5991
5991
  }
5992
5992
  }, function (_ref16) {
5993
- var color = _ref16.color;
5994
- return color;
5993
+ var $color = _ref16.$color;
5994
+ return $color;
5995
5995
  });
5996
5996
  var ButtonText = styled__default.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) {
5997
5997
  var $fontFamily = _ref17.$fontFamily;
@@ -8971,7 +8971,7 @@ var Sidebar = function Sidebar(_ref16) {
8971
8971
  "$color": themeColors.text.medium
8972
8972
  }, child.label), _getTotalNotifications(child) > 0 && React__default.createElement(NotificationBadge, {
8973
8973
  "$position": 'unset'
8974
- }, _getTotalNotifications(child))));
8974
+ }, _getTotalNotifications(child) > 99 ? '99+' : _getTotalNotifications(child))));
8975
8975
  });
8976
8976
  var renderChildLinks = function renderChildLinks(children) {
8977
8977
  return React__default.createElement(Container, {
@@ -9030,7 +9030,7 @@ var Sidebar = function Sidebar(_ref16) {
9030
9030
  size: 20,
9031
9031
  weight: item.iconWeight,
9032
9032
  color: isHovered || isActive ? themeColors.text.white : themeColors.text.medium
9033
- })), _getTotalNotifications(item) > 0 && React__default.createElement(NotificationBadge, null, _getTotalNotifications(item))), React__default.createElement(TextContainer, {
9033
+ })), _getTotalNotifications(item) > 0 && React__default.createElement(NotificationBadge, null, _getTotalNotifications(item) > 99 ? '99+' : _getTotalNotifications(item))), React__default.createElement(TextContainer, {
9034
9034
  "$isExpanded": isExpanded,
9035
9035
  "$fontSize": '14px'
9036
9036
  }, item.label)), hasChildren && React__default.createElement(Container, {