diff --git a/app/Providers/FeatureServiceProvider.php b/app/Providers/FeatureServiceProvider.php index 002bd0bd..fe49ef64 100644 --- a/app/Providers/FeatureServiceProvider.php +++ b/app/Providers/FeatureServiceProvider.php @@ -77,7 +77,7 @@ private function getFeatures(): array // 'title' => 'Example Feature', // 'description' => 'Description of the example feature.', // 'group' => 'General', - // 'icon' => 'heroicon-o-beaker', + // 'icon' => 'hugeicons-test-tube-01', // ], ]; } diff --git a/app/View/Components/Partials/FlashMessage.php b/app/View/Components/Partials/FlashMessage.php index ee378656..24e0087d 100644 --- a/app/View/Components/Partials/FlashMessage.php +++ b/app/View/Components/Partials/FlashMessage.php @@ -98,10 +98,10 @@ public function buttonClasses(): string public function icon(): string { return match ($this->type) { - 'success' => 'heroicon-o-check-circle', - 'warning' => 'heroicon-o-exclamation-triangle', - 'error' => 'heroicon-o-x-circle', - default => 'heroicon-o-information-circle', + 'success' => 'hugeicons-checkmark-circle-02', + 'warning' => 'hugeicons-alert-02', + 'error' => 'hugeicons-cancel-circle', + default => 'hugeicons-information-circle', }; } } diff --git a/composer.json b/composer.json index ace30142..1732b146 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "license": "MIT", "require": { "php": "^8.2", - "blade-ui-kit/blade-heroicons": "^2.3", + "afatmustafa/blade-hugeicons": "^0.0.3", "danharrin/livewire-rate-limiting": "^1.3", "diglactic/laravel-breadcrumbs": "^9.0", "jenssegers/agent": "^2.6", diff --git a/composer.lock b/composer.lock index caa8555f..beb33a78 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,69 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a43dbeed5132f6d849891006d052a382", + "content-hash": "bd1e55e32d50cb02370e42d9da42d745", "packages": [ + { + "name": "afatmustafa/blade-hugeicons", + "version": "v0.0.3", + "source": { + "type": "git", + "url": "https://github.com/afatmustafa/blade-hugeicons.git", + "reference": "9fc946c2d9df901a46e891074a228a16b5834e1b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/afatmustafa/blade-hugeicons/zipball/9fc946c2d9df901a46e891074a228a16b5834e1b", + "reference": "9fc946c2d9df901a46e891074a228a16b5834e1b", + "shasum": "" + }, + "require": { + "blade-ui-kit/blade-icons": "^1.1", + "illuminate/support": "^10.0|^11.0", + "php": "^8.1" + }, + "require-dev": { + "orchestra/testbench": "^8.0|^9.0", + "phpunit/phpunit": "^10.0|^11.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Afatmustafa\\HugeIcons\\BladeHugeIconsServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Afatmustafa\\HugeIcons\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mustafa Afat", + "email": "mustafa@afat.me", + "homepage": "https://afat.me", + "role": "Developer" + } + ], + "description": "A package to easily make use of Hugeicons(Free version) in your Laravel Blade views.", + "homepage": "https://github.com/afatmustafa/blade-hugeicons", + "keywords": [ + "Hugeicons", + "blade", + "laravel" + ], + "support": { + "issues": "https://github.com/afatmustafa/blade-hugeicons/issues", + "source": "https://github.com/afatmustafa/blade-hugeicons/tree/v0.0.3" + }, + "time": "2024-05-31T06:37:08+00:00" + }, { "name": "aws/aws-crt-php", "version": "v1.2.6", @@ -212,75 +273,6 @@ }, "time": "2024-04-18T11:16:25+00:00" }, - { - "name": "blade-ui-kit/blade-heroicons", - "version": "2.4.0", - "source": { - "type": "git", - "url": "https://github.com/blade-ui-kit/blade-heroicons.git", - "reference": "a7c377a4ef88cd54712e3e15cbed30446820da0b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/blade-ui-kit/blade-heroicons/zipball/a7c377a4ef88cd54712e3e15cbed30446820da0b", - "reference": "a7c377a4ef88cd54712e3e15cbed30446820da0b", - "shasum": "" - }, - "require": { - "blade-ui-kit/blade-icons": "^1.6", - "illuminate/support": "^9.0|^10.0|^11.0", - "php": "^8.0" - }, - "require-dev": { - "orchestra/testbench": "^7.0|^8.0|^9.0", - "phpunit/phpunit": "^9.0|^10.5|^11.0" - }, - "type": "library", - "extra": { - "laravel": { - "providers": [ - "BladeUI\\Heroicons\\BladeHeroiconsServiceProvider" - ] - } - }, - "autoload": { - "psr-4": { - "BladeUI\\Heroicons\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Dries Vints", - "homepage": "https://driesvints.com" - } - ], - "description": "A package to easily make use of Heroicons in your Laravel Blade views.", - "homepage": "https://github.com/blade-ui-kit/blade-heroicons", - "keywords": [ - "Heroicons", - "blade", - "laravel" - ], - "support": { - "issues": "https://github.com/blade-ui-kit/blade-heroicons/issues", - "source": "https://github.com/blade-ui-kit/blade-heroicons/tree/2.4.0" - }, - "funding": [ - { - "url": "https://github.com/sponsors/driesvints", - "type": "github" - }, - { - "url": "https://www.paypal.com/paypalme/driesvints", - "type": "paypal" - } - ], - "time": "2024-07-16T07:00:01+00:00" - }, { "name": "blade-ui-kit/blade-icons", "version": "1.7.1", diff --git a/resources/views/account/partials/sidebar.blade.php b/resources/views/account/partials/sidebar.blade.php index 061f08a6..04b3a7a9 100644 --- a/resources/views/account/partials/sidebar.blade.php +++ b/resources/views/account/partials/sidebar.blade.php @@ -7,7 +7,7 @@
  • - @svg('heroicon-o-user', 'h-5 w-5 mr-2') + @svg('hugeicons-user', 'h-5 w-5 mr-2') {{ __('My Profile') }} @@ -15,7 +15,7 @@
  • - @svg('heroicon-o-code-bracket', 'h-5 w-5 mr-2') + @svg('hugeicons-ticket-02', 'h-5 w-5 mr-2') {{ __('API Tokens') }} @@ -23,7 +23,7 @@
  • - @svg('heroicon-o-puzzle-piece', 'h-5 w-5 mr-2') + @svg('hugeicons-puzzle', 'h-5 w-5 mr-2') {{ __('Connections') }} @@ -36,7 +36,7 @@
  • - @svg('heroicon-o-lock-closed', 'h-5 w-5 mr-2') + @svg('hugeicons-square-lock-02', 'h-5 w-5 mr-2') {{ __('Two-Factor Auth') }} @@ -45,7 +45,7 @@
  • - @svg('heroicon-o-globe-alt', 'h-5 w-5 mr-2') + @svg('hugeicons-gps-signal-01', 'h-5 w-5 mr-2') {{ __('Active Sessions') }} @@ -59,7 +59,7 @@
  • - @svg('heroicon-o-tag', 'h-5 w-5 mr-2') + @svg('hugeicons-tags', 'h-5 w-5 mr-2') {{ __('Manage Tags') }} @@ -67,7 +67,7 @@
  • - @svg('heroicon-o-bell', 'h-5 w-5 mr-2') + @svg('hugeicons-notification-02', 'h-5 w-5 mr-2') {{ __('Notifications') }} @@ -75,7 +75,7 @@
  • - @svg('heroicon-o-bell-snooze', 'h-5 w-5 mr-2') + @svg('hugeicons-notification-snooze-02', 'h-5 w-5 mr-2') {{ __('Quiet Mode') }} @@ -83,7 +83,7 @@
  • - @svg('heroicon-o-beaker', 'h-5 w-5 mr-2') + @svg('hugeicons-test-tube-01', 'h-5 w-5 mr-2') {{ __('Experiments') }} @@ -96,7 +96,7 @@
  • - @svg('heroicon-o-lifebuoy', 'h-5 w-5 mr-2') + @svg('hugeicons-mentoring', 'h-5 w-5 mr-2') {{ __('Get Help') }} @@ -104,7 +104,7 @@
  • - @svg('heroicon-o-trash', 'h-5 w-5 mr-2') + @svg('hugeicons-user-remove-01', 'h-5 w-5 mr-2') {{ __('Delete Account') }} diff --git a/resources/views/components/auth-session-error.blade.php b/resources/views/components/auth-session-error.blade.php index b2d07d17..e404d495 100644 --- a/resources/views/components/auth-session-error.blade.php +++ b/resources/views/components/auth-session-error.blade.php @@ -2,7 +2,7 @@ @if ($loginError)
    merge(['class' => 'font-medium text-sm text-red-600 dark:text-red-400 py-2 px-2 border border-red-200 bg-red-50 rounded-lg text-center']) }}> - @svg('heroicon-o-exclamation-triangle', 'w-5 h-5 inline-block me-2') + @svg('hugeicons-alert-02', 'w-5 h-5 inline-block me-2') {{ $loginError }}
    @endif diff --git a/resources/views/components/chart-card.blade.php b/resources/views/components/chart-card.blade.php index 2817c947..9ce71895 100644 --- a/resources/views/components/chart-card.blade.php +++ b/resources/views/components/chart-card.blade.php @@ -1,5 +1,5 @@ @props([ - 'icon' => 'heroicon-o-chart-bar', + 'icon' => 'hugeicons-presentation-bar-chart-01', 'title', 'description', ]) diff --git a/resources/views/components/form-wrapper.blade.php b/resources/views/components/form-wrapper.blade.php index 5832051e..8f643890 100644 --- a/resources/views/components/form-wrapper.blade.php +++ b/resources/views/components/form-wrapper.blade.php @@ -10,7 +10,7 @@ @if (isset($icon)) @else - @svg('heroicon-o-server', ['class' => $iconClass]) + @svg('hugeicons-information-circle', ['class' => $iconClass]) @endif
    diff --git a/resources/views/components/notification-stream-form.blade.php b/resources/views/components/notification-stream-form.blade.php index c27bfc40..31f386a0 100644 --- a/resources/views/components/notification-stream-form.blade.php +++ b/resources/views/components/notification-stream-form.blade.php @@ -7,7 +7,7 @@ {{ __('Add or update a Notification Stream.') }} - heroicon-o-bell + hugeicons-notification-02
    diff --git a/resources/views/components/partials/flash-message.blade.php b/resources/views/components/partials/flash-message.blade.php index 0b192789..399f37fb 100644 --- a/resources/views/components/partials/flash-message.blade.php +++ b/resources/views/components/partials/flash-message.blade.php @@ -21,7 +21,7 @@ class="border-l-4 p-4 rounded-r-lg shadow-md {{ $alertClasses() }}"
    diff --git a/resources/views/components/responsive-theme-switcher.blade.php b/resources/views/components/responsive-theme-switcher.blade.php index 014a87ca..2d177867 100644 --- a/resources/views/components/responsive-theme-switcher.blade.php +++ b/resources/views/components/responsive-theme-switcher.blade.php @@ -28,7 +28,7 @@ class="px-4 py-3 border-t border-gray-700" :class="{'bg-primary-600': theme === 'light', 'bg-gray-600': theme !== 'light'}" class="flex-1 px-3 py-2 rounded-md text-sm font-medium text-white transition-colors duration-200" > - @svg('heroicon-o-sun', 'w-5 h-5 mx-auto') + @svg('hugeicons-sun-02', 'w-5 h-5 mx-auto') {{ __('Light') }}
    diff --git a/resources/views/components/select.blade.php b/resources/views/components/select.blade.php index c8dec878..ad21fcb2 100644 --- a/resources/views/components/select.blade.php +++ b/resources/views/components/select.blade.php @@ -32,7 +32,7 @@ @if ($errors->has($name))
    - @svg('heroicon-o-exclamation-triangle', ['class' => 'w-5 h-5 text-red-600']) + @svg('hugeicons-alert-02', ['class' => 'w-5 h-5 text-red-600'])
    @endif diff --git a/resources/views/components/stat-card.blade.php b/resources/views/components/stat-card.blade.php index 51748b86..a1596c2f 100644 --- a/resources/views/components/stat-card.blade.php +++ b/resources/views/components/stat-card.blade.php @@ -1,5 +1,5 @@ @props([ - 'icon' => 'heroicon-o-question-mark-circle', + 'icon' => 'hugeicons-information-circle', 'title', 'description', ]) diff --git a/resources/views/components/text-input.blade.php b/resources/views/components/text-input.blade.php index dc1c19c6..589698e2 100644 --- a/resources/views/components/text-input.blade.php +++ b/resources/views/components/text-input.blade.php @@ -15,7 +15,7 @@ @if ($errors->has($name))
    - @svg('heroicon-o-exclamation-triangle', ['class' => 'w-5 h-5 text-red-600']) + @svg('hugeicons-alert-02', ['class' => 'w-5 h-5 text-red-600'])
    @endif diff --git a/resources/views/components/textarea.blade.php b/resources/views/components/textarea.blade.php index db427275..9e357cfb 100644 --- a/resources/views/components/textarea.blade.php +++ b/resources/views/components/textarea.blade.php @@ -31,7 +31,7 @@ @if ($hasError)
    - @svg('heroicon-o-exclamation-triangle', ['class' => 'w-5 h-5 text-red-600']) + @svg('hugeicons-alert-02', ['class' => 'w-5 h-5 text-red-600'])
    @endif diff --git a/resources/views/components/theme-switcher.blade.php b/resources/views/components/theme-switcher.blade.php index eca09886..b4184b01 100644 --- a/resources/views/components/theme-switcher.blade.php +++ b/resources/views/components/theme-switcher.blade.php @@ -4,15 +4,22 @@ class="mr-2.5 flex items-center text-sm font-medium text-gray-50 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out" > {{ __('Toggle theme') }} - - + + + - - + + + - - + + + + + + + @@ -23,7 +30,7 @@ class="mr-2.5 flex items-center text-sm font-medium text-gray-50 hover:text-gray {{ __('Choose your visual style') }} - heroicon-o-swatch + hugeicons-swatch
    @@ -89,9 +96,9 @@ function setupThemeSwitcher() { }, getIconPath(icon) { const paths = { - sun: 'M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z', - moon: 'M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z', - 'computer-desktop': 'M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z' + sun: 'M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z M12 2C11.6227 2.33333 11.0945 3.2 12 4M12 20C12.3773 20.3333 12.9055 21.2 12 22M19.5 4.50271C18.9685 4.46982 17.9253 4.72293 18.0042 5.99847M5.49576 17.5C5.52865 18.0315 5.27555 19.0747 4 18.9958M5.00271 4.5C4.96979 5.03202 5.22315 6.0763 6.5 5.99729M18 17.5026C18.5315 17.4715 19.5747 17.7108 19.4958 18.9168M22 12C21.6667 11.6227 20.8 11.0945 20 12M4 11.5C3.66667 11.8773 2.8 12.4055 2 11.5', + moon: 'M21.5 14.0784C20.3003 14.7189 18.9301 15.0821 17.4751 15.0821C12.7491 15.0821 8.91792 11.2509 8.91792 6.52485C8.91792 5.06986 9.28105 3.69968 9.92163 2.5C5.66765 3.49698 2.5 7.31513 2.5 11.8731C2.5 17.1899 6.8101 21.5 12.1269 21.5C16.6849 21.5 20.503 18.3324 21.5 14.0784Z', + 'computer-desktop': 'M14 2H10C6.72077 2 5.08116 2 3.91891 2.81382C3.48891 3.1149 3.1149 3.48891 2.81382 3.91891C2 5.08116 2 6.72077 2 10C2 13.2792 2 14.9188 2.81382 16.0811C3.1149 16.5111 3.48891 16.8851 3.91891 17.1862C5.08116 18 6.72077 18 10 18H14C17.2792 18 18.9188 18 20.0811 17.1862C20.5111 16.8851 20.8851 16.5111 21.1862 16.0811C22 14.9188 22 13.2792 22 10C22 6.72077 22 5.08116 21.1862 3.91891C20.8851 3.48891 20.5111 3.1149 20.0811 2.81382C18.9188 2 17.2792 2 14 2Z M11 15H13 M14.5 22L14.1845 21.5811C13.4733 20.6369 13.2969 19.1944 13.7468 18M9.5 22L9.8155 21.5811C10.5267 20.6369 10.7031 19.1944 10.2532 18 M7 22H17' }; return paths[icon] || ''; } diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index ed0c69bd..8efb4ae8 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -47,7 +47,7 @@ class="text-gray-600 dark:text-gray-400 mt-1">
    @if (config('app.env') === 'local') - @svg('heroicon-s-beaker', ['class' => 'h-3 w-3 mr-1']) + @svg('hugeicons-laptop', ['class' => 'h-3 w-3 mr-1']) {{ __('Local') }} @endif @if (config('app.debug')) - @svg('heroicon-s-bug-ant', ['class' => 'h-3 w-3 mr-1']) + @svg('hugeicons-bug-01', ['class' => 'h-3 w-3 mr-1']) {{ __('Debug') }} @endif @@ -131,19 +131,19 @@