@uoguelph/react-components 1.2.0 → 1.2.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.
@@ -1,15 +1,15 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { twJoin as t, twMerge as u } from "tailwind-merge";
3
3
  import { Container as a } from "./container.js";
4
- import { Breadcrumb as d } from "./breadcrumb.js";
4
+ import { Breadcrumb as l } from "./breadcrumb.js";
5
5
  import { BreadcrumbHome as g } from "./breadcrumb-home.js";
6
- function c({ className: e, children: o }) {
6
+ function c({ className: o, children: e }) {
7
7
  const m = t("uog:flex uog:w-full uog:flex-wrap uog:items-center uog:gap-2");
8
- return /* @__PURE__ */ r(a, { centered: !0, children: /* @__PURE__ */ r("ol", { className: u(m, e), children: o }) });
8
+ return /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r("ol", { className: u(m, o), children: e }) });
9
9
  }
10
10
  c.displayName = "Breadcrumbs";
11
11
  export {
12
- d as Breadcrumb,
12
+ l as Breadcrumb,
13
13
  g as BreadcrumbHome,
14
14
  c as Breadcrumbs
15
15
  };
@@ -3,8 +3,8 @@ import { useContext as n } from "react";
3
3
  import { tv as i } from "tailwind-variants";
4
4
  import { Container as m } from "./container.js";
5
5
  import { HeroContext as s } from "./hero-context.js";
6
- function c({ children: e, alignment: u = "left" }) {
7
- const o = n(s), r = i({
6
+ function p({ children: e, alignment: u = "left" }) {
7
+ const o = n(s), a = i({
8
8
  slots: {
9
9
  base: "",
10
10
  wrapper: "uog:lg:bg-black/80 uog:lg:backdrop-blur uog:flex uog:w-full uog:bg-black uog:p-7 uog:text-white",
@@ -38,10 +38,10 @@ function c({ children: e, alignment: u = "left" }) {
38
38
  }
39
39
  }
40
40
  }
41
- }), { base: g, wrapper: a, container: l } = r({ alignment: u, variant: o == null ? void 0 : o.variant });
42
- return (o == null ? void 0 : o.variant) === "spotlight" ? /* @__PURE__ */ t("div", { className: `uofg-hero-content ${g()}`, children: /* @__PURE__ */ t("div", { className: `uofg-hero-content-wrapper ${a()}`, children: /* @__PURE__ */ t("div", { className: `uofg-hero-content-container ${l()}`, children: e }) }) }) : /* @__PURE__ */ t(m, { centered: !0, className: `uofg-hero-content ${g()}`, children: e });
41
+ }), { base: g, wrapper: r, container: l } = a({ alignment: u, variant: o == null ? void 0 : o.variant });
42
+ return (o == null ? void 0 : o.variant) === "spotlight" ? /* @__PURE__ */ t("div", { className: `uofg-hero-content ${g()}`, children: /* @__PURE__ */ t("div", { className: `uofg-hero-content-wrapper ${r()}`, children: /* @__PURE__ */ t("div", { className: `uofg-hero-content-container ${l()}`, children: e }) }) }) : /* @__PURE__ */ t(m, { className: `uofg-hero-content ${g()}`, children: e });
43
43
  }
44
- c.displayName = "HeroContent";
44
+ p.displayName = "HeroContent";
45
45
  export {
46
- c as HeroContent
46
+ p as HeroContent
47
47
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/react-components",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "University of Guelph React Components Library",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -72,5 +72,5 @@
72
72
  "bugs": {
73
73
  "url": "https://github.com/ccswbs/uofg-components/issues"
74
74
  },
75
- "gitHead": "f53dd01bf68de3260126a858e3b0ee9e1f884bba"
75
+ "gitHead": "00ec867ce6959ba82234651e9214960b9c4088e4"
76
76
  }