oolib 2.31.6 → 2.32.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.
|
@@ -21,10 +21,10 @@ var comps_1 = require("../../utils/comps");
|
|
|
21
21
|
var yellow = themes_1.colors.yellow, greyColor100 = themes_1.colors.greyColor100;
|
|
22
22
|
var IndexIcon = function (_a) {
|
|
23
23
|
var _b = _a.color, color = _b === void 0 ? greyColor100 : _b, _c = _a.size, size = _c === void 0 ? 24 : _c;
|
|
24
|
-
return (react_1.default.createElement("svg", { width:
|
|
25
|
-
react_1.default.createElement("path", { d: "
|
|
26
|
-
react_1.default.createElement("path", { d: "
|
|
27
|
-
react_1.default.createElement("path", { d: "
|
|
24
|
+
return (react_1.default.createElement("svg", { width: "15", height: "15", viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
|
|
25
|
+
react_1.default.createElement("path", { d: "M2.34375 7.5H12.6562", stroke: "#383838", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
26
|
+
react_1.default.createElement("path", { d: "M2.34375 3.75H12.6562", stroke: "#383838", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }),
|
|
27
|
+
react_1.default.createElement("path", { d: "M2.34375 11.25H8.90625", stroke: "#383838", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })));
|
|
28
28
|
};
|
|
29
29
|
exports.IndexIcon = IndexIcon;
|
|
30
30
|
var LanguageIcon = function (_a) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.injectHttps = void 0;
|
|
4
4
|
var injectHttps = function (url) {
|
|
5
|
-
if (['mailto:', 'tel:', 'http://', 'https://'].every(function (d) { return typeof url === 'string' && !url.
|
|
5
|
+
if (['mailto:', 'tel:', 'http://', 'https://', 'data:'].every(function (d) { return typeof url === 'string' && !url.startsWith(d); })) {
|
|
6
6
|
return 'https://' + url;
|
|
7
7
|
}
|
|
8
8
|
else {
|