oolib 2.69.3 → 2.69.4
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.
|
@@ -12,5 +12,5 @@ export const StyledLink: import("styled-components").StyledComponent<"a", any, {
|
|
|
12
12
|
* 2// it has NO disabled style
|
|
13
13
|
* 3// it has NO inverted style
|
|
14
14
|
*/
|
|
15
|
-
export const StyledOKELinkClass:
|
|
15
|
+
export const StyledOKELinkClass: import("styled-components").FlattenSimpleInterpolation;
|
|
16
16
|
export const StyledLinkText: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -3,12 +3,32 @@ 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.StyledLinkText = exports.StyledOKELinkClass = exports.StyledLink = exports.genColor = void 0;
|
|
11
|
-
var styled_components_1 =
|
|
31
|
+
var styled_components_1 = __importStar(require("styled-components"));
|
|
12
32
|
var themes_1 = require("../../themes");
|
|
13
33
|
var mixins_1 = require("../../themes/mixins");
|
|
14
34
|
var utilsOolib_1 = require("../../utilsOolib");
|
|
@@ -54,6 +74,6 @@ exports.StyledLink = styled_components_1.default.a(templateObject_1 || (template
|
|
|
54
74
|
* 2// it has NO disabled style
|
|
55
75
|
* 3// it has NO inverted style
|
|
56
76
|
*/
|
|
57
|
-
exports.StyledOKELinkClass = css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n .OKELink{\n cursor: pointer;\n display: inline-flex;\n gap: 0.7rem;\n align-items: center;\n max-width: calc(100vw - 4rem); //the margin on mobile is 2rem each on both sides \n text-decoration: none;\n position: relative;\n color: ", ";\n\n &::after{\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 1px;\n pointer-events: unset;\n ", ";\n background-color: ", ";\n }\n\n &:hover{\n color: ", ";\n &::after{ width: 0 }\n }\n\n &.-disabled-{\n cursor: 'not-allowed';\n &::after{\n height: 0;\n pointer-events: 'none';\n }\n }\n\n &.-invertUnderline-{\n &::after{\n width: 0\n }\n\n &:hover{\n &::after{\n width: 100%;\n }\n }\n }\n\n }\n"], ["\n .OKELink{\n cursor: pointer;\n display: inline-flex;\n gap: 0.7rem;\n align-items: center;\n max-width: calc(100vw - 4rem); //the margin on mobile is 2rem each on both sides \n text-decoration: none;\n position: relative;\n color: ", ";\n\n &::after{\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 1px;\n pointer-events: unset;\n ", ";\n background-color: ", ";\n }\n\n &:hover{\n color: ", ";\n &::after{ width: 0 }\n }\n\n &.-disabled-{\n cursor: 'not-allowed';\n &::after{\n height: 0;\n pointer-events: 'none';\n }\n }\n\n &.-invertUnderline-{\n &::after{\n width: 0\n }\n\n &:hover{\n &::after{\n width: 100%;\n }\n }\n }\n\n }\n"])), themes_1.colors.black, (0, mixins_1.transition)('width'), themes_1.colors.black, themes_1.colors.black);
|
|
77
|
+
exports.StyledOKELinkClass = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n .OKELink{\n cursor: pointer;\n display: inline-flex;\n gap: 0.7rem;\n align-items: center;\n max-width: calc(100vw - 4rem); //the margin on mobile is 2rem each on both sides \n text-decoration: none;\n position: relative;\n color: ", ";\n\n &::after{\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 1px;\n pointer-events: unset;\n ", ";\n background-color: ", ";\n }\n\n &:hover{\n color: ", ";\n &::after{ width: 0 }\n }\n\n &.-disabled-{\n cursor: 'not-allowed';\n &::after{\n height: 0;\n pointer-events: 'none';\n }\n }\n\n &.-invertUnderline-{\n &::after{\n width: 0\n }\n\n &:hover{\n &::after{\n width: 100%;\n }\n }\n }\n\n }\n"], ["\n .OKELink{\n cursor: pointer;\n display: inline-flex;\n gap: 0.7rem;\n align-items: center;\n max-width: calc(100vw - 4rem); //the margin on mobile is 2rem each on both sides \n text-decoration: none;\n position: relative;\n color: ", ";\n\n &::after{\n content: '';\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 1px;\n pointer-events: unset;\n ", ";\n background-color: ", ";\n }\n\n &:hover{\n color: ", ";\n &::after{ width: 0 }\n }\n\n &.-disabled-{\n cursor: 'not-allowed';\n &::after{\n height: 0;\n pointer-events: 'none';\n }\n }\n\n &.-invertUnderline-{\n &::after{\n width: 0\n }\n\n &:hover{\n &::after{\n width: 100%;\n }\n }\n }\n\n }\n"])), themes_1.colors.black, (0, mixins_1.transition)('width'), themes_1.colors.black, themes_1.colors.black);
|
|
58
78
|
exports.StyledLinkText = styled_components_1.default.span(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n white-space: nowrap;\n /** might need some ellipsis stuff here. but it doesnt work with inline-flex. which is on StyledLink */ \n"], ["\n white-space: nowrap;\n /** might need some ellipsis stuff here. but it doesnt work with inline-flex. which is on StyledLink */ \n"])));
|
|
59
79
|
var templateObject_1, templateObject_2, templateObject_3;
|