labsense-ui-kit 1.1.15 → 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.
@@ -33,6 +33,8 @@ export declare const Container: import("styled-components/dist/types").IStyledCo
33
33
  $scrollbarWidth?: string | undefined;
34
34
  $border?: string | undefined;
35
35
  $borderRadius?: string | undefined;
36
+ $borderTopLeftRadius?: string | undefined;
37
+ $borderTopRightRadius?: string | undefined;
36
38
  $borderBottom?: string | undefined;
37
39
  $borderLeft?: string | undefined;
38
40
  $fontWeight?: string | undefined;
@@ -16,6 +16,7 @@ interface TabProps {
16
16
  headerPadding?: string;
17
17
  activeTab: string;
18
18
  border?: string;
19
+ gap?: string;
19
20
  }
20
21
  declare const Tabs: React.FC<TabProps>;
21
22
  export default Tabs;
package/dist/index.js CHANGED
@@ -2926,7 +2926,7 @@ var Icon = function Icon(_ref2) {
2926
2926
  };
2927
2927
 
2928
2928
  var _templateObject$1, _templateObject2$1;
2929
- var Container = styled__default.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex: ", ";\n flex-wrap: ", ";\n flex-direction: ", ";\n justify-content: ", ";\n align-items: ", "; \n gap: ", ";\n font-weight: ", ";\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n padding: ", ";\n background: ", ";\n object-fit:", ";\n margin: ", ";\n border-radius: ", ";\n cursor: ", ";\n font-size: ", ";\n opacity: ", ";\n pointer-events: ", ";\n position: ", ";\n top: ", ";\n bottom: ", ";\n left: ", ";\n right: ", ";\n text-align: ", "; \n color: ", "; \n overflow: ", ";\n overflow-y: ", ";\n z-index: ", "; \n scrollbar-width: ", ";\n border: ", "; \n border-bottom: ", ";\n border-left: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
2929
+ var Container = styled__default.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex: ", ";\n flex-wrap: ", ";\n flex-direction: ", ";\n justify-content: ", ";\n align-items: ", "; \n gap: ", ";\n font-weight: ", ";\n height: ", ";\n min-height: ", ";\n max-height: ", ";\n width: ", ";\n min-width: ", ";\n max-width: ", ";\n padding: ", ";\n background: ", ";\n object-fit:", ";\n margin: ", ";\n border-radius: ", ";\n border-top-left-radius: ", ";\n border-top-right-radius: ", ";\n cursor: ", ";\n font-size: ", ";\n opacity: ", ";\n pointer-events: ", ";\n position: ", ";\n top: ", ";\n bottom: ", ";\n left: ", ";\n right: ", ";\n text-align: ", "; \n color: ", "; \n overflow: ", ";\n overflow-y: ", ";\n z-index: ", "; \n scrollbar-width: ", ";\n border: ", "; \n border-bottom: ", ";\n border-left: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
2930
2930
  var $flex = _ref.$flex;
2931
2931
  return $flex;
2932
2932
  }, function (_ref2) {
@@ -2981,92 +2981,98 @@ var Container = styled__default.div(_templateObject$1 || (_templateObject$1 = _t
2981
2981
  var $borderRadius = _ref18.$borderRadius;
2982
2982
  return $borderRadius;
2983
2983
  }, function (_ref19) {
2984
- var $cursor = _ref19.$cursor;
2985
- return $cursor;
2984
+ var $borderTopLeftRadius = _ref19.$borderTopLeftRadius;
2985
+ return $borderTopLeftRadius;
2986
2986
  }, function (_ref20) {
2987
- var $fontSize = _ref20.$fontSize;
2988
- return $fontSize;
2987
+ var $borderTopRightRadius = _ref20.$borderTopRightRadius;
2988
+ return $borderTopRightRadius;
2989
2989
  }, function (_ref21) {
2990
- var $opacity = _ref21.$opacity;
2991
- return $opacity;
2990
+ var $cursor = _ref21.$cursor;
2991
+ return $cursor;
2992
2992
  }, function (_ref22) {
2993
- var $pointerEvents = _ref22.$pointerEvents;
2994
- return $pointerEvents;
2993
+ var $fontSize = _ref22.$fontSize;
2994
+ return $fontSize;
2995
2995
  }, function (_ref23) {
2996
- var $position = _ref23.$position;
2997
- return $position;
2996
+ var $opacity = _ref23.$opacity;
2997
+ return $opacity;
2998
2998
  }, function (_ref24) {
2999
- var $top = _ref24.$top;
3000
- return $top;
2999
+ var $pointerEvents = _ref24.$pointerEvents;
3000
+ return $pointerEvents;
3001
3001
  }, function (_ref25) {
3002
- var $bottom = _ref25.$bottom;
3003
- return $bottom;
3002
+ var $position = _ref25.$position;
3003
+ return $position;
3004
3004
  }, function (_ref26) {
3005
- var $left = _ref26.$left;
3006
- return $left;
3005
+ var $top = _ref26.$top;
3006
+ return $top;
3007
3007
  }, function (_ref27) {
3008
- var $right = _ref27.$right;
3009
- return $right;
3008
+ var $bottom = _ref27.$bottom;
3009
+ return $bottom;
3010
3010
  }, function (_ref28) {
3011
- var $textAlign = _ref28.$textAlign;
3012
- return $textAlign;
3011
+ var $left = _ref28.$left;
3012
+ return $left;
3013
3013
  }, function (_ref29) {
3014
- var $color = _ref29.$color;
3015
- return $color;
3014
+ var $right = _ref29.$right;
3015
+ return $right;
3016
3016
  }, function (_ref30) {
3017
- var $overflow = _ref30.$overflow;
3018
- return $overflow || 'visible';
3017
+ var $textAlign = _ref30.$textAlign;
3018
+ return $textAlign;
3019
3019
  }, function (_ref31) {
3020
- var $overflowY = _ref31.$overflowY;
3021
- return $overflowY;
3020
+ var $color = _ref31.$color;
3021
+ return $color;
3022
3022
  }, function (_ref32) {
3023
- var $zIndex = _ref32.$zIndex;
3024
- return $zIndex;
3023
+ var $overflow = _ref32.$overflow;
3024
+ return $overflow || 'visible';
3025
3025
  }, function (_ref33) {
3026
- var $scrollbarWidth = _ref33.$scrollbarWidth;
3027
- return $scrollbarWidth;
3026
+ var $overflowY = _ref33.$overflowY;
3027
+ return $overflowY;
3028
3028
  }, function (_ref34) {
3029
- var $border = _ref34.$border;
3030
- return $border;
3029
+ var $zIndex = _ref34.$zIndex;
3030
+ return $zIndex;
3031
3031
  }, function (_ref35) {
3032
- var $borderBottom = _ref35.$borderBottom;
3033
- return $borderBottom;
3032
+ var $scrollbarWidth = _ref35.$scrollbarWidth;
3033
+ return $scrollbarWidth;
3034
3034
  }, function (_ref36) {
3035
- var $borderLeft = _ref36.$borderLeft;
3036
- return $borderLeft;
3035
+ var $border = _ref36.$border;
3036
+ return $border;
3037
3037
  }, function (_ref37) {
3038
- var $hoverBackground = _ref37.$hoverBackground;
3039
- return $hoverBackground;
3038
+ var $borderBottom = _ref37.$borderBottom;
3039
+ return $borderBottom;
3040
3040
  }, function (_ref38) {
3041
- var $hoverColor = _ref38.$hoverColor;
3041
+ var $borderLeft = _ref38.$borderLeft;
3042
+ return $borderLeft;
3043
+ }, function (_ref39) {
3044
+ var $hoverBackground = _ref39.$hoverBackground;
3045
+ return $hoverBackground;
3046
+ }, function (_ref40) {
3047
+ var $hoverColor = _ref40.$hoverColor;
3042
3048
  return $hoverColor;
3043
3049
  });
3044
- var Span = styled__default.span(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n"])), function (_ref39) {
3045
- var $fontFamily = _ref39.$fontFamily;
3050
+ var Span = styled__default.span(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n"])), function (_ref41) {
3051
+ var $fontFamily = _ref41.$fontFamily;
3046
3052
  return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
3047
- }, function (_ref40) {
3048
- var $fontWeight = _ref40.$fontWeight;
3053
+ }, function (_ref42) {
3054
+ var $fontWeight = _ref42.$fontWeight;
3049
3055
  return $fontWeight ? $fontWeight : '500';
3050
- }, function (_ref41) {
3051
- var $fontSize = _ref41.$fontSize;
3056
+ }, function (_ref43) {
3057
+ var $fontSize = _ref43.$fontSize;
3052
3058
  return $fontSize ? $fontSize : '16px';
3053
- }, function (_ref42) {
3054
- var $color = _ref42.$color;
3059
+ }, function (_ref44) {
3060
+ var $color = _ref44.$color;
3055
3061
  return $color ? $color : colorVariables.text.medium;
3056
- }, function (_ref43) {
3057
- var $lineHeight = _ref43.$lineHeight;
3062
+ }, function (_ref45) {
3063
+ var $lineHeight = _ref45.$lineHeight;
3058
3064
  return $lineHeight ? $lineHeight : '100%';
3059
- }, function (_ref44) {
3060
- var $textAlign = _ref44.$textAlign;
3065
+ }, function (_ref46) {
3066
+ var $textAlign = _ref46.$textAlign;
3061
3067
  return $textAlign ? $textAlign : 'center';
3062
- }, function (_ref45) {
3063
- var $minWidth = _ref45.$minWidth;
3068
+ }, function (_ref47) {
3069
+ var $minWidth = _ref47.$minWidth;
3064
3070
  return $minWidth;
3065
- }, function (_ref46) {
3066
- var $width = _ref46.$width;
3071
+ }, function (_ref48) {
3072
+ var $width = _ref48.$width;
3067
3073
  return $width;
3068
- }, function (_ref47) {
3069
- var $overflowWrap = _ref47.$overflowWrap;
3074
+ }, function (_ref49) {
3075
+ var $overflowWrap = _ref49.$overflowWrap;
3070
3076
  return $overflowWrap;
3071
3077
  });
3072
3078
 
@@ -6286,29 +6292,32 @@ var Table = function Table(_ref) {
6286
6292
  };
6287
6293
 
6288
6294
  var _templateObject$p, _templateObject2$k, _templateObject3$e, _templateObject4$b, _templateObject5$9;
6289
- var Container$4 = styled__default.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) {
6290
- var $border = _ref.$border;
6295
+ var Container$4 = styled__default.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) {
6296
+ var $gap = _ref.$gap;
6297
+ return $gap;
6298
+ }, function (_ref2) {
6299
+ var $border = _ref2.$border;
6291
6300
  return $border;
6292
6301
  });
6293
- var FirstContainer = styled__default.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) {
6294
- var $headerPadding = _ref2.$headerPadding;
6302
+ var FirstContainer = styled__default.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) {
6303
+ var $headerPadding = _ref3.$headerPadding;
6295
6304
  return $headerPadding ? $headerPadding : '0px';
6296
6305
  });
6297
- var TabContainer = styled__default.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) {
6298
- var $disabled = _ref3.$disabled;
6299
- return $disabled ? 'not-allowed' : 'pointer';
6300
- }, function (_ref4) {
6306
+ var TabContainer = styled__default.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) {
6301
6307
  var $disabled = _ref4.$disabled;
6308
+ return $disabled ? 'not-allowed' : 'pointer';
6309
+ }, function (_ref5) {
6310
+ var $disabled = _ref5.$disabled;
6302
6311
  return $disabled ? '0.6' : '1';
6303
- }, colorVariables.text.medium, function (_ref5) {
6304
- var $headerHeight = _ref5.$headerHeight;
6312
+ }, colorVariables.text.medium, function (_ref6) {
6313
+ var $headerHeight = _ref6.$headerHeight;
6305
6314
  return $headerHeight ? $headerHeight : '34px';
6306
- }, function (_ref6) {
6307
- var $disabled = _ref6.$disabled;
6315
+ }, function (_ref7) {
6316
+ var $disabled = _ref7.$disabled;
6308
6317
  return $disabled ? 'not-allowed' : 'pointer';
6309
6318
  });
6310
- var TabItemContainer = styled__default.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) {
6311
- var $headerHeight = _ref7.$headerHeight;
6319
+ var TabItemContainer = styled__default.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) {
6320
+ var $headerHeight = _ref8.$headerHeight;
6312
6321
  return $headerHeight ? $headerHeight : '34px';
6313
6322
  }, function (props) {
6314
6323
  return props.$active ? 'block' : 'none';
@@ -6316,15 +6325,18 @@ var TabItemContainer = styled__default.div(_templateObject4$b || (_templateObjec
6316
6325
  var DetailsFirstContainer = styled__default.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) {
6317
6326
  return props.$active ? colorVariables["default"].primary : colorVariables.text.medium;
6318
6327
  });
6319
- var Tabs = function Tabs(_ref8) {
6320
- var tabItems = _ref8.tabItems,
6321
- _ref8$disabled = _ref8.disabled,
6322
- disabled = _ref8$disabled === void 0 ? false : _ref8$disabled,
6323
- headerHeight = _ref8.headerHeight,
6324
- headerPadding = _ref8.headerPadding,
6325
- activeTab = _ref8.activeTab,
6326
- border = _ref8.border;
6328
+ var Tabs = function Tabs(_ref9) {
6329
+ var tabItems = _ref9.tabItems,
6330
+ _ref9$disabled = _ref9.disabled,
6331
+ disabled = _ref9$disabled === void 0 ? false : _ref9$disabled,
6332
+ headerHeight = _ref9.headerHeight,
6333
+ headerPadding = _ref9.headerPadding,
6334
+ activeTab = _ref9.activeTab,
6335
+ border = _ref9.border,
6336
+ _ref9$gap = _ref9.gap,
6337
+ gap = _ref9$gap === void 0 ? '24px' : _ref9$gap;
6327
6338
  return React__default.createElement(Container$4, {
6339
+ "$gap": gap,
6328
6340
  "$border": border
6329
6341
  }, React__default.createElement(FirstContainer, {
6330
6342
  "$headerPadding": headerPadding