oolib 2.211.0 → 2.212.0
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.
|
@@ -44,8 +44,8 @@ var ListItem = function (_a) {
|
|
|
44
44
|
react_1.default.createElement("div", { ref: observerRef, style: {
|
|
45
45
|
display: "flex",
|
|
46
46
|
alignItems: desc ? "flex-start" : "center",
|
|
47
|
-
maxWidth: "36rem",
|
|
48
47
|
gap: icon ? "0.6rem" : "0.8rem",
|
|
48
|
+
flexGrow: 1,
|
|
49
49
|
} },
|
|
50
50
|
(image || icon || color || isMulti) && (react_1.default.createElement("div", { style: {
|
|
51
51
|
marginTop: "0.1rem",
|
|
@@ -42,7 +42,7 @@ var styled_components_1 = __importStar(require("styled-components"));
|
|
|
42
42
|
var themes_1 = require("../../../themes");
|
|
43
43
|
var getDynamicColors_1 = require("../../../themes/utils/getDynamicColors");
|
|
44
44
|
var grey10 = themes_1.colors.grey10;
|
|
45
|
-
exports.StyledListItemWrapper = styled_components_1.default.li(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n /* padding: ", "; */\n padding: 0.8rem;\n border-radius: 0.4rem;\n gap:
|
|
45
|
+
exports.StyledListItemWrapper = styled_components_1.default.li(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n /* padding: ", "; */\n padding: 0.8rem;\n border-radius: 0.4rem;\n gap: 1rem;\n\n justify-content: space-between;\n\n \n background-color: ", ";\n\n .OKE-Dropdown__optionText{\n color: ", "\n } \n\n .OKE-Dropdown__optionIcon{\n color: ", "\n } \n\n &:hover{\n background-color: ", ";\n\n }\n\n \n\n &:first-of-type {\n /* margin-top: 0.4rem; */\n }\n\n &:last-of-type {\n /* margin-bottom: 0.4rem; */\n }\n\n .OKE-Dropdown__optionDesc {\n @include kp-clamp-text(2);\n white-space: normal;\n }\n\n .OKE-Dropdown__optionImg {\n flex: 0 0 auto;\n }\n\n .OKE-Dropdown__checkboxClickArea {\n position: absolute;\n width: 2rem;\n height: 2rem;\n }\n .OKE-Dropdown__checkboxClickArea-box {\n margin-top: 0.2rem;\n flex-shrink: 0;\n }\n"], ["\n display: flex;\n align-items: center;\n /* padding: ", "; */\n padding: 0.8rem;\n border-radius: 0.4rem;\n gap: 1rem;\n\n justify-content: space-between;\n\n \n background-color: ", ";\n\n .OKE-Dropdown__optionText{\n color: ", "\n } \n\n .OKE-Dropdown__optionIcon{\n color: ", "\n } \n\n &:hover{\n background-color: ", ";\n\n }\n\n \n\n &:first-of-type {\n /* margin-top: 0.4rem; */\n }\n\n &:last-of-type {\n /* margin-bottom: 0.4rem; */\n }\n\n .OKE-Dropdown__optionDesc {\n @include kp-clamp-text(2);\n white-space: normal;\n }\n\n .OKE-Dropdown__optionImg {\n flex: 0 0 auto;\n }\n\n .OKE-Dropdown__checkboxClickArea {\n position: absolute;\n width: 2rem;\n height: 2rem;\n }\n .OKE-Dropdown__checkboxClickArea-box {\n margin-top: 0.2rem;\n flex-shrink: 0;\n }\n"])), function (_a) {
|
|
46
46
|
var S = _a.S;
|
|
47
47
|
return S ? '0.8rem' : '0.6rem 0.8rem';
|
|
48
48
|
}, function (_a) {
|
|
@@ -57,12 +57,6 @@ exports.StyledListItemWrapper = styled_components_1.default.li(templateObject_1
|
|
|
57
57
|
}, themes_1.colors.grey80, themes_1.colors.grey80, function (_a) {
|
|
58
58
|
var theme = _a.theme;
|
|
59
59
|
return "".concat(grey10);
|
|
60
|
-
}, function (_a) {
|
|
61
|
-
var theme = _a.theme;
|
|
62
|
-
return (0, getDynamicColors_1.getOnSecondary)(theme === null || theme === void 0 ? void 0 : theme.colors);
|
|
63
|
-
}, function (_a) {
|
|
64
|
-
var theme = _a.theme;
|
|
65
|
-
return (0, getDynamicColors_1.getOnSecondary)(theme === null || theme === void 0 ? void 0 : theme.colors);
|
|
66
60
|
});
|
|
67
61
|
exports.StyledRightSection = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin-top: 0.1rem;\n display: flex;\n gap: 0.5rem;\n align-self: flex-start;\n justify-content: space-between;\n"], ["\n margin-top: 0.1rem;\n display: flex;\n gap: 0.5rem;\n align-self: flex-start;\n justify-content: space-between;\n"])));
|
|
68
62
|
var templateObject_1, templateObject_2;
|