From bab563aadbb0d258c2870e3ca016e15cc9f54d0f Mon Sep 17 00:00:00 2001 From: Kimo Knowles Date: Fri, 4 Oct 2024 01:18:14 +0200 Subject: [PATCH] [nested-grid] Fix cell-wrapper styling --- CHANGELOG.md | 7 +++++++ src/re_com/nested_grid.cljs | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eedd06a2..0e3f614f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ > Committed but unreleased changes are put here, at the top. Older releases are detailed chronologically below. +## 2.22.4 (2024-10-03) + +#### Fixed + +- `nested-grid`: restored missing style for the cell-wrapper part + + ## 2.22.3 (2024-10-03) #### Fixed diff --git a/src/re_com/nested_grid.cljs b/src/re_com/nested_grid.cljs index 448c11cf..5fdcb0ce 100644 --- a/src/re_com/nested_grid.cljs +++ b/src/re_com/nested_grid.cljs @@ -1047,9 +1047,11 @@ state) cell-props (merge {:theme theme} (when value {:value value}) - state)]] + state) + children [(u/part cell cell-props + :default re-com.nested-grid/cell)]]] (u/part cell-wrapper - (merge props {:children [(u/part cell cell-props :default re-com.nested-grid/cell)]}) + (themed ::cell-wrapper (merge props {:children children})) :default re-com.nested-grid/cell-wrapper))) zebra-stripes (for [i (filter even? (range 1 (inc (count row-paths))))] ^{:key [::zebra-stripe i]}