Skip to content

Commit 5ffd633

Browse files
Upgrade ant icons to 5.4 (#8007)
* upgrade ant icons to 5.4 * remove iconfont * changelog * reformat package.json --------- Co-authored-by: Philipp Otto <philippotto@users.noreply.github.com>
1 parent 4f7e2a4 commit 5ffd633

File tree

8 files changed

+24
-969
lines changed

8 files changed

+24
-969
lines changed

CHANGELOG.unreleased.md

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released
4040
- Because of the way our models are trained, AI analysis and training is disabled for 2D and ND datasets, as well as for color layers with data type uInt24. [#7957](https://github.com/scalableminds/webknossos/pull/7957)
4141
- The overall performance was improved (especially for the segments tab). [#7958](https://github.com/scalableminds/webknossos/pull/7958)
4242
- The performance for the skeleton tab was improved. [#7989](https://github.com/scalableminds/webknossos/pull/7989)
43+
- Upgraded ant icons to version 5.4. [#8007](https://github.com/scalableminds/webknossos/pull/8007)
4344

4445
### Fixed
4546
- Fixed a bug that allowed the default newly created bounding box to appear outside the dataset. In case the whole bounding box would be outside it is created regardless. [#7892](https://github.com/scalableminds/webknossos/pull/7892)
-68.9 KB
Binary file not shown.

frontend/stylesheets/iconfont/iconfont.svg

-927
This file was deleted.
-68.7 KB
Binary file not shown.
-36.4 KB
Binary file not shown.

frontend/stylesheets/main.less

-9
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
@import "../../node_modules/antd/dist/reset.css";
44
@import "../../node_modules/react-tooltip/dist/react-tooltip.css";
55

6-
// To update the antd iconfont:
7-
// * Go to https://ant.design/
8-
// * Find the iconfont in the network tab (host: at.alicdn.com)
9-
// * Download .eot,.woff,.ttf,.svg to ./iconfont
10-
// * Rename to iconfont.*
11-
12-
// Path is relative to the node_modules/antd/lib/style/themes/
13-
@icon-url: "../../../../../frontend/stylesheets/iconfont/iconfont";
14-
156
@import "_variables.less";
167
@import "_utils.less";
178
@import "_dashboard.less";

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
{
140140
"@airbrake/browser": "^2.1.7",
141141
"@ant-design/colors": "^6.0.0",
142-
"@ant-design/icons": "^4.6.2",
142+
"@ant-design/icons": "^5.4.0",
143143
"@fortawesome/fontawesome-free": "^5.15.4",
144144
"@rehooks/document-title": "^1.0.2",
145145
"@scalableminds/prop-types": "^15.8.1",
@@ -256,4 +256,4 @@
256256
],
257257
"reporter": "lcov"
258258
}
259-
}
259+
}

yarn.lock

+21-31
Original file line numberDiff line numberDiff line change
@@ -49,27 +49,11 @@
4949
rc-util "^5.35.0"
5050
stylis "^4.0.13"
5151

52-
"@ant-design/icons-svg@^4.0.0":
53-
version "4.1.0"
54-
resolved "https://registry.yarnpkg.com/@ant-design/icons-svg/-/icons-svg-4.1.0.tgz#480b025f4b20ef7fe8f47d4a4846e4fee84ea06c"
55-
integrity sha512-Fi03PfuUqRs76aI3UWYpP864lkrfPo0hluwGqh7NJdLhvH4iRDc3jbJqZIvRDLHKbXrvAfPPV3+zjUccfFvWOQ==
56-
5752
"@ant-design/icons-svg@^4.4.0":
5853
version "4.4.2"
5954
resolved "https://registry.yarnpkg.com/@ant-design/icons-svg/-/icons-svg-4.4.2.tgz#ed2be7fb4d82ac7e1d45a54a5b06d6cecf8be6f6"
6055
integrity sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA==
6156

62-
"@ant-design/icons@^4.6.2":
63-
version "4.6.2"
64-
resolved "https://registry.yarnpkg.com/@ant-design/icons/-/icons-4.6.2.tgz#290f2e8cde505ab081fda63e511e82d3c48be982"
65-
integrity sha512-QsBG2BxBYU/rxr2eb8b2cZ4rPKAPBpzAR+0v6rrZLp/lnyvflLH3tw1vregK+M7aJauGWjIGNdFmUfpAOtw25A==
66-
dependencies:
67-
"@ant-design/colors" "^6.0.0"
68-
"@ant-design/icons-svg" "^4.0.0"
69-
"@babel/runtime" "^7.11.2"
70-
classnames "^2.2.6"
71-
rc-util "^5.9.4"
72-
7357
"@ant-design/icons@^5.3.0":
7458
version "5.3.0"
7559
resolved "https://registry.yarnpkg.com/@ant-design/icons/-/icons-5.3.0.tgz#b4b57908eb4f4c31777424f10d341f6823a77d2b"
@@ -81,6 +65,17 @@
8165
classnames "^2.2.6"
8266
rc-util "^5.31.1"
8367

68+
"@ant-design/icons@^5.4.0":
69+
version "5.4.0"
70+
resolved "https://registry.yarnpkg.com/@ant-design/icons/-/icons-5.4.0.tgz#4bd8f335c68207cc06fe9943d164a81cdfcfbeac"
71+
integrity sha512-QZbWC5xQYexCI5q4/fehSEkchJr5UGtvAJweT743qKUQQGs9IH2DehNLP49DJ3Ii9m9CijD2HN6fNy3WKhIFdA==
72+
dependencies:
73+
"@ant-design/colors" "^7.0.0"
74+
"@ant-design/icons-svg" "^4.4.0"
75+
"@babel/runtime" "^7.24.8"
76+
classnames "^2.2.6"
77+
rc-util "^5.31.1"
78+
8479
"@ant-design/react-slick@~1.0.2":
8580
version "1.0.2"
8681
resolved "https://registry.yarnpkg.com/@ant-design/react-slick/-/react-slick-1.0.2.tgz#241bb412aeacf7ff5d50c61fa5db66773fde6b56"
@@ -357,19 +352,19 @@
357352
dependencies:
358353
regenerator-runtime "^0.13.4"
359354

360-
"@babel/runtime@^7.10.1", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.12.5":
355+
"@babel/runtime@^7.10.1", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1":
361356
version "7.13.10"
362357
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.13.10.tgz#47d42a57b6095f4468da440388fdbad8bebf0d7d"
363358
integrity sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw==
364359
dependencies:
365360
regenerator-runtime "^0.13.4"
366361

367-
"@babel/runtime@^7.11.2":
368-
version "7.17.9"
369-
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.9.tgz#d19fbf802d01a8cb6cf053a64e472d42c434ba72"
370-
integrity sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==
362+
"@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.24.8":
363+
version "7.25.0"
364+
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.25.0.tgz#3af9a91c1b739c569d5d80cc917280919c544ecb"
365+
integrity sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==
371366
dependencies:
372-
regenerator-runtime "^0.13.4"
367+
regenerator-runtime "^0.14.0"
373368

374369
"@babel/runtime@^7.16.7", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9":
375370
version "7.18.9"
@@ -3454,12 +3449,12 @@ classnames@2.x, classnames@^2.2.1, classnames@^2.2.3, classnames@^2.3.1:
34543449
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.3.1.tgz#dfcfa3891e306ec1dad105d0e88f4417b8535e8e"
34553450
integrity sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==
34563451

3457-
classnames@^2.2.5, classnames@^2.2.6:
3452+
classnames@^2.2.5:
34583453
version "2.2.6"
34593454
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.6.tgz#43935bffdd291f326dad0a205309b38d00f650ce"
34603455
integrity sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==
34613456

3462-
classnames@^2.3.0, classnames@^2.5.1:
3457+
classnames@^2.2.6, classnames@^2.3.0, classnames@^2.5.1:
34633458
version "2.5.1"
34643459
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.5.1.tgz#ba774c614be0f016da105c858e7159eae8e7687b"
34653460
integrity sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==
@@ -9511,7 +9506,7 @@ rc-upload@~4.5.2:
95119506
classnames "^2.2.5"
95129507
rc-util "^5.2.0"
95139508

9514-
rc-util@^5.0.0, rc-util@^5.0.1, rc-util@^5.2.0, rc-util@^5.2.1, rc-util@^5.9.4:
9509+
rc-util@^5.0.0, rc-util@^5.0.1, rc-util@^5.2.0, rc-util@^5.2.1:
95159510
version "5.9.8"
95169511
resolved "https://registry.yarnpkg.com/rc-util/-/rc-util-5.9.8.tgz#dfcacc1f7b7c45fa18ab786e2b530dd0509073f1"
95179512
integrity sha512-typLSHYGf5irvGLYQshs0Ra3aze086h0FhzsAkyirMunYZ7b3Te8gKa5PVaanoHaZa9sS6qx98BxgysoRP+6Tw==
@@ -9941,16 +9936,11 @@ reflect.ownkeys@^0.2.0:
99419936
resolved "https://registry.yarnpkg.com/reflect.ownkeys/-/reflect.ownkeys-0.2.0.tgz#749aceec7f3fdf8b63f927a04809e90c5c0b3460"
99429937
integrity sha1-dJrO7H8/34tj+SegSAnpDFwLNGA=
99439938

9944-
regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.3:
9939+
regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.3, regenerator-runtime@^0.13.4:
99459940
version "0.13.11"
99469941
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9"
99479942
integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==
99489943

9949-
regenerator-runtime@^0.13.4:
9950-
version "0.13.9"
9951-
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52"
9952-
integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==
9953-
99549944
regenerator-runtime@^0.14.0:
99559945
version "0.14.0"
99569946
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz#5e19d68eb12d486f797e15a3c6a918f7cec5eb45"

0 commit comments

Comments
 (0)