From bfd679001460868fa1069226dfd088c800f85d31 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 1 Mar 2022 13:25:37 +0600 Subject: [PATCH 1/2] start 0.0.40 --- CHANGELOG.md | 2 ++ gradle.properties | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd647b1..c038d2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +## 0.0.40 + ## 0.0.39 * Add support of `Notifications` diff --git a/gradle.properties b/gradle.properties index c867ca4..94e07a0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,4 +9,4 @@ android.enableJetifier=true # Project data group=dev.inmo -version=0.0.39 +version=0.0.40 From 2a3f14593bc71db3f8155469587f30ba45ada6fc Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 1 Mar 2022 13:26:04 +0600 Subject: [PATCH 2/2] use iterables for data in default tables --- CHANGELOG.md | 2 ++ src/jsMain/kotlin/dev/inmo/jsuikit/elements/Table.kt | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c038d2c..f8df1f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.0.40 +* All `DefaultTable` functions now use `Iterable` as data type + ## 0.0.39 * Add support of `Notifications` diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Table.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Table.kt index 3baaeca..28e7857 100644 --- a/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Table.kt +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/elements/Table.kt @@ -11,7 +11,7 @@ import org.w3c.dom.* @Composable fun DefaultTable( headerBuilders: List>, - dataList: SnapshotStateList, + dataList: Iterable, vararg tableModifiers: UIKitModifier, attributesCustomizer: AttrBuilderContext = {}, headerCustomizer: AttrBuilderContext = {}, @@ -68,7 +68,7 @@ fun DefaultTable( @Composable fun DefaultTable( heading: List, - dataList: SnapshotStateList, + dataList: Iterable, vararg tableModifiers: UIKitModifier, attributesCustomizer: AttrBuilderContext = {}, headerCustomizer: AttrBuilderContext = {},