joe-header 2.0.2 → 2.0.3
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/joe-header.js +12 -10
- package/package.json +1 -1
package/dist/joe-header.js
CHANGED
|
@@ -285,8 +285,8 @@ const f = window, A = f.trustedTypes, V = A ? A.createPolicy("lit-html", { creat
|
|
|
285
285
|
let a, u, j = -1, N = 0;
|
|
286
286
|
for (; N < r.length && (L.lastIndex = N, u = L.exec(r), u !== null); )
|
|
287
287
|
N = L.lastIndex, L === x ? u[1] === "!--" ? L = q : u[1] !== void 0 ? L = tt : u[2] !== void 0 ? (gt.test(u[2]) && (s = RegExp("</" + u[2], "g")), L = c) : u[3] !== void 0 && (L = c) : L === c ? u[0] === ">" ? (L = s != null ? s : x, j = -1) : u[1] === void 0 ? j = -2 : (j = L.lastIndex - u[2].length, a = u[1], L = u[3] === void 0 ? c : u[3] === '"' ? it : et) : L === it || L === et ? L = c : L === q || L === tt ? L = x : (L = c, s = void 0);
|
|
288
|
-
const
|
|
289
|
-
o += L === x ? r + It : j >= 0 ? (i.push(a), r.slice(0, j) + "$lit$" + r.slice(j) + I +
|
|
288
|
+
const m = L === c && M[n + 1].startsWith("/>") ? " " : "";
|
|
289
|
+
o += L === x ? r + It : j >= 0 ? (i.push(a), r.slice(0, j) + "$lit$" + r.slice(j) + I + m) : r + I + (j === -2 ? (i.push(void 0), n) : m);
|
|
290
290
|
}
|
|
291
291
|
const g = o + (M[e] || "<?>") + (t === 2 ? "</svg>" : "");
|
|
292
292
|
if (!Array.isArray(M) || !M.hasOwnProperty("raw"))
|
|
@@ -311,8 +311,8 @@ class E {
|
|
|
311
311
|
if (j.endsWith("$lit$") || j.startsWith(I)) {
|
|
312
312
|
const N = a[L++];
|
|
313
313
|
if (u.push(j), N !== void 0) {
|
|
314
|
-
const
|
|
315
|
-
n.push({ type: 1, index: o, name:
|
|
314
|
+
const m = s.getAttribute(N.toLowerCase() + "$lit$").split(I), v = /([.?@])?(.*)/.exec(N);
|
|
315
|
+
n.push({ type: 1, index: o, name: v[2], strings: m, ctor: v[1] === "." ? ht : v[1] === "?" ? wt : v[1] === "@" ? Dt : U });
|
|
316
316
|
} else
|
|
317
317
|
n.push({ type: 6, index: o });
|
|
318
318
|
}
|
|
@@ -675,7 +675,8 @@ const St = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLj
|
|
|
675
675
|
position: absolute;
|
|
676
676
|
left: 0;
|
|
677
677
|
top: 60px;
|
|
678
|
-
height:
|
|
678
|
+
height: auto;
|
|
679
|
+
min-height: calc(100vh - 60px);
|
|
679
680
|
width: 60%;
|
|
680
681
|
background-color: #fff;
|
|
681
682
|
max-width: 360px;
|
|
@@ -720,7 +721,7 @@ const St = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLj
|
|
|
720
721
|
}
|
|
721
722
|
|
|
722
723
|
nav a span {
|
|
723
|
-
padding: 2px 4px;
|
|
724
|
+
padding: 3px 4px 2px 4px;
|
|
724
725
|
border-bottom: 2px solid transparent;
|
|
725
726
|
transition: border-color 150ms ease;
|
|
726
727
|
width: 100%;
|
|
@@ -738,6 +739,7 @@ const St = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLj
|
|
|
738
739
|
top: initial;
|
|
739
740
|
height: initial;
|
|
740
741
|
width: initial;
|
|
742
|
+
min-height: initial;
|
|
741
743
|
background-color: initial;
|
|
742
744
|
max-width: initial;
|
|
743
745
|
box-shadow: initial;
|
|
@@ -855,7 +857,7 @@ const St = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLj
|
|
|
855
857
|
position: absolute;
|
|
856
858
|
background: black;
|
|
857
859
|
transform: rotate(45deg);
|
|
858
|
-
top:
|
|
860
|
+
top: 16px;
|
|
859
861
|
right: 5px;
|
|
860
862
|
bottom: 0px;
|
|
861
863
|
}
|
|
@@ -867,7 +869,7 @@ const St = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLj
|
|
|
867
869
|
position: absolute;
|
|
868
870
|
background: black;
|
|
869
871
|
transform: rotate(-45deg);
|
|
870
|
-
top:
|
|
872
|
+
top: 21px;
|
|
871
873
|
right: 5px;
|
|
872
874
|
bottom: 0px;
|
|
873
875
|
}
|
|
@@ -916,8 +918,8 @@ const St = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLj
|
|
|
916
918
|
}
|
|
917
919
|
}
|
|
918
920
|
`;
|
|
919
|
-
var Ot = Object.defineProperty,
|
|
920
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
921
|
+
var Ot = Object.defineProperty, mt = Object.getOwnPropertyDescriptor, Q = (M, t, e, i) => {
|
|
922
|
+
for (var s = i > 1 ? void 0 : i ? mt(t, e) : t, o = M.length - 1, L; o >= 0; o--)
|
|
921
923
|
(L = M[o]) && (s = (i ? L(t, e, s) : L(s)) || s);
|
|
922
924
|
return i && s && Ot(t, e, s), s;
|
|
923
925
|
};
|