From c47a140719d2b60fb1eebdecd7bab713a4970ee0 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 2 Aug 2022 18:32:53 +0600 Subject: [PATCH 1/2] start 0.1.10 --- CHANGELOG.md | 2 ++ gradle.properties | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35e8e63..af83c35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Changelog +## 0.1.10 + ## 0.1.9 * `Artile` elements become supported diff --git a/gradle.properties b/gradle.properties index 8ca52bf..f895ddf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,4 +9,4 @@ android.enableJetifier=true # Project data group=dev.inmo -version=0.1.9 +version=0.1.10 From 2f521a45848d7cf0af4b179bef57a80e363c91b0 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 2 Aug 2022 18:40:17 +0600 Subject: [PATCH 2/2] improve grid attributes --- CHANGELOG.md | 2 ++ .../dev/inmo/jsuikit/modifiers/UIKitGrid.kt | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index af83c35..5ab560b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.1.10 +* `Grid` support improvements + ## 0.1.9 * `Artile` elements become supported diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitGrid.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitGrid.kt index 1de9752..0e4a3b0 100644 --- a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitGrid.kt +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitGrid.kt @@ -14,6 +14,24 @@ sealed class UIKitGrid(vararg classnames: String) : UIKitModifier { } + sealed class Column(classname: String) : UIKitGrid(classname) { + + object Small : Column("uk-grid-column-small") + object Medium : Column("uk-grid-column-medium") + object Large : Column("uk-grid-column-large") + object Collapse : Column("uk-grid-column-collapse") + + } + + sealed class Row(classname: String) : UIKitGrid(classname) { + + object Small : Row("uk-grid-row-small") + object Medium : Row("uk-grid-row-medium") + object Large : Row("uk-grid-row-large") + object Collapse : Row("uk-grid-row-collapse") + + } + object Divider : UIKitGrid("uk-grid-divider") object MatchHeight : UIKitGrid("uk-grid-match")