labsense-ui-kit 1.2.7 → 1.2.9
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 +4 -0
- package/dist/index.js +39 -27
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +39 -27
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -44,7 +44,10 @@ export declare const Container: import("styled-components/dist/types").IStyledCo
|
|
|
44
44
|
$hoverBackground?: string | undefined;
|
|
45
45
|
$hoverColor?: string | undefined;
|
|
46
46
|
$transition?: string | undefined;
|
|
47
|
+
$transform?: string | undefined;
|
|
47
48
|
$boxShadow?: string | undefined;
|
|
49
|
+
$backDropFilter?: string | undefined;
|
|
50
|
+
$whiteSpace?: string | undefined;
|
|
48
51
|
}>> & string;
|
|
49
52
|
export declare const Span: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
50
53
|
$fontFamily?: string | undefined;
|
|
@@ -57,4 +60,5 @@ export declare const Span: import("styled-components/dist/types").IStyledCompone
|
|
|
57
60
|
$width?: string | undefined;
|
|
58
61
|
$minWidth?: string | undefined;
|
|
59
62
|
$overflowWrap?: string | undefined;
|
|
63
|
+
$whiteSpace?: string | undefined;
|
|
60
64
|
}>> & string;
|
package/dist/index.js
CHANGED
|
@@ -3398,7 +3398,7 @@ var useCustomModal = function useCustomModal(_ref4) {
|
|
|
3398
3398
|
};
|
|
3399
3399
|
|
|
3400
3400
|
var _templateObject$1, _templateObject2$1;
|
|
3401
|
-
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 border-bottom-right-radius: ", ";\n border-bottom-left-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-top: ", ";\n border-bottom: ", ";\n border-left: ", ";\n transition: ", ";\n box-shadow: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
3401
|
+
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 border-bottom-right-radius: ", ";\n border-bottom-left-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-top: ", ";\n border-bottom: ", ";\n border-left: ", ";\n transition: ", ";\n transform: ", ";\n box-shadow: ", ";\n backdrop-filter: ", ";\n white-space: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
3402
3402
|
var $flex = _ref.$flex;
|
|
3403
3403
|
return $flex;
|
|
3404
3404
|
}, function (_ref2) {
|
|
@@ -3525,46 +3525,58 @@ var Container = styled__default.div(_templateObject$1 || (_templateObject$1 = _t
|
|
|
3525
3525
|
var $transition = _ref42.$transition;
|
|
3526
3526
|
return $transition;
|
|
3527
3527
|
}, function (_ref43) {
|
|
3528
|
-
var $
|
|
3529
|
-
return $
|
|
3528
|
+
var $transform = _ref43.$transform;
|
|
3529
|
+
return $transform;
|
|
3530
3530
|
}, function (_ref44) {
|
|
3531
|
-
var $
|
|
3532
|
-
return $
|
|
3531
|
+
var $boxShadow = _ref44.$boxShadow;
|
|
3532
|
+
return $boxShadow;
|
|
3533
3533
|
}, function (_ref45) {
|
|
3534
|
-
var $
|
|
3534
|
+
var $backDropFilter = _ref45.$backDropFilter;
|
|
3535
|
+
return $backDropFilter;
|
|
3536
|
+
}, function (_ref46) {
|
|
3537
|
+
var $whiteSpace = _ref46.$whiteSpace;
|
|
3538
|
+
return $whiteSpace;
|
|
3539
|
+
}, function (_ref47) {
|
|
3540
|
+
var $hoverBackground = _ref47.$hoverBackground;
|
|
3541
|
+
return $hoverBackground;
|
|
3542
|
+
}, function (_ref48) {
|
|
3543
|
+
var $hoverColor = _ref48.$hoverColor;
|
|
3535
3544
|
return $hoverColor;
|
|
3536
3545
|
});
|
|
3537
|
-
var Span = styled__default.span(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n font-style: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n"])), function (
|
|
3538
|
-
var $fontFamily =
|
|
3546
|
+
var Span = styled__default.span(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-weight: ", ";\n font-size: ", ";\n font-style: ", ";\n color: ", ";\n line-height: ", ";\n text-align: ", ";\n min-width: ", ";\n width: ", ";\n overflow-wrap: ", ";\n white-space: ", ";\n"])), function (_ref49) {
|
|
3547
|
+
var $fontFamily = _ref49.$fontFamily;
|
|
3539
3548
|
return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
|
|
3540
|
-
}, function (
|
|
3541
|
-
var $fontWeight =
|
|
3549
|
+
}, function (_ref50) {
|
|
3550
|
+
var $fontWeight = _ref50.$fontWeight;
|
|
3542
3551
|
return $fontWeight ? $fontWeight : '500';
|
|
3543
|
-
}, function (
|
|
3544
|
-
var $fontSize =
|
|
3552
|
+
}, function (_ref51) {
|
|
3553
|
+
var $fontSize = _ref51.$fontSize;
|
|
3545
3554
|
return $fontSize ? $fontSize : '16px';
|
|
3546
|
-
}, function (
|
|
3547
|
-
var $fontStyle =
|
|
3555
|
+
}, function (_ref52) {
|
|
3556
|
+
var $fontStyle = _ref52.$fontStyle;
|
|
3548
3557
|
return $fontStyle ? $fontStyle : 'normal';
|
|
3549
|
-
}, function (
|
|
3550
|
-
var $color =
|
|
3551
|
-
theme =
|
|
3558
|
+
}, function (_ref53) {
|
|
3559
|
+
var $color = _ref53.$color,
|
|
3560
|
+
theme = _ref53.theme;
|
|
3552
3561
|
return $color ? $color : theme.text.medium;
|
|
3553
|
-
}, function (
|
|
3554
|
-
var $lineHeight =
|
|
3562
|
+
}, function (_ref54) {
|
|
3563
|
+
var $lineHeight = _ref54.$lineHeight;
|
|
3555
3564
|
return $lineHeight ? $lineHeight : '100%';
|
|
3556
|
-
}, function (
|
|
3557
|
-
var $textAlign =
|
|
3565
|
+
}, function (_ref55) {
|
|
3566
|
+
var $textAlign = _ref55.$textAlign;
|
|
3558
3567
|
return $textAlign ? $textAlign : 'center';
|
|
3559
|
-
}, function (
|
|
3560
|
-
var $minWidth =
|
|
3568
|
+
}, function (_ref56) {
|
|
3569
|
+
var $minWidth = _ref56.$minWidth;
|
|
3561
3570
|
return $minWidth;
|
|
3562
|
-
}, function (
|
|
3563
|
-
var $width =
|
|
3571
|
+
}, function (_ref57) {
|
|
3572
|
+
var $width = _ref57.$width;
|
|
3564
3573
|
return $width;
|
|
3565
|
-
}, function (
|
|
3566
|
-
var $overflowWrap =
|
|
3574
|
+
}, function (_ref58) {
|
|
3575
|
+
var $overflowWrap = _ref58.$overflowWrap;
|
|
3567
3576
|
return $overflowWrap;
|
|
3577
|
+
}, function (_ref59) {
|
|
3578
|
+
var $whiteSpace = _ref59.$whiteSpace;
|
|
3579
|
+
return $whiteSpace;
|
|
3568
3580
|
});
|
|
3569
3581
|
|
|
3570
3582
|
var light = {
|