labsense-ui-kit 1.2.8 → 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 +2 -0
- package/dist/index.js +31 -25
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +31 -25
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -47,6 +47,7 @@ export declare const Container: import("styled-components/dist/types").IStyledCo
|
|
|
47
47
|
$transform?: string | undefined;
|
|
48
48
|
$boxShadow?: string | undefined;
|
|
49
49
|
$backDropFilter?: string | undefined;
|
|
50
|
+
$whiteSpace?: string | undefined;
|
|
50
51
|
}>> & string;
|
|
51
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>, {
|
|
52
53
|
$fontFamily?: string | undefined;
|
|
@@ -59,4 +60,5 @@ export declare const Span: import("styled-components/dist/types").IStyledCompone
|
|
|
59
60
|
$width?: string | undefined;
|
|
60
61
|
$minWidth?: string | undefined;
|
|
61
62
|
$overflowWrap?: string | undefined;
|
|
63
|
+
$whiteSpace?: string | undefined;
|
|
62
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 transform: ", ";\n box-shadow: ", ";\n backdrop-filter: ", ";\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) {
|
|
@@ -3534,43 +3534,49 @@ var Container = styled__default.div(_templateObject$1 || (_templateObject$1 = _t
|
|
|
3534
3534
|
var $backDropFilter = _ref45.$backDropFilter;
|
|
3535
3535
|
return $backDropFilter;
|
|
3536
3536
|
}, function (_ref46) {
|
|
3537
|
-
var $
|
|
3538
|
-
return $
|
|
3537
|
+
var $whiteSpace = _ref46.$whiteSpace;
|
|
3538
|
+
return $whiteSpace;
|
|
3539
3539
|
}, function (_ref47) {
|
|
3540
|
-
var $
|
|
3540
|
+
var $hoverBackground = _ref47.$hoverBackground;
|
|
3541
|
+
return $hoverBackground;
|
|
3542
|
+
}, function (_ref48) {
|
|
3543
|
+
var $hoverColor = _ref48.$hoverColor;
|
|
3541
3544
|
return $hoverColor;
|
|
3542
3545
|
});
|
|
3543
|
-
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 (
|
|
3544
|
-
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;
|
|
3545
3548
|
return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
|
|
3546
|
-
}, function (_ref49) {
|
|
3547
|
-
var $fontWeight = _ref49.$fontWeight;
|
|
3548
|
-
return $fontWeight ? $fontWeight : '500';
|
|
3549
3549
|
}, function (_ref50) {
|
|
3550
|
-
var $
|
|
3551
|
-
return $
|
|
3550
|
+
var $fontWeight = _ref50.$fontWeight;
|
|
3551
|
+
return $fontWeight ? $fontWeight : '500';
|
|
3552
3552
|
}, function (_ref51) {
|
|
3553
|
-
var $
|
|
3554
|
-
return $
|
|
3553
|
+
var $fontSize = _ref51.$fontSize;
|
|
3554
|
+
return $fontSize ? $fontSize : '16px';
|
|
3555
3555
|
}, function (_ref52) {
|
|
3556
|
-
var $
|
|
3557
|
-
|
|
3558
|
-
return $color ? $color : theme.text.medium;
|
|
3556
|
+
var $fontStyle = _ref52.$fontStyle;
|
|
3557
|
+
return $fontStyle ? $fontStyle : 'normal';
|
|
3559
3558
|
}, function (_ref53) {
|
|
3560
|
-
var $
|
|
3561
|
-
|
|
3559
|
+
var $color = _ref53.$color,
|
|
3560
|
+
theme = _ref53.theme;
|
|
3561
|
+
return $color ? $color : theme.text.medium;
|
|
3562
3562
|
}, function (_ref54) {
|
|
3563
|
-
var $
|
|
3564
|
-
return $
|
|
3563
|
+
var $lineHeight = _ref54.$lineHeight;
|
|
3564
|
+
return $lineHeight ? $lineHeight : '100%';
|
|
3565
3565
|
}, function (_ref55) {
|
|
3566
|
-
var $
|
|
3567
|
-
return $
|
|
3566
|
+
var $textAlign = _ref55.$textAlign;
|
|
3567
|
+
return $textAlign ? $textAlign : 'center';
|
|
3568
3568
|
}, function (_ref56) {
|
|
3569
|
-
var $
|
|
3570
|
-
return $
|
|
3569
|
+
var $minWidth = _ref56.$minWidth;
|
|
3570
|
+
return $minWidth;
|
|
3571
3571
|
}, function (_ref57) {
|
|
3572
|
-
var $
|
|
3572
|
+
var $width = _ref57.$width;
|
|
3573
|
+
return $width;
|
|
3574
|
+
}, function (_ref58) {
|
|
3575
|
+
var $overflowWrap = _ref58.$overflowWrap;
|
|
3573
3576
|
return $overflowWrap;
|
|
3577
|
+
}, function (_ref59) {
|
|
3578
|
+
var $whiteSpace = _ref59.$whiteSpace;
|
|
3579
|
+
return $whiteSpace;
|
|
3574
3580
|
});
|
|
3575
3581
|
|
|
3576
3582
|
var light = {
|