From e52830ec9da66ce54114f52057650f63975046f2 Mon Sep 17 00:00:00 2001 From: Mathias Polligkeit Date: Tue, 26 Sep 2023 09:52:08 +0900 Subject: [PATCH] update changelog --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a37574..3275d64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,32 @@ ## Unreleased +### Added + +- Added `thead_th_attrs` and `th_wrapper_attrs` attributes to the `col` slot + of the table component. +- Added `thead_th_attrs` attribute to the `action` slot of the table component. + +### Changed + +- Renamed `attrs` attribute on the `col` and `action` slots of the table + component to `tbody_td_attrs` in order to match the naming of the global + table options. + +### Upgrade guide + +Rename the `attrs` attribute to `tbody_td_attrs` in both the `col` slot and the +`action` slot: + +```diff + +- <:col :let={p} attrs={[class="my-class"]}><%= p.id %> +- <:action :let={p} attrs={[class="my-class"]}>button ++ <:col :let={p} tbody_td_attrs={[class="my-class"]}><%= p.id %> ++ <:action :let={p} tbody_td_attrs={[class="my-class"]}>button + +``` + ## [0.21.2] - 2023-09-26 ### Changed