Skip to content

Commit f186f3e

Browse files
committed
Move TableAttributes
1 parent 5da7c6c commit f186f3e

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

src/DataTableComponent.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Livewire\Attributes\{On, Renderless};
66
use Livewire\Component;
7-
use Rappasoft\LaravelLivewireTables\Traits\{ComponentUtilities, WithCustomisations, WithData, WithDebugging, WithEvents, WithQuery, WithQueryString, WithRefresh, WithTableHooks, WithTableAttributes};
7+
use Rappasoft\LaravelLivewireTables\Traits\{ComponentUtilities, WithCustomisations, WithData, WithDebugging, WithEvents, WithQuery, WithQueryString, WithRefresh, WithTableHooks};
88
use Rappasoft\LaravelLivewireTables\Traits\Core\{HasCustomAttributes, HasLocalisations};
99
use Rappasoft\LaravelLivewireTables\Views\Traits\Core\HasTheme;
1010
use Rappasoft\LaravelLivewireTables\Traits\Styling\{HasCoreStyling};
@@ -16,14 +16,15 @@
1616
use Rappasoft\LaravelLivewireTables\Features\ConfigurableAreas\WithConfigurableAreas;
1717
use Rappasoft\LaravelLivewireTables\Features\Filters\Traits\WithFilters;
1818
use Rappasoft\LaravelLivewireTables\Features\Footer\WithFooter;
19+
use Rappasoft\LaravelLivewireTables\Features\LoadingPlaceholder\WithLoadingPlaceholder;
1920
use Rappasoft\LaravelLivewireTables\Features\Pagination\WithPagination;
2021
use Rappasoft\LaravelLivewireTables\Features\Reordering\WithReordering;
2122
use Rappasoft\LaravelLivewireTables\Features\SecondaryHeader\WithSecondaryHeader;
2223
use Rappasoft\LaravelLivewireTables\Features\Search\WithSearch;
2324
use Rappasoft\LaravelLivewireTables\Features\SessionStorage\WithSessionStorage;
2425
use Rappasoft\LaravelLivewireTables\Features\Sorting\WithSorting;
26+
use Rappasoft\LaravelLivewireTables\Features\TableAttributes\WithTableAttributes;
2527
use Rappasoft\LaravelLivewireTables\Features\Tools\WithTools;
26-
use Rappasoft\LaravelLivewireTables\Features\LoadingPlaceholder\WithLoadingPlaceholder;
2728
use Rappasoft\LaravelLivewireTables\Traits\WithFeatureDetection;
2829

2930
abstract class DataTableComponent extends Component

src/Traits/Configuration/TableAttributeConfiguration.php renamed to src/Features/TableAttributes/Configuration/TableAttributeConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Rappasoft\LaravelLivewireTables\Traits\Configuration;
3+
namespace Rappasoft\LaravelLivewireTables\Features\TableAttributes\Configuration;
44

55
use Closure;
66

src/Traits/Helpers/TableAttributeHelpers.php renamed to src/Features/TableAttributes/Helpers/TableAttributeHelpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Rappasoft\LaravelLivewireTables\Traits\Helpers;
3+
namespace Rappasoft\LaravelLivewireTables\Features\TableAttributes\Helpers;
44

55
use Illuminate\Database\Eloquent\Model;
66
use Illuminate\View\ComponentAttributeBag;

src/Traits/WithTableAttributes.php renamed to src/Features/TableAttributes/WithTableAttributes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3-
namespace Rappasoft\LaravelLivewireTables\Traits;
3+
namespace Rappasoft\LaravelLivewireTables\Features\TableAttributes;
44

55
use Closure;
6-
use Rappasoft\LaravelLivewireTables\Traits\Configuration\TableAttributeConfiguration;
7-
use Rappasoft\LaravelLivewireTables\Traits\Helpers\TableAttributeHelpers;
6+
use Rappasoft\LaravelLivewireTables\Features\TableAttributes\Configuration\TableAttributeConfiguration;
7+
use Rappasoft\LaravelLivewireTables\Features\TableAttributes\Helpers\TableAttributeHelpers;
88
use Rappasoft\LaravelLivewireTables\Traits\Styling\{HasCoreStyling, HasHeaderStyling};
99

1010
trait WithTableAttributes

0 commit comments

Comments
 (0)