labsense-ui-kit 1.2.27 → 1.2.29

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.
@@ -4909,8 +4909,9 @@ var Hospital = function Hospital(_ref) {
4909
4909
  var _templateObject$2, _templateObject2$2, _templateObject3;
4910
4910
  var wrapperCss = css(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteralLoose(["\n svg {\n overflow: visible;\n vector-effect: non-scaling-stroke;\n line,\n path,\n circle,\n ellipse,\n foreignObject,\n polygon,\n polyline,\n rect,\n text,\n textPath,\n tspan {\n vector-effect: non-scaling-stroke;\n }\n }\n"])));
4911
4911
  var IconWrapper = styled.div(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteralLoose(["\n width: max-content;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: ", ";\n ", ";\n"])), function (_ref) {
4912
- var $clickable = _ref.$clickable;
4913
- return $clickable ? 'pointer' : 'default';
4912
+ var $clickable = _ref.$clickable,
4913
+ $cursor = _ref.$cursor;
4914
+ return $cursor ? $cursor : $clickable ? 'pointer' : 'default';
4914
4915
  }, wrapperCss);
4915
4916
  var IconWrapperForSVG = styled.g(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n ", ";\n"])), wrapperCss);
4916
4917
  var IconSVGs = {
@@ -5100,6 +5101,7 @@ var IconSVGs = {
5100
5101
  var Icon = function Icon(_ref2) {
5101
5102
  var icon = _ref2.icon,
5102
5103
  color = _ref2.color,
5104
+ cursor = _ref2.cursor,
5103
5105
  _ref2$weight = _ref2.weight,
5104
5106
  weight = _ref2$weight === void 0 ? '2px' : _ref2$weight,
5105
5107
  _ref2$size = _ref2.size,
@@ -5113,7 +5115,8 @@ var Icon = function Icon(_ref2) {
5113
5115
  }
5114
5116
  return React.createElement(IconWrapper, {
5115
5117
  onClick: onClick,
5116
- "$clickable": !!onClick
5118
+ "$clickable": !!onClick,
5119
+ "$cursor": cursor
5117
5120
  }, React.createElement(IconSVG, {
5118
5121
  size: size,
5119
5122
  color: color || themeColors.text.medium,
@@ -6473,8 +6476,9 @@ var LabelText = styled.div(_templateObject5$4 || (_templateObject5$4 = _taggedTe
6473
6476
  var $labelStyle = _ref19.$labelStyle;
6474
6477
  return $labelStyle;
6475
6478
  }, function (_ref20) {
6476
- var theme = _ref20.theme;
6477
- return theme.text.medium;
6479
+ var $labelColor = _ref20.$labelColor,
6480
+ theme = _ref20.theme;
6481
+ return $labelColor || theme.text.medium;
6478
6482
  });
6479
6483
  var DropdownMenu = styled.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteralLoose(["\n max-height: 156px;\n padding: 4px;\n box-sizing: border-box;\n border: ", ";\n border-radius: ", ";\n width: ", ";\n background: ", ";\n display: flex;\n flex-direction: column;\n gap: 4px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-top: 8px;\n overflow-y: auto;\n position: absolute;\n z-index: 2;\n scrollbar-width: thin;\n"])), function (_ref21) {
6480
6484
  var theme = _ref21.theme;
@@ -6683,7 +6687,8 @@ var MultiSelectDropdown = function MultiSelectDropdown(_ref31) {
6683
6687
  weight: icon.weight || '1',
6684
6688
  color: icon.color || themeColors.text.medium
6685
6689
  }), React.createElement(LabelText, {
6686
- "$labelStyle": labelStyle
6690
+ "$labelStyle": labelStyle,
6691
+ "$labelColor": labelColor
6687
6692
  }, labelText)), React.createElement(Icon, {
6688
6693
  icon: isOpen ? 'UpArrow' : 'DownArrow',
6689
6694
  size: 7,