@uoguelph/web-components 2.0.6 → 2.0.8-rc.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.
- package/dist/uofg-web-components/index-C6ZIYhZ_.js +139 -0
- package/dist/uofg-web-components/index-CEFM1xyC.js +7830 -0
- package/dist/uofg-web-components/{index-client-BdwUgx1v.js → index-client-Cf3Y5mtB.js} +1 -1
- package/dist/uofg-web-components/{legacy-uvpI5ERd.js → legacy-eE7eSuBp.js} +1 -1
- package/dist/uofg-web-components/{slot-Dx9arFuw.js → slot-DaIvQlrl.js} +1 -1
- package/dist/uofg-web-components/uofg-alert.esm.js +4 -4
- package/dist/uofg-web-components/uofg-back-to-top.esm.js +3 -3
- package/dist/uofg-web-components/uofg-footer.esm.js +135 -125
- package/dist/uofg-web-components/uofg-header.esm.js +5 -5
- package/dist/uofg-web-components/uofg-modal.esm.js +2 -2
- package/dist/uofg-web-components/{window-Bmgxcm5H.js → window-BAHesVQ-.js} +1 -1
- package/package.json +2 -2
- package/LICENSE.md +0 -13
- package/dist/uofg-web-components/index-DjzKNneJ.js +0 -5350
- package/dist/uofg-web-components/index-v9RZCFpF.js +0 -2631
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ap as E, a0 as R, aq as k, a6 as w, ar as A, D as u, as as p, t as T, E as h, $ as C, at as D, au as F, av as N, aw as $, ax as v, ay as H, az as O, aA as d, aB as q, aC as z, A as m, y as B, aD as G, aE as g, m as b, aF as I, aG as P, aH as S } from "./index-
|
|
1
|
+
import { ap as E, a0 as R, aq as k, a6 as w, ar as A, D as u, as as p, t as T, E as h, $ as C, at as D, au as F, av as N, aw as $, ax as v, ay as H, az as O, aA as d, aB as q, aC as z, A as m, y as B, aD as G, aE as g, m as b, aF as I, aG as P, aH as S } from "./index-CEFM1xyC.js";
|
|
2
2
|
function j(f, t, ...a) {
|
|
3
3
|
var n = f, r = w, e;
|
|
4
4
|
E(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as q, p as A, a as B, b as p, f as D, F as G, d as H, s as c, e as o, t as I, g as s, h as a, i as J, j as K, k as L, r as l } from "./index-
|
|
2
|
-
import { o as N } from "./index-client-
|
|
3
|
-
import { s as O, a as d } from "./slot-
|
|
4
|
-
import { c as P } from "./index-
|
|
1
|
+
import { c as q, p as A, a as B, b as p, f as D, F as G, d as H, s as c, e as o, t as I, g as s, h as a, i as J, j as K, k as L, r as l } from "./index-CEFM1xyC.js";
|
|
2
|
+
import { o as N } from "./index-client-Cf3Y5mtB.js";
|
|
3
|
+
import { s as O, a as d } from "./slot-DaIvQlrl.js";
|
|
4
|
+
import { c as P } from "./index-C6ZIYhZ_.js";
|
|
5
5
|
var Q = D("<div><div><!> <!></div> <div><!> <span><!></span></div> <div><!></div></div>");
|
|
6
6
|
function V(m, t) {
|
|
7
7
|
const e = O(t);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as d, c as u, p as f, f as m, F as h, t as v, m as a, i as _, j as g, n as x, g as w, u as k, h as y, o as T, q as j, e as c, r as i, v as F, b as U } from "./index-
|
|
2
|
-
import { b as q } from "./window-
|
|
3
|
-
import { c as z } from "./index-
|
|
1
|
+
import { l as d, c as u, p as f, f as m, F as h, t as v, m as a, i as _, j as g, n as x, g as w, u as k, h as y, o as T, q as j, e as c, r as i, v as F, b as U } from "./index-CEFM1xyC.js";
|
|
2
|
+
import { b as q } from "./window-BAHesVQ-.js";
|
|
3
|
+
import { c as z } from "./index-C6ZIYhZ_.js";
|
|
4
4
|
const B = () => {
|
|
5
5
|
window.scroll({ top: 0, left: 0, behavior: "smooth" });
|
|
6
6
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { o as k1 } from "./index-client-
|
|
3
|
-
import { c as R } from "./index-
|
|
4
|
-
import { h as _1, i as D, s as y1 } from "./legacy-
|
|
1
|
+
import { c as H, p as S, a as G, f as V, G as q, t as y, g as z, h as L, i as f, j as I, k as P, r, e as v, B as U, m as h, H as A, I as O, J as c1, K as n1, L as h1, M as f1, N as u1, O as v1, P as E, Q as d1, R as p1, T as F, F as g1, U as e1, V as X, s as M, W as J, X as j, Y as K, v as B, Z as Y, q as m1, _ as w1, o as x1, b as b1 } from "./index-CEFM1xyC.js";
|
|
2
|
+
import { o as k1 } from "./index-client-Cf3Y5mtB.js";
|
|
3
|
+
import { c as R } from "./index-C6ZIYhZ_.js";
|
|
4
|
+
import { h as _1, i as D, s as y1 } from "./legacy-eE7eSuBp.js";
|
|
5
5
|
var M1 = V("<li><a> </a></li>"), V1 = V("<ul></ul>");
|
|
6
6
|
function t1(d, s) {
|
|
7
|
-
|
|
7
|
+
S(s, !0);
|
|
8
8
|
let o = G(s, "links", 7);
|
|
9
9
|
const l = R({
|
|
10
10
|
slots: {
|
|
@@ -12,37 +12,37 @@ function t1(d, s) {
|
|
|
12
12
|
item: "p-3",
|
|
13
13
|
links: "text-blue decoration-transparent transition-all hover:text-blue-focus hover:underline hover:decoration-current focus:text-blue-focus focus:underline focus:decoration-current"
|
|
14
14
|
}
|
|
15
|
-
}), { base: m, item: i, links:
|
|
15
|
+
}), { base: m, item: i, links: c } = l();
|
|
16
16
|
var t = V1();
|
|
17
|
-
return
|
|
17
|
+
return q(t, 21, o, O, (n, e) => {
|
|
18
18
|
let w = () => h(e).text, _ = () => h(e).href;
|
|
19
19
|
var p = M1(), g = v(p), x = v(g, !0);
|
|
20
20
|
r(g), r(p), y(
|
|
21
|
-
(
|
|
22
|
-
|
|
21
|
+
(u, C) => {
|
|
22
|
+
L(p, 1, u), L(g, 1, C), U(g, "href", _()), A(x, w());
|
|
23
23
|
},
|
|
24
24
|
[
|
|
25
|
-
() =>
|
|
26
|
-
() =>
|
|
25
|
+
() => z(i()),
|
|
26
|
+
() => z(c())
|
|
27
27
|
]
|
|
28
|
-
),
|
|
29
|
-
}), r(t), y((
|
|
28
|
+
), f(n, p);
|
|
29
|
+
}), r(t), y((n) => L(t, 1, n), [() => z(m())]), f(d, t), I({
|
|
30
30
|
get links() {
|
|
31
31
|
return o();
|
|
32
32
|
},
|
|
33
|
-
set links(
|
|
34
|
-
o(
|
|
33
|
+
set links(n) {
|
|
34
|
+
o(n), P();
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
const
|
|
40
|
-
var
|
|
38
|
+
H(t1, { links: {} }, [], [], !0);
|
|
39
|
+
const z1 = '<svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" data-name="Layer 1" viewBox="0 0 718 78.64"><defs><style>.cls-1{fill:#fff}</style></defs><path d="M0 77.58v-5.21l7.52-1.99V7.5L0 5.68V.47L26.03 0v5.22l-7.52 2.29V70.4l7.52 1.97v5.21zM90.52 77.58v-5.21l7.52-1.98V26.56l-.82-.2-17.14 33.59-7.08.45-16.46-34.03-.82.19v43.87l7.52 1.94v5.21H39.43v-5.21l7.52-1.96V18.26l-7.52-1.81v-5.21l21.36-.47L77.9 48.56l17.86-37.31 19.83-.47v5.21l-7.52 2.3v52.1l7.52 1.98v5.21zM128.98 77.58v-5.21l7.52-2V18.24l-7.52-1.79v-5.21l19.24-.47h9.44c5.11 0 9.35.88 12.62 2.6 3.25 1.72 5.7 4.11 7.29 7.1 1.6 3.01 2.41 6.51 2.41 10.4 0 4.21-.97 8.05-2.88 11.4-1.91 3.35-4.83 6-8.68 7.88-3.87 1.89-8.89 2.85-14.9 2.85h-6.02v17.43l9.64 1.96v5.19h-28.15Zm18.52-32.3h6.12c4.85 0 8.62-1.29 11.2-3.84 2.58-2.54 3.89-6.01 3.89-10.29 0-3.95-1.09-7.1-3.25-9.36s-5.4-3.41-9.62-3.41h-8.34v26.89ZM234 77.58l-8.66-18.45c-1.15-2.56-2.22-4.58-3.16-5.99-.98-1.45-2.21-2.47-3.67-3.05-1.29-.51-3.04-.76-5.22-.76-.25 0-.52 0-.78.01h-3.99v21.02l8.58 2.02v5.2h-27.09v-5.21l7.52-1.98V18.32l-7.52-1.86v-5.22l19.44-.47h10.02c7.38 0 13.03 1.56 16.79 4.63 3.73 3.05 5.63 7.51 5.63 13.25 0 5.26-1.63 9.63-4.85 13.01-2.5 2.62-6.15 4.46-10.86 5.46l-.03.84c.75.21 1.32.42 1.81.65 1.54.74 2.84 1.76 3.85 3.02 1.03 1.28 2.04 2.86 2.99 4.7l7.25 14.22 5.72 1.8v5.23h-13.75Zm-25.48-35.67h6.79c4.96 0 8.8-1.05 11.4-3.13 2.63-2.1 3.97-5.21 3.97-9.25 0-3.52-1.07-6.28-3.18-8.22-2.09-1.93-5.32-2.91-9.59-2.91h-9.4v23.52ZM287.04 78.64c-5.81 0-10.96-1.28-15.3-3.79-4.34-2.52-7.77-6.31-10.19-11.29-2.43-4.99-3.67-11.26-3.67-18.61 0-5.84.77-11.03 2.29-15.43 1.52-4.39 3.69-8.1 6.46-11.03 2.77-2.93 6.07-5.15 9.82-6.59 3.75-1.45 7.96-2.19 12.52-2.19s8.51.72 12.13 2.14c3.62 1.42 6.78 3.54 9.39 6.31 2.61 2.77 4.69 6.26 6.17 10.36 1.49 4.11 2.24 8.96 2.24 14.41 0 7.48-1.36 13.95-4.05 19.23-2.68 5.27-6.44 9.38-11.16 12.21-4.73 2.84-10.33 4.28-16.65 4.28ZM288.39 18c-3.47 0-6.67.86-9.52 2.57-2.87 1.71-5.13 4.56-6.73 8.45-1.59 3.85-2.4 9.08-2.4 15.54 0 6 .76 10.96 2.25 14.72 1.5 3.79 3.65 6.62 6.38 8.4 2.72 1.77 5.93 2.67 9.54 2.67s6.78-.9 9.63-2.67c2.86-1.77 5.18-4.66 6.92-8.58 1.72-3.9 2.59-9.15 2.59-15.6 0-6.01-.81-10.94-2.4-14.68-1.6-3.76-3.82-6.54-6.58-8.25-2.76-1.71-6.01-2.57-9.67-2.57ZM351.84 77.67l-20.08-59.58-6.6-1.63v-5.22l26.71-.46v5.2l-7.79 1.98 14.7 48.44 16.09-48.17-7.77-1.78v-5.21l24.29-.46v5.2l-6.5 1.77-21.13 59.92zM399.59 77.58v-5.21l7.51-1.98V18.28l-7.51-1.82v-5.22l18.76-.47h29.05v15.81h-6.34l-1.51-8.1H418.1v21.31h15.64l1.38-5.2h4.91v17.83h-4.91l-1.37-5.21H418.1v22.65h22.64l1.58-8.77h6.24l-.09 16.49zM482.44 77.58v-5.21l7.52-1.94V7.46l-7.52-1.78V.47L509.25 0v5.21l-8.29 2.23v62.42h24.01l1.8-10.8h6.24v18.52zM544.77 77.58v-5.21l7.51-1.99v-52.1l-7.51-1.83v-5.21l26.03-.46v5.21l-7.52 2.29v52.13l7.52 1.96v5.21zM584.19 77.58v-5.21l7.52-1.96V18.34l-7.52-1.88v-5.22l18.77-.47h28.38l.09 15.91h-6.34l-1.49-8.2h-20.89v21.79h15.13l1.35-5.06h4.9v17.82h-4.9l-1.33-5.05h-15.15V70.4l9.35 1.98v5.2zM641.17 77.58v-5.21l7.52-1.98V18.28l-7.52-1.82v-5.22l18.76-.47h29.06v15.81h-6.35l-1.51-8.1h-21.45v21.31h15.68l1.38-5.2h4.91v17.83h-4.91l-1.37-5.21h-15.69v22.65h22.64l1.58-8.77h6.24l-.09 16.49zM711.68 78.35c-1.93 0-3.5-.57-4.66-1.71-1.18-1.15-1.75-2.62-1.75-4.51s.63-3.35 1.93-4.5c1.31-1.16 2.78-1.72 4.49-1.72 1.93 0 3.48.57 4.61 1.7 1.13 1.13 1.71 2.65 1.71 4.52s-.62 3.35-1.88 4.5c-1.26 1.14-2.75 1.72-4.43 1.72Z" class="cls-1"/></svg>';
|
|
40
|
+
var L1 = V('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="row-span-2 flex h-[4.8rem] w-full overflow-hidden transition-opacity hover:opacity-75 focus:opacity-75 md:h-[3.5em] [&>svg]:block [&>svg]:h-full [&>svg]:w-full [&>svg]:max-w-[25rem]"><!></a>');
|
|
41
41
|
function s1(d) {
|
|
42
|
-
var s =
|
|
43
|
-
_1(o, () =>
|
|
42
|
+
var s = L1(), o = v(s);
|
|
43
|
+
_1(o, () => z1), r(s), f(d, s);
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
H(s1, {}, [], [], !0);
|
|
46
46
|
/*!
|
|
47
47
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
48
48
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
@@ -52,22 +52,26 @@ const C1 = {
|
|
|
52
52
|
prefix: "fab",
|
|
53
53
|
iconName: "linkedin-in",
|
|
54
54
|
icon: [448, 512, [], "f0e1", "M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"]
|
|
55
|
-
},
|
|
55
|
+
}, A1 = {
|
|
56
56
|
prefix: "fab",
|
|
57
57
|
iconName: "facebook-f",
|
|
58
58
|
icon: [320, 512, [], "f39e", "M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z"]
|
|
59
|
-
},
|
|
59
|
+
}, H1 = {
|
|
60
60
|
prefix: "fab",
|
|
61
61
|
iconName: "x-twitter",
|
|
62
62
|
icon: [512, 512, [], "e61b", "M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"]
|
|
63
|
-
},
|
|
63
|
+
}, N1 = {
|
|
64
64
|
prefix: "fab",
|
|
65
65
|
iconName: "tiktok",
|
|
66
66
|
icon: [448, 512, [], "e07b", "M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"]
|
|
67
|
-
},
|
|
67
|
+
}, F1 = {
|
|
68
68
|
prefix: "fab",
|
|
69
69
|
iconName: "instagram",
|
|
70
70
|
icon: [448, 512, [], "f16d", "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]
|
|
71
|
+
}, $1 = {
|
|
72
|
+
prefix: "fab",
|
|
73
|
+
iconName: "bluesky",
|
|
74
|
+
icon: [512, 512, [], "e671", "M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z"]
|
|
71
75
|
}, S1 = {
|
|
72
76
|
prefix: "fab",
|
|
73
77
|
iconName: "youtube",
|
|
@@ -77,19 +81,19 @@ const C1 = {
|
|
|
77
81
|
links: [
|
|
78
82
|
{
|
|
79
83
|
text: "X",
|
|
80
|
-
icon:
|
|
84
|
+
icon: H1,
|
|
81
85
|
href: "https://twitter.com/uofg",
|
|
82
86
|
classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
|
|
83
87
|
},
|
|
84
88
|
{
|
|
85
89
|
text: "Facebook",
|
|
86
|
-
icon:
|
|
90
|
+
icon: A1,
|
|
87
91
|
href: "https://www.facebook.com/uofguelph",
|
|
88
92
|
classes: "focus:text-white hover:text-white focus:bg-[#0866ff] hover:bg-[#0866ff]"
|
|
89
93
|
},
|
|
90
94
|
{
|
|
91
95
|
text: "Instagram",
|
|
92
|
-
icon:
|
|
96
|
+
icon: F1,
|
|
93
97
|
href: "https://www.instagram.com/uofguelph/",
|
|
94
98
|
classes: "focus:text-white hover:text-white focus:bg-[#d62976] hover:bg-[#d62976]"
|
|
95
99
|
},
|
|
@@ -103,24 +107,30 @@ const C1 = {
|
|
|
103
107
|
text: "LinkedIn",
|
|
104
108
|
icon: C1,
|
|
105
109
|
href: "https://www.linkedin.com/school/university-of-guelph/",
|
|
106
|
-
classes: "focus:text-white hover:text-white focus:bg-[#
|
|
110
|
+
classes: "focus:text-white hover:text-white focus:bg-[#006AFF] hover:bg-[#006AFF]"
|
|
107
111
|
},
|
|
108
112
|
{
|
|
109
113
|
text: "TikTok",
|
|
110
|
-
icon:
|
|
114
|
+
icon: N1,
|
|
111
115
|
href: "https://www.tiktok.com/@uofguelph",
|
|
112
116
|
classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
text: "Bluesky",
|
|
120
|
+
icon: $1,
|
|
121
|
+
href: "https://bsky.app/profile/uofguelph.bsky.social",
|
|
122
|
+
classes: "focus:text-white hover:text-white focus:bg-[#0a66c2] hover:bg-[#0a66c2]"
|
|
113
123
|
}
|
|
114
124
|
]
|
|
115
125
|
}, Q = [
|
|
116
126
|
{
|
|
117
127
|
text: "Accessibility",
|
|
118
|
-
icon:
|
|
128
|
+
icon: c1,
|
|
119
129
|
href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
|
|
120
130
|
},
|
|
121
131
|
{
|
|
122
132
|
text: "Privacy",
|
|
123
|
-
icon:
|
|
133
|
+
icon: n1,
|
|
124
134
|
href: "https://www.uoguelph.ca/web/privacy/"
|
|
125
135
|
},
|
|
126
136
|
{
|
|
@@ -130,12 +140,12 @@ const C1 = {
|
|
|
130
140
|
},
|
|
131
141
|
{
|
|
132
142
|
text: "IT Status",
|
|
133
|
-
icon:
|
|
143
|
+
icon: f1,
|
|
134
144
|
href: "https://uoguelph.statuspage.io/"
|
|
135
145
|
},
|
|
136
146
|
{
|
|
137
147
|
text: "Land Acknowledgement",
|
|
138
|
-
icon:
|
|
148
|
+
icon: u1,
|
|
139
149
|
href: "https://www.uoguelph.ca/land-acknowledgement/",
|
|
140
150
|
attributes: {
|
|
141
151
|
title: "The University of Guelph resides on the treaty lands and territory of the Mississaugas of the Credit. We recognize that today this gathering place is home to many First Nations, Inuit and Métis peoples and acknowledging them reminds us of our collective responsibility to the land where we learn and work."
|
|
@@ -166,16 +176,16 @@ const C1 = {
|
|
|
166
176
|
icon: p1,
|
|
167
177
|
href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
|
|
168
178
|
}
|
|
169
|
-
],
|
|
179
|
+
], N = {
|
|
170
180
|
title: "University of Guelph",
|
|
171
181
|
street: "50 Stone Road East",
|
|
172
182
|
city: "Guelph",
|
|
173
183
|
postalCode: "N1G 2W1",
|
|
174
184
|
phoneNumber: "519-824-4120"
|
|
175
185
|
};
|
|
176
|
-
var
|
|
186
|
+
var I1 = V("<li><a><!></a></li>"), T1 = V("<ul></ul>");
|
|
177
187
|
function r1(d, s) {
|
|
178
|
-
|
|
188
|
+
S(s, !1);
|
|
179
189
|
const o = R({
|
|
180
190
|
slots: {
|
|
181
191
|
base: "flex gap-2 text-lg [&>li]:contents",
|
|
@@ -183,35 +193,35 @@ function r1(d, s) {
|
|
|
183
193
|
}
|
|
184
194
|
}), { base: l, links: m } = o();
|
|
185
195
|
D();
|
|
186
|
-
var i =
|
|
187
|
-
|
|
196
|
+
var i = T1();
|
|
197
|
+
q(i, 5, () => a1.links, O, (c, t, n, e) => {
|
|
188
198
|
let w = () => h(t).href, _ = () => h(t).text, p = () => h(t).icon, g = () => h(t).classes;
|
|
189
|
-
var x =
|
|
199
|
+
var x = I1(), u = v(x), C = v(u);
|
|
190
200
|
g1(C, {
|
|
191
201
|
get icon() {
|
|
192
202
|
return p();
|
|
193
203
|
}
|
|
194
|
-
}), r(
|
|
204
|
+
}), r(u), r(x), y(
|
|
195
205
|
(a) => {
|
|
196
|
-
U(
|
|
206
|
+
U(u, "href", w()), U(u, "aria-label", _()), L(u, 1, a);
|
|
197
207
|
},
|
|
198
208
|
[
|
|
199
|
-
() =>
|
|
209
|
+
() => z(e1(m(), g()))
|
|
200
210
|
],
|
|
201
|
-
|
|
202
|
-
),
|
|
203
|
-
}), r(i), y((
|
|
211
|
+
F
|
|
212
|
+
), f(c, x);
|
|
213
|
+
}), r(i), y((c) => L(i, 1, c), [() => z(l())], F), f(d, i), I();
|
|
204
214
|
}
|
|
205
|
-
|
|
206
|
-
var
|
|
207
|
-
function
|
|
208
|
-
|
|
215
|
+
H(r1, {}, [], [], !0);
|
|
216
|
+
var Z1 = V("<a><!></a>");
|
|
217
|
+
function $(d, s) {
|
|
218
|
+
S(s, !0);
|
|
209
219
|
let o = G(s, "href", 7), l = G(s, "label", 7), m = G(s, "children", 7), i = G(s, "class", 7);
|
|
210
|
-
const
|
|
211
|
-
var t =
|
|
212
|
-
return y1(
|
|
213
|
-
|
|
214
|
-
}),
|
|
220
|
+
const c = e1("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", i());
|
|
221
|
+
var t = Z1(), n = v(t);
|
|
222
|
+
return y1(n, m), r(t), y(() => {
|
|
223
|
+
L(t, 1, z(c)), U(t, "href", o()), U(t, "aria-label", l() ?? void 0);
|
|
224
|
+
}), f(d, t), I({
|
|
215
225
|
get href() {
|
|
216
226
|
return o();
|
|
217
227
|
},
|
|
@@ -238,8 +248,8 @@ function S(d, s) {
|
|
|
238
248
|
}
|
|
239
249
|
});
|
|
240
250
|
}
|
|
241
|
-
|
|
242
|
-
|
|
251
|
+
H(
|
|
252
|
+
$,
|
|
243
253
|
{
|
|
244
254
|
href: {},
|
|
245
255
|
label: {},
|
|
@@ -250,9 +260,9 @@ N(
|
|
|
250
260
|
[],
|
|
251
261
|
!0
|
|
252
262
|
);
|
|
253
|
-
var
|
|
263
|
+
var G1 = V("<li><!></li>"), P1 = V("<li><!></li>"), U1 = V("<ul></ul> <ul></ul>", 1);
|
|
254
264
|
function o1(d, s) {
|
|
255
|
-
|
|
265
|
+
S(s, !1);
|
|
256
266
|
const o = R({
|
|
257
267
|
slots: {
|
|
258
268
|
list: "grid grid-rows-5 items-center gap-0 not-italic",
|
|
@@ -260,15 +270,15 @@ function o1(d, s) {
|
|
|
260
270
|
}
|
|
261
271
|
}), { list: l, link: m } = o();
|
|
262
272
|
D();
|
|
263
|
-
var i =
|
|
264
|
-
|
|
273
|
+
var i = U1(), c = X(i);
|
|
274
|
+
q(c, 5, () => Q, O, (n, e, w) => {
|
|
265
275
|
let _ = () => h(e).href, p = () => h(e).attributes, g = () => h(e).text;
|
|
266
|
-
var x = J(),
|
|
276
|
+
var x = J(), u = X(x);
|
|
267
277
|
{
|
|
268
278
|
var C = (a) => {
|
|
269
|
-
var b =
|
|
270
|
-
const T =
|
|
271
|
-
|
|
279
|
+
var b = G1(), k = v(b);
|
|
280
|
+
const T = F(m);
|
|
281
|
+
$(k, K(
|
|
272
282
|
{
|
|
273
283
|
get class() {
|
|
274
284
|
return h(T);
|
|
@@ -280,29 +290,29 @@ function o1(d, s) {
|
|
|
280
290
|
p,
|
|
281
291
|
{
|
|
282
292
|
children: (W, i1) => {
|
|
283
|
-
|
|
284
|
-
var Z =
|
|
285
|
-
y(() =>
|
|
293
|
+
B();
|
|
294
|
+
var Z = Y();
|
|
295
|
+
y(() => A(Z, g())), f(W, Z);
|
|
286
296
|
},
|
|
287
297
|
$$slots: { default: !0 }
|
|
288
298
|
}
|
|
289
|
-
)), r(b),
|
|
299
|
+
)), r(b), f(a, b);
|
|
290
300
|
};
|
|
291
|
-
j(
|
|
301
|
+
j(u, (a) => {
|
|
292
302
|
w % 2 === 0 && a(C);
|
|
293
303
|
});
|
|
294
304
|
}
|
|
295
|
-
|
|
296
|
-
}), r(
|
|
297
|
-
var t = M(
|
|
298
|
-
|
|
305
|
+
f(n, x);
|
|
306
|
+
}), r(c);
|
|
307
|
+
var t = M(c, 2);
|
|
308
|
+
q(t, 5, () => Q, O, (n, e, w) => {
|
|
299
309
|
let _ = () => h(e).href, p = () => h(e).attributes, g = () => h(e).text;
|
|
300
|
-
var x = J(),
|
|
310
|
+
var x = J(), u = X(x);
|
|
301
311
|
{
|
|
302
312
|
var C = (a) => {
|
|
303
|
-
var b =
|
|
304
|
-
const T =
|
|
305
|
-
|
|
313
|
+
var b = P1(), k = v(b);
|
|
314
|
+
const T = F(m);
|
|
315
|
+
$(k, K(
|
|
306
316
|
{
|
|
307
317
|
get class() {
|
|
308
318
|
return h(T);
|
|
@@ -314,62 +324,62 @@ function o1(d, s) {
|
|
|
314
324
|
p,
|
|
315
325
|
{
|
|
316
326
|
children: (W, i1) => {
|
|
317
|
-
|
|
318
|
-
var Z =
|
|
319
|
-
y(() =>
|
|
327
|
+
B();
|
|
328
|
+
var Z = Y();
|
|
329
|
+
y(() => A(Z, g())), f(W, Z);
|
|
320
330
|
},
|
|
321
331
|
$$slots: { default: !0 }
|
|
322
332
|
}
|
|
323
|
-
)), r(b),
|
|
333
|
+
)), r(b), f(a, b);
|
|
324
334
|
};
|
|
325
|
-
j(
|
|
335
|
+
j(u, (a) => {
|
|
326
336
|
w % 2 !== 0 && a(C);
|
|
327
337
|
});
|
|
328
338
|
}
|
|
329
|
-
|
|
339
|
+
f(n, x);
|
|
330
340
|
}), r(t), y(
|
|
331
|
-
(
|
|
332
|
-
|
|
341
|
+
(n, e) => {
|
|
342
|
+
L(c, 1, n), L(t, 1, e);
|
|
333
343
|
},
|
|
334
344
|
[
|
|
335
|
-
() =>
|
|
336
|
-
() =>
|
|
345
|
+
() => z(l()),
|
|
346
|
+
() => z(l())
|
|
337
347
|
],
|
|
338
|
-
|
|
339
|
-
),
|
|
348
|
+
F
|
|
349
|
+
), f(d, i), I();
|
|
340
350
|
}
|
|
341
|
-
|
|
342
|
-
var
|
|
351
|
+
H(o1, {}, [], [], !0);
|
|
352
|
+
var B1 = V('<address class="mt-6 grid grid-rows-5 items-center gap-0 not-italic md:col-[2] md:row-[1] md:mt-0 lg:col-[4] lg:row-[1]"><strong> </strong> <span> </span> <span> </span> <span> </span> <!></address>');
|
|
343
353
|
function l1(d, s) {
|
|
344
|
-
|
|
345
|
-
var o =
|
|
354
|
+
S(s, !1), D();
|
|
355
|
+
var o = B1(), l = v(o), m = v(l, !0);
|
|
346
356
|
r(l);
|
|
347
|
-
var i = M(l, 2),
|
|
357
|
+
var i = M(l, 2), c = v(i);
|
|
348
358
|
r(i);
|
|
349
|
-
var t = M(i, 2),
|
|
359
|
+
var t = M(i, 2), n = v(t);
|
|
350
360
|
r(t);
|
|
351
361
|
var e = M(t, 2), w = v(e, !0);
|
|
352
362
|
r(e);
|
|
353
363
|
var _ = M(e, 2);
|
|
354
|
-
const p =
|
|
355
|
-
|
|
364
|
+
const p = F(() => `tel:${N.phoneNumber}`);
|
|
365
|
+
$(_, {
|
|
356
366
|
get href() {
|
|
357
367
|
return h(p);
|
|
358
368
|
},
|
|
359
369
|
children: (g, x) => {
|
|
360
|
-
|
|
361
|
-
var
|
|
362
|
-
y(() =>
|
|
370
|
+
B();
|
|
371
|
+
var u = Y();
|
|
372
|
+
y(() => A(u, N.phoneNumber)), f(g, u);
|
|
363
373
|
},
|
|
364
374
|
$$slots: { default: !0 }
|
|
365
375
|
}), r(o), y(() => {
|
|
366
|
-
|
|
367
|
-
}),
|
|
376
|
+
A(m, N.title), A(c, `${N.street},`), A(n, `${N.city}, Ontario, Canada`), A(w, N.postalCode);
|
|
377
|
+
}), f(d, o), I();
|
|
368
378
|
}
|
|
369
|
-
|
|
379
|
+
H(l1, {}, [], [], !0);
|
|
370
380
|
var Y1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
|
|
371
381
|
function q1(d, s) {
|
|
372
|
-
|
|
382
|
+
S(s, !0);
|
|
373
383
|
const o = R({
|
|
374
384
|
slots: {
|
|
375
385
|
footer: "flex flex-col content-center gap-0 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-12 text-black-contrast md:grid md:grid-cols-2 md:gap-6 lg:grid-cols-4",
|
|
@@ -395,9 +405,9 @@ function q1(d, s) {
|
|
|
395
405
|
};
|
|
396
406
|
});
|
|
397
407
|
const { footer: m, wrapper: i } = o();
|
|
398
|
-
var
|
|
408
|
+
var c = Y1(), t = v(c);
|
|
399
409
|
{
|
|
400
|
-
var
|
|
410
|
+
var n = (a) => {
|
|
401
411
|
t1(a, {
|
|
402
412
|
get links() {
|
|
403
413
|
return h(l);
|
|
@@ -405,7 +415,7 @@ function q1(d, s) {
|
|
|
405
415
|
});
|
|
406
416
|
};
|
|
407
417
|
j(t, (a) => {
|
|
408
|
-
Array.isArray(h(l)) && h(l).length > 0 && a(
|
|
418
|
+
Array.isArray(h(l)) && h(l).length > 0 && a(n);
|
|
409
419
|
});
|
|
410
420
|
}
|
|
411
421
|
var e = M(t, 2), w = v(e), _ = v(w);
|
|
@@ -413,41 +423,41 @@ function q1(d, s) {
|
|
|
413
423
|
var p = M(_, 2);
|
|
414
424
|
r1(p, {});
|
|
415
425
|
var g = M(p, 2);
|
|
416
|
-
|
|
426
|
+
$(g, {
|
|
417
427
|
get href() {
|
|
418
428
|
return a1.directory;
|
|
419
429
|
},
|
|
420
430
|
children: (a, b) => {
|
|
421
|
-
|
|
422
|
-
var k =
|
|
423
|
-
|
|
431
|
+
B();
|
|
432
|
+
var k = Y("Social Media Directory");
|
|
433
|
+
f(a, k);
|
|
424
434
|
},
|
|
425
435
|
$$slots: { default: !0 }
|
|
426
436
|
});
|
|
427
437
|
var x = M(g, 2);
|
|
428
|
-
|
|
438
|
+
$(x, {
|
|
429
439
|
href: "https://www.uoguelph.ca/web/",
|
|
430
440
|
children: (a, b) => {
|
|
431
|
-
|
|
432
|
-
var k =
|
|
433
|
-
y((T) =>
|
|
441
|
+
B();
|
|
442
|
+
var k = Y();
|
|
443
|
+
y((T) => A(k, `© ${T ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), f(a, k);
|
|
434
444
|
},
|
|
435
445
|
$$slots: { default: !0 }
|
|
436
446
|
}), r(w);
|
|
437
|
-
var
|
|
438
|
-
o1(
|
|
439
|
-
var C = M(
|
|
440
|
-
l1(C, {}), r(e), r(
|
|
447
|
+
var u = M(w, 2);
|
|
448
|
+
o1(u, {});
|
|
449
|
+
var C = M(u, 2);
|
|
450
|
+
l1(C, {}), r(e), r(c), y(
|
|
441
451
|
(a, b) => {
|
|
442
|
-
|
|
452
|
+
L(e, 1, a), L(w, 1, b);
|
|
443
453
|
},
|
|
444
454
|
[
|
|
445
|
-
() =>
|
|
446
|
-
() =>
|
|
455
|
+
() => z(m()),
|
|
456
|
+
() => z(i())
|
|
447
457
|
]
|
|
448
|
-
),
|
|
458
|
+
), f(d, c), I();
|
|
449
459
|
}
|
|
450
|
-
customElements.define("uofg-footer",
|
|
460
|
+
customElements.define("uofg-footer", H(q1, {}, [], [], !0, (d) => class extends d {
|
|
451
461
|
constructor() {
|
|
452
462
|
super(), b1(this.shadowRoot);
|
|
453
463
|
}
|
|
@@ -5,11 +5,11 @@ var j1 = (e) => {
|
|
|
5
5
|
var n2 = (e, t, a) => t in e ? c2(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
6
6
|
var N1 = (e, t, a) => n2(e, typeof t != "symbol" ? t + "" : t, a), $1 = (e, t, a) => t.has(e) || j1("Cannot " + a);
|
|
7
7
|
var O = (e, t, a) => ($1(e, t, "read from private field"), a ? a.call(e) : t.get(e)), f1 = (e, t, a) => t.has(e) ? j1("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), M1 = (e, t, a, l) => ($1(e, t, "write to private field"), l ? l.call(e, a) : t.set(e, a), a), A1 = (e, t, a) => ($1(e, t, "access private method"), a);
|
|
8
|
-
import { w as C1, y as S1, $ as P1, a0 as i2, a1 as v2, a2 as u2, a3 as h2, a4 as f2, a5 as d2, z as p2, a6 as X, a7 as T1, a8 as E1, a9 as g2, aa as b2, c as H, p as G, a as A, ab as U1, f as Z, s as E, e as $, X as j, t as S, ac as x2, i as _, j as q, k as P, ad as u1, ae as B1, af as h1, r as x, ag as W1, W as c1, V as a1, h as T, g as U, B as Y, l as m2, ah as w1, H as N, ai as w2, aj as _2, G as W, T as B, m as r, ak as r1, F as R, al as _1, I as i1, am as H1, U as R1, A as G1, q as n1, o as Q, _ as y2, b as $2 } from "./index-
|
|
9
|
-
import { o as q1 } from "./index-client-
|
|
10
|
-
import { a as M2 } from "./window-
|
|
11
|
-
import { s as Z1, i as y1, h as b1 } from "./legacy-
|
|
12
|
-
import { c as z1 } from "./index-
|
|
8
|
+
import { w as C1, y as S1, $ as P1, a0 as i2, a1 as v2, a2 as u2, a3 as h2, a4 as f2, a5 as d2, z as p2, a6 as X, a7 as T1, a8 as E1, a9 as g2, aa as b2, c as H, p as G, a as A, ab as U1, f as Z, s as E, e as $, X as j, t as S, ac as x2, i as _, j as q, k as P, ad as u1, ae as B1, af as h1, r as x, ag as W1, W as c1, V as a1, h as T, g as U, B as Y, l as m2, ah as w1, H as N, ai as w2, aj as _2, G as W, T as B, m as r, ak as r1, F as R, al as _1, I as i1, am as H1, U as R1, A as G1, q as n1, o as Q, _ as y2, b as $2 } from "./index-CEFM1xyC.js";
|
|
9
|
+
import { o as q1 } from "./index-client-Cf3Y5mtB.js";
|
|
10
|
+
import { a as M2 } from "./window-BAHesVQ-.js";
|
|
11
|
+
import { s as Z1, i as y1, h as b1 } from "./legacy-eE7eSuBp.js";
|
|
12
|
+
import { c as z1 } from "./index-C6ZIYhZ_.js";
|
|
13
13
|
function k2(e, t, a) {
|
|
14
14
|
C1(() => {
|
|
15
15
|
var l = S1(() => t(e, a == null ? void 0 : a()) || {});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { w as z, x as j, y as R, z as U, S as K, l as L, c as M, p as N, a as o, A as E, f as V, B as y, e as k, F as Y, C as G, s as H, t as I, g as w, h as x, i as J, j as P, k as l, r as _, b as Q } from "./index-
|
|
2
|
-
import { a as W } from "./slot-
|
|
1
|
+
import { w as z, x as j, y as R, z as U, S as K, l as L, c as M, p as N, a as o, A as E, f as V, B as y, e as k, F as Y, C as G, s as H, t as I, g as w, h as x, i as J, j as P, k as l, r as _, b as Q } from "./index-CEFM1xyC.js";
|
|
2
|
+
import { a as W } from "./slot-DaIvQlrl.js";
|
|
3
3
|
function B(n, t) {
|
|
4
4
|
return n === t || (n == null ? void 0 : n[K]) === t;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as n, x as u, w as d, an as f, ao as v } from "./index-
|
|
1
|
+
import { a4 as n, x as u, w as d, an as f, ao as v } from "./index-CEFM1xyC.js";
|
|
2
2
|
function m(a, e, c = e) {
|
|
3
3
|
var w = a === "x", s = () => n(() => {
|
|
4
4
|
r = !0, clearTimeout(t), t = setTimeout(l, 100), c(window[w ? "scrollX" : "scrollY"]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uoguelph/web-components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8-rc.0",
|
|
4
4
|
"description": "University of Guelph Web Components Library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"bugs": {
|
|
51
51
|
"url": "https://github.com/ccswbs/uofg-components/issues"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "1c8fe9f548ce181a1c5e7f824270a26523a25b4d"
|
|
54
54
|
}
|
package/LICENSE.md
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
* Copyright (c) 2025 University of Guelph <websites@uoguelph.ca>
|
|
2
|
-
*
|
|
3
|
-
* Permission to use, copy, modify, and distribute this software for any
|
|
4
|
-
* purpose with or without fee is hereby granted, provided that the above
|
|
5
|
-
* copyright notice and this permission notice appear in all copies.
|
|
6
|
-
*
|
|
7
|
-
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
8
|
-
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
9
|
-
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
10
|
-
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
11
|
-
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
12
|
-
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
13
|
-
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|