File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
resources/views/components/sheet Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 44
55use FeatureNinja \Cva \ClassVarianceAuthority ;
66
7- class SheetCvaService
7+ class DialogCvaService
88{
99 public static function new (): ClassVarianceAuthority
1010 {
Original file line number Diff line number Diff line change 22 ' side' => ' right' ,
33] )
44
5- @inject (' sheet' , ' App\Services\SheetCvaService ' )
5+ @inject (' sheet' , ' App\Services\DialogCvaService ' )
66
77<dialog
88 x-ref =" __sheet"
Original file line number Diff line number Diff line change 1- <div {{ $attributes -> twMerge (' flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2' ) } } >
1+ <div {{ $attributes -> twMerge (' row-start-3 flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2' ) } } >
22 {{ $slot } }
33</div >
Original file line number Diff line number Diff line change 1- <div {{ $attributes -> twMerge (' ' ) } } >
1+ <div {{ $attributes -> twMerge (' row-start-2 ' ) } } >
22 {{ $slot } }
33</div >
Original file line number Diff line number Diff line change 55use App \Services \AlertCvaService ;
66use App \Services \BadgeCvaService ;
77use App \Services \ButtonCvaService ;
8- use App \Services \SheetCvaService ;
8+ use App \Services \DialogCvaService ;
99use Illuminate \Support \ServiceProvider ;
1010
1111class LaravelLuviServiceProvider extends ServiceProvider
@@ -52,7 +52,7 @@ public function register(): void
5252 $ this ->app ->singleton (AlertCvaService::class, fn () => AlertCvaService::new ());
5353 $ this ->app ->singleton (BadgeCvaService::class, fn () => BadgeCvaService::new ());
5454 $ this ->app ->singleton (ButtonCvaService::class, fn () => ButtonCvaService::new ());
55- $ this ->app ->singleton (SheetCvaService ::class, fn () => SheetCvaService ::new ());
55+ $ this ->app ->singleton (DialogCvaService ::class, fn () => DialogCvaService ::new ());
5656 }
5757
5858 public function boot (): void
@@ -86,7 +86,7 @@ public function boot(): void
8686 ], 'badge ' );
8787
8888 $ this ->publishes ([
89- __DIR__ .'/../app/Services/SheetCvaService .php ' => app_path ('Services/SheetCvaService .php ' ),
89+ __DIR__ .'/../app/Services/DialogCvaService .php ' => app_path ('Services/DialogCvaService .php ' ),
9090 ], 'sheet ' );
9191
9292 // plugins
You can’t perform that action at this time.
0 commit comments