@web3icons/react 4.0.10 → 4.0.12

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/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "crypto logos",
12
12
  "coin icons"
13
13
  ],
14
- "version": "4.0.10",
14
+ "version": "4.0.12",
15
15
  "private": false,
16
16
  "license": "MIT",
17
17
  "type": "module",
@@ -23,6 +23,10 @@
23
23
  "import": "./dist/index.js",
24
24
  "require": "./dist/index.js"
25
25
  },
26
+ "./dynamic": {
27
+ "import": "./dist/dynamic/index.js",
28
+ "require": "./dist/dynamic/index.js"
29
+ },
26
30
  "./icons": {
27
31
  "import": "./dist/icons/index.js",
28
32
  "require": "./dist/icons/index.js"
@@ -31,17 +35,8 @@
31
35
  "publishConfig": {
32
36
  "access": "public"
33
37
  },
34
- "scripts": {
35
- "build": "bun run clean && (cd ../utils && bun run pre-build:react) && bun run build:icons && bun run build:types && tsup",
36
- "build:types": "tsc --outDir dist --declarationDir dist --declaration true",
37
- "build:icons": "tsup 'src/icons/**/*.ts' --format esm --outDir dist/icons",
38
- "dev": "bun run build -- --watch",
39
- "lint": "eslint ./src --ext .ts,.tsx",
40
- "format": "prettier --write \"**/*.{ts,tsx,js,jsx,md,mdx,json}\" --log-level error",
41
- "clean": "rm -rf dist"
42
- },
43
38
  "dependencies": {
44
- "@web3icons/common": "0.11.8",
39
+ "@web3icons/common": "0.11.9",
45
40
  "react": "^18.2.0"
46
41
  },
47
42
  "devDependencies": {
@@ -62,5 +57,14 @@
62
57
  "type": "git",
63
58
  "url": "git+https://github.com/0xa3k5/web3icons.git",
64
59
  "directory": "packages/react"
60
+ },
61
+ "scripts": {
62
+ "build": "bun run clean && (cd ../utils && bun run pre-build:react) && bun run build:icons && bun run build:types && tsup",
63
+ "build:types": "tsc --outDir dist --declarationDir dist --declaration true",
64
+ "build:icons": "tsup 'src/icons/**/*.ts' --format esm --outDir dist/icons",
65
+ "dev": "bun run build -- --watch",
66
+ "lint": "eslint ./src --ext .ts,.tsx",
67
+ "format": "prettier --write \"**/*.{ts,tsx,js,jsx,md,mdx,json}\" --log-level error",
68
+ "clean": "rm -rf dist"
65
69
  }
66
- }
70
+ }
@@ -1,2 +0,0 @@
1
- export { NetworkBerachain_default as default } from './chunk-Y4HMPO5S.js';
2
- import './chunk-MLKFOR3D.js';
@@ -1,2 +0,0 @@
1
- export { WalletMetamask_default as default } from './chunk-LPLY3B6U.js';
2
- import './chunk-MLKFOR3D.js';
@@ -1,39 +0,0 @@
1
- import { BaseIcon } from './chunk-MLKFOR3D.js';
2
- import { forwardRef } from 'react';
3
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
-
5
- var WalletMetamask = forwardRef(({ variant = "branded", fallback, ...props }, ref) => /* @__PURE__ */ jsx(BaseIcon, { fallback, ...props, ref, children: variant === "branded" && /* @__PURE__ */ jsxs(Fragment, { children: [
6
- /* @__PURE__ */ jsx("path", { fill: "#F5841F", d: "m19.628 11.989.81-.93-.353-.252.563-.505-.434-.321.563-.413-.363-.276.586-2.8-.891-2.592m0 0-5.723 2.077H9.614L3.89 3.9 3 6.493l.598 2.8-.375.275.574.413-.433.321.562.505-.351.252.809.93-1.232 3.717 1.138 3.797 3.999-1.078.774.62 1.583 1.055h2.708l1.584-1.056.773-.619 4.01 1.078 1.15-3.797-1.243-3.717" }),
7
- /* @__PURE__ */ jsx("path", { fill: "#E27625", d: "m20.109 3.9-7.024 5.06 1.301-2.983zm-16.218 0 6.966 5.106-1.243-3.03zm13.697 11.737-1.877 2.776 4.01 1.079 1.15-3.798zm-14.436.057 1.138 3.798 3.999-1.079-1.865-2.776z" }),
8
- /* @__PURE__ */ jsx("path", { fill: "#E27625", d: "m8.078 10.933-1.114 1.64 3.963.173-.129-4.153zm7.856 0-2.767-2.386-.082 4.199 3.963-.172zm-7.645 7.481 2.404-1.125-2.076-1.56zm5.031-1.124 2.391 1.124-.328-2.685z" }),
9
- /* @__PURE__ */ jsx("path", { fill: "#D7C1B3", d: "m15.711 18.414-2.392-1.125.2 1.515-.024.642zm-7.422 0 2.228 1.032-.012-.642.188-1.515z" }),
10
- /* @__PURE__ */ jsx("path", { fill: "#2F343B", d: "m10.552 14.72-1.982-.563 1.407-.631zm2.896 0 .586-1.194 1.408.631z" }),
11
- /* @__PURE__ */ jsx("path", { fill: "#CC6228", d: "m8.289 18.414.351-2.777-2.216.057zm7.082-2.777.34 2.776 1.877-2.719zm1.677-3.063-3.963.172.363 1.973.586-1.193 1.408.631zM8.57 14.157l1.407-.631.575 1.193.375-1.973-3.963-.172z" }),
12
- /* @__PURE__ */ jsx("path", { fill: "#E27625", d: "m6.964 12.574 1.653 3.155-.047-1.572zm8.478 1.583-.059 1.572 1.665-3.155zm-4.515-1.411-.375 1.973.469 2.34.105-3.074zm2.158 0-.2 1.227.094 3.087.47-2.34z" }),
13
- /* @__PURE__ */ jsx("path", { fill: "#F5841F", d: "m13.448 14.72-.469 2.34.34.23 2.064-1.561.059-1.572zm-4.878-.563.047 1.572 2.076 1.56.328-.23-.47-2.34z" }),
14
- /* @__PURE__ */ jsx("path", { fill: "#C0AD9E", d: "m13.495 19.446.024-.642-.188-.15h-2.662l-.164.15.012.642-2.228-1.033.774.62 1.583 1.067h2.708l1.584-1.067.773-.62z" }),
15
- /* @__PURE__ */ jsx("path", { fill: "#2F343B", d: "m13.32 17.29-.34-.23h-1.96l-.327.23-.188 1.514.164-.15h2.662l.188.15z" }),
16
- /* @__PURE__ */ jsx("path", { fill: "#763E1A", d: "m20.414 9.292.586-2.8-.891-2.592-6.79 4.888 2.615 2.145 3.694 1.056.81-.93-.353-.252.563-.494-.434-.332.563-.413zM3 6.493l.598 2.8-.375.275.563.424-.434.321.563.494-.352.252.82.93 3.695-1.056 2.615-2.145L3.89 3.9z" }),
17
- /* @__PURE__ */ jsx("path", { fill: "#F5841F", d: "m19.628 11.989-3.694-1.056 1.114 1.64-1.665 3.156 2.205-.035h3.283zm-11.55-1.056-3.694 1.056-1.232 3.705h3.272l2.193.035-1.653-3.155zm5.007 1.813.234-3.958 1.067-2.811H9.614l1.079 2.81.234 3.959.094 1.239v3.075h1.958l.012-3.075z" })
18
- ] }) || variant === "background" && /* @__PURE__ */ jsxs(Fragment, { children: [
19
- /* @__PURE__ */ jsxs("g", { clipPath: "url(#metamask__a)", children: [
20
- /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M24 0H0v24h24z" }),
21
- /* @__PURE__ */ jsx("path", { fill: "#F5841F", d: "m18.78 11.99.72-.826-.313-.225.5-.448-.385-.286.5-.367-.323-.245L20 7.105 19.208 4.8m0 0L14.12 6.646H9.88L4.792 4.8 4 7.105l.532 2.488-.334.245.51.367-.385.286.5.448-.312.225.719.826-1.094 3.304 1.01 3.376 3.555-.959.688.55 1.407.939h2.408l1.407-.938.688-.55 3.565.958 1.021-3.376-1.105-3.304" }),
22
- /* @__PURE__ */ jsx("path", { fill: "#E27625", d: "m19.208 4.8-6.244 4.497 1.157-2.651zm-14.416 0 6.192 4.538-1.105-2.692zm12.175 10.433L15.299 17.7l3.565.958 1.021-3.375zm-12.831.051 1.01 3.375 3.555-.958-1.657-2.468z" }),
23
- /* @__PURE__ */ jsx("path", { fill: "#E27625", d: "m8.513 11.052-.99 1.458 3.523.153-.114-3.692zm6.984 0-2.46-2.122-.073 3.733 3.523-.153zM8.7 17.7l2.138-.999-1.845-1.386zm4.473-.999 2.126 1-.292-2.386z" }),
24
- /* @__PURE__ */ jsx("path", { fill: "#D7C1B3", d: "m15.299 17.7-2.126-.999.177 1.347-.021.57zm-6.599 0 1.981.919-.01-.571.167-1.347z" }),
25
- /* @__PURE__ */ jsx("path", { fill: "#2F343B", d: "m10.713 14.417-1.762-.5 1.251-.56zm2.574 0 .522-1.06 1.25.56z" }),
26
- /* @__PURE__ */ jsx("path", { fill: "#CC6228", d: "m8.701 17.7.313-2.467-1.97.05zm6.296-2.467.302 2.468 1.668-2.417zm1.49-2.723-3.523.153.323 1.754.521-1.06 1.251.56zm-7.536 1.407 1.25-.56.512 1.06.333-1.754-3.523-.153z" }),
27
- /* @__PURE__ */ jsx("path", { fill: "#E27625", d: "m7.523 12.51 1.47 2.805-.042-1.398zm7.537 1.407-.053 1.398 1.48-2.805zm-4.014-1.254-.333 1.754.417 2.08.093-2.733zm1.918 0-.177 1.09.083 2.744.417-2.08z" }),
28
- /* @__PURE__ */ jsx("path", { fill: "#F5841F", d: "m13.287 14.417-.417 2.08.303.204 1.834-1.387.052-1.397zm-4.336-.5.042 1.397 1.845 1.387.292-.204-.417-2.08z" }),
29
- /* @__PURE__ */ jsx("path", { fill: "#C0AD9E", d: "m13.329 18.619.02-.572-.166-.132h-2.366l-.146.133.01.57-1.98-.917.688.55 1.407.949h2.408l1.407-.948.688-.551z" }),
30
- /* @__PURE__ */ jsx("path", { fill: "#2F343B", d: "m13.173 16.701-.303-.204h-1.74l-.292.204-.167 1.346.146-.132h2.366l.167.133z" }),
31
- /* @__PURE__ */ jsx("path", { fill: "#763E1A", d: "M19.479 9.593 20 7.105 19.208 4.8l-6.035 4.345 2.324 1.907 3.284.938.719-.826-.313-.225.5-.438-.385-.296.5-.367zM4 7.105l.532 2.488-.334.245.5.377-.385.286.5.438-.313.225.73.826 3.283-.938 2.325-1.907L4.792 4.8z" }),
32
- /* @__PURE__ */ jsx("path", { fill: "#F5841F", d: "m18.78 11.99-3.283-.938.99 1.458-1.48 2.804 1.96-.03h2.918zm-10.267-.938-3.283.938-1.094 3.294h2.908l1.949.03-1.47-2.804zm4.451 1.611.208-3.519.95-2.498H9.878l.959 2.498.208 3.519.084 1.101v2.733h1.74l.01-2.733z" })
33
- ] }),
34
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "metamask__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
35
- ] }) }));
36
- WalletMetamask.displayName = "WalletMetamask";
37
- var WalletMetamask_default = WalletMetamask;
38
-
39
- export { WalletMetamask_default };
@@ -1,15 +0,0 @@
1
- import { BaseIcon } from './chunk-MLKFOR3D.js';
2
- import { forwardRef } from 'react';
3
- import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
4
-
5
- var NetworkBerachain = forwardRef(({ variant = "branded", fallback, ...props }, ref) => /* @__PURE__ */ jsx(BaseIcon, { fallback, ...props, ref, children: variant === "branded" && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { fill: "#FB9942", d: "M19.097 10.429a1 1 0 0 0-.063-.226c.011-.017 2.46-3.189.192-5.15-2.264-1.96-4.908.597-4.923.61a6.3 6.3 0 0 0-1.265-.233h-.004c-.863-.133-2.072 0-2.072 0a6.4 6.4 0 0 0-1.254.23c-.015-.014-2.659-2.571-4.923-.61-2.264 1.96.18 5.136.192 5.15q-.04.112-.063.226C4.67 11.783 3 12.2 3 14.567c0 2.41 1.744 4.31 5.307 4.31h1.46c.007.006.572.754 1.737.798 0 0 .27.028.889.007 1.235 0 1.836-.792 1.84-.802h1.46c3.563 0 5.307-1.9 5.307-4.31.011-2.362-1.66-2.783-1.903-4.141" }) }) || variant === "mono" && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M19.097 10.429a1 1 0 0 0-.063-.226c.011-.017 2.46-3.189.192-5.15-2.264-1.96-4.908.597-4.923.61a6.3 6.3 0 0 0-1.265-.233h-.004c-.863-.133-2.072 0-2.072 0a6.4 6.4 0 0 0-1.254.23c-.015-.014-2.659-2.571-4.923-.61-2.264 1.96.18 5.136.192 5.15q-.04.112-.063.226C4.67 11.783 3 12.2 3 14.567c0 2.41 1.744 4.31 5.307 4.31h1.46c.007.006.572.754 1.737.798 0 0 .27.028.889.007 1.235 0 1.836-.792 1.84-.802h1.46c3.563 0 5.307-1.9 5.307-4.31.011-2.362-1.66-2.783-1.903-4.141" }) }) || variant === "background" && /* @__PURE__ */ jsxs(Fragment, { children: [
6
- /* @__PURE__ */ jsxs("g", { clipPath: "url(#berachain__a)", children: [
7
- /* @__PURE__ */ jsx("path", { fill: "#472920", d: "M0 0h24v24H0z" }),
8
- /* @__PURE__ */ jsx("path", { fill: "#FB9942", d: "M18.309 10.603a1 1 0 0 0-.056-.2c.01-.016 2.186-2.835.17-4.578-2.012-1.743-4.363.53-4.376.542a5.6 5.6 0 0 0-1.124-.207h-.004c-.767-.119-1.842 0-1.842 0-.37.03-.744.098-1.114.204-.013-.012-2.364-2.285-4.376-.542s.16 4.565.17 4.577a2 2 0 0 0-.056.201C5.485 11.807 4 12.18 4 14.282c0 2.142 1.55 3.83 4.717 3.83h1.298c.007.006.508.67 1.544.71 0 0 .24.025.79.006 1.098 0 1.633-.703 1.636-.713h1.298c3.167 0 4.717-1.688 4.717-3.83.01-2.1-1.475-2.475-1.692-3.682" })
9
- ] }),
10
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "berachain__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
11
- ] }) }));
12
- NetworkBerachain.displayName = "NetworkBerachain";
13
- var NetworkBerachain_default = NetworkBerachain;
14
-
15
- export { NetworkBerachain_default };