oolib 2.25.0 → 2.25.2
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/components/ActionMenu/index.d.ts +1 -1
- package/dist/components/ActionMenu/utils/usePopOutOfOverflowHiddenParent.d.ts +2 -2
- package/dist/components/Banners/index.d.ts +2 -2
- package/dist/components/Banners/index.styled.js +2 -3
- package/dist/components/BlockLabel/index.d.ts +1 -1
- package/dist/components/Breadcrumbs/index.d.ts +1 -1
- package/dist/components/Buttons/index.d.ts +6 -6
- package/dist/components/Buttons/index.styled.js +48 -29
- package/dist/components/Container/index.d.ts +2 -8
- package/dist/components/Divider/index.d.ts +1 -1
- package/dist/components/InlineAlert/index.d.ts +1 -1
- package/dist/components/LoadersAndProgress/LoaderCircle/index.d.ts +1 -1
- package/dist/components/LoadersAndProgress/ProgressBar/index.d.ts +3 -2
- package/dist/components/LoadersAndProgress/ProgressBar/index.js +3 -4
- package/dist/components/LoadersAndProgress/styled.js +4 -4
- package/dist/components/LoadersAndProgress/utils/index.d.ts +1 -1
- package/dist/components/OKELink/comps/AvatarDisplay/index.d.ts +1 -1
- package/dist/components/OKELink/index.d.ts +1 -1
- package/dist/components/PercentCompletedPie/index.d.ts +1 -1
- package/dist/components/RadioAndCheckbox/comps/CheckboxList/comps/CheckboxInput/index.d.ts +2 -2
- package/dist/components/RadioAndCheckbox/comps/CheckboxList/comps/CheckboxInput/index.js +1 -1
- package/dist/components/RadioAndCheckbox/comps/CheckboxList/index.d.ts +1 -1
- package/dist/components/RadioAndCheckbox/comps/CheckboxList/index.js +1 -1
- package/dist/components/RadioAndCheckbox/comps/RadioList/comps/RadioInput/index.d.ts +2 -2
- package/dist/components/RadioAndCheckbox/comps/RadioList/index.d.ts +1 -1
- package/dist/components/Section/index.d.ts +1 -1
- package/dist/components/Switches/index.d.ts +2 -2
- package/dist/components/Switches/index.js +5 -17
- package/dist/components/Switches/styled.d.ts +1 -1
- package/dist/components/Switches/styled.js +3 -3
- package/dist/components/TabBar/index.d.ts +2 -2
- package/dist/components/Tags/index.d.ts +4 -4
- package/dist/components/TextInputs/index.d.ts +6 -6
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Typo/index.d.ts +18 -18
- package/dist/components/UserRoleBadge/index.d.ts +1 -1
- package/dist/components/Wrappers/index.d.ts +8 -8
- package/dist/icons/custom/index.d.ts +10 -10
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export function BannerAlert({ BANNER_STATE, REMOVE_ALERT_BANNER }: {
|
|
2
2
|
BANNER_STATE: any;
|
|
3
3
|
REMOVE_ALERT_BANNER: any;
|
|
4
|
-
}):
|
|
4
|
+
}): any;
|
|
5
5
|
export function BannerInfo({ BANNER_STATE, REMOVE_INFO_BANNER }: {
|
|
6
6
|
BANNER_STATE: any;
|
|
7
7
|
REMOVE_INFO_BANNER: any;
|
|
8
|
-
}):
|
|
8
|
+
}): any;
|
|
@@ -31,7 +31,6 @@ exports.BannerInfoStyled = exports.BannerAlertStyled = exports.BannerStyled = ex
|
|
|
31
31
|
var styled_components_1 = __importStar(require("styled-components"));
|
|
32
32
|
var themes_1 = require("../../themes");
|
|
33
33
|
var mixins_1 = require("../../themes/mixins");
|
|
34
|
-
var transitions_1 = require("../../themes/mixins/transitions");
|
|
35
34
|
var greyColor15 = themes_1.colors.greyColor15, lightRed = themes_1.colors.lightRed, lightGreen = themes_1.colors.lightGreen, lightYellow = themes_1.colors.lightYellow, red = themes_1.colors.red, green = themes_1.colors.green, yellow = themes_1.colors.yellow, greyColor5 = themes_1.colors.greyColor5, greyColor100 = themes_1.colors.greyColor100, white = themes_1.colors.white;
|
|
36
35
|
var colorConfig = {
|
|
37
36
|
red: { bgColor: lightRed, color: red },
|
|
@@ -40,7 +39,7 @@ var colorConfig = {
|
|
|
40
39
|
grey: { bgColor: greyColor5 },
|
|
41
40
|
dark: { bgColor: greyColor100 },
|
|
42
41
|
};
|
|
43
|
-
exports.BannerAnimateStyled = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n overflow: hidden;\n ", "\n height: ", "px;\n"], ["\n overflow: hidden;\n ", "\n height: ", "px;\n"])), (0,
|
|
42
|
+
exports.BannerAnimateStyled = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n overflow: hidden;\n ", "\n height: ", "px;\n"], ["\n overflow: hidden;\n ", "\n height: ", "px;\n"])), (0, mixins_1.transition)("height"), function (_a) {
|
|
44
43
|
var height = _a.height;
|
|
45
44
|
return height;
|
|
46
45
|
});
|
|
@@ -66,6 +65,6 @@ exports.BannerStyled = styled_components_1.default.div(templateObject_4 || (temp
|
|
|
66
65
|
exports.BannerAlertStyled = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n position: sticky;\n z-index: 10000000;\n width: 100%;\n ", ";\n\n ", "\n"], ["\n position: sticky;\n z-index: 10000000;\n width: 100%;\n ", ";\n\n ", "\n"])), function (_a) {
|
|
67
66
|
var top = _a.top;
|
|
68
67
|
return (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n top: ", "px;\n "], ["\n top: ", "px;\n "])), top);
|
|
69
|
-
}, (0,
|
|
68
|
+
}, (0, mixins_1.transition)("top"));
|
|
70
69
|
exports.BannerInfoStyled = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n position: sticky;\n z-index: 10000000;\n top: 0;\n width: 100%;\n"], ["\n position: sticky;\n z-index: 10000000;\n top: 0;\n width: 100%;\n"])));
|
|
71
70
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function BlockLabel(props: any):
|
|
1
|
+
export function BlockLabel(props: any): any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export function ButtonPrimary(props: any):
|
|
2
|
-
export function ButtonSecondary(props: any):
|
|
3
|
-
export function ButtonCustom(props: any):
|
|
4
|
-
export function ButtonGhost(props: any):
|
|
5
|
-
export function UploadButton(props: any):
|
|
6
|
-
export function GoogleLogin(props: any):
|
|
1
|
+
export function ButtonPrimary(props: any): any;
|
|
2
|
+
export function ButtonSecondary(props: any): any;
|
|
3
|
+
export function ButtonCustom(props: any): any;
|
|
4
|
+
export function ButtonGhost(props: any): any;
|
|
5
|
+
export function UploadButton(props: any): any;
|
|
6
|
+
export function GoogleLogin(props: any): any;
|
|
@@ -3,23 +3,42 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
3
3
|
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
4
|
return cooked;
|
|
5
5
|
};
|
|
6
|
-
var
|
|
7
|
-
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
8
28
|
};
|
|
9
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
30
|
exports.ButtonStyled = void 0;
|
|
11
|
-
var styled_components_1 =
|
|
12
|
-
var styled_components_2 = require("styled-components");
|
|
13
|
-
var mixins_1 = require("../../themes/mixins");
|
|
31
|
+
var styled_components_1 = __importStar(require("styled-components"));
|
|
14
32
|
var colors_1 = require("../../themes/colors");
|
|
33
|
+
var mixins_1 = require("../../themes/mixins");
|
|
15
34
|
var utilsOolib_1 = require("../../utilsOolib");
|
|
16
|
-
var greyColor100 = colors_1.colors.greyColor100, greyColor80 = colors_1.colors.greyColor80, greyColor70 = colors_1.colors.greyColor70, greyColor15 = colors_1.colors.greyColor15, greyColor40 = colors_1.colors.greyColor40, white = colors_1.colors.white;
|
|
35
|
+
var greyColor100 = colors_1.colors.greyColor100, greyColor90 = colors_1.colors.greyColor90, greyColor80 = colors_1.colors.greyColor80, greyColor70 = colors_1.colors.greyColor70, greyColor15 = colors_1.colors.greyColor15, greyColor40 = colors_1.colors.greyColor40, white = colors_1.colors.white, none = colors_1.colors.none;
|
|
17
36
|
//sizes
|
|
18
37
|
var SIZES = {
|
|
19
38
|
S: "3rem",
|
|
20
39
|
M: "4rem",
|
|
21
40
|
};
|
|
22
|
-
var ButtonPrimary = (0,
|
|
41
|
+
var ButtonPrimary = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border: none; // $none;\n background-color: ", ";\n color: ", ";\n ", "\n ", "\n @media (hover: hover) {\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n }\n"], ["\n border: none; // $none;\n background-color: ", ";\n color: ", ";\n ", "\n ", "\n @media (hover: hover) {\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n }\n"])), function (_a) {
|
|
23
42
|
var invert = _a.invert, colors = _a.theme.colors;
|
|
24
43
|
return invert
|
|
25
44
|
? (0, utilsOolib_1.getPrimaryColor40)(colors)
|
|
@@ -29,10 +48,10 @@ var ButtonPrimary = (0, styled_components_2.css)(templateObject_3 || (templateOb
|
|
|
29
48
|
return invert ? greyColor100 : white;
|
|
30
49
|
}, function (_a) {
|
|
31
50
|
var color = _a.color;
|
|
32
|
-
return color && (0,
|
|
51
|
+
return color && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), color);
|
|
33
52
|
}, function (_a) {
|
|
34
53
|
var disabled = _a.disabled;
|
|
35
|
-
return disabled && (0,
|
|
54
|
+
return disabled && (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n pointer-events: none;\n "], ["\n background-color: ", ";\n color: ", ";\n pointer-events: none;\n "])), function (_a) {
|
|
36
55
|
var invert = _a.invert;
|
|
37
56
|
return invert ? greyColor70 : greyColor15;
|
|
38
57
|
}, greyColor40);
|
|
@@ -47,7 +66,7 @@ var ButtonPrimary = (0, styled_components_2.css)(templateObject_3 || (templateOb
|
|
|
47
66
|
? greyColor100
|
|
48
67
|
: (0, utilsOolib_1.getPrimaryColorText)(colors);
|
|
49
68
|
});
|
|
50
|
-
var ButtonSecondary = (0,
|
|
69
|
+
var ButtonSecondary = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n border: 2px solid\n ", ";\n background-color: ", ";\n\n color: ", "; \n ", "\n ", "\n ", "\n @media (hover: hover) {\n &:hover {\n background-color: ", ";\n /* color: ", "; */\n }\n }\n"], ["\n border: 2px solid\n ", ";\n background-color: ", ";\n\n color: ", "; \n ", "\n ", "\n ", "\n @media (hover: hover) {\n &:hover {\n background-color: ", ";\n /* color: ", "; */\n }\n }\n"])), function (_a) {
|
|
51
70
|
var invert = _a.invert, colors = _a.theme.colors;
|
|
52
71
|
return invert
|
|
53
72
|
? (0, utilsOolib_1.getPrimaryColor40)(colors)
|
|
@@ -62,10 +81,10 @@ var ButtonSecondary = (0, styled_components_2.css)(templateObject_7 || (template
|
|
|
62
81
|
: (0, utilsOolib_1.getPrimaryColorText)(colors);
|
|
63
82
|
}, function (_a) {
|
|
64
83
|
var color = _a.color;
|
|
65
|
-
return color && (0,
|
|
84
|
+
return color && (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), color);
|
|
66
85
|
}, function (_a) {
|
|
67
86
|
var active = _a.active;
|
|
68
|
-
return active && (0,
|
|
87
|
+
return active && (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n "], ["\n background-color: ", ";\n color: ", ";\n "])), function (_a) {
|
|
69
88
|
var invert = _a.invert, colors = _a.theme.colors;
|
|
70
89
|
return invert ?
|
|
71
90
|
(0, utilsOolib_1.getPrimaryColor40)(colors)
|
|
@@ -77,7 +96,7 @@ var ButtonSecondary = (0, styled_components_2.css)(templateObject_7 || (template
|
|
|
77
96
|
});
|
|
78
97
|
}, function (_a) {
|
|
79
98
|
var disabled = _a.disabled;
|
|
80
|
-
return disabled && (0,
|
|
99
|
+
return disabled && (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n border: 2px solid ", ";\n color: ", "; \n pointer-events: none;\n "], ["\n background-color: ", ";\n border: 2px solid ", ";\n color: ", "; \n pointer-events: none;\n "])), function (_a) {
|
|
81
100
|
var invert = _a.invert;
|
|
82
101
|
return invert ? greyColor80 : white;
|
|
83
102
|
}, greyColor15, greyColor40);
|
|
@@ -86,13 +105,13 @@ var ButtonSecondary = (0, styled_components_2.css)(templateObject_7 || (template
|
|
|
86
105
|
return active
|
|
87
106
|
? ""
|
|
88
107
|
: invert
|
|
89
|
-
?
|
|
108
|
+
? greyColor80
|
|
90
109
|
: (0, utilsOolib_1.getPrimaryColor40)(colors);
|
|
91
110
|
}, function (_a) {
|
|
92
111
|
var colors = _a.theme.colors;
|
|
93
112
|
return (0, utilsOolib_1.getPrimaryColorText)(colors);
|
|
94
113
|
});
|
|
95
|
-
var ButtonCustom = (0,
|
|
114
|
+
var ButtonCustom = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n border: 2px solid\n ", ";\n box-shadow: -4px 4px 1px\n ", ";\n \n background-color: ", ";\n\n color: ", ";\n\n ", "\n\n ", "\n @media (hover: hover) {\n &:hover {\n background-color: ", ";\n }\n }\n"], ["\n border: 2px solid\n ", ";\n box-shadow: -4px 4px 1px\n ", ";\n \n background-color: ", ";\n\n color: ", ";\n\n ", "\n\n ", "\n @media (hover: hover) {\n &:hover {\n background-color: ", ";\n }\n }\n"])), function (_a) {
|
|
96
115
|
var invert = _a.invert, colors = _a.theme.colors;
|
|
97
116
|
return invert
|
|
98
117
|
? (0, utilsOolib_1.getPrimaryColor40)(colors)
|
|
@@ -112,10 +131,10 @@ var ButtonCustom = (0, styled_components_2.css)(templateObject_10 || (templateOb
|
|
|
112
131
|
: (0, utilsOolib_1.getPrimaryColorText)(colors);
|
|
113
132
|
}, function (_a) {
|
|
114
133
|
var color = _a.color;
|
|
115
|
-
return color && (0,
|
|
134
|
+
return color && (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["color: ", ";"], ["color: ", ";"])), color);
|
|
116
135
|
}, function (_a) {
|
|
117
136
|
var disabled = _a.disabled;
|
|
118
|
-
return disabled && (0,
|
|
137
|
+
return disabled && (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n color: ", ";\n border: 2px solid ", "; // $darkShadowColor : $greyColor15;\n box-shadow: -4px 4px 1px ", ";\n pointer-events: none;\n background-color: ", "; \n "], ["\n color: ", ";\n border: 2px solid ", "; // $darkShadowColor : $greyColor15;\n box-shadow: -4px 4px 1px ", ";\n pointer-events: none;\n background-color: ", "; \n "])), greyColor40, function (_a) {
|
|
119
138
|
var invert = _a.invert;
|
|
120
139
|
return (invert ? greyColor40 : greyColor15);
|
|
121
140
|
}, greyColor40, function (_a) {
|
|
@@ -128,9 +147,9 @@ var ButtonCustom = (0, styled_components_2.css)(templateObject_10 || (templateOb
|
|
|
128
147
|
? greyColor80
|
|
129
148
|
: (0, utilsOolib_1.getPrimaryColor40)(colors);
|
|
130
149
|
});
|
|
131
|
-
var ButtonGhost = (0,
|
|
150
|
+
var ButtonGhost = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n background-color: ", ";\n color: ", ";\n ", "\n ", "\n\n ", "\n @media (hover: hover) {\n &:hover {\n background-color: ", ";\n }\n }\n"], ["\n background-color: ", ";\n color: ", ";\n ", "\n ", "\n\n ", "\n @media (hover: hover) {\n &:hover {\n background-color: ", ";\n }\n }\n"])), function (_a) {
|
|
132
151
|
var active = _a.active, colors = _a.theme.colors;
|
|
133
|
-
return active ? (0, utilsOolib_1.getPrimaryColor40)(colors) :
|
|
152
|
+
return active ? (0, utilsOolib_1.getPrimaryColor40)(colors) : none;
|
|
134
153
|
}, function (_a) {
|
|
135
154
|
var invert = _a.invert, composition = _a.composition, colors = _a.theme.colors;
|
|
136
155
|
return invert
|
|
@@ -140,27 +159,27 @@ var ButtonGhost = (0, styled_components_2.css)(templateObject_14 || (templateObj
|
|
|
140
159
|
: (0, utilsOolib_1.getPrimaryColorText)(colors);
|
|
141
160
|
}, function (_a) {
|
|
142
161
|
var color = _a.color;
|
|
143
|
-
return color && (0,
|
|
162
|
+
return color && (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), color);
|
|
144
163
|
}, function (_a) {
|
|
145
164
|
var invert = _a.invert;
|
|
146
|
-
return invert && (0,
|
|
165
|
+
return invert && (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), function (_a) {
|
|
147
166
|
var active = _a.active;
|
|
148
167
|
return active ? greyColor80 : greyColor100;
|
|
149
168
|
});
|
|
150
169
|
}, function (_a) {
|
|
151
170
|
var disabled = _a.disabled;
|
|
152
|
-
return disabled && (0,
|
|
171
|
+
return disabled && (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n color: ", "; //$greyColor40;\n pointer-events: none;\n "], ["\n color: ", "; //$greyColor40;\n pointer-events: none;\n "])), greyColor40);
|
|
153
172
|
}, function (_a) {
|
|
154
173
|
var invert = _a.invert, active = _a.active, colors = _a.theme.colors;
|
|
155
174
|
return active
|
|
156
175
|
? ""
|
|
157
176
|
: invert
|
|
158
|
-
?
|
|
177
|
+
? greyColor80
|
|
159
178
|
: (0, utilsOolib_1.getPrimaryColor10)(colors);
|
|
160
179
|
});
|
|
161
|
-
var GoogleButton = (0,
|
|
180
|
+
var GoogleButton = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n color: #4285f4;\n border: 2px solid #4285f4;\n background-color: ", ";\n ", "\n"], ["\n color: #4285f4;\n border: 2px solid #4285f4;\n background-color: ", ";\n ", "\n"])), white, function (_a) {
|
|
162
181
|
var disabled = _a.disabled;
|
|
163
|
-
return disabled && (0,
|
|
182
|
+
return disabled && (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n pointer-events: none;\n "], ["\n pointer-events: none;\n "])));
|
|
164
183
|
});
|
|
165
184
|
var buttonVariantSetting = {
|
|
166
185
|
primary: ButtonPrimary,
|
|
@@ -173,15 +192,15 @@ exports.ButtonStyled = styled_components_1.default.button(templateObject_21 || (
|
|
|
173
192
|
var composition = _a.composition, size = _a.size;
|
|
174
193
|
switch (composition) {
|
|
175
194
|
case "iconOnly":
|
|
176
|
-
return (0,
|
|
195
|
+
return (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n padding: 0;\n height: ", ";\n width: ", ";\n flex-shrink: 0; // if button is a flex item then by default it's width shrinks when the viewport width shrinks\n "], ["\n padding: 0;\n height: ", ";\n width: ", ";\n flex-shrink: 0; // if button is a flex item then by default it's width shrinks when the viewport width shrinks\n "])), SIZES[size], SIZES[size]);
|
|
177
196
|
case "icon+text":
|
|
178
|
-
return (0,
|
|
197
|
+
return (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n padding: 0 2rem 0 1.5rem;\n height: ", ";\n "], ["\n padding: 0 2rem 0 1.5rem;\n height: ", ";\n "])), SIZES[size]);
|
|
179
198
|
default:
|
|
180
|
-
return (0,
|
|
199
|
+
return (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n padding: 0 2rem;\n height: ", ";\n "], ["\n padding: 0 2rem;\n height: ", ";\n "])), SIZES[size]);
|
|
181
200
|
}
|
|
182
201
|
}, function (_a) {
|
|
183
202
|
var width = _a.width;
|
|
184
|
-
return width && (0,
|
|
203
|
+
return width && (0, styled_components_1.css)(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n width: ", ";\n "], ["\n width: ", ";\n "])), width);
|
|
185
204
|
}, (0, mixins_1.transition)("background-color"), function (_a) {
|
|
186
205
|
var variant = _a.variant;
|
|
187
206
|
return buttonVariantSetting[variant];
|
|
@@ -3,11 +3,5 @@ export function Comp({ children, className, style, noPadding }: {
|
|
|
3
3
|
className: any;
|
|
4
4
|
style: any;
|
|
5
5
|
noPadding: any;
|
|
6
|
-
}, ref: any):
|
|
7
|
-
export const Container:
|
|
8
|
-
children: any;
|
|
9
|
-
className: any;
|
|
10
|
-
style: any;
|
|
11
|
-
noPadding: any;
|
|
12
|
-
} & React.RefAttributes<any>>;
|
|
13
|
-
import React from "react";
|
|
6
|
+
}, ref: any): any;
|
|
7
|
+
export const Container: any;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export function ProgressBar({ progress, text, children, isBlock, blockHeight, }: {
|
|
1
|
+
export function ProgressBar({ progress, text, children, isBlock, blockHeight, barWidth }: {
|
|
2
2
|
progress: any;
|
|
3
3
|
text: any;
|
|
4
4
|
children: any;
|
|
5
5
|
isBlock?: boolean;
|
|
6
6
|
blockHeight?: string;
|
|
7
|
-
|
|
7
|
+
barWidth?: number;
|
|
8
|
+
}): any;
|
|
@@ -8,11 +8,10 @@ var react_1 = __importDefault(require("react"));
|
|
|
8
8
|
var Typo_1 = require("../../Typo");
|
|
9
9
|
var styled_1 = require("../styled");
|
|
10
10
|
var ProgressBar = function (_a) {
|
|
11
|
-
var progress = _a.progress, text = _a.text, children = _a.children, _b = _a.isBlock, isBlock = _b === void 0 ? true : _b, _c = _a.blockHeight, blockHeight = _c === void 0 ? '100%' : _c;
|
|
12
|
-
var loaderWidth = 100; //maybe in the future this will be controlled by a size prop
|
|
11
|
+
var progress = _a.progress, text = _a.text, children = _a.children, _b = _a.isBlock, isBlock = _b === void 0 ? true : _b, _c = _a.blockHeight, blockHeight = _c === void 0 ? '100%' : _c, _d = _a.barWidth, barWidth = _d === void 0 ? 100 : _d;
|
|
13
12
|
var genLoader = function () { return (react_1.default.createElement(styled_1.StyledLoaderWrapper, { isBlock: isBlock },
|
|
14
|
-
react_1.default.createElement(styled_1.StyledHorLoader, {
|
|
15
|
-
react_1.default.createElement(styled_1.StyledHorLoadingBar, {
|
|
13
|
+
react_1.default.createElement(styled_1.StyledHorLoader, { barWidth: barWidth },
|
|
14
|
+
react_1.default.createElement(styled_1.StyledHorLoadingBar, { barWidth: barWidth, progress: progress })),
|
|
16
15
|
(text || children) && react_1.default.createElement(Typo_1.SANS_2, { semibold: true }, text || children))); };
|
|
17
16
|
return !isBlock ? (genLoader()) : (react_1.default.createElement(styled_1.StyledLoaderOverlay, { blockHeight: blockHeight }, genLoader()));
|
|
18
17
|
};
|
|
@@ -46,8 +46,8 @@ exports.StyledLoaderOverlay = styled_components_1.default.div(templateObject_6 |
|
|
|
46
46
|
return blockHeight;
|
|
47
47
|
});
|
|
48
48
|
exports.StyledHorLoader = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width: ", ";\n height: 1rem;\n position: relative;\n border-radius: 1rem;\n overflow: hidden;\n border: 1px solid ", ";\n"], ["\n width: ", ";\n height: 1rem;\n position: relative;\n border-radius: 1rem;\n overflow: hidden;\n border: 1px solid ", ";\n"])), function (_a) {
|
|
49
|
-
var
|
|
50
|
-
return
|
|
49
|
+
var barWidth = _a.barWidth;
|
|
50
|
+
return barWidth + 'px';
|
|
51
51
|
}, function (_a) {
|
|
52
52
|
var theme = _a.theme;
|
|
53
53
|
return (0, utilsOolib_1.getPrimaryColor100)(theme.colors);
|
|
@@ -56,7 +56,7 @@ exports.StyledHorLoadingBar = styled_components_1.default.div(templateObject_8 |
|
|
|
56
56
|
var theme = _a.theme;
|
|
57
57
|
return (0, utilsOolib_1.getPrimaryColor100)(theme.colors);
|
|
58
58
|
}, function (_a) {
|
|
59
|
-
var progress = _a.progress,
|
|
60
|
-
return (progress / 100) *
|
|
59
|
+
var progress = _a.progress, barWidth = _a.barWidth;
|
|
60
|
+
return (progress / 100) * barWidth + "px";
|
|
61
61
|
});
|
|
62
62
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
|
|
@@ -5,7 +5,7 @@ export function CheckboxButton({ className, isSelected, onClick, disabled, inver
|
|
|
5
5
|
disabled: any;
|
|
6
6
|
invert: any;
|
|
7
7
|
S: any;
|
|
8
|
-
}):
|
|
8
|
+
}): any;
|
|
9
9
|
export function CheckboxInput({ option, onClick, S, inputStyle, value, invert, disabled, rightWrongResult, }: {
|
|
10
10
|
option: any;
|
|
11
11
|
onClick: any;
|
|
@@ -15,4 +15,4 @@ export function CheckboxInput({ option, onClick, S, inputStyle, value, invert, d
|
|
|
15
15
|
invert: any;
|
|
16
16
|
disabled: any;
|
|
17
17
|
rightWrongResult: any;
|
|
18
|
-
}):
|
|
18
|
+
}): any;
|
|
@@ -36,7 +36,7 @@ var CheckboxInput = function (_a) {
|
|
|
36
36
|
var isSelected = !!value.find(function (selOp) { return selOp.value === option.value; });
|
|
37
37
|
var markingCommand = (0, utils_1.getMarkingCommand)({ option: option, isSelected: isSelected }); // returns undefined if option isn't labeled as 'correct' nor selected
|
|
38
38
|
var SuitableTypo = S ? Typo_1.SANS_2 : Typo_1.SANS_3;
|
|
39
|
-
return inputStyle === 'tagSelect' ? (react_1.default.createElement(Tags_1.TagSelect, __assign({}, { isSelected: isSelected, invert: invert, disabled: disabled }, { onClick: function () { return !disabled && onClick(option, isSelected); }, display: option.display, value: option.value, style: { alignSelf: 'flex-start' } }))) : (react_1.default.createElement(styled_1.StyledOption, __assign({}, { rightWrongResult: rightWrongResult, isSelected: isSelected, disabled: disabled, invert: invert, S: S }, { onClick: function () { return !rightWrongResult && !disabled && onClick(
|
|
39
|
+
return inputStyle === 'tagSelect' ? (react_1.default.createElement(Tags_1.TagSelect, __assign({}, { isSelected: isSelected, invert: invert, disabled: disabled }, { onClick: function () { return !disabled && onClick(option, isSelected); }, display: option.display, value: option.value, style: { alignSelf: 'flex-start' } }))) : (react_1.default.createElement(styled_1.StyledOption, __assign({}, { rightWrongResult: rightWrongResult, isSelected: isSelected, disabled: disabled, invert: invert, S: S }, { onClick: function () { return !rightWrongResult && !disabled && onClick && onClick(isSelected, option); } }),
|
|
40
40
|
!rightWrongResult || markingCommand === undefined ?
|
|
41
41
|
react_1.default.createElement(exports.CheckboxButton, __assign({}, { isSelected: isSelected, disabled: disabled, invert: invert, S: S, className: 'btn' }))
|
|
42
42
|
:
|
|
@@ -67,7 +67,7 @@ function CheckboxList(_a) {
|
|
|
67
67
|
newValue = convToString(newValue);
|
|
68
68
|
onChange && onChange(id, newValue);
|
|
69
69
|
};
|
|
70
|
-
var handleCheckboxClick = function (
|
|
70
|
+
var handleCheckboxClick = function (isSelected, option) {
|
|
71
71
|
var newValue = isSelected
|
|
72
72
|
? value.filter(function (selOp) { return selOp.value !== option.value; })
|
|
73
73
|
: value.concat(option);
|
|
@@ -5,7 +5,7 @@ export function RadioButton({ className, isSelected, onClick, disabled, invert,
|
|
|
5
5
|
disabled: any;
|
|
6
6
|
invert: any;
|
|
7
7
|
S: any;
|
|
8
|
-
}):
|
|
8
|
+
}): any;
|
|
9
9
|
export function RadioInput({ option, onClick, disabled, invert, value, S, rightWrongResult, }: {
|
|
10
10
|
option: any;
|
|
11
11
|
onClick: any;
|
|
@@ -14,4 +14,4 @@ export function RadioInput({ option, onClick, disabled, invert, value, S, rightW
|
|
|
14
14
|
value: any;
|
|
15
15
|
S: any;
|
|
16
16
|
rightWrongResult: any;
|
|
17
|
-
}):
|
|
17
|
+
}): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export function Section(props: any):
|
|
1
|
+
export function Section(props: any): any;
|
|
@@ -6,7 +6,7 @@ export function SwitchDouble({ id, value: valueProp, options, onChange, invert,
|
|
|
6
6
|
invert: any;
|
|
7
7
|
saveValueAsString: any;
|
|
8
8
|
disabled?: boolean;
|
|
9
|
-
}, ...args: any[]):
|
|
9
|
+
}, ...args: any[]): any;
|
|
10
10
|
export function SwitchSingle({ id, value, option, onChange, disabled, invert, saveValueAsString, }: {
|
|
11
11
|
id: any;
|
|
12
12
|
value: any;
|
|
@@ -15,4 +15,4 @@ export function SwitchSingle({ id, value, option, onChange, disabled, invert, sa
|
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
invert: any;
|
|
17
17
|
saveValueAsString: any;
|
|
18
|
-
}, ...args: any[]):
|
|
18
|
+
}, ...args: any[]): any;
|
|
@@ -16,9 +16,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.SwitchSingle = exports.SwitchDouble = void 0;
|
|
18
18
|
var react_1 = __importDefault(require("react"));
|
|
19
|
-
var BlockLabel_1 = require("../BlockLabel");
|
|
20
|
-
var _EXPORTS_1 = require("../../utils/_EXPORTS");
|
|
21
19
|
var themes_1 = require("../../themes");
|
|
20
|
+
var _EXPORTS_1 = require("../../utils/_EXPORTS");
|
|
21
|
+
var BlockLabel_1 = require("../BlockLabel");
|
|
22
22
|
var styled_1 = require("./styled");
|
|
23
23
|
var greyColor40 = themes_1.colors.greyColor40, greyColor100 = themes_1.colors.greyColor100, white = themes_1.colors.white;
|
|
24
24
|
function SwitchDouble(_a) {
|
|
@@ -34,23 +34,14 @@ function SwitchDouble(_a) {
|
|
|
34
34
|
};
|
|
35
35
|
var props = arguments[0];
|
|
36
36
|
var isLeftOptionActive = options[0].value === (value === null || value === void 0 ? void 0 : value.value);
|
|
37
|
-
var leftOptionColor, rightOptionColor;
|
|
38
|
-
if (invert) {
|
|
39
|
-
leftOptionColor = isLeftOptionActive ? white : greyColor40;
|
|
40
|
-
rightOptionColor = isLeftOptionActive ? greyColor40 : white;
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
leftOptionColor = isLeftOptionActive ? greyColor100 : greyColor40;
|
|
44
|
-
rightOptionColor = isLeftOptionActive ? greyColor40 : greyColor100;
|
|
45
|
-
}
|
|
46
37
|
return (react_1.default.createElement("div", null,
|
|
47
38
|
react_1.default.createElement(BlockLabel_1.BlockLabel, __assign({}, (0, _EXPORTS_1.getBlockLabelProps)(props))),
|
|
48
39
|
react_1.default.createElement(styled_1.StyledSwitchWrapper, null,
|
|
49
|
-
react_1.default.createElement(styled_1.
|
|
40
|
+
react_1.default.createElement(styled_1.STYLED_SANS_3, __assign({}, { lineHeight: 1, semibold: isLeftOptionActive ? true : false, invert: invert }), options[0].display),
|
|
50
41
|
react_1.default.createElement(styled_1.StyledButtonSlider, { invert: invert, disabled: disabled, onClick: handleClick },
|
|
51
42
|
react_1.default.createElement(styled_1.StyledSwitch, { className: 'StyledSwitch' //read in styled.js why we are using an okf-anti-pattern
|
|
52
43
|
, invert: invert, disabled: disabled, direction: isLeftOptionActive ? "left" : "right" })),
|
|
53
|
-
react_1.default.createElement(styled_1.
|
|
44
|
+
react_1.default.createElement(styled_1.STYLED_SANS_3, __assign({}, { invert: invert, semibold: isLeftOptionActive ? false : true, lineHeight: 1 }), options[1].display))));
|
|
54
45
|
}
|
|
55
46
|
exports.SwitchDouble = SwitchDouble;
|
|
56
47
|
function SwitchSingle(_a) {
|
|
@@ -71,15 +62,12 @@ function SwitchSingle(_a) {
|
|
|
71
62
|
onChange &&
|
|
72
63
|
onChange(id, isInactive ? (saveValueAsString ? option.value : option) : undefined);
|
|
73
64
|
};
|
|
74
|
-
var labelColor = isInactive ? greyColor40 : greyColor100;
|
|
75
|
-
if (invert)
|
|
76
|
-
labelColor = isInactive ? greyColor40 : white;
|
|
77
65
|
return (react_1.default.createElement("div", null,
|
|
78
66
|
react_1.default.createElement(BlockLabel_1.BlockLabel, __assign({}, (0, _EXPORTS_1.getBlockLabelProps)(props))),
|
|
79
67
|
react_1.default.createElement(styled_1.StyledSwitchWrapper, null,
|
|
80
68
|
react_1.default.createElement(styled_1.StyledButtonSlider, { inactive: isInactive, disabled: disabled, invert: invert, onClick: handleClick },
|
|
81
69
|
react_1.default.createElement(styled_1.StyledSwitch, { className: 'StyledSwitch' //read in styled.js why we are using an okf-anti-pattern
|
|
82
70
|
, direction: isInactive ? "left" : "right", inactive: isInactive, disabled: disabled, invert: invert })),
|
|
83
|
-
react_1.default.createElement(styled_1.
|
|
71
|
+
react_1.default.createElement(styled_1.STYLED_SANS_3, __assign({}, { invert: invert, lineHeight: 1, semibold: isInactive ? false : true }), option.display))));
|
|
84
72
|
}
|
|
85
73
|
exports.SwitchSingle = SwitchSingle;
|
|
@@ -7,11 +7,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
7
7
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
8
8
|
};
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
10
|
+
exports.STYLED_SANS_3 = exports.StyledSwitch = exports.StyledButtonSlider = exports.StyledSwitchWrapper = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
+
var themes_1 = require("../../themes");
|
|
12
13
|
var mixins_1 = require("../../themes/mixins");
|
|
13
14
|
var utilsOolib_1 = require("../../utilsOolib");
|
|
14
|
-
var themes_1 = require("../../themes");
|
|
15
15
|
var Typo_1 = require("../Typo");
|
|
16
16
|
var white = themes_1.colors.white, greyColor10 = themes_1.colors.greyColor10, greyColor80 = themes_1.colors.greyColor80, greyColor70 = themes_1.colors.greyColor70, greyColor100 = themes_1.colors.greyColor100, greyColor40 = themes_1.colors.greyColor40;
|
|
17
17
|
exports.StyledSwitchWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n /* justify-content: center; */\n align-items: center;\n gap: 1rem;\n"], ["\n display: flex;\n /* justify-content: center; */\n align-items: center;\n gap: 1rem;\n"])));
|
|
@@ -52,7 +52,7 @@ exports.StyledSwitch = styled_components_1.default.button(templateObject_3 || (t
|
|
|
52
52
|
var colors = _a.theme.colors, inactive = _a.inactive, disabled = _a.disabled;
|
|
53
53
|
return !disabled && (inactive ? greyColor40 : (0, utilsOolib_1.getPrimaryColorText)(colors));
|
|
54
54
|
});
|
|
55
|
-
exports.
|
|
55
|
+
exports.STYLED_SANS_3 = (0, styled_components_1.default)(Typo_1.SANS_3)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n color: ", ";\n line-height: ", ";\n ", "\n"], ["\n color: ", ";\n line-height: ", ";\n ", "\n"])), function (_a) {
|
|
56
56
|
var color = _a.color;
|
|
57
57
|
return color;
|
|
58
58
|
}, function (_a) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function TabBarStyle1(props: any):
|
|
2
|
-
export function TabBarStyle2(props: any):
|
|
1
|
+
export function TabBarStyle1(props: any): any;
|
|
2
|
+
export function TabBarStyle2(props: any): any;
|
|
@@ -5,7 +5,7 @@ export function TagDisplay({ display, style, invert, M, XS, variant }: {
|
|
|
5
5
|
M: any;
|
|
6
6
|
XS: any;
|
|
7
7
|
variant?: string;
|
|
8
|
-
}):
|
|
8
|
+
}): any;
|
|
9
9
|
export function TagClear({ id, display, value, M, XS, invert, onClick, variant, grey, }: {
|
|
10
10
|
id: any;
|
|
11
11
|
display: any;
|
|
@@ -16,7 +16,7 @@ export function TagClear({ id, display, value, M, XS, invert, onClick, variant,
|
|
|
16
16
|
onClick?: () => void;
|
|
17
17
|
variant?: string;
|
|
18
18
|
grey: any;
|
|
19
|
-
}):
|
|
19
|
+
}): any;
|
|
20
20
|
export function TagSelect({ onClick, isSelected, display, value, M, XS, invert, disabled, style, onMouseDown }: {
|
|
21
21
|
onClick: any;
|
|
22
22
|
isSelected?: boolean;
|
|
@@ -28,7 +28,7 @@ export function TagSelect({ onClick, isSelected, display, value, M, XS, invert,
|
|
|
28
28
|
disabled: any;
|
|
29
29
|
style: any;
|
|
30
30
|
onMouseDown: any;
|
|
31
|
-
}):
|
|
31
|
+
}): any;
|
|
32
32
|
export function TagLink({ display, to, invert, M, XS, variant }: {
|
|
33
33
|
display: any;
|
|
34
34
|
to: any;
|
|
@@ -36,4 +36,4 @@ export function TagLink({ display, to, invert, M, XS, variant }: {
|
|
|
36
36
|
M: any;
|
|
37
37
|
XS: any;
|
|
38
38
|
variant?: string;
|
|
39
|
-
}):
|
|
39
|
+
}): any;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export function TextInput(props: any):
|
|
2
|
-
export function PasswordInput(props: any):
|
|
3
|
-
export function EmailInput(props: any):
|
|
4
|
-
export function PhoneInput(props: any):
|
|
1
|
+
export function TextInput(props: any): any;
|
|
2
|
+
export function PasswordInput(props: any): any;
|
|
3
|
+
export function EmailInput(props: any): any;
|
|
4
|
+
export function PhoneInput(props: any): any;
|
|
5
5
|
export function URLInput({ routesAreValidInputs, ...props }: {
|
|
6
6
|
[x: string]: any;
|
|
7
7
|
routesAreValidInputs?: boolean;
|
|
8
|
-
}):
|
|
9
|
-
export function NumberInput(props: any):
|
|
8
|
+
}): any;
|
|
9
|
+
export function NumberInput(props: any): any;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export function LABEL(props: any):
|
|
2
|
-
export function SANS_0(props: any):
|
|
3
|
-
export function SANS_2(props: any):
|
|
4
|
-
export function SANS_3(props: any):
|
|
5
|
-
export function SANS_3_4(props: any):
|
|
6
|
-
export function SANS_4(props: any):
|
|
7
|
-
export function SANS_4_5(props: any):
|
|
8
|
-
export function SANS_5_6(props: any):
|
|
9
|
-
export function SANS_7_8(props: any):
|
|
10
|
-
export function SERIF_3(props: any):
|
|
11
|
-
export function SERIF_3_4(props: any):
|
|
12
|
-
export function SERIF_4_5(props: any):
|
|
13
|
-
export function SERIF_5_6(props: any):
|
|
14
|
-
export function SERIF_6_7(props: any):
|
|
15
|
-
export function SERIF_7_8(props: any):
|
|
16
|
-
export function SERIF_9_10(props: any):
|
|
17
|
-
export function BLOCKQUOTE(props: any):
|
|
18
|
-
export function TypoClassesProvider(props: any):
|
|
1
|
+
export function LABEL(props: any): any;
|
|
2
|
+
export function SANS_0(props: any): any;
|
|
3
|
+
export function SANS_2(props: any): any;
|
|
4
|
+
export function SANS_3(props: any): any;
|
|
5
|
+
export function SANS_3_4(props: any): any;
|
|
6
|
+
export function SANS_4(props: any): any;
|
|
7
|
+
export function SANS_4_5(props: any): any;
|
|
8
|
+
export function SANS_5_6(props: any): any;
|
|
9
|
+
export function SANS_7_8(props: any): any;
|
|
10
|
+
export function SERIF_3(props: any): any;
|
|
11
|
+
export function SERIF_3_4(props: any): any;
|
|
12
|
+
export function SERIF_4_5(props: any): any;
|
|
13
|
+
export function SERIF_5_6(props: any): any;
|
|
14
|
+
export function SERIF_6_7(props: any): any;
|
|
15
|
+
export function SERIF_7_8(props: any): any;
|
|
16
|
+
export function SERIF_9_10(props: any): any;
|
|
17
|
+
export function BLOCKQUOTE(props: any): any;
|
|
18
|
+
export function TypoClassesProvider(props: any): any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export function Wrapper1500(props: any):
|
|
2
|
-
export function Wrapper1120(props: any):
|
|
3
|
-
export function Wrapper1000(props: any):
|
|
4
|
-
export function Wrapper900(props: any):
|
|
5
|
-
export function Wrapper800(props: any):
|
|
6
|
-
export function Wrapper820(props: any):
|
|
7
|
-
export function Wrapper700(props: any):
|
|
8
|
-
export function Wrapper650(props: any):
|
|
1
|
+
export function Wrapper1500(props: any): any;
|
|
2
|
+
export function Wrapper1120(props: any): any;
|
|
3
|
+
export function Wrapper1000(props: any): any;
|
|
4
|
+
export function Wrapper900(props: any): any;
|
|
5
|
+
export function Wrapper800(props: any): any;
|
|
6
|
+
export function Wrapper820(props: any): any;
|
|
7
|
+
export function Wrapper700(props: any): any;
|
|
8
|
+
export function Wrapper650(props: any): any;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export function IndexIcon({ color, size }: {
|
|
2
2
|
color?: string;
|
|
3
3
|
size?: number;
|
|
4
|
-
}):
|
|
4
|
+
}): any;
|
|
5
5
|
export function LanguageIcon({ color, size }: {
|
|
6
6
|
color?: string;
|
|
7
7
|
size?: number;
|
|
8
|
-
}):
|
|
8
|
+
}): any;
|
|
9
9
|
export function LetterH({ role, size }: {
|
|
10
10
|
role: any;
|
|
11
11
|
size: any;
|
|
12
|
-
}):
|
|
13
|
-
export function OkeGoogleIcon(props: any):
|
|
14
|
-
export function BadgeAdmin(props: any):
|
|
15
|
-
export function BadgeSuperAdmin(props: any):
|
|
16
|
-
export function BadgeMod(props: any):
|
|
17
|
-
export function BadgeVetted(props: any):
|
|
18
|
-
export function IndiaFlag(props: any):
|
|
19
|
-
export function KenyaFlag(props: any):
|
|
12
|
+
}): any;
|
|
13
|
+
export function OkeGoogleIcon(props: any): any;
|
|
14
|
+
export function BadgeAdmin(props: any): any;
|
|
15
|
+
export function BadgeSuperAdmin(props: any): any;
|
|
16
|
+
export function BadgeMod(props: any): any;
|
|
17
|
+
export function BadgeVetted(props: any): any;
|
|
18
|
+
export function IndiaFlag(props: any): any;
|
|
19
|
+
export function KenyaFlag(props: any): any;
|