From 2c0d9c92a73f6feef027854414588df6ed1b74ac Mon Sep 17 00:00:00 2001
From: Joe <104938042+lrljoe@users.noreply.github.com>
Date: Fri, 29 Dec 2023 23:36:06 +0000
Subject: [PATCH 1/4] Update ChangeLog - Showing as UNRELEASED rather than
3.1.8 (#1621)
* Fix CHANGELOG.md missing release
---
CHANGELOG.md | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 02f417dde..a1d313638 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,7 +2,11 @@
All notable changes to `laravel-livewire-tables` will be documented in this file
-## UNRELEASED
+## [v3.1.9] - 2023-12-29
+### Bug Fixes
+- Fix CHANGELOG.md missing release
+
+## [v3.1.8] - 2023-12-29
### New Features
- Add capability to show/hide Pagination Details (Rows x of y) by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1618
- Add perPage to queryString by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1618
From 05a3d41d082260457b4436932e82f77eec455c74 Mon Sep 17 00:00:00 2001
From: Joe <104938042+lrljoe@users.noreply.github.com>
Date: Sat, 2 Mar 2024 00:24:26 +0000
Subject: [PATCH 2/4] Fix for Collapsing Columns - Multiple Tables, Single Page
(#1678) (#1679)
---
CHANGELOG.md | 4 ++++
resources/views/components/table/collapsed-columns.blade.php | 2 +-
.../views/components/table/td/collapsed-columns.blade.php | 4 ++--
src/LaravelLivewireTablesServiceProvider.php | 2 +-
4 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 883695ef2..e3e60a676 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
All notable changes to `laravel-livewire-tables` will be documented in this file
+## [v3.2.4] - 2024-03-01
+### Bug Fixes
+- Collapsing Columns fix when multiple tables are displayed on a page by @lrljoe
+
## [v3.2.3] - 2024-03-01
### New Features
- Add capability to customise colors/styling on the Pagination Per-Page Dropdown by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1677
diff --git a/resources/views/components/table/collapsed-columns.blade.php b/resources/views/components/table/collapsed-columns.blade.php
index 1e4aea9a5..49569281a 100644
--- a/resources/views/components/table/collapsed-columns.blade.php
+++ b/resources/views/components/table/collapsed-columns.blade.php
@@ -24,7 +24,7 @@
isBootstrap() ? 'd-none' : 'hidden' }}') : null"
+ @toggle-row-content.window="($event.detail.tableName === '{{ $tableName }}' && $event.detail.row === {{ $rowIndex }}) ? $el.classList.toggle('{{ $component->isBootstrap() ? 'd-none' : 'hidden' }}') : null"
wire:key="{{ $tableName }}-row-{{ $row->{$this->getPrimaryKey()} }}-collapsed-contents"
wire:loading.class.delay="opacity-50 dark:bg-gray-900 dark:opacity-60"
diff --git a/resources/views/components/table/td/collapsed-columns.blade.php b/resources/views/components/table/td/collapsed-columns.blade.php
index 497be487c..29248b1cd 100644
--- a/resources/views/components/table/td/collapsed-columns.blade.php
+++ b/resources/views/components/table/td/collapsed-columns.blade.php
@@ -16,7 +16,7 @@
@if (! $hidden)