Skip to content

Commit

Permalink
Code Improvements (#235)
Browse files Browse the repository at this point in the history
* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* Apply fixes from StyleCI

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

---------

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
  • Loading branch information
crynobone and StyleCIBot authored Jul 12, 2024
1 parent 5cb5306 commit ea202a0
Show file tree
Hide file tree
Showing 14 changed files with 351 additions and 108 deletions.
2 changes: 1 addition & 1 deletion config/nova.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Laravel\Nova\Http\Middleware\Authorize;
use Laravel\Nova\Http\Middleware\BootTools;
use Laravel\Nova\Http\Middleware\DispatchServingNovaEvent;
use Laravel\Nova\Http\Middleware\EnsureEmailIsVerified;
// use Laravel\Nova\Http\Middleware\EnsureEmailIsVerified;
use Laravel\Nova\Http\Middleware\HandleInertiaRequests;

return [
Expand Down
27 changes: 27 additions & 0 deletions nova-components/IconsViewer/canvas.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
preset: package

namespace: Otwell\IconsViewer
user-auth-model: Illuminate\Foundation\Auth\User

paths:
src: src
resource: resources

factory:
path: database/factories

migration:
path: database/migrations
prefix: ''

console:
namespace: Otwell\IconsViewer\Console

model:
namespace: Otwell\IconsViewer\Models

provider:
namespace: Otwell\IconsViewer

testing:
namespace: Otwell\IconsViewer\Tests
6 changes: 4 additions & 2 deletions nova-components/IconsViewer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
],
"license": "MIT",
"require": {
"php": "^8.1"
"php": "^8.1",
"illuminate/support": "^10.0"
},
"require-dev": {
"laravel/nova": "*"
"laravel/nova": "*",
"orchestra/workbench": "^8.5"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion nova-components/IconsViewer/dist/js/tool.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nova-components/IconsViewer/heroicons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
["academic-cap","adjustments-horizontal","adjustments-vertical","archive-box","archive-box-arrow-down","archive-box-x-mark","arrow-down","arrow-down-circle","arrow-down-left","arrow-down-on-square","arrow-down-on-square-stack","arrow-down-right","arrow-down-tray","arrow-left","arrow-left-circle","arrow-left-end-on-rectangle","arrow-left-on-rectangle","arrow-left-start-on-rectangle","arrow-long-down","arrow-long-left","arrow-long-right","arrow-long-up","arrow-path","arrow-path-rounded-square","arrow-right","arrow-right-circle","arrow-right-end-on-rectangle","arrow-right-on-rectangle","arrow-right-start-on-rectangle","arrow-small-down","arrow-small-left","arrow-small-right","arrow-small-up","arrow-top-right-on-square","arrow-trending-down","arrow-trending-up","arrow-turn-down-left","arrow-turn-down-right","arrow-turn-left-down","arrow-turn-left-up","arrow-turn-right-down","arrow-turn-right-up","arrow-turn-up-left","arrow-turn-up-right","arrow-up","arrow-up-circle","arrow-up-left","arrow-up-on-square","arrow-up-on-square-stack","arrow-up-right","arrow-up-tray","arrow-uturn-down","arrow-uturn-left","arrow-uturn-right","arrow-uturn-up","arrows-pointing-in","arrows-pointing-out","arrows-right-left","arrows-up-down","at-symbol","backspace","backward","banknotes","bars-arrow-down","bars-arrow-up","bars2","bars3","bars3-bottom-left","bars3-bottom-right","bars3-center-left","bars4","battery0","battery100","battery50","beaker","bell","bell-alert","bell-slash","bell-snooze","bold","bolt","bolt-slash","book-open","bookmark","bookmark-slash","bookmark-square","briefcase","bug-ant","building-library","building-office","building-office2","building-storefront","cake","calculator","calendar","calendar-date-range","calendar-days","camera","chart-bar","chart-bar-square","chart-pie","chat-bubble-bottom-center","chat-bubble-bottom-center-text","chat-bubble-left","chat-bubble-left-ellipsis","chat-bubble-left-right","chat-bubble-oval-left","chat-bubble-oval-left-ellipsis","check","check-badge","check-circle","chevron-double-down","chevron-double-left","chevron-double-right","chevron-double-up","chevron-down","chevron-left","chevron-right","chevron-up","chevron-up-down","circle-stack","clipboard","clipboard-document","clipboard-document-check","clipboard-document-list","clock","cloud","cloud-arrow-down","cloud-arrow-up","code-bracket","code-bracket-square","cog","cog6-tooth","cog8-tooth","command-line","computer-desktop","cpu-chip","credit-card","cube","cube-transparent","currency-bangladeshi","currency-dollar","currency-euro","currency-pound","currency-rupee","currency-yen","cursor-arrow-rays","cursor-arrow-ripple","device-phone-mobile","device-tablet","divide","document","document-arrow-down","document-arrow-up","document-chart-bar","document-check","document-currency-bangladeshi","document-currency-dollar","document-currency-euro","document-currency-pound","document-currency-rupee","document-currency-yen","document-duplicate","document-magnifying-glass","document-minus","document-plus","document-text","ellipsis-horizontal","ellipsis-horizontal-circle","ellipsis-vertical","envelope","envelope-open","equals","exclamation-circle","exclamation-triangle","eye","eye-dropper","eye-slash","face-frown","face-smile","film","finger-print","fire","flag","folder","folder-arrow-down","folder-minus","folder-open","folder-plus","forward","funnel","gif","gift","gift-top","globe-alt","globe-americas","globe-asia-australia","globe-europe-africa","h1","h2","h3","hand-raised","hand-thumb-down","hand-thumb-up","hashtag","heart","home","home-modern","identification","inbox","inbox-arrow-down","inbox-stack","information-circle","italic","key","language","lifebuoy","light-bulb","link","link-slash","list-bullet","lock-closed","lock-open","magnifying-glass","magnifying-glass-circle","magnifying-glass-minus","magnifying-glass-plus","map","map-pin","megaphone","microphone","minus","minus-circle","minus-small","moon","musical-note","newspaper","no-symbol","numbered-list","paint-brush","paper-airplane","paper-clip","pause","pause-circle","pencil","pencil-square","percent-badge","phone","phone-arrow-down-left","phone-arrow-up-right","phone-x-mark","photo","play","play-circle","play-pause","plus","plus-circle","plus-small","power","presentation-chart-bar","presentation-chart-line","printer","puzzle-piece","qr-code","question-mark-circle","queue-list","radio","receipt-percent","receipt-refund","rectangle-group","rectangle-stack","rocket-launch","rss","scale","scissors","server","server-stack","share","shield-check","shield-exclamation","shopping-bag","shopping-cart","signal","signal-slash","slash","sparkles","speaker-wave","speaker-x-mark","square2-stack","square3-stack3-d","squares-plus","squares2-x2","star","stop","stop-circle","strikethrough","sun","swatch","table-cells","tag","ticket","trash","trophy","truck","tv","underline","user","user-circle","user-group","user-minus","user-plus","users","variable","video-camera","video-camera-slash","view-columns","viewfinder-circle","wallet","wifi","window","wrench","wrench-screwdriver","x-circle","x-mark"]
Loading

0 comments on commit ea202a0

Please sign in to comment.