-
-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Bug Fixes - Fix NumberRangeFilter initial state when loaded by querystring by @lrljoe in #1774 - Fix SnakeCase issue with snake-cased relations for AggregateColumn types (AvgColumn, CountColumn, SumColumn) by @lrljoe in #1777 ### New Features - Set a Prefix for NumberRangeFilter by @RenoLooijmans in #1773 - Add Separator customisation for Array Filters for FilterPills by @lrljoe in #1772 - Add bulk actions button/dropdown customisations by @lrljoe in #1771 Co-authored-by: lrljoe <[email protected]>
- Loading branch information
Showing
43 changed files
with
745 additions
and
168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
--- | ||
title: Customising Style | ||
weight: 5 | ||
--- | ||
|
||
## setBulkActionsThAttributes | ||
|
||
You may pass an array to this method, which allows you to pass Custom Attributes into the table header | ||
|
||
```php | ||
public function configure(): void | ||
{ | ||
$this->setBulkActionsThAttributes([ | ||
'class' => 'bg-red-500', | ||
'default' => false | ||
]); | ||
} | ||
``` | ||
|
||
## setBulkActionsThCheckboxAttributes | ||
|
||
You may pass an array to this method, which allows you to pass Custom Attributes into the Select All/None checkbox in the Table Header | ||
|
||
```php | ||
public function configure(): void | ||
{ | ||
$this->setBulkActionsThCheckboxAttributes([ | ||
'class' => 'bg-blue-500', | ||
'default' => false | ||
]); | ||
} | ||
``` | ||
|
||
## setBulkActionsTdAttributes | ||
|
||
You may pass an array to this method, which allows you to pass Custom Attributes into the td containing the Bulk Actions Checkbox for the row | ||
|
||
```php | ||
public function configure(): void | ||
{ | ||
$this->setBulkActionsTdAttributes([ | ||
'class' => 'bg-green-500', | ||
'default' => true | ||
]); | ||
} | ||
``` | ||
|
||
## setBulkActionsTdCheckboxAttributes | ||
|
||
You may pass an array to this method, which allows you to pass Custom Attributes into the Bulk Actions Checkbox for the row | ||
|
||
```php | ||
public function configure(): void | ||
{ | ||
$this->setBulkActionsTdCheckboxAttributes([ | ||
'class' => 'bg-green-500', | ||
'default' => true | ||
]); | ||
} | ||
``` | ||
|
||
## setBulkActionsButtonAttributes | ||
|
||
You may pass an array to this method, which allows you to pass Custom Attributes into the Bulk Actions Button in the Toolbar | ||
|
||
```php | ||
public function configure(): void | ||
{ | ||
$this->setBulkActionsButtonAttributes([ | ||
'class' => 'bg-green-500', | ||
'default-colors' => true, | ||
'default-styling' => true, | ||
]); | ||
} | ||
``` | ||
|
||
## setBulkActionsMenuAttributes | ||
|
||
You may pass an array to this method, which allows you to pass Custom Attributes into the Bulk Actions Menu | ||
|
||
```php | ||
public function configure(): void | ||
{ | ||
$this->setBulkActionsMenuAttributes([ | ||
'class' => 'bg-green-500', | ||
'default-colors' => true, | ||
'default-styling' => true, | ||
]); | ||
} | ||
``` | ||
|
||
|
||
## setBulkActionsMenuItemAttributes | ||
|
||
You may pass an array to this method, which allows you to pass Custom Attributes into Items on the Bulk Actions Menu | ||
|
||
```php | ||
public function configure(): void | ||
{ | ||
$this->setBulkActionsMenuItemAttributes([ | ||
'class' => 'bg-green-500', | ||
'default-colors' => true, | ||
'default-styling' => true, | ||
]); | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,6 @@ title: Date Filters | |
weight: 2 | ||
--- | ||
|
||
## Date Filters | ||
|
||
Date filters are HTML date elements. | ||
|
||
```php | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.