@uoguelph/react-components 1.3.6 → 1.3.7

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/list-item.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as o } from "react/jsx-runtime";
2
3
  import { twMerge as m } from "tailwind-merge";
3
4
  function r({ className: t, children: e, ...i }) {
package/dist/list.js CHANGED
@@ -1,4 +1,5 @@
1
- import { jsx as t } from "react/jsx-runtime";
1
+ "use client";
2
+ import { jsx as o } from "react/jsx-runtime";
2
3
  import { useContext as n } from "react";
3
4
  import { twMerge as c } from "tailwind-merge";
4
5
  import { tv as m } from "tailwind-variants";
@@ -9,9 +10,9 @@ function v({
9
10
  as: e,
10
11
  children: i,
11
12
  className: r,
12
- ...a
13
+ ...u
13
14
  }) {
14
- const o = e ?? g, l = n(s), u = m({
15
+ const t = e ?? g, l = n(s), a = m({
15
16
  base: "uog:flex uog:flex-col uog:relative uog:h-fit uog:w-full uog:list-inside uog:gap-2",
16
17
  variants: {
17
18
  as: {
@@ -51,11 +52,11 @@ function v({
51
52
  }
52
53
  ]
53
54
  })({
54
- as: o,
55
+ as: t,
55
56
  level: l.parent === e ? l.level % 3 : 0,
56
57
  nested: l.level > 0
57
58
  });
58
- return /* @__PURE__ */ t(o, { ...a, className: `uofg-list ${c(u, r)}`, children: /* @__PURE__ */ t(
59
+ return /* @__PURE__ */ o(t, { ...u, className: `uofg-list ${c(a, r)}`, children: /* @__PURE__ */ o(
59
60
  s.Provider,
60
61
  {
61
62
  value: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/react-components",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "University of Guelph React Components Library",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -85,5 +85,5 @@
85
85
  "bugs": {
86
86
  "url": "https://github.com/ccswbs/uofg-components/issues"
87
87
  },
88
- "gitHead": "436ccc436e08d24663236d40c8903ca5ae5c9676"
88
+ "gitHead": "b1dbcaf5256a9b00946c016a1d9215790e12d6ef"
89
89
  }