@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.
@@ -1,10 +1,10 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { twMerge as a } from "tailwind-merge";
3
- function i({ children: t, className: e }) {
4
- const o = a("flex bg-white px-4 py-2 text-white-contrast", e);
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
- i.displayName = "AlertFooter";
7
+ a.displayName = "AlertFooter";
8
8
  export {
9
- i as AlertFooter
9
+ a as AlertFooter
10
10
  };
@@ -1,10 +1,10 @@
1
- import { jsx as t } from "react/jsx-runtime";
1
+ import { jsx as r } from "react/jsx-runtime";
2
2
  import { twMerge as a } from "tailwind-merge";
3
- function o({ children: e, className: s }) {
4
- const r = a("bg-white px-4 py-2", s);
5
- return /* @__PURE__ */ t("div", { className: `uofg-alert-message ${r}`, children: e });
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
- o.displayName = "AlertMessage";
7
+ g.displayName = "AlertMessage";
8
8
  export {
9
- o as AlertMessage
9
+ g as AlertMessage
10
10
  };
@@ -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-notification-icon", icon: hr }),
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 }),
@@ -63,7 +63,7 @@ function f({ id: l, children: t, variant: s, className: d }) {
63
63
  class: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3"
64
64
  },
65
65
  {
66
- variant: ["left-border"],
66
+ variant: ["left-border", "light-grey"],
67
67
  isExactlyFour: !0,
68
68
  class: "lg:grid-cols-2"
69
69
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/react-components",
3
- "version": "1.7.0-rc.23",
3
+ "version": "1.7.0-rc.26",
4
4
  "description": "University of Guelph React Components Library",
5
5
  "type": "module",
6
6
  "scripts": {