@uoguelph/web-components 2.0.5 → 2.0.7-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-4w29lsVl.js +7830 -0
- package/dist/uofg-web-components/index-DffSTH20.js +139 -0
- package/dist/uofg-web-components/{index-client-BdwUgx1v.js → index-client-CfhfDutb.js} +1 -1
- package/dist/uofg-web-components/{legacy-uvpI5ERd.js → legacy-Ct81Akw5.js} +1 -1
- package/dist/uofg-web-components/{slot-Dx9arFuw.js → slot-Dh9eJZBZ.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 +162 -152
- package/dist/uofg-web-components/uofg-header.esm.js +6 -6
- package/dist/uofg-web-components/uofg-modal.esm.js +2 -2
- package/dist/uofg-web-components/{window-Bmgxcm5H.js → window-BJE-Trkt.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,48 +1,48 @@
|
|
|
1
|
-
import { c as N, p as F, a 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 N, p as F, 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, 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 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-4w29lsVl.js";
|
|
2
|
+
import { o as k1 } from "./index-client-CfhfDutb.js";
|
|
3
|
+
import { c as R } from "./index-DffSTH20.js";
|
|
4
|
+
import { h as _1, i as D, s as y1 } from "./legacy-Ct81Akw5.js";
|
|
5
5
|
var M1 = V("<li><a> </a></li>"), V1 = V("<ul></ul>");
|
|
6
|
-
function t1(d,
|
|
7
|
-
F(
|
|
8
|
-
let o =
|
|
6
|
+
function t1(d, s) {
|
|
7
|
+
F(s, !0);
|
|
8
|
+
let o = G(s, "links", 7);
|
|
9
9
|
const l = R({
|
|
10
10
|
slots: {
|
|
11
11
|
base: "flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]",
|
|
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:
|
|
15
|
+
}), { base: m, item: i, links: c } = l();
|
|
16
16
|
var t = V1();
|
|
17
|
-
return
|
|
18
|
-
let
|
|
17
|
+
return q(t, 21, o, O, (n, e) => {
|
|
18
|
+
let w = () => h(e).text, _ = () => h(e).href;
|
|
19
19
|
var p = M1(), g = v(p), x = v(g, !0);
|
|
20
|
-
|
|
21
|
-
(
|
|
22
|
-
|
|
20
|
+
r(g), r(p), y(
|
|
21
|
+
(u, C) => {
|
|
22
|
+
L(p, 1, u), L(g, 1, C), U(g, "href", _()), H(x, w());
|
|
23
23
|
},
|
|
24
24
|
[
|
|
25
|
-
() =>
|
|
26
|
-
() =>
|
|
25
|
+
() => z(i()),
|
|
26
|
+
() => z(c())
|
|
27
27
|
]
|
|
28
|
-
),
|
|
29
|
-
}),
|
|
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
38
|
N(t1, { links: {} }, [], [], !0);
|
|
39
|
-
const
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
var
|
|
43
|
-
_1(o, () =>
|
|
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
|
+
function s1(d) {
|
|
42
|
+
var s = L1(), o = v(s);
|
|
43
|
+
_1(o, () => z1), r(s), f(d, s);
|
|
44
44
|
}
|
|
45
|
-
N(
|
|
45
|
+
N(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)
|
|
@@ -60,15 +60,19 @@ const C1 = {
|
|
|
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
|
+
}, A1 = {
|
|
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
|
+
}, $1 = {
|
|
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
71
|
}, S1 = {
|
|
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"]
|
|
75
|
+
}, F1 = {
|
|
72
76
|
prefix: "fab",
|
|
73
77
|
iconName: "youtube",
|
|
74
78
|
icon: [576, 512, [61802], "f167", "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"]
|
|
@@ -89,13 +93,13 @@ const C1 = {
|
|
|
89
93
|
},
|
|
90
94
|
{
|
|
91
95
|
text: "Instagram",
|
|
92
|
-
icon:
|
|
96
|
+
icon: $1,
|
|
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
|
},
|
|
96
100
|
{
|
|
97
101
|
text: "Youtube",
|
|
98
|
-
icon:
|
|
102
|
+
icon: F1,
|
|
99
103
|
href: "https://www.youtube.com/user/uofguelph",
|
|
100
104
|
classes: "focus:text-white hover:text-white focus:bg-[#ff0000] hover:bg-[#ff0000]"
|
|
101
105
|
},
|
|
@@ -107,20 +111,26 @@ const C1 = {
|
|
|
107
111
|
},
|
|
108
112
|
{
|
|
109
113
|
text: "TikTok",
|
|
110
|
-
icon:
|
|
114
|
+
icon: A1,
|
|
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: S1,
|
|
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
|
{
|
|
@@ -129,13 +139,13 @@ const C1 = {
|
|
|
129
139
|
href: "https://www.uoguelph.ca/sitemap"
|
|
130
140
|
},
|
|
131
141
|
{
|
|
132
|
-
text: "Status
|
|
133
|
-
icon:
|
|
142
|
+
text: "IT Status",
|
|
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."
|
|
@@ -147,14 +157,14 @@ const C1 = {
|
|
|
147
157
|
href: "https://careers.uoguelph.ca/"
|
|
148
158
|
},
|
|
149
159
|
{
|
|
150
|
-
text: "
|
|
160
|
+
text: "Academic Calendar",
|
|
151
161
|
icon: E,
|
|
152
|
-
href: "https://
|
|
162
|
+
href: "https://calendar.uoguelph.ca/"
|
|
153
163
|
},
|
|
154
164
|
{
|
|
155
|
-
text: "
|
|
165
|
+
text: "Campus Status",
|
|
156
166
|
icon: E,
|
|
157
|
-
href: "https://www.uoguelph.ca/
|
|
167
|
+
href: "https://www.uoguelph.ca/campus-status/"
|
|
158
168
|
},
|
|
159
169
|
{
|
|
160
170
|
text: "Admission",
|
|
@@ -166,75 +176,75 @@ const C1 = {
|
|
|
166
176
|
icon: p1,
|
|
167
177
|
href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
|
|
168
178
|
}
|
|
169
|
-
],
|
|
179
|
+
], A = {
|
|
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
|
|
177
|
-
function
|
|
178
|
-
F(
|
|
186
|
+
var I1 = V("<li><a><!></a></li>"), T1 = V("<ul></ul>");
|
|
187
|
+
function r1(d, s) {
|
|
188
|
+
F(s, !1);
|
|
179
189
|
const o = R({
|
|
180
190
|
slots: {
|
|
181
191
|
base: "flex gap-2 text-lg [&>li]:contents",
|
|
182
192
|
links: "p-0.5 transition-colors [&>*]:aspect-square"
|
|
183
193
|
}
|
|
184
|
-
}), { base: l, links:
|
|
194
|
+
}), { base: l, links: m } = o();
|
|
185
195
|
D();
|
|
186
|
-
var i =
|
|
187
|
-
|
|
188
|
-
let
|
|
189
|
-
var x =
|
|
196
|
+
var i = T1();
|
|
197
|
+
q(i, 5, () => a1.links, O, (c, t, n, e) => {
|
|
198
|
+
let w = () => h(t).href, _ = () => h(t).text, p = () => h(t).icon, g = () => h(t).classes;
|
|
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
|
-
}),
|
|
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
|
-
}),
|
|
211
|
+
$
|
|
212
|
+
), f(c, x);
|
|
213
|
+
}), r(i), y((c) => L(i, 1, c), [() => z(l())], $), f(d, i), I();
|
|
204
214
|
}
|
|
205
|
-
N(
|
|
206
|
-
var
|
|
207
|
-
function S(d,
|
|
208
|
-
F(
|
|
209
|
-
let o =
|
|
210
|
-
const
|
|
211
|
-
var t =
|
|
212
|
-
return y1(
|
|
213
|
-
|
|
214
|
-
}),
|
|
215
|
+
N(r1, {}, [], [], !0);
|
|
216
|
+
var Z1 = V("<a><!></a>");
|
|
217
|
+
function S(d, s) {
|
|
218
|
+
F(s, !0);
|
|
219
|
+
let o = G(s, "href", 7), l = G(s, "label", 7), m = G(s, "children", 7), i = G(s, "class", 7);
|
|
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
|
},
|
|
218
228
|
set href(e) {
|
|
219
|
-
o(e),
|
|
229
|
+
o(e), P();
|
|
220
230
|
},
|
|
221
231
|
get label() {
|
|
222
232
|
return l();
|
|
223
233
|
},
|
|
224
234
|
set label(e) {
|
|
225
|
-
l(e),
|
|
235
|
+
l(e), P();
|
|
226
236
|
},
|
|
227
237
|
get children() {
|
|
228
|
-
return
|
|
238
|
+
return m();
|
|
229
239
|
},
|
|
230
240
|
set children(e) {
|
|
231
|
-
|
|
241
|
+
m(e), P();
|
|
232
242
|
},
|
|
233
243
|
get class() {
|
|
234
244
|
return i();
|
|
235
245
|
},
|
|
236
246
|
set class(e) {
|
|
237
|
-
i(e),
|
|
247
|
+
i(e), P();
|
|
238
248
|
}
|
|
239
249
|
});
|
|
240
250
|
}
|
|
@@ -250,28 +260,28 @@ N(
|
|
|
250
260
|
[],
|
|
251
261
|
!0
|
|
252
262
|
);
|
|
253
|
-
var
|
|
254
|
-
function o1(d,
|
|
255
|
-
F(
|
|
263
|
+
var G1 = V("<li><!></li>"), P1 = V("<li><!></li>"), U1 = V("<ul></ul> <ul></ul>", 1);
|
|
264
|
+
function o1(d, s) {
|
|
265
|
+
F(s, !1);
|
|
256
266
|
const o = R({
|
|
257
267
|
slots: {
|
|
258
268
|
list: "grid grid-rows-5 items-center gap-0 not-italic",
|
|
259
269
|
link: "flex h-full items-center"
|
|
260
270
|
}
|
|
261
|
-
}), { list: l, link:
|
|
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
|
|
279
|
+
var b = G1(), k = v(b);
|
|
280
|
+
const T = $(m);
|
|
271
281
|
S(k, K(
|
|
272
282
|
{
|
|
273
283
|
get class() {
|
|
274
|
-
return h(
|
|
284
|
+
return h(T);
|
|
275
285
|
},
|
|
276
286
|
get href() {
|
|
277
287
|
return _();
|
|
@@ -280,32 +290,32 @@ function o1(d, r) {
|
|
|
280
290
|
p,
|
|
281
291
|
{
|
|
282
292
|
children: (W, i1) => {
|
|
283
|
-
|
|
284
|
-
var Z =
|
|
285
|
-
y(() => H(Z, g())),
|
|
293
|
+
B();
|
|
294
|
+
var Z = Y();
|
|
295
|
+
y(() => H(Z, g())), f(W, Z);
|
|
286
296
|
},
|
|
287
297
|
$$slots: { default: !0 }
|
|
288
298
|
}
|
|
289
|
-
)),
|
|
299
|
+
)), r(b), f(a, b);
|
|
290
300
|
};
|
|
291
|
-
j(
|
|
292
|
-
|
|
301
|
+
j(u, (a) => {
|
|
302
|
+
w % 2 === 0 && a(C);
|
|
293
303
|
});
|
|
294
304
|
}
|
|
295
|
-
|
|
296
|
-
}),
|
|
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
|
|
313
|
+
var b = P1(), k = v(b);
|
|
314
|
+
const T = $(m);
|
|
305
315
|
S(k, K(
|
|
306
316
|
{
|
|
307
317
|
get class() {
|
|
308
|
-
return h(
|
|
318
|
+
return h(T);
|
|
309
319
|
},
|
|
310
320
|
get href() {
|
|
311
321
|
return _();
|
|
@@ -314,74 +324,74 @@ function o1(d, r) {
|
|
|
314
324
|
p,
|
|
315
325
|
{
|
|
316
326
|
children: (W, i1) => {
|
|
317
|
-
|
|
318
|
-
var Z =
|
|
319
|
-
y(() => H(Z, g())),
|
|
327
|
+
B();
|
|
328
|
+
var Z = Y();
|
|
329
|
+
y(() => H(Z, g())), f(W, Z);
|
|
320
330
|
},
|
|
321
331
|
$$slots: { default: !0 }
|
|
322
332
|
}
|
|
323
|
-
)),
|
|
333
|
+
)), r(b), f(a, b);
|
|
324
334
|
};
|
|
325
|
-
j(
|
|
326
|
-
|
|
335
|
+
j(u, (a) => {
|
|
336
|
+
w % 2 !== 0 && a(C);
|
|
327
337
|
});
|
|
328
338
|
}
|
|
329
|
-
|
|
330
|
-
}),
|
|
331
|
-
(
|
|
332
|
-
|
|
339
|
+
f(n, x);
|
|
340
|
+
}), r(t), y(
|
|
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
|
+
$
|
|
349
|
+
), f(d, i), I();
|
|
340
350
|
}
|
|
341
351
|
N(o1, {}, [], [], !0);
|
|
342
|
-
var
|
|
343
|
-
function l1(d,
|
|
344
|
-
F(
|
|
345
|
-
var o =
|
|
346
|
-
|
|
347
|
-
var i = M(l, 2),
|
|
348
|
-
|
|
349
|
-
var t = M(i, 2),
|
|
350
|
-
|
|
351
|
-
var e = M(t, 2),
|
|
352
|
-
|
|
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>');
|
|
353
|
+
function l1(d, s) {
|
|
354
|
+
F(s, !1), D();
|
|
355
|
+
var o = B1(), l = v(o), m = v(l, !0);
|
|
356
|
+
r(l);
|
|
357
|
+
var i = M(l, 2), c = v(i);
|
|
358
|
+
r(i);
|
|
359
|
+
var t = M(i, 2), n = v(t);
|
|
360
|
+
r(t);
|
|
361
|
+
var e = M(t, 2), w = v(e, !0);
|
|
362
|
+
r(e);
|
|
353
363
|
var _ = M(e, 2);
|
|
354
|
-
const p =
|
|
364
|
+
const p = $(() => `tel:${A.phoneNumber}`);
|
|
355
365
|
S(_, {
|
|
356
366
|
get href() {
|
|
357
367
|
return h(p);
|
|
358
368
|
},
|
|
359
369
|
children: (g, x) => {
|
|
360
|
-
|
|
361
|
-
var
|
|
362
|
-
y(() => H(
|
|
370
|
+
B();
|
|
371
|
+
var u = Y();
|
|
372
|
+
y(() => H(u, A.phoneNumber)), f(g, u);
|
|
363
373
|
},
|
|
364
374
|
$$slots: { default: !0 }
|
|
365
|
-
}),
|
|
366
|
-
H(
|
|
367
|
-
}),
|
|
375
|
+
}), r(o), y(() => {
|
|
376
|
+
H(m, A.title), H(c, `${A.street},`), H(n, `${A.city}, Ontario, Canada`), H(w, A.postalCode);
|
|
377
|
+
}), f(d, o), I();
|
|
368
378
|
}
|
|
369
379
|
N(l1, {}, [], [], !0);
|
|
370
380
|
var Y1 = V("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
|
|
371
|
-
function q1(d,
|
|
372
|
-
F(
|
|
381
|
+
function q1(d, s) {
|
|
382
|
+
F(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",
|
|
376
386
|
wrapper: "mb-6 grid grid-rows-5 items-center gap-0 not-italic md:mb-0"
|
|
377
387
|
}
|
|
378
388
|
});
|
|
379
|
-
let l = w1(
|
|
389
|
+
let l = m1(w1([]));
|
|
380
390
|
k1(() => {
|
|
381
391
|
const a = () => {
|
|
382
392
|
x1(
|
|
383
393
|
l,
|
|
384
|
-
Array.from(
|
|
394
|
+
Array.from(s.$$host.children).filter((k) => k.tagName === "A").map((k) => ({
|
|
385
395
|
text: k.textContent ?? "",
|
|
386
396
|
href: k.getAttribute("href") ?? ""
|
|
387
397
|
})),
|
|
@@ -390,14 +400,14 @@ function q1(d, r) {
|
|
|
390
400
|
};
|
|
391
401
|
a();
|
|
392
402
|
const b = new MutationObserver(a);
|
|
393
|
-
return b.observe(
|
|
403
|
+
return b.observe(s.$$host, { childList: !0, subtree: !0 }), () => {
|
|
394
404
|
b.disconnect();
|
|
395
405
|
};
|
|
396
406
|
});
|
|
397
|
-
const { footer:
|
|
398
|
-
var
|
|
407
|
+
const { footer: m, wrapper: i } = o();
|
|
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,22 +415,22 @@ function q1(d, r) {
|
|
|
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
|
-
var e = M(t, 2),
|
|
412
|
-
|
|
421
|
+
var e = M(t, 2), w = v(e), _ = v(w);
|
|
422
|
+
s1(_);
|
|
413
423
|
var p = M(_, 2);
|
|
414
|
-
|
|
424
|
+
r1(p, {});
|
|
415
425
|
var g = M(p, 2);
|
|
416
426
|
S(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
|
});
|
|
@@ -428,24 +438,24 @@ function q1(d, r) {
|
|
|
428
438
|
S(x, {
|
|
429
439
|
href: "https://www.uoguelph.ca/web/",
|
|
430
440
|
children: (a, b) => {
|
|
431
|
-
|
|
432
|
-
var k =
|
|
433
|
-
y((
|
|
441
|
+
B();
|
|
442
|
+
var k = Y();
|
|
443
|
+
y((T) => H(k, `© ${T ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), f(a, k);
|
|
434
444
|
},
|
|
435
445
|
$$slots: { default: !0 }
|
|
436
|
-
}),
|
|
437
|
-
var
|
|
438
|
-
o1(
|
|
439
|
-
var C = M(
|
|
440
|
-
l1(C, {}),
|
|
446
|
+
}), r(w);
|
|
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
460
|
customElements.define("uofg-footer", N(q1, {}, [], [], !0, (d) => class extends d {
|
|
451
461
|
constructor() {
|
|
@@ -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-4w29lsVl.js";
|
|
9
|
+
import { o as q1 } from "./index-client-CfhfDutb.js";
|
|
10
|
+
import { a as M2 } from "./window-BJE-Trkt.js";
|
|
11
|
+
import { s as Z1, i as y1, h as b1 } from "./legacy-Ct81Akw5.js";
|
|
12
|
+
import { c as z1 } from "./index-DffSTH20.js";
|
|
13
13
|
function k2(e, t, a) {
|
|
14
14
|
C1(() => {
|
|
15
15
|
var l = S1(() => t(e, a == null ? void 0 : a()) || {});
|
|
@@ -412,7 +412,7 @@ const K1 = [
|
|
|
412
412
|
items: [
|
|
413
413
|
{
|
|
414
414
|
text: "Future Students",
|
|
415
|
-
href: "https://uoguelph.ca/
|
|
415
|
+
href: "https://www.uoguelph.ca/admission/"
|
|
416
416
|
},
|
|
417
417
|
{
|
|
418
418
|
text: "Current Students",
|
|
@@ -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-4w29lsVl.js";
|
|
2
|
+
import { a as W } from "./slot-Dh9eJZBZ.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-4w29lsVl.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.7-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.
|