@uoguelph/react-components 1.7.0 → 1.7.1

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,21 +1,23 @@
1
- import { jsxs as t, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as n, jsx as s } from "react/jsx-runtime";
2
2
  import { g as a } from "./solid-CwgZbR1c.js";
3
3
  import { FontAwesomeIcon as l } from "@fortawesome/react-fontawesome";
4
4
  import { twMerge as f } from "tailwind-merge";
5
5
  import { tv as m } from "tailwind-variants";
6
- function p({ number: o, extension: n, className: i }) {
6
+ function p({ number: t, extension: o, className: e }) {
7
7
  const c = m({
8
8
  slots: {
9
9
  container: "flex items-center gap-1",
10
10
  link: "text-body-copy-link-on-light underline decoration-current transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none hocus-visible:decoration-transparent"
11
11
  }
12
- }), { container: r, link: s } = c();
13
- return /* @__PURE__ */ t("div", { className: `uofg-contact-phone-container ${f(r(), i)}`, children: [
14
- /* @__PURE__ */ e(l, { icon: a, className: "uofg-contact-phone-icon" }),
15
- /* @__PURE__ */ e("a", { className: `uofg-contact-phone ${s()}`, href: `tel:${o}`, children: o }),
16
- n && /* @__PURE__ */ t("span", { className: "uofg-contact-phone-extension", children: [
17
- " - Ext. ",
18
- n
12
+ }), { container: i, link: r } = c();
13
+ return /* @__PURE__ */ n("div", { className: `uofg-contact-phone-container ${f(i(), e)}`, children: [
14
+ /* @__PURE__ */ s(l, { icon: a, className: "uofg-contact-phone-icon" }),
15
+ /* @__PURE__ */ n("a", { className: `uofg-contact-phone ${r()}`, href: `tel:${t}${o ? `;${o}` : ""}`, children: [
16
+ t,
17
+ o && /* @__PURE__ */ n("span", { className: "uofg-contact-phone-extension", children: [
18
+ " - Ext. ",
19
+ o
20
+ ] })
19
21
  ] })
20
22
  ] });
21
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uoguelph/react-components",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "University of Guelph React Components Library",
5
5
  "type": "module",
6
6
  "scripts": {