@uoguelph/react-components 1.6.0-rc.4 → 1.6.0-rc.6

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.
Files changed (2) hide show
  1. package/dist/modal.js +7 -7
  2. package/package.json +2 -2
package/dist/modal.js CHANGED
@@ -3,17 +3,17 @@ import { jsxs as a, jsx as e } from "react/jsx-runtime";
3
3
  import { h as b } from "./solid-CwgZbR1c.js";
4
4
  import { FontAwesomeIcon as g } from "@fortawesome/react-fontawesome";
5
5
  import { Dialog as x, DialogBackdrop as h, DialogPanel as w, CloseButton as y } from "@headlessui/react";
6
- import { tv as N } from "tailwind-variants";
7
- function k({ open: r, onClose: o = () => {
6
+ import { tv as v } from "tailwind-variants";
7
+ function N({ open: r, onClose: o = () => {
8
8
  }, role: t = "dialog", labelledBy: l, centered: s, children: i }) {
9
- const n = N({
9
+ const n = v({
10
10
  slots: {
11
11
  base: "relative z-50 transition duration-300 ease-out data-[closed]:opacity-0",
12
12
  backdrop: "fixed inset-0 bg-black/40 transition duration-300 ease-out data-[closed]:opacity-0",
13
13
  wrapper: "fixed inset-0 flex w-screen justify-center md:p-6",
14
14
  panelWrapper: "relative flex w-full flex-col items-center",
15
- panel: "",
16
- closeButton: "-top-3.5 -right-3.5 flex h-9 w-full items-center justify-center gap-1 border-b border-white/40 bg-grey-dark-bg text-xl text-white transition-colors hover:bg-red md:absolute md:w-9 md:rounded-full"
15
+ panel: "relative",
16
+ closeButton: "-top-3.5 -right-3.5 flex h-9 w-full items-center justify-center gap-1 border border-white/40 bg-grey-dark-bg text-xl text-white transition-colors hover:bg-red md:absolute md:w-9 md:rounded-full"
17
17
  },
18
18
  variants: {
19
19
  centered: {
@@ -45,7 +45,7 @@ function k({ open: r, onClose: o = () => {
45
45
  }
46
46
  );
47
47
  }
48
- k.displayName = "Modal";
48
+ N.displayName = "Modal";
49
49
  export {
50
- k as Modal
50
+ N as Modal
51
51
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/react-components",
3
- "version": "1.6.0-rc.4",
3
+ "version": "1.6.0-rc.6",
4
4
  "description": "University of Guelph React Components Library",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -78,5 +78,5 @@
78
78
  "bugs": {
79
79
  "url": "https://github.com/ccswbs/uofg-components/issues"
80
80
  },
81
- "gitHead": "343c165f8ca6a9770aae64e3db9d28ea37919966"
81
+ "gitHead": "c2ab871bf9ac3a1133a8e0111e5a50d25dc43f9e"
82
82
  }