@xyo-network/react-footer 7.4.2 → 7.5.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 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAErD,OAAO,KAAK,MAAM,OAAO,CAAA;AAuBzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAgB5C,CAAA"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAGrD,OAAO,KAAK,MAAM,OAAO,CAAA;AAuBzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAgB5C,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import type { Meta } from '@storybook/react-vite';
2
2
  import { XyoFooter } from './Footer.tsx';
3
3
  declare const StorybookEntry: Meta<typeof XyoFooter>;
4
- declare const Default: import(".store/storybook-virtual-a067dd1507/package/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("../Footer.tsx").FooterProps>;
5
- declare const DynamicHeight: import(".store/storybook-virtual-a067dd1507/package/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("../Footer.tsx").FooterProps>;
4
+ declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../Footer.tsx").FooterProps>;
5
+ declare const DynamicHeight: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("../Footer.tsx").FooterProps>;
6
6
  export { Default, DynamicHeight };
7
7
  export default StorybookEntry;
8
8
  //# sourceMappingURL=Footer.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../../src/Xyo/Footer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAA;AAI1D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,QAAA,MAAM,cAAc,EAKf,IAAI,CAAC,OAAO,SAAS,CAAC,CAAA;AAc3B,QAAA,MAAM,OAAO,yKAAoB,CAAA;AAGjC,QAAA,MAAM,aAAa,yKAAoB,CAAA;AAGvC,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,CAAA;AAEjC,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"Footer.stories.d.ts","sourceRoot":"","sources":["../../../src/Xyo/Footer.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAA;AAI1D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,QAAA,MAAM,cAAc,EAKf,IAAI,CAAC,OAAO,SAAS,CAAC,CAAA;AAc3B,QAAA,MAAM,OAAO,kIAAoB,CAAA;AAGjC,QAAA,MAAM,aAAa,kIAAoB,CAAA;AAGvC,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,CAAA;AAEjC,eAAe,cAAc,CAAA"}
@@ -1,12 +1,16 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+
1
4
  // src/AlwaysLinks.tsx
2
5
  import { MoreHoriz as MoreHorizIcon } from "@mui/icons-material";
3
6
  import { FlexRow } from "@xylabs/react-flexbox";
7
+ import React2 from "react";
4
8
 
5
9
  // src/Link.tsx
6
- import { assertEx } from "@xylabs/assert";
7
10
  import { LinkEx } from "@xylabs/react-link";
8
- import { jsx } from "react/jsx-runtime";
9
- var convertToBetaIfNeeded = (url, currentUrl = new URL(document.location.href)) => {
11
+ import { assertEx } from "@xylabs/sdk-js";
12
+ import React from "react";
13
+ var convertToBetaIfNeeded = /* @__PURE__ */ __name((url, currentUrl = new URL(document.location.href)) => {
10
14
  const urlObj = typeof url === "string" ? new URL(url) : url;
11
15
  const currentUrlObj = typeof currentUrl === "string" ? new URL(currentUrl) : currentUrl;
12
16
  const currentHostnameParts = currentUrlObj.hostname.split(".");
@@ -18,214 +22,264 @@ var convertToBetaIfNeeded = (url, currentUrl = new URL(document.location.href))
18
22
  }
19
23
  }
20
24
  return urlObj;
21
- };
22
- var FooterLink = ({
23
- target,
24
- to,
25
- toOptions,
26
- href,
27
- margin = 0.5,
28
- variant = "body2",
29
- ...props
30
- }) => {
25
+ }, "convertToBetaIfNeeded");
26
+ var FooterLink = /* @__PURE__ */ __name(({ target, to, toOptions, href, margin = 0.5, variant = "body2", ...props }) => {
31
27
  if (href) {
32
28
  const url = new URL(assertEx(href, () => "href not set"));
33
29
  assertEx(url.hostname, () => "Hostname is required in href");
34
30
  const convertedUrl = convertToBetaIfNeeded(url);
35
31
  if (document.location.hostname === convertedUrl.hostname) {
36
32
  const to2 = url.search.length > 0 ? `${convertedUrl.pathname}${convertedUrl.search}` : url.pathname;
37
- return /* @__PURE__ */ jsx(LinkEx, { margin, to: to2, toOptions, target, variant, ...props });
33
+ return /* @__PURE__ */ React.createElement(LinkEx, {
34
+ margin,
35
+ to: to2,
36
+ toOptions,
37
+ target,
38
+ variant,
39
+ ...props
40
+ });
38
41
  } else {
39
- return /* @__PURE__ */ jsx(LinkEx, { margin, href, target: target ?? "_blank", variant, ...props });
42
+ return /* @__PURE__ */ React.createElement(LinkEx, {
43
+ margin,
44
+ href,
45
+ target: target ?? "_blank",
46
+ variant,
47
+ ...props
48
+ });
40
49
  }
41
50
  } else {
42
- return /* @__PURE__ */ jsx(LinkEx, { margin, to, toOptions, target, variant, ...props });
51
+ return /* @__PURE__ */ React.createElement(LinkEx, {
52
+ margin,
53
+ to,
54
+ toOptions,
55
+ target,
56
+ variant,
57
+ ...props
58
+ });
43
59
  }
44
- };
60
+ }, "FooterLink");
45
61
 
46
62
  // src/AlwaysLinks.tsx
47
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
48
- var FooterAlwaysLinks = ({
49
- style,
50
- footerLinks: footerLinks2,
51
- onMore,
63
+ var FooterAlwaysLinks = /* @__PURE__ */ __name(({ style, footerLinks: footerLinks2, onMore, ...props }) => /* @__PURE__ */ React2.createElement(FlexRow, {
64
+ flexWrap: "wrap",
65
+ textTransform: "uppercase",
66
+ style: {
67
+ opacity: 0.6,
68
+ ...style
69
+ },
52
70
  ...props
53
- }) => /* @__PURE__ */ jsxs(
54
- FlexRow,
55
- {
56
- flexWrap: "wrap",
57
- textTransform: "uppercase",
58
- style: { opacity: 0.6, ...style },
59
- ...props,
60
- children: [
61
- footerLinks2?.map((footerLink, index) => /* @__PURE__ */ jsx2(FooterLink, { noWrap: true, paddingX: 1, margin: 0, ...footerLink, children: /* @__PURE__ */ jsx2("small", { children: footerLink.title }) }, index)),
62
- onMore ? /* @__PURE__ */ jsx2(FlexRow, { style: { cursor: "pointer" }, paddingX: 0.5, onClick: onMore, children: /* @__PURE__ */ jsx2(MoreHorizIcon, { color: "primary", fontSize: "small" }) }) : null
63
- ]
64
- }
65
- );
71
+ }, footerLinks2?.map((footerLink, index) => /* @__PURE__ */ React2.createElement(FooterLink, {
72
+ noWrap: true,
73
+ key: index,
74
+ paddingX: 1,
75
+ margin: 0,
76
+ ...footerLink
77
+ }, /* @__PURE__ */ React2.createElement("small", null, footerLink.title))), onMore ? /* @__PURE__ */ React2.createElement(FlexRow, {
78
+ style: {
79
+ cursor: "pointer"
80
+ },
81
+ paddingX: 0.5,
82
+ onClick: onMore
83
+ }, /* @__PURE__ */ React2.createElement(MoreHorizIcon, {
84
+ color: "primary",
85
+ fontSize: "small"
86
+ })) : null), "FooterAlwaysLinks");
66
87
 
67
88
  // src/Footer.tsx
68
89
  import { Container } from "@mui/material";
69
90
  import { FlexCol, FlexRow as FlexRow2 } from "@xylabs/react-flexbox";
70
91
  import { useIsDark } from "@xylabs/react-theme";
71
- import { useState } from "react";
72
- import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
73
- var Footer = ({
74
- alwaysFooterLinksProps,
75
- children,
76
- container,
77
- dynamicHeight = false,
78
- ...props
79
- }) => {
92
+ import React3, { useState } from "react";
93
+ var Footer = /* @__PURE__ */ __name(({ alwaysFooterLinksProps, children, container, dynamicHeight = false, ...props }) => {
80
94
  const [more, setMore] = useState(false);
81
- const onMore = () => {
95
+ const onMore = /* @__PURE__ */ __name(() => {
82
96
  setMore(!more);
83
- };
97
+ }, "onMore");
84
98
  const darkMode = useIsDark();
85
99
  console.log("darkMode", darkMode);
86
- return /* @__PURE__ */ jsxs2(
87
- FlexCol,
88
- {
89
- alignItems: "stretch",
90
- onMouseLeave: () => {
91
- setMore(false);
92
- },
93
- ...props,
94
- children: [
95
- more && dynamicHeight ? /* @__PURE__ */ jsx3(FlexCol, { alignItems: "stretch", children: /* @__PURE__ */ jsx3(FlexRow2, { paper: true, bottom: -1, position: "absolute", width: "100%", children: container && container !== "none" ? /* @__PURE__ */ jsx3(Container, { children }) : children }) }) : null,
96
- dynamicHeight ? null : /* @__PURE__ */ jsx3(FlexCol, { alignItems: "stretch", children: container && container !== "none" ? /* @__PURE__ */ jsx3(Container, { children }) : children }),
97
- /* @__PURE__ */ jsx3(FlexRow2, { children: container && container !== "none" ? /* @__PURE__ */ jsx3(Container, { children: /* @__PURE__ */ jsx3(FooterAlwaysLinks, { ...alwaysFooterLinksProps, onMore: dynamicHeight ? onMore : void 0 }) }) : /* @__PURE__ */ jsx3(FooterAlwaysLinks, { ...alwaysFooterLinksProps, onMore: dynamicHeight ? onMore : void 0 }) })
98
- ]
99
- }
100
- );
101
- };
100
+ return /* @__PURE__ */ React3.createElement(FlexCol, {
101
+ alignItems: "stretch",
102
+ onMouseLeave: /* @__PURE__ */ __name(() => {
103
+ setMore(false);
104
+ }, "onMouseLeave"),
105
+ ...props
106
+ }, more && dynamicHeight ? /* @__PURE__ */ React3.createElement(FlexCol, {
107
+ alignItems: "stretch"
108
+ }, /* @__PURE__ */ React3.createElement(FlexRow2, {
109
+ paper: true,
110
+ bottom: -1,
111
+ position: "absolute",
112
+ width: "100%"
113
+ }, container && container !== "none" ? /* @__PURE__ */ React3.createElement(Container, null, children) : children)) : null, dynamicHeight ? null : /* @__PURE__ */ React3.createElement(FlexCol, {
114
+ alignItems: "stretch"
115
+ }, container && container !== "none" ? /* @__PURE__ */ React3.createElement(Container, null, children) : children), /* @__PURE__ */ React3.createElement(FlexRow2, null, container && container !== "none" ? /* @__PURE__ */ React3.createElement(Container, null, /* @__PURE__ */ React3.createElement(FooterAlwaysLinks, {
116
+ ...alwaysFooterLinksProps,
117
+ onMore: dynamicHeight ? onMore : void 0
118
+ })) : /* @__PURE__ */ React3.createElement(FooterAlwaysLinks, {
119
+ ...alwaysFooterLinksProps,
120
+ onMore: dynamicHeight ? onMore : void 0
121
+ })));
122
+ }, "Footer");
102
123
 
103
124
  // src/lib/copyrightLinkTitle.ts
104
- var copyrightLinkTitle = (entity) => {
125
+ var copyrightLinkTitle = /* @__PURE__ */ __name((entity) => {
105
126
  return `Copyright \xA9 ${(/* @__PURE__ */ new Date()).getFullYear()} ${entity}`;
106
- };
127
+ }, "copyrightLinkTitle");
107
128
 
108
129
  // src/Links.tsx
109
130
  import { Typography } from "@mui/material";
110
131
  import { FlexCol as FlexCol2 } from "@xylabs/react-flexbox";
111
- import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
112
- var FooterLinks = ({
113
- children,
114
- title,
115
- ...props
116
- }) => {
117
- return /* @__PURE__ */ jsxs3(FlexCol2, { margin: 1, justifyContent: "flex-start", title, ...props, children: [
118
- /* @__PURE__ */ jsx4(Typography, { margin: 0.5, variant: "h6", noWrap: true, children: title }),
119
- children
120
- ] });
121
- };
132
+ import React4 from "react";
133
+ var FooterLinks = /* @__PURE__ */ __name(({ children, title, ...props }) => {
134
+ return /* @__PURE__ */ React4.createElement(FlexCol2, {
135
+ margin: 1,
136
+ justifyContent: "flex-start",
137
+ title,
138
+ ...props
139
+ }, /* @__PURE__ */ React4.createElement(Typography, {
140
+ margin: 0.5,
141
+ variant: "h6",
142
+ noWrap: true
143
+ }, title), children);
144
+ }, "FooterLinks");
122
145
 
123
146
  // src/Xyo/AlwaysLinks.tsx
124
- import { jsx as jsx5 } from "react/jsx-runtime";
125
- var XyoFooterAlwaysLinks = (props) => /* @__PURE__ */ jsx5(
126
- FooterAlwaysLinks,
127
- {
128
- footerLinks: [
129
- {
130
- href: "https://xylabs.com/",
131
- title: copyrightLinkTitle("XY Labs, Inc.")
132
- },
133
- {
134
- href: "https://xyo.network/",
135
- title: "XYO Foundation"
136
- },
137
- {
138
- href: "https://xylabs.com/privacy/",
139
- title: "Privacy"
140
- },
141
- {
142
- href: "https://xylabs.com/terms/",
143
- title: "Terms"
144
- },
145
- {
146
- href: "https://xylabs.com/jobs",
147
- title: "Careers"
148
- }
149
- ],
150
- ...props
151
- }
152
- );
147
+ import React5 from "react";
148
+ var XyoFooterAlwaysLinks = /* @__PURE__ */ __name((props) => /* @__PURE__ */ React5.createElement(FooterAlwaysLinks, {
149
+ footerLinks: [
150
+ {
151
+ href: "https://xylabs.com/",
152
+ title: copyrightLinkTitle("XY Labs, Inc.")
153
+ },
154
+ {
155
+ href: "https://xyo.network/",
156
+ title: "XYO Foundation"
157
+ },
158
+ {
159
+ href: "https://xylabs.com/privacy/",
160
+ title: "Privacy"
161
+ },
162
+ {
163
+ href: "https://xylabs.com/terms/",
164
+ title: "Terms"
165
+ },
166
+ {
167
+ href: "https://xylabs.com/jobs",
168
+ title: "Careers"
169
+ }
170
+ ],
171
+ ...props
172
+ }), "XyoFooterAlwaysLinks");
153
173
 
154
174
  // src/Xyo/DeveloperLinks.tsx
155
- import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
156
- var DeveloperLinks = (props) => /* @__PURE__ */ jsxs4(FooterLinks, { title: "Developer", ...props, children: [
157
- /* @__PURE__ */ jsx6(FooterLink, { href: "https://xyo.network/developer", children: "Overview" }),
158
- /* @__PURE__ */ jsx6(FooterLink, { href: "https://xyo.network/developer/get-started", children: "Get Started" }),
159
- /* @__PURE__ */ jsx6(FooterLink, { href: "https://xyo.network/developer", children: "SDKs" }),
160
- /* @__PURE__ */ jsx6(FooterLink, { href: "https://github.com/xyoraclenetwork", children: "Open Source Github" }),
161
- /* @__PURE__ */ jsx6(FooterLink, { href: "https://xyo.network/docs/sdk/js", children: "Documentation" })
162
- ] });
175
+ import React6 from "react";
176
+ var DeveloperLinks = /* @__PURE__ */ __name((props) => /* @__PURE__ */ React6.createElement(FooterLinks, {
177
+ title: "Developer",
178
+ ...props
179
+ }, /* @__PURE__ */ React6.createElement(FooterLink, {
180
+ href: "https://xyo.network/developer"
181
+ }, "Overview"), /* @__PURE__ */ React6.createElement(FooterLink, {
182
+ href: "https://xyo.network/developer/get-started"
183
+ }, "Get Started"), /* @__PURE__ */ React6.createElement(FooterLink, {
184
+ href: "https://xyo.network/developer"
185
+ }, "SDKs"), /* @__PURE__ */ React6.createElement(FooterLink, {
186
+ href: "https://github.com/xyoraclenetwork"
187
+ }, "Open Source Github"), /* @__PURE__ */ React6.createElement(FooterLink, {
188
+ href: "https://xyo.network/docs/sdk/js"
189
+ }, "Documentation")), "DeveloperLinks");
163
190
 
164
191
  // src/Xyo/Footer.tsx
165
192
  import { Grid } from "@mui/material";
193
+ import React12 from "react";
166
194
 
167
195
  // src/Xyo/MoreLinks.tsx
168
- import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
169
- var MoreLinks = (props) => /* @__PURE__ */ jsxs5(FooterLinks, { title: "More", ...props, children: [
170
- /* @__PURE__ */ jsx7(FooterLink, { href: "https://xyo.network/partners", children: "Partners" }),
171
- /* @__PURE__ */ jsx7(FooterLink, { href: "https://xyo.network/fhr", children: "FHR" }),
172
- /* @__PURE__ */ jsx7(FooterLink, { href: "https://xyo.network/brand", children: "Brand" })
173
- ] });
196
+ import React7 from "react";
197
+ var MoreLinks = /* @__PURE__ */ __name((props) => /* @__PURE__ */ React7.createElement(FooterLinks, {
198
+ title: "More",
199
+ ...props
200
+ }, /* @__PURE__ */ React7.createElement(FooterLink, {
201
+ href: "https://xyo.network/partners"
202
+ }, "Partners"), /* @__PURE__ */ React7.createElement(FooterLink, {
203
+ href: "https://xyo.network/fhr"
204
+ }, "FHR"), /* @__PURE__ */ React7.createElement(FooterLink, {
205
+ href: "https://xyo.network/brand"
206
+ }, "Brand")), "MoreLinks");
174
207
 
175
208
  // src/Xyo/NetworkLinks.tsx
176
- import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
177
- var NetworkLinks = (props) => /* @__PURE__ */ jsxs6(FooterLinks, { title: "Network", ...props, children: [
178
- /* @__PURE__ */ jsx8(FooterLink, { href: "https://xyo.network/network", children: "Overview" }),
179
- /* @__PURE__ */ jsx8(FooterLink, { href: "https://xyo.network/network/bound-witness", children: "Bound Witness" }),
180
- /* @__PURE__ */ jsx8(FooterLink, { href: "https://xyo.network/network/proof-of-origin", children: "Proof Of Origin" }),
181
- /* @__PURE__ */ jsx8(FooterLink, { href: "https://xyo.network/papers", children: "White Paper" })
182
- ] });
209
+ import React8 from "react";
210
+ var NetworkLinks = /* @__PURE__ */ __name((props) => /* @__PURE__ */ React8.createElement(FooterLinks, {
211
+ title: "Network",
212
+ ...props
213
+ }, /* @__PURE__ */ React8.createElement(FooterLink, {
214
+ href: "https://xyo.network/network"
215
+ }, "Overview"), /* @__PURE__ */ React8.createElement(FooterLink, {
216
+ href: "https://xyo.network/network/bound-witness"
217
+ }, "Bound Witness"), /* @__PURE__ */ React8.createElement(FooterLink, {
218
+ href: "https://xyo.network/network/proof-of-origin"
219
+ }, "Proof Of Origin"), /* @__PURE__ */ React8.createElement(FooterLink, {
220
+ href: "https://xyo.network/papers"
221
+ }, "White Paper")), "NetworkLinks");
183
222
 
184
223
  // src/Xyo/SocialLinks.tsx
185
- import {
186
- Facebook,
187
- Instagram,
188
- LinkedIn,
189
- Reddit,
190
- Telegram,
191
- Twitter,
192
- YouTube
193
- } from "@mui/icons-material";
224
+ import { Facebook, Instagram, LinkedIn, Reddit, Telegram, Twitter, YouTube } from "@mui/icons-material";
194
225
  import { FlexRow as FlexRow3 } from "@xylabs/react-flexbox";
226
+ import React9 from "react";
195
227
  import { FaDiscord } from "react-icons/fa";
196
- import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
197
- var SocialLinks = (props) => {
198
- return /* @__PURE__ */ jsx9(FooterLinks, { title: "XYO Socials", ...props, children: /* @__PURE__ */ jsxs7(FlexRow3, { flexWrap: "wrap", justifyContent: "flex-start", children: [
199
- /* @__PURE__ */ jsx9(FooterLink, { href: "https://business.facebook.com/OfficialXYO/", children: /* @__PURE__ */ jsx9(Facebook, {}) }),
200
- /* @__PURE__ */ jsx9(FooterLink, { href: "https://twitter.com/OfficialXYO", children: /* @__PURE__ */ jsx9(Twitter, {}) }),
201
- /* @__PURE__ */ jsx9(FooterLink, { href: "https://www.instagram.com/officialxyo/", children: /* @__PURE__ */ jsx9(Instagram, {}) }),
202
- /* @__PURE__ */ jsx9(FooterLink, { href: "https://t.me/xyonetwork", children: /* @__PURE__ */ jsx9(Telegram, {}) }),
203
- /* @__PURE__ */ jsx9(FooterLink, { href: "https://www.reddit.com/r/XYONetwork/", children: /* @__PURE__ */ jsx9(Reddit, {}) }),
204
- /* @__PURE__ */ jsx9(FooterLink, { href: "https://www.youtube.com/channel/UCyZDqb9pgntVHJVt1pxXtsw", children: /* @__PURE__ */ jsx9(YouTube, {}) }),
205
- /* @__PURE__ */ jsx9(FooterLink, { href: "https://www.linkedin.com/company/officialxyo/", children: /* @__PURE__ */ jsx9(LinkedIn, {}) }),
206
- /* @__PURE__ */ jsx9(FooterLink, { href: "https://discord.gg/officialxyo", children: /* @__PURE__ */ jsx9(FaDiscord, {}) })
207
- ] }) });
208
- };
228
+ var SocialLinks = /* @__PURE__ */ __name((props) => {
229
+ return /* @__PURE__ */ React9.createElement(FooterLinks, {
230
+ title: "XYO Socials",
231
+ ...props
232
+ }, /* @__PURE__ */ React9.createElement(FlexRow3, {
233
+ flexWrap: "wrap",
234
+ justifyContent: "flex-start"
235
+ }, /* @__PURE__ */ React9.createElement(FooterLink, {
236
+ href: "https://business.facebook.com/OfficialXYO/"
237
+ }, /* @__PURE__ */ React9.createElement(Facebook, null)), /* @__PURE__ */ React9.createElement(FooterLink, {
238
+ href: "https://twitter.com/OfficialXYO"
239
+ }, /* @__PURE__ */ React9.createElement(Twitter, null)), /* @__PURE__ */ React9.createElement(FooterLink, {
240
+ href: "https://www.instagram.com/officialxyo/"
241
+ }, /* @__PURE__ */ React9.createElement(Instagram, null)), /* @__PURE__ */ React9.createElement(FooterLink, {
242
+ href: "https://t.me/xyonetwork"
243
+ }, /* @__PURE__ */ React9.createElement(Telegram, null)), /* @__PURE__ */ React9.createElement(FooterLink, {
244
+ href: "https://www.reddit.com/r/XYONetwork/"
245
+ }, /* @__PURE__ */ React9.createElement(Reddit, null)), /* @__PURE__ */ React9.createElement(FooterLink, {
246
+ href: "https://www.youtube.com/channel/UCyZDqb9pgntVHJVt1pxXtsw"
247
+ }, /* @__PURE__ */ React9.createElement(YouTube, null)), /* @__PURE__ */ React9.createElement(FooterLink, {
248
+ href: "https://www.linkedin.com/company/officialxyo/"
249
+ }, /* @__PURE__ */ React9.createElement(LinkedIn, null)), /* @__PURE__ */ React9.createElement(FooterLink, {
250
+ href: "https://discord.gg/officialxyo"
251
+ }, /* @__PURE__ */ React9.createElement(FaDiscord, null))));
252
+ }, "SocialLinks");
209
253
 
210
254
  // src/Xyo/SupportLinks.tsx
211
- import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
212
- var SupportLinks = (props) => /* @__PURE__ */ jsxs8(FooterLinks, { title: "Support", ...props, children: [
213
- /* @__PURE__ */ jsx10(FooterLink, { href: "https://support.xy.company/hc/en-us/categories/360001417734", children: "Help Center" }),
214
- /* @__PURE__ */ jsx10(FooterLink, { href: "https://support.xy.company/hc/en-us/requests/new", children: "Contact Support" })
215
- ] });
255
+ import React10 from "react";
256
+ var SupportLinks = /* @__PURE__ */ __name((props) => /* @__PURE__ */ React10.createElement(FooterLinks, {
257
+ title: "Support",
258
+ ...props
259
+ }, /* @__PURE__ */ React10.createElement(FooterLink, {
260
+ href: "https://support.xy.company/hc/en-us/categories/360001417734"
261
+ }, "Help Center"), /* @__PURE__ */ React10.createElement(FooterLink, {
262
+ href: "https://support.xy.company/hc/en-us/requests/new"
263
+ }, "Contact Support")), "SupportLinks");
216
264
 
217
265
  // src/Xyo/TokenLinks.tsx
218
- import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
219
- var TokenLinks = (props) => /* @__PURE__ */ jsxs9(FooterLinks, { title: "XYO Tokens", ...props, children: [
220
- /* @__PURE__ */ jsx11(FooterLink, { href: "https://xyo.network/token", children: "About" }),
221
- /* @__PURE__ */ jsx11(FooterLink, { href: "https://xyo.network/token/exchange", children: "Exchanges" }),
222
- /* @__PURE__ */ jsx11(FooterLink, { href: "https://xyo.network/token/price", children: "Prices" }),
223
- /* @__PURE__ */ jsx11(FooterLink, { href: "https://xyo.network/token/wallet", children: "Wallets" }),
224
- /* @__PURE__ */ jsx11(FooterLink, { href: "https://etherscan.io/address/0x55296f69f40ea6d20e478533c15a6b08b654e758", children: "Contract" })
225
- ] });
266
+ import React11 from "react";
267
+ var TokenLinks = /* @__PURE__ */ __name((props) => /* @__PURE__ */ React11.createElement(FooterLinks, {
268
+ title: "XYO Tokens",
269
+ ...props
270
+ }, /* @__PURE__ */ React11.createElement(FooterLink, {
271
+ href: "https://xyo.network/token"
272
+ }, "About"), /* @__PURE__ */ React11.createElement(FooterLink, {
273
+ href: "https://xyo.network/token/exchange"
274
+ }, "Exchanges"), /* @__PURE__ */ React11.createElement(FooterLink, {
275
+ href: "https://xyo.network/token/price"
276
+ }, "Prices"), /* @__PURE__ */ React11.createElement(FooterLink, {
277
+ href: "https://xyo.network/token/wallet"
278
+ }, "Wallets"), /* @__PURE__ */ React11.createElement(FooterLink, {
279
+ href: "https://etherscan.io/address/0x55296f69f40ea6d20e478533c15a6b08b654e758"
280
+ }, "Contract")), "TokenLinks");
226
281
 
227
282
  // src/Xyo/Footer.tsx
228
- import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
229
283
  var footerLinks = [
230
284
  {
231
285
  href: "https://xylabs.com/",
@@ -248,19 +302,58 @@ var footerLinks = [
248
302
  title: "Careers"
249
303
  }
250
304
  ];
251
- var XyoFooter = ({
252
- alwaysFooterLinksProps,
253
- ...props
254
- }) => {
255
- return /* @__PURE__ */ jsx12(Footer, { alwaysFooterLinksProps: alwaysFooterLinksProps ?? { footerLinks }, ...props, children: /* @__PURE__ */ jsxs10(Grid, { container: true, children: [
256
- /* @__PURE__ */ jsx12(Grid, { size: { xs: 12, md: 2 }, children: /* @__PURE__ */ jsx12(SocialLinks, { alignItems: "flex-start" }) }),
257
- /* @__PURE__ */ jsx12(Grid, { size: { xs: 6, md: 2 }, children: /* @__PURE__ */ jsx12(NetworkLinks, { alignItems: "flex-start" }) }),
258
- /* @__PURE__ */ jsx12(Grid, { size: { xs: 6, md: 2 }, children: /* @__PURE__ */ jsx12(TokenLinks, { alignItems: "flex-start" }) }),
259
- /* @__PURE__ */ jsx12(Grid, { size: { xs: 6, md: 2 }, children: /* @__PURE__ */ jsx12(DeveloperLinks, { alignItems: "flex-start" }) }),
260
- /* @__PURE__ */ jsx12(Grid, { size: { xs: 6, md: 2 }, children: /* @__PURE__ */ jsx12(MoreLinks, { alignItems: "flex-start" }) }),
261
- /* @__PURE__ */ jsx12(Grid, { size: { xs: 6, md: 2 }, children: /* @__PURE__ */ jsx12(SupportLinks, { alignItems: "flex-start" }) })
262
- ] }) });
263
- };
305
+ var XyoFooter = /* @__PURE__ */ __name(({ alwaysFooterLinksProps, ...props }) => {
306
+ return /* @__PURE__ */ React12.createElement(Footer, {
307
+ alwaysFooterLinksProps: alwaysFooterLinksProps ?? {
308
+ footerLinks
309
+ },
310
+ ...props
311
+ }, /* @__PURE__ */ React12.createElement(Grid, {
312
+ container: true
313
+ }, /* @__PURE__ */ React12.createElement(Grid, {
314
+ size: {
315
+ xs: 12,
316
+ md: 2
317
+ }
318
+ }, /* @__PURE__ */ React12.createElement(SocialLinks, {
319
+ alignItems: "flex-start"
320
+ })), /* @__PURE__ */ React12.createElement(Grid, {
321
+ size: {
322
+ xs: 6,
323
+ md: 2
324
+ }
325
+ }, /* @__PURE__ */ React12.createElement(NetworkLinks, {
326
+ alignItems: "flex-start"
327
+ })), /* @__PURE__ */ React12.createElement(Grid, {
328
+ size: {
329
+ xs: 6,
330
+ md: 2
331
+ }
332
+ }, /* @__PURE__ */ React12.createElement(TokenLinks, {
333
+ alignItems: "flex-start"
334
+ })), /* @__PURE__ */ React12.createElement(Grid, {
335
+ size: {
336
+ xs: 6,
337
+ md: 2
338
+ }
339
+ }, /* @__PURE__ */ React12.createElement(DeveloperLinks, {
340
+ alignItems: "flex-start"
341
+ })), /* @__PURE__ */ React12.createElement(Grid, {
342
+ size: {
343
+ xs: 6,
344
+ md: 2
345
+ }
346
+ }, /* @__PURE__ */ React12.createElement(MoreLinks, {
347
+ alignItems: "flex-start"
348
+ })), /* @__PURE__ */ React12.createElement(Grid, {
349
+ size: {
350
+ xs: 6,
351
+ md: 2
352
+ }
353
+ }, /* @__PURE__ */ React12.createElement(SupportLinks, {
354
+ alignItems: "flex-start"
355
+ }))));
356
+ }, "XyoFooter");
264
357
  export {
265
358
  FooterAlwaysLinks as Copyright,
266
359
  DeveloperLinks,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/AlwaysLinks.tsx","../../src/Link.tsx","../../src/Footer.tsx","../../src/lib/copyrightLinkTitle.ts","../../src/Links.tsx","../../src/Xyo/AlwaysLinks.tsx","../../src/Xyo/DeveloperLinks.tsx","../../src/Xyo/Footer.tsx","../../src/Xyo/MoreLinks.tsx","../../src/Xyo/NetworkLinks.tsx","../../src/Xyo/SocialLinks.tsx","../../src/Xyo/SupportLinks.tsx","../../src/Xyo/TokenLinks.tsx"],"sourcesContent":["import { MoreHoriz as MoreHorizIcon } from '@mui/icons-material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport type { LinkExProps } from '@xylabs/react-link'\nimport React from 'react'\n\nimport { FooterLink } from './Link.tsx'\n\nexport interface FooterAlwaysLinksProps extends FlexBoxProps {\n footerLinks?: LinkExProps[]\n onMore?: () => void\n}\n\nexport const FooterAlwaysLinks: React.FC<FooterAlwaysLinksProps> = ({\n style, footerLinks, onMore, ...props\n}) => (\n <FlexRow\n flexWrap=\"wrap\"\n textTransform=\"uppercase\"\n style={{ opacity: 0.6, ...style }}\n {...props}\n >\n {footerLinks?.map((footerLink, index) => (\n <FooterLink noWrap key={index} paddingX={1} margin={0} {...footerLink}>\n <small>{footerLink.title}</small>\n </FooterLink>\n ))}\n {onMore\n ? (\n <FlexRow style={{ cursor: 'pointer' }} paddingX={0.5} onClick={onMore}>\n <MoreHorizIcon color=\"primary\" fontSize=\"small\" />\n </FlexRow>\n )\n : null}\n </FlexRow>\n)\n","import { assertEx } from '@xylabs/assert'\nimport type { LinkExProps } from '@xylabs/react-link'\nimport { LinkEx } from '@xylabs/react-link'\nimport React from 'react'\n\n/**\n * @description\n * FooterLink automatically uses a local To if the link is to the current domain\n * If the link is not local, it defaults to target being _blank\n * In the case of 'beta' domains, it navigates correctly\n */\n\nconst convertToBetaIfNeeded = (url: string | URL, currentUrl = new URL(document.location.href)) => {\n const urlObj = typeof url === 'string' ? new URL(url) : url\n const currentUrlObj = typeof currentUrl === 'string' ? new URL(currentUrl) : currentUrl\n const currentHostnameParts = currentUrlObj.hostname.split('.')\n const beta = currentHostnameParts.shift() === 'beta'\n if (beta) {\n const currentHostnameWithoutBeta = currentHostnameParts.join('.')\n if (currentHostnameWithoutBeta === urlObj.hostname) {\n urlObj.hostname = currentUrlObj.hostname\n }\n }\n return urlObj\n}\n\nexport const FooterLink: React.FC<LinkExProps> = ({\n target, to, toOptions, href, margin = 0.5, variant = 'body2', ...props\n}) => {\n if (href) {\n const url = new URL(assertEx(href, () => 'href not set'))\n assertEx(url.hostname, () => 'Hostname is required in href')\n const convertedUrl = convertToBetaIfNeeded(url)\n if (document.location.hostname === convertedUrl.hostname) {\n const to = url.search.length > 0 ? `${convertedUrl.pathname}${convertedUrl.search}` : url.pathname\n return <LinkEx margin={margin} to={to} toOptions={toOptions} target={target} variant={variant} {...props} />\n } else {\n return <LinkEx margin={margin} href={href} target={target ?? '_blank'} variant={variant} {...props} />\n }\n } else {\n return <LinkEx margin={margin} to={to} toOptions={toOptions} target={target} variant={variant} {...props} />\n }\n}\n","import type { ContainerProps } from '@mui/material'\nimport { Container } from '@mui/material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { useIsDark } from '@xylabs/react-theme'\nimport React, { useState } from 'react'\n\nimport type { FooterAlwaysLinksProps } from './AlwaysLinks.tsx'\nimport { FooterAlwaysLinks } from './AlwaysLinks.tsx'\n\nexport interface FooterProps extends FlexBoxProps {\n alwaysFooterLinksProps?: FooterAlwaysLinksProps\n container?: ContainerProps['maxWidth'] | 'none'\n dynamicHeight?: boolean\n}\n\nexport const Footer: React.FC<FooterProps> = ({\n alwaysFooterLinksProps, children, container, dynamicHeight = false, ...props\n}) => {\n const [more, setMore] = useState(false)\n const onMore = () => {\n setMore(!more)\n }\n\n const darkMode = useIsDark()\n console.log('darkMode', darkMode)\n\n return (\n <FlexCol\n alignItems=\"stretch\"\n onMouseLeave={() => {\n setMore(false)\n }}\n {...props}\n >\n {more && dynamicHeight\n ? (\n <FlexCol alignItems=\"stretch\">\n <FlexRow paper bottom={-1} position=\"absolute\" width=\"100%\">\n {container && container !== 'none'\n ? <Container>{children}</Container>\n : children}\n </FlexRow>\n </FlexCol>\n )\n : null}\n {dynamicHeight\n ? null\n : (\n <FlexCol alignItems=\"stretch\">\n {container && container !== 'none'\n ? <Container>{children}</Container>\n : children}\n </FlexCol>\n )}\n <FlexRow>\n {container && container !== 'none'\n ? (\n <Container>\n <FooterAlwaysLinks {...alwaysFooterLinksProps} onMore={dynamicHeight ? onMore : undefined} />\n </Container>\n )\n : <FooterAlwaysLinks {...alwaysFooterLinksProps} onMore={dynamicHeight ? onMore : undefined} />}\n </FlexRow>\n </FlexCol>\n )\n}\n","export const copyrightLinkTitle = (entity: string) => {\n return `Copyright © ${new Date().getFullYear()} ${entity}`\n}\n","import { Typography } from '@mui/material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nexport const FooterLinks: React.FC<FlexBoxProps> = ({\n children, title, ...props\n}) => {\n return (\n <FlexCol margin={1} justifyContent=\"flex-start\" title={title} {...props}>\n <Typography margin={0.5} variant=\"h6\" noWrap>\n {title}\n </Typography>\n {children}\n </FlexCol>\n )\n}\n","import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { FooterAlwaysLinks } from '../AlwaysLinks.tsx'\nimport { copyrightLinkTitle } from '../lib/index.ts'\n\nexport interface XyoFooterAlwaysLinksProps extends FlexBoxProps {\n onMore?: () => void\n}\n\nexport const XyoFooterAlwaysLinks: React.FC<XyoFooterAlwaysLinksProps> = props => (\n <FooterAlwaysLinks\n footerLinks={[\n {\n href: 'https://xylabs.com/',\n title: copyrightLinkTitle('XY Labs, Inc.'),\n },\n {\n href: 'https://xyo.network/',\n title: 'XYO Foundation',\n },\n {\n href: 'https://xylabs.com/privacy/',\n title: 'Privacy',\n },\n {\n href: 'https://xylabs.com/terms/',\n title: 'Terms',\n },\n {\n href: 'https://xylabs.com/jobs',\n title: 'Careers',\n },\n ]}\n {...props}\n />\n)\n\n/** @deprecated use FooterAlwaysLinksProps */\nexport type CopyrightProps = XyoFooterAlwaysLinksProps\n\n/** @deprecated use FooterAlwaysLinks */\n\nexport { FooterAlwaysLinks as Copyright } from '../AlwaysLinks.tsx'\n","import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { FooterLink } from '../Link.tsx'\nimport { FooterLinks } from '../Links.tsx'\n\nexport const DeveloperLinks: React.FC<FlexBoxProps> = props => (\n <FooterLinks title=\"Developer\" {...props}>\n <FooterLink href=\"https://xyo.network/developer\">Overview</FooterLink>\n <FooterLink href=\"https://xyo.network/developer/get-started\">Get Started</FooterLink>\n <FooterLink href=\"https://xyo.network/developer\">SDKs</FooterLink>\n <FooterLink href=\"https://github.com/xyoraclenetwork\">Open Source Github</FooterLink>\n <FooterLink href=\"https://xyo.network/docs/sdk/js\">Documentation</FooterLink>\n </FooterLinks>\n)\n","import { Grid } from '@mui/material'\nimport React from 'react'\n\nimport type { FooterProps } from '../Footer.tsx'\nimport { Footer } from '../Footer.tsx'\nimport { copyrightLinkTitle } from '../lib/index.ts'\nimport { DeveloperLinks } from './DeveloperLinks.tsx'\nimport { MoreLinks } from './MoreLinks.tsx'\nimport { NetworkLinks } from './NetworkLinks.tsx'\nimport { SocialLinks } from './SocialLinks.tsx'\nimport { SupportLinks } from './SupportLinks.tsx'\nimport { TokenLinks } from './TokenLinks.tsx'\n\nconst footerLinks = [\n {\n href: 'https://xylabs.com/',\n title: copyrightLinkTitle('XY Labs, Inc.'),\n },\n {\n href: 'https://xyo.network/',\n title: 'XYO Foundation',\n },\n {\n href: 'https://xylabs.com/privacy/',\n title: 'Privacy',\n },\n {\n href: 'https://xylabs.com/terms/',\n title: 'Terms',\n },\n {\n href: 'https://xylabs.com/jobs',\n title: 'Careers',\n },\n]\n\nexport const XyoFooter: React.FC<FooterProps> = ({\n alwaysFooterLinksProps,\n ...props\n}) => {\n return (\n <Footer alwaysFooterLinksProps={alwaysFooterLinksProps ?? { footerLinks }} {...props}>\n <Grid container>\n <Grid size={{ xs: 12, md: 2 }}>\n <SocialLinks alignItems=\"flex-start\" />\n </Grid>\n <Grid size={{ xs: 6, md: 2 }}>\n <NetworkLinks alignItems=\"flex-start\" />\n </Grid>\n <Grid size={{ xs: 6, md: 2 }}>\n <TokenLinks alignItems=\"flex-start\" />\n </Grid>\n <Grid size={{ xs: 6, md: 2 }}>\n <DeveloperLinks alignItems=\"flex-start\" />\n </Grid>\n <Grid size={{ xs: 6, md: 2 }}>\n <MoreLinks alignItems=\"flex-start\" />\n </Grid>\n <Grid size={{ xs: 6, md: 2 }}>\n <SupportLinks alignItems=\"flex-start\" />\n </Grid>\n </Grid>\n </Footer>\n )\n}\n","import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { FooterLink } from '../Link.tsx'\nimport { FooterLinks } from '../Links.tsx'\n\nexport const MoreLinks: React.FC<FlexBoxProps> = props => (\n <FooterLinks title=\"More\" {...props}>\n <FooterLink href=\"https://xyo.network/partners\">Partners</FooterLink>\n <FooterLink href=\"https://xyo.network/fhr\">FHR</FooterLink>\n <FooterLink href=\"https://xyo.network/brand\">Brand</FooterLink>\n </FooterLinks>\n)\n","import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { FooterLink } from '../Link.tsx'\nimport { FooterLinks } from '../Links.tsx'\n\nexport const NetworkLinks: React.FC<FlexBoxProps> = props => (\n <FooterLinks title=\"Network\" {...props}>\n <FooterLink href=\"https://xyo.network/network\">Overview</FooterLink>\n <FooterLink href=\"https://xyo.network/network/bound-witness\">Bound Witness</FooterLink>\n <FooterLink href=\"https://xyo.network/network/proof-of-origin\">Proof Of Origin</FooterLink>\n <FooterLink href=\"https://xyo.network/papers\">White Paper</FooterLink>\n </FooterLinks>\n)\n","import {\n Facebook, Instagram, LinkedIn, Reddit, Telegram, Twitter, YouTube,\n} from '@mui/icons-material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport React from 'react'\n// eslint-disable-next-line import-x/no-internal-modules\nimport { FaDiscord } from 'react-icons/fa'\n\nimport { FooterLink } from '../Link.tsx'\nimport { FooterLinks } from '../Links.tsx'\n\nexport const SocialLinks: React.FC<FlexBoxProps> = (props) => {\n return (\n <FooterLinks title=\"XYO Socials\" {...props}>\n <FlexRow flexWrap=\"wrap\" justifyContent=\"flex-start\">\n <FooterLink href=\"https://business.facebook.com/OfficialXYO/\">\n <Facebook />\n </FooterLink>\n <FooterLink href=\"https://twitter.com/OfficialXYO\">\n <Twitter />\n </FooterLink>\n <FooterLink href=\"https://www.instagram.com/officialxyo/\">\n <Instagram />\n </FooterLink>\n <FooterLink href=\"https://t.me/xyonetwork\">\n <Telegram />\n </FooterLink>\n <FooterLink href=\"https://www.reddit.com/r/XYONetwork/\">\n <Reddit />\n </FooterLink>\n <FooterLink href=\"https://www.youtube.com/channel/UCyZDqb9pgntVHJVt1pxXtsw\">\n <YouTube />\n </FooterLink>\n <FooterLink href=\"https://www.linkedin.com/company/officialxyo/\">\n <LinkedIn />\n </FooterLink>\n <FooterLink href=\"https://discord.gg/officialxyo\">\n <FaDiscord />\n </FooterLink>\n </FlexRow>\n </FooterLinks>\n )\n}\n","import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { FooterLink } from '../Link.tsx'\nimport { FooterLinks } from '../Links.tsx'\n\nexport const SupportLinks: React.FC<FlexBoxProps> = props => (\n <FooterLinks title=\"Support\" {...props}>\n <FooterLink href=\"https://support.xy.company/hc/en-us/categories/360001417734\">Help Center</FooterLink>\n <FooterLink href=\"https://support.xy.company/hc/en-us/requests/new\">Contact Support</FooterLink>\n </FooterLinks>\n)\n","import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { FooterLink } from '../Link.tsx'\nimport { FooterLinks } from '../Links.tsx'\n\nexport const TokenLinks: React.FC<FlexBoxProps> = props => (\n <FooterLinks title=\"XYO Tokens\" {...props}>\n <FooterLink href=\"https://xyo.network/token\">About</FooterLink>\n <FooterLink href=\"https://xyo.network/token/exchange\">Exchanges</FooterLink>\n <FooterLink href=\"https://xyo.network/token/price\">Prices</FooterLink>\n <FooterLink href=\"https://xyo.network/token/wallet\">Wallets</FooterLink>\n <FooterLink href=\"https://etherscan.io/address/0x55296f69f40ea6d20e478533c15a6b08b654e758\">Contract</FooterLink>\n </FooterLinks>\n)\n"],"mappings":";AAAA,SAAS,aAAa,qBAAqB;AAE3C,SAAS,eAAe;;;ACFxB,SAAS,gBAAgB;AAEzB,SAAS,cAAc;AAiCV;AAvBb,IAAM,wBAAwB,CAAC,KAAmB,aAAa,IAAI,IAAI,SAAS,SAAS,IAAI,MAAM;AACjG,QAAM,SAAS,OAAO,QAAQ,WAAW,IAAI,IAAI,GAAG,IAAI;AACxD,QAAM,gBAAgB,OAAO,eAAe,WAAW,IAAI,IAAI,UAAU,IAAI;AAC7E,QAAM,uBAAuB,cAAc,SAAS,MAAM,GAAG;AAC7D,QAAM,OAAO,qBAAqB,MAAM,MAAM;AAC9C,MAAI,MAAM;AACR,UAAM,6BAA6B,qBAAqB,KAAK,GAAG;AAChE,QAAI,+BAA+B,OAAO,UAAU;AAClD,aAAO,WAAW,cAAc;AAAA,IAClC;AAAA,EACF;AACA,SAAO;AACT;AAEO,IAAM,aAAoC,CAAC;AAAA,EAChD;AAAA,EAAQ;AAAA,EAAI;AAAA,EAAW;AAAA,EAAM,SAAS;AAAA,EAAK,UAAU;AAAA,EAAS,GAAG;AACnE,MAAM;AACJ,MAAI,MAAM;AACR,UAAM,MAAM,IAAI,IAAI,SAAS,MAAM,MAAM,cAAc,CAAC;AACxD,aAAS,IAAI,UAAU,MAAM,8BAA8B;AAC3D,UAAM,eAAe,sBAAsB,GAAG;AAC9C,QAAI,SAAS,SAAS,aAAa,aAAa,UAAU;AACxD,YAAMA,MAAK,IAAI,OAAO,SAAS,IAAI,GAAG,aAAa,QAAQ,GAAG,aAAa,MAAM,KAAK,IAAI;AAC1F,aAAO,oBAAC,UAAO,QAAgB,IAAIA,KAAI,WAAsB,QAAgB,SAAmB,GAAG,OAAO;A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,EAAE,IAAI,GAAG,IAAI,EAAE,GACzB,0BAAAA,MAAC,cAAW,YAAW,cAAa,GACtC;AAAA,IACA,gBAAAA,MAAC,QAAK,MAAM,EAAE,IAAI,GAAG,IAAI,EAAE,GACzB,0BAAAA,MAAC,kBAAe,YAAW,cAAa,GAC1C;AAAA,IACA,gBAAAA,MAAC,QAAK,MAAM,EAAE,IAAI,GAAG,IAAI,EAAE,GACzB,0BAAAA,MAAC,aAAU,YAAW,cAAa,GACrC;AAAA,IACA,gBAAAA,MAAC,QAAK,MAAM,EAAE,IAAI,GAAG,IAAI,EAAE,GACzB,0BAAAA,MAAC,gBAAa,YAAW,cAAa,GACxC;AAAA,KACF,GACF;AAEJ;","names":["to","jsx","footerLinks","FlexRow","jsx","jsxs","FlexRow","FlexCol","jsx","jsxs","jsx","jsx","jsxs","jsx","jsxs","jsx","jsxs","FlexRow","jsx","jsxs","FlexRow","jsx","jsxs","jsx","jsxs","jsx","jsxs"]}
1
+ {"version":3,"sources":["../../src/AlwaysLinks.tsx","../../src/Link.tsx","../../src/Footer.tsx","../../src/lib/copyrightLinkTitle.ts","../../src/Links.tsx","../../src/Xyo/AlwaysLinks.tsx","../../src/Xyo/DeveloperLinks.tsx","../../src/Xyo/Footer.tsx","../../src/Xyo/MoreLinks.tsx","../../src/Xyo/NetworkLinks.tsx","../../src/Xyo/SocialLinks.tsx","../../src/Xyo/SupportLinks.tsx","../../src/Xyo/TokenLinks.tsx"],"sourcesContent":["import { MoreHoriz as MoreHorizIcon } from '@mui/icons-material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport type { LinkExProps } from '@xylabs/react-link'\nimport React from 'react'\n\nimport { FooterLink } from './Link.tsx'\n\nexport interface FooterAlwaysLinksProps extends FlexBoxProps {\n footerLinks?: LinkExProps[]\n onMore?: () => void\n}\n\nexport const FooterAlwaysLinks: React.FC<FooterAlwaysLinksProps> = ({\n style, footerLinks, onMore, ...props\n}) => (\n <FlexRow\n flexWrap=\"wrap\"\n textTransform=\"uppercase\"\n style={{ opacity: 0.6, ...style }}\n {...props}\n >\n {footerLinks?.map((footerLink, index) => (\n <FooterLink noWrap key={index} paddingX={1} margin={0} {...footerLink}>\n <small>{footerLink.title}</small>\n </FooterLink>\n ))}\n {onMore\n ? (\n <FlexRow style={{ cursor: 'pointer' }} paddingX={0.5} onClick={onMore}>\n <MoreHorizIcon color=\"primary\" fontSize=\"small\" />\n </FlexRow>\n )\n : null}\n </FlexRow>\n)\n","import type { LinkExProps } from '@xylabs/react-link'\nimport { LinkEx } from '@xylabs/react-link'\nimport { assertEx } from '@xylabs/sdk-js'\nimport React from 'react'\n\n/**\n * @description\n * FooterLink automatically uses a local To if the link is to the current domain\n * If the link is not local, it defaults to target being _blank\n * In the case of 'beta' domains, it navigates correctly\n */\n\nconst convertToBetaIfNeeded = (url: string | URL, currentUrl = new URL(document.location.href)) => {\n const urlObj = typeof url === 'string' ? new URL(url) : url\n const currentUrlObj = typeof currentUrl === 'string' ? new URL(currentUrl) : currentUrl\n const currentHostnameParts = currentUrlObj.hostname.split('.')\n const beta = currentHostnameParts.shift() === 'beta'\n if (beta) {\n const currentHostnameWithoutBeta = currentHostnameParts.join('.')\n if (currentHostnameWithoutBeta === urlObj.hostname) {\n urlObj.hostname = currentUrlObj.hostname\n }\n }\n return urlObj\n}\n\nexport const FooterLink: React.FC<LinkExProps> = ({\n target, to, toOptions, href, margin = 0.5, variant = 'body2', ...props\n}) => {\n if (href) {\n const url = new URL(assertEx(href, () => 'href not set'))\n assertEx(url.hostname, () => 'Hostname is required in href')\n const convertedUrl = convertToBetaIfNeeded(url)\n if (document.location.hostname === convertedUrl.hostname) {\n const to = url.search.length > 0 ? `${convertedUrl.pathname}${convertedUrl.search}` : url.pathname\n return <LinkEx margin={margin} to={to} toOptions={toOptions} target={target} variant={variant} {...props} />\n } else {\n return <LinkEx margin={margin} href={href} target={target ?? '_blank'} variant={variant} {...props} />\n }\n } else {\n return <LinkEx margin={margin} to={to} toOptions={toOptions} target={target} variant={variant} {...props} />\n }\n}\n","import type { ContainerProps } from '@mui/material'\nimport { Container } from '@mui/material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexCol, FlexRow } from '@xylabs/react-flexbox'\nimport { useIsDark } from '@xylabs/react-theme'\nimport React, { useState } from 'react'\n\nimport type { FooterAlwaysLinksProps } from './AlwaysLinks.tsx'\nimport { FooterAlwaysLinks } from './AlwaysLinks.tsx'\n\nexport interface FooterProps extends FlexBoxProps {\n alwaysFooterLinksProps?: FooterAlwaysLinksProps\n container?: ContainerProps['maxWidth'] | 'none'\n dynamicHeight?: boolean\n}\n\nexport const Footer: React.FC<FooterProps> = ({\n alwaysFooterLinksProps, children, container, dynamicHeight = false, ...props\n}) => {\n const [more, setMore] = useState(false)\n const onMore = () => {\n setMore(!more)\n }\n\n const darkMode = useIsDark()\n console.log('darkMode', darkMode)\n\n return (\n <FlexCol\n alignItems=\"stretch\"\n onMouseLeave={() => {\n setMore(false)\n }}\n {...props}\n >\n {more && dynamicHeight\n ? (\n <FlexCol alignItems=\"stretch\">\n <FlexRow paper bottom={-1} position=\"absolute\" width=\"100%\">\n {container && container !== 'none'\n ? <Container>{children}</Container>\n : children}\n </FlexRow>\n </FlexCol>\n )\n : null}\n {dynamicHeight\n ? null\n : (\n <FlexCol alignItems=\"stretch\">\n {container && container !== 'none'\n ? <Container>{children}</Container>\n : children}\n </FlexCol>\n )}\n <FlexRow>\n {container && container !== 'none'\n ? (\n <Container>\n <FooterAlwaysLinks {...alwaysFooterLinksProps} onMore={dynamicHeight ? onMore : undefined} />\n </Container>\n )\n : <FooterAlwaysLinks {...alwaysFooterLinksProps} onMore={dynamicHeight ? onMore : undefined} />}\n </FlexRow>\n </FlexCol>\n )\n}\n","export const copyrightLinkTitle = (entity: string) => {\n return `Copyright © ${new Date().getFullYear()} ${entity}`\n}\n","import { Typography } from '@mui/material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexCol } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nexport const FooterLinks: React.FC<FlexBoxProps> = ({\n children, title, ...props\n}) => {\n return (\n <FlexCol margin={1} justifyContent=\"flex-start\" title={title} {...props}>\n <Typography margin={0.5} variant=\"h6\" noWrap>\n {title}\n </Typography>\n {children}\n </FlexCol>\n )\n}\n","import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { FooterAlwaysLinks } from '../AlwaysLinks.tsx'\nimport { copyrightLinkTitle } from '../lib/index.ts'\n\nexport interface XyoFooterAlwaysLinksProps extends FlexBoxProps {\n onMore?: () => void\n}\n\nexport const XyoFooterAlwaysLinks: React.FC<XyoFooterAlwaysLinksProps> = props => (\n <FooterAlwaysLinks\n footerLinks={[\n {\n href: 'https://xylabs.com/',\n title: copyrightLinkTitle('XY Labs, Inc.'),\n },\n {\n href: 'https://xyo.network/',\n title: 'XYO Foundation',\n },\n {\n href: 'https://xylabs.com/privacy/',\n title: 'Privacy',\n },\n {\n href: 'https://xylabs.com/terms/',\n title: 'Terms',\n },\n {\n href: 'https://xylabs.com/jobs',\n title: 'Careers',\n },\n ]}\n {...props}\n />\n)\n\n/** @deprecated use FooterAlwaysLinksProps */\nexport type CopyrightProps = XyoFooterAlwaysLinksProps\n\n/** @deprecated use FooterAlwaysLinks */\n\nexport { FooterAlwaysLinks as Copyright } from '../AlwaysLinks.tsx'\n","import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { FooterLink } from '../Link.tsx'\nimport { FooterLinks } from '../Links.tsx'\n\nexport const DeveloperLinks: React.FC<FlexBoxProps> = props => (\n <FooterLinks title=\"Developer\" {...props}>\n <FooterLink href=\"https://xyo.network/developer\">Overview</FooterLink>\n <FooterLink href=\"https://xyo.network/developer/get-started\">Get Started</FooterLink>\n <FooterLink href=\"https://xyo.network/developer\">SDKs</FooterLink>\n <FooterLink href=\"https://github.com/xyoraclenetwork\">Open Source Github</FooterLink>\n <FooterLink href=\"https://xyo.network/docs/sdk/js\">Documentation</FooterLink>\n </FooterLinks>\n)\n","import { Grid } from '@mui/material'\nimport React from 'react'\n\nimport type { FooterProps } from '../Footer.tsx'\nimport { Footer } from '../Footer.tsx'\nimport { copyrightLinkTitle } from '../lib/index.ts'\nimport { DeveloperLinks } from './DeveloperLinks.tsx'\nimport { MoreLinks } from './MoreLinks.tsx'\nimport { NetworkLinks } from './NetworkLinks.tsx'\nimport { SocialLinks } from './SocialLinks.tsx'\nimport { SupportLinks } from './SupportLinks.tsx'\nimport { TokenLinks } from './TokenLinks.tsx'\n\nconst footerLinks = [\n {\n href: 'https://xylabs.com/',\n title: copyrightLinkTitle('XY Labs, Inc.'),\n },\n {\n href: 'https://xyo.network/',\n title: 'XYO Foundation',\n },\n {\n href: 'https://xylabs.com/privacy/',\n title: 'Privacy',\n },\n {\n href: 'https://xylabs.com/terms/',\n title: 'Terms',\n },\n {\n href: 'https://xylabs.com/jobs',\n title: 'Careers',\n },\n]\n\nexport const XyoFooter: React.FC<FooterProps> = ({\n alwaysFooterLinksProps,\n ...props\n}) => {\n return (\n <Footer alwaysFooterLinksProps={alwaysFooterLinksProps ?? { footerLinks }} {...props}>\n <Grid container>\n <Grid size={{ xs: 12, md: 2 }}>\n <SocialLinks alignItems=\"flex-start\" />\n </Grid>\n <Grid size={{ xs: 6, md: 2 }}>\n <NetworkLinks alignItems=\"flex-start\" />\n </Grid>\n <Grid size={{ xs: 6, md: 2 }}>\n <TokenLinks alignItems=\"flex-start\" />\n </Grid>\n <Grid size={{ xs: 6, md: 2 }}>\n <DeveloperLinks alignItems=\"flex-start\" />\n </Grid>\n <Grid size={{ xs: 6, md: 2 }}>\n <MoreLinks alignItems=\"flex-start\" />\n </Grid>\n <Grid size={{ xs: 6, md: 2 }}>\n <SupportLinks alignItems=\"flex-start\" />\n </Grid>\n </Grid>\n </Footer>\n )\n}\n","import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { FooterLink } from '../Link.tsx'\nimport { FooterLinks } from '../Links.tsx'\n\nexport const MoreLinks: React.FC<FlexBoxProps> = props => (\n <FooterLinks title=\"More\" {...props}>\n <FooterLink href=\"https://xyo.network/partners\">Partners</FooterLink>\n <FooterLink href=\"https://xyo.network/fhr\">FHR</FooterLink>\n <FooterLink href=\"https://xyo.network/brand\">Brand</FooterLink>\n </FooterLinks>\n)\n","import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { FooterLink } from '../Link.tsx'\nimport { FooterLinks } from '../Links.tsx'\n\nexport const NetworkLinks: React.FC<FlexBoxProps> = props => (\n <FooterLinks title=\"Network\" {...props}>\n <FooterLink href=\"https://xyo.network/network\">Overview</FooterLink>\n <FooterLink href=\"https://xyo.network/network/bound-witness\">Bound Witness</FooterLink>\n <FooterLink href=\"https://xyo.network/network/proof-of-origin\">Proof Of Origin</FooterLink>\n <FooterLink href=\"https://xyo.network/papers\">White Paper</FooterLink>\n </FooterLinks>\n)\n","import {\n Facebook, Instagram, LinkedIn, Reddit, Telegram, Twitter, YouTube,\n} from '@mui/icons-material'\nimport type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { FlexRow } from '@xylabs/react-flexbox'\nimport React from 'react'\n// eslint-disable-next-line import-x/no-internal-modules\nimport { FaDiscord } from 'react-icons/fa'\n\nimport { FooterLink } from '../Link.tsx'\nimport { FooterLinks } from '../Links.tsx'\n\nexport const SocialLinks: React.FC<FlexBoxProps> = (props) => {\n return (\n <FooterLinks title=\"XYO Socials\" {...props}>\n <FlexRow flexWrap=\"wrap\" justifyContent=\"flex-start\">\n <FooterLink href=\"https://business.facebook.com/OfficialXYO/\">\n <Facebook />\n </FooterLink>\n <FooterLink href=\"https://twitter.com/OfficialXYO\">\n <Twitter />\n </FooterLink>\n <FooterLink href=\"https://www.instagram.com/officialxyo/\">\n <Instagram />\n </FooterLink>\n <FooterLink href=\"https://t.me/xyonetwork\">\n <Telegram />\n </FooterLink>\n <FooterLink href=\"https://www.reddit.com/r/XYONetwork/\">\n <Reddit />\n </FooterLink>\n <FooterLink href=\"https://www.youtube.com/channel/UCyZDqb9pgntVHJVt1pxXtsw\">\n <YouTube />\n </FooterLink>\n <FooterLink href=\"https://www.linkedin.com/company/officialxyo/\">\n <LinkedIn />\n </FooterLink>\n <FooterLink href=\"https://discord.gg/officialxyo\">\n <FaDiscord />\n </FooterLink>\n </FlexRow>\n </FooterLinks>\n )\n}\n","import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { FooterLink } from '../Link.tsx'\nimport { FooterLinks } from '../Links.tsx'\n\nexport const SupportLinks: React.FC<FlexBoxProps> = props => (\n <FooterLinks title=\"Support\" {...props}>\n <FooterLink href=\"https://support.xy.company/hc/en-us/categories/360001417734\">Help Center</FooterLink>\n <FooterLink href=\"https://support.xy.company/hc/en-us/requests/new\">Contact Support</FooterLink>\n </FooterLinks>\n)\n","import type { FlexBoxProps } from '@xylabs/react-flexbox'\nimport React from 'react'\n\nimport { FooterLink } from '../Link.tsx'\nimport { FooterLinks } from '../Links.tsx'\n\nexport const TokenLinks: React.FC<FlexBoxProps> = props => (\n <FooterLinks title=\"XYO Tokens\" {...props}>\n <FooterLink href=\"https://xyo.network/token\">About</FooterLink>\n <FooterLink href=\"https://xyo.network/token/exchange\">Exchanges</FooterLink>\n <FooterLink href=\"https://xyo.network/token/price\">Prices</FooterLink>\n <FooterLink href=\"https://xyo.network/token/wallet\">Wallets</FooterLink>\n <FooterLink href=\"https://etherscan.io/address/0x55296f69f40ea6d20e478533c15a6b08b654e758\">Contract</FooterLink>\n </FooterLinks>\n)\n"],"mappings":";;;;AAAA,SAASA,aAAaC,qBAAqB;AAE3C,SAASC,eAAe;AAExB,OAAOC,YAAW;;;ACHlB,SAASC,cAAc;AACvB,SAASC,gBAAgB;AACzB,OAAOC,WAAW;AASlB,IAAMC,wBAAwB,wBAACC,KAAmBC,aAAa,IAAIC,IAAIC,SAASC,SAASC,IAAI,MAA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OAEzB,gBAAAR,QAAA,cAACE,MAAAA;IAAKE,MAAM;MAAEC,IAAI;MAAGC,IAAI;IAAE;KACzB,gBAAAN,QAAA,cAACW,gBAAAA;IAAeH,YAAW;OAE7B,gBAAAR,QAAA,cAACE,MAAAA;IAAKE,MAAM;MAAEC,IAAI;MAAGC,IAAI;IAAE;KACzB,gBAAAN,QAAA,cAACY,WAAAA;IAAUJ,YAAW;OAExB,gBAAAR,QAAA,cAACE,MAAAA;IAAKE,MAAM;MAAEC,IAAI;MAAGC,IAAI;IAAE;KACzB,gBAAAN,QAAA,cAACa,cAAAA;IAAaL,YAAW;;AAKnC,GA5BgD;","names":["MoreHoriz","MoreHorizIcon","FlexRow","React","LinkEx","assertEx","React","convertToBetaIfNeeded","url","currentUrl","URL","document","location","href","urlObj","currentUrlObj","currentHostnameParts","hostname","split","beta","shift","currentHostnameWithoutBeta","join","FooterLink","target","to","toOptions","margin","variant","props","assertEx","convertedUrl","search","length","pathname","LinkEx","FooterAlwaysLinks","style","footerLinks","onMore","props","React","FlexRow","flexWrap","textTransform","opacity","map","footerLink","index","FooterLink","noWrap","key","paddingX","margin","small","title","cursor","onClick","MoreHorizIcon","color","fontSize","Container","FlexCol","FlexRow","useIsDark","React","useState","Footer","alwaysFooterLinksProps","children","container","dynamicHeight","props","more","setMore","useState","onMore","darkMode","useIsDark","console","log","React","FlexCol","alignItems","onMouseLeave","FlexRow","paper","bottom","position","width","Container","FooterAlwaysLinks","undefined","copyrightLinkTitle","entity","Date","getFullYear","Typography","FlexCol","React","FooterLinks","children","title","props","React","FlexCol","margin","justifyContent","Typography","variant","noWrap","React","XyoFooterAlwaysLinks","props","React","FooterAlwaysLinks","footerLinks","href","title","copyrightLinkTitle","React","DeveloperLinks","props","React","FooterLinks","title","FooterLink","href","Grid","React","React","MoreLinks","props","React","FooterLinks","title","FooterLink","href","React","NetworkLinks","props","React","FooterLinks","title","FooterLink","href","Facebook","Instagram","LinkedIn","Reddit","Telegram","Twitter","YouTube","FlexRow","React","FaDiscord","SocialLinks","props","React","FooterLinks","title","FlexRow","flexWrap","justifyContent","FooterLink","href","Facebook","Twitter","Instagram","Telegram","Reddit","YouTube","LinkedIn","FaDiscord","React","SupportLinks","props","React","FooterLinks","title","FooterLink","href","React","TokenLinks","props","React","FooterLinks","title","FooterLink","href","footerLinks","href","title","copyrightLinkTitle","XyoFooter","alwaysFooterLinksProps","props","React","Footer","Grid","container","size","xs","md","SocialLinks","alignItems","NetworkLinks","TokenLinks","DeveloperLinks","MoreLinks","SupportLinks"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-footer",
3
- "version": "7.4.2",
3
+ "version": "7.5.1",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -43,37 +43,39 @@
43
43
  "src"
44
44
  ],
45
45
  "dependencies": {
46
- "@xylabs/assert": "~5.0.50",
47
- "@xylabs/react-flexbox": "~7.1.8",
48
- "@xylabs/react-link": "~7.1.8",
49
- "@xylabs/react-theme": "~7.1.8",
46
+ "@xylabs/react-flexbox": "~7.1.12",
47
+ "@xylabs/react-link": "~7.1.12",
48
+ "@xylabs/react-theme": "~7.1.12",
49
+ "@xylabs/sdk-js": "~5.0.64",
50
50
  "react-icons": "~5.5.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mui/icons-material": "~7.3.6",
54
- "@mui/material": "~7.3.6",
55
- "@storybook/react-vite": "~10.1.4",
56
- "@types/react": "^19.2.7",
57
- "@xylabs/ts-scripts-yarn3": "~7.2.8",
58
- "@xylabs/tsconfig": "~7.2.8",
59
- "@xylabs/tsconfig-dom": "~7.2.8",
60
- "@xylabs/tsconfig-react": "~7.2.8",
61
- "react": "^19.2.1",
62
- "react-dom": "^19.2.1",
63
- "react-router-dom": "^7.10.0",
64
- "storybook": "~10.1.4",
53
+ "@mui/icons-material": "~7.3.7",
54
+ "@mui/material": "~7.3.7",
55
+ "@storybook/react-vite": "~10.2.1",
56
+ "@types/react": "^19.2.10",
57
+ "@xylabs/ts-scripts-yarn3": "~7.3.2",
58
+ "@xylabs/tsconfig": "~7.3.2",
59
+ "@xylabs/tsconfig-dom": "~7.3.2",
60
+ "@xylabs/tsconfig-react": "~7.3.2",
61
+ "react": "^19.2.4",
62
+ "react-dom": "^19.2.4",
63
+ "react-router-dom": "^7.13.0",
64
+ "storybook": "~10.2.1",
65
65
  "typescript": "^5.9.3",
66
- "vite": "~7.2.6"
66
+ "vite": "~7.3.1",
67
+ "zod": "^4.3.6"
67
68
  },
68
69
  "peerDependencies": {
69
70
  "@mui/icons-material": ">=6 <8",
70
71
  "@mui/material": ">=6 <8",
71
72
  "react": "^19",
72
73
  "react-dom": "^19",
73
- "react-router-dom": "^7"
74
+ "react-router-dom": "^7",
75
+ "zod": "^4"
74
76
  },
75
77
  "publishConfig": {
76
78
  "access": "public"
77
79
  },
78
80
  "docs": "dist/docs.json"
79
- }
81
+ }
package/src/Link.tsx CHANGED
@@ -1,6 +1,6 @@
1
- import { assertEx } from '@xylabs/assert'
2
1
  import type { LinkExProps } from '@xylabs/react-link'
3
2
  import { LinkEx } from '@xylabs/react-link'
3
+ import { assertEx } from '@xylabs/sdk-js'
4
4
  import React from 'react'
5
5
 
6
6
  /**