@uoguelph/web-components 1.9.0-rc.7 → 1.9.0-rc.8

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.
@@ -1,17 +1,17 @@
1
- import { c as m, p as z, a as V, I, b as y, d as h, J as $, e as F, h as C, f as x, D as M, K as w, l as g, j as u, r as o, L as D, M as W, N as X, O as B, P as K, Q as Z, R as J, T as G, U as Q, V as ee, F as te, s as ae, W as N, y as A, k as v, X as re, Y as se, i as oe } from "./font-awesome-icon-DS3QHgPg.js";
2
- import { i as T, s as le } from "./legacy-znqGHd23.js";
3
- var ne = x('<li class="p-3"><a class="transition-all decoration-transparent text-blue hover:text-blue-focus focus:text-blue-focus hover:underline focus:underline hover:decoration-current focus:decoration-current"> </a></li>'), ie = x('<ul class="flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]"></ul>');
4
- function U(l, e) {
1
+ import { c as m, p as z, a as V, I, b as y, d as h, J as G, e as F, h as C, f as x, D as M, K as w, l as g, j as u, r as o, L as j, M as W, N as X, O as B, P as K, Q as Z, R as J, T as $, U as Q, V as ee, F as te, s as ae, W as N, y as A, k as v, X as re, Y as se, i as oe } from "./font-awesome-icon-DS3QHgPg.js";
2
+ import { i as T, s as ne } from "./legacy-znqGHd23.js";
3
+ var ie = x('<li class="p-3"><a class="transition-all decoration-transparent text-blue hover:text-blue-focus focus:text-blue-focus hover:underline focus:underline hover:decoration-current focus:decoration-current"> </a></li>'), le = x('<ul class="flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]"></ul>');
4
+ function U(n, e) {
5
5
  z(e, !0);
6
6
  let t = V(e, "links", 7);
7
- var s = ie();
8
- return I(s, 21, t, $, (r, i) => {
9
- let n = () => g(i).text, f = () => g(i).href;
10
- var a = ne(), c = u(a), d = u(c, !0);
7
+ var s = le();
8
+ return I(s, 21, t, G, (r, l) => {
9
+ let i = () => g(l).text, f = () => g(l).href;
10
+ var a = ie(), c = u(a), d = u(c, !0);
11
11
  o(c), o(a), y(() => {
12
- M(c, "href", f()), w(d, n());
12
+ M(c, "href", f()), w(d, i());
13
13
  }), h(r, a);
14
- }), o(s), h(l, s), F({
14
+ }), o(s), h(n, s), F({
15
15
  get links() {
16
16
  return t();
17
17
  },
@@ -21,34 +21,34 @@ function U(l, e) {
21
21
  });
22
22
  }
23
23
  m(U, { links: {} }, [], [], !0);
24
- var ce = D(`<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 819.54 168.95"><defs><style>.cls-1 {
25
- fill: #221f20;
26
- }
27
-
28
- .cls-2 {
24
+ var ce = j(`<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 718.9 79.5"><defs><style>.st0 {
29
25
  fill: #fff;
30
26
  font-family: MyriadPro-Regular, 'Myriad Pro';
31
- font-size: 44.28px;
27
+ font-size: 44.3px;
32
28
  }
33
29
 
34
- .cls-3 {
35
- letter-spacing: 0em;
30
+ .st0, .st1 {
31
+ isolation: isolate;
32
+ }
33
+
34
+ .st2 {
35
+ fill: #221f20;
36
36
  }
37
37
 
38
- .cls-4 {
38
+ .st3 {
39
39
  fill: #e51937;
40
- }</style></defs><g><rect class="cls-1" x="52.23" y="41.77" width="715.86" height="75.98"></rect><path class="cls-4" d="M766.59,43.27v72.98H53.73V43.27h712.86M769.59,40.27H50.73v78.98h718.86V40.27h0Z"></path></g><text class="cls-2" transform="translate(274.94 93.06)"><tspan x="0" y="0">IMP</tspan><tspan class="cls-3" x="69.75" y="0">R</tspan><tspan x="93.71" y="0">OVE LIFE</tspan></text></svg>`);
41
- function q(l) {
40
+ }</style></defs><g><rect class="st2" x="1.5" y="1.5" width="715.9" height="76.5"></rect><path class="st3" d="M715.9,3v73.5H3V3h712.9M718.9,0H0v79.5h718.9V0h0Z"></path></g><g class="st1"><text class="st0" transform="translate(107.3 54.3)"><tspan x="0" y="0">IMP</tspan></text><text class="st0" transform="translate(177 54.3)"><tspan x="0" y="0">R</tspan></text><text class="st0" transform="translate(201 54.3)"><tspan x="0" y="0">OVE LIFE NO PADDING</tspan></text></g></svg>`);
41
+ function q(n) {
42
42
  var e = ce();
43
- h(l, e);
43
+ h(n, e);
44
44
  }
45
45
  m(q, {}, [], [], !0);
46
46
  var ue = x('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="flex transition-opacity md:h-[3.5em] focus:opacity-75 hover:opacity-75 [&amp;>svg]:block [&amp;>svg]:w-full"><!></a>');
47
- function R(l) {
47
+ function D(n) {
48
48
  var e = ue(), t = u(e);
49
- q(t), o(e), h(l, e);
49
+ q(t), o(e), h(n, e);
50
50
  }
51
- m(R, {}, [], [], !0);
51
+ m(D, {}, [], [], !0);
52
52
  /*!
53
53
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
54
54
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
@@ -78,7 +78,7 @@ const fe = {
78
78
  prefix: "fab",
79
79
  iconName: "square-x-twitter",
80
80
  icon: [448, 512, [], "e61a", "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z"]
81
- }, E = {
81
+ }, O = {
82
82
  directory: "https://www.uoguelph.ca/web/socialmedia/",
83
83
  links: [
84
84
  {
@@ -152,12 +152,12 @@ const fe = {
152
152
  },
153
153
  {
154
154
  text: "Undergraduate Calendar",
155
- icon: G,
155
+ icon: $,
156
156
  href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
157
157
  },
158
158
  {
159
159
  text: "Graduate Calendar",
160
- icon: G,
160
+ icon: $,
161
161
  href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
162
162
  },
163
163
  {
@@ -178,30 +178,30 @@ const fe = {
178
178
  phoneNumber: "519-824-4120"
179
179
  };
180
180
  var me = x("<li><a><!></a></li>"), be = x('<ul class="flex gap-3 text-xl [&amp;>li]:contents"></ul>');
181
- function O(l, e) {
181
+ function R(n, e) {
182
182
  z(e, !1), T();
183
183
  var t = be();
184
- I(t, 5, () => E.links, $, (s, r) => {
185
- let i = () => g(r).href, n = () => g(r).text, f = () => g(r).icon, a = () => g(r).classes;
184
+ I(t, 5, () => O.links, G, (s, r) => {
185
+ let l = () => g(r).href, i = () => g(r).text, f = () => g(r).icon, a = () => g(r).classes;
186
186
  var c = me(), d = u(c), k = u(d);
187
187
  te(k, {
188
188
  get icon() {
189
189
  return f();
190
190
  }
191
191
  }), o(d), o(c), y(() => {
192
- M(d, "href", i()), M(d, "aria-label", n()), ae(d, `transition-colors ${a()}`);
192
+ M(d, "href", l()), M(d, "aria-label", i()), ae(d, `transition-colors ${a()}`);
193
193
  }), h(s, c);
194
- }), o(t), h(l, t), F();
194
+ }), o(t), h(n, t), F();
195
195
  }
196
- m(O, {}, [], [], !0);
196
+ m(R, {}, [], [], !0);
197
197
  var ye = x('<a class="w-fit underline decoration-transparent transition-colors focus:decoration-black-contrast hover:decoration-black-contrast"><!></a>');
198
- function L(l, e) {
198
+ function L(n, e) {
199
199
  z(e, !0);
200
- let t = V(e, "href", 7), s = V(e, "label", 7), r = V(e, "title", 7), i = V(e, "children", 7);
201
- var n = ye(), f = u(n);
202
- return le(f, i), o(n), y(() => {
203
- M(n, "href", t()), M(n, "title", r() ?? void 0), M(n, "aria-label", s() ?? void 0);
204
- }), h(l, n), F({
200
+ let t = V(e, "href", 7), s = V(e, "label", 7), r = V(e, "title", 7), l = V(e, "children", 7);
201
+ var i = ye(), f = u(i);
202
+ return ne(f, l), o(i), y(() => {
203
+ M(i, "href", t()), M(i, "title", r() ?? void 0), M(i, "aria-label", s() ?? void 0);
204
+ }), h(n, i), F({
205
205
  get href() {
206
206
  return t();
207
207
  },
@@ -221,10 +221,10 @@ function L(l, e) {
221
221
  r(a), C();
222
222
  },
223
223
  get children() {
224
- return i();
224
+ return l();
225
225
  },
226
226
  set children(a) {
227
- i(a), C();
227
+ l(a), C();
228
228
  }
229
229
  });
230
230
  }
@@ -241,17 +241,17 @@ m(
241
241
  !0
242
242
  );
243
243
  var ke = x("<li><!></li>"), _e = x('<div class="flex justify-center md:col-span-2 md:row-start-2 lg:row-auto"><ul class="w-full flex flex-col gap-y-1 gap-x-6 md:grid md:grid-cols-2 [&amp;>li]:contents"></ul></div>');
244
- function Y(l) {
244
+ function E(n) {
245
245
  var e = _e(), t = u(e);
246
- I(t, 5, () => we, $, (s, r) => {
247
- let i = () => g(r).href, n = () => g(r).title, f = () => g(r).text;
246
+ I(t, 5, () => we, G, (s, r) => {
247
+ let l = () => g(r).href, i = () => g(r).title, f = () => g(r).text;
248
248
  var a = ke(), c = u(a);
249
249
  L(c, {
250
250
  get href() {
251
- return i();
251
+ return l();
252
252
  },
253
253
  get title() {
254
- return n();
254
+ return i();
255
255
  },
256
256
  children: (d, k) => {
257
257
  A();
@@ -260,17 +260,17 @@ function Y(l) {
260
260
  },
261
261
  $$slots: { default: !0 }
262
262
  }), o(a), h(s, a);
263
- }), o(t), o(e), h(l, e);
263
+ }), o(t), o(e), h(n, e);
264
264
  }
265
- m(Y, {}, [], [], !0);
265
+ m(E, {}, [], [], !0);
266
266
  var Ve = x('<address class="flex flex-col gap-1 not-italic"><strong> </strong> <span> </span> <span> </span> <span> </span> <!></address>');
267
- function j(l, e) {
267
+ function Y(n, e) {
268
268
  z(e, !1), T();
269
269
  var t = Ve(), s = u(t), r = u(s, !0);
270
270
  o(s);
271
- var i = v(s, 2), n = u(i);
272
- o(i);
273
- var f = v(i, 2), a = u(f);
271
+ var l = v(s, 2), i = u(l);
272
+ o(l);
273
+ var f = v(l, 2), a = u(f);
274
274
  o(f);
275
275
  var c = v(f, 2), d = u(c, !0);
276
276
  o(c);
@@ -286,17 +286,17 @@ function j(l, e) {
286
286
  },
287
287
  $$slots: { default: !0 }
288
288
  }), o(t), y(() => {
289
- w(r, _.title), w(n, `${_.street},`), w(a, `${_.city}, Ontario, Canada`), w(d, _.postalCode);
290
- }), h(l, t), F();
289
+ w(r, _.title), w(i, `${_.street},`), w(a, `${_.city}, Ontario, Canada`), w(d, _.postalCode);
290
+ }), h(n, t), F();
291
291
  }
292
- m(j, {}, [], [], !0);
292
+ m(Y, {}, [], [], !0);
293
293
  var Ce = x('<footer><!> <div class="flex flex-col content-center gap-6 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-12 text-black-contrast md:grid md:grid-cols-2 lg:grid-cols-4"><div class="flex flex-col gap-1"><!> <!> <!> <!></div> <!> <!></div></footer>');
294
- function Me(l, e) {
294
+ function Me(n, e) {
295
295
  z(e, !0);
296
296
  let t = V(e, "subFooter", 7);
297
297
  var s = Ce(), r = u(s);
298
298
  {
299
- var i = (p) => {
299
+ var l = (p) => {
300
300
  U(p, {
301
301
  get links() {
302
302
  return t();
@@ -304,17 +304,17 @@ function Me(l, e) {
304
304
  });
305
305
  };
306
306
  se(r, (p) => {
307
- Array.isArray(t()) && t().length > 0 && p(i);
307
+ Array.isArray(t()) && t().length > 0 && p(l);
308
308
  });
309
309
  }
310
- var n = v(r, 2), f = u(n), a = u(f);
311
- R(a);
310
+ var i = v(r, 2), f = u(i), a = u(f);
311
+ D(a);
312
312
  var c = v(a, 2);
313
- O(c, {});
313
+ R(c, {});
314
314
  var d = v(c, 2);
315
315
  L(d, {
316
316
  get href() {
317
- return E.directory;
317
+ return O.directory;
318
318
  },
319
319
  children: (p, H) => {
320
320
  A();
@@ -334,9 +334,9 @@ function Me(l, e) {
334
334
  $$slots: { default: !0 }
335
335
  }), o(f);
336
336
  var b = v(f, 2);
337
- Y(b);
337
+ E(b);
338
338
  var P = v(b, 2);
339
- return j(P, {}), o(n), o(s), h(l, s), F({
339
+ return Y(P, {}), o(i), o(s), h(n, s), F({
340
340
  get subFooter() {
341
341
  return t();
342
342
  },
@@ -345,7 +345,7 @@ function Me(l, e) {
345
345
  }
346
346
  });
347
347
  }
348
- customElements.define("uofg-footer", m(Me, { subFooter: {} }, [], [], !0, (l) => class extends l {
348
+ customElements.define("uofg-footer", m(Me, { subFooter: {} }, [], [], !0, (n) => class extends n {
349
349
  constructor() {
350
350
  super(), oe(this.shadowRoot);
351
351
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/web-components",
3
- "version": "1.9.0-rc.7",
3
+ "version": "1.9.0-rc.8",
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",