labsense-ui-kit 1.1.20 → 1.1.22
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 +1 -0
- package/dist/Themes/injectColors.d.ts +1 -0
- package/dist/Themes/rawColor.d.ts +67 -0
- package/dist/index.js +25 -22
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +25 -22
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -42,6 +42,7 @@ export declare const Container: import("styled-components/dist/types").IStyledCo
|
|
|
42
42
|
$hoverBackground?: string | undefined;
|
|
43
43
|
$hoverColor?: string | undefined;
|
|
44
44
|
$transition?: string | undefined;
|
|
45
|
+
$boxShadow?: string | undefined;
|
|
45
46
|
}>> & string;
|
|
46
47
|
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>, {
|
|
47
48
|
$fontFamily?: string | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const injectCSSVariables: (theme: 'light' | 'dark') => void;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export declare const colorVariables: {
|
|
2
|
+
brand: {
|
|
3
|
+
primary: string;
|
|
4
|
+
secondary: string;
|
|
5
|
+
light: string;
|
|
6
|
+
};
|
|
7
|
+
accent: {
|
|
8
|
+
light: string;
|
|
9
|
+
extraLight: string;
|
|
10
|
+
softBlue: string;
|
|
11
|
+
extraSoftBlue: string;
|
|
12
|
+
boldTransparent: string;
|
|
13
|
+
transparent: string;
|
|
14
|
+
lightTransparent: string;
|
|
15
|
+
};
|
|
16
|
+
default: {
|
|
17
|
+
primary: string;
|
|
18
|
+
secondary: string;
|
|
19
|
+
tertiary: string;
|
|
20
|
+
error: string;
|
|
21
|
+
success: string;
|
|
22
|
+
warning: string;
|
|
23
|
+
info: string;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
primary: string;
|
|
27
|
+
secondary: string;
|
|
28
|
+
error: string;
|
|
29
|
+
success: string;
|
|
30
|
+
warning: string;
|
|
31
|
+
info: string;
|
|
32
|
+
};
|
|
33
|
+
hover: {
|
|
34
|
+
primary: string;
|
|
35
|
+
secondary: string;
|
|
36
|
+
tertiary: string;
|
|
37
|
+
error: string;
|
|
38
|
+
success: string;
|
|
39
|
+
warning: string;
|
|
40
|
+
info: string;
|
|
41
|
+
};
|
|
42
|
+
border: {
|
|
43
|
+
extraBold: string;
|
|
44
|
+
bold: string;
|
|
45
|
+
medium: string;
|
|
46
|
+
light: string;
|
|
47
|
+
extraLight: string;
|
|
48
|
+
};
|
|
49
|
+
text: {
|
|
50
|
+
dark: string;
|
|
51
|
+
medium: string;
|
|
52
|
+
light: string;
|
|
53
|
+
white: string;
|
|
54
|
+
success: string;
|
|
55
|
+
error: string;
|
|
56
|
+
info: string;
|
|
57
|
+
warning: string;
|
|
58
|
+
};
|
|
59
|
+
badge: {
|
|
60
|
+
lavender: string;
|
|
61
|
+
papayaWhip: string;
|
|
62
|
+
water: string;
|
|
63
|
+
paleBlue: string;
|
|
64
|
+
teaGreen: string;
|
|
65
|
+
lightBlue: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -2971,7 +2971,7 @@ var Icon = function Icon(_ref2) {
|
|
|
2971
2971
|
};
|
|
2972
2972
|
|
|
2973
2973
|
var _templateObject$1, _templateObject2$1;
|
|
2974
|
-
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-top: ", ";\n border-bottom: ", ";\n border-left: ", ";\n transition: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
2974
|
+
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-top: ", ";\n border-bottom: ", ";\n border-left: ", ";\n transition: ", ";\n box-shadow: ", ";\n\n &:hover {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref) {
|
|
2975
2975
|
var $flex = _ref.$flex;
|
|
2976
2976
|
return $flex;
|
|
2977
2977
|
}, function (_ref2) {
|
|
@@ -3092,38 +3092,41 @@ var Container = styled__default.div(_templateObject$1 || (_templateObject$1 = _t
|
|
|
3092
3092
|
var $transition = _ref40.$transition;
|
|
3093
3093
|
return $transition;
|
|
3094
3094
|
}, function (_ref41) {
|
|
3095
|
-
var $
|
|
3096
|
-
return $
|
|
3095
|
+
var $boxShadow = _ref41.$boxShadow;
|
|
3096
|
+
return $boxShadow;
|
|
3097
3097
|
}, function (_ref42) {
|
|
3098
|
-
var $
|
|
3098
|
+
var $hoverBackground = _ref42.$hoverBackground;
|
|
3099
|
+
return $hoverBackground;
|
|
3100
|
+
}, function (_ref43) {
|
|
3101
|
+
var $hoverColor = _ref43.$hoverColor;
|
|
3099
3102
|
return $hoverColor;
|
|
3100
3103
|
});
|
|
3101
|
-
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 (
|
|
3102
|
-
var $fontFamily =
|
|
3104
|
+
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 (_ref44) {
|
|
3105
|
+
var $fontFamily = _ref44.$fontFamily;
|
|
3103
3106
|
return $fontFamily ? $fontFamily : 'NotoSans, sans-serif';
|
|
3104
|
-
}, function (_ref44) {
|
|
3105
|
-
var $fontWeight = _ref44.$fontWeight;
|
|
3106
|
-
return $fontWeight ? $fontWeight : '500';
|
|
3107
3107
|
}, function (_ref45) {
|
|
3108
|
-
var $
|
|
3109
|
-
return $
|
|
3108
|
+
var $fontWeight = _ref45.$fontWeight;
|
|
3109
|
+
return $fontWeight ? $fontWeight : '500';
|
|
3110
3110
|
}, function (_ref46) {
|
|
3111
|
-
var $
|
|
3112
|
-
return $
|
|
3111
|
+
var $fontSize = _ref46.$fontSize;
|
|
3112
|
+
return $fontSize ? $fontSize : '16px';
|
|
3113
3113
|
}, function (_ref47) {
|
|
3114
|
-
var $
|
|
3115
|
-
return $
|
|
3114
|
+
var $color = _ref47.$color;
|
|
3115
|
+
return $color ? $color : colorVariables.text.medium;
|
|
3116
3116
|
}, function (_ref48) {
|
|
3117
|
-
var $
|
|
3118
|
-
return $
|
|
3117
|
+
var $lineHeight = _ref48.$lineHeight;
|
|
3118
|
+
return $lineHeight ? $lineHeight : '100%';
|
|
3119
3119
|
}, function (_ref49) {
|
|
3120
|
-
var $
|
|
3121
|
-
return $
|
|
3120
|
+
var $textAlign = _ref49.$textAlign;
|
|
3121
|
+
return $textAlign ? $textAlign : 'center';
|
|
3122
3122
|
}, function (_ref50) {
|
|
3123
|
-
var $
|
|
3124
|
-
return $
|
|
3123
|
+
var $minWidth = _ref50.$minWidth;
|
|
3124
|
+
return $minWidth;
|
|
3125
3125
|
}, function (_ref51) {
|
|
3126
|
-
var $
|
|
3126
|
+
var $width = _ref51.$width;
|
|
3127
|
+
return $width;
|
|
3128
|
+
}, function (_ref52) {
|
|
3129
|
+
var $overflowWrap = _ref52.$overflowWrap;
|
|
3127
3130
|
return $overflowWrap;
|
|
3128
3131
|
});
|
|
3129
3132
|
|