Skip to content

Commit

Permalink
[TASK] Update @typo3/icons to v4.1.0
Browse files Browse the repository at this point in the history
npm install --save @typo3/icons@^4.1.0
npm run build

Resolves: #101975
Releases: main, 12.4
Change-Id: I630ebddc2287b5492cddeb0a098dcedcce765c35
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81126
Tested-by: Benjamin Franzke <ben@bnf.dev>
Reviewed-by: Benjamin Franzke <ben@bnf.dev>
Tested-by: core-ci <typo3@b13.com>
  • Loading branch information
benjaminkott authored and bnf committed Sep 21, 2023
1 parent 6de13d9 commit b87e32a
Show file tree
Hide file tree
Showing 24 changed files with 70 additions and 51 deletions.
6 changes: 3 additions & 3 deletions Build/Sources/TypeScript/workspaces/backend.ts
Expand Up @@ -381,9 +381,9 @@ class Backend extends Workspaces {
let iconIdentifier;

if ($me.first().attr('aria-expanded') === 'true') {
iconIdentifier = 'apps-pagetree-expand';
iconIdentifier = 'actions-caret-down';
} else {
iconIdentifier = 'apps-pagetree-collapse';
iconIdentifier = 'actions-caret-right';
}

$me.empty().append(this.getIcon(iconIdentifier));
Expand Down Expand Up @@ -627,7 +627,7 @@ class Backend extends Workspaces {
this.getAction(
hasSubitems,
'expand',
(item.expanded ? 'apps-pagetree-expand' : 'apps-pagetree-collapse'),
(item.expanded ? 'actions-caret-down' : 'actions-caret-right'),
).attr('title', TYPO3.lang['tooltip.expand'])
.attr('data-bs-target', '[data-collection="' + item.Workspaces_CollectionCurrent + '"]')
.attr('aria-expanded', !hasSubitems || item.expanded ? 'true' : 'false')
Expand Down
8 changes: 4 additions & 4 deletions Build/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Build/package.json
Expand Up @@ -139,7 +139,7 @@
"@lit/reactive-element": "^1.6.1",
"@lodder/grunt-postcss": "^3.1.1",
"@popperjs/core": "^2.11.6",
"@typo3/icons": "^4.0.0",
"@typo3/icons": "^4.1.0",
"autosize": "^6.0.1",
"bootstrap": "^5.3.1",
"broadcastchannel-polyfill": "^1.0.0",
Expand Down
77 changes: 47 additions & 30 deletions typo3/sysext/core/Resources/Public/Icons/T3Icons/icons.json
Expand Up @@ -210,12 +210,6 @@
"svg": "svgs/actions/actions-brand-slack.svg",
"sprite": "sprites/actions.svg#actions-brand-slack"
},
"actions-brand-twitter": {
"identifier": "actions-brand-twitter",
"category": "actions",
"svg": "svgs/actions/actions-brand-twitter.svg",
"sprite": "sprites/actions.svg#actions-brand-twitter"
},
"actions-brand-typo3": {
"identifier": "actions-brand-typo3",
"category": "actions",
Expand All @@ -228,6 +222,12 @@
"svg": "svgs/actions/actions-brand-windows.svg",
"sprite": "sprites/actions.svg#actions-brand-windows"
},
"actions-brand-x": {
"identifier": "actions-brand-x",
"category": "actions",
"svg": "svgs/actions/actions-brand-x.svg",
"sprite": "sprites/actions.svg#actions-brand-x"
},
"actions-brand-xing": {
"identifier": "actions-brand-xing",
"category": "actions",
Expand All @@ -246,6 +246,18 @@
"svg": "svgs/actions/actions-briefcase.svg",
"sprite": "sprites/actions.svg#actions-briefcase"
},
"actions-brightness-high": {
"identifier": "actions-brightness-high",
"category": "actions",
"svg": "svgs/actions/actions-brightness-high.svg",
"sprite": "sprites/actions.svg#actions-brightness-high"
},
"actions-brightness-low": {
"identifier": "actions-brightness-low",
"category": "actions",
"svg": "svgs/actions/actions-brightness-low.svg",
"sprite": "sprites/actions.svg#actions-brightness-low"
},
"actions-browser": {
"identifier": "actions-browser",
"category": "actions",
Expand Down Expand Up @@ -474,6 +486,18 @@
"svg": "svgs/actions/actions-chevron-up.svg",
"sprite": "sprites/actions.svg#actions-chevron-up"
},
"actions-circle-full": {
"identifier": "actions-circle-full",
"category": "actions",
"svg": "svgs/actions/actions-circle-full.svg",
"sprite": "sprites/actions.svg#actions-circle-full"
},
"actions-circle-half": {
"identifier": "actions-circle-half",
"category": "actions",
"svg": "svgs/actions/actions-circle-half.svg",
"sprite": "sprites/actions.svg#actions-circle-half"
},
"actions-circle": {
"identifier": "actions-circle",
"category": "actions",
Expand Down Expand Up @@ -1422,6 +1446,12 @@
"svg": "svgs/actions/actions-minus.svg",
"sprite": "sprites/actions.svg#actions-minus"
},
"actions-moon": {
"identifier": "actions-moon",
"category": "actions",
"svg": "svgs/actions/actions-moon.svg",
"sprite": "sprites/actions.svg#actions-moon"
},
"actions-move": {
"identifier": "actions-move",
"category": "actions",
Expand Down Expand Up @@ -1974,6 +2004,12 @@
"svg": "svgs/actions/actions-variable.svg",
"sprite": "sprites/actions.svg#actions-variable"
},
"actions-video": {
"identifier": "actions-video",
"category": "actions",
"svg": "svgs/actions/actions-video.svg",
"sprite": "sprites/actions.svg#actions-video"
},
"actions-viewmode-compare": {
"identifier": "actions-viewmode-compare",
"category": "actions",
Expand Down Expand Up @@ -2130,18 +2166,6 @@
"svg": "svgs/apps/apps-filetree-root.svg",
"sprite": "sprites/apps.svg#apps-filetree-root"
},
"apps-irre-collapsed": {
"identifier": "apps-irre-collapsed",
"category": "apps",
"svg": "svgs/apps/apps-irre-collapsed.svg",
"sprite": "sprites/apps.svg#apps-irre-collapsed"
},
"apps-irre-expanded": {
"identifier": "apps-irre-expanded",
"category": "apps",
"svg": "svgs/apps/apps-irre-expanded.svg",
"sprite": "sprites/apps.svg#apps-irre-expanded"
},
"apps-pagetree-backend-user-hideinmenu": {
"identifier": "apps-pagetree-backend-user-hideinmenu",
"category": "apps",
Expand All @@ -2166,12 +2190,6 @@
"svg": "svgs/apps/apps-pagetree-category-expand-all.svg",
"sprite": "sprites/apps.svg#apps-pagetree-category-expand-all"
},
"apps-pagetree-collapse": {
"identifier": "apps-pagetree-collapse",
"category": "apps",
"svg": "svgs/apps/apps-pagetree-collapse.svg",
"sprite": "sprites/apps.svg#apps-pagetree-collapse"
},
"apps-pagetree-drag-copy-above": {
"identifier": "apps-pagetree-drag-copy-above",
"category": "apps",
Expand Down Expand Up @@ -2226,12 +2244,6 @@
"svg": "svgs/apps/apps-pagetree-drag-place-denied.svg",
"sprite": "sprites/apps.svg#apps-pagetree-drag-place-denied"
},
"apps-pagetree-expand": {
"identifier": "apps-pagetree-expand",
"category": "apps",
"svg": "svgs/apps/apps-pagetree-expand.svg",
"sprite": "sprites/apps.svg#apps-pagetree-expand"
},
"apps-pagetree-folder-contains-approve": {
"identifier": "apps-pagetree-folder-contains-approve",
"category": "apps",
Expand Down Expand Up @@ -4532,17 +4544,22 @@
"actions-slack": "actions-brand-slack",
"actions-typo3": "actions-brand-typo3",
"information-os-windows": "actions-brand-windows",
"actions-brand-twitter": "actions-brand-x",
"actions-edit-pick-date": "actions-calendar-alternative",
"actions-move-to-bottom": "actions-caret-bar-bottom",
"actions-move-to-top": "actions-caret-bar-top",
"actions-move-down": "actions-caret-down",
"actions-pagetree-expand": "actions-caret-down",
"status-status-sorting-desc": "actions-caret-down",
"status-status-sorting-light-desc": "actions-caret-down",
"apps-irre-expanded": "actions-caret-down",
"apps-pagetree-expand": "actions-caret-down",
"actions-move-left": "actions-caret-left",
"actions-move-right": "actions-caret-right",
"actions-pagetree-collapse": "actions-caret-right",
"status-status-current": "actions-caret-right",
"apps-irre-collapsed": "actions-caret-right",
"apps-pagetree-collapse": "actions-caret-right",
"actions-move-up": "actions-caret-up",
"status-status-sorting-asc": "actions-caret-up",
"status-status-sorting-light-asc": "actions-caret-up",
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

This file was deleted.

This file was deleted.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Large diffs are not rendered by default.

0 comments on commit b87e32a

Please sign in to comment.