@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.
- package/dist/blockquote-author-link.js +8 -8
- package/dist/breadcrumb-home.js +13 -13
- package/dist/breadcrumb.js +13 -13
- package/dist/breadcrumbs.js +5 -5
- package/dist/card-content.js +4 -4
- package/dist/card-footer.js +1 -1
- package/dist/card-image.js +16 -16
- package/dist/card-title.js +5 -5
- package/dist/card.js +1 -1
- package/dist/carousel.js +30 -30
- package/dist/checkbox.js +26 -26
- package/dist/contact-email.js +8 -8
- package/dist/contact-name.js +6 -6
- package/dist/contact-phone.js +9 -9
- package/dist/contact-title.js +4 -4
- package/dist/contact.js +12 -12
- package/dist/container.js +7 -7
- package/dist/divider.js +10 -10
- package/dist/embedded-video-modal-button.js +30 -13
- package/dist/hero.js +19 -19
- package/dist/image-overlay.js +19 -19
- package/dist/info.js +2 -2
- package/dist/layout-content.js +3 -3
- package/dist/layout.js +8 -8
- package/dist/link-carousel-link.js +6 -6
- package/dist/link.js +3 -3
- package/dist/list-item.js +5 -5
- package/dist/list.js +1 -1
- package/dist/modal.js +27 -16
- package/dist/radio-group.js +13 -13
- package/dist/radio.js +8 -8
- package/dist/statistics-item-image.js +12 -2
- package/dist/statistics-item-represents.js +2 -5
- package/dist/statistics-item-value.js +2 -5
- package/dist/statistics-item.js +2 -2
- package/dist/statistics.js +33 -33
- package/dist/story-background-image.js +12 -2
- package/dist/story-background.js +2 -2
- package/dist/story-body.js +2 -2
- package/dist/story-footer.js +3 -3
- package/dist/story-foreground-content.js +2 -5
- package/dist/story-foreground-image.js +13 -3
- package/dist/story-foreground.js +2 -2
- package/dist/story.js +2 -2
- package/dist/tab-list.js +7 -7
- package/dist/tab-panel.js +8 -8
- package/dist/tab-panels.js +4 -4
- package/dist/tab.js +1 -1
- package/dist/tabs.js +6 -6
- package/dist/text-input.js +18 -18
- package/package.json +2 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Link as
|
|
3
|
-
function
|
|
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:
|
|
6
|
-
className:
|
|
5
|
+
children: t,
|
|
6
|
+
className: n,
|
|
7
7
|
href: r,
|
|
8
|
-
...
|
|
8
|
+
...e
|
|
9
9
|
}) {
|
|
10
|
-
return /* @__PURE__ */
|
|
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
|
-
|
|
13
|
+
k as BlockquoteAuthorLink
|
|
14
14
|
};
|
package/dist/breadcrumb-home.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { b as
|
|
3
|
-
import { FontAwesomeIcon as
|
|
4
|
-
import { twJoin as
|
|
5
|
-
function
|
|
6
|
-
href:
|
|
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:
|
|
10
|
-
...
|
|
9
|
+
className: m,
|
|
10
|
+
...r
|
|
11
11
|
}) {
|
|
12
|
-
const
|
|
13
|
-
return /* @__PURE__ */ o("li", { children: /* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */ o(
|
|
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
|
-
|
|
18
|
+
n.displayName = "BreadcrumbHome";
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
n as BreadcrumbHome
|
|
21
21
|
};
|
package/dist/breadcrumb.js
CHANGED
|
@@ -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
|
|
4
|
-
import { twMerge as
|
|
5
|
-
import { tv as
|
|
6
|
-
const
|
|
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:
|
|
9
|
-
children:
|
|
8
|
+
as: n,
|
|
9
|
+
children: r,
|
|
10
10
|
className: t,
|
|
11
|
-
href:
|
|
11
|
+
href: e,
|
|
12
12
|
...a
|
|
13
13
|
}) {
|
|
14
|
-
const c =
|
|
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:
|
|
21
|
-
return /* @__PURE__ */ l("li", { className:
|
|
22
|
-
/* @__PURE__ */ o(
|
|
23
|
-
|
|
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
|
-
|
|
29
|
+
f as defaultBreadcrumbElement
|
|
30
30
|
};
|
package/dist/breadcrumbs.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { twJoin as
|
|
2
|
+
import { twJoin as u, twMerge as t } from "tailwind-merge";
|
|
3
3
|
import { Container as a } from "./container.js";
|
|
4
|
-
import { Breadcrumb as
|
|
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 =
|
|
8
|
-
return /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r("ol", { className:
|
|
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
|
-
|
|
12
|
+
b as Breadcrumb,
|
|
13
13
|
g as BreadcrumbHome,
|
|
14
14
|
c as Breadcrumbs
|
|
15
15
|
};
|
package/dist/card-content.js
CHANGED
|
@@ -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
|
|
4
|
-
import { tv as
|
|
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 =
|
|
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:
|
|
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 {
|
package/dist/card-footer.js
CHANGED
|
@@ -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)
|
|
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 {
|
package/dist/card-image.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { twMerge as
|
|
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:
|
|
11
|
-
width:
|
|
12
|
-
height:
|
|
13
|
-
className:
|
|
14
|
-
...
|
|
10
|
+
alt: i,
|
|
11
|
+
width: n,
|
|
12
|
+
height: t,
|
|
13
|
+
className: m,
|
|
14
|
+
...s
|
|
15
15
|
}) {
|
|
16
|
-
const
|
|
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:
|
|
30
|
-
return /* @__PURE__ */ r("div", { className:
|
|
31
|
-
|
|
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
|
-
...
|
|
33
|
+
...s,
|
|
34
34
|
src: a,
|
|
35
|
-
alt:
|
|
36
|
-
width:
|
|
37
|
-
height:
|
|
38
|
-
className:
|
|
35
|
+
alt: i,
|
|
36
|
+
width: n,
|
|
37
|
+
height: t,
|
|
38
|
+
className: `uofg-card-image ${p(c(), m)}`
|
|
39
39
|
}
|
|
40
40
|
) }) });
|
|
41
41
|
}
|
package/dist/card-title.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { useContext as
|
|
3
|
-
import { twMerge as
|
|
4
|
-
import { tv as
|
|
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 =
|
|
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:
|
|
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)
|
|
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
|
|
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
|
|
5
|
-
import { tv as
|
|
6
|
-
import { l as
|
|
7
|
-
const
|
|
8
|
-
const n =
|
|
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 =
|
|
12
|
-
|
|
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
|
|
18
|
-
const n =
|
|
19
|
-
|
|
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
|
|
24
|
-
(e === "jump" || e === "none") && (h.current = !0,
|
|
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 = (
|
|
28
|
+
const x = (c) => {
|
|
29
29
|
if (h.current) return;
|
|
30
30
|
let t;
|
|
31
31
|
switch (e) {
|
|
32
32
|
case "none":
|
|
33
|
-
t =
|
|
33
|
+
t = M(o + c, 0, i);
|
|
34
34
|
break;
|
|
35
35
|
case "jump":
|
|
36
|
-
t = w(o +
|
|
36
|
+
t = w(o + c, i + 1);
|
|
37
37
|
break;
|
|
38
38
|
case "continuous":
|
|
39
|
-
t = w(o +
|
|
39
|
+
t = w(o + c, n);
|
|
40
40
|
break;
|
|
41
41
|
default:
|
|
42
42
|
t = 0;
|
|
43
43
|
}
|
|
44
44
|
f(t);
|
|
45
|
-
}, C =
|
|
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()
|
|
72
|
-
b && /* @__PURE__ */ g("div", { className: j()
|
|
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__ */
|
|
80
|
-
/* @__PURE__ */
|
|
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__ */
|
|
91
|
-
/* @__PURE__ */
|
|
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__ */
|
|
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:
|
|
106
|
+
children: u
|
|
107
107
|
}
|
|
108
108
|
)
|
|
109
109
|
] });
|
|
110
110
|
}
|
|
111
111
|
export {
|
|
112
|
-
|
|
112
|
+
G as Carousel
|
|
113
113
|
};
|
package/dist/checkbox.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsxs as
|
|
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
|
|
5
|
-
import { useState as
|
|
6
|
-
import { tv as
|
|
7
|
-
function
|
|
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:
|
|
11
|
-
color:
|
|
12
|
-
disabled:
|
|
10
|
+
description: u,
|
|
11
|
+
color: l = "yellow",
|
|
12
|
+
disabled: i = !1,
|
|
13
13
|
onChange: o,
|
|
14
|
-
...
|
|
14
|
+
...r
|
|
15
15
|
}) {
|
|
16
|
-
const [a,
|
|
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:
|
|
60
|
-
check:
|
|
61
|
-
label:
|
|
59
|
+
box: f,
|
|
60
|
+
check: k,
|
|
61
|
+
label: d,
|
|
62
62
|
description: m
|
|
63
|
-
} =
|
|
64
|
-
return /* @__PURE__ */
|
|
65
|
-
/* @__PURE__ */
|
|
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: (
|
|
71
|
-
|
|
70
|
+
onChange: (t) => {
|
|
71
|
+
b(t), o == null || o(t);
|
|
72
72
|
},
|
|
73
|
-
disabled:
|
|
74
|
-
className:
|
|
75
|
-
...
|
|
76
|
-
children: /* @__PURE__ */ e(y, { className:
|
|
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:
|
|
79
|
+
c && /* @__PURE__ */ e(N, { className: `uofg-checkbox-label ${d()}`, children: c })
|
|
80
80
|
] }),
|
|
81
|
-
|
|
81
|
+
u && /* @__PURE__ */ e($, { className: `uofg-checkbox-description ${m()}`, children: u })
|
|
82
82
|
] });
|
|
83
83
|
}
|
|
84
|
-
|
|
84
|
+
F.displayName = "Checkbox";
|
|
85
85
|
export {
|
|
86
|
-
|
|
86
|
+
F as Checkbox
|
|
87
87
|
};
|
package/dist/contact-email.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { g as
|
|
3
|
-
import { FontAwesomeIcon as
|
|
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
|
|
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:
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
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";
|
package/dist/contact-name.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { twMerge as
|
|
3
|
-
function
|
|
4
|
-
const a =
|
|
5
|
-
return /* @__PURE__ */ e("span", { className: a
|
|
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
|
-
|
|
7
|
+
m.displayName = "ContactName";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
m as ContactName
|
|
10
10
|
};
|
package/dist/contact-phone.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsxs as
|
|
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
|
|
4
|
-
import { twMerge as
|
|
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
|
|
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:
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
15
|
-
/* @__PURE__ */
|
|
16
|
-
n && /* @__PURE__ */
|
|
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
|
] })
|
package/dist/contact-title.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { twMerge as
|
|
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 =
|
|
5
|
-
return /* @__PURE__ */
|
|
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
|
|
3
|
-
import { ContactEmail as
|
|
4
|
-
import { ContactName as
|
|
5
|
-
import { ContactPhone as
|
|
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
|
|
8
|
-
const e =
|
|
9
|
-
return /* @__PURE__ */ r("div", { className: e
|
|
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
|
-
|
|
11
|
+
a.displayName = "Contact";
|
|
12
12
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
|
2
|
-
import { twMerge as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { twMerge as m } from "tailwind-merge";
|
|
3
3
|
const s = "div";
|
|
4
|
-
function
|
|
4
|
+
function g({
|
|
5
5
|
as: o,
|
|
6
6
|
children: t,
|
|
7
7
|
className: e,
|
|
8
8
|
...n
|
|
9
9
|
}) {
|
|
10
|
-
const
|
|
11
|
-
return /* @__PURE__ */
|
|
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
|
-
|
|
13
|
+
g.displayName = "Container";
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
g as Container
|
|
16
16
|
};
|
package/dist/divider.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { tv as
|
|
3
|
-
const
|
|
4
|
-
const
|
|
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:
|
|
19
|
-
return /* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
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:
|
|
23
|
+
/* @__PURE__ */ o("div", { className: d() })
|
|
24
24
|
] }),
|
|
25
|
-
/* @__PURE__ */ o("hr", { className:
|
|
25
|
+
/* @__PURE__ */ o("hr", { className: g() })
|
|
26
26
|
] });
|
|
27
27
|
};
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
t as Divider
|
|
30
30
|
};
|