From ffba5e2120c0ff74c518ecb99d82e2eb549ada82 Mon Sep 17 00:00:00 2001 From: "Joseph.Rawlings" Date: Sat, 6 Dec 2025 17:41:27 +0100 Subject: [PATCH] Icons --- composer.json | 1 + composer.lock | 73 ++++++++++++++++++++++++++++++++++++- config/blade-file-icons.php | 57 +++++++++++++++++++++++++++++ storage/logs/.gitignore | 0 4 files changed, 130 insertions(+), 1 deletion(-) create mode 100644 config/blade-file-icons.php mode change 100755 => 100644 storage/logs/.gitignore diff --git a/composer.json b/composer.json index 2afbabaf6..28e34b8f1 100644 --- a/composer.json +++ b/composer.json @@ -29,6 +29,7 @@ "andreiio/blade-remix-icon": "^3.7", "barryvdh/laravel-dompdf": "^3.0", "blade-ui-kit/blade-heroicons": "^2.6", + "codeat3/blade-file-icons": "^1.10", "codeat3/blade-vaadin-icons": "^1.6", "endroid/qr-code": "^5.0", "filament/filament": "^3.2", diff --git a/composer.lock b/composer.lock index 33af8777c..8cafaafe5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "4e95de6187b58e058fc40e5da24ba843", + "content-hash": "87892e42d90f8be8e4862d5476d2bd0a", "packages": [ { "name": "akaunting/laravel-apexcharts", @@ -652,6 +652,77 @@ ], "time": "2024-02-09T16:56:22+00:00" }, + { + "name": "codeat3/blade-file-icons", + "version": "1.10.0", + "source": { + "type": "git", + "url": "https://github.com/codeat3/blade-file-icons.git", + "reference": "898c296faa86046140527c7fcef307d943a75113" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/codeat3/blade-file-icons/zipball/898c296faa86046140527c7fcef307d943a75113", + "reference": "898c296faa86046140527c7fcef307d943a75113", + "shasum": "" + }, + "require": { + "blade-ui-kit/blade-icons": "^1.1", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0|^12.0", + "php": "^7.4|^8.0" + }, + "require-dev": { + "codeat3/blade-icon-generation-helpers": "^0.10", + "codeat3/phpcs-styles": "^1.0", + "orchestra/testbench": "^6.0|^7.0|^8.0|^9.0|^10.0", + "phpunit/phpunit": "^9.0|^10.5|^11.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Codeat3\\BladeFileIcons\\BladeFileIconsServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Codeat3\\BladeFileIcons\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Swapnil Sarwe", + "homepage": "https://swapnilsarwe.com" + }, + { + "name": "Dries Vints", + "homepage": "https://driesvints.com" + } + ], + "description": "A package to easily make use of \"File Icons\" in your Laravel Blade views.", + "homepage": "https://github.com/codeat3/blade-file-icons", + "keywords": [ + "blade", + "fileicons", + "laravel" + ], + "support": { + "issues": "https://github.com/codeat3/blade-file-icons/issues", + "source": "https://github.com/codeat3/blade-file-icons/tree/1.10.0" + }, + "funding": [ + { + "url": "https://github.com/swapnilsarwe", + "type": "github" + } + ], + "time": "2025-02-25T09:43:58+00:00" + }, { "name": "codeat3/blade-vaadin-icons", "version": "1.6.0", diff --git a/config/blade-file-icons.php b/config/blade-file-icons.php new file mode 100644 index 000000000..65e1757f7 --- /dev/null +++ b/config/blade-file-icons.php @@ -0,0 +1,57 @@ + 'fileicon', + + /* + |----------------------------------------------------------------- + | Fallback Icon + |----------------------------------------------------------------- + | + | This config option allows you to define a fallback + | icon when an icon in this set cannot be found. + | + */ + + 'fallback' => '', + + /* + |----------------------------------------------------------------- + | Default Set Classes + |----------------------------------------------------------------- + | + | This config option allows you to define some classes which + | will be applied by default to all icons within this set. + | + */ + + 'class' => '', + + /* + |----------------------------------------------------------------- + | Default Set Attributes + |----------------------------------------------------------------- + | + | This config option allows you to define some attributes which + | will be applied by default to all icons within this set. + | + */ + + 'attributes' => [ + // 'width' => 50, + // 'height' => 50, + ], + +]; diff --git a/storage/logs/.gitignore b/storage/logs/.gitignore old mode 100755 new mode 100644