Skip to content
Snippets Groups Projects
Commit 7de349e1 authored by Benjamin Kott's avatar Benjamin Kott Committed by Georg Ringer
Browse files

[FEATURE] Streamline Template Buttons

This patch streamlines the behavior of template buttons. For this, we
sort all classes to match the same order. To be more flexible for the
usage of `DropDownButton` we now also allow the hiding of the label
text, but there must be a label text or an icon assigned.

We are introducing a `GenericButton` to cover more complex situations
while ensuring a unified output.

Adjust the `typo3-copy-to-clipboard` element to work like a normal
button element that allows keyboard navigation.

Resolves: #99806
Releases: main
Change-Id: Ic6e7d9036097bfd87493e51e5e128ab895af1731
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77680


Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 3c5d430f
No related merge requests found
Showing
with 491 additions and 253 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment