@uoguelph/react-components 1.7.0-rc.23 → 1.7.0-rc.26
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/alert-footer.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { twMerge as
|
|
3
|
-
function
|
|
4
|
-
const o =
|
|
2
|
+
import { twMerge as l } from "tailwind-merge";
|
|
3
|
+
function a({ children: t, className: e }) {
|
|
4
|
+
const o = l("flex bg-white px-4 py-2 text-lg text-white-contrast", e);
|
|
5
5
|
return /* @__PURE__ */ r("div", { className: `uofg-alert-footer ${o}`, children: t });
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
a.displayName = "AlertFooter";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
a as AlertFooter
|
|
10
10
|
};
|
package/dist/alert-message.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { twMerge as a } from "tailwind-merge";
|
|
3
|
-
function
|
|
4
|
-
const
|
|
5
|
-
return /* @__PURE__ */
|
|
3
|
+
function g({ children: e, className: t }) {
|
|
4
|
+
const s = a("bg-white px-4 py-2 text-lg", t);
|
|
5
|
+
return /* @__PURE__ */ r("div", { className: `uofg-alert-message ${s}`, children: e });
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
g.displayName = "AlertMessage";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
g as AlertMessage
|
|
10
10
|
};
|
package/dist/alert-subtitle.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { twMerge as o } from "tailwind-merge";
|
|
3
3
|
function i({ children: t, className: e }) {
|
|
4
|
-
const l = o("mb-4 text-xl font-bold", e);
|
|
4
|
+
const l = o("mb-4 text-xl font-bold text-black", e);
|
|
5
5
|
return /* @__PURE__ */ r("div", { className: `uofg-alert-subtitle ${l}`, children: t });
|
|
6
6
|
}
|
|
7
7
|
i.displayName = "AlertSubtitle";
|
|
@@ -822,10 +822,10 @@ function Jr({ title: F, description: rr, timestamp: _ }) {
|
|
|
822
822
|
onClick: () => {
|
|
823
823
|
P(), L(!0);
|
|
824
824
|
},
|
|
825
|
-
className: "sticky top-0 left-0 z-10000 flex w-dvw cursor-pointer items-center justify-center gap-[0.25em] bg-red p-2 text-red-contrast shadow-md transition hover:bg-black hover:text-white focus:bg-black focus:text-white",
|
|
825
|
+
className: "uofg-dismissable-alert-bar sticky top-0 left-0 z-10000 flex w-dvw cursor-pointer items-center justify-center gap-[0.25em] bg-red p-2 text-red-contrast shadow-md transition hover:bg-black hover:text-white focus:bg-black focus:text-white",
|
|
826
826
|
children: [
|
|
827
|
-
/* @__PURE__ */ Q(pr, { className: "uofg-dismissable-alert-
|
|
828
|
-
/* @__PURE__ */ Q("span", { className: "overflow-hidden text-sm text-ellipsis whitespace-nowrap", children: F })
|
|
827
|
+
/* @__PURE__ */ Q(pr, { className: "uofg-dismissable-alert-bar-icon", icon: hr }),
|
|
828
|
+
/* @__PURE__ */ Q("span", { className: "uofg-dismissable-alert-bar-text overflow-hidden text-sm text-ellipsis whitespace-nowrap", children: F })
|
|
829
829
|
]
|
|
830
830
|
}
|
|
831
831
|
) : /* @__PURE__ */ Q(
|
|
@@ -835,7 +835,7 @@ function Jr({ title: F, description: rr, timestamp: _ }) {
|
|
|
835
835
|
onClose: () => {
|
|
836
836
|
L(!1), z();
|
|
837
837
|
},
|
|
838
|
-
children: /* @__PURE__ */ Q(Er, { className: "max-w-[80rem]! p-0", children: /* @__PURE__ */ tr(_r, { children: [
|
|
838
|
+
children: /* @__PURE__ */ Q(Er, { className: "uofg-dismissable-alert-popup-container max-w-[80rem]! p-0", children: /* @__PURE__ */ tr(_r, { children: [
|
|
839
839
|
/* @__PURE__ */ Q(Br, { children: "University of Guelph Alert" }),
|
|
840
840
|
/* @__PURE__ */ tr(xr, { children: [
|
|
841
841
|
/* @__PURE__ */ Q(Lr, { children: F }),
|
package/dist/statistics.js
CHANGED