@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.
- package/dist/breadcrumbs.js +4 -4
- package/dist/hero-content.js +6 -6
- package/package.json +2 -2
package/dist/breadcrumbs.js
CHANGED
|
@@ -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
|
|
4
|
+
import { Breadcrumb as l } from "./breadcrumb.js";
|
|
5
5
|
import { BreadcrumbHome as g } from "./breadcrumb-home.js";
|
|
6
|
-
function c({ className:
|
|
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, {
|
|
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
|
-
|
|
12
|
+
l as Breadcrumb,
|
|
13
13
|
g as BreadcrumbHome,
|
|
14
14
|
c as Breadcrumbs
|
|
15
15
|
};
|
package/dist/hero-content.js
CHANGED
|
@@ -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
|
|
7
|
-
const o = n(s),
|
|
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:
|
|
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 ${
|
|
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
|
-
|
|
44
|
+
p.displayName = "HeroContent";
|
|
45
45
|
export {
|
|
46
|
-
|
|
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.
|
|
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": "
|
|
75
|
+
"gitHead": "00ec867ce6959ba82234651e9214960b9c4088e4"
|
|
76
76
|
}
|