@uoguelph/react-components 1.9.0 → 1.9.1-rc.0

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.
@@ -12,7 +12,7 @@ export type ListProps<T extends ListElementType = typeof defaultElement> = Props
12
12
  /**
13
13
  * Whether columns are enabled.
14
14
  *
15
- * @default true
15
+ * @default false
16
16
  */
17
17
  columns?: boolean;
18
18
  /** Additional classes to apply to the list. */
package/dist/list.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
- import { useContext as u } from "react";
4
- import { twMerge as m } from "tailwind-merge";
3
+ import { useContext as m } from "react";
4
+ import { twMerge as u } from "tailwind-merge";
5
5
  import { tv as d } from "tailwind-variants";
6
6
  import { ListContext as o } from "./list-context.js";
7
7
  import { ListItem as k } from "./list-item.js";
@@ -13,7 +13,7 @@ function p({
13
13
  className: n,
14
14
  ...r
15
15
  }) {
16
- const s = e ?? v, l = u(o), c = d({
16
+ const s = e ?? v, l = m(o), c = d({
17
17
  base: "relative w-full list-outside gap-x-8 pl-6",
18
18
  variants: {
19
19
  as: {
@@ -59,9 +59,9 @@ function p({
59
59
  as: s,
60
60
  level: l.parent === e ? l.level % 3 : 0,
61
61
  nested: l.level > 0,
62
- columns: a ?? !0
62
+ columns: a ?? !1
63
63
  });
64
- return /* @__PURE__ */ t(s, { ...r, className: `uofg-list ${m(c, n)}`, children: /* @__PURE__ */ t(
64
+ return /* @__PURE__ */ t(s, { ...r, className: `uofg-list ${u(c, n)}`, children: /* @__PURE__ */ t(
65
65
  o.Provider,
66
66
  {
67
67
  value: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/react-components",
3
- "version": "1.9.0",
3
+ "version": "1.9.1-rc.0",
4
4
  "description": "University of Guelph React Components Library",
5
5
  "type": "module",
6
6
  "scripts": {