File tree Expand file tree Collapse file tree 6 files changed +28
-8
lines changed
Expand file tree Collapse file tree 6 files changed +28
-8
lines changed Original file line number Diff line number Diff line change 6262 'inline-entry-label-class ' => 'col-sm-6 col-md-4 ' ,
6363 'inline-entry-class ' => 'col-sm-6 col-md-8 ' ,
6464 'search-icon ' => 'zmdi-search ' ,
65+ 'no-items-icon ' => 'zmdi-file ' ,
6566 ]
6667 ],
6768
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://laravel-ide.com/schema/laravel-ide-v2.json" ,
3+ "completions" : [
4+ {
5+ "complete" : " configKey" ,
6+ "options" : {
7+ "prefix" : " forms.frameworks.bootstrap-5"
8+ },
9+ "condition" : [
10+ {
11+ "methodNames" : [" frameworkConfig" ],
12+ "classParentFqn" : [" \\ Javaabu\\ Forms\\ Views\\ Components\\ Component" ],
13+ "parameters" : [1 ]
14+ }
15+ ]
16+ }
17+ ]
18+ }
Original file line number Diff line number Diff line change @@ -329,11 +329,11 @@ public function it_can_render_bootstrap_5_file_inputs()
329329
330330 $ this ->seeElement ('a.fileinput-filelink[href="/storage/1/some-cool-image.jpg"] ' )
331331 ->within ('a.fileinput-filelink ' , function () {
332- $ this ->seeElement ('i.fa.fa-arrow-to-bottom ' );
332+ $ this ->seeElement ('i.fa-regular .fa-arrow-to-bottom ' );
333333 })
334334 ->seeElement ('button.btn-dismiss ' )
335335 ->within ('button.btn-dismiss ' , function () {
336- $ this ->seeElement ('i.fa.fa-close ' );
336+ $ this ->seeElement ('i.fa-regular .fa-close ' );
337337 });
338338 });
339339 });
@@ -358,7 +358,7 @@ public function it_can_render_file_upload_inputs()
358358 ->within ('div.fileinput ' , function () {
359359 $ this ->seeElement ('.upload-btn ' )
360360 ->within ('.upload-btn ' , function () {
361- $ this ->seeElement ('i.fa.fa-arrow-to-top ' )
361+ $ this ->seeElement ('i.fa-regular .fa-arrow-to-top ' )
362362 ->seeText ('Upload file ' );
363363 });
364364 });
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function it_can_render_bootstrap_5_image_inputs()
6969 })
7070 ->seeElement ('.fileinput-image-missing ' )
7171 ->within ('.fileinput-image-missing ' , function () {
72- $ this ->seeElement ('i.fa.fa-image ' );
72+ $ this ->seeElement ('i.fa-regular .fa-image ' );
7373 })
7474 ->seeElement ('button[data-dismiss="fileinput"] ' )
7575 ->seeInElement ('button[data-dismiss="fileinput"] ' , 'Remove ' )
@@ -138,7 +138,7 @@ public function it_can_render_image_upload_inputs()
138138 ->within ('div.fileinput ' , function () {
139139 $ this ->seeElement ('.upload-btn ' )
140140 ->within ('.upload-btn ' , function () {
141- $ this ->seeElement ('i.fa.fa-arrow-to-top ' )
141+ $ this ->seeElement ('i.fa-regular .fa-arrow-to-top ' )
142142 ->seeText ('Upload file ' );
143143 });
144144 });
Original file line number Diff line number Diff line change 77class NoItemsTest extends TestCase
88{
99 /** @test */
10- public function it_can_generated_bulk_actions_for_material_admin_26 ()
10+ public function it_can_display_no_items_card_for_material_admin_26 ()
1111 {
12+ $ this ->withoutExceptionHandling ();
1213 $ this ->setFrameworkMaterialAdmin26 ();
1314 $ this ->registerTestRoute ('no-items ' );
1415
@@ -21,7 +22,7 @@ public function it_can_generated_bulk_actions_for_material_admin_26()
2122 }
2223
2324 /** @test */
24- public function it_can_generated_bulk_actions_for_bootstrap_5 ()
25+ public function it_can_display_no_items_card_for_bootstrap_5 ()
2526 {
2627 $ this ->withoutExceptionHandling ();
2728 $ this ->setFrameworkBootstrap5 ();
Original file line number Diff line number Diff line change 11<x-forms::no-items
2- icon =" zmdi zmdi-file"
32 model-type =" activities"
43 :model =" \Javaabu\Forms\Tests\TestSupport\Models\Activity::class"
54 create-action =" /activities/create"
5+ show-create
66/>
You can’t perform that action at this time.
0 commit comments