Skip to content

Commit 7cad1e6

Browse files
committed
fix namespace issues
1 parent 68fd8e9 commit 7cad1e6

6 files changed

+224
-7
lines changed

.idea/blade-lucide-icons.iml

+105-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

+113
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"autoload": {
2222
"psr-4": {
23-
"BladeUI\\LucideIcons\\": "src"
23+
"MallardDuck\\LucideIcons\\": "src"
2424
}
2525
},
2626
"autoload-dev": {
@@ -31,7 +31,7 @@
3131
"extra": {
3232
"laravel": {
3333
"providers": [
34-
"BladeUI\\LucideIcons\\BladeLucideIconsServiceProvider"
34+
"MallardDuck\\LucideIcons\\BladeLucideIconsServiceProvider"
3535
]
3636
}
3737
},

config/blade-heroicons.php renamed to config/blade-lucide-icons.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
|
1414
*/
1515

16-
'prefix' => 'heroicon',
16+
'prefix' => 'lucide',
1717

1818
/*
1919
|-----------------------------------------------------------------

src/BladeHeroiconsServiceProvider.php renamed to src/BladeLucideIconsServiceProvider.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace BladeUI\LucideIcons;
5+
namespace MallardDuck\LucideIcons;
66

77
use BladeUI\Icons\Factory;
88
use Illuminate\Contracts\Container\Container;
@@ -17,7 +17,7 @@ public function register(): void
1717
$this->callAfterResolving(Factory::class, function (Factory $factory, Container $container) {
1818
$config = $container->make('config')->get('blade-lucide-icons', []);
1919

20-
$factory->add('heroicons', array_merge(['path' => __DIR__.'/../resources/svg'], $config));
20+
$factory->add('lucide', array_merge(['path' => __DIR__.'/../resources/svg'], $config));
2121
});
2222
}
2323

tests/CompilesIconsTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Tests;
66

7-
use BladeUI\LucideIcons\BladeLucideIconsServiceProvider;
7+
use MallardDuck\LucideIcons\BladeLucideIconsServiceProvider;
88
use BladeUI\Icons\BladeIconsServiceProvider;
99
use Orchestra\Testbench\TestCase;
1010

0 commit comments

Comments
 (0)