Skip to content

Commit b0f1b89

Browse files
committed
update version to 1.6.4 and android version code to 20
1 parent bd46592 commit b0f1b89

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
### 1.6.4 — 2025-11-27
6+
7+
- Added: `TableState.tableWidth` computed property to dynamically calculate total table width based on visible columns
8+
and their widths.
9+
- Automatically recalculates when column order, widths, or visible columns change using `derivedStateOf`.
10+
- Accounts for both regular column widths and divider widths, including special handling for fixed column dividers.
11+
- Eliminates need for manual width computation in row-embedded content and other custom layouts.
12+
- Removed: `calculateTableWidth()` function from `LayoutUtils.kt` in favor of centralized `tableWidth` property in
13+
`TableState`.
14+
- Changed: Internal visibility improvements and code cleanup:
15+
- Changed `tableKeyboardNavigation` modifier from public to internal as it's not part of the public API.
16+
- Simplified `LocalTableState` declaration with explicit type annotation.
17+
- Minor formatting adjustments to KDoc comments and code structure.
18+
- Fixed: Row-embedded content (e.g., nested tables) now uses its own width instead of `tableWidth`
19+
for proper width alignment.
20+
21+
Compare: [v1.6.3...v1.6.4](https://github.com/White-Wind-LLC/table/compare/v1.6.3...v1.6.4)
22+
523
### 1.6.3 — 2025-11-27
624

725
- Added: `TableState.recalculateAutoWidths()` method for manual column width recalculation.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ Add repository (usually `mavenCentral`) and include the modules you need:
6767

6868
```kotlin
6969
dependencies {
70-
implementation("ua.wwind.table-kmp:table-core:1.6.3")
70+
implementation("ua.wwind.table-kmp:table-core:1.6.4")
7171
// optional
72-
implementation("ua.wwind.table-kmp:table-format:1.6.3")
73-
implementation("ua.wwind.table-kmp:table-paging:1.6.3")
72+
implementation("ua.wwind.table-kmp:table-format:1.6.4")
73+
implementation("ua.wwind.table-kmp:table-paging:1.6.4")
7474
}
7575
```
7676

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[versions]
22
# --- Project metadata ---
3-
version-name = "1.6.3"
3+
version-name = "1.6.4"
44
version-date = "27.11.2025"
5-
android-version-code = "19"
5+
android-version-code = "20"
66

77
# --- Android SDK & AGP ---
88
android-compileSdk = "36"

0 commit comments

Comments
 (0)