Skip to content

Commit

Permalink
Development to Develop (#1885)
Browse files Browse the repository at this point in the history
* v3.4.11 (#1878)

## [v3.4.11] - 2024-08-23
### New Features
- Add setIconLeft/setIconRight for Actions by @lrljoe in #1877

* Adjust Action Button Icon Margin (#1880)

* Adjust Action Button Icon Margin

* Adjust ChangeLog

* Change Order of "Getting Started" section (#1883)

* Change Order of "Getting Started" section

* Change to "UsersTable"
  • Loading branch information
lrljoe authored Aug 24, 2024
1 parent 7bddef4 commit 9160342
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `laravel-livewire-tables` will be documented in this file

## [v3.4.12] - 2024-08-23
### Tweaks
- Adjust Action Button Margins by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1880

## [v3.4.11] - 2024-08-23
### New Features
- Add setIconLeft/setIconRight for Actions by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1877
Expand Down
6 changes: 3 additions & 3 deletions docs/start/commands.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
title: Commands
weight: 6
weight: 5
---

## Generating Datatable Components

To generate a new datatable component you can use the `make:datatable` command:

Create a new datatable component called `UserTable` in `App\Livewire` that uses the `App\Models\User` model.
Create a new datatable component called `UsersTable` in `App\Livewire` that uses the `App\Models\User` model.

```bash
php artisan make:datatable UserTable User
php artisan make:datatable UsersTable User
```

### Custom Model Path
Expand Down
2 changes: 1 addition & 1 deletion docs/start/rendering.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Rendering
weight: 5
weight: 6
---

## Rendering Components
Expand Down
2 changes: 1 addition & 1 deletion resources/views/includes/actions/button.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@elseif($action->hasIcon() && !$action->getIconRight())
<i {{ $action->getIconAttributes()
->class(["ms-1 ". $action->getIcon() => $isBootstrap])
->class(["ml-1 ". $action->getIcon() => $isTailwind])
->class(["mr-1 ". $action->getIcon() => $isTailwind])
->except('default-styling')
}}
></i>
Expand Down

0 comments on commit 9160342

Please sign in to comment.