@uoguelph/web-components 1.6.0-rc.0 → 1.6.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.
@@ -1438,23 +1438,26 @@ function z1(s) {
1438
1438
  return (
1439
1439
  /*windowWidth*/
1440
1440
  f[4] >= H && !/*subNavigationIsOverflowing*/
1441
- f[6] ? 0 : 1
1441
+ f[6] ? 0 : (
1442
+ /*subNavigation*/
1443
+ f[0].length > 0 ? 1 : -1
1444
+ )
1442
1445
  );
1443
1446
  }
1444
- return l = u(s), o = i[l] = a[l](s), {
1447
+ return ~(l = u(s)) && (o = i[l] = a[l](s)), {
1445
1448
  c() {
1446
- e = b("nav"), n = b("ul"), c && c.c(), t = x(), o.c(), h(n, "class", "flex h-full w-fit min-w-full overflow-y-visible items-center justify-end [&>li]:contents relative"), h(e, "class", "block align-items relative h-[5rem] justify-end bg-uofg-grey px-[calc((100%-1320px)/2)] text-3xl lg:h-16 lg:whitespace-nowrap"), h(e, "aria-label", "Page Specific");
1449
+ e = b("nav"), n = b("ul"), c && c.c(), t = x(), o && o.c(), h(n, "class", "flex h-full w-fit min-w-full overflow-y-visible items-center justify-end [&>li]:contents relative"), h(e, "class", "block align-items relative h-[5rem] justify-end bg-uofg-grey px-[calc((100%-1320px)/2)] text-3xl lg:h-16 lg:whitespace-nowrap"), h(e, "aria-label", "Page Specific");
1447
1450
  },
1448
1451
  m(f, _) {
1449
- d(f, e, _), g(e, n), c && c.m(n, null), g(n, t), i[l].m(n, null), s[12](n), r = !0;
1452
+ d(f, e, _), g(e, n), c && c.m(n, null), g(n, t), ~l && i[l].m(n, null), s[12](n), r = !0;
1450
1453
  },
1451
1454
  p(f, _) {
1452
1455
  /*pageTitle*/
1453
1456
  f[1] ? c ? c.p(f, _) : (c = R1(f), c.c(), c.m(n, t)) : c && (c.d(1), c = null);
1454
1457
  let y = l;
1455
- l = u(f), l === y ? i[l].p(f, _) : (E(), m(i[y], 1, 1, () => {
1458
+ l = u(f), l === y ? ~l && i[l].p(f, _) : (o && (E(), m(i[y], 1, 1, () => {
1456
1459
  i[y] = null;
1457
- }), U(), o = i[l], o ? o.p(f, _) : (o = i[l] = a[l](f), o.c()), p(o, 1), o.m(n, null));
1460
+ }), U()), ~l ? (o = i[l], o ? o.p(f, _) : (o = i[l] = a[l](f), o.c()), p(o, 1), o.m(n, null)) : o = null);
1458
1461
  },
1459
1462
  i(f) {
1460
1463
  r || (p(o), r = !0);
@@ -1463,7 +1466,7 @@ function z1(s) {
1463
1466
  m(o), r = !1;
1464
1467
  },
1465
1468
  d(f) {
1466
- f && v(e), c && c.d(), i[l].d(), s[12](null);
1469
+ f && v(e), c && c.d(), ~l && i[l].d(), s[12](null);
1467
1470
  }
1468
1471
  };
1469
1472
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/web-components",
3
- "version": "1.6.0-rc.0",
3
+ "version": "1.6.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",