@uoguelph/web-components 1.9.0-rc.0 → 1.9.0-rc.1

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.
@@ -4,10 +4,10 @@ var Ft = (e) => {
4
4
  };
5
5
  var _e = (e, t, a) => t in e ? xe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
6
6
  var Mt = (e, t, a) => _e(e, typeof t != "symbol" ? t + "" : t, a), Ct = (e, t, a) => t.has(e) || Ft("Cannot " + a);
7
- var G = (e, t, a) => (Ct(e, t, "read from private field"), a ? a.call(e) : t.get(e)), it = (e, t, a) => t.has(e) ? Ft("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), kt = (e, t, a, r) => (Ct(e, t, "write to private field"), r ? r.call(e, a) : t.set(e, a), a), Pt = (e, t, a) => (Ct(e, t, "access private method"), a);
8
- import { _ as Dt, $ as Zt, a0 as Kt, a1 as J, a2 as Jt, H as D, a3 as dt, a4 as me, a5 as we, a6 as At, I as Ut, a7 as Qt, a8 as ye, a9 as Me, aa as Ce, ab as ke, ac as Rt, ad as zt, ae as Wt, z as jt, B as bt, af as Le, ag as $e, ah as Ae, ai as Se, C as Ne, aj as Ee, ak as Bt, al as qt, am as Ve, an as Lt, ao as Ze, ap as je, D as Ht, l as He, c as U, p as Y, a as V, Z as j, b as E, aq as Te, d as _, e as tt, h as Z, f as k, j as w, k as W, ar as P, X as T, s as ot, x as nt, E as q, as as rt, r as m, at as Fe, au as Pe, J as I, u as l, K as at, L as H, av as ut, t as St, F as O, aw as xt, M as _t, ax as Tt, ay as mt, az as wt, w as Xt, aA as Yt, o as et, q as Nt, v as ct, aB as Ue, aC as Re, i as ze } from "./font-awesome-icon-AppLwNgo.js";
9
- import { a as We } from "./window-CPkdhWRF.js";
10
- import { i as te } from "./legacy-CNO5GCyF.js";
7
+ var O = (e, t, a) => (Ct(e, t, "read from private field"), a ? a.call(e) : t.get(e)), it = (e, t, a) => t.has(e) ? Ft("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), kt = (e, t, a, r) => (Ct(e, t, "write to private field"), r ? r.call(e, a) : t.set(e, a), a), Pt = (e, t, a) => (Ct(e, t, "access private method"), a);
8
+ import { Z as Dt, _ as Zt, $ as Kt, a0 as J, a1 as Jt, H as D, a2 as dt, a3 as me, a4 as we, a5 as At, I as Rt, a6 as Qt, a7 as ye, a8 as Me, a9 as Ce, aa as ke, ab as Ut, ac as zt, ad as Wt, z as jt, B as bt, ae as Le, af as $e, ag as Ae, ah as Se, C as Ne, ai as Ee, aj as Bt, ak as qt, al as Ve, am as Lt, an as Ze, ao as je, D as Ht, l as He, c as R, p as Y, a as V, Y as j, b as E, ap as Te, d as _, e as tt, h as Z, f as k, j as w, k as W, aq as P, X as T, s as ot, x as nt, E as q, ar as rt, r as m, as as Fe, at as Pe, J as I, u as l, K as at, L as H, au as ut, t as St, F as G, av as xt, M as _t, aw as Tt, ax as mt, ay as wt, w as Xt, az as Yt, o as et, q as Nt, v as ct, aA as Re, aB as Ue, i as ze } from "./font-awesome-icon-tL6xr2rJ.js";
9
+ import { a as We } from "./window-BjFv1LQ0.js";
10
+ import { i as te } from "./legacy-DIGW2RSh.js";
11
11
  import { t as st } from "./bundle-mjs-BpzLJ4dA.js";
12
12
  function It(e, t, ...a) {
13
13
  var r = e, c = J, n;
@@ -20,10 +20,10 @@ function It(e, t, ...a) {
20
20
  }
21
21
  function Be(e, t, a, r, c, n) {
22
22
  let f = D;
23
- D && Ut();
23
+ D && Rt();
24
24
  var C, h, o = null;
25
25
  D && dt.nodeType === 1 && (o = /** @type {Element} */
26
- dt, Ut());
26
+ dt, Rt());
27
27
  var i = (
28
28
  /** @type {TemplateNode} */
29
29
  D ? dt : e
@@ -44,11 +44,11 @@ function Be(e, t, a, r, c, n) {
44
44
  /** @type {TemplateNode} */
45
45
  D ? ke(o) : o.appendChild(we())
46
46
  );
47
- D && (x === null ? Rt(!1) : zt(x)), r(o, x);
47
+ D && (x === null ? Ut(!1) : zt(x)), r(o, x);
48
48
  }
49
49
  At.nodes_end = o, i.before(o);
50
50
  })), C = u, C && (h = C), Wt(!0));
51
- }, Zt), f && (Rt(!0), zt(i));
51
+ }, Zt), f && (Ut(!0), zt(i));
52
52
  }
53
53
  function qe(e, t, a) {
54
54
  jt(() => {
@@ -77,7 +77,7 @@ function ee() {
77
77
  t.c(e) || (K.tasks.delete(t), t.f());
78
78
  }), K.tasks.size !== 0 && K.tick(ee);
79
79
  }
80
- function Oe(e) {
80
+ function Ge(e) {
81
81
  let t;
82
82
  return K.tasks.size === 0 && K.tick(ee), {
83
83
  promise: new Promise((a) => {
@@ -91,7 +91,7 @@ function Oe(e) {
91
91
  function ft(e, t) {
92
92
  e.dispatchEvent(new CustomEvent(t));
93
93
  }
94
- function Ge(e) {
94
+ function Oe(e) {
95
95
  if (e === "float") return "cssFloat";
96
96
  if (e === "offset") return "cssOffset";
97
97
  if (e.startsWith("--")) return e;
@@ -101,12 +101,12 @@ function Ge(e) {
101
101
  (a) => a[0].toUpperCase() + a.slice(1)
102
102
  ).join("");
103
103
  }
104
- function Ot(e) {
104
+ function Gt(e) {
105
105
  const t = {}, a = e.split(";");
106
106
  for (const r of a) {
107
107
  const [c, n] = r.split(":");
108
108
  if (!c || n === void 0) break;
109
- const f = Ge(c.trim());
109
+ const f = Oe(c.trim());
110
110
  t[f] = n.trim();
111
111
  }
112
112
  return t;
@@ -189,7 +189,7 @@ function Et(e, t, a, r, c) {
189
189
  const { delay: h = 0, css: o, tick: i, easing: p = De } = t;
190
190
  var u = [];
191
191
  if (n && a === void 0 && (i && i(0, 1), o)) {
192
- var d = Ot(o(0, 1));
192
+ var d = Gt(o(0, 1));
193
193
  u.push(d, d);
194
194
  }
195
195
  var x = () => 1 - r, g = e.animate(u, { duration: h });
@@ -204,7 +204,7 @@ function Et(e, t, a, r, c) {
204
204
  var M = !1;
205
205
  if (o)
206
206
  for (var A = Math.ceil(L / 16.666666666666668), S = 0; S <= A; S += 1) {
207
- var N = v + s * p(S / A), y = Ot(o(N, 1 - N));
207
+ var N = v + s * p(S / A), y = Gt(o(N, 1 - N));
208
208
  b.push(y), M || (M = y.overflow === "hidden");
209
209
  }
210
210
  M && (e.style.overflow = "hidden"), x = () => {
@@ -214,7 +214,7 @@ function Et(e, t, a, r, c) {
214
214
  g.currentTime
215
215
  );
216
216
  return v + s * p($ / L);
217
- }, i && Oe(() => {
217
+ }, i && Ge(() => {
218
218
  if (g.playState !== "running") return !1;
219
219
  var $ = x();
220
220
  return i($, 1 - $), !0;
@@ -254,20 +254,20 @@ const gt = class gt {
254
254
  * @param {(entry: ResizeObserverEntry) => any} listener
255
255
  */
256
256
  observe(t, a) {
257
- var r = G(this, Q).get(t) || /* @__PURE__ */ new Set();
258
- return r.add(a), G(this, Q).set(t, r), Pt(this, pt, ae).call(this).observe(t, G(this, vt)), () => {
259
- var c = G(this, Q).get(t);
260
- c.delete(a), c.size === 0 && (G(this, Q).delete(t), G(this, lt).unobserve(t));
257
+ var r = O(this, Q).get(t) || /* @__PURE__ */ new Set();
258
+ return r.add(a), O(this, Q).set(t, r), Pt(this, pt, ae).call(this).observe(t, O(this, vt)), () => {
259
+ var c = O(this, Q).get(t);
260
+ c.delete(a), c.size === 0 && (O(this, Q).delete(t), O(this, lt).unobserve(t));
261
261
  };
262
262
  }
263
263
  };
264
264
  Q = new WeakMap(), lt = new WeakMap(), vt = new WeakMap(), pt = new WeakSet(), ae = function() {
265
- return G(this, lt) ?? kt(this, lt, new ResizeObserver(
265
+ return O(this, lt) ?? kt(this, lt, new ResizeObserver(
266
266
  /** @param {any} entries */
267
267
  (t) => {
268
268
  for (var a of t) {
269
269
  gt.entries.set(a.target, a);
270
- for (var r of G(this, Q).get(a.target) || [])
270
+ for (var r of O(this, Q).get(a.target) || [])
271
271
  r(a);
272
272
  }
273
273
  }
@@ -302,7 +302,7 @@ function Ye(e) {
302
302
  const t = e - 1;
303
303
  return t * t * t + 1;
304
304
  }
305
- function Gt(e, { delay: t = 0, duration: a = 400, easing: r = Ye, axis: c = "y" } = {}) {
305
+ function Ot(e, { delay: t = 0, duration: a = 400, easing: r = Ye, axis: c = "y" } = {}) {
306
306
  const n = getComputedStyle(e), f = +n.opacity, C = c === "y" ? "height" : "width", h = parseFloat(n[C]), o = c === "y" ? ["top", "bottom"] : ["left", "right"], i = o.map(
307
307
  (s) => (
308
308
  /** @type {'Left' | 'Right' | 'Top' | 'Bottom'} */
@@ -340,7 +340,7 @@ var ea = (e, t) => {
340
340
  }, aa = k('<div tabindex="-1"><button aria-haspopup="true"><!></button> <!></div>');
341
341
  function X(e, t) {
342
342
  Y(t, !0);
343
- let a = V(t, "class", 7), r = V(t, "open", 15, !1), c = V(t, "as", 7, "div"), n = V(t, "transition", 7, Gt), f = V(t, "buttonClass", 7, ""), C = V(t, "contentClass", 7, ""), h = V(t, "autoCollapse", 7, !0), o = V(t, "buttonAriaLabel", 7), i = V(t, "button", 7), p = V(t, "children", 7);
343
+ let a = V(t, "class", 7), r = V(t, "open", 15, !1), c = V(t, "as", 7, "div"), n = V(t, "transition", 7, Ot), f = V(t, "buttonClass", 7, ""), C = V(t, "contentClass", 7, ""), h = V(t, "autoCollapse", 7, !0), o = V(t, "buttonAriaLabel", 7), i = V(t, "button", 7), p = V(t, "children", 7);
344
344
  var u = aa(), d = w(u);
345
345
  d.__click = [ea, r];
346
346
  var x = w(d);
@@ -386,7 +386,7 @@ function X(e, t) {
386
386
  get transition() {
387
387
  return n();
388
388
  },
389
- set transition(s = Gt) {
389
+ set transition(s = Ot) {
390
390
  n(s), Z();
391
391
  },
392
392
  get buttonClass() {
@@ -428,7 +428,7 @@ function X(e, t) {
428
428
  });
429
429
  }
430
430
  He(["click"]);
431
- U(
431
+ R(
432
432
  X,
433
433
  {
434
434
  class: {},
@@ -508,7 +508,7 @@ const re = [
508
508
  ]
509
509
  },
510
510
  {
511
- text: "APPLY NOW",
511
+ text: "Apply Now",
512
512
  href: "https://uoguelph.ca/apply/",
513
513
  highlight: !0
514
514
  },
@@ -563,16 +563,16 @@ function le(e, t) {
563
563
  var g = sa(), v = w(g);
564
564
  {
565
565
  var s = (b) => {
566
- O(b, {
566
+ G(b, {
567
567
  get icon() {
568
568
  return l(n).icon;
569
569
  }
570
570
  });
571
571
  }, L = (b) => {
572
572
  var M = ra(), A = T(M), S = w(A, !0);
573
- E(() => H(S, l(n).text.toUpperCase())), m(A);
573
+ m(A);
574
574
  var N = W(A, 2);
575
- O(N, { icon: xt }), _(b, M);
575
+ G(N, { icon: xt }), E(() => H(S, l(n).text)), _(b, M);
576
576
  };
577
577
  j(v, (b) => {
578
578
  l(n).icon ? b(s) : b(L, !1);
@@ -601,8 +601,8 @@ function le(e, t) {
601
601
  var p = oa();
602
602
  const u = ut(() => nt(st("flex h-full items-center justify-center gap-2 px-2 transition-colors hover:bg-light-grey", l(n).highlight && "bg-yellow")));
603
603
  var d = w(p, !0);
604
- E(() => H(d, l(n).text.toUpperCase())), m(p), E(() => {
605
- ot(p, l(u)), q(p, "href", l(n).href);
604
+ m(p), E(() => {
605
+ ot(p, l(u)), q(p, "href", l(n).href), H(d, l(n).text);
606
606
  }), _(i, p);
607
607
  };
608
608
  j(C, (i) => {
@@ -612,13 +612,13 @@ function le(e, t) {
612
612
  m(f), _(c, f);
613
613
  }), m(r), m(a), _(e, a), tt();
614
614
  }
615
- U(le, {}, [], [], !0);
615
+ R(le, {}, [], [], !0);
616
616
  var ca = _t('<svg viewBox="0 0 68 90" xmlns="http://www.w3.org/2000/svg"><path d="M23.131 0l44.847 90H0V0" fill="#e51937"></path><path d="M23.131 0l16.03 32.044L55.1 0" fill="#ffc429"></path></svg>');
617
617
  function oe(e) {
618
618
  var t = ca();
619
619
  _(e, t);
620
620
  }
621
- U(oe, {}, [], [], !0);
621
+ R(oe, {}, [], [], !0);
622
622
  var ua = _t(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 346.8 436.84"><defs><style>.cls-1 {
623
623
  fill: #fff;
624
624
  font-family: MyriadPro-Regular, 'Myriad Pro';
@@ -632,7 +632,7 @@ function ne(e) {
632
632
  var t = ua();
633
633
  _(e, t);
634
634
  }
635
- U(ne, {}, [], [], !0);
635
+ R(ne, {}, [], [], !0);
636
636
  var va = _t(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1345.57 436.77"><defs><style>.cls-1 {
637
637
  fill: #fff;
638
638
  font-family: MyriadPro-Regular, 'Myriad Pro';
@@ -650,7 +650,7 @@ function ie(e) {
650
650
  var t = va();
651
651
  _(e, t);
652
652
  }
653
- U(ie, {}, [], [], !0);
653
+ R(ie, {}, [], [], !0);
654
654
  var fa = k('<div class="left-0 h-full w-[7.5rem] min-[1320px]:absolute [&amp;>svg]:block [&amp;>svg]:h-full [&amp;>svg]:w-auto"><!></div>'), ha = k('<div class="flex w-fit"><!> <a href="https://www.uoguelph.ca" aria-label="University of Guelph Home Page"><!></a></div>');
655
655
  function ce(e, t) {
656
656
  Y(t, !0);
@@ -696,13 +696,13 @@ function ce(e, t) {
696
696
  });
697
697
  return r(), g;
698
698
  }
699
- U(ce, { variant: {} }, [], [], !0);
699
+ R(ce, { variant: {} }, [], [], !0);
700
700
  var da = _t('<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" style="height:100%" viewBox="0 0 266.13 110.89"><defs><style>.cls-1,.cls-2{fill:#fff;}.cls-2{stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;}</style></defs><path class="cls-1" d="M411.7,171.24v7.91c0,2.7.79,4.18,3,4.18s3-1.8,3-4v-8.07h2.48v8.56c0,3.49-2.25,5.46-5.52,5.46-3.74,0-5.69-1.84-5.69-5.6v-8.42Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M435.78,185h-2c-2.64-3.17-5.27-6.32-7.87-9.89h0V185h-2.23V171.24h2c2.64,3.15,5.26,6.28,7.86,9.82h0v-9.82h2.22V185Z" transform="translate(-365.74 -171)"></path><polygon class="cls-1" points="73.7 14.02 73.7 0.24 76.48 0.24 76.48 14.02 73.7 14.02 73.7 14.02"></polygon><path class="cls-1" d="M449.41,185l-5.12-13.59,2.95-.39c1.22,3.5,2.42,7,3.62,11h0c1.26-4,2.54-7.49,3.82-11l2.39.39L451.67,185Z" transform="translate(-365.74 -171)"></path><polygon class="cls-1" points="100.87 2.09 96.25 2.09 96.25 5.87 100.78 5.87 100.78 7.72 96.25 7.72 96.25 12.17 101.72 12.17 101.72 14.02 93.47 14.02 93.47 0.24 100.87 0.24 100.87 2.09 100.87 2.09"></polygon><path class="cls-1" d="M473.05,173.09h1.44a2,2,0,0,1,2.21,2.08,2.39,2.39,0,0,1-2.52,2.49h-1.13v-4.57ZM470.28,185h2.77v-5.51h1.66l2.8,5.75,2.91-.54-3.27-5.88a4.35,4.35,0,0,0,2.32-4c0-2.34-1.77-3.6-4.41-3.6h-4.78V185Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M489.56,173.64a4.12,4.12,0,0,0-2.23-.79c-1.16,0-1.79.65-1.79,1.46s1,1.59,2.58,2.87c1.85,1.48,2.83,2.64,2.83,4.33s-1.65,3.75-4.76,3.75a6.19,6.19,0,0,1-4.06-1.38l1-1.58a4.57,4.57,0,0,0,2.81,1.1,1.92,1.92,0,0,0,2.15-1.91c0-1.51-1.85-2.52-3-3.38-1.33-1.08-2.46-1.93-2.46-3.76s1.87-3.35,4.37-3.35a5.13,5.13,0,0,1,3.49,1.2l-1,1.44Z" transform="translate(-365.74 -171)"></path><polygon class="cls-1" points="128.3 14.02 128.3 0.24 131.08 0.24 131.08 14.02 128.3 14.02 128.3 14.02"></polygon><polygon class="cls-1" points="137.56 14.02 137.56 2.09 133.3 2.09 133.3 0.24 144.59 0.24 144.59 2.09 140.33 2.09 140.33 14.02 137.56 14.02 137.56 14.02"></polygon><path class="cls-1" d="M515.59,185v-5.77l-4.24-7.82,3.11-.39c1,2,1.91,4,2.88,6.36,1.06-2.38,2.14-4.37,3.21-6.36l2.28.39-4.47,7.82V185Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M537.52,183.29c-2.89,0-3.92-2.72-3.92-5.36s1.16-5,3.92-5,3.92,2.42,3.92,5-1,5.36-3.92,5.36Zm0,2c4.23,0,6.87-3.21,6.87-7.33a6.87,6.87,0,1,0-13.74,0c0,4.12,2.64,7.33,6.87,7.33Z" transform="translate(-365.74 -171)"></path><polygon class="cls-1" points="188.95 2.09 184.34 2.09 184.34 6.62 188.87 6.62 188.87 8.47 184.34 8.47 184.34 14.02 181.56 14.02 181.56 0.24 188.95 0.24 188.95 2.09 188.95 2.09"></polygon><path class="cls-1" d="M451,280.31c-3-.43-3-1.21-3-7.24v-21.9c0-6,0-6.81,3-7.24l1.31-.17v-1.41h-16.2v1.41l1.38.17c2.89.43,2.89,1.21,2.89,7.24V260H422.08v-8.87c0-6,0-6.75,2.9-7.18l1.37-.17v-1.41h-16.2v1.41l1.38.17c2.89.43,2.89,1.21,2.89,7.24v22c0,6,0,6.75-2.9,7.18l-1.37.17v1.41h16.2v-1.41l-1.37-.17c-2.9-.43-2.9-1.2-2.9-7.18V262.52h18.33v10.55c0,6,0,6.81-2.89,7.24l-1.38.17v1.41h16.2v-1.41l-1.31-.17Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M494.24,273.13l1.26-.24c1.41-.29,2.09-.63,2.33-3.93l1.65-26.61a10.55,10.55,0,0,1,2.43-.29l13,24.28,12.13-24a8.42,8.42,0,0,1,2.43-.29l1.46,26.46c.19,3.69.82,4.13,2.33,4.37l1.45.24v1.27H521v-1.27l1.6-.24c2.19-.39,2.58-.58,2.48-3.79l-.63-16.7h-.1l-10.14,21.51a8.88,8.88,0,0,1-1.85.49l-11-22h-.1l-.58,16.7c-.14,3.21.3,3.36,2.47,3.79l1.61.24v1.27H494.24v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M549.56,244.54a8.41,8.41,0,0,1,2.47-.34c3.74,0,6.31,2.28,6.31,6,0,5.24-3.29,6.26-7,6.26h-1.8V244.54ZM539.8,274.4h12.62c7.24,0,13.79-2,13.79-9.13,0-6-5.19-7.91-8.2-8.35v-.1c2.57-.78,6.65-2.57,6.65-7.76,0-6.71-8.06-6.71-10.39-6.71H539.8v1.27l1.16.14c2.29.44,2.29.3,2.29,5.69v17.76c0,5.49,0,5.29-2.29,5.78l-1.16.14v1.27Zm9.76-16.07h2.09c5.87,0,8.25,3.79,8.25,7.62s-1.94,6.6-6.41,6.6a11,11,0,0,1-3.93-.78V258.33Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M571,273.13l1.16-.14c2.29-.44,2.29-.29,2.29-5.78V249.54c0-5.48,0-5.25-2.29-5.78l-1.16-.14v-1.27h22.38a36,36,0,0,1,.58,7.87l-1.75.24c-1.26-6.17-2.86-6.26-8-6.26h-3.5v12.48h3.3c4.32,0,5-.05,5.29-2.09l.25-1.7h1.25v9.66h-1.25l-.25-1.55c-.34-2.14-1.06-2.14-5.09-2.14h-3.5v13a20.88,20.88,0,0,0,4.9.73c7.28,0,7.82-3.74,8.79-7.38l1.74.34a34.28,34.28,0,0,1-1.6,8.89H571v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M611.52,244.54a8.58,8.58,0,0,1,2.53-.34c3.89,0,6.85,2.53,6.85,7,0,2.09-.15,7.47-7,7.47h-2.38V244.54Zm0,16h1.56c3,0,3.15,1.8,4.86,5.05l1.84,3.59c1.07,2.14,3,5.25,7.86,5.25h4.23v-1.27a4.15,4.15,0,0,1-3.11-1.31A77.92,77.92,0,0,1,621,258.76c2.77-1.26,6.22-4,6.22-8.3,0-7.62-7-8.11-11.46-8.11h-14v1.27l1.11.14c2.33.34,2.33.83,2.33,5.73v17.72c0,4.86,0,5.44-2.28,5.78l-1.16.14v1.27H615v-1.27L613.8,273c-2.28-.34-2.28-.92-2.28-5.73v-6.75Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M480.71,242.43v1.44l.92.11.42.05h0c2.13.29,2.51.34,2.55,3.48l.2,12.44a39.67,39.67,0,0,1-.26,5c-.72,5.67-4.68,7.68-8.15,7.68-5.34,0-8.93-3.48-8.93-8.67V249.59c0-4.73,0-5.23,2.16-5.55l1.24-.16v-1.45H457.6v1.45l1.25.17c2.15.31,2.15.81,2.15,5.54v11.83c0,9.17,4.78,13.63,14.62,13.63,7.88,0,12.11-4.35,12.56-12.93l.07-2.24.29-11.76c0-3.25.69-3.56,2-3.92l1-.29v-1.48Z" transform="translate(-365.74 -171)"></path><line class="cls-2" x1="0.75" y1="61.79" x2="264.97" y2="61.79"></line><path class="cls-1" d="M402.13,185.86a.08.08,0,0,1,0,0h0l0,0Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M389.41,210.89v1.42l2.88.41c1.56.28,2.34.47,2.75,1.15s.39,1.73.39,3.86v5.85h-.07a29,29,0,0,1-4.58.43,14.12,14.12,0,0,1-11.22-5c-2.83-3.36-4.33-8.26-4.33-14.16,0-5.29,1.09-9.7,3.14-12.75,2.34-3.45,5.84-5.2,10.42-5.2,4.17,0,7.32,1.26,9.34,3.75a15.88,15.88,0,0,1,2.81,6.56l.07.27,2.2-.29a38.16,38.16,0,0,0-1.31-10.1c-2.42-1.15-5.78-2.32-12.33-2.32-6.2,0-11.81,1.66-15.78,4.69a17.3,17.3,0,0,0-5.2,6.36,21.87,21.87,0,0,0-2,9.51c0,7.09,2.34,12.5,7,16.08,4,3.08,9.67,4.71,16.42,4.71a46.74,46.74,0,0,0,14.8-2.88l.28-.1-.17-1.25h-.07c-.71,0-1.19-.09-1.44-.69a12.19,12.19,0,0,1-.3-3.83c0-3.71.07-4.51,2.17-4.9l1.14-.16v-1.42Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M450.45,224.29l1.17-.14c2.28-.44,2.28-.3,2.28-5.78V200.7c0-5.49,0-5.24-2.28-5.78l-1.17-.14v-1.27h22.38a36,36,0,0,1,.58,7.87l-1.74.24c-1.27-6.16-2.87-6.26-8-6.26h-3.5v12.48h3.3c4.32,0,5-.05,5.29-2.09l.24-1.7h1.27v9.66H469l-.24-1.55c-.34-2.14-1.06-2.14-5.09-2.14h-3.5v13a20.89,20.89,0,0,0,4.91.73c7.27,0,7.81-3.74,8.78-7.38l1.75.34a34.78,34.78,0,0,1-1.6,8.89h-23.6v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M481.26,224.29l1.17-.14c2.28-.44,2.28-.25,2.28-5.78V200.55c0-4.71,0-5.29-2.28-5.63l-1.17-.14v-1.27h13.2v1.27l-1.17.14c-2.27.34-2.27.92-2.27,5.63V223a19.72,19.72,0,0,0,4.46.68c6.84,0,6.89-3.3,8.29-7.34l1.76.35a35,35,0,0,1-1.71,8.84H481.26v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M509.91,224.29l1.17-.14c2.28-.25,2.28-.93,2.28-5.73V200.7c0-4.76,0-5.49-2.28-5.78l-1.17-.14v-1.27h12.91c6,0,13,1.07,13,8.6,0,8.2-8,10.29-13.06,10.43V210.7c3.6-.49,6.75-2,6.75-7.91,0-5.1-3.35-7.43-7.42-7.43a9.51,9.51,0,0,0-2.39.34v22.72c0,4.8.06,5.48,2.34,5.73l1.84.14v1.27H509.91v-1.27Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M543.57,200.7c0-4.86,0-5.44-2.28-5.78l-1.16-.14v-1.27h13.2v1.27l-1.16.14c-2.29.34-2.29.92-2.29,5.73v7.09h14.66v-7c0-4.86,0-5.44-2.28-5.78l-1.16-.14v-1.27h13.21v1.27l-1.12.14c-2.34.34-2.34.92-2.34,5.78v17.67c0,4.85,0,5.43,2.34,5.78l1.12.14v1.27H561.1v-1.27l1.16-.14c2.28-.35,2.28-.93,2.28-5.78v-8.45H549.88v8.5c0,4.8,0,5.38,2.29,5.73l1.16.14v1.27h-13.2v-1.27l1.16-.14c2.28-.35,2.28-.93,2.28-5.73V200.7Z" transform="translate(-365.74 -171)"></path><path class="cls-1" d="M434.13,193.52V195l1.11.12.23,0h0c2.12.29,2.5.35,2.55,3.48l.19,12.44a38,38,0,0,1-.26,5c-.72,5.67-4.68,7.69-8.15,7.69-5.34,0-8.93-3.49-8.93-8.68V200.69c0-4.74,0-5.23,2.17-5.55l1.24-.16v-1.46H411V195l1.25.16c2.15.32,2.15.81,2.15,5.55v11.83c0,9.16,4.79,13.62,14.63,13.62,7.88,0,12.1-4.35,12.55-12.92l.07-2.25.3-11.76c0-3.25.68-3.56,2-3.92l1-.28v-1.49Z" transform="translate(-365.74 -171)"></path></svg>');
701
701
  function ue(e) {
702
702
  var t = da();
703
703
  _(e, t);
704
704
  }
705
- U(ue, {}, [], [], !0);
705
+ R(ue, {}, [], [], !0);
706
706
  var pa = k('<a class="flex h-full items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pb-6 pt-8 text-yellow transition-colors hover:border-yellow hover:text-white [&amp;>svg]:fill-current"><!></a>'), ga = k('<a class="flex h-full text-center items-center justify-center border-0 border-b-8 border-solid border-transparent p-4 pt-6 transition-colors hover:border-yellow hover:text-yellow"> </a>'), ba = k("<li><!></li>"), xa = k('<ul class="flex ml-auto [&amp;>li]:contents text-xl"></ul>');
707
707
  function ve(e) {
708
708
  var t = xa();
@@ -711,7 +711,7 @@ function ve(e) {
711
711
  {
712
712
  var f = (h) => {
713
713
  var o = pa(), i = w(o);
714
- O(i, {
714
+ G(i, {
715
715
  get icon() {
716
716
  return l(r).icon;
717
717
  }
@@ -731,7 +731,7 @@ function ve(e) {
731
731
  m(c), _(a, c);
732
732
  }), m(t), _(e, t);
733
733
  }
734
- U(ve, {}, [], [], !0);
734
+ R(ve, {}, [], [], !0);
735
735
  var _a = k('<li class="[&amp;>*]:first:mt-4 [&amp;>*]:last:mb-4"><a class="border-0 border-b border-solid border-light-grey-500 p-4 transition-colors hover:bg-yellow"> </a></li>'), ma = k('<a class="flex h-full aspect-square items-center justify-center gap-2 px-4 transition-colors hover:bg-white focus:bg-white aria-expanded:bg-white hover:text-black focus:text-black aria-expanded:text-black"><!></a>'), wa = k("<li><!></li>"), ya = k('<span class="w-full flex items-center gap-2 justify-between [&amp;>svg]:transition-transform"><span class="mr-auto"> </span> <!></span>'), Ma = k("<li><a> </a></li>"), Ca = k('<a class="border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey focus:bg-light-grey"> </a>'), ka = k('<li class="[&amp;>*]:first:mt-4 [&amp;>*]:last:mb-4"><!></li>'), La = k('<ul class="flex h-full [&amp;>li]:contents"><!> <li><!></li></ul>');
736
736
  function fe(e) {
737
737
  const t = [...re, ...se], a = t.filter((h) => !(h != null && h.excludeFromMainMenu)), r = t.filter((h) => h == null ? void 0 : h.excludeFromMainMenu);
@@ -750,7 +750,7 @@ function fe(e) {
750
750
  contentClass: "absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents",
751
751
  as: "ul",
752
752
  button: (s) => {
753
- O(s, {
753
+ G(s, {
754
754
  get icon() {
755
755
  return l(o).icon;
756
756
  }
@@ -769,7 +769,7 @@ function fe(e) {
769
769
  });
770
770
  }, d = (x) => {
771
771
  var g = ma(), v = w(g);
772
- O(v, {
772
+ G(v, {
773
773
  get icon() {
774
774
  return l(o).icon;
775
775
  }
@@ -791,7 +791,7 @@ function fe(e) {
791
791
  contentClass: "absolute right-0 top-full z-50 flex w-full flex-col bg-white px-4 text-black shadow-md lg:w-[30rem] [&>li]:contents max-h-[calc(100vh-5rem)] overflow-y-auto",
792
792
  as: "ul",
793
793
  button: (o) => {
794
- O(o, { icon: Yt });
794
+ G(o, { icon: Yt });
795
795
  },
796
796
  children: (o, i) => {
797
797
  var p = P(), u = T(p);
@@ -809,22 +809,22 @@ function fe(e) {
809
809
  var S = ya(), N = w(S), y = w(N, !0);
810
810
  m(N);
811
811
  var $ = W(N, 2);
812
- O($, { icon: xt }), m(S), E(() => {
812
+ G($, { icon: xt }), m(S), E(() => {
813
813
  St(S, "bg-yellow", l(x).highlight), H(y, l(x).text);
814
814
  }), _(A, S);
815
815
  },
816
816
  children: (A, S) => {
817
817
  var N = P(), y = T(N);
818
- I(y, 1, () => l(x).links, at, ($, R) => {
818
+ I(y, 1, () => l(x).links, at, ($, U) => {
819
819
  var B = Ma(), z = w(B);
820
820
  let F;
821
821
  var yt = w(z, !0);
822
822
  m(z), m(B), E(() => {
823
823
  F = rt(z, F, {
824
824
  class: "border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey",
825
- href: l(R).href,
826
- ...l(R).attributes
827
- }), H(yt, l(R).text);
825
+ href: l(U).href,
826
+ ...l(U).attributes
827
+ }), H(yt, l(U).text);
828
828
  }), _($, B);
829
829
  }), _(A, N);
830
830
  },
@@ -846,7 +846,7 @@ function fe(e) {
846
846
  $$slots: { button: !0, default: !0 }
847
847
  }), m(f), m(c), _(e, c);
848
848
  }
849
- U(fe, {}, [], [], !0);
849
+ R(fe, {}, [], [], !0);
850
850
  var $a = k('<a href="https://www.guelphhumber.ca" class="w-auto h-full p-4 ml-auto transition-opacity focus:opacity-75 hover:opacity-75"><span class="sr-only">University of Guelph-Humber Homepage</span> <!></a>'), Aa = k('<nav aria-label="Primary"><!> <!></nav>');
851
851
  function he(e, t) {
852
852
  Y(t, !1);
@@ -890,7 +890,7 @@ function he(e, t) {
890
890
  }
891
891
  m(f), E(() => ot(f, l(C))), _(e, f), tt(), r();
892
892
  }
893
- U(he, {}, [], [], !0);
893
+ R(he, {}, [], [], !0);
894
894
  var Sa = k('<span class="flex items-center gap-2 [&amp;>svg]:transition-transform"><span> </span> <!></span>'), Na = k("<li><a> </a></li>"), Ea = k("<li><!></li>"), Va = k("<li><a> </a></li>");
895
895
  function de(e, t) {
896
896
  Y(t, !0);
@@ -911,7 +911,7 @@ function de(e, t) {
911
911
  var v = Sa(), s = w(v), L = w(s, !0);
912
912
  m(s);
913
913
  var b = W(s, 2);
914
- O(b, { icon: xt }), m(v), E(() => H(L, l(f).title)), _(g, v);
914
+ G(b, { icon: xt }), m(v), E(() => H(L, l(f).title)), _(g, v);
915
915
  },
916
916
  children: (g, v) => {
917
917
  var s = P(), L = T(s);
@@ -958,7 +958,7 @@ function de(e, t) {
958
958
  }
959
959
  });
960
960
  }
961
- U(de, { items: {} }, [], [], !0);
961
+ R(de, { items: {} }, [], [], !0);
962
962
  var Za = k("<a> </a>"), ja = k('<span class="w-full flex items-center gap-2 justify-between [&amp;>svg]:transition-transform"><span class="mr-auto"> </span> <!></span>'), Ha = k("<li><a> </a></li>"), Ta = k('<li class="[&amp;>*]:last:mb-4 [&amp;>*]:first:mt-4"><!></li>'), Fa = k("<li><!></li>");
963
963
  function pe(e, t) {
964
964
  Y(t, !0);
@@ -971,7 +971,7 @@ function pe(e, t) {
971
971
  buttonAriaLabel: "Sub Navigation Menu",
972
972
  as: "ul",
973
973
  button: (f) => {
974
- O(f, { icon: Yt });
974
+ G(f, { icon: Yt });
975
975
  },
976
976
  children: (f, C) => {
977
977
  var h = P(), o = T(h);
@@ -1001,17 +1001,17 @@ function pe(e, t) {
1001
1001
  var b = ja(), M = w(b), A = w(M, !0);
1002
1002
  m(M);
1003
1003
  var S = W(M, 2);
1004
- O(S, { icon: xt }), m(b), E(() => H(A, l(p).title)), _(L, b);
1004
+ G(S, { icon: xt }), m(b), E(() => H(A, l(p).title)), _(L, b);
1005
1005
  },
1006
1006
  children: (L, b) => {
1007
1007
  var M = P(), A = T(M);
1008
1008
  I(A, 17, () => l(p).links, at, (S, N) => {
1009
1009
  var y = Ha(), $ = w(y);
1010
- let R;
1010
+ let U;
1011
1011
  var B = w($, !0);
1012
1012
  m($), m(y), E(() => {
1013
1013
  var z;
1014
- R = rt($, R, {
1014
+ U = rt($, U, {
1015
1015
  ...l(N).attributes,
1016
1016
  class: `border-0 border-b border-solid border-light-grey-500 p-2 transition-colors hover:bg-light-grey ${((z = l(N).attributes) == null ? void 0 : z.class) ?? ""}`,
1017
1017
  href: l(N).href
@@ -1039,8 +1039,8 @@ function pe(e, t) {
1039
1039
  }
1040
1040
  });
1041
1041
  }
1042
- U(pe, { items: {} }, [], [], !0);
1043
- var Pa = k('<a class="mr-auto flex h-full items-center justify-center px-3 font-bold transition-colors hover:bg-yellow"> </a>'), Ua = k('<span class="mr-auto flex h-full items-center justify-center px-3 font-bold"> </span>'), Ra = k('<nav aria-label="Page Specific"><div class="flex h-full w-fit min-w-full overflow-y-visible items-center justify-end [&amp;>li]:contents relative"><!> <ul class="[&amp;>li]:contents h-full flex w-fit !static lg:static"><!></ul></div></nav>');
1042
+ R(pe, { items: {} }, [], [], !0);
1043
+ var Pa = k('<a class="mr-auto flex h-full items-center justify-center px-3 font-bold transition-colors hover:bg-yellow"> </a>'), Ra = k('<span class="mr-auto flex h-full items-center justify-center px-3 font-bold"> </span>'), Ua = k('<nav aria-label="Page Specific"><div class="flex h-full min-w-full overflow-y-visible items-center justify-end [&amp;>li]:contents relative"><!> <ul class="[&amp;>li]:contents h-full flex w-fit !static lg:static"><!></ul></div></nav>');
1044
1044
  function ge(e, t) {
1045
1045
  Y(t, !0);
1046
1046
  const [a, r] = mt(), c = () => wt(n, "$headerState", a), n = Tt("header-state");
@@ -1057,7 +1057,7 @@ function ge(e, t) {
1057
1057
  var y;
1058
1058
  ((y = c()) == null ? void 0 : y.mode) === "desktop" && l(o) - l(i) < l(p) && et(d, Nt(isNaN(l(d)) ? l(o) : Math.max(l(o), l(d))));
1059
1059
  });
1060
- var x = Ra();
1060
+ var x = Ua();
1061
1061
  const g = Xt(() => {
1062
1062
  var y;
1063
1063
  return nt(st("block align-items relative justify-end bg-light-grey px-[calc((100%-1320px)/2)] text-lg lg:whitespace-nowrap", ((y = c()) == null ? void 0 : y.variant) === "dual-brand" ? "h-10" : "h-[5rem] lg:h-10"));
@@ -1065,19 +1065,19 @@ function ge(e, t) {
1065
1065
  var v = w(x), s = w(v);
1066
1066
  {
1067
1067
  var L = (y) => {
1068
- var $ = Pa(), R = w($, !0);
1068
+ var $ = Pa(), U = w($, !0);
1069
1069
  m($), E(() => {
1070
- q($, "href", h()), H(R, C());
1070
+ q($, "href", h()), H(U, C());
1071
1071
  }), ht($, "clientWidth", (B) => et(i, B)), _(y, $);
1072
1072
  }, b = (y) => {
1073
- var $ = P(), R = T($);
1073
+ var $ = P(), U = T($);
1074
1074
  {
1075
1075
  var B = (z) => {
1076
- var F = Ua(), yt = w(F, !0);
1076
+ var F = Ra(), yt = w(F, !0);
1077
1077
  m(F), E(() => H(yt, C())), ht(F, "clientWidth", (be) => et(i, be)), _(z, F);
1078
1078
  };
1079
1079
  j(
1080
- R,
1080
+ U,
1081
1081
  (z) => {
1082
1082
  C() && z(B);
1083
1083
  },
@@ -1093,7 +1093,7 @@ function ge(e, t) {
1093
1093
  var M = W(s, 2), A = w(M);
1094
1094
  {
1095
1095
  var S = (y) => {
1096
- var $ = P(), R = T($);
1096
+ var $ = P(), U = T($);
1097
1097
  {
1098
1098
  var B = (F) => {
1099
1099
  de(F, {
@@ -1108,7 +1108,7 @@ function ge(e, t) {
1108
1108
  }
1109
1109
  });
1110
1110
  };
1111
- j(R, (F) => {
1111
+ j(U, (F) => {
1112
1112
  c().mode === "desktop" && (isNaN(l(d)) || l(o) > l(d)) ? F(B) : F(z, !1);
1113
1113
  });
1114
1114
  }
@@ -1119,7 +1119,7 @@ function ge(e, t) {
1119
1119
  (($ = f()) == null ? void 0 : $.length) > 0 && y(S);
1120
1120
  });
1121
1121
  }
1122
- m(M), m(v), m(x), E(() => ot(x, l(g))), ht(M, "clientWidth", (y) => et(p, y)), ht(x, "clientWidth", (y) => et(o, y)), _(e, x);
1122
+ m(M), m(v), m(x), E(() => ot(x, l(g))), ht(M, "clientWidth", (y) => et(p, y)), ht(v, "clientWidth", (y) => et(o, y)), _(e, x);
1123
1123
  var N = tt({
1124
1124
  get items() {
1125
1125
  return f();
@@ -1142,15 +1142,15 @@ function ge(e, t) {
1142
1142
  });
1143
1143
  return r(), N;
1144
1144
  }
1145
- U(ge, { items: {}, title: {}, url: {} }, [], [], !0);
1145
+ R(ge, { items: {}, title: {}, url: {} }, [], [], !0);
1146
1146
  const za = 35;
1147
1147
  var Wa = k('<header class="relative z-10 w-full font-condensed text-black"><!> <!> <!></header>');
1148
1148
  function Ba(e, t) {
1149
1149
  Y(t, !0);
1150
1150
  const [a, r] = mt(), c = () => wt(p, "$headerState", a);
1151
1151
  let n = V(t, "subNavigation", 7), f = V(t, "pageTitle", 7), C = V(t, "pageURL", 7), h = V(t, "variant", 7), o = ct(void 0);
1152
- const i = 1024, p = Ue({ mode: "mobile", variant: h() });
1153
- Re("header-state", p), Ht(() => {
1152
+ const i = 1024, p = Re({ mode: "mobile", variant: h() });
1153
+ Ue("header-state", p), Ht(() => {
1154
1154
  p.set({
1155
1155
  mode: l(o) >= i ? "desktop" : "mobile",
1156
1156
  variant: h()
@@ -1216,7 +1216,7 @@ function Ba(e, t) {
1216
1216
  });
1217
1217
  return r(), L;
1218
1218
  }
1219
- customElements.define("uofg-header", U(
1219
+ customElements.define("uofg-header", R(
1220
1220
  Ba,
1221
1221
  {
1222
1222
  pageTitle: {
@@ -1,5 +1,5 @@
1
- import { z as q, A as D, B as F, C as T, S as z, l as j, c as R, p as U, a as l, D as _, E as y, F as G, b as J, d as K, e as L, f as M, j as O, G as N, h as o, i as Y, k as H, t as v, s as I, u as P, w as Q, x as V, r as x } from "./font-awesome-icon-AppLwNgo.js";
2
- import { a as W } from "./slot-CexNersB.js";
1
+ import { z as q, A as D, B as F, C as T, S as z, l as j, c as R, p as U, a as l, D as _, E as y, F as G, b as J, d as K, e as L, f as M, j as O, G as N, h as o, i as Y, k as H, t as v, s as I, u as P, w as Q, x as V, r as x } from "./font-awesome-icon-tL6xr2rJ.js";
2
+ import { a as W } from "./slot-dkmGAqBq.js";
3
3
  import { t as X } from "./bundle-mjs-BpzLJ4dA.js";
4
4
  function E(a, t) {
5
5
  return a === t || (a == null ? void 0 : a[z]) === t;
@@ -78,7 +78,7 @@ function ne(a, t) {
78
78
  m
79
79
  ];
80
80
  var w = O(n);
81
- const A = Q(() => V(X("z-1 absolute left-1/2 h-fit max-h-full max-w-full -translate-x-1/2 overflow-auto w-full sm:w-fit sm:p-8 transition-transform motion-reduce:transition-none", s() && "visible opacity-100", !s() && !c() && "translate-y-[-50px]", !s() && c() && "translate-y-[calc(-50%_-_50px)]", s() && c() && "translate-y-[50%]")));
81
+ const A = Q(() => V(X("z-1 absolute left-1/2 h-fit max-h-full max-w-full -translate-x-1/2 overflow-auto w-full sm:w-fit sm:p-8 transition-transform motion-reduce:transition-none", s() && "visible opacity-100", !s() && !c() && "translate-y-[-50px]", !s() && c() && "translate-y-[calc(-50%_-_50px)] top-1/2", s() && c() && "translate-y-[-50%] top-1/2")));
82
82
  var g = O(w);
83
83
  g.__click = [ae, s];
84
84
  var C = O(g);
@@ -1,4 +1,4 @@
1
- import { A as w, z as d, aD as f, aE as v, aF as n } from "./font-awesome-icon-AppLwNgo.js";
1
+ import { A as w, z as d, aC as f, aD as v, aE as n } from "./font-awesome-icon-tL6xr2rJ.js";
2
2
  function m(a, e, c = e) {
3
3
  var u = a === "x", s = () => n(() => {
4
4
  r = !0, clearTimeout(t), t = setTimeout(l, 100), c(window[u ? "scrollX" : "scrollY"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/web-components",
3
- "version": "1.9.0-rc.0",
3
+ "version": "1.9.0-rc.1",
4
4
  "description": "University of Guelph Web Components Library",
5
5
  "module": "dist/uofg-web-components/uofg-web-components.esm.js",
6
6
  "type": "module",