labsense-ui-kit 1.1.16 → 1.1.17

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.
@@ -6288,29 +6288,32 @@ var Table = function Table(_ref) {
6288
6288
  };
6289
6289
 
6290
6290
  var _templateObject$p, _templateObject2$k, _templateObject3$e, _templateObject4$b, _templateObject5$9;
6291
- var Container$4 = styled.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: visible;\n gap: 24px;\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
6292
- var $border = _ref.$border;
6291
+ var Container$4 = styled.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%; \n display: flex;\n flex-direction: column;\n overflow: visible;\n gap: ", ";\n border: ", ";\n border-radius: 8px;\n"])), function (_ref) {
6292
+ var $gap = _ref.$gap;
6293
+ return $gap;
6294
+ }, function (_ref2) {
6295
+ var $border = _ref2.$border;
6293
6296
  return $border;
6294
6297
  });
6295
- var FirstContainer = styled.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables.border.light, function (_ref2) {
6296
- var $headerPadding = _ref2.$headerPadding;
6298
+ var FirstContainer = styled.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n width: 100%;\n display: flex;\n font-family: NotoSans, sans-serif;\n font-size: 16px;\n gap: 24px;\n border-bottom: 1px solid ", ";\n padding: ", ";\n"])), colorVariables.border.light, function (_ref3) {
6299
+ var $headerPadding = _ref3.$headerPadding;
6297
6300
  return $headerPadding ? $headerPadding : '0px';
6298
6301
  });
6299
- var TabContainer = styled.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref3) {
6300
- var $disabled = _ref3.$disabled;
6301
- return $disabled ? 'not-allowed' : 'pointer';
6302
- }, function (_ref4) {
6302
+ var TabContainer = styled.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n width: auto;\n display: flex;\n align-items: center;\n cursor: ", ";\n opacity: ", ";\n gap: 8px;\n font-family: NotoSans, sans-serif;\n font-size: 14px;\n font-weight: 500;\n color: ", ";\n height: ", ";\n\n svg {\n cursor: ", ";\n }\n\n"])), function (_ref4) {
6303
6303
  var $disabled = _ref4.$disabled;
6304
+ return $disabled ? 'not-allowed' : 'pointer';
6305
+ }, function (_ref5) {
6306
+ var $disabled = _ref5.$disabled;
6304
6307
  return $disabled ? '0.6' : '1';
6305
- }, colorVariables.text.medium, function (_ref5) {
6306
- var $headerHeight = _ref5.$headerHeight;
6308
+ }, colorVariables.text.medium, function (_ref6) {
6309
+ var $headerHeight = _ref6.$headerHeight;
6307
6310
  return $headerHeight ? $headerHeight : '34px';
6308
- }, function (_ref6) {
6309
- var $disabled = _ref6.$disabled;
6311
+ }, function (_ref7) {
6312
+ var $disabled = _ref7.$disabled;
6310
6313
  return $disabled ? 'not-allowed' : 'pointer';
6311
6314
  });
6312
- var TabItemContainer = styled.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref7) {
6313
- var $headerHeight = _ref7.$headerHeight;
6315
+ var TabItemContainer = styled.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n position: relative;\n gap: 8px;\n height: 100%;\n max-height: ", ";\n\n &:after {\n content: \"\";\n display: ", ";\n width: 100%;\n height: 3px;\n background: ", ";\n position: absolute;\n bottom: -1px;\n left: 0px;\n }\n"])), function (_ref8) {
6316
+ var $headerHeight = _ref8.$headerHeight;
6314
6317
  return $headerHeight ? $headerHeight : '34px';
6315
6318
  }, function (props) {
6316
6319
  return props.$active ? 'block' : 'none';
@@ -6318,15 +6321,18 @@ var TabItemContainer = styled.div(_templateObject4$b || (_templateObject4$b = _t
6318
6321
  var DetailsFirstContainer = styled.div(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteralLoose(["\n text-align: center;\n font-size: 14px;\n line-height: 18px;\n font-weight: 500;\n font-family: NotoSans, sans-serif;\n height: 100%;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (props) {
6319
6322
  return props.$active ? colorVariables["default"].primary : colorVariables.text.medium;
6320
6323
  });
6321
- var Tabs = function Tabs(_ref8) {
6322
- var tabItems = _ref8.tabItems,
6323
- _ref8$disabled = _ref8.disabled,
6324
- disabled = _ref8$disabled === void 0 ? false : _ref8$disabled,
6325
- headerHeight = _ref8.headerHeight,
6326
- headerPadding = _ref8.headerPadding,
6327
- activeTab = _ref8.activeTab,
6328
- border = _ref8.border;
6324
+ var Tabs = function Tabs(_ref9) {
6325
+ var tabItems = _ref9.tabItems,
6326
+ _ref9$disabled = _ref9.disabled,
6327
+ disabled = _ref9$disabled === void 0 ? false : _ref9$disabled,
6328
+ headerHeight = _ref9.headerHeight,
6329
+ headerPadding = _ref9.headerPadding,
6330
+ activeTab = _ref9.activeTab,
6331
+ border = _ref9.border,
6332
+ _ref9$gap = _ref9.gap,
6333
+ gap = _ref9$gap === void 0 ? '24px' : _ref9$gap;
6329
6334
  return React.createElement(Container$4, {
6335
+ "$gap": gap,
6330
6336
  "$border": border
6331
6337
  }, React.createElement(FirstContainer, {
6332
6338
  "$headerPadding": headerPadding