@xyo-network/react-footer 5.3.15 → 6.1.0
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.
- package/dist/browser/Xyo/Footer.stories.d.ts +8 -0
- package/dist/browser/Xyo/Footer.stories.d.ts.map +1 -0
- package/dist/browser/index.d.ts +47 -0
- package/package.json +14 -13
- package/dist/types/index.d.ts +0 -7
- /package/dist/{types → browser}/AlwaysLinks.d.ts +0 -0
- /package/dist/{types → browser}/AlwaysLinks.d.ts.map +0 -0
- /package/dist/{types → browser}/Footer.d.ts +0 -0
- /package/dist/{types → browser}/Footer.d.ts.map +0 -0
- /package/dist/{types → browser}/Link.d.ts +0 -0
- /package/dist/{types → browser}/Link.d.ts.map +0 -0
- /package/dist/{types → browser}/Links.d.ts +0 -0
- /package/dist/{types → browser}/Links.d.ts.map +0 -0
- /package/dist/{types → browser}/Xyo/AlwaysLinks.d.ts +0 -0
- /package/dist/{types → browser}/Xyo/AlwaysLinks.d.ts.map +0 -0
- /package/dist/{types → browser}/Xyo/DeveloperLinks.d.ts +0 -0
- /package/dist/{types → browser}/Xyo/DeveloperLinks.d.ts.map +0 -0
- /package/dist/{types → browser}/Xyo/Footer.d.ts +0 -0
- /package/dist/{types → browser}/Xyo/Footer.d.ts.map +0 -0
- /package/dist/{types → browser}/Xyo/MoreLinks.d.ts +0 -0
- /package/dist/{types → browser}/Xyo/MoreLinks.d.ts.map +0 -0
- /package/dist/{types → browser}/Xyo/NetworkLinks.d.ts +0 -0
- /package/dist/{types → browser}/Xyo/NetworkLinks.d.ts.map +0 -0
- /package/dist/{types → browser}/Xyo/SocialLinks.d.ts +0 -0
- /package/dist/{types → browser}/Xyo/SocialLinks.d.ts.map +0 -0
- /package/dist/{types → browser}/Xyo/SupportLinks.d.ts +0 -0
- /package/dist/{types → browser}/Xyo/SupportLinks.d.ts.map +0 -0
- /package/dist/{types → browser}/Xyo/TokenLinks.d.ts +0 -0
- /package/dist/{types → browser}/Xyo/TokenLinks.d.ts.map +0 -0
- /package/dist/{types → browser}/Xyo/index.d.ts +0 -0
- /package/dist/{types → browser}/Xyo/index.d.ts.map +0 -0
- /package/dist/{types → browser}/index.d.ts.map +0 -0
- /package/dist/{types → browser}/lib/copyrightLinkTitle.d.ts +0 -0
- /package/dist/{types → browser}/lib/copyrightLinkTitle.d.ts.map +0 -0
- /package/dist/{types → browser}/lib/index.d.ts +0 -0
- /package/dist/{types → browser}/lib/index.d.ts.map +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta } from '@storybook/react-vite';
|
|
2
|
+
import { XyoFooter } from './Footer.tsx';
|
|
3
|
+
declare const StorybookEntry: Meta<typeof XyoFooter>;
|
|
4
|
+
declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("../Footer.tsx").FooterProps>;
|
|
5
|
+
declare const DynamicHeight: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("../Footer.tsx").FooterProps>;
|
|
6
|
+
export { Default, DynamicHeight };
|
|
7
|
+
export default StorybookEntry;
|
|
8
|
+
//# sourceMappingURL=Footer.stories.d.ts.map
|
|
@@ -0,0 +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,uIAAoB,CAAA;AAGjC,QAAA,MAAM,aAAa,uIAAoB,CAAA;AAGvC,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,CAAA;AAEjC,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
2
|
+
import { LinkExProps } from '@xylabs/react-link';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { ContainerProps } from '@mui/material';
|
|
5
|
+
|
|
6
|
+
interface FooterAlwaysLinksProps extends FlexBoxProps {
|
|
7
|
+
footerLinks?: LinkExProps[];
|
|
8
|
+
onMore?: () => void;
|
|
9
|
+
}
|
|
10
|
+
declare const FooterAlwaysLinks: React.FC<FooterAlwaysLinksProps>;
|
|
11
|
+
|
|
12
|
+
interface FooterProps extends FlexBoxProps {
|
|
13
|
+
alwaysFooterLinksProps?: FooterAlwaysLinksProps;
|
|
14
|
+
container?: ContainerProps['maxWidth'] | 'none';
|
|
15
|
+
dynamicHeight?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const Footer: React.FC<FooterProps>;
|
|
18
|
+
|
|
19
|
+
declare const copyrightLinkTitle: (entity: string) => string;
|
|
20
|
+
|
|
21
|
+
declare const FooterLink: React.FC<LinkExProps>;
|
|
22
|
+
|
|
23
|
+
declare const FooterLinks: React.FC<FlexBoxProps>;
|
|
24
|
+
|
|
25
|
+
interface XyoFooterAlwaysLinksProps extends FlexBoxProps {
|
|
26
|
+
onMore?: () => void;
|
|
27
|
+
}
|
|
28
|
+
declare const XyoFooterAlwaysLinks: React.FC<XyoFooterAlwaysLinksProps>;
|
|
29
|
+
/** @deprecated use FooterAlwaysLinksProps */
|
|
30
|
+
type CopyrightProps = XyoFooterAlwaysLinksProps;
|
|
31
|
+
|
|
32
|
+
declare const DeveloperLinks: React.FC<FlexBoxProps>;
|
|
33
|
+
|
|
34
|
+
declare const XyoFooter: React.FC<FooterProps>;
|
|
35
|
+
|
|
36
|
+
declare const MoreLinks: React.FC<FlexBoxProps>;
|
|
37
|
+
|
|
38
|
+
declare const NetworkLinks: React.FC<FlexBoxProps>;
|
|
39
|
+
|
|
40
|
+
declare const SocialLinks: React.FC<FlexBoxProps>;
|
|
41
|
+
|
|
42
|
+
declare const SupportLinks: React.FC<FlexBoxProps>;
|
|
43
|
+
|
|
44
|
+
declare const TokenLinks: React.FC<FlexBoxProps>;
|
|
45
|
+
|
|
46
|
+
export { FooterAlwaysLinks as Copyright, DeveloperLinks, Footer, FooterAlwaysLinks, FooterLink, FooterLinks, MoreLinks, NetworkLinks, SocialLinks, SupportLinks, TokenLinks, XyoFooter, XyoFooterAlwaysLinks, copyrightLinkTitle };
|
|
47
|
+
export type { CopyrightProps, FooterAlwaysLinksProps, FooterProps, XyoFooterAlwaysLinksProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/react-footer",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xyo",
|
|
@@ -28,32 +28,33 @@
|
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
30
|
"browser": {
|
|
31
|
-
"types": "./dist/
|
|
31
|
+
"types": "./dist/browser/index.d.ts",
|
|
32
32
|
"default": "./dist/browser/index.mjs"
|
|
33
33
|
},
|
|
34
|
-
"types": "./dist/
|
|
34
|
+
"types": "./dist/browser/index.d.ts",
|
|
35
35
|
"default": "./dist/browser/index.mjs"
|
|
36
36
|
},
|
|
37
37
|
"./package.json": "./package.json"
|
|
38
38
|
},
|
|
39
39
|
"module": "dist/browser/index.mjs",
|
|
40
|
-
"types": "dist/
|
|
40
|
+
"types": "dist/browser/index.d.ts",
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@xylabs/assert": "^4.
|
|
43
|
-
"@xylabs/react-flexbox": "^6.3.
|
|
44
|
-
"@xylabs/react-link": "^6.3.
|
|
45
|
-
"@xylabs/react-theme": "^6.3.
|
|
42
|
+
"@xylabs/assert": "^4.13.15",
|
|
43
|
+
"@xylabs/react-flexbox": "^6.3.10",
|
|
44
|
+
"@xylabs/react-link": "^6.3.10",
|
|
45
|
+
"@xylabs/react-theme": "^6.3.10",
|
|
46
46
|
"react-icons": "^5.5.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@mui/icons-material": "^7.
|
|
50
|
-
"@mui/material": "^7.
|
|
49
|
+
"@mui/icons-material": "^7.2.0",
|
|
50
|
+
"@mui/material": "^7.2.0",
|
|
51
|
+
"@storybook/react-vite": "^9.0.16",
|
|
51
52
|
"@types/react": "^19.1.8",
|
|
52
|
-
"@xylabs/ts-scripts-yarn3": "
|
|
53
|
-
"@xylabs/tsconfig-react": "
|
|
53
|
+
"@xylabs/ts-scripts-yarn3": "next",
|
|
54
|
+
"@xylabs/tsconfig-react": "next",
|
|
54
55
|
"react": "^19.1.0",
|
|
55
56
|
"react-dom": "^19.1.0",
|
|
56
|
-
"storybook": "^9.0.
|
|
57
|
+
"storybook": "^9.0.16",
|
|
57
58
|
"typescript": "^5.8.3"
|
|
58
59
|
},
|
|
59
60
|
"peerDependencies": {
|
package/dist/types/index.d.ts
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|