@validationcloud/fractal-ui 1.87.0 → 1.88.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.
@@ -1 +1 @@
1
- export declare const protocolLogoIds: readonly ["abs", "aleo", "ape", "apt", "arb", "arc", "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"];
1
+ export declare const protocolLogoIds: readonly ["abs", "aleo", "ape", "apt", "arb", "arc", "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", "rls", "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
+ rayls: "rls",
43
44
  robinhood: "rbh",
44
45
  ronin: "ron",
45
46
  rootstock: "rbtc",
@@ -58,10 +59,10 @@ const c = {
58
59
  xlayer: "okb",
59
60
  zksync: "zk"
60
61
  };
61
- function n(e, o) {
62
- let a = e.toLowerCase();
63
- const r = c[a];
64
- return r && (a = r), o === "xl" ? `${a}_square` : a;
62
+ function n(r, e) {
63
+ let a = r.toLowerCase();
64
+ const o = c[a];
65
+ return o && (a = o), e === "xl" ? `${a}_square` : a;
65
66
  }
66
67
  const l = {
67
68
  xs: 16,
@@ -75,16 +76,16 @@ const l = {
75
76
  xl: 60
76
77
  // Tailwind size 15
77
78
  };
78
- function h({ name: e, size: o = "md", className: a, ...r }) {
79
- const s = l[o];
79
+ function h({ name: r, size: e = "md", className: a, ...o }) {
80
+ const s = l[e];
80
81
  return /* @__PURE__ */ t(
81
82
  "svg",
82
83
  {
83
- ...r,
84
- className: i(`text-protocols-${n(e)}`, a),
84
+ ...o,
85
+ className: i(`text-protocols-${n(r)}`, a),
85
86
  height: s,
86
87
  width: s,
87
- children: /* @__PURE__ */ t("use", { href: `#${n(e, o)}` })
88
+ children: /* @__PURE__ */ t("use", { href: `#${n(r, e)}` })
88
89
  }
89
90
  );
90
91
  }
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.87.0",
5
+ "version": "1.88.0",
6
6
  "module": "./dist/index.js",
7
7
  "type": "module",
8
8
  "bin": {