@uoguelph/react-components 1.2.12 → 1.2.13

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.
Files changed (51) hide show
  1. package/dist/blockquote-author-link.js +8 -8
  2. package/dist/breadcrumb-home.js +13 -13
  3. package/dist/breadcrumb.js +13 -13
  4. package/dist/breadcrumbs.js +5 -5
  5. package/dist/card-content.js +4 -4
  6. package/dist/card-footer.js +1 -1
  7. package/dist/card-image.js +16 -16
  8. package/dist/card-title.js +5 -5
  9. package/dist/card.js +1 -1
  10. package/dist/carousel.js +30 -30
  11. package/dist/checkbox.js +26 -26
  12. package/dist/contact-email.js +8 -8
  13. package/dist/contact-name.js +6 -6
  14. package/dist/contact-phone.js +9 -9
  15. package/dist/contact-title.js +4 -4
  16. package/dist/contact.js +12 -12
  17. package/dist/container.js +7 -7
  18. package/dist/divider.js +10 -10
  19. package/dist/embedded-video-modal-button.js +30 -13
  20. package/dist/hero.js +19 -19
  21. package/dist/image-overlay.js +19 -19
  22. package/dist/info.js +2 -2
  23. package/dist/layout-content.js +3 -3
  24. package/dist/layout.js +8 -8
  25. package/dist/link-carousel-link.js +6 -6
  26. package/dist/link.js +3 -3
  27. package/dist/list-item.js +5 -5
  28. package/dist/list.js +1 -1
  29. package/dist/modal.js +27 -16
  30. package/dist/radio-group.js +13 -13
  31. package/dist/radio.js +8 -8
  32. package/dist/statistics-item-image.js +12 -2
  33. package/dist/statistics-item-represents.js +2 -5
  34. package/dist/statistics-item-value.js +2 -5
  35. package/dist/statistics-item.js +2 -2
  36. package/dist/statistics.js +33 -33
  37. package/dist/story-background-image.js +12 -2
  38. package/dist/story-background.js +2 -2
  39. package/dist/story-body.js +2 -2
  40. package/dist/story-footer.js +3 -3
  41. package/dist/story-foreground-content.js +2 -5
  42. package/dist/story-foreground-image.js +13 -3
  43. package/dist/story-foreground.js +2 -2
  44. package/dist/story.js +2 -2
  45. package/dist/tab-list.js +7 -7
  46. package/dist/tab-panel.js +8 -8
  47. package/dist/tab-panels.js +4 -4
  48. package/dist/tab.js +1 -1
  49. package/dist/tabs.js +6 -6
  50. package/dist/text-input.js +18 -18
  51. package/package.json +2 -2
@@ -1,14 +1,14 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { Link as i } from "./link.js";
3
- function f({
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { Link as u } from "./link.js";
3
+ function k({
4
4
  as: o,
5
- children: n,
6
- className: t,
5
+ children: t,
6
+ className: n,
7
7
  href: r,
8
- ...m
8
+ ...e
9
9
  }) {
10
- return /* @__PURE__ */ e(i, { ...m, href: r, as: o ?? "a", className: t, children: n });
10
+ return /* @__PURE__ */ m(u, { ...e, href: r, as: o ?? "a", className: `uofg-blockquote-author-link ${n}`, children: t });
11
11
  }
12
12
  export {
13
- f as BlockquoteAuthorLink
13
+ k as BlockquoteAuthorLink
14
14
  };
@@ -1,21 +1,21 @@
1
- import { jsx as o, jsxs as n } from "react/jsx-runtime";
2
- import { b as a } from "./regular-DmWV6rTj.js";
3
- import { FontAwesomeIcon as c } from "@fortawesome/react-fontawesome";
4
- import { twJoin as s } from "tailwind-merge";
5
- function l({
6
- href: r = "/",
1
+ import { jsx as o, jsxs as c } from "react/jsx-runtime";
2
+ import { b as s } from "./regular-DmWV6rTj.js";
3
+ import { FontAwesomeIcon as i } from "@fortawesome/react-fontawesome";
4
+ import { twJoin as l } from "tailwind-merge";
5
+ function n({
6
+ href: e = "/",
7
7
  children: t,
8
8
  // eslint-disable-line @typescript-eslint/no-unused-vars
9
- className: e,
10
- ...m
9
+ className: m,
10
+ ...r
11
11
  }) {
12
- const i = s("uog:h-[1em] uog:fill-black");
13
- return /* @__PURE__ */ o("li", { children: /* @__PURE__ */ n("a", { ...m, href: r, className: e, children: [
14
- /* @__PURE__ */ o(c, { icon: a, className: i }),
12
+ const a = l("uog:h-[1em] uog:fill-black");
13
+ return /* @__PURE__ */ o("li", { className: "uofg-breadcrumb-home-list-item", children: /* @__PURE__ */ c("a", { ...r, href: e, className: `uofg-breadcrumb-home ${m}`, children: [
14
+ /* @__PURE__ */ o(i, { icon: s, className: a }),
15
15
  /* @__PURE__ */ o("span", { className: "uog:sr-only", children: "U of G Homepage" })
16
16
  ] }) });
17
17
  }
18
- l.displayName = "BreadcrumbHome";
18
+ n.displayName = "BreadcrumbHome";
19
19
  export {
20
- l as BreadcrumbHome
20
+ n as BreadcrumbHome
21
21
  };
@@ -1,30 +1,30 @@
1
1
  import { jsxs as l, jsx as o } from "react/jsx-runtime";
2
2
  import { c as g } from "./regular-DmWV6rTj.js";
3
- import { FontAwesomeIcon as p } from "@fortawesome/react-fontawesome";
4
- import { twMerge as d } from "tailwind-merge";
5
- import { tv as f } from "tailwind-variants";
6
- const b = "a";
3
+ import { FontAwesomeIcon as d } from "@fortawesome/react-fontawesome";
4
+ import { twMerge as b } from "tailwind-merge";
5
+ import { tv as p } from "tailwind-variants";
6
+ const f = "a";
7
7
  function x({
8
- as: e,
9
- children: n,
8
+ as: n,
9
+ children: r,
10
10
  className: t,
11
- href: r,
11
+ href: e,
12
12
  ...a
13
13
  }) {
14
- const c = e ?? b, i = f({
14
+ const c = n ?? f, i = p({
15
15
  slots: {
16
16
  container: "uog:flex uog:items-center uog:gap-2",
17
17
  icon: "uog:h-[.75em]",
18
18
  link: "uog:underline uog:decoration-transparent uog:decoration-1 uog:transition-colors uog:hocus-visible:decoration-black"
19
19
  }
20
- }), { container: s, icon: m, link: u } = i();
21
- return /* @__PURE__ */ l("li", { className: s(), children: [
22
- /* @__PURE__ */ o(p, { icon: g, className: m() }),
23
- r ? /* @__PURE__ */ o(c, { ...a, className: d(u(), t), href: r, children: n }) : /* @__PURE__ */ o("span", { children: n })
20
+ }), { container: m, icon: s, link: u } = i();
21
+ return /* @__PURE__ */ l("li", { className: `uofg-breadcrumb-list-item ${m()}`, children: [
22
+ /* @__PURE__ */ o(d, { icon: g, className: s() }),
23
+ e ? /* @__PURE__ */ o(c, { ...a, className: `uofg-breadcrumb ${b(u(), t)}`, href: e, children: r }) : /* @__PURE__ */ o("span", { children: r })
24
24
  ] });
25
25
  }
26
26
  x.displayName = "Breadcrumb";
27
27
  export {
28
28
  x as Breadcrumb,
29
- b as defaultBreadcrumbElement
29
+ f as defaultBreadcrumbElement
30
30
  };
@@ -1,15 +1,15 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { twJoin as t, twMerge as u } from "tailwind-merge";
2
+ import { twJoin as u, twMerge as t } from "tailwind-merge";
3
3
  import { Container as a } from "./container.js";
4
- import { Breadcrumb as l } from "./breadcrumb.js";
4
+ import { Breadcrumb as b } from "./breadcrumb.js";
5
5
  import { BreadcrumbHome as g } from "./breadcrumb-home.js";
6
6
  function c({ className: o, children: e }) {
7
- const m = t("uog:flex uog:w-full uog:flex-wrap uog:items-center uog:gap-2");
8
- return /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r("ol", { className: u(m, o), children: e }) });
7
+ const m = u("uog:flex uog:w-full uog:flex-wrap uog:items-center uog:gap-2");
8
+ return /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r("ol", { className: `uofg-breadcrumbs ${t(m, o)}`, children: e }) });
9
9
  }
10
10
  c.displayName = "Breadcrumbs";
11
11
  export {
12
- l as Breadcrumb,
12
+ b as Breadcrumb,
13
13
  g as BreadcrumbHome,
14
14
  c as Breadcrumbs
15
15
  };
@@ -1,10 +1,10 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { useContext as g } from "react";
3
- import { twMerge as s } from "tailwind-merge";
4
- import { tv as n } from "tailwind-variants";
3
+ import { twMerge as n } from "tailwind-merge";
4
+ import { tv as s } from "tailwind-variants";
5
5
  import { CardContext as u } from "./card-context.js";
6
6
  function a({ children: t, className: r }) {
7
- const o = g(u), e = n({
7
+ const o = g(u), e = s({
8
8
  base: "uog:flex uog:flex-col uog:flex-1 uog:gap-2 uog:bg-grey-light-bg uog:p-5 uog:text-grey-light-contrast",
9
9
  variants: {
10
10
  isLink: {
@@ -12,7 +12,7 @@ function a({ children: t, className: r }) {
12
12
  }
13
13
  }
14
14
  });
15
- return /* @__PURE__ */ i("div", { className: s(e({ isLink: (o == null ? void 0 : o.isLink) ?? !1 }), r), children: t });
15
+ return /* @__PURE__ */ i("div", { className: `uofg-card-content ${n(e({ isLink: (o == null ? void 0 : o.isLink) ?? !1 }), r)}`, children: t });
16
16
  }
17
17
  a.displayName = "CardContent";
18
18
  export {
@@ -12,7 +12,7 @@ function u({ children: r, className: t }) {
12
12
  }
13
13
  }
14
14
  });
15
- return /* @__PURE__ */ a("div", { className: i(e({ centered: (o == null ? void 0 : o.centered) ?? !1 }), t), children: r });
15
+ return /* @__PURE__ */ a("div", { className: `uofg-card-footer ${i(e({ centered: (o == null ? void 0 : o.centered) ?? !1 }), t)}`, children: r });
16
16
  }
17
17
  u.displayName = "CardFooter";
18
18
  export {
@@ -1,19 +1,19 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { useContext as c } from "react";
3
- import { twMerge as f } from "tailwind-merge";
2
+ import { useContext as f } from "react";
3
+ import { twMerge as p } from "tailwind-merge";
4
4
  import { tv as w } from "tailwind-variants";
5
5
  import { CardContext as v } from "./card-context.js";
6
6
  const C = "img";
7
7
  function h({
8
8
  as: e,
9
9
  src: a,
10
- alt: t,
11
- width: i,
12
- height: n,
13
- className: s,
14
- ...m
10
+ alt: i,
11
+ width: n,
12
+ height: t,
13
+ className: m,
14
+ ...s
15
15
  }) {
16
- const u = e ?? C, o = c(v), l = w({
16
+ const g = e ?? C, o = f(v), u = w({
17
17
  slots: {
18
18
  container: "uog:w-full uog:overflow-hidden",
19
19
  wrapper: "uog:w-full uog:overflow-hidden",
@@ -26,16 +26,16 @@ function h({
26
26
  }
27
27
  }
28
28
  }
29
- }), { container: g, wrapper: d, image: p } = l({ isLink: (o == null ? void 0 : o.isLink) ?? !1 });
30
- return /* @__PURE__ */ r("div", { className: g(), children: /* @__PURE__ */ r("div", { className: d(), children: /* @__PURE__ */ r(
31
- u,
29
+ }), { container: d, wrapper: l, image: c } = u({ isLink: (o == null ? void 0 : o.isLink) ?? !1 });
30
+ return /* @__PURE__ */ r("div", { className: `uofg-card-image-container ${d()}`, children: /* @__PURE__ */ r("div", { className: `uofg-card-image-wrapper ${l()}`, children: /* @__PURE__ */ r(
31
+ g,
32
32
  {
33
- ...m,
33
+ ...s,
34
34
  src: a,
35
- alt: t,
36
- width: i,
37
- height: n,
38
- className: f(p(), s)
35
+ alt: i,
36
+ width: n,
37
+ height: t,
38
+ className: `uofg-card-image ${p(c(), m)}`
39
39
  }
40
40
  ) }) });
41
41
  }
@@ -1,10 +1,10 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { useContext as m } from "react";
3
- import { twMerge as n } from "tailwind-merge";
4
- import { tv as a } from "tailwind-variants";
2
+ import { useContext as a } from "react";
3
+ import { twMerge as m } from "tailwind-merge";
4
+ import { tv as n } from "tailwind-variants";
5
5
  import { CardContext as s } from "./card-context.js";
6
6
  function d({ children: t, className: r }) {
7
- const e = m(s), o = a({
7
+ const e = a(s), o = n({
8
8
  base: "uog:flex uog:font-bold uog:text-lg",
9
9
  variants: {
10
10
  centered: {
@@ -12,7 +12,7 @@ function d({ children: t, className: r }) {
12
12
  }
13
13
  }
14
14
  });
15
- return /* @__PURE__ */ i("div", { className: n(o({ centered: (e == null ? void 0 : e.centered) ?? !1 }), r), children: t });
15
+ return /* @__PURE__ */ i("div", { className: `uofg-card-title ${m(o({ centered: (e == null ? void 0 : e.centered) ?? !1 }), r)}`, children: t });
16
16
  }
17
17
  d.displayName = "CardTitle";
18
18
  export {
package/dist/card.js CHANGED
@@ -33,7 +33,7 @@ function v({
33
33
  }
34
34
  ]
35
35
  }), e = "href" in r, g = f.toArray(o).some((m) => m.type === p);
36
- return /* @__PURE__ */ t(a, { ...r, className: l(u({ isLink: e, hasImage: g }), n), children: /* @__PURE__ */ t(d.Provider, { value: { isLink: e, centered: s ?? !1 }, children: o }) });
36
+ return /* @__PURE__ */ t(a, { ...r, className: `uofg-card ${l(u({ isLink: e, hasImage: g }), n)}`, children: /* @__PURE__ */ t(d.Provider, { value: { isLink: e, centered: s ?? !1 }, children: o }) });
37
37
  }
38
38
  v.displayName = "Card";
39
39
  export {
package/dist/carousel.js CHANGED
@@ -1,48 +1,48 @@
1
- import { jsxs as g, jsx as u } from "react/jsx-runtime";
1
+ import { jsxs as g, jsx as l } from "react/jsx-runtime";
2
2
  import { b as k, c as I } from "./solid-D4xgBves.js";
3
3
  import { FontAwesomeIcon as p } from "@fortawesome/react-fontawesome";
4
- import { Children as A, useRef as d, useState as F, useEffect as L } from "react";
5
- import { tv as S } from "tailwind-variants";
6
- import { l as q, b as M, m as w, c as R } from "./math-utils-BwzyIQRL.js";
7
- const z = (c, m, e) => {
8
- const n = c.scrollLeft, s = performance.now();
4
+ import { Children as $, useRef as d, useState as A, useEffect as F } from "react";
5
+ import { tv as L } from "tailwind-variants";
6
+ import { l as S, b as q, m as w, c as M } from "./math-utils-BwzyIQRL.js";
7
+ const R = (u, m, e) => {
8
+ const n = u.scrollLeft, s = performance.now();
9
9
  return new Promise((r) => {
10
10
  const a = (o) => {
11
- const f = o - s, i = M(Math.min(f / e, 1), 0.25, 0, 0.25, 1);
12
- c.scrollLeft = q(n, m, i), f < e ? requestAnimationFrame(a) : r();
11
+ const f = o - s, i = q(Math.min(f / e, 1), 0.25, 0, 0.25, 1);
12
+ u.scrollLeft = S(n, m, i), f < e ? requestAnimationFrame(a) : r();
13
13
  };
14
14
  requestAnimationFrame(a);
15
15
  });
16
16
  };
17
- function H({ children: c, display: m = 1, loop: e = "none" }) {
18
- const n = A.count(c), s = Math.max(m, 1), r = d(null), a = d(0), [o, f] = F(0), i = n - s, h = d(!1);
19
- L(() => {
17
+ function G({ children: u, display: m = 1, loop: e = "none" }) {
18
+ const n = $.count(u), s = Math.max(m, 1), r = d(null), a = d(0), [o, f] = A(0), i = n - s, h = d(!1);
19
+ F(() => {
20
20
  var t;
21
21
  if (!r.current)
22
22
  return;
23
- const l = ((t = r.current) == null ? void 0 : t.offsetWidth) / s;
24
- (e === "jump" || e === "none") && (h.current = !0, z(r.current, l * o, 250).then(() => {
23
+ const c = ((t = r.current) == null ? void 0 : t.offsetWidth) / s;
24
+ (e === "jump" || e === "none") && (h.current = !0, R(r.current, c * o, 250).then(() => {
25
25
  h.current = !1;
26
26
  })), a.current = o;
27
27
  }, [o, e, i, s]);
28
- const x = (l) => {
28
+ const x = (c) => {
29
29
  if (h.current) return;
30
30
  let t;
31
31
  switch (e) {
32
32
  case "none":
33
- t = R(o + l, 0, i);
33
+ t = M(o + c, 0, i);
34
34
  break;
35
35
  case "jump":
36
- t = w(o + l, i + 1);
36
+ t = w(o + c, i + 1);
37
37
  break;
38
38
  case "continuous":
39
- t = w(o + l, n);
39
+ t = w(o + c, n);
40
40
  break;
41
41
  default:
42
42
  t = 0;
43
43
  }
44
44
  f(t);
45
- }, C = S({
45
+ }, C = L({
46
46
  slots: {
47
47
  base: "uog:relative uog:flex uog:h-fit uog:min-h-[7rem] uog:w-full uog:flex-col-reverse",
48
48
  contentContainer: "uog:grid uog:w-full uog:flex-1 uog:grid-cols-[repeat(var(--items),calc(100%/var(--display)))] uog:overflow-x-hidden [&>*]:[grid-row:1]",
@@ -68,16 +68,16 @@ function H({ children: c, display: m = 1, loop: e = "none" }) {
68
68
  }
69
69
  }
70
70
  }), b = n > s, { base: y, contentContainer: N, controlContainer: j, control: v } = C({ showControls: b });
71
- return /* @__PURE__ */ g("div", { className: y(), children: [
72
- b && /* @__PURE__ */ g("div", { className: j(), children: [
71
+ return /* @__PURE__ */ g("div", { className: `uofg-carousel ${y()}`, children: [
72
+ b && /* @__PURE__ */ g("div", { className: `uofg-carousel-control-container ${j()}`, children: [
73
73
  /* @__PURE__ */ g(
74
74
  "button",
75
75
  {
76
76
  onClick: () => x(-1),
77
- className: v({ showControls: !(e === "none" && o === 0), direction: "left" }),
77
+ className: `uofg-carousel-shift-left ${v({ showControls: !(e === "none" && o === 0), direction: "left" })}`,
78
78
  children: [
79
- /* @__PURE__ */ u("span", { className: "uog:sr-only", children: "Shift left" }),
80
- /* @__PURE__ */ u(p, { icon: k })
79
+ /* @__PURE__ */ l("span", { className: "uog:sr-only", children: "Shift left" }),
80
+ /* @__PURE__ */ l(p, { icon: k })
81
81
  ]
82
82
  }
83
83
  ),
@@ -85,29 +85,29 @@ function H({ children: c, display: m = 1, loop: e = "none" }) {
85
85
  "button",
86
86
  {
87
87
  onClick: () => x(1),
88
- className: v({ showControls: !(e === "none" && o === i), direction: "right" }),
88
+ className: `uofg-carousel-shift-right ${v({ showControls: !(e === "none" && o === i), direction: "right" })}`,
89
89
  children: [
90
- /* @__PURE__ */ u("span", { className: "uog:sr-only", children: "Shift right" }),
91
- /* @__PURE__ */ u(p, { icon: I })
90
+ /* @__PURE__ */ l("span", { className: "uog:sr-only", children: "Shift right" }),
91
+ /* @__PURE__ */ l(p, { icon: I })
92
92
  ]
93
93
  }
94
94
  )
95
95
  ] }),
96
- /* @__PURE__ */ u(
96
+ /* @__PURE__ */ l(
97
97
  "div",
98
98
  {
99
- className: N(),
99
+ className: `uofg-carousel-content-container ${N()}`,
100
100
  ref: r,
101
101
  style: {
102
102
  // Define CSS variables for the grid layout
103
103
  "--items": n,
104
104
  "--display": s
105
105
  },
106
- children: c
106
+ children: u
107
107
  }
108
108
  )
109
109
  ] });
110
110
  }
111
111
  export {
112
- H as Carousel
112
+ G as Carousel
113
113
  };
package/dist/checkbox.js CHANGED
@@ -1,19 +1,19 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import { d as p } from "./regular-DmWV6rTj.js";
3
3
  import { FontAwesomeIcon as y } from "@fortawesome/react-fontawesome";
4
- import { Field as w, Checkbox as v, Label as N, Description as C } from "@headlessui/react";
5
- import { useState as j } from "react";
6
- import { tv as F } from "tailwind-variants";
7
- function z({
4
+ import { Field as w, Checkbox as v, Label as N, Description as $ } from "@headlessui/react";
5
+ import { useState as C } from "react";
6
+ import { tv as j } from "tailwind-variants";
7
+ function F({
8
8
  checked: g = !1,
9
9
  label: c,
10
- description: t,
11
- color: r = "yellow",
12
- disabled: s = !1,
10
+ description: u,
11
+ color: l = "yellow",
12
+ disabled: i = !1,
13
13
  onChange: o,
14
- ...l
14
+ ...r
15
15
  }) {
16
- const [a, n] = j(g), b = F({
16
+ const [a, b] = C(g), n = j({
17
17
  slots: {
18
18
  base: "uog:flex uog:flex-col uog:gap-0.5 uog:cursor-pointer",
19
19
  container: "uog:flex uog:items-center uog:gap-2",
@@ -56,32 +56,32 @@ function z({
56
56
  }), {
57
57
  base: h,
58
58
  container: x,
59
- box: d,
60
- check: f,
61
- label: k,
59
+ box: f,
60
+ check: k,
61
+ label: d,
62
62
  description: m
63
- } = b({ color: r, disabled: s });
64
- return /* @__PURE__ */ i(w, { className: h(), children: [
65
- /* @__PURE__ */ i("div", { className: x(), children: [
63
+ } = n({ color: l, disabled: i });
64
+ return /* @__PURE__ */ s(w, { className: `uofg-checkbox-field ${h()}`, children: [
65
+ /* @__PURE__ */ s("div", { className: `uofg-checkbox-container ${x()}`, children: [
66
66
  /* @__PURE__ */ e(
67
67
  v,
68
68
  {
69
69
  checked: a,
70
- onChange: (u) => {
71
- n(u), o == null || o(u);
70
+ onChange: (t) => {
71
+ b(t), o == null || o(t);
72
72
  },
73
- disabled: s,
74
- className: d(),
75
- ...l,
76
- children: /* @__PURE__ */ e(y, { className: f(), icon: p })
73
+ disabled: i,
74
+ className: `uofg-checkbox ${f()}`,
75
+ ...r,
76
+ children: /* @__PURE__ */ e(y, { className: `uofg-checkbox-icon ${k()}`, icon: p })
77
77
  }
78
78
  ),
79
- c && /* @__PURE__ */ e(N, { className: k(), children: c })
79
+ c && /* @__PURE__ */ e(N, { className: `uofg-checkbox-label ${d()}`, children: c })
80
80
  ] }),
81
- t && /* @__PURE__ */ e(C, { className: m(), children: t })
81
+ u && /* @__PURE__ */ e($, { className: `uofg-checkbox-description ${m()}`, children: u })
82
82
  ] });
83
83
  }
84
- z.displayName = "Checkbox";
84
+ F.displayName = "Checkbox";
85
85
  export {
86
- z as Checkbox
86
+ F as Checkbox
87
87
  };
@@ -1,18 +1,18 @@
1
- import { jsxs as s, jsx as i } from "react/jsx-runtime";
2
- import { g as c } from "./regular-DmWV6rTj.js";
3
- import { FontAwesomeIcon as a } from "@fortawesome/react-fontawesome";
1
+ import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
+ import { g as r } from "./regular-DmWV6rTj.js";
3
+ import { FontAwesomeIcon as s } from "@fortawesome/react-fontawesome";
4
4
  import { twMerge as l } from "tailwind-merge";
5
5
  import { tv as u } from "tailwind-variants";
6
6
  function m({ email: o, className: n }) {
7
- const t = u({
7
+ const i = u({
8
8
  slots: {
9
9
  container: "uog:flex uog:items-center uog:gap-1",
10
10
  link: "uog:underline uog:decoration-current uog:hocus-visible:decoration-transparent uog:transition-colors uog:text-body-copy-link-on-light uog:focus-visible:ring-2 uog:focus-visible:ring-offset-2 uog:focus-visible:outline-none"
11
11
  }
12
- }), { container: e, link: r } = t();
13
- return /* @__PURE__ */ s("div", { className: l(e(), n), children: [
14
- /* @__PURE__ */ i(a, { icon: c }),
15
- /* @__PURE__ */ i("a", { className: r(), href: `mailto:${o}`, children: o })
12
+ }), { container: e, link: c } = i();
13
+ return /* @__PURE__ */ a("div", { className: `uofg-contact-email-container ${l(e(), n)}`, children: [
14
+ /* @__PURE__ */ t(s, { icon: r, className: "uofg-contact-email-icon" }),
15
+ /* @__PURE__ */ t("a", { className: `uofg-contact-email ${c()}`, href: `mailto:${o}`, children: o })
16
16
  ] });
17
17
  }
18
18
  m.displayName = "ContactEmail";
@@ -1,10 +1,10 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { twMerge as m } from "tailwind-merge";
3
- function n({ children: o, className: t }) {
4
- const a = m("uog:text-body-copy-bold uog:font-bold", t);
5
- return /* @__PURE__ */ e("span", { className: a, children: o });
2
+ import { twMerge as n } from "tailwind-merge";
3
+ function m({ children: o, className: t }) {
4
+ const a = n("uog:text-body-copy-bold uog:font-bold", t);
5
+ return /* @__PURE__ */ e("span", { className: `uofg-contact-name ${a}`, children: o });
6
6
  }
7
- n.displayName = "ContactName";
7
+ m.displayName = "ContactName";
8
8
  export {
9
- n as ContactName
9
+ m as ContactName
10
10
  };
@@ -1,19 +1,19 @@
1
- import { jsxs as e, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
2
  import { d as a } from "./solid-D4xgBves.js";
3
- import { FontAwesomeIcon as l } from "@fortawesome/react-fontawesome";
4
- import { twMerge as u } from "tailwind-merge";
3
+ import { FontAwesomeIcon as u } from "@fortawesome/react-fontawesome";
4
+ import { twMerge as l } from "tailwind-merge";
5
5
  import { tv as g } from "tailwind-variants";
6
6
  function f({ number: o, extension: n, className: i }) {
7
- const r = g({
7
+ const c = g({
8
8
  slots: {
9
9
  container: "uog:flex uog:items-center uog:gap-1",
10
10
  link: "uog:underline uog:decoration-current uog:hocus-visible:decoration-transparent uog:transition-colors uog:text-body-copy-link-on-light uog:focus-visible:ring-2 uog:focus-visible:ring-offset-2 uog:focus-visible:outline-none"
11
11
  }
12
- }), { container: s, link: c } = r();
13
- return /* @__PURE__ */ e("div", { className: u(s(), i), children: [
14
- /* @__PURE__ */ t(l, { icon: a }),
15
- /* @__PURE__ */ t("a", { className: c(), href: `tel:${o}`, children: o }),
16
- n && /* @__PURE__ */ e("span", { children: [
12
+ }), { container: r, link: s } = c();
13
+ return /* @__PURE__ */ t("div", { className: `uofg-contact-phone-container ${l(r(), i)}`, children: [
14
+ /* @__PURE__ */ e(u, { icon: a, className: "uofg-contact-phone-icon" }),
15
+ /* @__PURE__ */ e("a", { className: `uofg-contact-phone ${s()}`, href: `tel:${o}`, children: o }),
16
+ n && /* @__PURE__ */ t("span", { className: "uofg-contact-phone-extension", children: [
17
17
  " - Ext. ",
18
18
  n
19
19
  ] })
@@ -1,8 +1,8 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { twMerge as a } from "tailwind-merge";
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { twMerge as c } from "tailwind-merge";
3
3
  function i({ children: t, className: o }) {
4
- const e = a("uog:text-body-copy", o);
5
- return /* @__PURE__ */ r("span", { className: e, children: t });
4
+ const e = c("uog:text-body-copy", o);
5
+ return /* @__PURE__ */ a("span", { className: `uofg-contact-title ${e}`, children: t });
6
6
  }
7
7
  i.displayName = "ContactTitle";
8
8
  export {
package/dist/contact.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { twMerge as a } from "tailwind-merge";
3
- import { ContactEmail as f } from "./contact-email.js";
4
- import { ContactName as i } from "./contact-name.js";
5
- import { ContactPhone as u } from "./contact-phone.js";
2
+ import { twMerge as c } from "tailwind-merge";
3
+ import { ContactEmail as p } from "./contact-email.js";
4
+ import { ContactName as x } from "./contact-name.js";
5
+ import { ContactPhone as l } from "./contact-phone.js";
6
6
  import { ContactTitle as s } from "./contact-title.js";
7
- function c({ children: o, className: t }) {
8
- const e = a("uog:bg-grey-light-bg uog:mb-2 uog:flex uog:flex-col uog:p-4 uog:text-body-copy", t);
9
- return /* @__PURE__ */ r("div", { className: e, children: o });
7
+ function a({ children: o, className: t }) {
8
+ const e = c("uog:bg-grey-light-bg uog:mb-2 uog:flex uog:flex-col uog:p-4 uog:text-body-copy", t);
9
+ return /* @__PURE__ */ r("div", { className: `uofg-contact ${e}`, children: o });
10
10
  }
11
- c.displayName = "Contact";
11
+ a.displayName = "Contact";
12
12
  export {
13
- c as Contact,
14
- f as ContactEmail,
15
- i as ContactName,
16
- u as ContactPhone,
13
+ a as Contact,
14
+ p as ContactEmail,
15
+ x as ContactName,
16
+ l as ContactPhone,
17
17
  s as ContactTitle
18
18
  };
package/dist/container.js CHANGED
@@ -1,16 +1,16 @@
1
- import { jsx as u } from "react/jsx-runtime";
2
- import { twMerge as a } from "tailwind-merge";
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { twMerge as m } from "tailwind-merge";
3
3
  const s = "div";
4
- function p({
4
+ function g({
5
5
  as: o,
6
6
  children: t,
7
7
  className: e,
8
8
  ...n
9
9
  }) {
10
- const m = o ?? s, r = a("uog:max-w-[137rem] uog:w-full uog:px-4 uog:pt-2 uog:pb-4 uog:mx-auto", e);
11
- return /* @__PURE__ */ u(m, { ...n, className: r, children: t });
10
+ const r = o ?? s, u = m("uog:max-w-[137rem] uog:w-full uog:px-4 uog:pt-2 uog:pb-4 uog:mx-auto", e);
11
+ return /* @__PURE__ */ a(r, { ...n, className: `uofg-container ${u}`, children: t });
12
12
  }
13
- p.displayName = "Container";
13
+ g.displayName = "Container";
14
14
  export {
15
- p as Container
15
+ g as Container
16
16
  };
package/dist/divider.js CHANGED
@@ -1,7 +1,7 @@
1
- import { jsxs as l, Fragment as g, jsx as o } from "react/jsx-runtime";
2
- import { tv as u } from "tailwind-variants";
3
- const i = () => {
4
- const e = u({
1
+ import { jsxs as e, Fragment as u, jsx as o } from "react/jsx-runtime";
2
+ import { tv as c } from "tailwind-variants";
3
+ const t = () => {
4
+ const l = c({
5
5
  slots: {
6
6
  base: "uog:mx-auto uog:my-7 uog:h-1 uog:w-3/4 uog:border-0 uog:flex",
7
7
  red: "uog:bg-red",
@@ -15,16 +15,16 @@ const i = () => {
15
15
  class: "uog:flex-1 uog:h-full"
16
16
  }
17
17
  ]
18
- }), { base: s, red: r, yellow: a, black: c, hr: d } = e();
19
- return /* @__PURE__ */ l(g, { children: [
20
- /* @__PURE__ */ l("div", { className: s(), children: [
18
+ }), { base: s, red: r, yellow: a, black: d, hr: g } = l();
19
+ return /* @__PURE__ */ e(u, { children: [
20
+ /* @__PURE__ */ e("div", { className: `uofg-divider ${s()}`, children: [
21
21
  /* @__PURE__ */ o("div", { className: r() }),
22
22
  /* @__PURE__ */ o("div", { className: a() }),
23
- /* @__PURE__ */ o("div", { className: c() })
23
+ /* @__PURE__ */ o("div", { className: d() })
24
24
  ] }),
25
- /* @__PURE__ */ o("hr", { className: d() })
25
+ /* @__PURE__ */ o("hr", { className: g() })
26
26
  ] });
27
27
  };
28
28
  export {
29
- i as Divider
29
+ t as Divider
30
30
  };