labsense-ui-kit 1.1.78 → 1.1.79

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
@@ -6777,42 +6777,51 @@ var SidebarContainer = styled__default.div(_templateObject$m || (_templateObject
6777
6777
  var $isExpanded = _ref.$isExpanded;
6778
6778
  return $isExpanded ? '225px' : '68px';
6779
6779
  }, function (_ref2) {
6780
- var $background = _ref2.$background;
6781
- return $background || colorVariables.accent.softBlue;
6780
+ var $background = _ref2.$background,
6781
+ theme = _ref2.theme;
6782
+ return $background || theme.accent.softBlue;
6782
6783
  });
6783
- var SidebarLink = styled__default(reactRouterDom.NavLink)(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n text-decoration: none;\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), colorVariables.text.medium, colorVariables["default"].primary);
6784
- var IconWrapper$2 = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n background: ", ";\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref3) {
6785
- var $selected = _ref3.$selected;
6786
- return $selected ? colorVariables["default"].primary : colorVariables["default"].tertiary;
6784
+ var SidebarLink = styled__default(reactRouterDom.NavLink)(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n height: 28px;\n width: 100%;\n gap: 10px;\n cursor: pointer;\n border-radius: 4px;\n color: ", ";\n text-decoration: none;\n transition: background 0.3s;\n\n &:hover {\n background: ", ";\n }\n"])), function (_ref3) {
6785
+ var theme = _ref3.theme;
6786
+ return theme.text.medium;
6787
+ }, function (_ref4) {
6788
+ var theme = _ref4.theme;
6789
+ return theme["default"].primary;
6790
+ });
6791
+ var IconWrapper$2 = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n background: ", ";\n padding: 4px;\n border-radius: 4px;\n width: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (_ref5) {
6792
+ var $selected = _ref5.$selected,
6793
+ theme = _ref5.theme;
6794
+ return $selected ? theme["default"].primary : theme["default"].tertiary;
6787
6795
  });
6788
6796
  var Logo = styled__default.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n min-width: max-content;\n height: 32px;\n align-items: center;\n justify-content: start;\n gap: 10px;\n"])));
6789
- var TextContainer = styled__default.span(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref4) {
6790
- var $padding = _ref4.$padding;
6797
+ var TextContainer = styled__default.span(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n padding: ", ";\n font-size: ", ";\n font-weight: ", ";\n color: ", ";\n opacity: ", ";\n visibility: ", ";\n transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;\n"])), function (_ref6) {
6798
+ var $padding = _ref6.$padding;
6791
6799
  return $padding;
6792
- }, function (_ref5) {
6793
- var $fontSize = _ref5.$fontSize;
6794
- return $fontSize || '20px';
6795
- }, function (_ref6) {
6796
- var $fontWeight = _ref6.$fontWeight;
6797
- return $fontWeight || '500';
6798
6800
  }, function (_ref7) {
6799
- var $color = _ref7.$color;
6800
- return $color || colorVariables["default"].primary;
6801
+ var $fontSize = _ref7.$fontSize;
6802
+ return $fontSize || '20px';
6801
6803
  }, function (_ref8) {
6802
- var $isExpanded = _ref8.$isExpanded;
6803
- return $isExpanded ? 1 : 0;
6804
+ var $fontWeight = _ref8.$fontWeight;
6805
+ return $fontWeight || '500';
6804
6806
  }, function (_ref9) {
6805
- var $isExpanded = _ref9.$isExpanded;
6807
+ var $color = _ref9.$color,
6808
+ theme = _ref9.theme;
6809
+ return $color || theme["default"].primary;
6810
+ }, function (_ref10) {
6811
+ var $isExpanded = _ref10.$isExpanded;
6812
+ return $isExpanded ? 1 : 0;
6813
+ }, function (_ref11) {
6814
+ var $isExpanded = _ref11.$isExpanded;
6806
6815
  return $isExpanded ? 'visible' : 'hidden';
6807
6816
  });
6808
- var Sidebar = function Sidebar(_ref10) {
6809
- var logo = _ref10.logo,
6810
- content = _ref10.content,
6811
- background = _ref10.background,
6812
- ProfileContent = _ref10.ProfileContent,
6813
- _ref10$isExpanded = _ref10.isExpanded,
6814
- isExpanded = _ref10$isExpanded === void 0 ? false : _ref10$isExpanded,
6815
- setIsExpanded = _ref10.setIsExpanded;
6817
+ var Sidebar = function Sidebar(_ref12) {
6818
+ var logo = _ref12.logo,
6819
+ content = _ref12.content,
6820
+ background = _ref12.background,
6821
+ ProfileContent = _ref12.ProfileContent,
6822
+ _ref12$isExpanded = _ref12.isExpanded,
6823
+ isExpanded = _ref12$isExpanded === void 0 ? false : _ref12$isExpanded,
6824
+ setIsExpanded = _ref12.setIsExpanded;
6816
6825
  var location = reactRouterDom.useLocation();
6817
6826
  var _useState = React.useState({}),
6818
6827
  openMenus = _useState[0],