From 36f5d5661b2bdfbae2133ed438ac62f79887767c Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 23 May 2022 16:50:50 +0600 Subject: [PATCH 1/2] start 0.1.6 --- CHANGELOG.md | 2 ++ gradle.properties | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 468613a..c7e933c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +## 0.1.6 + ## 0.1.5 * Fix access to `UIKitSticky` diff --git a/gradle.properties b/gradle.properties index 9af4b36..e3a1059 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,4 +9,4 @@ android.enableJetifier=true # Project data group=dev.inmo -version=0.1.5 +version=0.1.6 From 854bc9f8ca84ae4c5a1f7716b933c5c55117ffca Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 23 May 2022 16:51:09 +0600 Subject: [PATCH 2/2] Add support of size and group in UIKitButton --- CHANGELOG.md | 2 ++ .../kotlin/dev/inmo/jsuikit/modifiers/UIKitButton.kt | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7e933c..47b5424 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.1.6 +* Add support of UIKitButton size and group + ## 0.1.5 * Fix access to `UIKitSticky` diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitButton.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitButton.kt index 92a4ef4..80f6eb3 100644 --- a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitButton.kt +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitButton.kt @@ -12,5 +12,12 @@ sealed class UIKitButton(suffix: String?) : UIKitModifier { object Link : Type("link") } + sealed class Size(suffix: String) : UIKitButton(suffix) { + object Small : Size("small") + object Large : Size("large") + } + + object Group : UIKitButton("group") + companion object : UIKitButton(null) }