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.
- package/dist/Container&Span/StyledComponents.d.ts +2 -0
- package/dist/Tabs/Tabs.d.ts +1 -0
- package/dist/index.js +92 -80
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +92 -80
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -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;
|
package/dist/Tabs/Tabs.d.ts
CHANGED
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 $
|
|
2985
|
-
return $
|
|
2984
|
+
var $borderTopLeftRadius = _ref19.$borderTopLeftRadius;
|
|
2985
|
+
return $borderTopLeftRadius;
|
|
2986
2986
|
}, function (_ref20) {
|
|
2987
|
-
var $
|
|
2988
|
-
return $
|
|
2987
|
+
var $borderTopRightRadius = _ref20.$borderTopRightRadius;
|
|
2988
|
+
return $borderTopRightRadius;
|
|
2989
2989
|
}, function (_ref21) {
|
|
2990
|
-
var $
|
|
2991
|
-
return $
|
|
2990
|
+
var $cursor = _ref21.$cursor;
|
|
2991
|
+
return $cursor;
|
|
2992
2992
|
}, function (_ref22) {
|
|
2993
|
-
var $
|
|
2994
|
-
return $
|
|
2993
|
+
var $fontSize = _ref22.$fontSize;
|
|
2994
|
+
return $fontSize;
|
|
2995
2995
|
}, function (_ref23) {
|
|
2996
|
-
var $
|
|
2997
|
-
return $
|
|
2996
|
+
var $opacity = _ref23.$opacity;
|
|
2997
|
+
return $opacity;
|
|
2998
2998
|
}, function (_ref24) {
|
|
2999
|
-
var $
|
|
3000
|
-
return $
|
|
2999
|
+
var $pointerEvents = _ref24.$pointerEvents;
|
|
3000
|
+
return $pointerEvents;
|
|
3001
3001
|
}, function (_ref25) {
|
|
3002
|
-
var $
|
|
3003
|
-
return $
|
|
3002
|
+
var $position = _ref25.$position;
|
|
3003
|
+
return $position;
|
|
3004
3004
|
}, function (_ref26) {
|
|
3005
|
-
var $
|
|
3006
|
-
return $
|
|
3005
|
+
var $top = _ref26.$top;
|
|
3006
|
+
return $top;
|
|
3007
3007
|
}, function (_ref27) {
|
|
3008
|
-
var $
|
|
3009
|
-
return $
|
|
3008
|
+
var $bottom = _ref27.$bottom;
|
|
3009
|
+
return $bottom;
|
|
3010
3010
|
}, function (_ref28) {
|
|
3011
|
-
var $
|
|
3012
|
-
return $
|
|
3011
|
+
var $left = _ref28.$left;
|
|
3012
|
+
return $left;
|
|
3013
3013
|
}, function (_ref29) {
|
|
3014
|
-
var $
|
|
3015
|
-
return $
|
|
3014
|
+
var $right = _ref29.$right;
|
|
3015
|
+
return $right;
|
|
3016
3016
|
}, function (_ref30) {
|
|
3017
|
-
var $
|
|
3018
|
-
return $
|
|
3017
|
+
var $textAlign = _ref30.$textAlign;
|
|
3018
|
+
return $textAlign;
|
|
3019
3019
|
}, function (_ref31) {
|
|
3020
|
-
var $
|
|
3021
|
-
return $
|
|
3020
|
+
var $color = _ref31.$color;
|
|
3021
|
+
return $color;
|
|
3022
3022
|
}, function (_ref32) {
|
|
3023
|
-
var $
|
|
3024
|
-
return $
|
|
3023
|
+
var $overflow = _ref32.$overflow;
|
|
3024
|
+
return $overflow || 'visible';
|
|
3025
3025
|
}, function (_ref33) {
|
|
3026
|
-
var $
|
|
3027
|
-
return $
|
|
3026
|
+
var $overflowY = _ref33.$overflowY;
|
|
3027
|
+
return $overflowY;
|
|
3028
3028
|
}, function (_ref34) {
|
|
3029
|
-
var $
|
|
3030
|
-
return $
|
|
3029
|
+
var $zIndex = _ref34.$zIndex;
|
|
3030
|
+
return $zIndex;
|
|
3031
3031
|
}, function (_ref35) {
|
|
3032
|
-
var $
|
|
3033
|
-
return $
|
|
3032
|
+
var $scrollbarWidth = _ref35.$scrollbarWidth;
|
|
3033
|
+
return $scrollbarWidth;
|
|
3034
3034
|
}, function (_ref36) {
|
|
3035
|
-
var $
|
|
3036
|
-
return $
|
|
3035
|
+
var $border = _ref36.$border;
|
|
3036
|
+
return $border;
|
|
3037
3037
|
}, function (_ref37) {
|
|
3038
|
-
var $
|
|
3039
|
-
return $
|
|
3038
|
+
var $borderBottom = _ref37.$borderBottom;
|
|
3039
|
+
return $borderBottom;
|
|
3040
3040
|
}, function (_ref38) {
|
|
3041
|
-
var $
|
|
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 (
|
|
3045
|
-
var $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 (
|
|
3048
|
-
var $fontWeight =
|
|
3053
|
+
}, function (_ref42) {
|
|
3054
|
+
var $fontWeight = _ref42.$fontWeight;
|
|
3049
3055
|
return $fontWeight ? $fontWeight : '500';
|
|
3050
|
-
}, function (
|
|
3051
|
-
var $fontSize =
|
|
3056
|
+
}, function (_ref43) {
|
|
3057
|
+
var $fontSize = _ref43.$fontSize;
|
|
3052
3058
|
return $fontSize ? $fontSize : '16px';
|
|
3053
|
-
}, function (
|
|
3054
|
-
var $color =
|
|
3059
|
+
}, function (_ref44) {
|
|
3060
|
+
var $color = _ref44.$color;
|
|
3055
3061
|
return $color ? $color : colorVariables.text.medium;
|
|
3056
|
-
}, function (
|
|
3057
|
-
var $lineHeight =
|
|
3062
|
+
}, function (_ref45) {
|
|
3063
|
+
var $lineHeight = _ref45.$lineHeight;
|
|
3058
3064
|
return $lineHeight ? $lineHeight : '100%';
|
|
3059
|
-
}, function (
|
|
3060
|
-
var $textAlign =
|
|
3065
|
+
}, function (_ref46) {
|
|
3066
|
+
var $textAlign = _ref46.$textAlign;
|
|
3061
3067
|
return $textAlign ? $textAlign : 'center';
|
|
3062
|
-
}, function (
|
|
3063
|
-
var $minWidth =
|
|
3068
|
+
}, function (_ref47) {
|
|
3069
|
+
var $minWidth = _ref47.$minWidth;
|
|
3064
3070
|
return $minWidth;
|
|
3065
|
-
}, function (
|
|
3066
|
-
var $width =
|
|
3071
|
+
}, function (_ref48) {
|
|
3072
|
+
var $width = _ref48.$width;
|
|
3067
3073
|
return $width;
|
|
3068
|
-
}, function (
|
|
3069
|
-
var $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:
|
|
6290
|
-
var $
|
|
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 (
|
|
6294
|
-
var $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 (
|
|
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 (
|
|
6304
|
-
var $headerHeight =
|
|
6312
|
+
}, colorVariables.text.medium, function (_ref6) {
|
|
6313
|
+
var $headerHeight = _ref6.$headerHeight;
|
|
6305
6314
|
return $headerHeight ? $headerHeight : '34px';
|
|
6306
|
-
}, function (
|
|
6307
|
-
var $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 (
|
|
6311
|
-
var $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(
|
|
6320
|
-
var tabItems =
|
|
6321
|
-
|
|
6322
|
-
disabled =
|
|
6323
|
-
headerHeight =
|
|
6324
|
-
headerPadding =
|
|
6325
|
-
activeTab =
|
|
6326
|
-
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
|