From a8dba1d860e2015ceb967c2cd0ccceb31e3629c9 Mon Sep 17 00:00:00 2001
From: maikh <typo3@hagenbruch.info>
Date: Fri, 2 Jun 2017 17:03:44 +0200
Subject: [PATCH] [TASK] Update TYPO3 Icons and add to icon registry

Change-Id: Ibc94a1f0434db96f09ee421cf64867c5779290e7
Resolves: #81426
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/53049
Reviewed-by: Markus Sommer <markussom@posteo.de>
Tested-by: Markus Sommer <markussom@posteo.de>
Reviewed-by: Maik Hagenbruch <typo3@hagenbruch.info>
Tested-by: Maik Hagenbruch <typo3@hagenbruch.info>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Marco Christian Krenn <krenn@webconsulting.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 Build/bower.json                              |  2 +-
 .../core/Classes/Imaging/IconRegistry.php     | 19 ++++++++++++++++++-
 .../actions/actions-add-placeholder.svg       |  1 +
 .../T3Icons/actions/actions-view-page.svg     |  1 +
 .../mimetypes/mimetypes-powerpoint.svg        |  2 +-
 .../T3Icons/mimetypes/mimetypes-text-ts.svg   |  2 +-
 .../mimetypes/mimetypes-text-typoscript.svg   |  2 +-
 .../Icons/T3Icons/overlay/overlay-endtime.svg |  1 +
 8 files changed, 25 insertions(+), 5 deletions(-)
 create mode 100644 typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-add-placeholder.svg
 create mode 100644 typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-view-page.svg
 create mode 100644 typo3/sysext/core/Resources/Public/Icons/T3Icons/overlay/overlay-endtime.svg

diff --git a/Build/bower.json b/Build/bower.json
index ee51418bb86b..ed4c5501a86f 100644
--- a/Build/bower.json
+++ b/Build/bower.json
@@ -41,7 +41,7 @@
     "taboverride": "^4.0.3",
     "seiyria-bootstrap-slider": "^9.7.3",
     "devbridge-autocomplete": "^1.3.0",
-    "typo3-icons": "1.3.0",
+    "typo3-icons": "1.4.0",
     "matchHeight": "matchheight#^0.7.2",
     "jquery-minicolors": "^2.2.4",
     "d3": "^4.7.3",
diff --git a/typo3/sysext/core/Classes/Imaging/IconRegistry.php b/typo3/sysext/core/Classes/Imaging/IconRegistry.php
index a2a8935efb6e..7a499d8ed1ef 100644
--- a/typo3/sysext/core/Classes/Imaging/IconRegistry.php
+++ b/typo3/sysext/core/Classes/Imaging/IconRegistry.php
@@ -1035,7 +1035,18 @@ class IconRegistry implements SingletonInterface
                 'name' => 'arrows-alt'
             ]
         ],
-
+        'actions-add-placeholder' => [
+            'provider' => SvgIconProvider::class,
+            'options' => [
+                'source' => 'EXT:core/Resources/Public/Icons/T3Icons/actions/actions-add-placeholder.svg'
+            ]
+        ],
+        'actions-view-page' => [
+            'provider' => SvgIconProvider::class,
+            'options' => [
+                'source' => 'EXT:core/Resources/Public/Icons/T3Icons/actions/actions-view-page.svg'
+            ]
+        ],
         // Apps
         'apps-clipboard-images' => [
             'provider' => SvgIconProvider::class,
@@ -2659,6 +2670,12 @@ class IconRegistry implements SingletonInterface
                 'source' => 'EXT:core/Resources/Public/Icons/T3Icons/overlay/overlay-scheduled.svg'
             ]
         ],
+        'overlay-endtime' => [
+            'provider' => SvgIconProvider::class,
+            'options' => [
+                'source' => 'EXT:core/Resources/Public/Icons/T3Icons/overlay/overlay-endtime.svg'
+            ]
+        ],
         'overlay-shop' => [
             'provider' => SvgIconProvider::class,
             'options' => [
diff --git a/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-add-placeholder.svg b/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-add-placeholder.svg
new file mode 100644
index 000000000000..ec20f8bb2eca
--- /dev/null
+++ b/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-add-placeholder.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g class="icon-color"><path d="M10 1h2v1h-2zM7 1h2v1H7zM13 2h1v1h1V1.5c0-.3-.2-.5-.5-.5H13v1zM3 1H1.5c-.3 0-.5.2-.5.5V3h1V2h1V1zM14 4h1v2h-1zM4 1h2v1H4zM15.5 11H13V8.5c0-.3-.2-.5-.5-.5h-1c-.3 0-.5.2-.5.5V11H8.5c-.3 0-.5.2-.5.5v1c0 .3.2.5.5.5H11v2.5c0 .3.2.5.5.5h1c.3 0 .5-.2.5-.5V13h2.5c.3 0 .5-.2.5-.5v-1c0-.3-.2-.5-.5-.5zM3 14H2v-1H1v1.5c0 .3.2.5.5.5H3v-1zM4 14h2v1H4zM1 10h1v2H1zM1 7h1v2H1zM1 4h1v2H1z"/></g></svg>
\ No newline at end of file
diff --git a/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-view-page.svg b/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-view-page.svg
new file mode 100644
index 000000000000..727acc292013
--- /dev/null
+++ b/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-view-page.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g class="icon-color"><path d="M4.3 14H3V2h7v2.5c0 .3.2.5.5.5H13v2.2c.3.1.7.2 1 .3V3.9c0-.3-.1-.5-.3-.7l-1.9-1.9c-.2-.2-.4-.3-.7-.3H2.5c-.3 0-.5.2-.5.5v13c0 .3.2.5.5.5h2.2c-.2-.3-.3-.7-.4-1zM11 2l2 2h-2V2z"/><path d="M11.2 9h-.1C8.2 9 6 10.6 6 12.5S8.1 16 10.9 16c2.8 0 5.1-1.6 5.1-3.5S13.8 9.1 11.2 9zm-.1.8c.1 0 .3.1.3.2s-.1.2-.3.2c-.6 0-1.2.5-1.2 1.1 0 .1-.1.2-.3.2s-.3-.1-.3-.2c0-.8.8-1.5 1.8-1.5zm-.2 5.2c-2.2 0-4-1.1-4-2.5 0-.9.7-1.6 1.8-2.1-.2.3-.2.7-.2 1.1 0 1.4 1.1 2.5 2.5 2.5s2.5-1.1 2.5-2.5c0-.4-.1-.7-.2-1 1 .5 1.7 1.2 1.7 2 0 1.4-1.8 2.5-4.1 2.5z"/></g></svg>
\ No newline at end of file
diff --git a/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-powerpoint.svg b/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-powerpoint.svg
index 5a0ca0005f32..01246915c3a9 100644
--- a/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-powerpoint.svg
+++ b/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-powerpoint.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10 3.98V0l4 4z" fill="#fff" stroke-width="0" stroke-linejoin="round" opacity=".65"/><path d="M2 0v16h12V4l-4-4zm8 0z" fill="#d14524" stroke="#b9b9b9" stroke-width="0" stroke-linejoin="round"/><g fill="#fff"><path d="M4 12h3v1H4zM4 6h8v1H4z" stroke-linecap="square" stroke-miterlimit="0"/><path d="M7 9.5A1.5 1.5 0 0 1 5.5 11 1.5 1.5 0 0 1 4 9.5 1.5 1.5 0 0 1 5.5 8 1.5 1.5 0 0 1 7 9.5z" stroke-linecap="square"/><path d="M12 9.746q0 .325-.114.638-.114.31-.325.52-.29.287-.648.434-.355.146-.885.146H9.25v1.578H8V8.216h2.057q.462 0 .778.082.319.078.563.237.293.192.446.492.156.3.156.719zm-1.292.03q0-.206-.11-.352-.111-.15-.258-.209-.195-.078-.38-.084-.186-.01-.495-.01H9.25v1.452h.358q.319 0 .524-.04.208-.038.348-.156.12-.104.173-.247.055-.146.055-.355z" style="-inkscape-font-specification:'Verdana Bold'" font-weight="700" font-family="Verdana" font-size="40" letter-spacing="0" word-spacing="0"/></g><path d="M10 3.98V0l4 4z" opacity=".65" fill="#fff" stroke-width="0" stroke-linejoin="round"/><path d="M14 4.024V9l-4-5z" opacity=".15" stroke-width="0" stroke-linejoin="round"/></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10 3.98V0l4 4z" fill="#fff" stroke-width="0" stroke-linejoin="round" opacity=".65"/><path d="M2 0v16h12V4l-4-4zm8 0z" fill="#d14524" stroke="#b9b9b9" stroke-width="0" stroke-linejoin="round"/><g fill="#fff"><path d="M4 12h3v1H4zM4 6h8v1H4z" stroke-linecap="square" stroke-miterlimit="0"/><path d="M7 9.5A1.5 1.5 0 0 1 5.5 11 1.5 1.5 0 0 1 4 9.5 1.5 1.5 0 0 1 5.5 8 1.5 1.5 0 0 1 7 9.5z" stroke-linecap="square"/><g style="line-height:125%"><path d="M12 9.746q0 .325-.114.638-.114.31-.325.52-.29.287-.648.434-.355.146-.885.146H9.25v1.578H8V8.216h2.057q.462 0 .778.082.319.078.563.237.293.192.446.492.156.3.156.719zm-1.292.03q0-.206-.11-.352-.111-.15-.258-.209-.195-.078-.38-.084-.186-.01-.495-.01H9.25v1.452h.358q.319 0 .524-.04.208-.038.348-.156.12-.104.173-.247.055-.146.055-.355z" style="-inkscape-font-specification:'Verdana Bold'" font-weight="700" font-family="Verdana" font-size="40" letter-spacing="0" word-spacing="0"/></g></g><path d="M10 3.98V0l4 4z" opacity=".65" fill="#fff" stroke-width="0" stroke-linejoin="round"/><path d="M14 4.024V9l-4-5z" opacity=".15" stroke-width="0" stroke-linejoin="round"/></svg>
\ No newline at end of file
diff --git a/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-text-ts.svg b/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-text-ts.svg
index 83b3e976c7eb..77cb952b32aa 100644
--- a/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-text-ts.svg
+++ b/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-text-ts.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 0v16h12V4l-4-4zm8 0z" fill="#ff8700" stroke="#b9b9b9" stroke-width="0" stroke-linejoin="round"/><path d="M10 3.98V0l4 4z" fill="#fff" stroke-width="0" stroke-linejoin="round" opacity=".65"/><path d="M14 4.024V9l-4-5z" opacity=".15" stroke-width="0" stroke-linejoin="round"/><g fill="#fff"><path d="M9.54 11.11a.835.835 0 0 1-.256.036c-.772 0-1.906-2.697-1.906-3.595 0-.33.079-.44.189-.535-.945.11-2.079.457-2.441.898-.079.11-.126.283-.126.503C5 9.82 6.496 13 7.551 13c.488 0 1.312-.803 1.989-1.89M9.047 6.921c.976 0 1.953.158 1.953.709 0 1.118-.709 2.473-1.07 2.473-.646 0-1.45-1.796-1.45-2.693 0-.41.158-.489.567-.489"/></g></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#FF8700" d="M14 16H2V0h9l3 3z"/><path opacity=".75" fill="#FFF" d="M14 3h-3V0z"/><path opacity=".15" d="M14 3v3l-3-3z"/><g fill="#FFF"><path d="M9.5 11.1h-.3c-.8 0-1.9-2.7-1.9-3.6 0-.3.1-.4.2-.5-.9.2-2 .5-2.4 1-.1.1-.1.2-.1.5C5 9.9 6.5 13 7.6 13c.4 0 1.3-.8 1.9-1.9M9 7c1 0 2 .2 2 .7 0 1.1-.7 2.5-1.1 2.5-.6 0-1.4-1.8-1.4-2.7 0-.5.1-.5.5-.5"/></g></svg>
\ No newline at end of file
diff --git a/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-text-typoscript.svg b/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-text-typoscript.svg
index 83b3e976c7eb..77cb952b32aa 100644
--- a/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-text-typoscript.svg
+++ b/typo3/sysext/core/Resources/Public/Icons/T3Icons/mimetypes/mimetypes-text-typoscript.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 0v16h12V4l-4-4zm8 0z" fill="#ff8700" stroke="#b9b9b9" stroke-width="0" stroke-linejoin="round"/><path d="M10 3.98V0l4 4z" fill="#fff" stroke-width="0" stroke-linejoin="round" opacity=".65"/><path d="M14 4.024V9l-4-5z" opacity=".15" stroke-width="0" stroke-linejoin="round"/><g fill="#fff"><path d="M9.54 11.11a.835.835 0 0 1-.256.036c-.772 0-1.906-2.697-1.906-3.595 0-.33.079-.44.189-.535-.945.11-2.079.457-2.441.898-.079.11-.126.283-.126.503C5 9.82 6.496 13 7.551 13c.488 0 1.312-.803 1.989-1.89M9.047 6.921c.976 0 1.953.158 1.953.709 0 1.118-.709 2.473-1.07 2.473-.646 0-1.45-1.796-1.45-2.693 0-.41.158-.489.567-.489"/></g></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#FF8700" d="M14 16H2V0h9l3 3z"/><path opacity=".75" fill="#FFF" d="M14 3h-3V0z"/><path opacity=".15" d="M14 3v3l-3-3z"/><g fill="#FFF"><path d="M9.5 11.1h-.3c-.8 0-1.9-2.7-1.9-3.6 0-.3.1-.4.2-.5-.9.2-2 .5-2.4 1-.1.1-.1.2-.1.5C5 9.9 6.5 13 7.6 13c.4 0 1.3-.8 1.9-1.9M9 7c1 0 2 .2 2 .7 0 1.1-.7 2.5-1.1 2.5-.6 0-1.4-1.8-1.4-2.7 0-.5.1-.5.5-.5"/></g></svg>
\ No newline at end of file
diff --git a/typo3/sysext/core/Resources/Public/Icons/T3Icons/overlay/overlay-endtime.svg b/typo3/sysext/core/Resources/Public/Icons/T3Icons/overlay/overlay-endtime.svg
new file mode 100644
index 000000000000..bb016b5c0fef
--- /dev/null
+++ b/typo3/sysext/core/Resources/Public/Icons/T3Icons/overlay/overlay-endtime.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 11"><circle fill="#C83C3C" cx="5.5" cy="5.5" r="5.5"/><path opacity=".2" d="M5.5 1C7.981 1 10 3.019 10 5.5S7.981 10 5.5 10 1 7.981 1 5.5 3.019 1 5.5 1m0-1a5.5 5.5 0 1 0 0 11 5.5 5.5 0 1 0 0-11z"/><path fill="#FFF" d="M5 2h1v4H5z"/><path fill="#FFF" d="M5 5h3v1H5z"/></svg>
\ No newline at end of file
-- 
GitLab