@uoguelph/react-components 1.4.3-rc.2 → 1.4.3

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/layout.js +14 -14
  2. package/package.json +2 -2
package/dist/layout.js CHANGED
@@ -1,13 +1,13 @@
1
- import { jsxs as t, Fragment as n, jsx as o } from "react/jsx-runtime";
2
- import { Transition as s } from "@headlessui/react";
3
- import { tv as a } from "tailwind-variants";
1
+ import { jsxs as t, Fragment as n, jsx as e } from "react/jsx-runtime";
2
+ import { Transition as a } from "@headlessui/react";
3
+ import { tv as c } from "tailwind-variants";
4
4
  import { LoadingIndicator as f } from "./loading-indicator.js";
5
- import { LayoutContent as g } from "./layout-content.js";
6
- function p({ children: r, loading: e }) {
7
- const i = a({
5
+ import { LayoutContent as L } from "./layout-content.js";
6
+ function p({ children: r, loading: o }) {
7
+ const i = c({
8
8
  slots: {
9
9
  placeholder: [
10
- "text-uog-color-red",
10
+ "text-red",
11
11
  "fixed",
12
12
  "top-0",
13
13
  "left-0",
@@ -25,7 +25,7 @@ function p({ children: r, loading: e }) {
25
25
  "data-[closed]:opacity-0"
26
26
  ],
27
27
  skipLink: [
28
- "bg-uog-color-yellow",
28
+ "bg-yellow",
29
29
  "sr-only!",
30
30
  "left-0",
31
31
  "z-[1000]",
@@ -39,17 +39,17 @@ function p({ children: r, loading: e }) {
39
39
  "focus:px-2"
40
40
  ]
41
41
  }
42
- }), { placeholder: l, skipLink: c } = i();
42
+ }), { placeholder: l, skipLink: s } = i();
43
43
  return /* @__PURE__ */ t(n, { children: [
44
- /* @__PURE__ */ o(s, { show: !!e, children: /* @__PURE__ */ o("div", { className: `uofg-layout-placeholder ${l()}`, children: /* @__PURE__ */ o(f, { children: typeof e != "boolean" && e }) }) }),
45
- !e && /* @__PURE__ */ t(n, { children: [
46
- /* @__PURE__ */ o("a", { className: c(), href: "#content", children: "Skip to main content" }),
47
- /* @__PURE__ */ o("div", { className: "uofg-layout flex flex-1 flex-col", children: r })
44
+ /* @__PURE__ */ e(a, { show: !!o, children: /* @__PURE__ */ e("div", { className: `uofg-layout-placeholder ${l()}`, children: /* @__PURE__ */ e(f, { children: typeof o != "boolean" && o }) }) }),
45
+ !o && /* @__PURE__ */ t(n, { children: [
46
+ /* @__PURE__ */ e("a", { className: s(), href: "#content", children: "Skip to main content" }),
47
+ /* @__PURE__ */ e("div", { className: "uofg-layout flex flex-1 flex-col", children: r })
48
48
  ] })
49
49
  ] });
50
50
  }
51
51
  p.displayName = "Layout";
52
52
  export {
53
53
  p as Layout,
54
- g as LayoutContent
54
+ L as LayoutContent
55
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/react-components",
3
- "version": "1.4.3-rc.2",
3
+ "version": "1.4.3",
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": "6699e4279acf3858cec929f9af22f28f816e24e1"
79
+ "gitHead": "24fec5584d6188cb8bd4c60f6fea8c48ac05334f"
80
80
  }