From 9bcbb4ab5140ae766aa8ab2adac3381e529ab51f Mon Sep 17 00:00:00 2001 From: Simon Praetorius Date: Thu, 5 Oct 2023 15:49:18 +0200 Subject: [PATCH 1/2] [DOC] Improve Icon API documentation --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index be59550..7bbc105 100644 --- a/README.md +++ b/README.md @@ -258,12 +258,14 @@ editor: - "%vite('EXT:sitepackage/Resources/Private/Css/Rte.css', 'path/to/manifest.json')%" ``` -### IconProvider +## TYPO3 Icon API -Use the `SvgIconProvider` for icons processed by Vite. It works in Frontend and Backend. -For more details about the TYPO3 Icon API see the [documentation](https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Icon/Index.html) +The extension includes a custom `SvgIconProvider` for the +[TYPO3 Icon API](https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/Icon/Index.html), +which allows you to register SVG icon files generated by vite. This works both in frontend +and backend context. -To use an icon along with `core:icon` ViewHelper, add the following to the `Configuration/Icons.php` file: +To register a new icon, add the following to the `Configuration/Icons.php` file: ```php return [ @@ -274,3 +276,6 @@ return [ ], ]; ``` + +Then you can use the [core:icon ViewHelper](https://docs.typo3.org/other/typo3/view-helper-reference/main/en-us/typo3/core/latest/Icon.html) +to use the icon in your templates. From c2e586a75813867f44eb1b1dff320415ebd4634c Mon Sep 17 00:00:00 2001 From: Simon Praetorius Date: Thu, 5 Oct 2023 15:51:59 +0200 Subject: [PATCH 2/2] [TASK] Increment version number to 1.5.0 --- ext_emconf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext_emconf.php b/ext_emconf.php index e38c615..9cad1df 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -7,7 +7,7 @@ 'author' => 'Simon Praetorius', 'author_email' => 'simon@praetorius.me', 'state' => 'stable', - 'version' => '1.4.0', + 'version' => '1.5.0', 'constraints' => [ 'depends' => [ 'typo3' => '11.5.0-12.4.99',