@gearbox-protocol/permissionless-ui 1.2.6 → 1.2.8

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.
@@ -40,7 +40,7 @@ function FooterLink({ href, text, external = false }) {
40
40
  "a",
41
41
  {
42
42
  href,
43
- className: "hover:text-foreground transition-colors duration-200",
43
+ className: "text-muted-foreground hover:text-foreground transition-colors duration-200 text-sm",
44
44
  target: external ? "_blank" : void 0,
45
45
  children: text
46
46
  }
@@ -51,10 +51,10 @@ function FooterLinkSection({
51
51
  links
52
52
  }) {
53
53
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col gap-1 md:items-end", children: [
54
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", { className: "font-semibold text-muted-foreground text-sm", children: title }),
54
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", { className: "font-semibold text-foreground", children: title }),
55
55
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex flex-wrap gap-4", children: links.map((link, index) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_react.default.Fragment, { children: [
56
56
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FooterLink, { ...link }),
57
- index < links.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "\u2022" })
57
+ index < links.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-muted-foreground text-sm", children: "\u2022" })
58
58
  ] }, link.href)) })
59
59
  ] });
60
60
  }
@@ -62,7 +62,7 @@ function Footer({
62
62
  appName,
63
63
  legalReferences
64
64
  }) {
65
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("footer", { className: "border-t border-gray-800 bg-background px-4 py-8 mt-auto", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "max-w-7xl mx-auto", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-8 items-top", children: [
65
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("footer", { className: "border-t border-gray-800 bg-background px-4 py-8 mt-auto", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-8 items-top", children: [
66
66
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col gap-8 h-full justify-between", children: [
67
67
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_app_logo.AppLogo, { appName, size: "small" }),
68
68
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_legal_disclaimer.LegalDisclaimer, { hrefs: legalReferences })
@@ -112,7 +112,7 @@ function Footer({
112
112
  }
113
113
  )
114
114
  ] })
115
- ] }) }) });
115
+ ] }) });
116
116
  }
117
117
  // Annotate the CommonJS export names for ESM import in node:
118
118
  0 && (module.exports = {
@@ -7,7 +7,7 @@ function FooterLink({ href, text, external = false }) {
7
7
  "a",
8
8
  {
9
9
  href,
10
- className: "hover:text-foreground transition-colors duration-200",
10
+ className: "text-muted-foreground hover:text-foreground transition-colors duration-200 text-sm",
11
11
  target: external ? "_blank" : void 0,
12
12
  children: text
13
13
  }
@@ -18,10 +18,10 @@ function FooterLinkSection({
18
18
  links
19
19
  }) {
20
20
  return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1 md:items-end", children: [
21
- /* @__PURE__ */ jsx("h3", { className: "font-semibold text-muted-foreground text-sm", children: title }),
21
+ /* @__PURE__ */ jsx("h3", { className: "font-semibold text-foreground", children: title }),
22
22
  /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-4", children: links.map((link, index) => /* @__PURE__ */ jsxs(React.Fragment, { children: [
23
23
  /* @__PURE__ */ jsx(FooterLink, { ...link }),
24
- index < links.length - 1 && /* @__PURE__ */ jsx("span", { children: "\u2022" })
24
+ index < links.length - 1 && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: "\u2022" })
25
25
  ] }, link.href)) })
26
26
  ] });
27
27
  }
@@ -29,7 +29,7 @@ function Footer({
29
29
  appName,
30
30
  legalReferences
31
31
  }) {
32
- return /* @__PURE__ */ jsx("footer", { className: "border-t border-gray-800 bg-background px-4 py-8 mt-auto", children: /* @__PURE__ */ jsx("div", { className: "max-w-7xl mx-auto", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-8 items-top", children: [
32
+ return /* @__PURE__ */ jsx("footer", { className: "border-t border-gray-800 bg-background px-4 py-8 mt-auto", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-8 items-top", children: [
33
33
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-8 h-full justify-between", children: [
34
34
  /* @__PURE__ */ jsx(AppLogo, { appName, size: "small" }),
35
35
  /* @__PURE__ */ jsx(LegalDisclaimer, { hrefs: legalReferences })
@@ -79,7 +79,7 @@ function Footer({
79
79
  }
80
80
  )
81
81
  ] })
82
- ] }) }) });
82
+ ] }) });
83
83
  }
84
84
  export {
85
85
  Footer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/permissionless-ui",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "description": "Internal UI components",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/index.js",