joe-header 2.0.1 → 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 +19 -11
- 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;
|
|
@@ -689,6 +690,12 @@ const St = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLj
|
|
|
689
690
|
pointer-events: none;
|
|
690
691
|
}
|
|
691
692
|
|
|
693
|
+
@media (max-width: 300px) {
|
|
694
|
+
nav {
|
|
695
|
+
width: 80%;
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
|
|
692
699
|
nav.open {
|
|
693
700
|
transform: translateX(0);
|
|
694
701
|
opacity: 1;
|
|
@@ -714,7 +721,7 @@ const St = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLj
|
|
|
714
721
|
}
|
|
715
722
|
|
|
716
723
|
nav a span {
|
|
717
|
-
padding: 2px 4px;
|
|
724
|
+
padding: 3px 4px 2px 4px;
|
|
718
725
|
border-bottom: 2px solid transparent;
|
|
719
726
|
transition: border-color 150ms ease;
|
|
720
727
|
width: 100%;
|
|
@@ -732,6 +739,7 @@ const St = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLj
|
|
|
732
739
|
top: initial;
|
|
733
740
|
height: initial;
|
|
734
741
|
width: initial;
|
|
742
|
+
min-height: initial;
|
|
735
743
|
background-color: initial;
|
|
736
744
|
max-width: initial;
|
|
737
745
|
box-shadow: initial;
|
|
@@ -849,7 +857,7 @@ const St = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLj
|
|
|
849
857
|
position: absolute;
|
|
850
858
|
background: black;
|
|
851
859
|
transform: rotate(45deg);
|
|
852
|
-
top:
|
|
860
|
+
top: 16px;
|
|
853
861
|
right: 5px;
|
|
854
862
|
bottom: 0px;
|
|
855
863
|
}
|
|
@@ -861,7 +869,7 @@ const St = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLj
|
|
|
861
869
|
position: absolute;
|
|
862
870
|
background: black;
|
|
863
871
|
transform: rotate(-45deg);
|
|
864
|
-
top:
|
|
872
|
+
top: 21px;
|
|
865
873
|
right: 5px;
|
|
866
874
|
bottom: 0px;
|
|
867
875
|
}
|
|
@@ -910,8 +918,8 @@ const St = "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTMzOC41NyAxMzQwLj
|
|
|
910
918
|
}
|
|
911
919
|
}
|
|
912
920
|
`;
|
|
913
|
-
var Ot = Object.defineProperty,
|
|
914
|
-
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--)
|
|
915
923
|
(L = M[o]) && (s = (i ? L(t, e, s) : L(s)) || s);
|
|
916
924
|
return i && s && Ot(t, e, s), s;
|
|
917
925
|
};
|
|
@@ -943,7 +951,7 @@ let D = class extends p {
|
|
|
943
951
|
href: "https://www.joejuice.com/careers"
|
|
944
952
|
},
|
|
945
953
|
{
|
|
946
|
-
label: "
|
|
954
|
+
label: "Event Bookings",
|
|
947
955
|
href: "https://www.joejuice.com/events",
|
|
948
956
|
collapsed: [
|
|
949
957
|
{
|