@uoguelph/react-components 1.3.12 → 1.3.13

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,5 +1,5 @@
1
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
- import { twMerge as k } from "tailwind-merge";
1
+ import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
+ import { twMerge as A } from "tailwind-merge";
3
3
  import { tv as w } from "tailwind-variants";
4
4
  const z = "img";
5
5
  function x({
@@ -12,7 +12,7 @@ function x({
12
12
  className: u,
13
13
  verticalAlignment: s = "center",
14
14
  horizontalAlignment: c = "center",
15
- overlay: o = "none",
15
+ overlay: a = "none",
16
16
  blurred: m = !1,
17
17
  ...v
18
18
  }) {
@@ -32,12 +32,14 @@ function x({
32
32
  },
33
33
  overlay: {
34
34
  dark: {
35
+ base: "dark",
35
36
  overlay: "uog:bg-black/60"
36
37
  },
37
38
  light: {
38
39
  overlay: "uog:bg-white/60"
39
40
  },
40
41
  "dark-gradient": {
42
+ base: "dark",
41
43
  overlay: "uog:from-black/50 uog:via-30% uog:via-black/20 uog:to-transparent"
42
44
  },
43
45
  "light-gradient": {
@@ -117,15 +119,15 @@ function x({
117
119
  imageWrapper: h,
118
120
  image: b,
119
121
  overlay: p,
120
- container: A
121
- } = f({ blurred: m, overlay: o, verticalAlignment: s, horizontalAlignment: c });
122
- return /* @__PURE__ */ a("div", { className: `uofg-image-overlay ${y()}`, children: [
123
- /* @__PURE__ */ a("div", { className: `uofg-image-overlay-wrapper ${h()}`, children: [
122
+ container: k
123
+ } = f({ blurred: m, overlay: a, verticalAlignment: s, horizontalAlignment: c });
124
+ return /* @__PURE__ */ o("div", { className: `uofg-image-overlay ${y()}`, children: [
125
+ /* @__PURE__ */ o("div", { className: `uofg-image-overlay-wrapper ${h()}`, children: [
124
126
  /* @__PURE__ */ e(
125
127
  d,
126
128
  {
127
129
  ...v,
128
- className: `uofg-image-overlay-image ${k(b(), u)}`,
130
+ className: `uofg-image-overlay-image ${A(b(), u)}`,
129
131
  src: r,
130
132
  width: g,
131
133
  height: l,
@@ -133,9 +135,9 @@ function x({
133
135
  sizes: "100vw"
134
136
  }
135
137
  ),
136
- o !== "none" && /* @__PURE__ */ e("div", { className: `uofg-image-overlay-overlay ${p()}` })
138
+ a !== "none" && /* @__PURE__ */ e("div", { className: `uofg-image-overlay-overlay ${p()}` })
137
139
  ] }),
138
- /* @__PURE__ */ e("div", { className: `uofg-image-overlay-content ${A()}`, children: n })
140
+ /* @__PURE__ */ e("div", { className: `uofg-image-overlay-content ${k()}`, children: n })
139
141
  ] });
140
142
  }
141
143
  x.displayName = "ImageOverlay";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/react-components",
3
- "version": "1.3.12",
3
+ "version": "1.3.13",
4
4
  "description": "University of Guelph React Components Library",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -76,5 +76,5 @@
76
76
  "bugs": {
77
77
  "url": "https://github.com/ccswbs/uofg-components/issues"
78
78
  },
79
- "gitHead": "5a84ad72bdaeb2e42c615a263e10304dfd11b681"
79
+ "gitHead": "c05a7bc222922450ffa1f751b53444d41bcc85e0"
80
80
  }