@uoguelph/react-components 1.3.13 → 1.4.0

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 (84) hide show
  1. package/dist/accordion-button.js +22 -22
  2. package/dist/accordion-content.js +5 -5
  3. package/dist/accordion.js +3 -3
  4. package/dist/alert-footer.js +6 -6
  5. package/dist/alert-message.js +7 -10
  6. package/dist/alert-subtitle.js +7 -7
  7. package/dist/alert-title.js +23 -23
  8. package/dist/alert.js +7 -7
  9. package/dist/blockquote-author-name.js +1 -1
  10. package/dist/blockquote-author-title.js +2 -2
  11. package/dist/blockquote-author.js +11 -11
  12. package/dist/blockquote-content.js +16 -16
  13. package/dist/breadcrumb-home.js +2 -2
  14. package/dist/breadcrumb.js +15 -15
  15. package/dist/breadcrumbs.js +9 -9
  16. package/dist/button.js +44 -44
  17. package/dist/card-content.js +10 -10
  18. package/dist/card-footer.js +11 -11
  19. package/dist/card-image.js +15 -15
  20. package/dist/card-title.js +5 -5
  21. package/dist/card.js +11 -11
  22. package/dist/carousel.js +51 -51
  23. package/dist/checkbox.js +44 -44
  24. package/dist/contact-email.js +7 -7
  25. package/dist/contact-name.js +1 -1
  26. package/dist/contact-phone.js +11 -11
  27. package/dist/contact-title.js +1 -1
  28. package/dist/contact.js +11 -14
  29. package/dist/container.js +10 -10
  30. package/dist/dismissible-alert.js +2 -2
  31. package/dist/divider.js +18 -18
  32. package/dist/embedded-video-modal-button.js +16 -16
  33. package/dist/embedded-video.js +29 -29
  34. package/dist/hero-caption.js +1 -1
  35. package/dist/hero-content.js +23 -23
  36. package/dist/hero-link.js +1 -1
  37. package/dist/hero-title.js +11 -11
  38. package/dist/hero-video.js +9 -9
  39. package/dist/hero.js +19 -19
  40. package/dist/image-overlay.js +48 -48
  41. package/dist/index.css +1 -1
  42. package/dist/info.js +16 -16
  43. package/dist/layout-content.js +3 -3
  44. package/dist/layout.js +44 -44
  45. package/dist/link-carousel-content.js +11 -11
  46. package/dist/link-carousel-item.js +15 -15
  47. package/dist/link-carousel-link.js +22 -22
  48. package/dist/link-carousel-links.js +14 -14
  49. package/dist/link-carousel.js +21 -21
  50. package/dist/link.js +10 -10
  51. package/dist/list-item.js +6 -6
  52. package/dist/list.js +21 -21
  53. package/dist/loading-indicator.js +29 -29
  54. package/dist/media-caption.js +34 -34
  55. package/dist/modal.js +25 -25
  56. package/dist/navigation-link.js +25 -25
  57. package/dist/navigation.js +8 -11
  58. package/dist/number-input.js +46 -46
  59. package/dist/pagination.js +62 -62
  60. package/dist/radio-group.js +8 -8
  61. package/dist/radio.js +19 -19
  62. package/dist/select-button.js +32 -32
  63. package/dist/select-option.js +29 -29
  64. package/dist/select-options.js +27 -27
  65. package/dist/select.js +7 -7
  66. package/dist/statistics-item-image.js +9 -9
  67. package/dist/statistics-item-represents.js +7 -7
  68. package/dist/statistics-item-value.js +7 -7
  69. package/dist/statistics-item.js +35 -35
  70. package/dist/statistics.js +25 -25
  71. package/dist/story-background-image.js +12 -12
  72. package/dist/story-background.js +7 -7
  73. package/dist/story-body.js +5 -8
  74. package/dist/story-footer.js +12 -12
  75. package/dist/story-foreground-content.js +4 -4
  76. package/dist/story-foreground-image.js +15 -15
  77. package/dist/story-foreground.js +7 -10
  78. package/dist/story.js +5 -5
  79. package/dist/tab-list.js +3 -6
  80. package/dist/tab-panel.js +3 -3
  81. package/dist/tab.js +26 -26
  82. package/dist/text-input.js +32 -32
  83. package/dist/typography.js +22 -22
  84. package/package.json +2 -2
@@ -1,38 +1,38 @@
1
1
  "use client";
2
- import { jsxs as r, jsx as t } from "react/jsx-runtime";
3
- import { f as g, a as c } from "./regular-DmWV6rTj.js";
4
- import { FontAwesomeIcon as l } from "@fortawesome/react-fontawesome";
5
- import { DisclosureButton as a } from "@headlessui/react";
6
- import { useContext as b } from "react";
7
- import { twMerge as f } from "tailwind-merge";
8
- import { tv as m } from "tailwind-variants";
9
- import { AccordionContext as p } from "./accordion-context.js";
10
- function x({ children: u, className: n }) {
11
- const o = b(p), e = m({
2
+ import { jsxs as c, jsx as t } from "react/jsx-runtime";
3
+ import { f as u, a as l } from "./regular-DmWV6rTj.js";
4
+ import { FontAwesomeIcon as a } from "@fortawesome/react-fontawesome";
5
+ import { DisclosureButton as b } from "@headlessui/react";
6
+ import { useContext as f } from "react";
7
+ import { twMerge as m } from "tailwind-merge";
8
+ import { tv as p } from "tailwind-variants";
9
+ import { AccordionContext as g } from "./accordion-context.js";
10
+ function x({ children: n, className: e }) {
11
+ const o = f(g), i = p({
12
12
  slots: {
13
- button: "uog:group uog:mb-1 uog:inline-flex uog:w-full uog:cursor-pointer uog:items-center uog:justify-between uog:gap-2 uog:p-2.5 uog:px-5 uog:text-left uog:text-xl uog:transition-colors uog:focus:outline-none uog:focus-visible:ring-2 uog:focus-visible:ring-blue uog:focus-visible:ring-offset-2 uog:hocus-visible:bg-blue uog:hocus-visible:text-blue-contrast",
14
- icon: "uog:h-[1em] uog:text-blue-on-light uog:group-hocus-visible:text-blue-contrast uog:transition"
13
+ button: "group mb-1 inline-flex w-full cursor-pointer items-center justify-between gap-2 p-2.5 px-5 text-left text-xl transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-blue focus-visible:ring-offset-2 hocus-visible:bg-blue hocus-visible:text-blue-contrast",
14
+ icon: "h-[1em] text-blue-on-light transition group-hocus-visible:text-blue-contrast"
15
15
  },
16
16
  variants: {
17
17
  open: {
18
18
  true: {
19
- button: "uog:bg-blue uog:text-blue-contrast",
20
- icon: "uog:text-blue-contrast"
19
+ button: "bg-blue text-blue-contrast",
20
+ icon: "text-blue-contrast"
21
21
  },
22
22
  false: {
23
- icon: "uog:rotate-90",
24
- button: "uog:bg-grey-light-bg uog:text-blue-on-light"
23
+ icon: "rotate-90",
24
+ button: "bg-grey-light-bg text-blue-on-light"
25
25
  }
26
26
  }
27
27
  }
28
- }), { button: i, icon: s } = e({ open: o == null ? void 0 : o.isOpen });
29
- return /* @__PURE__ */ r(a, { className: `uofg-accordion-button ${f(n, i())}`, children: [
30
- /* @__PURE__ */ t("span", { className: "uofg-accordion-button-content", children: u }),
28
+ }), { button: s, icon: r } = i({ open: o == null ? void 0 : o.isOpen });
29
+ return /* @__PURE__ */ c(b, { className: `uofg-accordion-button ${m(e, s())}`, children: [
30
+ /* @__PURE__ */ t("span", { className: "uofg-accordion-button-content", children: n }),
31
31
  /* @__PURE__ */ t(
32
- l,
32
+ a,
33
33
  {
34
- icon: o != null && o.isOpen ? g : c,
35
- className: `uofg-accordion-button-icon ${s()}`
34
+ icon: o != null && o.isOpen ? u : l,
35
+ className: `uofg-accordion-button-icon ${r()}`
36
36
  }
37
37
  )
38
38
  ] });
@@ -4,12 +4,12 @@ import { DisclosurePanel as i } from "@headlessui/react";
4
4
  import { useContext as c } from "react";
5
5
  import m from "react-animate-height";
6
6
  import { twMerge as s } from "tailwind-merge";
7
- import { AccordionContext as u } from "./accordion-context.js";
8
- function a({ children: r, className: e }) {
9
- const o = c(u), n = s("uog:border-l-4 uog:border-yellow uog:py-3 uog:pl-5", e);
7
+ import { AccordionContext as a } from "./accordion-context.js";
8
+ function p({ children: r, className: e }) {
9
+ const o = c(a), n = s("border-l-4 border-yellow py-3 pl-5", e);
10
10
  return /* @__PURE__ */ t(m, { height: o != null && o.isOpen ? "auto" : 0, duration: 200, easing: "ease-in-out", children: /* @__PURE__ */ t(i, { static: !0, className: `uofg-accordion-content ${n}`, children: r }) });
11
11
  }
12
- a.displayName = "AccordionContent";
12
+ p.displayName = "AccordionContent";
13
13
  export {
14
- a as AccordionContent
14
+ p as AccordionContent
15
15
  };
package/dist/accordion.js CHANGED
@@ -4,14 +4,14 @@ import { Disclosure as t } from "@headlessui/react";
4
4
  import { twMerge as e } from "tailwind-merge";
5
5
  import { AccordionContext as m } from "./accordion-context.js";
6
6
  import { AccordionButton as x } from "./accordion-button.js";
7
- import { AccordionContent as g } from "./accordion-content.js";
7
+ import { AccordionContent as h } from "./accordion-content.js";
8
8
  function d({ children: r, className: c }) {
9
- const i = e("uog:my-2 uog:[&_p:last-child]:mb-0", c);
9
+ const i = e("my-2 [&_p:last-child]:mb-0", c);
10
10
  return /* @__PURE__ */ o(t, { children: ({ open: n }) => /* @__PURE__ */ o("div", { className: `uofg-accordion ${i}`, children: /* @__PURE__ */ o(m.Provider, { value: { isOpen: n }, children: r }) }) });
11
11
  }
12
12
  d.displayName = "Accordion";
13
13
  export {
14
14
  d as Accordion,
15
15
  x as AccordionButton,
16
- g as AccordionContent
16
+ h as AccordionContent
17
17
  };
@@ -1,10 +1,10 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { twMerge as g } from "tailwind-merge";
3
- function l({ children: o, className: r }) {
4
- const e = g("uog:flex uog:bg-grey-light uog:px-4 uog:py-2", r);
5
- return /* @__PURE__ */ t("div", { className: `uofg-alert-footer ${e}`, children: o });
2
+ import { twMerge as l } from "tailwind-merge";
3
+ function a({ children: r, className: e }) {
4
+ const o = l("flex bg-grey-light px-4 py-2", e);
5
+ return /* @__PURE__ */ t("div", { className: `uofg-alert-footer ${o}`, children: r });
6
6
  }
7
- l.displayName = "AlertFooter";
7
+ a.displayName = "AlertFooter";
8
8
  export {
9
- l as AlertFooter
9
+ a as AlertFooter
10
10
  };
@@ -1,13 +1,10 @@
1
- import { jsx as g } from "react/jsx-runtime";
2
- import { twMerge as s } from "tailwind-merge";
3
- function t({ children: e, className: o }) {
4
- const r = s(
5
- "uog:flex uog:flex-col uog:border-x uog:border-b uog:border-grey-light uog:bg-white uog:px-4 uog:py-3",
6
- o
7
- );
8
- return /* @__PURE__ */ g("div", { className: `uofg-alert-message ${r}`, children: e });
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { twMerge as o } from "tailwind-merge";
3
+ function a({ children: e, className: r }) {
4
+ const s = o("flex flex-col border-x border-b border-grey-light bg-white px-4 py-3", r);
5
+ return /* @__PURE__ */ t("div", { className: `uofg-alert-message ${s}`, children: e });
9
6
  }
10
- t.displayName = "AlertMessage";
7
+ a.displayName = "AlertMessage";
11
8
  export {
12
- t as AlertMessage
9
+ a as AlertMessage
13
10
  };
@@ -1,10 +1,10 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import { twMerge as r } from "tailwind-merge";
3
- function u({ children: t, className: e }) {
4
- const o = r("uog:font-bold uog:mb-4 uog:text-xl", e);
5
- return /* @__PURE__ */ l("span", { className: `uofg-alert-subtitle ${o}`, children: t });
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { twMerge as o } from "tailwind-merge";
3
+ function i({ children: t, className: e }) {
4
+ const l = o("mb-4 text-xl font-bold", e);
5
+ return /* @__PURE__ */ r("span", { className: `uofg-alert-subtitle ${l}`, children: t });
6
6
  }
7
- u.displayName = "AlertSubtitle";
7
+ i.displayName = "AlertSubtitle";
8
8
  export {
9
- u as AlertSubtitle
9
+ i as AlertSubtitle
10
10
  };
@@ -1,50 +1,50 @@
1
- import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
- import { e as l } from "./regular-DmWV6rTj.js";
3
- import { FontAwesomeIcon as u } from "@fortawesome/react-fontawesome";
4
- import { twMerge as s } from "tailwind-merge";
5
- import { tv as m } from "tailwind-variants";
6
- function x({ color: e = "red", className: o, children: r }) {
7
- const n = m({
1
+ import { jsxs as l, jsx as t } from "react/jsx-runtime";
2
+ import { e as s } from "./regular-DmWV6rTj.js";
3
+ import { FontAwesomeIcon as g } from "@fortawesome/react-fontawesome";
4
+ import { twMerge as m } from "tailwind-merge";
5
+ import { tv as x } from "tailwind-variants";
6
+ function b({ color: e = "red", className: r, children: o }) {
7
+ const n = x({
8
8
  slots: {
9
- container: "uog:flex uog:items-center uog:gap-2 uog:p-4 uog:text-xl",
10
- icon: "uog:h-[1.5em]",
9
+ container: "flex items-center gap-2 p-4 text-xl",
10
+ icon: "h-[1.5em]",
11
11
  text: ""
12
12
  },
13
13
  variants: {
14
14
  color: {
15
15
  red: {
16
- container: "uog:bg-red uog:text-red-contrast"
16
+ container: "bg-red text-red-contrast"
17
17
  },
18
18
  yellow: {
19
- container: "uog:bg-yellow uog:text-yellow-contrast"
19
+ container: "bg-yellow text-yellow-contrast"
20
20
  },
21
21
  blue: {
22
- container: "uog:bg-blue uog:text-blue-contrast"
22
+ container: "bg-blue text-blue-contrast"
23
23
  },
24
24
  green: {
25
- container: "uog:bg-green uog:text-green-contrast"
25
+ container: "bg-green text-green-contrast"
26
26
  },
27
27
  "grey-light": {
28
- container: "uog:bg-grey-light uog:text-grey-light-contrast"
28
+ container: "bg-grey-light text-grey-light-contrast"
29
29
  },
30
30
  "grey-dark": {
31
- container: "uog:bg-grey-dark uog:text-grey-dark-contrast"
31
+ container: "bg-grey-dark text-grey-dark-contrast"
32
32
  },
33
33
  black: {
34
- container: "uog:bg-black uog:text-black-contrast"
34
+ container: "bg-black text-black-contrast"
35
35
  },
36
36
  white: {
37
- container: "uog:bg-white uog:text-white-contrast"
37
+ container: "bg-white text-white-contrast"
38
38
  }
39
39
  }
40
40
  }
41
- }), { container: g, icon: a, text: i } = n({ color: e });
42
- return /* @__PURE__ */ c("div", { className: `uofg-alert-title-container ${s(g(), o)}`, children: [
43
- /* @__PURE__ */ t(u, { className: `uofg-alert-title-icon ${a()}`, icon: l }),
44
- /* @__PURE__ */ t("div", { className: `uofg-alert-title ${i()}`, children: r })
41
+ }), { container: a, icon: i, text: c } = n({ color: e });
42
+ return /* @__PURE__ */ l("div", { className: `uofg-alert-title-container ${m(a(), r)}`, children: [
43
+ /* @__PURE__ */ t(g, { className: `uofg-alert-title-icon ${i()}`, icon: s }),
44
+ /* @__PURE__ */ t("div", { className: `uofg-alert-title ${c()}`, children: o })
45
45
  ] });
46
46
  }
47
- x.displayName = "AlertTitle";
47
+ b.displayName = "AlertTitle";
48
48
  export {
49
- x as AlertTitle
49
+ b as AlertTitle
50
50
  };
package/dist/alert.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { twMerge as l } from "tailwind-merge";
3
3
  import { AlertFooter as i } from "./alert-footer.js";
4
- import { AlertMessage as u } from "./alert-message.js";
5
- import { AlertSubtitle as g } from "./alert-subtitle.js";
6
- import { AlertTitle as n } from "./alert-title.js";
4
+ import { AlertMessage as A } from "./alert-message.js";
5
+ import { AlertSubtitle as n } from "./alert-subtitle.js";
6
+ import { AlertTitle as g } from "./alert-title.js";
7
7
  function f({ children: e, className: r }) {
8
- const t = l("uog:flex uog:flex-col", r);
8
+ const t = l("flex flex-col", r);
9
9
  return /* @__PURE__ */ o("div", { className: `uofg-alert ${t}`, children: e });
10
10
  }
11
11
  f.displayName = "Alert";
12
12
  export {
13
13
  f as Alert,
14
14
  i as AlertFooter,
15
- u as AlertMessage,
16
- g as AlertSubtitle,
17
- n as AlertTitle
15
+ A as AlertMessage,
16
+ n as AlertSubtitle,
17
+ g as AlertTitle
18
18
  };
@@ -2,7 +2,7 @@
2
2
  import { jsx as r } from "react/jsx-runtime";
3
3
  import { twMerge as u } from "tailwind-merge";
4
4
  function m({ children: o, className: t, ...e }) {
5
- return /* @__PURE__ */ r("cite", { ...e, className: u("uofg-blockquote-author-name uog:not-italic uog:font-bold", t), children: o });
5
+ return /* @__PURE__ */ r("cite", { ...e, className: u("uofg-blockquote-author-name font-bold not-italic", t), children: o });
6
6
  }
7
7
  export {
8
8
  m as BlockquoteAuthorName
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { jsx as r } from "react/jsx-runtime";
3
- import { twMerge as u } from "tailwind-merge";
3
+ import { twMerge as i } from "tailwind-merge";
4
4
  function c({ children: t, className: o, ...e }) {
5
- return /* @__PURE__ */ r("span", { ...e, className: u("uofg-blockquote-author-title uog:italic", o), children: t });
5
+ return /* @__PURE__ */ r("span", { ...e, className: i("uofg-blockquote-author-title italic", o), children: t });
6
6
  }
7
7
  export {
8
8
  c as BlockquoteAuthorTitle
@@ -1,21 +1,21 @@
1
1
  "use client";
2
2
  import { jsx as l } from "react/jsx-runtime";
3
- import { useContext as u } from "react";
4
- import { twMerge as s } from "tailwind-merge";
5
- import { tv as g } from "tailwind-variants";
6
- import { BlockquoteContext as c } from "./blockquote-context.js";
7
- function p({ className: r, children: t }) {
8
- const o = u(c), e = g({
9
- base: "uofg-blockquote-author uog:border-l-4 uog:pl-4 uog:flex uog:flex-col uog:gap-1 uog:items-start uog:font-light",
3
+ import { useContext as s } from "react";
4
+ import { twMerge as c } from "tailwind-merge";
5
+ import { tv as m } from "tailwind-variants";
6
+ import { BlockquoteContext as u } from "./blockquote-context.js";
7
+ function b({ className: r, children: t }) {
8
+ const o = s(u), e = m({
9
+ base: "uofg-blockquote-author flex flex-col items-start gap-1 border-l-4 pl-4 font-light",
10
10
  variants: {
11
11
  color: {
12
- yellow: "uog:border-yellow",
13
- blue: "uog:border-blue"
12
+ yellow: "border-yellow",
13
+ blue: "border-blue"
14
14
  }
15
15
  }
16
16
  });
17
- return /* @__PURE__ */ l("div", { className: s(e({ color: (o == null ? void 0 : o.color) ?? "yellow" }), r), children: t });
17
+ return /* @__PURE__ */ l("div", { className: c(e({ color: (o == null ? void 0 : o.color) ?? "yellow" }), r), children: t });
18
18
  }
19
19
  export {
20
- p as BlockquoteAuthor
20
+ b as BlockquoteAuthor
21
21
  };
@@ -1,34 +1,34 @@
1
1
  "use client";
2
2
  import { jsxs as t, jsx as e, Fragment as n } from "react/jsx-runtime";
3
- import { f as a, a as m } from "./solid-D19hAF5t.js";
3
+ import { f as u, a as m } from "./solid-D19hAF5t.js";
4
4
  import { FontAwesomeIcon as s } from "@fortawesome/react-fontawesome";
5
5
  import { useContext as f } from "react";
6
- import { twMerge as g } from "tailwind-merge";
7
- import { tv as k } from "tailwind-variants";
8
- import { BlockquoteContext as b } from "./blockquote-context.js";
9
- function p({ className: u, children: c }) {
10
- const o = f(b), i = k({
6
+ import { twMerge as k } from "tailwind-merge";
7
+ import { tv as b } from "tailwind-variants";
8
+ import { BlockquoteContext as p } from "./blockquote-context.js";
9
+ function q({ className: c, children: i }) {
10
+ const o = f(p), r = b({
11
11
  slots: {
12
- base: "uog:font-light uog:block uog:w-full uog:text-center uog:text-3xl uog:italic",
13
- icons: "uog:inline-block uog:h-[1em]"
12
+ base: "block w-full text-center text-3xl font-light italic",
13
+ icons: "inline-block h-[1em]"
14
14
  },
15
15
  variants: {
16
16
  color: {
17
17
  yellow: {
18
- icons: "uog:text-yellow"
18
+ icons: "text-yellow"
19
19
  },
20
20
  blue: {
21
- icons: "uog:text-blue"
21
+ icons: "text-blue"
22
22
  }
23
23
  }
24
24
  }
25
- }), { base: r, icons: l } = i({ color: (o == null ? void 0 : o.color) ?? "yellow" });
26
- return /* @__PURE__ */ t("blockquote", { className: `uofg-blockquote-content ${g(r(), u)}`, children: [
25
+ }), { base: a, icons: l } = r({ color: (o == null ? void 0 : o.color) ?? "yellow" });
26
+ return /* @__PURE__ */ t("blockquote", { className: `uofg-blockquote-content ${k(a(), c)}`, children: [
27
27
  !(o != null && o.hideQuotationMarks) && /* @__PURE__ */ t(n, { children: [
28
- /* @__PURE__ */ e(s, { icon: a, className: `uofg-blockquote-content-left-quote ${l()}` }),
28
+ /* @__PURE__ */ e(s, { icon: u, className: `uofg-blockquote-content-left-quote ${l()}` }),
29
29
  " "
30
30
  ] }),
31
- /* @__PURE__ */ e("span", { className: "uofg-blockquote-content-text", children: c }),
31
+ /* @__PURE__ */ e("span", { className: "uofg-blockquote-content-text", children: i }),
32
32
  " ",
33
33
  !(o != null && o.hideQuotationMarks) && /* @__PURE__ */ t(n, { children: [
34
34
  " ",
@@ -36,7 +36,7 @@ function p({ className: u, children: c }) {
36
36
  ] })
37
37
  ] });
38
38
  }
39
- p.displayName = "BlockquoteContent";
39
+ q.displayName = "BlockquoteContent";
40
40
  export {
41
- p as BlockquoteContent
41
+ q as BlockquoteContent
42
42
  };
@@ -9,10 +9,10 @@ function n({
9
9
  className: m,
10
10
  ...r
11
11
  }) {
12
- const a = l("uog:h-[1em] uog:fill-black");
12
+ const a = l("h-[1em] fill-black");
13
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
14
  /* @__PURE__ */ o(i, { icon: s, className: a }),
15
- /* @__PURE__ */ o("span", { className: "uog:sr-only", children: "U of G Homepage" })
15
+ /* @__PURE__ */ o("span", { className: "sr-only", children: "U of G Homepage" })
16
16
  ] }) });
17
17
  }
18
18
  n.displayName = "BreadcrumbHome";
@@ -1,9 +1,9 @@
1
- import { jsxs as l, jsx as o } from "react/jsx-runtime";
2
- import { c as g } from "./regular-DmWV6rTj.js";
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";
1
+ import { jsxs as u, jsx as o } from "react/jsx-runtime";
2
+ import { c as d } from "./regular-DmWV6rTj.js";
3
+ import { FontAwesomeIcon as b } from "@fortawesome/react-fontawesome";
4
+ import { twMerge as p } from "tailwind-merge";
5
+ import { tv as f } from "tailwind-variants";
6
+ const g = "a";
7
7
  function x({
8
8
  as: n,
9
9
  children: r,
@@ -11,20 +11,20 @@ function x({
11
11
  href: e,
12
12
  ...a
13
13
  }) {
14
- const c = n ?? f, i = p({
14
+ const c = n ?? g, i = f({
15
15
  slots: {
16
- container: "uog:flex uog:items-center uog:gap-2",
17
- icon: "uog:h-[.75em]",
18
- link: "uog:underline uog:decoration-transparent uog:decoration-1 uog:transition-colors uog:hocus-visible:decoration-black"
16
+ container: "flex items-center gap-2",
17
+ icon: "h-[.75em]",
18
+ link: "underline decoration-transparent decoration-1 transition-colors hocus-visible:decoration-black"
19
19
  }
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 })
20
+ }), { container: m, icon: s, link: l } = i();
21
+ return /* @__PURE__ */ u("li", { className: `uofg-breadcrumb-list-item ${m()}`, children: [
22
+ /* @__PURE__ */ o(b, { icon: d, className: s() }),
23
+ e ? /* @__PURE__ */ o(c, { ...a, className: `uofg-breadcrumb ${p(l(), 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
- f as defaultBreadcrumbElement
29
+ g as defaultBreadcrumbElement
30
30
  };
@@ -1,15 +1,15 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { twJoin as u, twMerge as t } from "tailwind-merge";
3
- import { Container as a } from "./container.js";
2
+ import { twJoin as t, twMerge as a } from "tailwind-merge";
3
+ import { Container as c } from "./container.js";
4
4
  import { Breadcrumb as b } from "./breadcrumb.js";
5
- import { BreadcrumbHome as g } from "./breadcrumb-home.js";
6
- function c({ className: 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 }) });
5
+ import { BreadcrumbHome as l } from "./breadcrumb-home.js";
6
+ function f({ className: e, children: m }) {
7
+ const o = t("flex w-full flex-wrap items-center gap-2");
8
+ return /* @__PURE__ */ r(c, { children: /* @__PURE__ */ r("ol", { className: `uofg-breadcrumbs ${a(o, e)}`, children: m }) });
9
9
  }
10
- c.displayName = "Breadcrumbs";
10
+ f.displayName = "Breadcrumbs";
11
11
  export {
12
12
  b as Breadcrumb,
13
- g as BreadcrumbHome,
14
- c as Breadcrumbs
13
+ l as BreadcrumbHome,
14
+ f as Breadcrumbs
15
15
  };