Skip to content

Commit fb1c3a4

Browse files
committed
Bump TailwindCSS to V4
1 parent 4742de5 commit fb1c3a4

File tree

363 files changed

+2246
-3228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

363 files changed

+2246
-3228
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This <b>TallStack</b> application is build using :
2424
<li><a href="https://jetstream.laravel.com/" target="_blank">Laravel Jetstream</a> 5 (featuring <a href="https://jetstream.laravel.com/features/teams.html" target="_blank">Teams</a>)</li>
2525
<li><a href="https://livewire.laravel.com/" target="_blank">Livewire</a> 3</li>
2626
<li><a href="https://alpinejs.dev/" target="_blank">Alpine.js</a> 3</li>
27-
<li><a href="https://tailwindcss.com/" target="_blank">Tailwind CSS</a></li>
27+
<li><a href="https://tailwindcss.com/" target="_blank">Tailwind CSS</a> 4</li>
2828
<li><a href="https://tallstackui.com//" target="_blank">TallStackUI</a> 2 (featuring <a href="https://tabler.io/icons" target="_blank">Tabler Icons</a>)</li>
2929
<li><a href="https://filamentphp.com//" target="_blank">Laravel Filament</a> 3 (only <a href="https://filamentphp.com/docs/3.x/tables/installation" target="_blank">Table Builder</a>)</li>
3030
</ul>

_ide_helper.php

+62-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
/**
77
* A helper file for Laravel, to provide autocomplete information to your IDE
8-
* Generated for Laravel 11.42.1.
8+
* Generated for Laravel 11.43.2.
99
*
1010
* This file should not be included in your code, only analyzed by your IDE!
1111
*
@@ -11986,6 +11986,7 @@ public static function setDefaultDriver($name)
1198611986
* @method static \Illuminate\Process\PendingProcess options(array $options)
1198711987
* @method static \Illuminate\Contracts\Process\ProcessResult run(array|string|null $command = null, callable|null $output = null)
1198811988
* @method static \Illuminate\Process\InvokedProcess start(array|string|null $command = null, callable|null $output = null)
11989+
* @method static bool supportsTty()
1198911990
* @method static \Illuminate\Process\PendingProcess withFakeHandlers(array $fakeHandlers)
1199011991
* @method static \Illuminate\Process\PendingProcess|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
1199111992
* @method static \Illuminate\Process\PendingProcess|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null)
@@ -12648,6 +12649,19 @@ public static function pushed($job, $callback = null)
1264812649
return $instance->pushed($job, $callback);
1264912650
}
1265012651

12652+
/**
12653+
* Get all of the raw pushes matching a truth-test callback.
12654+
*
12655+
* @param null|\Closure(string, ?string, array): bool $callback
12656+
* @return \Illuminate\Support\Collection<int, RawPushType>
12657+
* @static
12658+
*/
12659+
public static function pushedRaw($callback = null)
12660+
{
12661+
/** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */
12662+
return $instance->pushedRaw($callback);
12663+
}
12664+
1265112665
/**
1265212666
* Determine if there are any stored jobs for a given class.
1265312667
*
@@ -12804,6 +12818,18 @@ public static function pushedJobs()
1280412818
return $instance->pushedJobs();
1280512819
}
1280612820

12821+
/**
12822+
* Get the payloads that were pushed raw.
12823+
*
12824+
* @return list<RawPushType>
12825+
* @static
12826+
*/
12827+
public static function rawPushes()
12828+
{
12829+
/** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */
12830+
return $instance->rawPushes();
12831+
}
12832+
1280712833
/**
1280812834
* Specify if jobs should be serialized and restored when being "pushed" to the queue.
1280912835
*
@@ -16329,6 +16355,7 @@ public static function flushMacros()
1632916355
* @method static \Illuminate\Routing\RouteRegistrar whereUuid(array|string $parameters)
1633016356
* @method static \Illuminate\Routing\RouteRegistrar whereIn(array|string $parameters, array $values)
1633116357
* @method static \Illuminate\Routing\RouteRegistrar as(string $value)
16358+
* @method static \Illuminate\Routing\RouteRegistrar can(\UnitEnum|string $ability, array|string $models = [])
1633216359
* @method static \Illuminate\Routing\RouteRegistrar controller(string $controller)
1633316360
* @method static \Illuminate\Routing\RouteRegistrar domain(\BackedEnum|string $value)
1633416361
* @method static \Illuminate\Routing\RouteRegistrar middleware(array|string|null $middleware)
@@ -28284,6 +28311,22 @@ public static function find($id, $columns = [])
2828428311
return $instance->find($id, $columns);
2828528312
}
2828628313

28314+
/**
28315+
* Find a sole model by its primary key.
28316+
*
28317+
* @param mixed $id
28318+
* @param array|string $columns
28319+
* @return TModel
28320+
* @throws \Illuminate\Database\Eloquent\ModelNotFoundException<TModel>
28321+
* @throws \Illuminate\Database\MultipleRecordsFoundException
28322+
* @static
28323+
*/
28324+
public static function findSole($id, $columns = [])
28325+
{
28326+
/** @var \Illuminate\Database\Eloquent\Builder $instance */
28327+
return $instance->findSole($id, $columns);
28328+
}
28329+
2828728330
/**
2828828331
* Find multiple models by their primary keys.
2828928332
*
@@ -29335,7 +29378,7 @@ public static function whereHas($relation, $callback = null, $operator = '>=', $
2933529378
/**
2933629379
* Add a relationship count / exists condition to the query with where clauses.
2933729380
*
29338-
* Also load the relationship with same condition.
29381+
* Also load the relationship with the same condition.
2933929382
*
2934029383
* @param string $relation
2934129384
* @param (\Closure(\Illuminate\Database\Eloquent\Builder<*>|\Illuminate\Database\Eloquent\Relations\Relation<*, *, *>): mixed)|null $callback
@@ -29486,7 +29529,7 @@ public static function whereHasMorph($relation, $types, $callback = null, $opera
2948629529
*
2948729530
* @template TRelatedModel of \Illuminate\Database\Eloquent\Model
2948829531
* @param \Illuminate\Database\Eloquent\Relations\MorphTo<TRelatedModel, *>|string $relation
29489-
* @param string|array<int, array> $types
29532+
* @param string|array<int, string> $types
2949029533
* @param (\Closure(\Illuminate\Database\Eloquent\Builder<TRelatedModel>, string): mixed)|null $callback
2949129534
* @param string $operator
2949229535
* @param int $count
@@ -29548,6 +29591,22 @@ public static function whereRelation($relation, $column, $operator = null, $valu
2954829591
return $instance->whereRelation($relation, $column, $operator, $value);
2954929592
}
2955029593

29594+
/**
29595+
* Add a basic where clause to a relationship query and eager-load the relationship with the same conditions.
29596+
*
29597+
* @param \Illuminate\Database\Eloquent\Relations\Relation<*, *, *>|string $relation
29598+
* @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column
29599+
* @param mixed $operator
29600+
* @param mixed $value
29601+
* @return \Illuminate\Database\Eloquent\Builder<static>
29602+
* @static
29603+
*/
29604+
public static function withWhereRelation($relation, $column, $operator = null, $value = null)
29605+
{
29606+
/** @var \Illuminate\Database\Eloquent\Builder $instance */
29607+
return $instance->withWhereRelation($relation, $column, $operator, $value);
29608+
}
29609+
2955129610
/**
2955229611
* Add an "or where" clause to a relationship query.
2955329612
*

app/Actions/Fortify/UpdateUserProfileInformation.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ public function update(User $user, array $input): void
4848
// store timezone and language in session
4949
// actual language switching wil be handled by App\Http\Middleware\Localization::class
5050
// -----------------------------------------------------------------------------------
51-
if ($input['timezone'] != session()->get('timezone')) {
51+
if ($input['timezone'] !== session()->get('timezone')) {
5252
session()->put('timezone', $input['timezone']);
5353
}
5454

55-
if ($input['language'] != session()->get('locale')) {
55+
if ($input['language'] !== session()->get('locale')) {
5656
session()->put('locale', $input['language']);
5757

5858
redirect('/user/profile');

app/Helpers/settingHelpers.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
if (! function_exists('settings')) {
46
function settings(?string $key = null, $default = null)
57
{

app/Http/Controllers/Back/PeopleController.php

+2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ public function editFamily(Person $person): View
114114

115115
public function editFiles(Person $person): View
116116
{
117+
abort_unless(auth()->user()->hasPermission('person:update'), 403, __('app.unauthorized_access'));
118+
117119
return view('back.people.edit.files', compact('person'));
118120
}
119121

app/Http/Controllers/Controller.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace App\Http\Controllers;
46

57
abstract class Controller

app/Livewire/Developer/People.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Filament\Tables;
1111
use Filament\Tables\Concerns\InteractsWithTable;
1212
use Filament\Tables\Contracts\HasTable;
13-
use Filament\Tables\Enums\FiltersLayout;
1413
use Filament\Tables\Filters\SelectFilter;
1514
use Filament\Tables\Grouping\Group;
1615
use Filament\Tables\Table;
@@ -118,7 +117,7 @@ public function table(Table $table): Table
118117
'f' => __('app.female'),
119118
])
120119
->label(__('person.sex')),
121-
], layout: FiltersLayout::AboveContent)
120+
])
122121
->actions([
123122
Tables\Actions\DeleteAction::make()
124123
->iconButton()

app/Livewire/Developer/Settings.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ public function resetSettings(): void
6464
public function isDirty(): bool
6565
{
6666
return
67-
$this->settingsForm->logAllQueries != (bool) $this->settings->get('log_all_queries') or
68-
$this->settingsForm->logAllQueriesSlow != $this->settings->get('log_all_queries_slow_threshold') or
69-
$this->settingsForm->logAllQueriesSlowThreshold != $this->logAllQueriesSlowThreshold or (bool) $this->settings->get('log_all_queries_slow') or
70-
$this->settingsForm->logAllQueriesNPlusOne != (bool) $this->settings->get('log_all_queries_nplusone');
67+
$this->settingsForm->logAllQueries !== (bool) $this->settings->get('log_all_queries') or
68+
$this->settingsForm->logAllQueriesSlow !== $this->settings->get('log_all_queries_slow_threshold') or
69+
$this->settingsForm->logAllQueriesSlowThreshold !== $this->logAllQueriesSlowThreshold or (bool) $this->settings->get('log_all_queries_slow') or
70+
$this->settingsForm->logAllQueriesNPlusOne !== (bool) $this->settings->get('log_all_queries_nplusone');
7171
}
7272

7373
/**

app/Livewire/Developer/Teams.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Filament\Tables;
1111
use Filament\Tables\Concerns\InteractsWithTable;
1212
use Filament\Tables\Contracts\HasTable;
13-
use Filament\Tables\Enums\FiltersLayout;
1413
use Filament\Tables\Filters\TernaryFilter;
1514
use Filament\Tables\Table;
1615
use Illuminate\View\View;
@@ -81,7 +80,7 @@ public function table(Table $table): Table
8180
TernaryFilter::make('personal_team')
8281
->label(__('team.team_personal') . '?')
8382
->default(false),
84-
], layout: FiltersLayout::AboveContent)
83+
])
8584
->defaultSort('name')
8685
->striped();
8786
}

app/Livewire/Developer/Users.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Filament\Tables;
1111
use Filament\Tables\Concerns\InteractsWithTable;
1212
use Filament\Tables\Contracts\HasTable;
13-
use Filament\Tables\Enums\FiltersLayout;
1413
use Filament\Tables\Filters\SelectFilter;
1514
use Filament\Tables\Filters\TernaryFilter;
1615
use Filament\Tables\Table;
@@ -120,7 +119,7 @@ public function table(Table $table): Table
120119
->options(array_flip(config('app.available_locales'))),
121120
TernaryFilter::make('is_developer')
122121
->label(__('user.developer') . '?'),
123-
], layout: FiltersLayout::AboveContent)
122+
])
124123
->actions([
125124
Tables\Actions\DeleteAction::make()
126125
->iconButton()

app/Livewire/People/Add/Child.php

+9-9
Original file line numberDiff line numberDiff line change
@@ -192,17 +192,17 @@ public function resetChild(): void
192192
public function isDirty(): bool
193193
{
194194
return
195-
$this->childForm->firstname != null or
196-
$this->childForm->surname != null or
197-
$this->childForm->birthname != null or
198-
$this->childForm->nickname != null or
195+
$this->childForm->firstname !== null or
196+
$this->childForm->surname !== null or
197+
$this->childForm->birthname !== null or
198+
$this->childForm->nickname !== null or
199199

200-
$this->childForm->sex != null or
201-
$this->childForm->gender_id != null or
200+
$this->childForm->sex !== null or
201+
$this->childForm->gender_id !== null or
202202

203-
$this->childForm->yob != null or
204-
$this->childForm->dob != null or
205-
$this->childForm->pob != null or
203+
$this->childForm->yob !== null or
204+
$this->childForm->dob !== null or
205+
$this->childForm->pob !== null or
206206

207207
$this->childForm->person_id;
208208
}

app/Livewire/People/Add/Father.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -156,16 +156,16 @@ public function resetFather(): void
156156
public function isDirty(): bool
157157
{
158158
return
159-
$this->fatherForm->firstname != null or
160-
$this->fatherForm->surname != null or
161-
$this->fatherForm->birthname != null or
162-
$this->fatherForm->nickname != null or
159+
$this->fatherForm->firstname !== null or
160+
$this->fatherForm->surname !== null or
161+
$this->fatherForm->birthname !== null or
162+
$this->fatherForm->nickname !== null or
163163

164-
$this->fatherForm->gender_id != null or
164+
$this->fatherForm->gender_id !== null or
165165

166-
$this->fatherForm->yob != null or
167-
$this->fatherForm->dob != null or
168-
$this->fatherForm->pob != null or
166+
$this->fatherForm->yob !== null or
167+
$this->fatherForm->dob !== null or
168+
$this->fatherForm->pob !== null or
169169

170170
$this->fatherForm->person_id;
171171
}

app/Livewire/People/Add/Mother.php

+8-8
Original file line numberDiff line numberDiff line change
@@ -156,16 +156,16 @@ public function resetMother(): void
156156
public function isDirty(): bool
157157
{
158158
return
159-
$this->motherForm->firstname != null or
160-
$this->motherForm->surname != null or
161-
$this->motherForm->birthname != null or
162-
$this->motherForm->nickname != null or
159+
$this->motherForm->firstname !== null or
160+
$this->motherForm->surname !== null or
161+
$this->motherForm->birthname !== null or
162+
$this->motherForm->nickname !== null or
163163

164-
$this->motherForm->gender_id != null or
164+
$this->motherForm->gender_id !== null or
165165

166-
$this->motherForm->yob != null or
167-
$this->motherForm->dob != null or
168-
$this->motherForm->pob != null or
166+
$this->motherForm->yob !== null or
167+
$this->motherForm->dob !== null or
168+
$this->motherForm->pob !== null or
169169

170170
$this->motherForm->person_id;
171171
}

app/Livewire/People/Add/Partner.php

+17-17
Original file line numberDiff line numberDiff line change
@@ -204,23 +204,23 @@ private function hasOverlap($start, $end): bool
204204
public function isDirty(): bool
205205
{
206206
return
207-
$this->partnerForm->firstname != null or
208-
$this->partnerForm->surname != null or
209-
$this->partnerForm->birthname != null or
210-
$this->partnerForm->nickname != null or
211-
212-
$this->partnerForm->sex != null or
213-
$this->partnerForm->gender_id != null or
214-
215-
$this->partnerForm->yob != null or
216-
$this->partnerForm->dob != null or
217-
$this->partnerForm->pob != null or
218-
219-
$this->partnerForm->person2_id != null or
220-
$this->partnerForm->date_start != null or
221-
$this->partnerForm->date_end != null or
222-
$this->partnerForm->is_married != false or
223-
$this->partnerForm->has_ended != false;
207+
$this->partnerForm->firstname !== null or
208+
$this->partnerForm->surname !== null or
209+
$this->partnerForm->birthname !== null or
210+
$this->partnerForm->nickname !== null or
211+
212+
$this->partnerForm->sex !== null or
213+
$this->partnerForm->gender_id !== null or
214+
215+
$this->partnerForm->yob !== null or
216+
$this->partnerForm->dob !== null or
217+
$this->partnerForm->pob !== null or
218+
219+
$this->partnerForm->person2_id !== null or
220+
$this->partnerForm->date_start !== null or
221+
$this->partnerForm->date_end !== null or
222+
$this->partnerForm->is_married !== false or
223+
$this->partnerForm->has_ended !== false;
224224
}
225225

226226
// ------------------------------------------------------------------------------

app/Livewire/People/Add/Person.php

+9-9
Original file line numberDiff line numberDiff line change
@@ -125,17 +125,17 @@ public function resetPerson(): void
125125
public function isDirty(): bool
126126
{
127127
return
128-
$this->personForm->firstname != null or
129-
$this->personForm->surname != null or
130-
$this->personForm->birthname != null or
131-
$this->personForm->nickname != null or
128+
$this->personForm->firstname !== null or
129+
$this->personForm->surname !== null or
130+
$this->personForm->birthname !== null or
131+
$this->personForm->nickname !== null or
132132

133-
$this->personForm->sex != null or
134-
$this->personForm->gender_id != null or
133+
$this->personForm->sex !== null or
134+
$this->personForm->gender_id !== null or
135135

136-
$this->personForm->yob != null or
137-
$this->personForm->dob != null or
138-
$this->personForm->pob != null;
136+
$this->personForm->yob !== null or
137+
$this->personForm->dob !== null or
138+
$this->personForm->pob !== null;
139139
}
140140

141141
// ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)