@gearbox-protocol/permissionless-ui 1.15.1 → 1.15.2

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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../base-link/base-link.cjs");function i({hrefs:r}){return e.jsxs("p",{className:"text-sm text-muted-foreground max-w-md",children:["Any use of and/or interaction with the Permissionless Interface is subject to the"," ",e.jsx(s.BaseLink,{href:r.termsOfService,className:"underline hover:text-foreground transition-colors",children:"Terms of Service"})," ","and"," ",e.jsx(s.BaseLink,{href:r.privacyNotice,className:"underline hover:text-foreground transition-colors",children:"Privacy Notice"}),", and acceptance of risks described in the"," ",e.jsx(s.BaseLink,{href:r.riskDisclosure,className:"underline hover:text-foreground transition-colors",children:"Risk Disclosure Statement"}),"."]})}exports.LegalDisclaimer=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("../../base-link/base-link.cjs");function n({hrefs:r,appName:i="Permissionless Interface"}){return e.jsxs("p",{className:"text-sm text-muted-foreground max-w-md",children:["Any use of and/or interaction with the ",i," is subject to the"," ",e.jsx(s.BaseLink,{href:r.termsOfService,className:"underline hover:text-foreground transition-colors",children:"Terms of Service"})," ","and"," ",e.jsx(s.BaseLink,{href:r.privacyNotice,className:"underline hover:text-foreground transition-colors",children:"Privacy Notice"}),", and acceptance of risks described in the"," ",e.jsx(s.BaseLink,{href:r.riskDisclosure,className:"underline hover:text-foreground transition-colors",children:"Risk Disclosure Statement"}),"."]})}exports.LegalDisclaimer=n;
@@ -1,8 +1,10 @@
1
- import { jsxs as t, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as o, jsx as r } from "react/jsx-runtime";
2
2
  import { BaseLink as i } from "../../base-link/base-link.js";
3
- function n({ hrefs: e }) {
4
- return /* @__PURE__ */ t("p", { className: "text-sm text-muted-foreground max-w-md", children: [
5
- "Any use of and/or interaction with the Permissionless Interface is subject to the",
3
+ function c({ hrefs: e, appName: t = "Permissionless Interface" }) {
4
+ return /* @__PURE__ */ o("p", { className: "text-sm text-muted-foreground max-w-md", children: [
5
+ "Any use of and/or interaction with the ",
6
+ t,
7
+ " is subject to the",
6
8
  " ",
7
9
  /* @__PURE__ */ r(
8
10
  i,
@@ -37,5 +39,5 @@ function n({ hrefs: e }) {
37
39
  ] });
38
40
  }
39
41
  export {
40
- n as LegalDisclaimer
42
+ c as LegalDisclaimer
41
43
  };
@@ -26,6 +26,7 @@ export interface LegalReferences {
26
26
  * - for custom legal text (use appropriate text components with links).
27
27
  * - when different disclaimer format is needed (use custom component).
28
28
  */
29
- export declare function LegalDisclaimer({ hrefs }: {
29
+ export declare function LegalDisclaimer({ hrefs, appName }: {
30
+ appName?: string;
30
31
  hrefs: LegalReferences;
31
32
  }): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/permissionless-ui",
3
- "version": "1.15.1",
3
+ "version": "1.15.2",
4
4
  "description": "Internal UI components",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/index.js",