@veniceswap/uikit 0.59.0 → 0.61.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/components/Footer/config.d.ts +2 -11
- package/dist/index.cjs.js +12 -13
- package/dist/index.esm.js +12 -13
- package/package.json +4 -4
@@ -1,20 +1,11 @@
|
|
1
1
|
import { Language } from "../LangSelector/types";
|
2
2
|
import { FooterLinkType } from "./types";
|
3
3
|
export declare const footerLinks: FooterLinkType[];
|
4
|
-
export declare const socials:
|
4
|
+
export declare const socials: {
|
5
5
|
label: string;
|
6
6
|
icon: string;
|
7
7
|
href: string;
|
8
|
-
|
9
|
-
} | {
|
10
|
-
label: string;
|
11
|
-
icon: string;
|
12
|
-
items: {
|
13
|
-
label: string;
|
14
|
-
href: string;
|
15
|
-
}[];
|
16
|
-
href?: undefined;
|
17
|
-
})[];
|
8
|
+
}[];
|
18
9
|
export declare const privacyLinks: ({
|
19
10
|
label: string;
|
20
11
|
href: string;
|
package/dist/index.cjs.js
CHANGED
@@ -4744,16 +4744,7 @@ var socials = [
|
|
4744
4744
|
{
|
4745
4745
|
label: "Telegram",
|
4746
4746
|
icon: "Telegram",
|
4747
|
-
|
4748
|
-
{
|
4749
|
-
label: "English",
|
4750
|
-
href: "https://t.me/venicefinance",
|
4751
|
-
},
|
4752
|
-
{
|
4753
|
-
label: "中文",
|
4754
|
-
href: "https://t.me/venicefinance",
|
4755
|
-
},
|
4756
|
-
],
|
4747
|
+
href: "https://t.me/venicefinance",
|
4757
4748
|
},
|
4758
4749
|
{
|
4759
4750
|
label: "Discord",
|
@@ -4801,9 +4792,17 @@ var SocialLinks = function (_a) {
|
|
4801
4792
|
style: { cursor: "pointer" },
|
4802
4793
|
};
|
4803
4794
|
var mr = index < socials.length - 1 ? "24px" : 0;
|
4804
|
-
if (social.items) {
|
4805
|
-
|
4806
|
-
}
|
4795
|
+
// if (social.items) {
|
4796
|
+
// return (
|
4797
|
+
// <Dropdown key={social.label} position="top" target={<IconComponent {...iconProps} mr={mr} />}>
|
4798
|
+
// {social.items.map((item) => (
|
4799
|
+
// <Link external key={item.label} href={item.href} aria-label={item.label} color="textSubtle">
|
4800
|
+
// {item.label}
|
4801
|
+
// </Link>
|
4802
|
+
// ))}
|
4803
|
+
// </Dropdown>
|
4804
|
+
// );
|
4805
|
+
// }
|
4807
4806
|
return (React__default['default'].createElement(Link, { external: true, key: social.label, href: social.href, "aria-label": social.label, mr: mr },
|
4808
4807
|
React__default['default'].createElement(IconComponent, __assign({}, iconProps))));
|
4809
4808
|
})));
|
package/dist/index.esm.js
CHANGED
@@ -4710,16 +4710,7 @@ var socials = [
|
|
4710
4710
|
{
|
4711
4711
|
label: "Telegram",
|
4712
4712
|
icon: "Telegram",
|
4713
|
-
|
4714
|
-
{
|
4715
|
-
label: "English",
|
4716
|
-
href: "https://t.me/venicefinance",
|
4717
|
-
},
|
4718
|
-
{
|
4719
|
-
label: "中文",
|
4720
|
-
href: "https://t.me/venicefinance",
|
4721
|
-
},
|
4722
|
-
],
|
4713
|
+
href: "https://t.me/venicefinance",
|
4723
4714
|
},
|
4724
4715
|
{
|
4725
4716
|
label: "Discord",
|
@@ -4767,9 +4758,17 @@ var SocialLinks = function (_a) {
|
|
4767
4758
|
style: { cursor: "pointer" },
|
4768
4759
|
};
|
4769
4760
|
var mr = index < socials.length - 1 ? "24px" : 0;
|
4770
|
-
if (social.items) {
|
4771
|
-
|
4772
|
-
}
|
4761
|
+
// if (social.items) {
|
4762
|
+
// return (
|
4763
|
+
// <Dropdown key={social.label} position="top" target={<IconComponent {...iconProps} mr={mr} />}>
|
4764
|
+
// {social.items.map((item) => (
|
4765
|
+
// <Link external key={item.label} href={item.href} aria-label={item.label} color="textSubtle">
|
4766
|
+
// {item.label}
|
4767
|
+
// </Link>
|
4768
|
+
// ))}
|
4769
|
+
// </Dropdown>
|
4770
|
+
// );
|
4771
|
+
// }
|
4773
4772
|
return (React__default.createElement(Link, { external: true, key: social.label, href: social.href, "aria-label": social.label, mr: mr },
|
4774
4773
|
React__default.createElement(IconComponent, __assign({}, iconProps))));
|
4775
4774
|
})));
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@veniceswap/uikit",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.61.0",
|
4
4
|
"description": "Set of UI components for pancake projects",
|
5
5
|
"main": "dist/index.cjs.js",
|
6
6
|
"module": "dist/index.esm.js",
|
@@ -14,8 +14,8 @@
|
|
14
14
|
"start": "yarn storybook",
|
15
15
|
"build": "rm -rf ./dist && rollup -c && tsc -d --emitDeclarationOnly --declarationDir dist",
|
16
16
|
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
|
17
|
-
"format:check": "prettier --check --loglevel error 'src/**/*.{js,jsx,ts,tsx}'",
|
18
|
-
"format:write": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
|
17
|
+
"format:check": "npx prettier --check --loglevel error 'src/**/*.{js,jsx,ts,tsx}'",
|
18
|
+
"format:write": "npx prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
|
19
19
|
"storybook": "start-storybook -p 6006",
|
20
20
|
"storybook:build": "build-storybook",
|
21
21
|
"test": "jest",
|
@@ -53,5 +53,5 @@
|
|
53
53
|
"publishConfig": {
|
54
54
|
"access": "public"
|
55
55
|
},
|
56
|
-
"gitHead": "
|
56
|
+
"gitHead": "8fa7e7beee85196a7c8037dcd8e1a2e6221abfbb"
|
57
57
|
}
|