From ed31eb01e5d30a8ab9b0ad289249566d880bbcf3 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 25 Jan 2022 23:44:22 +0600 Subject: [PATCH] add UIKitColumn --- CHANGELOG.md | 2 ++ .../dev/inmo/jsuikit/modifiers/UIKitColumn.kt | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitColumn.kt diff --git a/CHANGELOG.md b/CHANGELOG.md index c66f8b6..650bc03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.0.26 +* Add UIKitColumn + ## 0.0.25 * Full including of divider diff --git a/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitColumn.kt b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitColumn.kt new file mode 100644 index 0000000..3cade4d --- /dev/null +++ b/src/jsMain/kotlin/dev/inmo/jsuikit/modifiers/UIKitColumn.kt @@ -0,0 +1,15 @@ +package dev.inmo.jsuikit.modifiers + +sealed class UIKitColumn(classname: String) : UIKitModifier { + override val classes: Array = arrayOf(classname) + + object Two : UIKitColumn("uk-column-1-2") + object Three : UIKitColumn("uk-column-1-3") + object Four : UIKitColumn("uk-column-1-4") + object Five : UIKitColumn("uk-column-1-5") + object Six : UIKitColumn("uk-column-1-6") + + object Divider : UIKitColumn("uk-column-divider") + + object Span : UIKitColumn("uk-column-span") +}