Skip to content

Commit bfefc9e

Browse files
committed
v5.3.0-v1
1 parent beb8f17 commit bfefc9e

File tree

11 files changed

+6933
-6963
lines changed

11 files changed

+6933
-6963
lines changed

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"packages": [
33
"packages/*"
44
],
5-
"version": "5.1.0-v6",
5+
"version": "5.3.0-v1",
66
"command": {
77
"version": {
88
"push": true

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
],
88
"license": "MIT",
99
"devDependencies": {
10-
"@types/node": "^20.9.4",
11-
"@typescript-eslint/eslint-plugin": "^6.12.0",
12-
"@typescript-eslint/parser": "^6.12.0",
13-
"eslint": "^8.54.0",
14-
"eslint-plugin-react": "^7.33.2",
15-
"lerna": "^8.0.0",
16-
"prettier": "^3.1.0"
10+
"@types/node": "^22.0.0",
11+
"@typescript-eslint/eslint-plugin": "^7.18.0",
12+
"@typescript-eslint/parser": "^7.18.0",
13+
"eslint": "^8.57.0",
14+
"eslint-plugin-react": "^7.35.0",
15+
"lerna": "^8.1.7",
16+
"prettier": "^3.3.3"
1717
},
1818
"scripts": {
1919
"clean": "yarn clean:root && yarn clean:preview && yarn clean:react-icons && yarn clean:ts-test && yarn clean:webpack5",

packages/_react-icons-pack/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vertisanpro/react-icons-pack",
3-
"version": "5.1.0-v6",
3+
"version": "5.3.0-v1",
44
"description": "SVG React icons of popular icon packs using ES6 imports",
55
"author": "PadowYT2",
66
"contributors": [

packages/_react-icons/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vertisanpro/react-icons",
3-
"version": "5.1.0-v6",
3+
"version": "5.3.0-v1",
44
"description": "SVG React icons of popular icon packs using ES6 imports",
55
"author": "PadowYT2",
66
"contributors": [

packages/preview/package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,33 @@
99
"keywords": [],
1010
"author": "",
1111
"license": "ISC",
12-
"version": "5.1.0-v6",
12+
"version": "5.3.0-v1",
1313
"private": true,
1414
"dependencies": {
15-
"@loadable/component": "^5.15.3",
16-
"@vertisanpro/react-icons": "^5.1.0-v6",
15+
"@loadable/component": "^5.16.4",
16+
"@vertisanpro/react-icons": "^5.3.0-v1",
1717
"babel-plugin-codegen": "^4.1.5",
1818
"babel-plugin-macros": "^3.1.0",
1919
"basscss": "^8.1.0",
2020
"cogo-toast": "^4.2.3",
2121
"copy-to-clipboard": "^3.3.3",
22-
"css-loader": "6.8.1",
22+
"css-loader": "7.1.2",
2323
"ignore-loader": "^0.1.2",
2424
"lodash": "^4.17.21",
25-
"next": "^14.0.3",
25+
"next": "^14.2.5",
2626
"next-pwa": "^5.6.0",
27-
"prism-react-renderer": "^2.3.0",
27+
"prism-react-renderer": "^2.3.1",
2828
"prop-types": "^15.8.1",
29-
"react": "^18.2.0",
30-
"react-dom": "^18.2.0",
31-
"sass": "^1.69.5",
29+
"react": "^18.3.1",
30+
"react-dom": "^18.3.1",
31+
"sass": "^1.77.8",
3232
"tiny-skeleton-loader-react": "^1.2.1"
3333
},
3434
"devDependencies": {
35-
"@types/node": "^20.9.4",
36-
"@types/react": "^18.2.38",
37-
"@types/react-dom": "^18.2.17",
38-
"typescript": "^5.3.2"
35+
"@types/node": "^22.0.0",
36+
"@types/react": "^18.3.3",
37+
"@types/react-dom": "^18.3.0",
38+
"typescript": "^5.5.4"
3939
},
4040
"browserslist": [
4141
">0.2%",

packages/preview/src/styles/_components.scss

+6-5
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,12 @@ a {
182182
0 1px 2px 0 rgba(0, 0, 0, 0.06);
183183
border: 2px solid transparent;
184184
font-size: 1.6em;
185+
cursor: pointer;
185186
}
186187

187188
&:hover {
188189
.icon {
189-
background: var(--color-white);
190+
background: var(--color-gray-2);
190191
}
191192
}
192193

@@ -320,6 +321,10 @@ a {
320321
border: 1px solid #495057;
321322
}
322323

324+
.item:hover .icon {
325+
background-color: (var(--color-brand));
326+
}
327+
323328
.item:focus .icon {
324329
border: 1px solid #e91e63;
325330
background: rgba(var(--color-brand-rgb), 0.05);
@@ -329,10 +334,6 @@ a {
329334
border: 1px solid #e91e63;
330335
}
331336

332-
// .checkbox-label .ball {
333-
// background-color: #5cb0ff;
334-
// }
335-
336337
pre.code .prism-code--copy {
337338
// color: #5cb0ff;
338339
color: white;

packages/react-icons/package.json

+14-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-icons_builders",
33
"private": true,
4-
"version": "5.1.0-v6",
4+
"version": "5.3.0-v1",
55
"description": "SVG React icons of popular icon packs using ES6 imports",
66
"author": "PadowYT2",
77
"contributors": [
@@ -24,26 +24,28 @@
2424
"react": "*"
2525
},
2626
"devDependencies": {
27-
"@babel/cli": "^7.23.4",
28-
"@babel/core": "^7.23.3",
27+
"@babel/cli": "^7.24.8",
28+
"@babel/core": "^7.25.2",
29+
"@types/cli-progress": "^3.11.6",
30+
"@types/react": "^18.3.3",
2931
"@primer/octicons": "^18.3.0",
30-
"@types/react": "^18.2.38",
3132
"camelcase": "^8.0.0",
3233
"cheerio": "^1.0.0-rc.12",
33-
"esbuild": "^0.19.7",
34-
"esbuild-register": "^3.5.0",
34+
"cli-progress": "^3.12.0",
35+
"esbuild": "^0.23.0",
36+
"esbuild-register": "^3.6.0",
3537
"feather-icons": "^4.7.3",
3638
"find-package": "^1.0.0",
37-
"glob": "^10.3.10",
38-
"glob-promise": "^6.0.5",
39+
"glob": "^10.4.5",
40+
"glob-promise": "^6.0.7",
3941
"ionicons": "^4.6.3",
4042
"ionicons-5": "npm:ionicons@5",
41-
"lerna": "^8.0.0",
4243
"lucide-static": "^0.263.0",
43-
"p-queue": "^7.4.1",
44-
"prettier": "^3.1.0",
44+
"lerna": "^8.1.7",
45+
"p-queue": "^8.0.1",
46+
"prettier": "^3.3.3",
4547
"svgo": "^1.3.2",
46-
"typescript": "^5.3.2"
48+
"typescript": "^5.5.4"
4749
},
4850
"scripts": {
4951
"ts": "node -r esbuild-register",

packages/react-icons/scripts/fetcher.ts

+20-4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { SingleBar } from "cli-progress";
12
import util from "node:util";
23
import { execFile as rawExecFile } from "node:child_process";
34
import fs from "fs";
@@ -31,22 +32,37 @@ async function main() {
3132
recursive: true,
3233
});
3334

35+
const progressBar = new SingleBar({
36+
format:
37+
"Cloning Icons [{bar}] {percentage}% | ETA: {eta_formatted} | {value}/{total}",
38+
barCompleteChar: "#",
39+
barIncompleteChar: ".",
40+
hideCursor: true,
41+
stopOnComplete: true,
42+
barsize: 100,
43+
etaBuffer: 200,
44+
fps: 3,
45+
etaAsynchronousUpdate: true,
46+
});
47+
const totalIcons = icons.filter((icon) => icon.source).length;
48+
progressBar.start(totalIcons, 0);
49+
3450
const queue = new PQueue({ concurrency: os.cpus().length });
3551
for (const icon of icons) {
3652
if (!icon.source) {
3753
continue;
3854
}
3955
const { source } = icon;
40-
queue.add(() => gitCloneIcon(source, ctx));
56+
queue.add(async () => {
57+
await gitCloneIcon(source, ctx);
58+
progressBar.increment(); // Update the progress bar
59+
});
4160
}
4261

4362
await queue.onIdle();
4463
}
4564

4665
async function gitCloneIcon(source: IconSetGitSource, ctx: Context) {
47-
console.log(
48-
`Cloning icon from: ${source.url}/${source.remoteDir} at branch: ${source.branch}`,
49-
);
5066
await execFile(
5167
"git",
5268
["clone", "--filter=tree:0", "--no-checkout", source.url, source.localName],

packages/react-icons/scripts/task_common.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export async function writeIconVersions({ DIST, LIB, rootDir }) {
134134

135135
const versionsStr =
136136
"| Icon Library | License | Version | Count |\n" +
137-
"| --- | --- | --- | ---: |\n" +
137+
"|:---:|:---:|:---:|:---:|\n" +
138138
versions
139139
.map(
140140
(v) =>

packages/react-icons/src/icons/index.ts

+14-39
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const icons: IconDefinition[] = [
2323
remoteDir: "svg/",
2424
url: "https://github.com/Klarr-Agency/Circum-Icons.git",
2525
branch: "main",
26-
hash: "eeef6206df834e6957a45e36d2bfb7459ce6e799",
26+
hash: "cec1364b5199f55e946a9a8360385a958b98cc60",
2727
},
2828
},
2929
{
@@ -85,7 +85,7 @@ export const icons: IconDefinition[] = [
8585
remoteDir: "svgs/",
8686
url: "https://github.com/FortAwesome/Font-Awesome.git",
8787
branch: "6.x",
88-
hash: "f0c25837a3fe0e03783b939559e088abcbfb3c4b",
88+
hash: "37eff7fa00de26db41183a3ad8ed0e9119fbc44b",
8989
},
9090
},
9191
{
@@ -177,7 +177,7 @@ export const icons: IconDefinition[] = [
177177
remoteDir: "src/",
178178
url: "https://github.com/google/material-design-icons.git",
179179
branch: "master",
180-
hash: "1ea21d5429750938f4a8e694e75a54fc0f02dae1",
180+
hash: "e9da2194e65080a829d670ae39a99c7b5fc09548",
181181
},
182182
},
183183
{
@@ -351,7 +351,7 @@ export const icons: IconDefinition[] = [
351351
remoteDir: "packages/icons-svg/svg/",
352352
url: "https://github.com/ant-design/ant-design-icons.git",
353353
branch: "master",
354-
hash: "d7c5ad5015a0cbb67c4c1faa639edc1c4d16c23a",
354+
hash: "ddab19ea598d1112c7a9c2478688a8fef93309a1",
355355
},
356356
},
357357
{
@@ -389,7 +389,7 @@ export const icons: IconDefinition[] = [
389389
remoteDir: "icons/",
390390
url: "https://github.com/twbs/icons.git",
391391
branch: "main",
392-
hash: "7c2454522e5ce8bbfc4edb8c7b2e42b8c3d7f197",
392+
hash: "2357f3f11ba71970d03713e8c16b312a338476d1",
393393
},
394394
},
395395
{
@@ -410,32 +410,7 @@ export const icons: IconDefinition[] = [
410410
remoteDir: "icons/",
411411
url: "https://github.com/Remix-Design/RemixIcon.git",
412412
branch: "master",
413-
hash: "3c4f3ff316c8ebe1b8838c211ecaf8348d203049",
414-
},
415-
},
416-
{
417-
id: "fc",
418-
name: "Flat Color Icons",
419-
contents: [
420-
{
421-
files: path.resolve(
422-
__dirname,
423-
"../../icons/flat-color-icons/svg/*.svg",
424-
),
425-
formatter: (name) => `Fc${name}`,
426-
multiColor: true,
427-
},
428-
],
429-
projectUrl: "https://github.com/icons8/flat-color-icons",
430-
license: "MIT",
431-
licenseUrl: "https://opensource.org/licenses/MIT",
432-
source: {
433-
type: "git",
434-
localName: "flat-color-icons",
435-
remoteDir: "svg/",
436-
url: "https://github.com/icons8/flat-color-icons.git",
437-
branch: "master",
438-
hash: "8eccbbbd8b2af1d2c9593e7cfba5ecb0d68ee378",
413+
hash: "075c090ab54ca75b27c85b016482e10a3719ee6f",
439414
},
440415
},
441416
{
@@ -459,7 +434,7 @@ export const icons: IconDefinition[] = [
459434
remoteDir: "public/img/",
460435
url: "https://github.com/grommet/grommet-icons.git",
461436
branch: "master",
462-
hash: "2c16c9d1ed028b6cb58f0411c4e71c6cd70387fa",
437+
hash: "f9548cae611e0390efa38885d150ffa351451762",
463438
},
464439
},
465440
{
@@ -528,7 +503,7 @@ export const icons: IconDefinition[] = [
528503
remoteDir: "optimized/",
529504
url: "https://github.com/tailwindlabs/heroicons.git",
530505
branch: "master",
531-
hash: "eee05eb77af6cdedfb97f128d1998773fc984b28",
506+
hash: "56c073c2c9a66d2e51adb93d8e87e2e941d5b6db",
532507
},
533508
},
534509
{
@@ -549,7 +524,7 @@ export const icons: IconDefinition[] = [
549524
remoteDir: "icons/",
550525
url: "https://github.com/simple-icons/simple-icons.git",
551526
branch: "develop",
552-
hash: "f74f0e6b995aa099458455eebe2e2e89fe1a9f89",
527+
hash: "fc8bdcf4340ca1265045e714d7e65a824fc21d51",
553528
},
554529
},
555530
{
@@ -648,7 +623,7 @@ export const icons: IconDefinition[] = [
648623
remoteDir: "icons/svg/",
649624
url: "https://github.com/astrit/css.gg.git",
650625
branch: "master",
651-
hash: "deea4fa5f39a2980d7586aed18d65cdba6fd85e3",
626+
hash: "ad0428df5491082b29a81d64dbdc59b9602cc059",
652627
},
653628
},
654629
{
@@ -672,7 +647,7 @@ export const icons: IconDefinition[] = [
672647
remoteDir: "src/icons/",
673648
url: "https://github.com/microsoft/vscode-codicons.git",
674649
branch: "main",
675-
hash: "19a8819666fed0658f30722bce3781e7fcdc0675",
650+
hash: "eaa030691d720b9c5c0efa93d9be9e2e45d7262b",
676651
},
677652
},
678653
{
@@ -692,8 +667,8 @@ export const icons: IconDefinition[] = [
692667
localName: "tabler-icons",
693668
remoteDir: "icons/",
694669
url: "https://github.com/tabler/tabler-icons.git",
695-
branch: "master",
696-
hash: "93e971c34c184c76b43413004a237a1e2902c58f",
670+
branch: "main",
671+
hash: "405bcfffba9cecf08e686145367dcdc9cc44eb5c",
697672
},
698673
},
699674
{
@@ -763,7 +738,7 @@ export const icons: IconDefinition[] = [
763738
remoteDir: "assets/",
764739
url: "https://github.com/phosphor-icons/core.git",
765740
branch: "main",
766-
hash: "f0d270195c812c0d859290fb3af84e863b86b480",
741+
hash: "7790ae563ef83ac36094b15b5e109d89fef09337",
767742
},
768743
},
769744
{

0 commit comments

Comments
 (0)