@validationcloud/fractal-ui 1.84.0 → 1.86.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/README.md +1 -1
- package/dist/components/echarts-renderer/register-map.d.ts +1 -1
- package/dist/components/echarts-renderer/register-map.js +0 -1
- package/dist/components/mount-svg-sprite/mount-svg-sprite.js +3 -3
- package/dist/components/protocol-logo/protocol-logo-ids.d.ts +1 -1
- package/dist/components/protocol-logo/protocol-logo.js +9 -7
- package/package.json +32 -32
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const protocolLogoIds: readonly ["abs", "aleo", "ape", "apt", "arb", "astr", "avax", "axl", "b2", "babylon", "base", "bera", "bnb", "bob", "btc", "btr", "celo", "cfx", "core", "corn", "cro", "cspr", "eigenlayer", "eth", "eth_light", "fhe", "frax", "gno", "hash", "hbar", "hsk", "hype", "icp", "ink", "iota", "jovay", "kat", "lens", "linea", "lsk", "matic", "mega", "merl", "metal", "metis", "mezo", "mint", "mnt", "mode", "mon", "morph", "obol", "okb", "op", "opbnb", "optimism", "pharos", "plume", "rbtc", "ron", "s", "saga", "sauce", "scr", "sei", "shibarium", "sol", "soneium", "ssv", "stable", "starknet", "stt", "supr", "taiko", "tac", "tao", "tempo", "ton", "trx", "uni", "union", "wemix", "wld", "xlm", "xpl", "xtz", "zk"];
|
|
1
|
+
export declare const protocolLogoIds: readonly ["abs", "aleo", "ape", "apt", "arb", "astr", "avax", "axl", "b2", "babylon", "base", "bera", "bnb", "bob", "btc", "btr", "celo", "cfx", "core", "corn", "cro", "cspr", "eigenlayer", "eth", "eth_light", "fhe", "frax", "gno", "hash", "hbar", "hsk", "hype", "icp", "ink", "iota", "jovay", "kat", "lens", "linea", "lsk", "matic", "mega", "merl", "metal", "metis", "mezo", "mint", "mnt", "mode", "mon", "morph", "obol", "okb", "op", "opbnb", "optimism", "pharos", "plume", "rbh", "rbtc", "ron", "s", "saga", "sauce", "scr", "sei", "shibarium", "sol", "soneium", "ssv", "stable", "starknet", "stt", "supr", "taiko", "tac", "tao", "tempo", "ton", "trx", "uni", "union", "wemix", "wld", "xdc", "xlm", "xpl", "xtz", "zk"];
|
|
@@ -40,6 +40,7 @@ const c = {
|
|
|
40
40
|
plasma: "xpl",
|
|
41
41
|
polygon: "matic",
|
|
42
42
|
provenance: "hash",
|
|
43
|
+
robinhood: "rbh",
|
|
43
44
|
ronin: "ron",
|
|
44
45
|
rootstock: "rbtc",
|
|
45
46
|
saucerswap: "sauce",
|
|
@@ -53,13 +54,14 @@ const c = {
|
|
|
53
54
|
unichain: "uni",
|
|
54
55
|
wemix: "wemix",
|
|
55
56
|
worldchain: "wld",
|
|
57
|
+
xdc: "xdc",
|
|
56
58
|
xlayer: "okb",
|
|
57
59
|
zksync: "zk"
|
|
58
60
|
};
|
|
59
|
-
function n(e,
|
|
61
|
+
function n(e, o) {
|
|
60
62
|
let a = e.toLowerCase();
|
|
61
|
-
const
|
|
62
|
-
return
|
|
63
|
+
const r = c[a];
|
|
64
|
+
return r && (a = r), o === "xl" ? `${a}_square` : a;
|
|
63
65
|
}
|
|
64
66
|
const l = {
|
|
65
67
|
xs: 16,
|
|
@@ -73,16 +75,16 @@ const l = {
|
|
|
73
75
|
xl: 60
|
|
74
76
|
// Tailwind size 15
|
|
75
77
|
};
|
|
76
|
-
function h({ name: e, size:
|
|
77
|
-
const s = l[
|
|
78
|
+
function h({ name: e, size: o = "md", className: a, ...r }) {
|
|
79
|
+
const s = l[o];
|
|
78
80
|
return /* @__PURE__ */ t(
|
|
79
81
|
"svg",
|
|
80
82
|
{
|
|
81
|
-
...
|
|
83
|
+
...r,
|
|
82
84
|
className: i(`text-protocols-${n(e)}`, a),
|
|
83
85
|
height: s,
|
|
84
86
|
width: s,
|
|
85
|
-
children: /* @__PURE__ */ t("use", { href: `#${n(e,
|
|
87
|
+
children: /* @__PURE__ */ t("use", { href: `#${n(e, o)}` })
|
|
86
88
|
}
|
|
87
89
|
);
|
|
88
90
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@validationcloud/fractal-ui",
|
|
3
3
|
"description": "Validation Cloud's shared React component library with design tokens, Tailwind CSS utilities, and CLI tools",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.86.0",
|
|
6
6
|
"module": "./dist/index.js",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"bin": {
|
|
@@ -58,72 +58,72 @@
|
|
|
58
58
|
},
|
|
59
59
|
"./maps.json": "./dist/maps.json"
|
|
60
60
|
},
|
|
61
|
-
"packageManager": "pnpm@10.
|
|
61
|
+
"packageManager": "pnpm@10.33.2",
|
|
62
62
|
"engines": {
|
|
63
|
-
"node": ">=
|
|
63
|
+
"node": ">=24"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@commander-js/extra-typings": "^14.0.0",
|
|
67
67
|
"commander": "^14.0.3",
|
|
68
68
|
"radix-ui": "^1.4.3",
|
|
69
|
-
"react": "^19.2.
|
|
70
|
-
"react-dom": "^19.2.
|
|
71
|
-
"react-transition-state": "^2.3.
|
|
72
|
-
"tailwind-merge": "^3.
|
|
73
|
-
"zod": "^4.3.
|
|
69
|
+
"react": "^19.2.5",
|
|
70
|
+
"react-dom": "^19.2.5",
|
|
71
|
+
"react-transition-state": "^2.3.3",
|
|
72
|
+
"tailwind-merge": "^3.5.0",
|
|
73
|
+
"zod": "^4.3.6"
|
|
74
74
|
},
|
|
75
75
|
"optionalDependencies": {
|
|
76
76
|
"echarts": "^6.0.0",
|
|
77
77
|
"skia-canvas": "^3.0.8"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@eslint/compat": "^2.0.
|
|
81
|
-
"@eslint/js": "^9.39.
|
|
82
|
-
"@storybook/addon-docs": "^10.
|
|
83
|
-
"@storybook/addon-onboarding": "^10.
|
|
84
|
-
"@storybook/react-vite": "^10.
|
|
85
|
-
"@tailwindcss/postcss": "^4.
|
|
80
|
+
"@eslint/compat": "^2.0.5",
|
|
81
|
+
"@eslint/js": "^9.39.4",
|
|
82
|
+
"@storybook/addon-docs": "^10.3.5",
|
|
83
|
+
"@storybook/addon-onboarding": "^10.3.5",
|
|
84
|
+
"@storybook/react-vite": "^10.3.5",
|
|
85
|
+
"@tailwindcss/postcss": "^4.2.4",
|
|
86
86
|
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
87
|
-
"@turf/difference": "^7.3.
|
|
88
|
-
"@turf/helpers": "^7.3.
|
|
89
|
-
"@turf/union": "^7.3.
|
|
87
|
+
"@turf/difference": "^7.3.5",
|
|
88
|
+
"@turf/helpers": "^7.3.5",
|
|
89
|
+
"@turf/union": "^7.3.5",
|
|
90
90
|
"@types/culori": "^4.0.1",
|
|
91
91
|
"@types/geojson": "^7946.0.16",
|
|
92
|
-
"@types/node": "^24.
|
|
93
|
-
"@types/react": "^19.2.
|
|
92
|
+
"@types/node": "^24.12.2",
|
|
93
|
+
"@types/react": "^19.2.14",
|
|
94
94
|
"@types/react-dom": "^19.2.3",
|
|
95
95
|
"@types/topojson-client": "^3.1.5",
|
|
96
96
|
"@types/topojson-server": "^3.0.4",
|
|
97
97
|
"@types/topojson-simplify": "^3.0.3",
|
|
98
98
|
"@types/topojson-specification": "^1.0.5",
|
|
99
|
-
"@vitejs/plugin-react": "^5.
|
|
99
|
+
"@vitejs/plugin-react": "^5.2.0",
|
|
100
100
|
"culori": "^4.0.2",
|
|
101
|
-
"eslint": "^9.39.
|
|
101
|
+
"eslint": "^9.39.4",
|
|
102
102
|
"eslint-config-prettier": "^10.1.8",
|
|
103
|
-
"eslint-plugin-react-hooks": "^7.
|
|
103
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
104
104
|
"eslint-plugin-react-refresh": "^0.4.26",
|
|
105
|
-
"eslint-plugin-storybook": "^10.
|
|
105
|
+
"eslint-plugin-storybook": "^10.3.5",
|
|
106
106
|
"extract-zip": "^2.0.1",
|
|
107
107
|
"globals": "^16.5.0",
|
|
108
|
-
"knip": "^
|
|
109
|
-
"postcss": "^8.5.
|
|
108
|
+
"knip": "^6.7.0",
|
|
109
|
+
"postcss": "^8.5.12",
|
|
110
110
|
"prettier": "3.7.4",
|
|
111
|
-
"prettier-plugin-tailwindcss": "^0.7.
|
|
111
|
+
"prettier-plugin-tailwindcss": "^0.7.4",
|
|
112
112
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
113
113
|
"rollup-plugin-copy": "^3.5.0",
|
|
114
114
|
"rollup-preserve-directives": "^1.1.3",
|
|
115
|
-
"semantic-release": "^25.0.
|
|
115
|
+
"semantic-release": "^25.0.3",
|
|
116
116
|
"shapefile": "^0.6.6",
|
|
117
|
-
"storybook": "^10.
|
|
118
|
-
"tailwindcss": "^4.
|
|
117
|
+
"storybook": "^10.3.5",
|
|
118
|
+
"tailwindcss": "^4.2.4",
|
|
119
119
|
"topojson-client": "^3.1.0",
|
|
120
120
|
"topojson-server": "^3.0.1",
|
|
121
121
|
"topojson-simplify": "^3.0.3",
|
|
122
122
|
"typescript": "^5.9.3",
|
|
123
|
-
"typescript-eslint": "^8.
|
|
124
|
-
"vite": "^7.3.
|
|
123
|
+
"typescript-eslint": "^8.59.1",
|
|
124
|
+
"vite": "^7.3.2",
|
|
125
125
|
"vite-plugin-dts": "^4.5.4",
|
|
126
|
-
"vitest": "^4.
|
|
126
|
+
"vitest": "^4.1.5"
|
|
127
127
|
},
|
|
128
128
|
"peerDependencies": {
|
|
129
129
|
"@radix-ui/react-compose-refs": "^1",
|